1
0
Fork 0
mirror of https://github.com/silentsakky/zarafa-webapp-passwd synced 2026-07-27 10:30:56 +02:00

Add dutch translation

Needs the generation of .mo in the build
This commit is contained in:
Sander Hoentjen 2014-03-04 14:52:00 +01:00
commit 739b1da2ac
7 changed files with 103 additions and 20 deletions

View file

@ -24,13 +24,13 @@ Zarafa.plugins.passwd.data.PasswdResponseHandler = Ext.extend(Zarafa.core.data.A
*/
doError : function(response)
{
var displayMessage = _('An unknown error occurred while changing password.');
var displayMessage = dgettext("plugin_passwd", 'An unknown error occurred while changing password.');
if(response.info) {
displayMessage = response.info.display_message;
}
Ext.MessageBox.alert(_('Error'), displayMessage);
Ext.MessageBox.alert(dgettext("plugin_passwd", 'Error'), displayMessage);
this.callbackFn.apply(this.scope || this, [ false, response ]);
},
@ -41,14 +41,14 @@ Zarafa.plugins.passwd.data.PasswdResponseHandler = Ext.extend(Zarafa.core.data.A
*/
doSuccess : function(response)
{
var displayMessage = _('Password is changed successfully.');
var displayMessage = dgettext("plugin_passwd", 'Password is changed successfully.');
if(response.info) {
displayMessage = response.info.display_message;
}
Ext.MessageBox.alert(_('Success'), displayMessage);
Ext.MessageBox.alert(dgettext("plugin_passwd", 'Success'), displayMessage);
this.callbackFn.apply(this.scope || this, [ true, response ]);
}
});
});