MOBILE-1928 chat: Use "deletedusser" string from core

main
Albert Gasset 2019-02-25 10:10:08 +01:00
parent 2420e3a6fb
commit d83f0bb4a8
5 changed files with 5 additions and 5 deletions

View File

@ -1300,7 +1300,7 @@
"core.defaultvalue": "tool_usertours",
"core.delete": "moodle",
"core.deletedoffline": "local_moodlemobileapp",
"core.deleteduser": "local_moodlemobileapp",
"core.deleteduser": "bulkusers",
"core.deleting": "local_moodlemobileapp",
"core.description": "moodle",
"core.dfdaymonthyear": "local_moodlemobileapp",

View File

@ -93,7 +93,7 @@ export class AddonModChatSessionsPage {
sessionUser.userfullname = user.fullname;
}).catch(() => {
// Error getting profile, most probably the user is deleted.
sessionUser.userfullname = this.translate.instant('core.deleteduser', {$a: sessionUser.userid});
sessionUser.userfullname = this.translate.instant('core.deleteduser') + ' ' + sessionUser.userid;
}));
}
});

View File

@ -154,7 +154,7 @@ export class AddonModChatProvider {
message.userprofileimageurl = user.profileimageurl;
}).catch(() => {
// Error getting profile, most probably the user is deleted.
message.userfullname = this.translate.instant('core.deleteduser', {$a: message.userid});
message.userfullname = this.translate.instant('core.deleteduser') + ' ' + message.userid;
});
});

View File

@ -1299,7 +1299,7 @@
"core.defaultvalue": "Default ({{$a}})",
"core.delete": "Delete",
"core.deletedoffline": "Deleted offline",
"core.deleteduser": "Deleted user {{$a}}",
"core.deleteduser": "Deleted user",
"core.deleting": "Deleting",
"core.description": "Description",
"core.dfdaymonthyear": "MM-DD-YYYY",

View File

@ -57,7 +57,7 @@
"defaultvalue": "Default ({{$a}})",
"delete": "Delete",
"deletedoffline": "Deleted offline",
"deleteduser": "Deleted user {{$a}}",
"deleteduser": "Deleted user",
"deleting": "Deleting",
"description": "Description",
"dfdaymonthyear": "MM-DD-YYYY",