summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-06-16 11:24:45 +0200
committerAleksander Machniak <alec@alec.pl>2014-06-16 11:24:45 +0200
commit7e309b872f9a60ecb5ac975fdd2f4f89b508aba8 (patch)
tree98cec7c5bd3c7ef887dbbd50881f35e5bff04509
parentebc9877defcfa41c8705989286788253086f3958 (diff)
Add title attribute to settings menu
-rw-r--r--plugins/password/localization/en_US.inc2
-rw-r--r--plugins/password/password.php9
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/password/localization/en_US.inc b/plugins/password/localization/en_US.inc
index 94475ce36..278a20374 100644
--- a/plugins/password/localization/en_US.inc
+++ b/plugins/password/localization/en_US.inc
@@ -17,7 +17,7 @@
*/
$labels = array();
-$labels['changepasswd'] = 'Change Password';
+$labels['changepasswd'] = 'Change password';
$labels['curpasswd'] = 'Current Password:';
$labels['newpasswd'] = 'New Password:';
$labels['confpasswd'] = 'Confirm New Password:';
diff --git a/plugins/password/password.php b/plugins/password/password.php
index 9bf020176..6c599bb4b 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -75,7 +75,14 @@ class password extends rcube_plugin
function settings_actions($args)
{
// register as settings action
- $args['actions'][] = array('action' => 'plugin.password', 'class' => 'password', 'label' => 'password', 'domain' => 'password');
+ $args['actions'][] = array(
+ 'action' => 'plugin.password',
+ 'class' => 'password',
+ 'label' => 'password',
+ 'title' => 'changepasswd',
+ 'domain' => 'password',
+ );
+
return $args;
}