diff --git a/build.xml b/build.xml
index ee538f7..a5f4840 100644
--- a/build.xml
+++ b/build.xml
@@ -3,6 +3,7 @@
+
@@ -42,6 +43,10 @@
+
+
+
+
@@ -156,8 +161,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -193,6 +230,7 @@
+
diff --git a/js/settings/PasswdPanel.js b/js/settings/PasswdPanel.js
index a9c9f70..6083906 100644
--- a/js/settings/PasswdPanel.js
+++ b/js/settings/PasswdPanel.js
@@ -18,7 +18,7 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
Ext.applyIf(config, {
xtype : 'zarafa.passwdpanel',
- labelWidth : 150,
+ labelWidth : 200,
defaults : {
width : 200
},
@@ -26,11 +26,11 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
items : [{
xtype : 'displayfield',
name : 'username',
- fieldLabel : 'User name'
+ fieldLabel : dgettext("plugin_passwd", 'User name')
}, {
xtype : 'textfield',
name : 'current_password',
- fieldLabel : 'Current password',
+ fieldLabel : dgettext("plugin_passwd", 'Current password'),
inputType : 'password',
listeners : {
change : this.onFieldChange,
@@ -39,7 +39,7 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
}, {
xtype : 'textfield',
name : 'new_password',
- fieldLabel : 'New password',
+ fieldLabel : dgettext("plugin_passwd", 'New password'),
inputType : 'password',
listeners : {
change : this.onFieldChange,
@@ -48,7 +48,7 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
}, {
xtype : 'textfield',
name : 'new_password_repeat',
- fieldLabel : 'Retype new password',
+ fieldLabel : dgettext("plugin_passwd", 'Retype new password'),
inputType : 'password',
listeners : {
change : this.onFieldChange,
@@ -92,4 +92,4 @@ Zarafa.plugins.passwd.settings.PasswdPanel = Ext.extend(Ext.form.FormPanel, {
}
});
-Ext.reg('zarafa.passwdpanel', Zarafa.plugins.passwd.settings.PasswdPanel);
\ No newline at end of file
+Ext.reg('zarafa.passwdpanel', Zarafa.plugins.passwd.settings.PasswdPanel);
diff --git a/languages/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po b/language/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po
similarity index 87%
rename from languages/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po
rename to language/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po
index 4128c05..948c1ac 100644
--- a/languages/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po
+++ b/language/nl_NL.UTF-8/LC_MESSAGES/plugin_passwd.po
@@ -76,3 +76,20 @@ msgstr "Wijzig wachtwoord"
# js/PasswdPlugin.js:50:
msgid "Password Change Plugin"
msgstr "Wachtwoord wijzigen plugin"
+
+# js/settings/PasswdPanel.js:29:
+msgid "User name"
+msgstr "Gebruikersnaam"
+
+# js/settings/PasswdPanel.js:33:
+msgid "Current password"
+msgstr "Huidig wachtwoord"
+
+# js/settings/PasswdPanel.js:42:
+msgid "New password"
+msgstr "Nieuw wachtwoord"
+
+#js/settings/PasswdPanel.js:51:
+msgid "Retype new password"
+msgstr "Herhaal nieuw wachtwoord"
+
diff --git a/manifest.xml b/manifest.xml
index 614a6ee..56d418c 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -13,7 +13,7 @@
config.php
- languages
+ language
diff --git a/php/class.passwdmodule.php b/php/class.passwdmodule.php
index b2ec6b1..b9af00a 100644
--- a/php/class.passwdmodule.php
+++ b/php/class.passwdmodule.php
@@ -57,7 +57,7 @@ class PasswdModule extends Module
}
if($data['new_password'] !== $data['new_password_repeat']) {
- $errorMessage = dgettext("plugin_passwd", 'New passwords does not match.');
+ $errorMessage = dgettext("plugin_passwd", 'New passwords do not match.');
}
if(empty($errorMessage)) {