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.removeCallback(dh.oidToDelete);
|
||||||
dh.canceled = true;
|
dh.canceled = true;
|
||||||
} else {
|
} 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);
|
dh.undoCallback(dh.oidToDelete);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -202,8 +202,8 @@ GroupList = {
|
||||||
|
|
||||||
//configure undo
|
//configure undo
|
||||||
OC.Notification.hide();
|
OC.Notification.hide();
|
||||||
var msg = t('settings', 'deleted') + ' %oid <span class="undo">' +
|
var msg = escapeHTML(t('settings', 'deleted {groupName}', {groupName: '%oid'})) + '<span class="undo">' +
|
||||||
t('settings', 'undo') + '</span>';
|
escapeHTML(t('settings', 'undo')) + '</span>';
|
||||||
GroupDeleteHandler.setNotification(OC.Notification, 'deletegroup', msg,
|
GroupDeleteHandler.setNotification(OC.Notification, 'deletegroup', msg,
|
||||||
GroupList.show);
|
GroupList.show);
|
||||||
|
|
||||||
|
|
|
@ -251,8 +251,8 @@ var UserList = {
|
||||||
|
|
||||||
//configure undo
|
//configure undo
|
||||||
OC.Notification.hide();
|
OC.Notification.hide();
|
||||||
var msg = t('settings', 'deleted') + ' %oid <span class="undo">' +
|
var msg = escapeHTML(t('settings', 'deleted {userName}', {userName: '%oid'})) + '<span class="undo">' +
|
||||||
t('settings', 'undo') + '</span>';
|
escapeHTML(t('settings', 'undo')) + '</span>';
|
||||||
UserDeleteHandler.setNotification(OC.Notification, 'deleteuser', msg,
|
UserDeleteHandler.setNotification(OC.Notification, 'deleteuser', msg,
|
||||||
UserList.show);
|
UserList.show);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue