set mail as appName to access translations in callback-popup

This commit is contained in:
Klaus Leithoff 2016-02-05 11:47:54 +00:00
parent 19a21b2322
commit 0f9fcefc8a
3 changed files with 6 additions and 3 deletions

View File

@ -3175,7 +3175,7 @@ app.classes.mail = AppJS.extend(
{
if (_button == et2_dialog.YES_BUTTON)
{
egw.appName='mail';
egw.message (egw.lang('Folder %1 is moving to folder %2',src_label,dest_label ));
egw.loading_prompt('mail_moveFolder', true,'','#egw_fw_basecontainer');
for(var i = 0; i < _senders.length; i++)
@ -5077,6 +5077,7 @@ app.classes.mail = AppJS.extend(
var callbackDialog = function(_btn)
{
egw.appName='mail';
if (_btn === et2_dialog.YES_BUTTON)
{
if (tree)
@ -5105,13 +5106,13 @@ app.classes.mail = AppJS.extend(
// submit
etemplate2.getByApplication('mail')[0].widgetContainer._inst.submit();
}
}, msg, 'Deleting folders', menuaction, selFldArr, 'mail');
}, msg, egw.lang('Deleting folders'), menuaction, selFldArr, 'mail');
return true;
}
}
}
};
et2_dialog.show_dialog(callbackDialog, egw.lang('Are you sure you want to delete all selected folders?'), egw.lang('Delete folder'), {},
et2_dialog.show_dialog(callbackDialog, this.egw.lang('Are you sure you want to delete all selected folders?'), this.egw.lang('Delete folder'), {},
et2_dialog.BUTTON_YES_NO, et2_dialog.WARNING_MESSAGE, undefined, egw);
}

View File

@ -98,6 +98,7 @@ deleted mail de gelöscht
deleted %1 messages in %2 mail de Es wurden %1 Nachricht(en) in %2 gelöscht
deleted! mail de gelöscht!
deleting %1 folders in progress ... mail de %1 Ordner in Bearbeitung zum Löschen
deleting folders mail de Ordner werden gelöscht
deny certain groups access to following features mail de Den Zugriff auf bestimmte Funktionen im E-Mail Modul einschränken.
directories have to be shared. mail de Verzeichnisse müssen freigegeben werden.
disable mail de Deaktivieren

View File

@ -98,6 +98,7 @@ deleted mail en deleted
deleted %1 messages in %2 mail en deleted %1 messages in %2
deleted! mail en deleted!
deleting %1 folders in progress ... mail en Deleting %1 folders in progress ...
deleting folders mail en Deleting folders
deny certain groups access to following features mail en Deny certain groups access to following features
directories have to be shared. mail en Directories have to be shared.
disable mail en Disable