@@ -93,7 +93,7 @@ import { getTimerNotificationStr } from './timerNotifications';
93
93
import { ExpirationTimerUpdate } from '../session/disappearing_messages/types' ;
94
94
import { Model } from './models' ;
95
95
import { ReduxOnionSelectors } from '../state/selectors/onions' ;
96
- import { strippedWithObj , tr , tStripped } from '../localization/localeTools' ;
96
+ import { tStrippedWithObj , tr , tStripped } from '../localization/localeTools' ;
97
97
98
98
// tslint:disable: cyclomatic-complexity
99
99
@@ -246,20 +246,20 @@ export class MessageModel extends Model<MessageAttributes> {
246
246
this . getConversation ( ) ?. getNicknameOrRealUsernameOrPlaceholder ( ) || tr ( 'unknown' ) ;
247
247
248
248
if ( groupUpdate . left ) {
249
- return strippedWithObj ( getLeftGroupUpdateChangeStr ( groupUpdate . left ) ) ;
249
+ return tStrippedWithObj ( getLeftGroupUpdateChangeStr ( groupUpdate . left ) ) ;
250
250
}
251
251
252
252
if ( groupUpdate . name ) {
253
- return strippedWithObj ( getGroupNameChangeStr ( groupUpdate . name ) ) ;
253
+ return tStrippedWithObj ( getGroupNameChangeStr ( groupUpdate . name ) ) ;
254
254
}
255
255
256
256
if ( groupUpdate . avatarChange ) {
257
- return strippedWithObj ( getGroupDisplayPictureChangeStr ( ) ) ;
257
+ return tStrippedWithObj ( getGroupDisplayPictureChangeStr ( ) ) ;
258
258
}
259
259
260
260
if ( groupUpdate . joined ?. length ) {
261
261
const opts = getJoinedGroupUpdateChangeStr ( groupUpdate . joined , isGroupV2 , false , groupName ) ;
262
- return strippedWithObj ( opts ) ;
262
+ return tStrippedWithObj ( opts ) ;
263
263
}
264
264
265
265
if ( groupUpdate . joinedWithHistory ?. length ) {
@@ -269,16 +269,16 @@ export class MessageModel extends Model<MessageAttributes> {
269
269
true ,
270
270
groupName
271
271
) ;
272
- return strippedWithObj ( opts ) ;
272
+ return tStrippedWithObj ( opts ) ;
273
273
}
274
274
275
275
if ( groupUpdate . kicked ?. length ) {
276
276
const opts = getKickedGroupUpdateStr ( groupUpdate . kicked , groupName ) ;
277
- return strippedWithObj ( opts ) ;
277
+ return tStrippedWithObj ( opts ) ;
278
278
}
279
279
if ( groupUpdate . promoted ?. length ) {
280
280
const opts = getPromotedGroupUpdateChangeStr ( groupUpdate . promoted ) ;
281
- return strippedWithObj ( opts ) ;
281
+ return tStrippedWithObj ( opts ) ;
282
282
}
283
283
window . log . warn ( 'did not build a specific change for getDescription of ' , groupUpdate ) ;
284
284
@@ -381,7 +381,7 @@ export class MessageModel extends Model<MessageAttributes> {
381
381
timespanSeconds : expireTimer ,
382
382
} ) ;
383
383
384
- return strippedWithObj ( i18nProps ) ;
384
+ return tStrippedWithObj ( i18nProps ) ;
385
385
}
386
386
const body = this . get ( 'body' ) ;
387
387
if ( body ) {
0 commit comments