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.defaultvalue": "tool_usertours",
"core.delete": "moodle", "core.delete": "moodle",
"core.deletedoffline": "local_moodlemobileapp", "core.deletedoffline": "local_moodlemobileapp",
"core.deleteduser": "local_moodlemobileapp", "core.deleteduser": "bulkusers",
"core.deleting": "local_moodlemobileapp", "core.deleting": "local_moodlemobileapp",
"core.description": "moodle", "core.description": "moodle",
"core.dfdaymonthyear": "local_moodlemobileapp", "core.dfdaymonthyear": "local_moodlemobileapp",

View File

@ -93,7 +93,7 @@ export class AddonModChatSessionsPage {
sessionUser.userfullname = user.fullname; sessionUser.userfullname = user.fullname;
}).catch(() => { }).catch(() => {
// Error getting profile, most probably the user is deleted. // 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; message.userprofileimageurl = user.profileimageurl;
}).catch(() => { }).catch(() => {
// Error getting profile, most probably the user is deleted. // 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.defaultvalue": "Default ({{$a}})",
"core.delete": "Delete", "core.delete": "Delete",
"core.deletedoffline": "Deleted offline", "core.deletedoffline": "Deleted offline",
"core.deleteduser": "Deleted user {{$a}}", "core.deleteduser": "Deleted user",
"core.deleting": "Deleting", "core.deleting": "Deleting",
"core.description": "Description", "core.description": "Description",
"core.dfdaymonthyear": "MM-DD-YYYY", "core.dfdaymonthyear": "MM-DD-YYYY",

View File

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