summaryrefslogtreecommitdiff
path: root/plugins/password
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/password')
-rw-r--r--plugins/password/README8
-rw-r--r--plugins/password/config.inc.php.dist12
-rw-r--r--plugins/password/drivers/chpasswd.php2
-rw-r--r--plugins/password/drivers/cpanel.php128
-rw-r--r--plugins/password/drivers/dbmail.php2
-rw-r--r--plugins/password/drivers/directadmin.php22
-rw-r--r--plugins/password/drivers/expect.php2
-rw-r--r--plugins/password/drivers/hmail.php12
-rw-r--r--plugins/password/drivers/ldap.php8
-rw-r--r--plugins/password/drivers/ldap_simple.php350
-rw-r--r--plugins/password/drivers/pam.php6
-rw-r--r--plugins/password/drivers/pw_usermod.php2
-rw-r--r--plugins/password/drivers/sasl.php2
-rw-r--r--plugins/password/drivers/smb.php15
-rw-r--r--plugins/password/drivers/sql.php72
-rw-r--r--plugins/password/drivers/virtualmin.php10
-rw-r--r--plugins/password/drivers/vpopmaild.php2
-rw-r--r--plugins/password/drivers/xmail.php4
-rw-r--r--plugins/password/localization/az_AZ.inc46
-rw-r--r--plugins/password/localization/ber.inc17
-rw-r--r--plugins/password/localization/bg_BG.inc43
-rw-r--r--plugins/password/localization/br.inc37
-rw-r--r--plugins/password/localization/bs_BA.inc46
-rw-r--r--plugins/password/localization/ca_ES.inc46
-rw-r--r--plugins/password/localization/cs_CZ.inc46
-rw-r--r--plugins/password/localization/cy_GB.inc46
-rw-r--r--plugins/password/localization/da_DK.inc46
-rw-r--r--plugins/password/localization/de_CH.inc46
-rw-r--r--plugins/password/localization/de_DE.inc46
-rw-r--r--plugins/password/localization/en_GB.inc46
-rw-r--r--plugins/password/localization/en_US.inc16
-rw-r--r--plugins/password/localization/eo.inc46
-rw-r--r--plugins/password/localization/es_AR.inc46
-rw-r--r--plugins/password/localization/es_ES.inc46
-rw-r--r--plugins/password/localization/et_EE.inc46
-rw-r--r--plugins/password/localization/fa_IR.inc46
-rw-r--r--plugins/password/localization/fi_FI.inc46
-rw-r--r--plugins/password/localization/fr_FR.inc46
-rw-r--r--plugins/password/localization/gl_ES.inc46
-rw-r--r--plugins/password/localization/he_IL.inc46
-rw-r--r--plugins/password/localization/hr_HR.inc46
-rw-r--r--plugins/password/localization/hu_HU.inc46
-rw-r--r--plugins/password/localization/hy_AM.inc46
-rw-r--r--plugins/password/localization/id_ID.inc37
-rw-r--r--plugins/password/localization/it_IT.inc46
-rw-r--r--plugins/password/localization/ja_JP.inc46
-rw-r--r--plugins/password/localization/ko_KR.inc46
-rw-r--r--plugins/password/localization/ku.inc33
-rw-r--r--plugins/password/localization/lt_LT.inc46
-rw-r--r--plugins/password/localization/lv_LV.inc45
-rw-r--r--plugins/password/localization/nb_NB.inc31
-rw-r--r--plugins/password/localization/nb_NO.inc37
-rw-r--r--plugins/password/localization/nl_NL.inc46
-rw-r--r--plugins/password/localization/nn_NO.inc37
-rw-r--r--plugins/password/localization/pl_PL.inc46
-rw-r--r--plugins/password/localization/pt_BR.inc46
-rw-r--r--plugins/password/localization/pt_PT.inc46
-rw-r--r--plugins/password/localization/ro_RO.inc46
-rw-r--r--plugins/password/localization/ru_RU.inc46
-rw-r--r--plugins/password/localization/sk_SK.inc46
-rw-r--r--plugins/password/localization/sl_SI.inc46
-rw-r--r--plugins/password/localization/sr_CS.inc46
-rw-r--r--plugins/password/localization/sv_SE.inc46
-rw-r--r--plugins/password/localization/tr_TR.inc46
-rw-r--r--plugins/password/localization/vi_VN.inc46
-rw-r--r--plugins/password/localization/zh_CN.inc46
-rw-r--r--plugins/password/localization/zh_TW.inc46
-rw-r--r--plugins/password/package.xml23
-rw-r--r--plugins/password/password.php32
-rw-r--r--plugins/password/tests/Password.php23
70 files changed, 1637 insertions, 1227 deletions
diff --git a/plugins/password/README b/plugins/password/README
index 25af8cbcd..2c57e0cf6 100644
--- a/plugins/password/README
+++ b/plugins/password/README
@@ -192,8 +192,12 @@
2.6. cPanel (cpanel)
--------------------
- You can specify parameters for HTTP connection to cPanel's admin
- interface. See config.inc.php.dist file for more info.
+ Install cPanel XMLAPI Client Class into Roundcube program/lib directory
+ or any other place in PHP include path. You can get the class from
+ https://raw.github.com/CpanelInc/xmlapi-php/master/xmlapi.php
+
+ You can configure parameters for connection to cPanel's API interface.
+ See config.inc.php.dist file for more info.
2.7. XIMSS/Communigate (ximms)
diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist
index e960bbe00..87758d84f 100644
--- a/plugins/password/config.inc.php.dist
+++ b/plugins/password/config.inc.php.dist
@@ -265,13 +265,7 @@ $rcmail_config['password_cpanel_username'] = 'username';
$rcmail_config['password_cpanel_password'] = 'password';
// The cPanel port to use
-$rcmail_config['password_cpanel_port'] = 2082;
-
-// Using ssl for cPanel connections?
-$rcmail_config['password_cpanel_ssl'] = true;
-
-// The cPanel theme in use
-$rcmail_config['password_cpanel_theme'] = 'x';
+$rcmail_config['password_cpanel_port'] = 2087;
// XIMSS (Communigate server) Driver options
@@ -357,6 +351,10 @@ $rcmail_config['password_expect_params'] = '';
// smb Driver options
// ---------------------
// Samba host (default: localhost)
+// Supported replacement variables:
+// %n - hostname ($_SERVER['SERVER_NAME'])
+// %t - hostname without the first part
+// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
$rcmail_config['password_smb_host'] = 'localhost';
// Location of smbpasswd binary
$rcmail_config['password_smb_cmd'] = '/usr/bin/smbpasswd';
diff --git a/plugins/password/drivers/chpasswd.php b/plugins/password/drivers/chpasswd.php
index 3ea10159c..137275e69 100644
--- a/plugins/password/drivers/chpasswd.php
+++ b/plugins/password/drivers/chpasswd.php
@@ -26,7 +26,7 @@ class rcube_chpasswd_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/cpanel.php b/plugins/password/drivers/cpanel.php
index 58351143b..b71c33ec1 100644
--- a/plugins/password/drivers/cpanel.php
+++ b/plugins/password/drivers/cpanel.php
@@ -4,99 +4,43 @@
* cPanel Password Driver
*
* Driver that adds functionality to change the users cPanel password.
- * The cPanel PHP API code has been taken from: http://www.phpclasses.org/browse/package/3534.html
+ * Originally written by Fulvio Venturelli <fulvio@venturelli.org>
*
- * This driver has been tested with Hostmonster hosting and seems to work fine.
+ * Completely rewritten using the cPanel API2 call Email::passwdpop
+ * as opposed to the original coding against the UI, which is a fragile method that
+ * makes the driver to always return a failure message for any language other than English
+ * see http://trac.roundcube.net/ticket/1487015
*
- * @version 2.0
- * @author Fulvio Venturelli <fulvio@venturelli.org>
+ * This driver has been tested with o2switch hosting and seems to work fine.
+ *
+ * @version 3.0
+ * @author Christian Chech <christian@chech.fr>
*/
class rcube_cpanel_password
{
public function save($curpas, $newpass)
{
+ require_once 'xmlapi.php';
+
$rcmail = rcmail::get_instance();
- // Create a cPanel email object
- $cPanel = new emailAccount($rcmail->config->get('password_cpanel_host'),
- $rcmail->config->get('password_cpanel_username'),
- $rcmail->config->get('password_cpanel_password'),
- $rcmail->config->get('password_cpanel_port'),
- $rcmail->config->get('password_cpanel_ssl'),
- $rcmail->config->get('password_cpanel_theme'),
- $_SESSION['username'] );
+ $this->cuser = $rcmail->config->get('password_cpanel_username');
+
+ // Setup the xmlapi connection
+ $this->xmlapi = new xmlapi($rcmail->config->get('password_cpanel_host'));
+ $this->xmlapi->set_port($rcmail->config->get('password_cpanel_port'));
+ $this->xmlapi->password_auth($this->cuser, $rcmail->config->get('password_cpanel_password'));
+ $this->xmlapi->set_output('json');
+ $this->xmlapi->set_debug(0);
- if ($cPanel->setPassword($newpass)){
+ if ($this->setPassword($_SESSION['username'], $newpass)) {
return PASSWORD_SUCCESS;
}
else {
return PASSWORD_ERROR;
}
}
-}
-
-
-class HTTP
-{
- function HTTP($host, $username, $password, $port, $ssl, $theme)
- {
- $this->ssl = $ssl ? 'ssl://' : '';
- $this->username = $username;
- $this->password = $password;
- $this->theme = $theme;
- $this->auth = base64_encode($username . ':' . $password);
- $this->port = $port;
- $this->host = $host;
- $this->path = '/frontend/' . $theme . '/';
- }
-
- function getData($url, $data = '')
- {
- $url = $this->path . $url;
- if(is_array($data))
- {
- $url = $url . '?';
- foreach($data as $key=>$value)
- {
- $url .= urlencode($key) . '=' . urlencode($value) . '&';
- }
- $url = substr($url, 0, -1);
- }
- $response = '';
- $fp = fsockopen($this->ssl . $this->host, $this->port);
- if(!$fp)
- {
- return false;
- }
- $out = 'GET ' . $url . ' HTTP/1.0' . "\r\n";
- $out .= 'Authorization: Basic ' . $this->auth . "\r\n";
- $out .= 'Connection: Close' . "\r\n\r\n";
- fwrite($fp, $out);
- while (!feof($fp))
- {
- $response .= @fgets($fp);
- }
- fclose($fp);
- return $response;
- }
-}
-
-
-class emailAccount
-{
- function emailAccount($host, $username, $password, $port, $ssl, $theme, $address)
- {
- $this->HTTP = new HTTP($host, $username, $password, $port, $ssl, $theme);
- if(strpos($address, '@'))
- {
- list($this->email, $this->domain) = explode('@', $address);
- }
- else
- {
- list($this->email, $this->domain) = array($address, '');
- }
- }
/**
* Change email account password
@@ -105,16 +49,24 @@ class emailAccount
* @param string $password email account password
* @return bool
*/
- function setPassword($password)
- {
- $data['email'] = $this->email;
- $data['domain'] = $this->domain;
- $data['password'] = $password;
- $response = $this->HTTP->getData('mail/dopasswdpop.html', $data);
- if(strpos($response, 'success') && !strpos($response, 'failure'))
- {
- return true;
- }
- return false;
- }
+ function setPassword($address, $password)
+ {
+ if (strpos($address, '@')) {
+ list($data['email'], $data['domain']) = explode('@', $address);
+ }
+ else {
+ list($data['email'], $data['domain']) = array($address, '');
+ }
+
+ $data['password'] = $password;
+
+ $query = $this->xmlapi->api2_query($this->cuser, 'Email', 'passwdpop', $data);
+ $query = json_decode($query, true);
+
+ if ($query['cpanelresult']['data'][0]['result'] == 1) {
+ return true;
+ }
+
+ return false;
+ }
}
diff --git a/plugins/password/drivers/dbmail.php b/plugins/password/drivers/dbmail.php
index e4c0d52e3..529027b8d 100644
--- a/plugins/password/drivers/dbmail.php
+++ b/plugins/password/drivers/dbmail.php
@@ -29,7 +29,7 @@ class rcube_dbmail_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/directadmin.php b/plugins/password/drivers/directadmin.php
index 657c21eb4..8bf0dc613 100644
--- a/plugins/password/drivers/directadmin.php
+++ b/plugins/password/drivers/directadmin.php
@@ -34,16 +34,16 @@ class rcube_directadmin_password
$Socket->set_method('POST');
$Socket->query('/CMD_CHANGE_EMAIL_PASSWORD',
array(
- 'email' => $da_user,
- 'oldpassword' => $da_curpass,
- 'password1' => $da_newpass,
- 'password2' => $da_newpass,
- 'api' => '1'
+ 'email' => $da_user,
+ 'oldpassword' => $da_curpass,
+ 'password1' => $da_newpass,
+ 'password2' => $da_newpass,
+ 'api' => '1'
));
$response = $Socket->fetch_parsed_body();
//DEBUG
- //console("Password Plugin: [USER: $da_user] [HOST: $da_host] - Response: [SOCKET: ".$Socket->result_status_code."] [DA ERROR: ".strip_tags($response['error'])."] [TEXT: ".$response[text]."]");
+ //rcube::console("Password Plugin: [USER: $da_user] [HOST: $da_host] - Response: [SOCKET: ".$Socket->result_status_code."] [DA ERROR: ".strip_tags($response['error'])."] [TEXT: ".$response[text]."]");
if($Socket->result_status_code != 200)
return array('code' => PASSWORD_CONNECT_ERROR, 'message' => $Socket->error[0]);
@@ -72,7 +72,7 @@ class rcube_directadmin_password
class HTTPSocket {
var $version = '2.8';
-
+
/* all vars are private except $error, $query_cache, and $doFollowLocationHeader */
var $method = 'GET';
@@ -173,7 +173,7 @@ class HTTPSocket {
$location = parse_url($request);
$this->connect($location['host'],$location['port']);
$this->set_login($location['user'],$location['pass']);
-
+
$request = $location['path'];
$content = $location['query'];
@@ -326,7 +326,7 @@ class HTTPSocket {
}
}
-
+
list($this->result_header,$this->result_body) = preg_split("/\r\n\r\n/",$this->result,2);
if ($this->bind_host)
@@ -365,7 +365,6 @@ class HTTPSocket {
$this->query($headers['location']);
}
}
-
}
function getTransferSpeed()
@@ -449,8 +448,7 @@ class HTTPSocket {
function fetch_header( $header = '' )
{
$array_headers = preg_split("/\r\n/",$this->result_header);
-
- $array_return = array( 0 => $array_headers[0] );
+ $array_return = array( 0 => $array_headers[0] );
unset($array_headers[0]);
foreach ( $array_headers as $pair )
diff --git a/plugins/password/drivers/expect.php b/plugins/password/drivers/expect.php
index 7a191e254..1f68924df 100644
--- a/plugins/password/drivers/expect.php
+++ b/plugins/password/drivers/expect.php
@@ -45,7 +45,7 @@ class rcube_expect_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/hmail.php b/plugins/password/drivers/hmail.php
index 104c851ae..a8f07a23b 100644
--- a/plugins/password/drivers/hmail.php
+++ b/plugins/password/drivers/hmail.php
@@ -26,8 +26,8 @@ class rcube_hmail_password
$obApp = new COM("hMailServer.Application");
}
catch (Exception $e) {
- write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage())));
- write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
+ rcube::write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage())));
+ rcube::write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
return PASSWORD_ERROR;
}
@@ -39,8 +39,8 @@ class rcube_hmail_password
else {
$domain = $rcmail->config->get('username_domain',false);
if (!$domain) {
- write_log('errors','Plugin password (hmail driver): $rcmail_config[\'username_domain\'] is not defined.');
- write_log('errors','Plugin password (hmail driver): Hint: Use hmail_login plugin (http://myroundcube.googlecode.com');
+ rcube::write_log('errors','Plugin password (hmail driver): $rcmail_config[\'username_domain\'] is not defined.');
+ rcube::write_log('errors','Plugin password (hmail driver): Hint: Use hmail_login plugin (http://myroundcube.googlecode.com');
return PASSWORD_ERROR;
}
$username = $username . "@" . $domain;
@@ -55,8 +55,8 @@ class rcube_hmail_password
return PASSWORD_SUCCESS;
}
catch (Exception $e) {
- write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage())));
- write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
+ rcube::write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage())));
+ rcube::write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set.");
return PASSWORD_ERROR;
}
}
diff --git a/plugins/password/drivers/ldap.php b/plugins/password/drivers/ldap.php
index def07a175..548d327e1 100644
--- a/plugins/password/drivers/ldap.php
+++ b/plugins/password/drivers/ldap.php
@@ -85,7 +85,7 @@ class rcube_ldap_password
// Crypt new samba password
if ($smbpwattr && !($samba_pass = $this->hashPassword($passwd, 'samba'))) {
- return PASSWORD_CRYPT_ERROR;
+ return PASSWORD_CRYPT_ERROR;
}
// Writing new crypted password to LDAP
@@ -271,11 +271,11 @@ class rcube_ldap_password
case 'samba':
if (function_exists('hash')) {
- $cryptedPassword = hash('md4', rcube_charset_convert($passwordClear, RCMAIL_CHARSET, 'UTF-16LE'));
+ $cryptedPassword = hash('md4', rcube_charset::convert($passwordClear, RCUBE_CHARSET, 'UTF-16LE'));
$cryptedPassword = strtoupper($cryptedPassword);
} else {
- /* Your PHP install does not have the hash() function */
- return false;
+ /* Your PHP install does not have the hash() function */
+ return false;
}
break;
diff --git a/plugins/password/drivers/ldap_simple.php b/plugins/password/drivers/ldap_simple.php
index e1daed9f3..d47e14492 100644
--- a/plugins/password/drivers/ldap_simple.php
+++ b/plugins/password/drivers/ldap_simple.php
@@ -15,57 +15,57 @@ class rcube_ldap_simple_password
{
function save($curpass, $passwd)
{
- $rcmail = rcmail::get_instance();
-
- // Connect
- if (!$ds = ldap_connect($rcmail->config->get('password_ldap_host'), $rcmail->config->get('password_ldap_port'))) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
-
- // Set protocol version
- if (!ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $rcmail->config->get('password_ldap_version'))) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
-
- // Start TLS
- if ($rcmail->config->get('password_ldap_starttls')) {
- if (!ldap_start_tls($ds)) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
- }
-
- // Build user DN
- if ($user_dn = $rcmail->config->get('password_ldap_userDN_mask')) {
- $user_dn = $this->substitute_vars($user_dn);
- }
- else {
- $user_dn = $this->search_userdn($rcmail, $ds);
- }
-
- if (empty($user_dn)) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
-
- // Connection method
- switch ($rcmail->config->get('password_ldap_method')) {
- case 'admin':
- $binddn = $rcmail->config->get('password_ldap_adminDN');
- $bindpw = $rcmail->config->get('password_ldap_adminPW');
- break;
- case 'user':
- default:
- $binddn = $user_dn;
- $bindpw = $curpass;
- break;
- }
-
- $crypted_pass = $this->hash_password($passwd, $rcmail->config->get('password_ldap_encodage'));
- $lchattr = $rcmail->config->get('password_ldap_lchattr');
- $pwattr = $rcmail->config->get('password_ldap_pwattr');
+ $rcmail = rcmail::get_instance();
+
+ // Connect
+ if (!$ds = ldap_connect($rcmail->config->get('password_ldap_host'), $rcmail->config->get('password_ldap_port'))) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
+
+ // Set protocol version
+ if (!ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $rcmail->config->get('password_ldap_version'))) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
+
+ // Start TLS
+ if ($rcmail->config->get('password_ldap_starttls')) {
+ if (!ldap_start_tls($ds)) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
+ }
+
+ // Build user DN
+ if ($user_dn = $rcmail->config->get('password_ldap_userDN_mask')) {
+ $user_dn = $this->substitute_vars($user_dn);
+ }
+ else {
+ $user_dn = $this->search_userdn($rcmail, $ds);
+ }
+
+ if (empty($user_dn)) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
+
+ // Connection method
+ switch ($rcmail->config->get('password_ldap_method')) {
+ case 'admin':
+ $binddn = $rcmail->config->get('password_ldap_adminDN');
+ $bindpw = $rcmail->config->get('password_ldap_adminPW');
+ break;
+ case 'user':
+ default:
+ $binddn = $user_dn;
+ $bindpw = $curpass;
+ break;
+ }
+
+ $crypted_pass = $this->hash_password($passwd, $rcmail->config->get('password_ldap_encodage'));
+ $lchattr = $rcmail->config->get('password_ldap_lchattr');
+ $pwattr = $rcmail->config->get('password_ldap_pwattr');
$smbpwattr = $rcmail->config->get('password_ldap_samba_pwattr');
$smblchattr = $rcmail->config->get('password_ldap_samba_lchattr');
$samba = $rcmail->config->get('password_ldap_samba');
@@ -76,28 +76,28 @@ class rcube_ldap_simple_password
$smblchattr = 'sambaPwdLastSet';
}
- // Crypt new password
- if (!$crypted_pass) {
- return PASSWORD_CRYPT_ERROR;
- }
+ // Crypt new password
+ if (!$crypted_pass) {
+ return PASSWORD_CRYPT_ERROR;
+ }
// Crypt new Samba password
if ($smbpwattr && !($samba_pass = $this->hash_password($passwd, 'samba'))) {
- return PASSWORD_CRYPT_ERROR;
+ return PASSWORD_CRYPT_ERROR;
}
- // Bind
- if (!ldap_bind($ds, $binddn, $bindpw)) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
+ // Bind
+ if (!ldap_bind($ds, $binddn, $bindpw)) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
- $entree[$pwattr] = $crypted_pass;
+ $entree[$pwattr] = $crypted_pass;
- // Update PasswordLastChange Attribute if desired
- if ($lchattr) {
- $entree[$lchattr] = (int)(time() / 86400);
- }
+ // Update PasswordLastChange Attribute if desired
+ if ($lchattr) {
+ $entree[$lchattr] = (int)(time() / 86400);
+ }
// Update Samba password
if ($smbpwattr) {
@@ -109,14 +109,14 @@ class rcube_ldap_simple_password
$entree[$smblchattr] = time();
}
- if (!ldap_modify($ds, $user_dn, $entree)) {
- ldap_unbind($ds);
- return PASSWORD_CONNECT_ERROR;
- }
+ if (!ldap_modify($ds, $user_dn, $entree)) {
+ ldap_unbind($ds);
+ return PASSWORD_CONNECT_ERROR;
+ }
- // All done, no error
- ldap_unbind($ds);
- return PASSWORD_SUCCESS;
+ // All done, no error
+ ldap_unbind($ds);
+ return PASSWORD_SUCCESS;
}
/**
@@ -126,22 +126,22 @@ class rcube_ldap_simple_password
*/
function search_userdn($rcmail, $ds)
{
- /* Bind */
- if (!ldap_bind($ds, $rcmail->config->get('password_ldap_searchDN'), $rcmail->config->get('password_ldap_searchPW'))) {
- return false;
- }
-
- /* Search for the DN */
- if (!$sr = ldap_search($ds, $rcmail->config->get('password_ldap_search_base'), $this->substitute_vars($rcmail->config->get('password_ldap_search_filter')))) {
- return false;
- }
-
- /* If no or more entries were found, return false */
- if (ldap_count_entries($ds, $sr) != 1) {
- return false;
- }
-
- return ldap_get_dn($ds, ldap_first_entry($ds, $sr));
+ /* Bind */
+ if (!ldap_bind($ds, $rcmail->config->get('password_ldap_searchDN'), $rcmail->config->get('password_ldap_searchPW'))) {
+ return false;
+ }
+
+ /* Search for the DN */
+ if (!$sr = ldap_search($ds, $rcmail->config->get('password_ldap_search_base'), $this->substitute_vars($rcmail->config->get('password_ldap_search_filter')))) {
+ return false;
+ }
+
+ /* If no or more entries were found, return false */
+ if (ldap_count_entries($ds, $sr) != 1) {
+ return false;
+ }
+
+ return ldap_get_dn($ds, ldap_first_entry($ds, $sr));
}
/**
@@ -150,22 +150,22 @@ class rcube_ldap_simple_password
*/
function substitute_vars($str)
{
- $str = str_replace('%login', $_SESSION['username'], $str);
- $str = str_replace('%l', $_SESSION['username'], $str);
+ $str = str_replace('%login', $_SESSION['username'], $str);
+ $str = str_replace('%l', $_SESSION['username'], $str);
- $parts = explode('@', $_SESSION['username']);
+ $parts = explode('@', $_SESSION['username']);
- if (count($parts) == 2) {
+ if (count($parts) == 2) {
$dc = 'dc='.strtr($parts[1], array('.' => ',dc=')); // hierarchal domain string
- $str = str_replace('%name', $parts[0], $str);
+ $str = str_replace('%name', $parts[0], $str);
$str = str_replace('%n', $parts[0], $str);
$str = str_replace('%dc', $dc, $str);
- $str = str_replace('%domain', $parts[1], $str);
- $str = str_replace('%d', $parts[1], $str);
- }
+ $str = str_replace('%domain', $parts[1], $str);
+ $str = str_replace('%d', $parts[1], $str);
+ }
- return $str;
+ return $str;
}
/**
@@ -176,83 +176,83 @@ class rcube_ldap_simple_password
*/
function hash_password($password_clear, $encodage_type)
{
- $encodage_type = strtolower($encodage_type);
- switch ($encodage_type) {
- case 'crypt':
- $crypted_password = '{CRYPT}' . crypt($password_clear, $this->random_salt(2));
- break;
- case 'ext_des':
- /* Extended DES crypt. see OpenBSD crypt man page */
- if (!defined('CRYPT_EXT_DES') || CRYPT_EXT_DES == 0) {
- /* Your system crypt library does not support extended DES encryption */
- return false;
- }
- $crypted_password = '{CRYPT}' . crypt($password_clear, '_' . $this->random_salt(8));
- break;
- case 'md5crypt':
- if (!defined('CRYPT_MD5') || CRYPT_MD5 == 0) {
- /* Your system crypt library does not support md5crypt encryption */
- return false;
- }
- $crypted_password = '{CRYPT}' . crypt($password_clear, '$1$' . $this->random_salt(9));
- break;
- case 'blowfish':
- if (!defined('CRYPT_BLOWFISH') || CRYPT_BLOWFISH == 0) {
- /* Your system crypt library does not support blowfish encryption */
- return false;
- }
- /* Hardcoded to second blowfish version and set number of rounds */
- $crypted_password = '{CRYPT}' . crypt($password_clear, '$2a$12$' . $this->random_salt(13));
- break;
- case 'md5':
- $crypted_password = '{MD5}' . base64_encode(pack('H*', md5($password_clear)));
- break;
- case 'sha':
- if (function_exists('sha1')) {
- /* Use PHP 4.3.0+ sha1 function, if it is available */
- $crypted_password = '{SHA}' . base64_encode(pack('H*', sha1($password_clear)));
- } else if (function_exists('mhash')) {
- $crypted_password = '{SHA}' . base64_encode(mhash(MHASH_SHA1, $password_clear));
- } else {
- /* Your PHP install does not have the mhash() function */
- return false;
- }
- break;
- case 'ssha':
- if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) {
- mt_srand((double) microtime() * 1000000 );
- $salt = mhash_keygen_s2k(MHASH_SHA1, $password_clear, substr(pack('h*', md5(mt_rand())), 0, 8), 4);
- $crypted_password = '{SSHA}' . base64_encode(mhash(MHASH_SHA1, $password_clear . $salt) . $salt);
- } else {
- /* Your PHP install does not have the mhash() function */
- return false;
- }
- break;
- case 'smd5':
- if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) {
- mt_srand((double) microtime() * 1000000 );
- $salt = mhash_keygen_s2k(MHASH_MD5, $password_clear, substr(pack('h*', md5(mt_rand())), 0, 8), 4);
- $crypted_password = '{SMD5}' . base64_encode(mhash(MHASH_MD5, $password_clear . $salt) . $salt);
- } else {
- /* Your PHP install does not have the mhash() function */
- return false;
- }
- break;
+ $encodage_type = strtolower($encodage_type);
+ switch ($encodage_type) {
+ case 'crypt':
+ $crypted_password = '{CRYPT}' . crypt($password_clear, $this->random_salt(2));
+ break;
+ case 'ext_des':
+ /* Extended DES crypt. see OpenBSD crypt man page */
+ if (!defined('CRYPT_EXT_DES') || CRYPT_EXT_DES == 0) {
+ /* Your system crypt library does not support extended DES encryption */
+ return false;
+ }
+ $crypted_password = '{CRYPT}' . crypt($password_clear, '_' . $this->random_salt(8));
+ break;
+ case 'md5crypt':
+ if (!defined('CRYPT_MD5') || CRYPT_MD5 == 0) {
+ /* Your system crypt library does not support md5crypt encryption */
+ return false;
+ }
+ $crypted_password = '{CRYPT}' . crypt($password_clear, '$1$' . $this->random_salt(9));
+ break;
+ case 'blowfish':
+ if (!defined('CRYPT_BLOWFISH') || CRYPT_BLOWFISH == 0) {
+ /* Your system crypt library does not support blowfish encryption */
+ return false;
+ }
+ /* Hardcoded to second blowfish version and set number of rounds */
+ $crypted_password = '{CRYPT}' . crypt($password_clear, '$2a$12$' . $this->random_salt(13));
+ break;
+ case 'md5':
+ $crypted_password = '{MD5}' . base64_encode(pack('H*', md5($password_clear)));
+ break;
+ case 'sha':
+ if (function_exists('sha1')) {
+ /* Use PHP 4.3.0+ sha1 function, if it is available */
+ $crypted_password = '{SHA}' . base64_encode(pack('H*', sha1($password_clear)));
+ } else if (function_exists('mhash')) {
+ $crypted_password = '{SHA}' . base64_encode(mhash(MHASH_SHA1, $password_clear));
+ } else {
+ /* Your PHP install does not have the mhash() function */
+ return false;
+ }
+ break;
+ case 'ssha':
+ if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) {
+ mt_srand((double) microtime() * 1000000 );
+ $salt = mhash_keygen_s2k(MHASH_SHA1, $password_clear, substr(pack('h*', md5(mt_rand())), 0, 8), 4);
+ $crypted_password = '{SSHA}' . base64_encode(mhash(MHASH_SHA1, $password_clear . $salt) . $salt);
+ } else {
+ /* Your PHP install does not have the mhash() function */
+ return false;
+ }
+ break;
+ case 'smd5':
+ if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) {
+ mt_srand((double) microtime() * 1000000 );
+ $salt = mhash_keygen_s2k(MHASH_MD5, $password_clear, substr(pack('h*', md5(mt_rand())), 0, 8), 4);
+ $crypted_password = '{SMD5}' . base64_encode(mhash(MHASH_MD5, $password_clear . $salt) . $salt);
+ } else {
+ /* Your PHP install does not have the mhash() function */
+ return false;
+ }
+ break;
case 'samba':
if (function_exists('hash')) {
- $crypted_password = hash('md4', rcube_charset_convert($password_clear, RCMAIL_CHARSET, 'UTF-16LE'));
+ $crypted_password = hash('md4', rcube_charset::convert($password_clear, RCUBE_CHARSET, 'UTF-16LE'));
$crypted_password = strtoupper($crypted_password);
} else {
- /* Your PHP install does not have the hash() function */
- return false;
+ /* Your PHP install does not have the hash() function */
+ return false;
}
break;
- case 'clear':
- default:
- $crypted_password = $password_clear;
- }
+ case 'clear':
+ default:
+ $crypted_password = $password_clear;
+ }
- return $crypted_password;
+ return $crypted_password;
}
/**
@@ -263,14 +263,14 @@ class rcube_ldap_simple_password
*/
function random_salt($length)
{
- $possible = '0123456789' . 'abcdefghijklmnopqrstuvwxyz' . 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' . './';
- $str = '';
- // mt_srand((double)microtime() * 1000000);
+ $possible = '0123456789' . 'abcdefghijklmnopqrstuvwxyz' . 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' . './';
+ $str = '';
+ // mt_srand((double)microtime() * 1000000);
- while (strlen($str) < $length) {
- $str .= substr($possible, (rand() % strlen($possible)), 1);
- }
+ while (strlen($str) < $length) {
+ $str .= substr($possible, (rand() % strlen($possible)), 1);
+ }
- return $str;
+ return $str;
}
}
diff --git a/plugins/password/drivers/pam.php b/plugins/password/drivers/pam.php
index ed60bd841..8cd94c737 100644
--- a/plugins/password/drivers/pam.php
+++ b/plugins/password/drivers/pam.php
@@ -13,14 +13,14 @@ class rcube_pam_password
{
$user = $_SESSION['username'];
- if (extension_loaded('pam')) {
+ if (extension_loaded('pam') || extension_loaded('pam_auth')) {
if (pam_auth($user, $currpass, $error, false)) {
if (pam_chpass($user, $currpass, $newpass)) {
return PASSWORD_SUCCESS;
}
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
@@ -29,7 +29,7 @@ class rcube_pam_password
}
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/pw_usermod.php b/plugins/password/drivers/pw_usermod.php
index 5b92fcbfb..237e275a7 100644
--- a/plugins/password/drivers/pw_usermod.php
+++ b/plugins/password/drivers/pw_usermod.php
@@ -28,7 +28,7 @@ class rcube_pw_usermod_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/sasl.php b/plugins/password/drivers/sasl.php
index 9380cf838..8776eff2e 100644
--- a/plugins/password/drivers/sasl.php
+++ b/plugins/password/drivers/sasl.php
@@ -32,7 +32,7 @@ class rcube_sasl_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/smb.php b/plugins/password/drivers/smb.php
index 138313be8..9f2b96afa 100644
--- a/plugins/password/drivers/smb.php
+++ b/plugins/password/drivers/smb.php
@@ -26,13 +26,15 @@ class rcube_smb_password
public function save($currpass, $newpass)
{
- $host = rcmail::get_instance()->config->get('password_smb_host','localhost');
- $bin = rcmail::get_instance()->config->get('password_smb_cmd','/usr/bin/smbpasswd');
+ $host = rcmail::get_instance()->config->get('password_smb_host','localhost');
+ $bin = rcmail::get_instance()->config->get('password_smb_cmd','/usr/bin/smbpasswd');
$username = $_SESSION['username'];
- $tmpfile = tempnam(sys_get_temp_dir(),'smb');
- $cmd = $bin . ' -r ' . $host . ' -s -U "' . $username . '" > ' . $tmpfile . ' 2>&1';
- $handle = @popen($cmd, 'w');
+ $host = rcube_utils::parse_host($host);
+ $tmpfile = tempnam(sys_get_temp_dir(),'smb');
+ $cmd = $bin . ' -r ' . $host . ' -s -U "' . $username . '" > ' . $tmpfile . ' 2>&1';
+ $handle = @popen($cmd, 'w');
+
fputs($handle, $currpass."\n");
fputs($handle, $newpass."\n");
fputs($handle, $newpass."\n");
@@ -44,7 +46,7 @@ class rcube_smb_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
@@ -56,4 +58,3 @@ class rcube_smb_password
}
}
-?>
diff --git a/plugins/password/drivers/sql.php b/plugins/password/drivers/sql.php
index 8bdcabf83..e02bff146 100644
--- a/plugins/password/drivers/sql.php
+++ b/plugins/password/drivers/sql.php
@@ -20,11 +20,11 @@ class rcube_sql_password
$sql = 'SELECT update_passwd(%c, %u)';
if ($dsn = $rcmail->config->get('password_db_dsn')) {
- // #1486067: enable new_link option
- if (is_array($dsn) && empty($dsn['new_link']))
- $dsn['new_link'] = true;
- else if (!is_array($dsn) && !preg_match('/\?new_link=true/', $dsn))
- $dsn .= '?new_link=true';
+ // #1486067: enable new_link option
+ if (is_array($dsn) && empty($dsn['new_link']))
+ $dsn['new_link'] = true;
+ else if (!is_array($dsn) && !preg_match('/\?new_link=true/', $dsn))
+ $dsn .= '?new_link=true';
$db = rcube_db::factory($dsn, '', false);
$db->set_debug((bool)$rcmail->config->get('sql_debug'));
@@ -48,7 +48,7 @@ class rcube_sql_password
else if (CRYPT_STD_DES)
$crypt_hash = 'des';
}
-
+
switch ($crypt_hash)
{
case 'md5':
@@ -77,7 +77,7 @@ class rcube_sql_password
//Restrict the character set used as salt (#1488136)
$seedchars = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
for ($i = 0; $i < $len ; $i++) {
- $salt .= $seedchars[rand(0, 63)];
+ $salt .= $seedchars[rand(0, 63)];
}
$sql = str_replace('%c', $db->quote(crypt($passwd, $salt_hashindicator ? $salt_hashindicator .$salt.'$' : $salt)), $sql);
@@ -116,30 +116,30 @@ class rcube_sql_password
// hashed passwords
if (preg_match('/%[n|q]/', $sql)) {
- if (!extension_loaded('hash')) {
- raise_error(array(
- 'code' => 600,
- 'type' => 'php',
- 'file' => __FILE__, 'line' => __LINE__,
- 'message' => "Password plugin: 'hash' extension not loaded!"
- ), true, false);
-
- return PASSWORD_ERROR;
- }
-
- if (!($hash_algo = strtolower($rcmail->config->get('password_hash_algorithm'))))
+ if (!extension_loaded('hash')) {
+ rcube::raise_error(array(
+ 'code' => 600,
+ 'type' => 'php',
+ 'file' => __FILE__, 'line' => __LINE__,
+ 'message' => "Password plugin: 'hash' extension not loaded!"
+ ), true, false);
+
+ return PASSWORD_ERROR;
+ }
+
+ if (!($hash_algo = strtolower($rcmail->config->get('password_hash_algorithm'))))
$hash_algo = 'sha1';
- $hash_passwd = hash($hash_algo, $passwd);
+ $hash_passwd = hash($hash_algo, $passwd);
$hash_curpass = hash($hash_algo, $curpass);
- if ($rcmail->config->get('password_hash_base64')) {
+ if ($rcmail->config->get('password_hash_base64')) {
$hash_passwd = base64_encode(pack('H*', $hash_passwd));
$hash_curpass = base64_encode(pack('H*', $hash_curpass));
}
- $sql = str_replace('%n', $db->quote($hash_passwd, 'text'), $sql);
- $sql = str_replace('%q', $db->quote($hash_curpass, 'text'), $sql);
+ $sql = str_replace('%n', $db->quote($hash_passwd, 'text'), $sql);
+ $sql = str_replace('%q', $db->quote($hash_curpass, 'text'), $sql);
}
// Handle clear text passwords securely (#1487034)
@@ -164,14 +164,14 @@ class rcube_sql_password
// convert domains to/from punnycode
if ($rcmail->config->get('password_idn_ascii')) {
- $domain_part = rcube_idn_to_ascii($domain_part);
- $username = rcube_idn_to_ascii($username);
- $host = rcube_idn_to_ascii($host);
+ $domain_part = rcube_utils::idn_to_ascii($domain_part);
+ $username = rcube_utils::idn_to_ascii($username);
+ $host = rcube_utils::idn_to_ascii($host);
}
else {
- $domain_part = rcube_idn_to_utf8($domain_part);
- $username = rcube_idn_to_utf8($username);
- $host = rcube_idn_to_utf8($host);
+ $domain_part = rcube_utils::idn_to_utf8($domain_part);
+ $username = rcube_utils::idn_to_utf8($username);
+ $host = rcube_utils::idn_to_utf8($host);
}
// at least we should always have the local part
@@ -183,16 +183,16 @@ class rcube_sql_password
$res = $db->query($sql, $sql_vars);
if (!$db->is_error()) {
- if (strtolower(substr(trim($query),0,6))=='select') {
- if ($result = $db->fetch_array($res))
- return PASSWORD_SUCCESS;
- } else {
+ if (strtolower(substr(trim($query),0,6))=='select') {
+ if ($result = $db->fetch_array($res))
+ return PASSWORD_SUCCESS;
+ } else {
// This is the good case: 1 row updated
- if ($db->affected_rows($res) == 1)
- return PASSWORD_SUCCESS;
+ if ($db->affected_rows($res) == 1)
+ return PASSWORD_SUCCESS;
// @TODO: Some queries don't affect any rows
// Should we assume a success if there was no error?
- }
+ }
}
return PASSWORD_ERROR;
diff --git a/plugins/password/drivers/virtualmin.php b/plugins/password/drivers/virtualmin.php
index 69f1475d4..2c7aee617 100644
--- a/plugins/password/drivers/virtualmin.php
+++ b/plugins/password/drivers/virtualmin.php
@@ -48,10 +48,10 @@ class rcube_virtualmin_password
$pieces = explode("_", $username);
$domain = $pieces[0];
break;
- case 8: // domain taken from alias, username left as it was
- $email = $rcmail->user->data['alias'];
- $domain = substr(strrchr($email, "@"), 1);
- break;
+ case 8: // domain taken from alias, username left as it was
+ $email = $rcmail->user->data['alias'];
+ $domain = substr(strrchr($email, "@"), 1);
+ break;
default: // username@domain
$domain = substr(strrchr($username, "@"), 1);
}
@@ -67,7 +67,7 @@ class rcube_virtualmin_password
return PASSWORD_SUCCESS;
}
else {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/drivers/vpopmaild.php b/plugins/password/drivers/vpopmaild.php
index 510cf3338..6c1a9ee9d 100644
--- a/plugins/password/drivers/vpopmaild.php
+++ b/plugins/password/drivers/vpopmaild.php
@@ -19,7 +19,7 @@ class rcube_vpopmaild_password
$vpopmaild = new Net_Socket();
if (PEAR::isError($vpopmaild->connect($rcmail->config->get('password_vpopmaild_host'),
- $rcmail->config->get('password_vpopmaild_port'), null))) {
+ $rcmail->config->get('password_vpopmaild_port'), null))) {
return PASSWORD_CONNECT_ERROR;
}
diff --git a/plugins/password/drivers/xmail.php b/plugins/password/drivers/xmail.php
index 33a49ffe3..37abc3001 100644
--- a/plugins/password/drivers/xmail.php
+++ b/plugins/password/drivers/xmail.php
@@ -32,7 +32,7 @@ class rcube_xmail_password
$xmail->port = $rcmail->config->get('xmail_port');
if (!$xmail->connect()) {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
@@ -42,7 +42,7 @@ class rcube_xmail_password
}
else if (!$xmail->send("userpasswd\t".$domain."\t".$user."\t".$newpass."\n")) {
$xmail->close();
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/localization/az_AZ.inc b/plugins/password/localization/az_AZ.inc
index 4d0760da8..c99ab2ab3 100644
--- a/plugins/password/localization/az_AZ.inc
+++ b/plugins/password/localization/az_AZ.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/az_AZ/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Şifrəni dəyiş';
-$labels['curpasswd'] = 'Hal-hazırki şifrə:';
-$labels['newpasswd'] = 'Yeni şifrə:';
-$labels['confpasswd'] = 'Yeni şifrə: (təkrar)';
-$labels['nopassword'] = 'Yeni şifrəni daxil edin.';
-$labels['nocurpassword'] = 'Hal-hazırda istifadə etdiyiniz şifrəni daxil edin.';
-$labels['passwordincorrect'] = 'Yalnış şifrə daxil etdiniz.';
-$labels['passwordinconsistency'] = 'Yeni daxil etdiyiniz şifrələr bir-birinə uyğun deyildir.';
-$labels['crypterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Şifrələmə metodu tapılmadı.';
-$labels['connecterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Qoşulma səhvi.';
-$labels['internalerror'] = 'Yeni şifrənin saxlanılması mümkün olmadı.';
-$labels['passwordshort'] = 'Yeni şifrə $length simvoldan uzun olmalıdır.';
-$labels['passwordweak'] = 'Şifrədə heç olmasa minimum bir rəqəm və simvol olmalıdır.';
-$labels['passwordforbidden'] = 'Şifrədə icazə verilməyən simvollar vardır.';
+$labels['changepasswd'] = 'Şifrəni dəyiş';
+$labels['curpasswd'] = 'Hal-hazırki şifrə:';
+$labels['newpasswd'] = 'Yeni şifrə:';
+$labels['confpasswd'] = 'Yeni şifrə: (təkrar)';
+
+$messages = array();
+$messages['nopassword'] = 'Yeni şifrəni daxil edin.';
+$messages['nocurpassword'] = 'Hal-hazırda istifadə etdiyiniz şifrəni daxil edin.';
+$messages['passwordincorrect'] = 'Yalnış şifrə daxil etdiniz.';
+$messages['passwordinconsistency'] = 'Yeni daxil etdiyiniz şifrələr bir-birinə uyğun deyildir.';
+$messages['crypterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Şifrələmə metodu tapılmadı.';
+$messages['connecterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Qoşulma səhvi.';
+$messages['internalerror'] = 'Yeni şifrənin saxlanılması mümkün olmadı.';
+$messages['passwordshort'] = 'Yeni şifrə $length simvoldan uzun olmalıdır.';
+$messages['passwordweak'] = 'Şifrədə heç olmasa minimum bir rəqəm və simvol olmalıdır.';
+$messages['passwordforbidden'] = 'Şifrədə icazə verilməyən simvollar vardır.';
+?>
diff --git a/plugins/password/localization/ber.inc b/plugins/password/localization/ber.inc
new file mode 100644
index 000000000..12fe4442e
--- /dev/null
+++ b/plugins/password/localization/ber.inc
@@ -0,0 +1,17 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization//labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: FULL NAME <EMAIL@ADDRESS> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+
diff --git a/plugins/password/localization/bg_BG.inc b/plugins/password/localization/bg_BG.inc
index 884cb9ec6..9bd8a4a17 100644
--- a/plugins/password/localization/bg_BG.inc
+++ b/plugins/password/localization/bg_BG.inc
@@ -2,27 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/bg_BG/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Смяна на парола';
-$labels['curpasswd'] = 'Текуща парола:';
-$labels['newpasswd'] = 'Нова парола:';
-$labels['confpasswd'] = 'Повторете:';
-$labels['nopassword'] = 'Моля въведете нова парола.';
-$labels['nocurpassword'] = 'Моля въведете текущата .';
-$labels['passwordincorrect'] = 'Невалидна текуща парола.';
-$labels['passwordinconsistency'] = 'Паролите не съвпадат, опитайте пак.';
-$labels['crypterror'] = 'Паролата не може да бъде сменена. Грешка в криптирането.';
-$labels['connecterror'] = 'Паролата не може да бъде сменена. Грешка в свързването.';
-$labels['internalerror'] = 'Паролата не може да бъде сменена.';
+$labels['changepasswd'] = 'Промяна на парола';
+$labels['curpasswd'] = 'Текуща парола:';
+$labels['newpasswd'] = 'Нова парола:';
+$labels['confpasswd'] = 'Повторете:';
+
+$messages = array();
+$messages['nopassword'] = 'Моля въведете нова парола.';
+$messages['nocurpassword'] = 'Моля въведете текущата.';
+$messages['passwordincorrect'] = 'Невалидна текуща парола.';
+$messages['passwordinconsistency'] = 'Паролите не съвпадат, опитайте пак.';
+$messages['crypterror'] = 'Паролата не може да бъде сменена. Грешка в криптирането.';
+$messages['connecterror'] = 'Паролата не може да бъде сменена. Грешка в свързването.';
+$messages['internalerror'] = 'Паролата не може да бъде сменена.';
+$messages['passwordshort'] = 'Паролата трябва да е дълга поне $length знака.';
+$messages['passwordweak'] = 'Паролата трябва да включва поне един азбучен символ и една пунктуация.';
+$messages['passwordforbidden'] = 'Паролата съдържа невалидни знаци.';
+?>
diff --git a/plugins/password/localization/br.inc b/plugins/password/localization/br.inc
new file mode 100644
index 000000000..f07786b39
--- /dev/null
+++ b/plugins/password/localization/br.inc
@@ -0,0 +1,37 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/password/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
+*/
+
+$labels = array();
+$labels['changepasswd'] = 'Kemmañ ar ger-tremen';
+$labels['curpasswd'] = 'Ger-tremen red :';
+$labels['newpasswd'] = 'Ger-tremen nevez :';
+$labels['confpasswd'] = 'Kadarnaat ar ger-tremen :';
+
+$messages = array();
+$messages['nopassword'] = 'Roit ur ger-tremen nevez, mar plij.';
+$messages['nocurpassword'] = 'Roit ar ger-tremen red, mar plij.';
+$messages['passwordincorrect'] = 'Direizh eo ar ger-tremen red.';
+$messages['passwordinconsistency'] = 'Ar gerioù-tremen ne glotont ket an eil gant eben, roit anezhe en-dro.';
+$messages['crypterror'] = 'N\'haller ket enrollañ ar ger-tremen nevez. Arc\'hwel enrinegañ o vank.';
+$messages['connecterror'] = 'N\'haller ket enrollañ ar ger-tremen nevez. Fazi gant ar c\'hennask.';
+$messages['internalerror'] = 'N\'haller ket enrollañ ar ger-tremen nevez.';
+$messages['passwordshort'] = 'Ret eo d\'ar ger-tremen bezañ hiroc\'h eget $length arouezenn.';
+$messages['passwordweak'] = 'Password must include at least one number and one punctuation character.';
+$messages['passwordforbidden'] = 'Arouezennoù difennet zo er ger-tremen.';
+
+?>
diff --git a/plugins/password/localization/bs_BA.inc b/plugins/password/localization/bs_BA.inc
index 3ec0d552a..c98a49d97 100644
--- a/plugins/password/localization/bs_BA.inc
+++ b/plugins/password/localization/bs_BA.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/bs_BA/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Kenan Dervišević <kenan3008@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Promijeni šifru';
-$labels['curpasswd'] = 'Trenutna šifra:';
-$labels['newpasswd'] = 'Nova šifra:';
-$labels['confpasswd'] = 'Potvrdite novu šifru:';
-$labels['nopassword'] = 'Molimo vas da upišete novu šifru.';
-$labels['nocurpassword'] = 'Molimo vas da upišete trenutnu šifru.';
-$labels['passwordincorrect'] = 'Trenutna šifra je netačna.';
-$labels['passwordinconsistency'] = 'Šifre se ne podudaraju, molimo vas da pokušate ponovo.';
-$labels['crypterror'] = 'Nije moguće sačuvati šifre. Nedostaje funkcija za enkripciju.';
-$labels['connecterror'] = 'Nije moguće sačuvati šifre. Greška u povezivanju.';
-$labels['internalerror'] = 'Nije moguće sačuvati novu šifru.';
-$labels['passwordshort'] = 'Šifra mora sadržavati barem $length znakova.';
-$labels['passwordweak'] = 'Šifra mora imati barem jedan broj i jedan interpunkcijski znak.';
-$labels['passwordforbidden'] = 'Šifra sadrži nedozvoljene znakove.';
+$labels['changepasswd'] = 'Promijeni šifru';
+$labels['curpasswd'] = 'Trenutna šifra:';
+$labels['newpasswd'] = 'Nova šifra:';
+$labels['confpasswd'] = 'Potvrdite novu šifru:';
+
+$messages = array();
+$messages['nopassword'] = 'Molimo vas da upišete novu šifru.';
+$messages['nocurpassword'] = 'Molimo vas da upišete trenutnu šifru.';
+$messages['passwordincorrect'] = 'Trenutna šifra je netačna.';
+$messages['passwordinconsistency'] = 'Šifre se ne podudaraju, molimo vas da pokušate ponovo.';
+$messages['crypterror'] = 'Nije moguće sačuvati šifre. Nedostaje funkcija za enkripciju.';
+$messages['connecterror'] = 'Nije moguće sačuvati šifre. Greška u povezivanju.';
+$messages['internalerror'] = 'Nije moguće sačuvati novu šifru.';
+$messages['passwordshort'] = 'Šifra mora sadržavati barem $length znakova.';
+$messages['passwordweak'] = 'Šifra mora imati barem jedan broj i jedan interpunkcijski znak.';
+$messages['passwordforbidden'] = 'Šifra sadrži nedozvoljene znakove.';
+?>
diff --git a/plugins/password/localization/ca_ES.inc b/plugins/password/localization/ca_ES.inc
index 8832f3f6d..95f5df833 100644
--- a/plugins/password/localization/ca_ES.inc
+++ b/plugins/password/localization/ca_ES.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ca_ES/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Jordi Sanfeliu <jordi@fibranet.cat> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Canvia la contrasenya';
-$labels['curpasswd'] = 'Contrasenya actual:';
-$labels['newpasswd'] = 'Nova contrasenya:';
-$labels['confpasswd'] = 'Confirmeu la nova contrasenya:';
-$labels['nopassword'] = 'Si us plau, introduïu la nova contrasenya.';
-$labels['nocurpassword'] = 'Si us plau, introduïu la contrasenya actual.';
-$labels['passwordincorrect'] = 'Contrasenya actual incorrecta.';
-$labels['passwordinconsistency'] = 'La contrasenya nova no coincideix, torneu-ho a provar.';
-$labels['crypterror'] = 'No es pot desar la nova contrasenya. No existeix la funció d\'encriptació.';
-$labels['connecterror'] = 'No es pot desar la nova contrasenya. Error de connexió.';
-$labels['internalerror'] = 'No es pot desar la nova contrasenya.';
-$labels['passwordshort'] = 'La nova contrasenya ha de tenir com a mínim $length caràcters de llarg.';
-$labels['passwordweak'] = 'La nova contrasenya ha d\'incloure com a mínim un nombre i un caràcter de puntuació.';
-$labels['passwordforbidden'] = 'La contrasenya conté caràcters no permesos.';
+$labels['changepasswd'] = 'Canvia la contrasenya';
+$labels['curpasswd'] = 'Contrasenya actual:';
+$labels['newpasswd'] = 'Nova contrasenya:';
+$labels['confpasswd'] = 'Confirmeu la nova contrasenya:';
+
+$messages = array();
+$messages['nopassword'] = 'Si us plau, introduïu la nova contrasenya.';
+$messages['nocurpassword'] = 'Si us plau, introduïu la contrasenya actual.';
+$messages['passwordincorrect'] = 'Contrasenya actual incorrecta.';
+$messages['passwordinconsistency'] = 'La contrasenya nova no coincideix, torneu-ho a provar.';
+$messages['crypterror'] = 'No es pot desar la nova contrasenya. No existeix la funció d\'encriptació.';
+$messages['connecterror'] = 'No es pot desar la nova contrasenya. Error de connexió.';
+$messages['internalerror'] = 'No es pot desar la nova contrasenya.';
+$messages['passwordshort'] = 'La nova contrasenya ha de tenir com a mínim $length caràcters de llarg.';
+$messages['passwordweak'] = 'La nova contrasenya ha d\'incloure com a mínim un nombre i un caràcter de puntuació.';
+$messages['passwordforbidden'] = 'La contrasenya conté caràcters no permesos.';
+?>
diff --git a/plugins/password/localization/cs_CZ.inc b/plugins/password/localization/cs_CZ.inc
index 2ed792376..857961c61 100644
--- a/plugins/password/localization/cs_CZ.inc
+++ b/plugins/password/localization/cs_CZ.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/cs_CZ/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Změna hesla';
-$labels['curpasswd'] = 'Aktuální heslo:';
-$labels['newpasswd'] = 'Nové heslo:';
-$labels['confpasswd'] = 'Nové heslo (pro kontrolu):';
-$labels['nopassword'] = 'Prosím zadejte nové heslo.';
-$labels['nocurpassword'] = 'Prosím zadejte aktuální heslo.';
-$labels['passwordincorrect'] = 'Zadané aktuální heslo není správné.';
-$labels['passwordinconsistency'] = 'Zadaná hesla se neshodují. Prosím zkuste to znovu.';
-$labels['crypterror'] = 'Heslo se nepodařilo uložit. Chybí šifrovací funkce.';
-$labels['connecterror'] = 'Heslo se nepodařilo uložit. Problém s připojením.';
-$labels['internalerror'] = 'Heslo se nepodařilo uložit.';
-$labels['passwordshort'] = 'Heslo musí mít alespoň $length znaků.';
-$labels['passwordweak'] = 'Heslo musí obsahovat alespoň jedno číslo a jedno interpuknční znaménko.';
-$labels['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.';
+$labels['changepasswd'] = 'Změna hesla';
+$labels['curpasswd'] = 'Aktuální heslo:';
+$labels['newpasswd'] = 'Nové heslo:';
+$labels['confpasswd'] = 'Nové heslo (pro kontrolu):';
+
+$messages = array();
+$messages['nopassword'] = 'Prosím zadejte nové heslo.';
+$messages['nocurpassword'] = 'Prosím zadejte aktuální heslo.';
+$messages['passwordincorrect'] = 'Zadané aktuální heslo není správné.';
+$messages['passwordinconsistency'] = 'Zadaná hesla se neshodují. Prosím zkuste to znovu.';
+$messages['crypterror'] = 'Heslo se nepodařilo uložit. Chybí šifrovací funkce.';
+$messages['connecterror'] = 'Heslo se nepodařilo uložit. Problém s připojením.';
+$messages['internalerror'] = 'Heslo se nepodařilo uložit.';
+$messages['passwordshort'] = 'Heslo musí mít alespoň $length znaků.';
+$messages['passwordweak'] = 'Heslo musí obsahovat alespoň jedno číslo a jedno interpuknční znaménko.';
+$messages['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.';
+?>
diff --git a/plugins/password/localization/cy_GB.inc b/plugins/password/localization/cy_GB.inc
index 0cdad07d5..c43b7473b 100644
--- a/plugins/password/localization/cy_GB.inc
+++ b/plugins/password/localization/cy_GB.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/cy_GB/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Dafydd Tomos |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Newid Cyfrinair';
-$labels['curpasswd'] = 'Cyfrinair Presennol:';
-$labels['newpasswd'] = 'Cyfrinair Newydd:';
-$labels['confpasswd'] = 'Cadarnhau Cyfrinair Newydd:';
-$labels['nopassword'] = 'Rhowch eich cyfrinair newydd.';
-$labels['nocurpassword'] = 'Rhowch eich cyfrinair presennol.';
-$labels['passwordincorrect'] = 'Roedd y cyfrinair presennol yn anghywir.';
-$labels['passwordinconsistency'] = 'Nid yw\'r cyfrineiriau yn cymharu, ceisiwch eto.';
-$labels['crypterror'] = 'Methwyd cadw\'r cyfrinair newydd. Ffwythiant amgodi ar goll.';
-$labels['connecterror'] = 'Methwyd cadw\'r cyfrinair newydd. Gwall cysylltiad.';
-$labels['internalerror'] = 'Methwyd cadw\'r cyfrinair newydd.';
-$labels['passwordshort'] = 'Rhaid i\'r cyfrinair fod o leia $length llythyren o hyd.';
-$labels['passwordweak'] = 'Rhaid i\'r cyfrinair gynnwys o leia un rhif a un cymeriad atalnodi.';
-$labels['passwordforbidden'] = 'Mae\'r cyfrinair yn cynnwys llythrennau wedi gwahardd.';
+$labels['changepasswd'] = 'Newid Cyfrinair';
+$labels['curpasswd'] = 'Cyfrinair Presennol:';
+$labels['newpasswd'] = 'Cyfrinair Newydd:';
+$labels['confpasswd'] = 'Cadarnhau Cyfrinair Newydd:';
+
+$messages = array();
+$messages['nopassword'] = 'Rhowch eich cyfrinair newydd.';
+$messages['nocurpassword'] = 'Rhowch eich cyfrinair presennol.';
+$messages['passwordincorrect'] = 'Roedd y cyfrinair presennol yn anghywir.';
+$messages['passwordinconsistency'] = 'Nid yw\'r cyfrineiriau yn cymharu, ceisiwch eto.';
+$messages['crypterror'] = 'Methwyd cadw\'r cyfrinair newydd. Ffwythiant amgodi ar goll.';
+$messages['connecterror'] = 'Methwyd cadw\'r cyfrinair newydd. Gwall cysylltiad.';
+$messages['internalerror'] = 'Methwyd cadw\'r cyfrinair newydd.';
+$messages['passwordshort'] = 'Rhaid i\'r cyfrinair fod o leia $length llythyren o hyd.';
+$messages['passwordweak'] = 'Rhaid i\'r cyfrinair gynnwys o leia un rhif a un cymeriad atalnodi.';
+$messages['passwordforbidden'] = 'Mae\'r cyfrinair yn cynnwys llythrennau wedi gwahardd.';
+?>
diff --git a/plugins/password/localization/da_DK.inc b/plugins/password/localization/da_DK.inc
index 8c411265d..bc8fb26df 100644
--- a/plugins/password/localization/da_DK.inc
+++ b/plugins/password/localization/da_DK.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/da_DK/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Johannes Hessellund <osos@openeyes.dk> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Skift adgangskode';
-$labels['curpasswd'] = 'Nuværende adgangskode:';
-$labels['newpasswd'] = 'Ny adgangskode:';
-$labels['confpasswd'] = 'Bekræft ny adgangskode:';
-$labels['nopassword'] = 'Indtast venligst en ny adgangskode.';
-$labels['nocurpassword'] = 'Indtast venligst nuværende adgangskode.';
-$labels['passwordincorrect'] = 'Nuværende adgangskode er forkert.';
-$labels['passwordinconsistency'] = 'Adgangskoderne er ikke ens, prøv igen.';
-$labels['crypterror'] = 'Kunne ikke gemme den nye adgangskode. Krypteringsfunktion mangler.';
-$labels['connecterror'] = 'Kunne ikke gemme den nye adgangskode. Fejl ved forbindelsen.';
-$labels['internalerror'] = 'Kunne ikke gemme den nye adgangskode.';
-$labels['passwordshort'] = 'Adgangskoden skal være mindst $length tegn lang.';
-$labels['passwordweak'] = 'Adgangskoden skal indeholde mindst et tal og et tegnsætningstegn (-.,)';
-$labels['passwordforbidden'] = 'Adgangskoden indeholder forbudte tegn.';
+$labels['changepasswd'] = 'Skift adgangskode';
+$labels['curpasswd'] = 'Nuværende adgangskode:';
+$labels['newpasswd'] = 'Ny adgangskode:';
+$labels['confpasswd'] = 'Bekræft ny adgangskode:';
+
+$messages = array();
+$messages['nopassword'] = 'Indtast venligst en ny adgangskode.';
+$messages['nocurpassword'] = 'Indtast venligst nuværende adgangskode.';
+$messages['passwordincorrect'] = 'Nuværende adgangskode er forkert.';
+$messages['passwordinconsistency'] = 'Adgangskoderne er ikke ens, prøv igen.';
+$messages['crypterror'] = 'Kunne ikke gemme den nye adgangskode. Krypteringsfunktion mangler.';
+$messages['connecterror'] = 'Kunne ikke gemme den nye adgangskode. Fejl ved forbindelsen.';
+$messages['internalerror'] = 'Kunne ikke gemme den nye adgangskode.';
+$messages['passwordshort'] = 'Adgangskoden skal være mindst $length tegn lang.';
+$messages['passwordweak'] = 'Adgangskoden skal indeholde mindst et tal og et tegnsætningstegn (-.,)';
+$messages['passwordforbidden'] = 'Adgangskoden indeholder forbudte tegn.';
+?>
diff --git a/plugins/password/localization/de_CH.inc b/plugins/password/localization/de_CH.inc
index 492a48df0..6016ffeac 100644
--- a/plugins/password/localization/de_CH.inc
+++ b/plugins/password/localization/de_CH.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/de_CH/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Passwort ändern';
-$labels['curpasswd'] = 'Aktuelles Passwort';
-$labels['newpasswd'] = 'Neues Passwort';
-$labels['confpasswd'] = 'Passwort Wiederholung';
-$labels['nopassword'] = 'Bitte geben Sie ein neues Passwort ein';
-$labels['nocurpassword'] = 'Bitte geben Sie Ihr aktuelles Passwort an';
-$labels['passwordincorrect'] = 'Das aktuelle Passwort ist nicht korrekt';
-$labels['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein';
-$labels['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt';
-$labels['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler';
-$labels['internalerror'] = 'Neues Passwort nicht gespeichert';
-$labels['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.';
-$labels['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.';
-$labels['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.';
+$labels['changepasswd'] = 'Passwort ändern';
+$labels['curpasswd'] = 'Aktuelles Passwort';
+$labels['newpasswd'] = 'Neues Passwort';
+$labels['confpasswd'] = 'Passwort Wiederholung';
+
+$messages = array();
+$messages['nopassword'] = 'Bitte geben Sie ein neues Passwort ein';
+$messages['nocurpassword'] = 'Bitte geben Sie Ihr aktuelles Passwort an';
+$messages['passwordincorrect'] = 'Das aktuelle Passwort ist nicht korrekt';
+$messages['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein';
+$messages['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt';
+$messages['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler';
+$messages['internalerror'] = 'Neues Passwort nicht gespeichert';
+$messages['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.';
+$messages['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.';
+$messages['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.';
+?>
diff --git a/plugins/password/localization/de_DE.inc b/plugins/password/localization/de_DE.inc
index 6a188e175..2190fd39a 100644
--- a/plugins/password/localization/de_DE.inc
+++ b/plugins/password/localization/de_DE.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/de_DE/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Moritz Höwer <moritzhoewermail@gmx.de> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Kennwort ändern';
-$labels['curpasswd'] = 'Aktuelles Kennwort:';
-$labels['newpasswd'] = 'Neues Kennwort:';
-$labels['confpasswd'] = 'Neues Kennwort bestätigen:';
-$labels['nopassword'] = 'Bitte geben Sie ein neues Kennwort ein.';
-$labels['nocurpassword'] = 'Bitte geben Sie ihr aktuelles Kennwort ein.';
-$labels['passwordincorrect'] = 'Das aktuelle Kennwort ist falsch.';
-$labels['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein';
-$labels['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt';
-$labels['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler';
-$labels['internalerror'] = 'Neues Passwort nicht gespeichert';
-$labels['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.';
-$labels['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.';
-$labels['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.';
+$labels['changepasswd'] = 'Kennwort ändern';
+$labels['curpasswd'] = 'Aktuelles Kennwort:';
+$labels['newpasswd'] = 'Neues Kennwort:';
+$labels['confpasswd'] = 'Neues Kennwort bestätigen:';
+
+$messages = array();
+$messages['nopassword'] = 'Bitte geben Sie ein neues Kennwort ein.';
+$messages['nocurpassword'] = 'Bitte geben Sie ihr aktuelles Kennwort ein.';
+$messages['passwordincorrect'] = 'Das aktuelle Kennwort ist falsch.';
+$messages['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein';
+$messages['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt';
+$messages['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler';
+$messages['internalerror'] = 'Neues Passwort nicht gespeichert';
+$messages['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.';
+$messages['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.';
+$messages['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.';
+?>
diff --git a/plugins/password/localization/en_GB.inc b/plugins/password/localization/en_GB.inc
index 57f0d83e9..d7d192280 100644
--- a/plugins/password/localization/en_GB.inc
+++ b/plugins/password/localization/en_GB.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/en_GB/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Kevin Beynon |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Change Password';
-$labels['curpasswd'] = 'Current Password:';
-$labels['newpasswd'] = 'New Password:';
-$labels['confpasswd'] = 'Confirm New Password:';
-$labels['nopassword'] = 'Please enter a new password.';
-$labels['nocurpassword'] = 'Please enter the current password.';
-$labels['passwordincorrect'] = 'Current password is incorrect.';
-$labels['passwordinconsistency'] = 'Passwords do not match. Please try again.';
-$labels['crypterror'] = 'New password could not be saved. The encryption function is missing.';
-$labels['connecterror'] = 'New password could not be saved. There is a connection error.';
-$labels['internalerror'] = 'New password could not be saved.';
-$labels['passwordshort'] = 'Password must be at least $length characters long.';
-$labels['passwordweak'] = 'Password must include at least one number and one symbol.';
-$labels['passwordforbidden'] = 'Password contains forbidden characters.';
+$labels['changepasswd'] = 'Change Password';
+$labels['curpasswd'] = 'Current Password:';
+$labels['newpasswd'] = 'New Password:';
+$labels['confpasswd'] = 'Confirm New Password:';
+
+$messages = array();
+$messages['nopassword'] = 'Please enter a new password.';
+$messages['nocurpassword'] = 'Please enter the current password.';
+$messages['passwordincorrect'] = 'Current password is incorrect.';
+$messages['passwordinconsistency'] = 'Passwords do not match. Please try again.';
+$messages['crypterror'] = 'New password could not be saved. The encryption function is missing.';
+$messages['connecterror'] = 'New password could not be saved. There is a connection error.';
+$messages['internalerror'] = 'New password could not be saved.';
+$messages['passwordshort'] = 'Password must be at least $length characters long.';
+$messages['passwordweak'] = 'Password must include at least one number and one symbol.';
+$messages['passwordforbidden'] = 'Password contains forbidden characters.';
+?>
diff --git a/plugins/password/localization/en_US.inc b/plugins/password/localization/en_US.inc
index 1ae2158b0..a4c077fe5 100644
--- a/plugins/password/localization/en_US.inc
+++ b/plugins/password/localization/en_US.inc
@@ -1,5 +1,21 @@
<?php
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/password/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
+*/
+
$labels = array();
$labels['changepasswd'] = 'Change Password';
$labels['curpasswd'] = 'Current Password:';
diff --git a/plugins/password/localization/eo.inc b/plugins/password/localization/eo.inc
index 4c218bb13..f99004c63 100644
--- a/plugins/password/localization/eo.inc
+++ b/plugins/password/localization/eo.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/eo/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Michael Moroni <michael.moroni@mailoo.org> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Ŝanĝi pasvorton';
-$labels['curpasswd'] = 'Nuna pasvorto:';
-$labels['newpasswd'] = 'Nova pasvorto:';
-$labels['confpasswd'] = 'Konfirmi novan pasvorton:';
-$labels['nopassword'] = 'Bonvole tajpu novan pasvorton.';
-$labels['nocurpassword'] = 'Bonvole tajpu nunan pasvorton.';
-$labels['passwordincorrect'] = 'Nuna pasvorto nekorekta.';
-$labels['passwordinconsistency'] = 'Pasvortoj ne kongruas, bonvole provu denove.';
-$labels['crypterror'] = 'Pasvorto ne konserveblas: funkcio de ĉifrado mankas.';
-$labels['connecterror'] = 'Pasvorto ne konserveblas: eraro de konekto.';
-$labels['internalerror'] = 'Nova pasvorto ne konserveblas.';
-$labels['passwordshort'] = 'Pasvorto longu almenaŭ $length signojn.';
-$labels['passwordweak'] = 'La pasvorto enhavu almenaŭ unu ciferon kaj unu interpunktan signon.';
-$labels['passwordforbidden'] = 'La pasvorto enhavas malpermesitajn signojn.';
+$labels['changepasswd'] = 'Ŝanĝi pasvorton';
+$labels['curpasswd'] = 'Nuna pasvorto:';
+$labels['newpasswd'] = 'Nova pasvorto:';
+$labels['confpasswd'] = 'Konfirmi novan pasvorton:';
+
+$messages = array();
+$messages['nopassword'] = 'Bonvole tajpu novan pasvorton.';
+$messages['nocurpassword'] = 'Bonvole tajpu nunan pasvorton.';
+$messages['passwordincorrect'] = 'Nuna pasvorto nekorekta.';
+$messages['passwordinconsistency'] = 'Pasvortoj ne kongruas, bonvole provu denove.';
+$messages['crypterror'] = 'Pasvorto ne konserveblas: funkcio de ĉifrado mankas.';
+$messages['connecterror'] = 'Pasvorto ne konserveblas: eraro de konekto.';
+$messages['internalerror'] = 'Nova pasvorto ne konserveblas.';
+$messages['passwordshort'] = 'Pasvorto longu almenaŭ $length signojn.';
+$messages['passwordweak'] = 'La pasvorto enhavu almenaŭ unu ciferon kaj unu interpunktan signon.';
+$messages['passwordforbidden'] = 'La pasvorto enhavas malpermesitajn signojn.';
+?>
diff --git a/plugins/password/localization/es_AR.inc b/plugins/password/localization/es_AR.inc
index d8c5ad336..8edc8feae 100644
--- a/plugins/password/localization/es_AR.inc
+++ b/plugins/password/localization/es_AR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/es_AR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Cambiar Contraseña';
-$labels['curpasswd'] = 'Contraseña Actual:';
-$labels['newpasswd'] = 'Contraseña Nueva:';
-$labels['confpasswd'] = 'Confirmar Contraseña:';
-$labels['nopassword'] = 'Por favor introduce una nueva contraseña.';
-$labels['nocurpassword'] = 'Por favor introduce la contraseña actual.';
-$labels['passwordincorrect'] = 'Contraseña actual incorrecta.';
-$labels['passwordinconsistency'] = 'Las contraseñas no coinciden, por favor inténtalo de nuevo.';
-$labels['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.';
-$labels['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión';
-$labels['internalerror'] = 'No se pudo guardar la contraseña nueva.';
-$labels['passwordshort'] = 'Tu contraseña debe tener una longitud mínima de $length.';
-$labels['passwordweak'] = 'Tu nueva contraseña debe incluir al menos un número y un signo de puntuación.';
-$labels['passwordforbidden'] = 'La contraseña contiene caracteres inválidos.';
+$labels['changepasswd'] = 'Cambiar Contraseña';
+$labels['curpasswd'] = 'Contraseña Actual:';
+$labels['newpasswd'] = 'Contraseña Nueva:';
+$labels['confpasswd'] = 'Confirmar Contraseña:';
+
+$messages = array();
+$messages['nopassword'] = 'Por favor introduce una nueva contraseña.';
+$messages['nocurpassword'] = 'Por favor introduce la contraseña actual.';
+$messages['passwordincorrect'] = 'Contraseña actual incorrecta.';
+$messages['passwordinconsistency'] = 'Las contraseñas no coinciden, por favor inténtalo de nuevo.';
+$messages['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.';
+$messages['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión';
+$messages['internalerror'] = 'No se pudo guardar la contraseña nueva.';
+$messages['passwordshort'] = 'Tu contraseña debe tener una longitud mínima de $length.';
+$messages['passwordweak'] = 'Tu nueva contraseña debe incluir al menos un número y un signo de puntuación.';
+$messages['passwordforbidden'] = 'La contraseña contiene caracteres inválidos.';
+?>
diff --git a/plugins/password/localization/es_ES.inc b/plugins/password/localization/es_ES.inc
index f61e25e99..336666eb5 100644
--- a/plugins/password/localization/es_ES.inc
+++ b/plugins/password/localization/es_ES.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/es_ES/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Cambiar contraseña';
-$labels['curpasswd'] = 'Contraseña actual:';
-$labels['newpasswd'] = 'Contraseña nueva:';
-$labels['confpasswd'] = 'Confirmar contraseña:';
-$labels['nopassword'] = 'Por favor introduzca una contraseña nueva.';
-$labels['nocurpassword'] = 'Por favor introduzca la contraseña actual.';
-$labels['passwordincorrect'] = 'La contraseña actual es incorrecta.';
-$labels['passwordinconsistency'] = 'Las contraseñas no coinciden. Por favor, inténtelo de nuevo.';
-$labels['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.';
-$labels['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión';
-$labels['internalerror'] = 'No se pudo guardar la contraseña nueva.';
-$labels['passwordshort'] = 'La contraseña debe tener por lo menos $length caracteres.';
-$labels['passwordweak'] = 'La contraseña debe incluir al menos un número y un signo de puntuación.';
-$labels['passwordforbidden'] = 'La contraseña introducida contiene caracteres no permitidos.';
+$labels['changepasswd'] = 'Cambiar contraseña';
+$labels['curpasswd'] = 'Contraseña actual:';
+$labels['newpasswd'] = 'Contraseña nueva:';
+$labels['confpasswd'] = 'Confirmar contraseña:';
+
+$messages = array();
+$messages['nopassword'] = 'Por favor introduzca una contraseña nueva.';
+$messages['nocurpassword'] = 'Por favor introduzca la contraseña actual.';
+$messages['passwordincorrect'] = 'La contraseña actual es incorrecta.';
+$messages['passwordinconsistency'] = 'Las contraseñas no coinciden. Por favor, inténtelo de nuevo.';
+$messages['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.';
+$messages['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión.';
+$messages['internalerror'] = 'No se pudo guardar la contraseña nueva.';
+$messages['passwordshort'] = 'La contraseña debe tener por lo menos $length caracteres.';
+$messages['passwordweak'] = 'La contraseña debe incluir al menos un número y un signo de puntuación.';
+$messages['passwordforbidden'] = 'La contraseña introducida contiene caracteres no permitidos.';
+?>
diff --git a/plugins/password/localization/et_EE.inc b/plugins/password/localization/et_EE.inc
index 2d71b94d6..b93d32540 100644
--- a/plugins/password/localization/et_EE.inc
+++ b/plugins/password/localization/et_EE.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/et_EE/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: yllar |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Muuda parooli';
-$labels['curpasswd'] = 'Vana parool:';
-$labels['newpasswd'] = 'Uus parool:';
-$labels['confpasswd'] = 'Uus parool uuesti:';
-$labels['nopassword'] = 'Palun sisesta uus parool.';
-$labels['nocurpassword'] = 'Palun sisesta vana parool.';
-$labels['passwordincorrect'] = 'Vana parool on vale.';
-$labels['passwordinconsistency'] = 'Paroolid ei kattu, palun proovi uuesti.';
-$labels['crypterror'] = 'Serveris ei ole parooli krüpteerimiseks vajalikku funktsiooni.';
-$labels['connecterror'] = 'Parooli salvestamine nurjus. Ühenduse tõrge.';
-$labels['internalerror'] = 'Uue parooli andmebaasi salvestamine nurjus.';
-$labels['passwordshort'] = 'Parool peab olema vähemalt $length märki pikk.';
-$labels['passwordweak'] = 'Parool peab sisaldama vähemalt üht numbrit ja märki.';
-$labels['passwordforbidden'] = 'Parool sisaldab keelatud märki.';
+$labels['changepasswd'] = 'Muuda parooli';
+$labels['curpasswd'] = 'Vana parool:';
+$labels['newpasswd'] = 'Uus parool:';
+$labels['confpasswd'] = 'Uus parool uuesti:';
+
+$messages = array();
+$messages['nopassword'] = 'Palun sisesta uus parool.';
+$messages['nocurpassword'] = 'Palun sisesta vana parool.';
+$messages['passwordincorrect'] = 'Vana parool on vale.';
+$messages['passwordinconsistency'] = 'Paroolid ei kattu, palun proovi uuesti.';
+$messages['crypterror'] = 'Serveris ei ole parooli krüpteerimiseks vajalikku funktsiooni.';
+$messages['connecterror'] = 'Parooli salvestamine nurjus. Ühenduse tõrge.';
+$messages['internalerror'] = 'Uue parooli andmebaasi salvestamine nurjus.';
+$messages['passwordshort'] = 'Parool peab olema vähemalt $length märki pikk.';
+$messages['passwordweak'] = 'Parool peab sisaldama vähemalt üht numbrit ja märki.';
+$messages['passwordforbidden'] = 'Parool sisaldab keelatud märki.';
+?>
diff --git a/plugins/password/localization/fa_IR.inc b/plugins/password/localization/fa_IR.inc
index 185ac83c5..2cf126689 100644
--- a/plugins/password/localization/fa_IR.inc
+++ b/plugins/password/localization/fa_IR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/fa_IR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Hamid <abbaszadeh.h@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'تغییر رمزعبور';
-$labels['curpasswd'] = 'رمزعبور فعلی';
-$labels['newpasswd'] = 'رمزعبور جدید';
-$labels['confpasswd'] = 'تایید رمزعبور جدید';
-$labels['nopassword'] = 'رمزعبور جدید را وارد نمایید';
-$labels['nocurpassword'] = 'رمزعبور فعلی را وارد نمایید';
-$labels['passwordincorrect'] = 'رمزعبور فعلی اشتباه است';
-$labels['passwordinconsistency'] = 'رمزعبورها با هم مطابقت ندارند، دوباره سعی نمایید.';
-$labels['crypterror'] = 'رمزعبور جدید نمی‌توانست ذخیره شود. نبودن تابع رمزگذاری.';
-$labels['connecterror'] = 'رمزعبور جدید نمی‌توانست ذخیره شود. خطای ارتباط.';
-$labels['internalerror'] = 'رمزعبور جدید ذخیره نشد';
-$labels['passwordshort'] = 'رمزعبور باید حداقل $length کاراکتر طول داشته باشد.';
-$labels['passwordweak'] = 'رمزعبور باید شامل حداقل یک عدد و یک کاراکتر نشانه‌ای باشد.';
-$labels['passwordforbidden'] = 'رمزعبور شما کاراکترهای غیرمجاز است.';
+$labels['changepasswd'] = 'تغییر گذرواژه';
+$labels['curpasswd'] = 'گذرواژه فعلی';
+$labels['newpasswd'] = 'گذرواژه جدید';
+$labels['confpasswd'] = 'تایید گذرواژه جدید';
+
+$messages = array();
+$messages['nopassword'] = 'گذرواژه جدید را وارد نمایید';
+$messages['nocurpassword'] = 'گذرواژه فعلی را وارد نمایید';
+$messages['passwordincorrect'] = 'گذرواژه فعلی اشتباه است';
+$messages['passwordinconsistency'] = 'گذرواژه‌ها با هم مطابقت ندارند، دوباره سعی نمایید.';
+$messages['crypterror'] = 'گذرواژه جدید نمی‌توانست ذخیره شود. نبودن تابع رمزگذاری.';
+$messages['connecterror'] = 'گذرواژه جدید نمی‌توانست ذخیره شود. خطای ارتباط.';
+$messages['internalerror'] = 'گذرواژه جدید ذخیره نشد';
+$messages['passwordshort'] = 'گذرواژه باید حداقل $length کاراکتر طول داشته باشد.';
+$messages['passwordweak'] = 'گذرواژه باید شامل حداقل یک عدد و یک کاراکتر نشانه‌ای باشد.';
+$messages['passwordforbidden'] = 'گذرواژه شما کاراکترهای غیرمجاز است.';
+?>
diff --git a/plugins/password/localization/fi_FI.inc b/plugins/password/localization/fi_FI.inc
index 5e4608017..2098cf6c3 100644
--- a/plugins/password/localization/fi_FI.inc
+++ b/plugins/password/localization/fi_FI.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/fi_FI/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Jiri Grönroos |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Vaihda salasana';
-$labels['curpasswd'] = 'Nykyinen salasana:';
-$labels['newpasswd'] = 'Uusi salasana:';
-$labels['confpasswd'] = 'Uusi salasana uudestaan:';
-$labels['nopassword'] = 'Syötä uusi salasana.';
-$labels['nocurpassword'] = 'Syötä nykyinen salasana.';
-$labels['passwordincorrect'] = 'Syöttämäsi nykyinen salasana on väärin.';
-$labels['passwordinconsistency'] = 'Syöttämäsi salasanat eivät täsmää, yritä uudelleen.';
-$labels['crypterror'] = 'Salasanaa ei voitu vaihtaa. Kryptausfunktio puuttuu.';
-$labels['connecterror'] = 'Salasanaa ei voitu vaihtaa. Yhteysongelma.';
-$labels['internalerror'] = 'Salasanaa ei voitu vaihtaa.';
-$labels['passwordshort'] = 'Salasanan täytyy olla vähintään $length merkkiä pitkä.';
-$labels['passwordweak'] = 'Salasanan täytyy sisältää vähintään yksi numero ja yksi välimerkki.';
-$labels['passwordforbidden'] = 'Salasana sisältää kiellettyjä merkkejä.';
+$labels['changepasswd'] = 'Vaihda salasana';
+$labels['curpasswd'] = 'Nykyinen salasana:';
+$labels['newpasswd'] = 'Uusi salasana:';
+$labels['confpasswd'] = 'Vahvista uusi salasana:';
+
+$messages = array();
+$messages['nopassword'] = 'Syötä uusi salasana.';
+$messages['nocurpassword'] = 'Syötä nykyinen salasana.';
+$messages['passwordincorrect'] = 'Nykyinen salasana on väärin.';
+$messages['passwordinconsistency'] = 'Salasanat eivät täsmää, yritä uudelleen.';
+$messages['crypterror'] = 'Uuden salasanan tallennus epäonnistui. Kryptausfunktio puuttuu.';
+$messages['connecterror'] = 'Uuden salasanan tallennus epäonnistui. Yhteysongelma.';
+$messages['internalerror'] = 'Uuden salasanan tallennus epäonnistui.';
+$messages['passwordshort'] = 'Salasanassa täytyy olla vähintään $length merkkiä.';
+$messages['passwordweak'] = 'Salasanan täytyy sisältää vähintään yksi numero ja yksi välimerkki.';
+$messages['passwordforbidden'] = 'Salasana sisältää virheellisiä merkkejä.';
+?>
diff --git a/plugins/password/localization/fr_FR.inc b/plugins/password/localization/fr_FR.inc
index f90c32b3c..66b43784e 100644
--- a/plugins/password/localization/fr_FR.inc
+++ b/plugins/password/localization/fr_FR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/fr_FR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Nicolas Delvaux |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Changer le mot de passe';
-$labels['curpasswd'] = 'Mot de passe actuel:';
-$labels['newpasswd'] = 'Nouveau mot de passe:';
-$labels['confpasswd'] = 'Confirmez le nouveau mot de passe:';
-$labels['nopassword'] = 'Veuillez saisir le nouveau mot de passe.';
-$labels['nocurpassword'] = 'Veuillez saisir le mot de passe actuel.';
-$labels['passwordincorrect'] = 'Mot de passe actuel incorrect.';
-$labels['passwordinconsistency'] = 'Les nouveaux mots de passe ne correspondent pas, veuillez réessayer.';
-$labels['crypterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. Fonction de cryptage manquante.';
-$labels['connecterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. Erreur de connexion au serveur.';
-$labels['internalerror'] = 'Impossible d\'enregistrer le nouveau mot de passe.';
-$labels['passwordshort'] = 'Le mot de passe doit être composé d\'au moins $length caractères.';
-$labels['passwordweak'] = 'Le mot de passe doit contenir au moins un chiffre et un signe de ponctuation.';
-$labels['passwordforbidden'] = 'Le mot de passe contient des caractères interdits.';
+$labels['changepasswd'] = 'Changer le mot de passe';
+$labels['curpasswd'] = 'Mot de passe actuel:';
+$labels['newpasswd'] = 'Nouveau mot de passe:';
+$labels['confpasswd'] = 'Confirmez le nouveau mot de passe:';
+
+$messages = array();
+$messages['nopassword'] = 'Veuillez saisir le nouveau mot de passe.';
+$messages['nocurpassword'] = 'Veuillez saisir le mot de passe actuel.';
+$messages['passwordincorrect'] = 'Mot de passe actuel incorrect.';
+$messages['passwordinconsistency'] = 'Les nouveaux mots de passe ne correspondent pas, veuillez réessayer.';
+$messages['crypterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. Fonction de cryptage manquante.';
+$messages['connecterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. Erreur de connexion au serveur.';
+$messages['internalerror'] = 'Impossible d\'enregistrer le nouveau mot de passe.';
+$messages['passwordshort'] = 'Le mot de passe doit être composé d\'au moins $length caractères.';
+$messages['passwordweak'] = 'Le mot de passe doit contenir au moins un chiffre et un signe de ponctuation.';
+$messages['passwordforbidden'] = 'Le mot de passe contient des caractères interdits.';
+?>
diff --git a/plugins/password/localization/gl_ES.inc b/plugins/password/localization/gl_ES.inc
index 90c940e59..245d1c634 100644
--- a/plugins/password/localization/gl_ES.inc
+++ b/plugins/password/localization/gl_ES.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/gl_ES/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Cambiar contrasinal';
-$labels['curpasswd'] = 'Contrasinal actual:';
-$labels['newpasswd'] = 'Contrasinal novo:';
-$labels['confpasswd'] = 'Confirmar contrasinal:';
-$labels['nopassword'] = 'Por favor, introduza un contrasinal novo.';
-$labels['nocurpassword'] = 'Por favor, introduza o contrasinal actual.';
-$labels['passwordincorrect'] = 'O contrasinal actual é incorrecto.';
-$labels['passwordinconsistency'] = 'Os contrasinals non coinciden. Por favor, inténteo de novo.';
-$labels['crypterror'] = 'Non foi posible gardar o contrasinal novo. Falta a función de cifrado.';
-$labels['connecterror'] = 'Non foi posible gardar o contrasinal novo. Erro de conexión';
-$labels['internalerror'] = 'Non foi posible gardar o contrasinal novo.';
-$labels['passwordshort'] = 'O contrasinal debe ter polo menos $length caracteres.';
-$labels['passwordweak'] = 'O contrasinal debe incluir polo menos un número e un signo de puntuación.';
-$labels['passwordforbidden'] = 'O contrasinal contén caracteres non permitidos.';
+$labels['changepasswd'] = 'Cambiar contrasinal';
+$labels['curpasswd'] = 'Contrasinal actual:';
+$labels['newpasswd'] = 'Contrasinal novo:';
+$labels['confpasswd'] = 'Confirmar contrasinal:';
+
+$messages = array();
+$messages['nopassword'] = 'Por favor, introduza un contrasinal novo.';
+$messages['nocurpassword'] = 'Por favor, introduza o contrasinal actual.';
+$messages['passwordincorrect'] = 'O contrasinal actual é incorrecto.';
+$messages['passwordinconsistency'] = 'Os contrasinals non coinciden. Por favor, inténteo de novo.';
+$messages['crypterror'] = 'Non foi posible gardar o contrasinal novo. Falta a función de cifrado.';
+$messages['connecterror'] = 'Non foi posible gardar o contrasinal novo. Erro de conexión';
+$messages['internalerror'] = 'Non foi posible gardar o contrasinal novo.';
+$messages['passwordshort'] = 'O contrasinal debe ter polo menos $length caracteres.';
+$messages['passwordweak'] = 'O contrasinal debe incluir polo menos un número e un signo de puntuación.';
+$messages['passwordforbidden'] = 'O contrasinal contén caracteres non permitidos.';
+?>
diff --git a/plugins/password/localization/he_IL.inc b/plugins/password/localization/he_IL.inc
index 143e2c5af..005a8e9d8 100644
--- a/plugins/password/localization/he_IL.inc
+++ b/plugins/password/localization/he_IL.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/he_IL/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Moshe Leibovitch <moish@mln.co.il> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'שינוי סיסמה';
-$labels['curpasswd'] = 'סיסמה נוכחית:';
-$labels['newpasswd'] = 'סיסמה חדשה:';
-$labels['confpasswd'] = 'אימות הסיסמה החדשה:';
-$labels['nopassword'] = 'נא להקליד סיסמה חדשה';
-$labels['nocurpassword'] = 'נא להקיש הסיסמה הנוכחית';
-$labels['passwordincorrect'] = 'הוקשה סיסמה נוכחית שגויה';
-$labels['passwordinconsistency'] = 'הסיסמאות שהוקשו אינן תואמות, נא לנסות שנית.';
-$labels['crypterror'] = 'לא נשמרה הסיסמה החדשה. חסר מנגנון הצפנה.';
-$labels['connecterror'] = 'לא נשמרה הסיסמה החדשה. שגיאת תקשורת.';
-$labels['internalerror'] = 'לא ניתן לשמור על הסיסמה החדשה.';
-$labels['passwordshort'] = 'הסיסמה צריכה להיות לפחות בעלת $length תווים';
-$labels['passwordweak'] = 'הסיסמה חייבת לכלול לפחות סיפרה אחת ולפחות סימן פיסוק אחד.';
-$labels['passwordforbidden'] = 'הסיסמה מכילה תווים אסורים.';
+$labels['changepasswd'] = 'שינוי סיסמה';
+$labels['curpasswd'] = 'סיסמה נוכחית:';
+$labels['newpasswd'] = 'סיסמה חדשה:';
+$labels['confpasswd'] = 'אימות הסיסמה החדשה:';
+
+$messages = array();
+$messages['nopassword'] = 'נא להקליד סיסמה חדשה';
+$messages['nocurpassword'] = 'נא להקיש הסיסמה הנוכחית';
+$messages['passwordincorrect'] = 'הוקשה סיסמה נוכחית שגויה';
+$messages['passwordinconsistency'] = 'הסיסמאות שהוקשו אינן תואמות, נא לנסות שנית.';
+$messages['crypterror'] = 'לא נשמרה הסיסמה החדשה. חסר מנגנון הצפנה.';
+$messages['connecterror'] = 'לא נשמרה הסיסמה החדשה. שגיאת תקשורת.';
+$messages['internalerror'] = 'לא ניתן לשמור על הסיסמה החדשה.';
+$messages['passwordshort'] = 'הסיסמה צריכה להיות לפחות בעלת $length תווים';
+$messages['passwordweak'] = 'הסיסמה חייבת לכלול לפחות סיפרה אחת ולפחות סימן פיסוק אחד.';
+$messages['passwordforbidden'] = 'הסיסמה מכילה תווים אסורים.';
+?>
diff --git a/plugins/password/localization/hr_HR.inc b/plugins/password/localization/hr_HR.inc
index ece203d3c..f97f5a44c 100644
--- a/plugins/password/localization/hr_HR.inc
+++ b/plugins/password/localization/hr_HR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/hr_HR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Promijeni zaporku';
-$labels['curpasswd'] = 'Važeća zaporka:';
-$labels['newpasswd'] = 'Nova zaporka:';
-$labels['confpasswd'] = 'Potvrda nove zaporke:';
-$labels['nopassword'] = 'Molimo unesite novu zaporku.';
-$labels['nocurpassword'] = 'Molimo unesite trenutnu zaporku.';
-$labels['passwordincorrect'] = 'Trenutna zaporka je nevažeća.';
-$labels['passwordinconsistency'] = 'Zaporke su različite, pokušajte ponovo.';
-$labels['crypterror'] = 'Nemoguće promijeniti zaporku. Nedostaje enkripcijska funkcija.';
-$labels['connecterror'] = 'Nemoguće promijeniti zaporku. Greška prilikom spajanja.';
-$labels['internalerror'] = 'Nemoguće promijeniti zaporku.';
-$labels['passwordshort'] = 'Zaporka mora sadržavati barem $length znakova.';
-$labels['passwordweak'] = 'Zaporka mora sadržavati barem jedanu znamenku i jedan interpunkcijski znak.';
-$labels['passwordforbidden'] = 'Zaporka sadrži nedozvoljene znakove.';
+$labels['changepasswd'] = 'Promijeni zaporku';
+$labels['curpasswd'] = 'Važeća zaporka:';
+$labels['newpasswd'] = 'Nova zaporka:';
+$labels['confpasswd'] = 'Potvrda nove zaporke:';
+
+$messages = array();
+$messages['nopassword'] = 'Molimo unesite novu zaporku.';
+$messages['nocurpassword'] = 'Molimo unesite trenutnu zaporku.';
+$messages['passwordincorrect'] = 'Trenutna zaporka je nevažeća.';
+$messages['passwordinconsistency'] = 'Zaporke su različite, pokušajte ponovo.';
+$messages['crypterror'] = 'Nemoguće promijeniti zaporku. Nedostaje enkripcijska funkcija.';
+$messages['connecterror'] = 'Nemoguće promijeniti zaporku. Greška prilikom spajanja.';
+$messages['internalerror'] = 'Nemoguće promijeniti zaporku.';
+$messages['passwordshort'] = 'Zaporka mora sadržavati barem $length znakova.';
+$messages['passwordweak'] = 'Zaporka mora sadržavati barem jedanu znamenku i jedan interpunkcijski znak.';
+$messages['passwordforbidden'] = 'Zaporka sadrži nedozvoljene znakove.';
+?>
diff --git a/plugins/password/localization/hu_HU.inc b/plugins/password/localization/hu_HU.inc
index 3fb9a93d6..6b6077115 100644
--- a/plugins/password/localization/hu_HU.inc
+++ b/plugins/password/localization/hu_HU.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/hu_HU/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: bela |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Jelszó módosítás';
-$labels['curpasswd'] = 'Jelenlegi jelszó:';
-$labels['newpasswd'] = 'Új jelszó:';
-$labels['confpasswd'] = 'Új jelszó mégegyszer:';
-$labels['nopassword'] = 'Kérjük adja meg az új jelszót.';
-$labels['nocurpassword'] = 'Kérjük adja meg a jelenlegi jelszót.';
-$labels['passwordincorrect'] = 'Érvénytelen a jelenlegi jelszó.';
-$labels['passwordinconsistency'] = 'A beírt jelszavak nem azonosak. Próbálja újra.';
-$labels['crypterror'] = 'Hiba történt a kérés feldolgozása során.';
-$labels['connecterror'] = 'Az új jelszó mentése nem sikerült. Hiba a kapcsolatban';
-$labels['internalerror'] = 'Hiba történt a kérés feldolgozása során.';
-$labels['passwordshort'] = 'A jelszónak legalább $length karakter hosszunak kell lennie.';
-$labels['passwordweak'] = 'A jelszónak mindenképpen kell tartalmaznia egy számot és egy írásjelet.';
-$labels['passwordforbidden'] = 'A jelszó tiltott karaktert is tartalmaz.';
+$labels['changepasswd'] = 'Jelszó módosítás';
+$labels['curpasswd'] = 'Jelenlegi jelszó:';
+$labels['newpasswd'] = 'Új jelszó:';
+$labels['confpasswd'] = 'Új jelszó mégegyszer:';
+
+$messages = array();
+$messages['nopassword'] = 'Kérjük adja meg az új jelszót.';
+$messages['nocurpassword'] = 'Kérjük adja meg a jelenlegi jelszót.';
+$messages['passwordincorrect'] = 'Érvénytelen a jelenlegi jelszó.';
+$messages['passwordinconsistency'] = 'A beírt jelszavak nem azonosak. Próbálja újra.';
+$messages['crypterror'] = 'Hiba történt a kérés feldolgozása során.';
+$messages['connecterror'] = 'Az új jelszó mentése nem sikerült. Hiba a kapcsolatban';
+$messages['internalerror'] = 'Hiba történt a kérés feldolgozása során.';
+$messages['passwordshort'] = 'A jelszónak legalább $length karakter hosszunak kell lennie.';
+$messages['passwordweak'] = 'A jelszónak mindenképpen kell tartalmaznia egy számot és egy írásjelet.';
+$messages['passwordforbidden'] = 'A jelszó tiltott karaktert is tartalmaz.';
+?>
diff --git a/plugins/password/localization/hy_AM.inc b/plugins/password/localization/hy_AM.inc
index 7d6ea3df7..b30f31894 100644
--- a/plugins/password/localization/hy_AM.inc
+++ b/plugins/password/localization/hy_AM.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/hy_AM/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Vahan Yerkanian <vahan@yerkanian.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Գաղտնաբառի փոփոխում';
-$labels['curpasswd'] = 'Առկա գաղտնաբառը`';
-$labels['newpasswd'] = 'Նոր գաղտնաբառը`';
-$labels['confpasswd'] = 'Կրկնեք նոր գաղտնաբառը`';
-$labels['nopassword'] = 'Ներմուցեք նոր գաղտնաբառը։';
-$labels['nocurpassword'] = 'Ներմուցեք առկա գաղտնաբառը։';
-$labels['passwordincorrect'] = 'Առկա գաղտնաբառը սխալ է։';
-$labels['passwordinconsistency'] = 'Նոր գաղտնաբառերը չեն համընկնում, կրկին փորձեք։';
-$labels['crypterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Բացակայում է գաղտնագրման ֆունկցիան։';
-$labels['connecterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Կապի սխալ։';
-$labels['internalerror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։';
-$labels['passwordshort'] = 'Գաղտնաբառերը պետք է լինեն առնվազն $length նիշ երկարությամբ։';
-$labels['passwordweak'] = 'Գաղտնաբառերը պետք է պարունակեն առնվազն մեկ թիվ և մեկ կետադրական նիշ։';
-$labels['passwordforbidden'] = 'Գաղտնաբառը պարունակում է արգելված նիշ։';
+$labels['changepasswd'] = 'Գաղտնաբառի փոփոխում';
+$labels['curpasswd'] = 'Առկա գաղտնաբառը`';
+$labels['newpasswd'] = 'Նոր գաղտնաբառը`';
+$labels['confpasswd'] = 'Կրկնեք նոր գաղտնաբառը`';
+
+$messages = array();
+$messages['nopassword'] = 'Ներմուցեք նոր գաղտնաբառը։';
+$messages['nocurpassword'] = 'Ներմուցեք առկա գաղտնաբառը։';
+$messages['passwordincorrect'] = 'Առկա գաղտնաբառը սխալ է։';
+$messages['passwordinconsistency'] = 'Նոր գաղտնաբառերը չեն համընկնում, կրկին փորձեք։';
+$messages['crypterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Բացակայում է գաղտնագրման ֆունկցիան։';
+$messages['connecterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Կապի սխալ։';
+$messages['internalerror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։';
+$messages['passwordshort'] = 'Գաղտնաբառերը պետք է լինեն առնվազն $length նիշ երկարությամբ։';
+$messages['passwordweak'] = 'Գաղտնաբառերը պետք է պարունակեն առնվազն մեկ թիվ և մեկ կետադրական նիշ։';
+$messages['passwordforbidden'] = 'Գաղտնաբառը պարունակում է արգելված նիշ։';
+?>
diff --git a/plugins/password/localization/id_ID.inc b/plugins/password/localization/id_ID.inc
new file mode 100644
index 000000000..5026de259
--- /dev/null
+++ b/plugins/password/localization/id_ID.inc
@@ -0,0 +1,37 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/password/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
+*/
+
+$labels = array();
+$labels['changepasswd'] = 'Ubah Sandi';
+$labels['curpasswd'] = 'Sandi saat ini:';
+$labels['newpasswd'] = 'Sandi Baru:';
+$labels['confpasswd'] = 'Konfirmasi Sandi Baru:';
+
+$messages = array();
+$messages['nopassword'] = 'Masukkan sandi baru.';
+$messages['nocurpassword'] = 'Masukkan sandi saat ini.';
+$messages['passwordincorrect'] = 'Sandi saat ini salah.';
+$messages['passwordinconsistency'] = 'Sandi tidak cocok, harap coba lagi.';
+$messages['crypterror'] = 'Tidak dapat menyimpan sandi baru. Fungsi enkripsi tidak ditemukan.';
+$messages['connecterror'] = 'Tidak dapat menyimpan sandi baru. Koneksi error.';
+$messages['internalerror'] = 'Tidak dapat menyimpan sandi baru.';
+$messages['passwordshort'] = 'Panjang password minimal $length karakter';
+$messages['passwordweak'] = 'Sandi harus menyertakan setidaknya satu angka dan satu tanda baca.';
+$messages['passwordforbidden'] = 'Sandi mengandung karakter terlarang.';
+
+?>
diff --git a/plugins/password/localization/it_IT.inc b/plugins/password/localization/it_IT.inc
index 5b2f98ad3..6ce2f7499 100644
--- a/plugins/password/localization/it_IT.inc
+++ b/plugins/password/localization/it_IT.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/it_IT/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Andrea Bernini <andrea.bernini@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Modifica la Password';
-$labels['curpasswd'] = 'Password corrente:';
-$labels['newpasswd'] = 'Nuova password:';
-$labels['confpasswd'] = 'Conferma la nuova Password:';
-$labels['nopassword'] = 'Per favore inserire la nuova password.';
-$labels['nocurpassword'] = 'Per favore inserire la password corrente.';
-$labels['passwordincorrect'] = 'La password corrente non è corretta.';
-$labels['passwordinconsistency'] = 'Le password non coincidono, per favore reinserire.';
-$labels['crypterror'] = 'Impossibile salvare la nuova password. Funzione di crittografia mancante.';
-$labels['connecterror'] = 'Imposibile salvare la nuova password. Errore di connessione.';
-$labels['internalerror'] = 'Impossibile salvare la nuova password.';
-$labels['passwordshort'] = 'La password deve essere lunga almeno $length caratteri.';
-$labels['passwordweak'] = 'La password deve includere almeno una cifra decimale e un simbolo di punteggiatura.';
-$labels['passwordforbidden'] = 'La password contiene caratteri proibiti.';
+$labels['changepasswd'] = 'Modifica la Password';
+$labels['curpasswd'] = 'Password corrente:';
+$labels['newpasswd'] = 'Nuova password:';
+$labels['confpasswd'] = 'Conferma la nuova Password:';
+
+$messages = array();
+$messages['nopassword'] = 'Per favore inserire la nuova password.';
+$messages['nocurpassword'] = 'Per favore inserire la password corrente.';
+$messages['passwordincorrect'] = 'La password corrente non è corretta.';
+$messages['passwordinconsistency'] = 'Le password non coincidono, per favore reinserire.';
+$messages['crypterror'] = 'Impossibile salvare la nuova password. Funzione di crittografia mancante.';
+$messages['connecterror'] = 'Imposibile salvare la nuova password. Errore di connessione.';
+$messages['internalerror'] = 'Impossibile salvare la nuova password.';
+$messages['passwordshort'] = 'La password deve essere lunga almeno $length caratteri.';
+$messages['passwordweak'] = 'La password deve includere almeno una cifra decimale e un simbolo di punteggiatura.';
+$messages['passwordforbidden'] = 'La password contiene caratteri proibiti.';
+?>
diff --git a/plugins/password/localization/ja_JP.inc b/plugins/password/localization/ja_JP.inc
index 32377f01f..6abea5348 100644
--- a/plugins/password/localization/ja_JP.inc
+++ b/plugins/password/localization/ja_JP.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ja_JP/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Takahiro Kambe |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'パスワードの変更';
-$labels['curpasswd'] = '現在のパスワード:';
-$labels['newpasswd'] = '新しいパスワード:';
-$labels['confpasswd'] = '新しいパスワード (確認):';
-$labels['nopassword'] = '新しいパスワードを入力してください。';
-$labels['nocurpassword'] = '現在のパスワードを入力してください。';
-$labels['passwordincorrect'] = '現在のパスワードが間違っています。';
-$labels['passwordinconsistency'] = 'パスワードが一致しません。もう一度やり直してください。';
-$labels['crypterror'] = 'パスワードを保存できませんでした。暗号化関数がみあたりません。';
-$labels['connecterror'] = '新しいパスワードを保存できませんでした。接続エラーです。';
-$labels['internalerror'] = '新しいパスワードを保存できませんでした。';
-$labels['passwordshort'] = 'パスワードは少なくとも $length 文字の長さが必要です。';
-$labels['passwordweak'] = 'パスワードは少なくとも数字の 1 文字と記号の 1 文字を含んでいなければなりません。';
-$labels['passwordforbidden'] = 'パスワードに禁止された文字が含まれています。';
+$labels['changepasswd'] = 'パスワードの変更';
+$labels['curpasswd'] = '現在のパスワード:';
+$labels['newpasswd'] = '新しいパスワード:';
+$labels['confpasswd'] = '新しいパスワード (確認):';
+
+$messages = array();
+$messages['nopassword'] = '新しいパスワードを入力してください。';
+$messages['nocurpassword'] = '現在のパスワードを入力してください。';
+$messages['passwordincorrect'] = '現在のパスワードが間違っています。';
+$messages['passwordinconsistency'] = 'パスワードが一致しません。もう一度やり直してください。';
+$messages['crypterror'] = 'パスワードを保存できませんでした。暗号化関数がみあたりません。';
+$messages['connecterror'] = '新しいパスワードを保存できませんでした。接続エラーです。';
+$messages['internalerror'] = '新しいパスワードを保存できませんでした。';
+$messages['passwordshort'] = 'パスワードは少なくとも $length 文字の長さが必要です。';
+$messages['passwordweak'] = 'パスワードは少なくとも数字の 1 文字と記号の 1 文字を含んでいなければなりません。';
+$messages['passwordforbidden'] = 'パスワードに禁止された文字が含まれています。';
+?>
diff --git a/plugins/password/localization/ko_KR.inc b/plugins/password/localization/ko_KR.inc
index 9bbe4cc79..ec346ee00 100644
--- a/plugins/password/localization/ko_KR.inc
+++ b/plugins/password/localization/ko_KR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ko_KR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Kim, Woohyun <woohyun.kim@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = '암호 변경';
-$labels['curpasswd'] = '현재 암호:';
-$labels['newpasswd'] = '새 암호:';
-$labels['confpasswd'] = '새로운 비밀번호 확인 :';
-$labels['nopassword'] = '새 암호를 입력하시오.';
-$labels['nocurpassword'] = '현재 사용중인 암호를 입력하세요.';
-$labels['passwordincorrect'] = '현재 사용중인 암호가 올바르지 않습니다.';
-$labels['passwordinconsistency'] = '암호가 일치하지 않습니다. 다시 시도하기 바랍니다.';
-$labels['crypterror'] = '새로운 암호를 저장할 수 없습니다. 암호화 실패.';
-$labels['connecterror'] = '새로운 암호를 저장할 수 없습니다. 연결 오류.';
-$labels['internalerror'] = '새로운 암호를 저장할 수 없습니다.';
-$labels['passwordshort'] = '암호는 적어도 $length 글자 이상이어야 합니다.';
-$labels['passwordweak'] = '암호는 적어도 숫자 하나와 특수 문자 하나를 포함하여야 합니다.';
-$labels['passwordforbidden'] = '암호가 허락되지 않은 문자들을 포함하고 있습니다.';
+$labels['changepasswd'] = '암호 변경';
+$labels['curpasswd'] = '현재 암호:';
+$labels['newpasswd'] = '새 암호:';
+$labels['confpasswd'] = '새로운 비밀번호 확인 :';
+
+$messages = array();
+$messages['nopassword'] = '새 암호를 입력하시오.';
+$messages['nocurpassword'] = '현재 사용중인 암호를 입력하세요.';
+$messages['passwordincorrect'] = '현재 사용중인 암호가 올바르지 않습니다.';
+$messages['passwordinconsistency'] = '암호가 일치하지 않습니다. 다시 시도하기 바랍니다.';
+$messages['crypterror'] = '새로운 암호를 저장할 수 없습니다. 암호화 실패.';
+$messages['connecterror'] = '새로운 암호를 저장할 수 없습니다. 연결 오류.';
+$messages['internalerror'] = '새로운 암호를 저장할 수 없습니다.';
+$messages['passwordshort'] = '암호는 적어도 $length 글자 이상이어야 합니다.';
+$messages['passwordweak'] = '암호는 적어도 숫자 하나와 특수 문자 하나를 포함하여야 합니다.';
+$messages['passwordforbidden'] = '암호가 허락되지 않은 문자들을 포함하고 있습니다.';
+?>
diff --git a/plugins/password/localization/ku.inc b/plugins/password/localization/ku.inc
index 8163df8e8..3bee221b6 100644
--- a/plugins/password/localization/ku.inc
+++ b/plugins/password/localization/ku.inc
@@ -2,17 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ku/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: ZirYaN <ziryan.net@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'گۆڕینی ووشەی نهێنی';
+$labels['changepasswd'] = 'گۆڕینی ووشەی نهێنی';
+$labels['curpasswd'] = 'Current Password:';
+$labels['newpasswd'] = 'New Password:';
+$labels['confpasswd'] = 'Confirm New Password:';
+
+$messages = array();
+$messages['nopassword'] = 'Please input new password.';
+$messages['nocurpassword'] = 'Please input current password.';
+$messages['passwordincorrect'] = 'Current password incorrect.';
+$messages['passwordinconsistency'] = 'Passwords do not match, please try again.';
+$messages['crypterror'] = 'Could not save new password. Encryption function missing.';
+$messages['connecterror'] = 'Could not save new password. Connection error.';
+$messages['internalerror'] = 'Could not save new password.';
+$messages['passwordshort'] = 'Password must be at least $length characters long.';
+$messages['passwordweak'] = 'Password must include at least one number and one punctuation character.';
+$messages['passwordforbidden'] = 'Password contains forbidden characters.';
+?>
diff --git a/plugins/password/localization/lt_LT.inc b/plugins/password/localization/lt_LT.inc
index 86e7a3db0..fe512960a 100644
--- a/plugins/password/localization/lt_LT.inc
+++ b/plugins/password/localization/lt_LT.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/lt_LT/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Rimas Kudelis <rq@akl.lt> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Slaptažodžio keitimas';
-$labels['curpasswd'] = 'Dabartinis slaptažodis:';
-$labels['newpasswd'] = 'Naujasis slaptažodis:';
-$labels['confpasswd'] = 'Pakartokite naująjį slaptažodį:';
-$labels['nopassword'] = 'Prašom įvesti naująjį slaptažodį.';
-$labels['nocurpassword'] = 'Prašom įvesti dabartinį slaptažodį.';
-$labels['passwordincorrect'] = 'Dabartinis slaptažodis neteisingas.';
-$labels['passwordinconsistency'] = 'Slaptažodžiai nesutapo. Bandykite dar kartą.';
-$labels['crypterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Trūksta šifravimo funkcijos.';
-$labels['connecterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Ryšio klaida.';
-$labels['internalerror'] = 'Nepavyko įrašyti naujojo slaptažodžio.';
-$labels['passwordshort'] = 'Slaptažodis turi būti sudarytas bent iš $length simbolių.';
-$labels['passwordweak'] = 'Slaptažodyje turi būti bent vienas skaitmuo ir vienas skyrybos ženklas.';
-$labels['passwordforbidden'] = 'Slaptažodyje rasta neleistinų simbolių.';
+$labels['changepasswd'] = 'Slaptažodžio keitimas';
+$labels['curpasswd'] = 'Dabartinis slaptažodis:';
+$labels['newpasswd'] = 'Naujasis slaptažodis:';
+$labels['confpasswd'] = 'Pakartokite naująjį slaptažodį:';
+
+$messages = array();
+$messages['nopassword'] = 'Prašom įvesti naująjį slaptažodį.';
+$messages['nocurpassword'] = 'Prašom įvesti dabartinį slaptažodį.';
+$messages['passwordincorrect'] = 'Dabartinis slaptažodis neteisingas.';
+$messages['passwordinconsistency'] = 'Slaptažodžiai nesutapo. Bandykite dar kartą.';
+$messages['crypterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Trūksta šifravimo funkcijos.';
+$messages['connecterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Ryšio klaida.';
+$messages['internalerror'] = 'Nepavyko įrašyti naujojo slaptažodžio.';
+$messages['passwordshort'] = 'Slaptažodis turi būti sudarytas bent iš $length simbolių.';
+$messages['passwordweak'] = 'Slaptažodyje turi būti bent vienas skaitmuo ir vienas skyrybos ženklas.';
+$messages['passwordforbidden'] = 'Slaptažodyje rasta neleistinų simbolių.';
+?>
diff --git a/plugins/password/localization/lv_LV.inc b/plugins/password/localization/lv_LV.inc
index 0dbbdba28..650d31b2c 100644
--- a/plugins/password/localization/lv_LV.inc
+++ b/plugins/password/localization/lv_LV.inc
@@ -2,29 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/lv_LV/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Nomainīt paroli';
-$labels['curpasswd'] = 'Pašreizējā parole:';
-$labels['newpasswd'] = 'Jaunā parole:';
-$labels['confpasswd'] = 'Vēlreiz jauno paroli:';
-$labels['nopassword'] = 'Lūdzu, ievadiet jauno paroli.';
-$labels['nocurpassword'] = 'Lūdzu, ievadiet pašreizējo paroli.';
-$labels['passwordincorrect'] = 'Pašreizējā parole nepareiza.';
-$labels['passwordinconsistency'] = 'Paroles nesakrīt. Lūdzu, ievadiet vēlreiz.';
-$labels['crypterror'] = 'Nevarēja saglabāt jauno paroli. Trūkst kriptēšanas funkcija.';
-$labels['connecterror'] = 'Nevarēja saglabāt jauno paroli. Savienojuma kļūda.';
-$labels['internalerror'] = 'Nevarēja saglabāt jauno paroli.';
-$labels['passwordshort'] = 'Jaunajai parolei jābūt vismaz $length simbola garai.';
-$labels['passwordweak'] = 'Jaunajai parolei jāsatur vismaz viens cipars un punktuācijas simbols.';
+$labels['changepasswd'] = 'Nomainīt paroli';
+$labels['curpasswd'] = 'Pašreizējā parole:';
+$labels['newpasswd'] = 'Jaunā parole:';
+$labels['confpasswd'] = 'Vēlreiz jauno paroli:';
+
+$messages = array();
+$messages['nopassword'] = 'Lūdzu, ievadiet jauno paroli.';
+$messages['nocurpassword'] = 'Lūdzu, ievadiet pašreizējo paroli.';
+$messages['passwordincorrect'] = 'Pašreizējā parole nepareiza.';
+$messages['passwordinconsistency'] = 'Paroles nesakrīt. Lūdzu, ievadiet vēlreiz.';
+$messages['crypterror'] = 'Nevarēja saglabāt jauno paroli. Trūkst kriptēšanas funkcija.';
+$messages['connecterror'] = 'Nevarēja saglabāt jauno paroli. Savienojuma kļūda.';
+$messages['internalerror'] = 'Nevarēja saglabāt jauno paroli.';
+$messages['passwordshort'] = 'Jaunajai parolei jābūt vismaz $length simbola garai.';
+$messages['passwordweak'] = 'Jaunajai parolei jāsatur vismaz viens cipars un punktuācijas simbols.';
+$messages['passwordforbidden'] = 'Password contains forbidden characters.';
+?>
diff --git a/plugins/password/localization/nb_NB.inc b/plugins/password/localization/nb_NB.inc
deleted file mode 100644
index ce4679bb1..000000000
--- a/plugins/password/localization/nb_NB.inc
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-
-/*
- +-----------------------------------------------------------------------+
- | localization/nb_NB/labels.inc |
- | |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
- | |
- +-----------------------------------------------------------------------+
- | Author: Tobias V. Langhoff <spug@thespug.net> |
- +-----------------------------------------------------------------------+
-*/
-
-$labels = array();
-$labels['changepasswd'] = 'Bytt passord';
-$labels['curpasswd'] = 'Nåværende passord:';
-$labels['newpasswd'] = 'Nytt passord:';
-$labels['confpasswd'] = 'Bekreft nytt passord';
-$labels['nopassword'] = 'Vennligst skriv inn nytt passord';
-$labels['nocurpassword'] = 'Vennligst skriv inn nåværende passord';
-$labels['passwordincorrect'] = 'Nåværende passord er feil';
-$labels['passwordinconsistency'] = 'Passordene er ikke like, vennligst prøv igjen.';
-$labels['crypterror'] = 'Kunne ikke lagre nytt passord. Krypteringsfunksjonen mangler.';
-$labels['connecterror'] = 'Kunne ikke lagre nytt passord. Tilkoblings feil.';
-$labels['internalerror'] = 'Kunne ikke lagre nytt passord';
-$labels['passwordshort'] = 'Passordet må minumum være $length karakterer langt.';
-$labels['passwordweak'] = 'Passordet må inneholde minst ett tall og ett tegnsettingssymbol.';
-$labels['passwordforbidden'] = 'Passordet inneholder forbudte tegn.';
-
diff --git a/plugins/password/localization/nb_NO.inc b/plugins/password/localization/nb_NO.inc
new file mode 100644
index 000000000..6d8440bf3
--- /dev/null
+++ b/plugins/password/localization/nb_NO.inc
@@ -0,0 +1,37 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/password/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
+*/
+
+$labels = array();
+$labels['changepasswd'] = 'Bytt passord';
+$labels['curpasswd'] = 'Nåværende passord:';
+$labels['newpasswd'] = 'Nytt passord:';
+$labels['confpasswd'] = 'Bekreft nytt passord';
+
+$messages = array();
+$messages['nopassword'] = 'Vennligst skriv inn nytt passord';
+$messages['nocurpassword'] = 'Vennligst skriv inn nåværende passord';
+$messages['passwordincorrect'] = 'Nåværende passord er feil.';
+$messages['passwordinconsistency'] = 'Passordene er ikke like, vennligst prøv igjen.';
+$messages['crypterror'] = 'Kunne ikke lagre nytt passord. Krypteringsfunksjonen mangler.';
+$messages['connecterror'] = 'Kunne ikke lagre nytt passord. Tilkoblingsfeil.';
+$messages['internalerror'] = 'Kunne ikke lagre nytt passord';
+$messages['passwordshort'] = 'Passordet må minimum inneholde $length tegn.';
+$messages['passwordweak'] = 'Passordet må inneholde minst ett tall og ett tegnsettingssymbol.';
+$messages['passwordforbidden'] = 'Passordet inneholder forbudte tegn.';
+
+?>
diff --git a/plugins/password/localization/nl_NL.inc b/plugins/password/localization/nl_NL.inc
index 5429cb52e..c2c4599bc 100644
--- a/plugins/password/localization/nl_NL.inc
+++ b/plugins/password/localization/nl_NL.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/nl_NL/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Geert Wirken |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Wijzig Wachtwoord';
-$labels['curpasswd'] = 'Huidig Wachtwoord:';
-$labels['newpasswd'] = 'Nieuw Wachtwoord:';
-$labels['confpasswd'] = 'Bevestig Nieuw Wachtwoord:';
-$labels['nopassword'] = 'Vul een wachtwoord in.';
-$labels['nocurpassword'] = 'vul het huidige wachtwoord in.';
-$labels['passwordincorrect'] = 'Huidig wachtwoord is onjuist.';
-$labels['passwordinconsistency'] = 'Wachtwoorden komen niet overeen, probeer het opnieuw.';
-$labels['crypterror'] = 'De server mist een functie om uw wachtwoord et beveiligen.';
-$labels['connecterror'] = 'Kan het nieuwe wachtwoord niet opslaan. Verbindingsfout.';
-$labels['internalerror'] = 'Uw wachtwoord kan niet worden opgeslagen.';
-$labels['passwordshort'] = 'Het wachtwoord moet minimaal $length tekens lang zijn.';
-$labels['passwordweak'] = 'Het wachtwoord moet minimaal één nummer en één leesteken bevatten.';
-$labels['passwordforbidden'] = 'Het wachtwoord bevat tekens die niet toegestaan zijn.';
+$labels['changepasswd'] = 'Wijzig Wachtwoord';
+$labels['curpasswd'] = 'Huidig Wachtwoord:';
+$labels['newpasswd'] = 'Nieuw Wachtwoord:';
+$labels['confpasswd'] = 'Bevestig Nieuw Wachtwoord:';
+
+$messages = array();
+$messages['nopassword'] = 'Vul een wachtwoord in.';
+$messages['nocurpassword'] = 'vul het huidige wachtwoord in.';
+$messages['passwordincorrect'] = 'Huidig wachtwoord is onjuist.';
+$messages['passwordinconsistency'] = 'Wachtwoorden komen niet overeen, probeer het opnieuw.';
+$messages['crypterror'] = 'De server mist een functie om uw wachtwoord et beveiligen.';
+$messages['connecterror'] = 'Kan het nieuwe wachtwoord niet opslaan. Verbindingsfout.';
+$messages['internalerror'] = 'Uw wachtwoord kan niet worden opgeslagen.';
+$messages['passwordshort'] = 'Het wachtwoord moet minimaal $length tekens lang zijn.';
+$messages['passwordweak'] = 'Het wachtwoord moet minimaal één nummer en één leesteken bevatten.';
+$messages['passwordforbidden'] = 'Het wachtwoord bevat tekens die niet toegestaan zijn.';
+?>
diff --git a/plugins/password/localization/nn_NO.inc b/plugins/password/localization/nn_NO.inc
new file mode 100644
index 000000000..dc7c8f390
--- /dev/null
+++ b/plugins/password/localization/nn_NO.inc
@@ -0,0 +1,37 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/password/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
+*/
+
+$labels = array();
+$labels['changepasswd'] = 'Bytt passord';
+$labels['curpasswd'] = 'Noverande passord:';
+$labels['newpasswd'] = 'Nytt passord:';
+$labels['confpasswd'] = 'Bekreft nytt passord';
+
+$messages = array();
+$messages['nopassword'] = 'Venlegast skriv inn nytt passord.';
+$messages['nocurpassword'] = 'Venlegast skriv inn noverande passord.';
+$messages['passwordincorrect'] = 'Noverande passord er feil.';
+$messages['passwordinconsistency'] = 'Passorda er ikkje like, venlegast prøv igjen.';
+$messages['crypterror'] = 'Kunne ikkje lagre nytt passord. Krypteringsfunksjonen manglar.';
+$messages['connecterror'] = 'Kunne ikkje lagre nytt passord. Tilkoblingsfeil.';
+$messages['internalerror'] = 'Kunne ikkje lagre nytt passord.';
+$messages['passwordshort'] = 'Passordet må minimum innehalde $length teikn.';
+$messages['passwordweak'] = 'Passordet må innehalde minst eitt tal og eitt skilleteikn.';
+$messages['passwordforbidden'] = 'Passordet inneheld forbodne teikn.';
+
+?>
diff --git a/plugins/password/localization/pl_PL.inc b/plugins/password/localization/pl_PL.inc
index 6edbf3fb1..f4bce1792 100644
--- a/plugins/password/localization/pl_PL.inc
+++ b/plugins/password/localization/pl_PL.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/pl_PL/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Zmiana hasła';
-$labels['curpasswd'] = 'Aktualne hasło:';
-$labels['newpasswd'] = 'Nowe hasło:';
-$labels['confpasswd'] = 'Potwierdź hasło:';
-$labels['nopassword'] = 'Wprowadź nowe hasło.';
-$labels['nocurpassword'] = 'Wprowadź aktualne hasło.';
-$labels['passwordincorrect'] = 'Błędne aktualne hasło, spróbuj ponownie.';
-$labels['passwordinconsistency'] = 'Hasła nie pasują, spróbuj ponownie.';
-$labels['crypterror'] = 'Nie udało się zapisać nowego hasła. Brak funkcji kodującej.';
-$labels['connecterror'] = 'Nie udało się zapisać nowego hasła. Błąd połączenia.';
-$labels['internalerror'] = 'Nie udało się zapisać nowego hasła.';
-$labels['passwordshort'] = 'Hasło musi posiadać co najmniej $length znaków.';
-$labels['passwordweak'] = 'Hasło musi zawierać co najmniej jedną cyfrę i znak interpunkcyjny.';
-$labels['passwordforbidden'] = 'Hasło zawiera niedozwolone znaki.';
+$labels['changepasswd'] = 'Zmiana hasła';
+$labels['curpasswd'] = 'Aktualne hasło:';
+$labels['newpasswd'] = 'Nowe hasło:';
+$labels['confpasswd'] = 'Potwierdź hasło:';
+
+$messages = array();
+$messages['nopassword'] = 'Wprowadź nowe hasło.';
+$messages['nocurpassword'] = 'Wprowadź aktualne hasło.';
+$messages['passwordincorrect'] = 'Błędne aktualne hasło, spróbuj ponownie.';
+$messages['passwordinconsistency'] = 'Hasła nie pasują, spróbuj ponownie.';
+$messages['crypterror'] = 'Nie udało się zapisać nowego hasła. Brak funkcji kodującej.';
+$messages['connecterror'] = 'Nie udało się zapisać nowego hasła. Błąd połączenia.';
+$messages['internalerror'] = 'Nie udało się zapisać nowego hasła.';
+$messages['passwordshort'] = 'Hasło musi posiadać co najmniej $length znaków.';
+$messages['passwordweak'] = 'Hasło musi zawierać co najmniej jedną cyfrę i znak interpunkcyjny.';
+$messages['passwordforbidden'] = 'Hasło zawiera niedozwolone znaki.';
+?>
diff --git a/plugins/password/localization/pt_BR.inc b/plugins/password/localization/pt_BR.inc
index cd6b19902..f6f6ced01 100644
--- a/plugins/password/localization/pt_BR.inc
+++ b/plugins/password/localization/pt_BR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/pt_BR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Alterar senha';
-$labels['curpasswd'] = 'Senha atual:';
-$labels['newpasswd'] = 'Nova senha:';
-$labels['confpasswd'] = 'Confirmar nova senha:';
-$labels['nopassword'] = 'Por favor, informe a nova senha.';
-$labels['nocurpassword'] = 'Por favor, informe a senha atual.';
-$labels['passwordincorrect'] = 'Senha atual incorreta.';
-$labels['passwordinconsistency'] = 'Senhas não combinam, por favor tente novamente.';
-$labels['crypterror'] = 'Não foi possível gravar a nova senha. Função de criptografia ausente.';
-$labels['connecterror'] = 'Não foi possível gravar a nova senha. Erro de conexão.';
-$labels['internalerror'] = 'Não foi possível gravar a nova senha.';
-$labels['passwordshort'] = 'A senha precisa ter ao menos $length caracteres.';
-$labels['passwordweak'] = 'A senha precisa conter ao menos um número e um caractere de pontuação.';
-$labels['passwordforbidden'] = 'A senha contém caracteres proibidos.';
+$labels['changepasswd'] = 'Alterar senha';
+$labels['curpasswd'] = 'Senha atual:';
+$labels['newpasswd'] = 'Nova senha:';
+$labels['confpasswd'] = 'Confirmar nova senha:';
+
+$messages = array();
+$messages['nopassword'] = 'Por favor, informe a nova senha.';
+$messages['nocurpassword'] = 'Por favor, informe a senha atual.';
+$messages['passwordincorrect'] = 'Senha atual incorreta.';
+$messages['passwordinconsistency'] = 'Senhas não combinam, por favor tente novamente.';
+$messages['crypterror'] = 'Não foi possível gravar a nova senha. Função de criptografia ausente.';
+$messages['connecterror'] = 'Não foi possível gravar a nova senha. Erro de conexão.';
+$messages['internalerror'] = 'Não foi possível gravar a nova senha.';
+$messages['passwordshort'] = 'A senha precisa ter ao menos $length caracteres.';
+$messages['passwordweak'] = 'A senha precisa conter ao menos um número e um caractere de pontuação.';
+$messages['passwordforbidden'] = 'A senha contém caracteres proibidos.';
+?>
diff --git a/plugins/password/localization/pt_PT.inc b/plugins/password/localization/pt_PT.inc
index 004e9b207..faad112ea 100644
--- a/plugins/password/localization/pt_PT.inc
+++ b/plugins/password/localization/pt_PT.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/pt_PT/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: David |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Alterar password';
-$labels['curpasswd'] = 'Password atual:';
-$labels['newpasswd'] = 'Nova password:';
-$labels['confpasswd'] = 'Confirmar password:';
-$labels['nopassword'] = 'Introduza a nova password.';
-$labels['nocurpassword'] = 'Introduza a password actual.';
-$labels['passwordincorrect'] = 'Password actual errada.';
-$labels['passwordinconsistency'] = 'Password\'s não combinam, tente novamente..';
-$labels['crypterror'] = 'Não foi possível gravar a nova password. Função de criptografica inexistente.';
-$labels['connecterror'] = 'Não foi possível gravar a nova password. Erro de ligação.';
-$labels['internalerror'] = 'Não foi possível gravar a nova password.';
-$labels['passwordshort'] = 'A palavra-passe deve ter pelo menos $length caracteres';
-$labels['passwordweak'] = 'A palavra-passe deve incluir pelo menos um numero e um sinal de pontuação.';
-$labels['passwordforbidden'] = 'A palavra-passe contém caracteres não suportados.';
+$labels['changepasswd'] = 'Alterar password';
+$labels['curpasswd'] = 'Password atual:';
+$labels['newpasswd'] = 'Nova password:';
+$labels['confpasswd'] = 'Confirmar password:';
+
+$messages = array();
+$messages['nopassword'] = 'Introduza a nova password.';
+$messages['nocurpassword'] = 'Introduza a password actual.';
+$messages['passwordincorrect'] = 'Password actual errada.';
+$messages['passwordinconsistency'] = 'Password\'s não combinam, tente novamente..';
+$messages['crypterror'] = 'Não foi possível gravar a nova password. Função de criptografica inexistente.';
+$messages['connecterror'] = 'Não foi possível gravar a nova password. Erro de ligação.';
+$messages['internalerror'] = 'Não foi possível gravar a nova password.';
+$messages['passwordshort'] = 'A palavra-passe deve ter pelo menos $length caracteres';
+$messages['passwordweak'] = 'A palavra-passe deve incluir pelo menos um numero e um sinal de pontuação.';
+$messages['passwordforbidden'] = 'A palavra-passe contém caracteres não suportados.';
+?>
diff --git a/plugins/password/localization/ro_RO.inc b/plugins/password/localization/ro_RO.inc
index 61aa0aacb..7406efb9a 100644
--- a/plugins/password/localization/ro_RO.inc
+++ b/plugins/password/localization/ro_RO.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ro_RO/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Raduta Alex <raduta.alex@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Schimbați parola';
-$labels['curpasswd'] = 'Parola curentă:';
-$labels['newpasswd'] = 'Parola nouă:';
-$labels['confpasswd'] = 'Confirmați parola nouă:';
-$labels['nopassword'] = 'Te rog să introduci noua parolă.';
-$labels['nocurpassword'] = 'Te rog să introduci parola curentă';
-$labels['passwordincorrect'] = 'Parola curentă este incorectă.';
-$labels['passwordinconsistency'] = 'Parolele nu se potrivesc, vă rugăm să mai încercați';
-$labels['crypterror'] = 'Nu am reușit să salvez noua parolă. Lipsa funcției de criptare.';
-$labels['connecterror'] = 'Nu am reușit să salvez noua parolă. Eroare connexiune.';
-$labels['internalerror'] = 'Nu am reușit să salvez noua parolă.';
-$labels['passwordshort'] = 'Parola trebuie să aibă $length caractere.';
-$labels['passwordweak'] = 'Parola trebuie să conțina cel puțin un număr si un semn de punctuație';
-$labels['passwordforbidden'] = 'Parola conține caractere nepermise.';
+$labels['changepasswd'] = 'Schimbați parola';
+$labels['curpasswd'] = 'Parola curentă:';
+$labels['newpasswd'] = 'Parola nouă:';
+$labels['confpasswd'] = 'Confirmați parola nouă:';
+
+$messages = array();
+$messages['nopassword'] = 'Te rog să introduci noua parolă.';
+$messages['nocurpassword'] = 'Te rog să introduci parola curentă';
+$messages['passwordincorrect'] = 'Parola curentă este incorectă.';
+$messages['passwordinconsistency'] = 'Parolele nu se potrivesc, vă rugăm să mai încercați';
+$messages['crypterror'] = 'Nu am reușit să salvez noua parolă. Lipsa funcției de criptare.';
+$messages['connecterror'] = 'Nu am reușit să salvez noua parolă. Eroare connexiune.';
+$messages['internalerror'] = 'Nu am reușit să salvez noua parolă.';
+$messages['passwordshort'] = 'Parola trebuie să aibă $length caractere.';
+$messages['passwordweak'] = 'Parola trebuie să conțina cel puțin un număr si un semn de punctuație';
+$messages['passwordforbidden'] = 'Parola conține caractere nepermise.';
+?>
diff --git a/plugins/password/localization/ru_RU.inc b/plugins/password/localization/ru_RU.inc
index e21f82020..79fbfedf6 100644
--- a/plugins/password/localization/ru_RU.inc
+++ b/plugins/password/localization/ru_RU.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/ru_RU/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Изменить пароль';
-$labels['curpasswd'] = 'Текущий пароль:';
-$labels['newpasswd'] = 'Новый пароль:';
-$labels['confpasswd'] = 'Подтвердите новый пароль:';
-$labels['nopassword'] = 'Пожалуйста, введите новый пароль.';
-$labels['nocurpassword'] = 'Пожалуйста, введите текущий пароль.';
-$labels['passwordincorrect'] = 'Текущий пароль неверен.';
-$labels['passwordinconsistency'] = 'Пароли не совпадают, попробуйте, пожалуйста, ещё.';
-$labels['crypterror'] = 'Не могу сохранить новый пароль. Отсутствует криптографическая функция.';
-$labels['connecterror'] = 'Не могу сохранить новый пароль. Ошибка соединения.';
-$labels['internalerror'] = 'Не могу сохранить новый пароль.';
-$labels['passwordshort'] = 'Пароль должен быть длиной как минимум $length символов.';
-$labels['passwordweak'] = 'Пароль должен включать в себя как минимум одну цифру и один знак пунктуации.';
-$labels['passwordforbidden'] = 'Пароль содержит недопустимые символы.';
+$labels['changepasswd'] = 'Изменить пароль';
+$labels['curpasswd'] = 'Текущий пароль:';
+$labels['newpasswd'] = 'Новый пароль:';
+$labels['confpasswd'] = 'Подтвердите новый пароль:';
+
+$messages = array();
+$messages['nopassword'] = 'Пожалуйста, введите новый пароль.';
+$messages['nocurpassword'] = 'Пожалуйста, введите текущий пароль.';
+$messages['passwordincorrect'] = 'Текущий пароль неверен.';
+$messages['passwordinconsistency'] = 'Пароли не совпадают, попробуйте, пожалуйста, ещё.';
+$messages['crypterror'] = 'Не могу сохранить новый пароль. Отсутствует криптографическая функция.';
+$messages['connecterror'] = 'Не могу сохранить новый пароль. Ошибка соединения.';
+$messages['internalerror'] = 'Не могу сохранить новый пароль.';
+$messages['passwordshort'] = 'Пароль должен быть длиной как минимум $length символов.';
+$messages['passwordweak'] = 'Пароль должен включать в себя как минимум одну цифру и один знак пунктуации.';
+$messages['passwordforbidden'] = 'Пароль содержит недопустимые символы.';
+?>
diff --git a/plugins/password/localization/sk_SK.inc b/plugins/password/localization/sk_SK.inc
index 9767cb443..4098cb685 100644
--- a/plugins/password/localization/sk_SK.inc
+++ b/plugins/password/localization/sk_SK.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/sk_SK/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Zmeniť heslo';
-$labels['curpasswd'] = 'Súčasné heslo:';
-$labels['newpasswd'] = 'Nové heslo:';
-$labels['confpasswd'] = 'Potvrď nové heslo:';
-$labels['nopassword'] = 'Prosím zadaj nové heslo.';
-$labels['nocurpassword'] = 'Prosím zadaj súčasné heslo.';
-$labels['passwordincorrect'] = 'Súčasné heslo je nesprávne.';
-$labels['passwordinconsistency'] = 'Heslá nie sú rovnaké, skús znova.';
-$labels['crypterror'] = 'Nemôžem uložiť nové heslo. Chýba šifrovacia funkcia.';
-$labels['connecterror'] = 'Nemôžem uložiť nové heslo. Chyba spojenia.';
-$labels['internalerror'] = 'Nemôžem uložiť nové heslo.';
-$labels['passwordshort'] = 'Heslo musí mať najmenej $length znakov.';
-$labels['passwordweak'] = 'Heslo musí obsahovať aspoň jedno číslo a jedno interpunkčné znamienko.';
-$labels['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.';
+$labels['changepasswd'] = 'Zmeniť heslo';
+$labels['curpasswd'] = 'Súčasné heslo:';
+$labels['newpasswd'] = 'Nové heslo:';
+$labels['confpasswd'] = 'Potvrď nové heslo:';
+
+$messages = array();
+$messages['nopassword'] = 'Prosím zadaj nové heslo.';
+$messages['nocurpassword'] = 'Prosím zadaj súčasné heslo.';
+$messages['passwordincorrect'] = 'Súčasné heslo je nesprávne.';
+$messages['passwordinconsistency'] = 'Heslá nie sú rovnaké, skús znova.';
+$messages['crypterror'] = 'Nemôžem uložiť nové heslo. Chýba šifrovacia funkcia.';
+$messages['connecterror'] = 'Nemôžem uložiť nové heslo. Chyba spojenia.';
+$messages['internalerror'] = 'Nemôžem uložiť nové heslo.';
+$messages['passwordshort'] = 'Heslo musí mať najmenej $length znakov.';
+$messages['passwordweak'] = 'Heslo musí obsahovať aspoň jedno číslo a jedno interpunkčné znamienko.';
+$messages['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.';
+?>
diff --git a/plugins/password/localization/sl_SI.inc b/plugins/password/localization/sl_SI.inc
index 30525415f..27a094219 100644
--- a/plugins/password/localization/sl_SI.inc
+++ b/plugins/password/localization/sl_SI.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/sl_SI/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Barbara Krasovec <barbarak@arnes.si> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Spremeni geslo';
-$labels['curpasswd'] = 'Obstoječe geslo:';
-$labels['newpasswd'] = 'Novo geslo:';
-$labels['confpasswd'] = 'Potrdi novo geslo:';
-$labels['nopassword'] = 'Vnesite novo geslo.';
-$labels['nocurpassword'] = 'Vnesite obstoječe geslo.';
-$labels['passwordincorrect'] = 'Obstoječe geslo ni veljavno.';
-$labels['passwordinconsistency'] = 'Gesli se ne ujemata, poskusite znova.';
-$labels['crypterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake pri šifriranju.';
-$labels['connecterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake v povezavi.';
-$labels['internalerror'] = 'Novega gesla ni bilo mogoče shraniti.';
-$labels['passwordshort'] = 'Geslo mora vsebovati vsaj $length znakov';
-$labels['passwordweak'] = 'Geslo mora vključevati vsaj eno številko in ločilo.';
-$labels['passwordforbidden'] = 'Geslo vsebuje neveljavne znake.';
+$labels['changepasswd'] = 'Spremeni geslo';
+$labels['curpasswd'] = 'Obstoječe geslo:';
+$labels['newpasswd'] = 'Novo geslo:';
+$labels['confpasswd'] = 'Potrdi novo geslo:';
+
+$messages = array();
+$messages['nopassword'] = 'Vnesite novo geslo.';
+$messages['nocurpassword'] = 'Vnesite obstoječe geslo.';
+$messages['passwordincorrect'] = 'Obstoječe geslo ni veljavno.';
+$messages['passwordinconsistency'] = 'Gesli se ne ujemata, poskusite znova.';
+$messages['crypterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake pri šifriranju.';
+$messages['connecterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake v povezavi.';
+$messages['internalerror'] = 'Novega gesla ni bilo mogoče shraniti.';
+$messages['passwordshort'] = 'Geslo mora vsebovati vsaj $length znakov';
+$messages['passwordweak'] = 'Geslo mora vključevati vsaj eno številko in ločilo.';
+$messages['passwordforbidden'] = 'Geslo vsebuje neveljavne znake.';
+?>
diff --git a/plugins/password/localization/sr_CS.inc b/plugins/password/localization/sr_CS.inc
index 4224f492f..18361032d 100644
--- a/plugins/password/localization/sr_CS.inc
+++ b/plugins/password/localization/sr_CS.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/sr_CS/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Saša Zejnilović <zejnils@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Промијени лозинку';
-$labels['curpasswd'] = 'Тренутна лозинка:';
-$labels['newpasswd'] = 'Нова лозинка:';
-$labels['confpasswd'] = 'Поновите лозинку:';
-$labels['nopassword'] = 'Молимо унесите нову лозинку.';
-$labels['nocurpassword'] = 'Молимо унесите тренутну лозинку.';
-$labels['passwordincorrect'] = 'Тренутна лозинка је нетачна.';
-$labels['passwordinconsistency'] = 'Лозинке се не поклапају, молимо покушајте поново.';
-$labels['crypterror'] = 'Није могуће сачувати нову лозинку. Недостаје функција за кодирање.';
-$labels['connecterror'] = 'Није могуће сачувати нову лозинку. Грешка у Вези.';
-$labels['internalerror'] = 'Није могуће сачувати нову лозинку.';
-$labels['passwordshort'] = 'Лозинка мора имати најмање $lenght знакова.';
-$labels['passwordweak'] = 'Лозинка мора да садржи најмање један број и један интерпункцијски знак.';
-$labels['passwordforbidden'] = 'Лозинка садржи недозвољене знакове.';
+$labels['changepasswd'] = 'Промијени лозинку';
+$labels['curpasswd'] = 'Тренутна лозинка:';
+$labels['newpasswd'] = 'Нова лозинка:';
+$labels['confpasswd'] = 'Поновите лозинку:';
+
+$messages = array();
+$messages['nopassword'] = 'Молимо унесите нову лозинку.';
+$messages['nocurpassword'] = 'Молимо унесите тренутну лозинку.';
+$messages['passwordincorrect'] = 'Тренутна лозинка је нетачна.';
+$messages['passwordinconsistency'] = 'Лозинке се не поклапају, молимо покушајте поново.';
+$messages['crypterror'] = 'Није могуће сачувати нову лозинку. Недостаје функција за кодирање.';
+$messages['connecterror'] = 'Није могуће сачувати нову лозинку. Грешка у Вези.';
+$messages['internalerror'] = 'Није могуће сачувати нову лозинку.';
+$messages['passwordshort'] = 'Лозинка мора имати најмање $lenght знакова.';
+$messages['passwordweak'] = 'Лозинка мора да садржи најмање један број и један интерпункцијски знак.';
+$messages['passwordforbidden'] = 'Лозинка садржи недозвољене знакове.';
+?>
diff --git a/plugins/password/localization/sv_SE.inc b/plugins/password/localization/sv_SE.inc
index 67e71a424..90f7b9f58 100644
--- a/plugins/password/localization/sv_SE.inc
+++ b/plugins/password/localization/sv_SE.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/sv_SE/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Ändra lösenord';
-$labels['curpasswd'] = 'Nuvarande lösenord:';
-$labels['newpasswd'] = 'Nytt lösenord:';
-$labels['confpasswd'] = 'Bekräfta nytt lösenord:';
-$labels['nopassword'] = 'Vänligen ange nytt lösenord.';
-$labels['nocurpassword'] = 'Vänligen ange nuvarande lösenord.';
-$labels['passwordincorrect'] = 'Felaktigt nuvarande lösenord.';
-$labels['passwordinconsistency'] = 'Nya lösenordet och bekräftelsen överensstämmer inte, försök igen.';
-$labels['crypterror'] = 'Lösenordet kunde inte ändras. Krypteringsfunktionen saknas.';
-$labels['connecterror'] = 'Lösenordet kunde inte ändras. Anslutningen misslyckades.';
-$labels['internalerror'] = 'Lösenordet kunde inte ändras.';
-$labels['passwordshort'] = 'Lösenordet måste vara minst $length tecken långt.';
-$labels['passwordweak'] = 'Lösenordet måste innehålla minst en siffra och ett specialtecken.';
-$labels['passwordforbidden'] = 'Lösenordet innehåller otillåtna tecken.';
+$labels['changepasswd'] = 'Ändra lösenord';
+$labels['curpasswd'] = 'Nuvarande lösenord:';
+$labels['newpasswd'] = 'Nytt lösenord:';
+$labels['confpasswd'] = 'Bekräfta nytt lösenord:';
+
+$messages = array();
+$messages['nopassword'] = 'Ange nytt lösenord.';
+$messages['nocurpassword'] = 'Ange nuvarande lösenord.';
+$messages['passwordincorrect'] = 'Felaktigt nuvarande lösenord.';
+$messages['passwordinconsistency'] = 'Bekräftelsen av lösenordet stämmer inte, försök igen.';
+$messages['crypterror'] = 'Lösenordet kunde inte ändras. Krypteringsfunktionen saknas.';
+$messages['connecterror'] = 'Lösenordet kunde inte ändras. Anslutningen misslyckades.';
+$messages['internalerror'] = 'Lösenordet kunde inte ändras.';
+$messages['passwordshort'] = 'Lösenordet måste vara minst $length tecken långt.';
+$messages['passwordweak'] = 'Lösenordet måste innehålla minst en siffra och ett specialtecken.';
+$messages['passwordforbidden'] = 'Lösenordet innehåller otillåtna tecken.';
+?>
diff --git a/plugins/password/localization/tr_TR.inc b/plugins/password/localization/tr_TR.inc
index a2c94c102..99133a158 100644
--- a/plugins/password/localization/tr_TR.inc
+++ b/plugins/password/localization/tr_TR.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/tr_TR/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Gökdeniz Karadağ |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Parolayı Değiştir';
-$labels['curpasswd'] = 'Şimdiki Parola:';
-$labels['newpasswd'] = 'Yeni Parola:';
-$labels['confpasswd'] = 'Yeni Parolayı Onaylayın:';
-$labels['nopassword'] = 'Lütfen yeni parolayı girin.';
-$labels['nocurpassword'] = 'Lütfen şimdiki parolayı girin.';
-$labels['passwordincorrect'] = 'Şimdiki parolayı yanlış girdiniz.';
-$labels['passwordinconsistency'] = 'Girdiğiniz parolalar uyuşmuyor. Lütfen tekrar deneyin.';
-$labels['crypterror'] = 'Yeni parola kaydedilemedi. Şifreleme fonksiyonu mevcut değil.';
-$labels['connecterror'] = 'Yeni parola kaydedilemedi. Bağlantı hatası.';
-$labels['internalerror'] = 'Yeni parola kaydedilemedi.';
-$labels['passwordshort'] = 'Parola en az $length karakterden oluşmalı.';
-$labels['passwordweak'] = 'Parola en az bir sayı ve bir noktalama işareti içermeli.';
-$labels['passwordforbidden'] = 'Parola uygunsuz karakter(ler) içeriyor.';
+$labels['changepasswd'] = 'Parolayı Değiştir';
+$labels['curpasswd'] = 'Şimdiki Parola:';
+$labels['newpasswd'] = 'Yeni Parola:';
+$labels['confpasswd'] = 'Yeni Parolayı Onaylayın:';
+
+$messages = array();
+$messages['nopassword'] = 'Lütfen yeni parolayı girin.';
+$messages['nocurpassword'] = 'Lütfen şimdiki parolayı girin.';
+$messages['passwordincorrect'] = 'Şimdiki parolayı yanlış girdiniz.';
+$messages['passwordinconsistency'] = 'Girdiğiniz parolalar uyuşmuyor. Lütfen tekrar deneyin.';
+$messages['crypterror'] = 'Yeni parola kaydedilemedi. Şifreleme fonksiyonu mevcut değil.';
+$messages['connecterror'] = 'Yeni parola kaydedilemedi. Bağlantı hatası.';
+$messages['internalerror'] = 'Yeni parola kaydedilemedi.';
+$messages['passwordshort'] = 'Parola en az $length karakterden oluşmalı.';
+$messages['passwordweak'] = 'Parola en az bir sayı ve bir noktalama işareti içermeli.';
+$messages['passwordforbidden'] = 'Parola uygunsuz karakter(ler) içeriyor.';
+?>
diff --git a/plugins/password/localization/vi_VN.inc b/plugins/password/localization/vi_VN.inc
index 729749316..f21d65156 100644
--- a/plugins/password/localization/vi_VN.inc
+++ b/plugins/password/localization/vi_VN.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/vi_VN/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Kenny Tran <kennethanh@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = 'Thay đổi mật khẩu';
-$labels['curpasswd'] = 'Mật khẩu hiện tại';
-$labels['newpasswd'] = 'Mật khẩu mới:';
-$labels['confpasswd'] = 'Xác nhận mật khẩu mới';
-$labels['nopassword'] = 'Mời nhập mật khẩu mới';
-$labels['nocurpassword'] = 'Mời nhập mật khẩu hiện tại';
-$labels['passwordincorrect'] = 'Mật khẩu hiện thời không đúng';
-$labels['passwordinconsistency'] = 'Mật khẩu không khớp, hãy thử lại';
-$labels['crypterror'] = 'Không thể lưu mật khẩu mới. Thiếu chức năng mã hóa';
-$labels['connecterror'] = 'Không thể lưu mật mã mới. Lổi kết nối';
-$labels['internalerror'] = 'Không thể lưu mật khẩu mới';
-$labels['passwordshort'] = 'Mật khẩu phải dài ít nhất $ ký tự';
-$labels['passwordweak'] = 'Mật khẩu phải bao gồm ít nhất 1 con số và 1 ký tự dấu câu';
-$labels['passwordforbidden'] = 'Mật khẩu bao gồm ký tự không hợp lệ';
+$labels['changepasswd'] = 'Thay đổi mật khẩu';
+$labels['curpasswd'] = 'Mật khẩu hiện tại';
+$labels['newpasswd'] = 'Mật khẩu mới:';
+$labels['confpasswd'] = 'Xác nhận mật khẩu mới';
+
+$messages = array();
+$messages['nopassword'] = 'Mời nhập mật khẩu mới';
+$messages['nocurpassword'] = 'Mời nhập mật khẩu hiện tại';
+$messages['passwordincorrect'] = 'Mật khẩu hiện thời không đúng';
+$messages['passwordinconsistency'] = 'Mật khẩu không khớp, hãy thử lại';
+$messages['crypterror'] = 'Không thể lưu mật khẩu mới. Thiếu chức năng mã hóa';
+$messages['connecterror'] = 'Không thể lưu mật mã mới. Lổi kết nối';
+$messages['internalerror'] = 'Không thể lưu mật khẩu mới';
+$messages['passwordshort'] = 'Mật khẩu phải dài ít nhất $ ký tự';
+$messages['passwordweak'] = 'Mật khẩu phải bao gồm ít nhất 1 con số và 1 ký tự dấu câu';
+$messages['passwordforbidden'] = 'Mật khẩu bao gồm ký tự không hợp lệ';
+?>
diff --git a/plugins/password/localization/zh_CN.inc b/plugins/password/localization/zh_CN.inc
index 5e0af7cd5..5a15635e7 100644
--- a/plugins/password/localization/zh_CN.inc
+++ b/plugins/password/localization/zh_CN.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/zh_CN/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Christopher Meng <cickumqt@gmail.com> |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = '修改密码';
-$labels['curpasswd'] = '当前密码:';
-$labels['newpasswd'] = '新密码:';
-$labels['confpasswd'] = '确认新密码:';
-$labels['nopassword'] = '请输入新密码。';
-$labels['nocurpassword'] = '请输入正确的密码。';
-$labels['passwordincorrect'] = '当前密码不正确。';
-$labels['passwordinconsistency'] = '两次输入的密码不一致,请重试。';
-$labels['crypterror'] = '无法保存新密码,因为加密功能不可用。';
-$labels['connecterror'] = '无法保存新密码,因为连接出错。';
-$labels['internalerror'] = '无法保存新密码。';
-$labels['passwordshort'] = '密码必须至少为 $length 位。';
-$labels['passwordweak'] = '密码必须至少包含一个数字和一个标点符号。';
-$labels['passwordforbidden'] = '密码包含禁止使用的字符。';
+$labels['changepasswd'] = '修改密码';
+$labels['curpasswd'] = '当前密码:';
+$labels['newpasswd'] = '新密码:';
+$labels['confpasswd'] = '确认新密码:';
+
+$messages = array();
+$messages['nopassword'] = '请输入新密码。';
+$messages['nocurpassword'] = '请输入正确的密码。';
+$messages['passwordincorrect'] = '当前密码不正确。';
+$messages['passwordinconsistency'] = '两次输入的密码不一致,请重试。';
+$messages['crypterror'] = '无法保存新密码,因为加密功能不可用。';
+$messages['connecterror'] = '无法保存新密码,因为连接出错。';
+$messages['internalerror'] = '无法保存新密码。';
+$messages['passwordshort'] = '密码必须至少为 $length 位。';
+$messages['passwordweak'] = '密码必须至少包含一个数字和一个标点符号。';
+$messages['passwordforbidden'] = '密码包含禁止使用的字符。';
+?>
diff --git a/plugins/password/localization/zh_TW.inc b/plugins/password/localization/zh_TW.inc
index 49fa48e7f..b61e113c8 100644
--- a/plugins/password/localization/zh_TW.inc
+++ b/plugins/password/localization/zh_TW.inc
@@ -2,30 +2,36 @@
/*
+-----------------------------------------------------------------------+
- | localization/zh_TW/labels.inc |
+ | plugins/password/localization/<lang>.inc |
| |
- | Language file of the Roundcube Webmail client |
- | Copyright (C) 2012, The Roundcube Dev Team |
- | Licensed under the GNU General Public License |
+ | Localization file of the Roundcube Webmail Password plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
| |
+-----------------------------------------------------------------------+
- | Author: Thomas |
- +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-password/
*/
$labels = array();
-$labels['changepasswd'] = '更改密碼';
-$labels['curpasswd'] = '目前的密碼';
-$labels['newpasswd'] = '新密碼';
-$labels['confpasswd'] = '確認新密碼';
-$labels['nopassword'] = '請輸入新密碼';
-$labels['nocurpassword'] = '請輸入目前的密碼';
-$labels['passwordincorrect'] = '目前的密碼錯誤';
-$labels['passwordinconsistency'] = '密碼不相符,請重新輸入';
-$labels['crypterror'] = '無法更新密碼:無加密機制';
-$labels['connecterror'] = '無法更新密碼:連線失敗';
-$labels['internalerror'] = '無法更新密碼';
-$labels['passwordshort'] = '您的密碼至少需 $length 個字元長';
-$labels['passwordweak'] = '您的新密碼至少需含有一個數字與一個標點符號';
-$labels['passwordforbidden'] = '您的密碼含有禁用字元';
+$labels['changepasswd'] = '更改密碼';
+$labels['curpasswd'] = '目前的密碼';
+$labels['newpasswd'] = '新密碼';
+$labels['confpasswd'] = '確認新密碼';
+
+$messages = array();
+$messages['nopassword'] = '請輸入新密碼';
+$messages['nocurpassword'] = '請輸入目前的密碼';
+$messages['passwordincorrect'] = '目前的密碼錯誤';
+$messages['passwordinconsistency'] = '密碼不相符,請重新輸入';
+$messages['crypterror'] = '無法更新密碼:無加密機制';
+$messages['connecterror'] = '無法更新密碼:連線失敗';
+$messages['internalerror'] = '無法更新密碼';
+$messages['passwordshort'] = '您的密碼至少需 $length 個字元長';
+$messages['passwordweak'] = '您的新密碼至少需含有一個數字與一個標點符號';
+$messages['passwordforbidden'] = '您的密碼含有禁用字元';
+?>
diff --git a/plugins/password/package.xml b/plugins/password/package.xml
index 9a056dec6..be917917f 100644
--- a/plugins/password/package.xml
+++ b/plugins/password/package.xml
@@ -15,9 +15,9 @@
<email>alec@alec.pl</email>
<active>yes</active>
</lead>
- <date>2012-11-15</date>
+ <date>2013-03-30</date>
<version>
- <release>3.2</release>
+ <release>3.3</release>
<api>2.0</api>
</version>
<stability>
@@ -26,8 +26,7 @@
</stability>
<license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
<notes>
-- Fix wrong (non-specific) error message on crypt or connection error (#1488808)
-- Added option to define IMAP hosts that support password changes - password_hosts
+Added new cPanel driver - fixes localization related issues (#1487015)
</notes>
<contents>
<dir baseinstalldir="/" name="/">
@@ -347,5 +346,21 @@
- Added Samba password (#1488364)
</notes>
</release>
+ <release>
+ <date>2012-11-15</date>
+ <version>
+ <release>3.2</release>
+ <api>2.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
+ <notes>
+- Fix wrong (non-specific) error message on crypt or connection error (#1488808)
+- Added option to define IMAP hosts that support password changes - password_hosts
+ </notes>
+ </release>
</changelog>
</package>
diff --git a/plugins/password/password.php b/plugins/password/password.php
index 806db0586..39020a0bf 100644
--- a/plugins/password/password.php
+++ b/plugins/password/password.php
@@ -112,22 +112,22 @@ class password extends rcube_plugin
$rc_charset = strtoupper($rcmail->output->get_charset());
$sespwd = $rcmail->decrypt($_SESSION['password']);
- $curpwd = $confirm ? get_input_value('_curpasswd', RCUBE_INPUT_POST, true, $charset) : $sespwd;
- $newpwd = get_input_value('_newpasswd', RCUBE_INPUT_POST, true);
- $conpwd = get_input_value('_confpasswd', RCUBE_INPUT_POST, true);
+ $curpwd = $confirm ? rcube_utils::get_input_value('_curpasswd', rcube_utils::INPUT_POST, true, $charset) : $sespwd;
+ $newpwd = rcube_utils::get_input_value('_newpasswd', rcube_utils::INPUT_POST, true);
+ $conpwd = rcube_utils::get_input_value('_confpasswd', rcube_utils::INPUT_POST, true);
// check allowed characters according to the configured 'password_charset' option
// by converting the password entered by the user to this charset and back to UTF-8
$orig_pwd = $newpwd;
- $chk_pwd = rcube_charset_convert($orig_pwd, $rc_charset, $charset);
- $chk_pwd = rcube_charset_convert($chk_pwd, $charset, $rc_charset);
+ $chk_pwd = rcube_charset::convert($orig_pwd, $rc_charset, $charset);
+ $chk_pwd = rcube_charset::convert($chk_pwd, $charset, $rc_charset);
// WARNING: Default password_charset is ISO-8859-1, so conversion will
// change national characters. This may disable possibility of using
// the same password in other MUA's.
// We're doing this for consistence with Roundcube core
- $newpwd = rcube_charset_convert($newpwd, $rc_charset, $charset);
- $conpwd = rcube_charset_convert($conpwd, $rc_charset, $charset);
+ $newpwd = rcube_charset::convert($newpwd, $rc_charset, $charset);
+ $conpwd = rcube_charset::convert($conpwd, $rc_charset, $charset);
if ($chk_pwd != $orig_pwd) {
$rcmail->output->command('display_message', $this->gettext('passwordforbidden'), 'error');
@@ -141,7 +141,7 @@ class password extends rcube_plugin
}
else if ($required_length && strlen($newpwd) < $required_length) {
$rcmail->output->command('display_message', $this->gettext(
- array('name' => 'passwordshort', 'vars' => array('length' => $required_length))), 'error');
+ array('name' => 'passwordshort', 'vars' => array('length' => $required_length))), 'error');
}
else if ($check_strength && (!preg_match("/[0-9]/", $newpwd) || !preg_match("/[^A-Za-z0-9]/", $newpwd))) {
$rcmail->output->command('display_message', $this->gettext('passwordweak'), 'error');
@@ -163,8 +163,8 @@ class password extends rcube_plugin
// Log password change
if ($rcmail->config->get('password_log')) {
- write_log('password', sprintf('Password changed for user %s (ID: %d) from %s',
- $rcmail->get_user_name(), $rcmail->user->ID, rcmail_remote_ip()));
+ rcube::write_log('password', sprintf('Password changed for user %s (ID: %d) from %s',
+ $rcmail->get_user_name(), $rcmail->user->ID, rcube_utils::remote_ip()));
}
}
else {
@@ -172,7 +172,7 @@ class password extends rcube_plugin
}
}
- rcmail_overwrite_action('plugin.password');
+ $rcmail->overwrite_action('plugin.password');
$rcmail->output->send('plugin');
}
@@ -197,7 +197,7 @@ class password extends rcube_plugin
$input_curpasswd = new html_passwordfield(array('name' => '_curpasswd', 'id' => $field_id,
'size' => 20, 'autocomplete' => 'off'));
- $table->add('title', html::label($field_id, Q($this->gettext('curpasswd'))));
+ $table->add('title', html::label($field_id, rcube::Q($this->gettext('curpasswd'))));
$table->add(null, $input_curpasswd->show());
}
@@ -206,7 +206,7 @@ class password extends rcube_plugin
$input_newpasswd = new html_passwordfield(array('name' => '_newpasswd', 'id' => $field_id,
'size' => 20, 'autocomplete' => 'off'));
- $table->add('title', html::label($field_id, Q($this->gettext('newpasswd'))));
+ $table->add('title', html::label($field_id, rcube::Q($this->gettext('newpasswd'))));
$table->add(null, $input_newpasswd->show());
// show confirm password selection
@@ -214,7 +214,7 @@ class password extends rcube_plugin
$input_confpasswd = new html_passwordfield(array('name' => '_confpasswd', 'id' => $field_id,
'size' => 20, 'autocomplete' => 'off'));
- $table->add('title', html::label($field_id, Q($this->gettext('confpasswd'))));
+ $table->add('title', html::label($field_id, rcube::Q($this->gettext('confpasswd'))));
$table->add(null, $input_confpasswd->show());
$out = html::div(array('class' => 'box'),
@@ -246,7 +246,7 @@ class password extends rcube_plugin
$file = $this->home . "/drivers/$driver.php";
if (!file_exists($file)) {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
@@ -258,7 +258,7 @@ class password extends rcube_plugin
include_once $file;
if (!class_exists($class, false) || !method_exists($class, 'save')) {
- raise_error(array(
+ rcube::raise_error(array(
'code' => 600,
'type' => 'php',
'file' => __FILE__, 'line' => __LINE__,
diff --git a/plugins/password/tests/Password.php b/plugins/password/tests/Password.php
new file mode 100644
index 000000000..a9663a946
--- /dev/null
+++ b/plugins/password/tests/Password.php
@@ -0,0 +1,23 @@
+<?php
+
+class Password_Plugin extends PHPUnit_Framework_TestCase
+{
+
+ function setUp()
+ {
+ include_once dirname(__FILE__) . '/../password.php';
+ }
+
+ /**
+ * Plugin object construction test
+ */
+ function test_constructor()
+ {
+ $rcube = rcube::get_instance();
+ $plugin = new password($rcube->api);
+
+ $this->assertInstanceOf('password', $plugin);
+ $this->assertInstanceOf('rcube_plugin', $plugin);
+ }
+}
+