File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ export default {
162162 USER_NO_POINTS : '[[]]{{user}} has no points in the room.' ,
163163 USER_POINTS : '[[]]{{user}} has {{pointsList}} in {{roomName}}.' ,
164164 USER_POINTS_RANKED : '[[]]{{user}} is ranked #{{rank}} with {{pointsList}} in {{roomName}}.' ,
165+ ADDED_POINTS_TO_USERS : 'Added {{pointsText}} to {{users}}.' ,
165166 HEADERS : {
166167 USER : 'User' ,
167168 } ,
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ export default {
162162 USER_NO_POINTS : '[[]]{{user}} não tem pontos na sala.' ,
163163 USER_POINTS : '[[]]{{user}} tem {{pointsList}} em {{roomName}}.' ,
164164 USER_POINTS_RANKED : '[[]]{{user}} está classificado #{{rank}} com {{pointsList}} em {{roomName}}.' ,
165+ ADDED_POINTS_TO_USERS : 'Adicionado {{pointsText}} para {{users}}.' ,
165166 HEADERS : {
166167 USER : 'Usuário' ,
167168 } ,
Original file line number Diff line number Diff line change @@ -130,7 +130,12 @@ export const command: PSCommand[] = [
130130 singular : pointsTypes . map ( pointsType => pointsType . singular ) . join ( '/' ) ,
131131 plural : pointsTypes . map ( pointsType => pointsType . plural ) . join ( '/' ) ,
132132 } ;
133- broadcast ( `Added ${ pluralize < TranslatedText > ( pointsAmount , pluralData ) } to ${ users . list ( $T ) } .` as ToTranslate ) ;
133+ broadcast (
134+ $T ( 'COMMANDS.POINTS.ADDED_POINTS_TO_USERS' , {
135+ pointsText : pluralize < TranslatedText > ( pointsAmount , pluralData ) ,
136+ users : users . list ( $T ) ,
137+ } )
138+ ) ;
134139 } ,
135140 } ,
136141 {
You can’t perform that action at this time.
0 commit comments