From 90ab9f2847df8721c4eb65733eaa25712f1a3102 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 20 Jun 2014 10:03:42 +0200 Subject: [PATCH] Fix loading localization --- plugins/password/password.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/password/password.php b/plugins/password/password.php index 6c599bb4b..ad65616d2 100644 --- a/plugins/password/password.php +++ b/plugins/password/password.php @@ -57,6 +57,8 @@ class password extends rcube_plugin return; } + $this->add_texts('localization/'); + $this->add_hook('settings_actions', array($this, 'settings_actions')); $this->register_action('plugin.password', array($this, 'password_init')); @@ -88,7 +90,6 @@ class password extends rcube_plugin function password_init() { - $this->add_texts('localization/'); $this->register_handler('plugin.body', array($this, 'password_form')); $rcmail = rcmail::get_instance(); @@ -103,7 +104,6 @@ class password extends rcube_plugin function password_save() { - $this->add_texts('localization/'); $this->register_handler('plugin.body', array($this, 'password_form')); $rcmail = rcmail::get_instance();