fix split translations
This commit is contained in:
parent
70e0ae0637
commit
f56b86e857
|
@ -163,7 +163,7 @@ DeleteHandler.prototype.delete = function() {
|
|||
dh.removeCallback(dh.oidToDelete);
|
||||
dh.canceled = true;
|
||||
} else {
|
||||
OC.dialogs.alert(result.data.message, t('settings', 'Unable to delete ' + escapeHTML(dh.oidToDelete)));
|
||||
OC.dialogs.alert(result.data.message, t('settings', 'Unable to delete {objName}', {objName: escapeHTML(dh.oidToDelete)}));
|
||||
dh.undoCallback(dh.oidToDelete);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -202,8 +202,8 @@ GroupList = {
|
|||
|
||||
//configure undo
|
||||
OC.Notification.hide();
|
||||
var msg = t('settings', 'deleted') + ' %oid <span class="undo">' +
|
||||
t('settings', 'undo') + '</span>';
|
||||
var msg = escapeHTML(t('settings', 'deleted {groupName}', {groupName: '%oid'})) + '<span class="undo">' +
|
||||
escapeHTML(t('settings', 'undo')) + '</span>';
|
||||
GroupDeleteHandler.setNotification(OC.Notification, 'deletegroup', msg,
|
||||
GroupList.show);
|
||||
|
||||
|
|
|
@ -251,8 +251,8 @@ var UserList = {
|
|||
|
||||
//configure undo
|
||||
OC.Notification.hide();
|
||||
var msg = t('settings', 'deleted') + ' %oid <span class="undo">' +
|
||||
t('settings', 'undo') + '</span>';
|
||||
var msg = escapeHTML(t('settings', 'deleted {userName}', {userName: '%oid'})) + '<span class="undo">' +
|
||||
escapeHTML(t('settings', 'undo')) + '</span>';
|
||||
UserDeleteHandler.setNotification(OC.Notification, 'deleteuser', msg,
|
||||
UserList.show);
|
||||
|
||||
|
|
Loading…
Reference in New Issue