See ChangeLog

Monotone-Parent: 06c565a6f33e7684a9706a8e870304c4ef06ba2d
Monotone-Revision: 0c421ef29903ee5be58ddc992f2172bdda6a2b1d

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-03-29T00:49:29
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Ludovic Marcotte 2010-03-29 00:49:29 +00:00
parent 668c26c104
commit cb13c963bd
15 changed files with 361 additions and 23 deletions

View File

@ -1,3 +1,7 @@
2010-03-28 Ludovic Marcotte <lmarcotte@inverse.ca>
* Translated to French all the ppolicy stuff
2010-03-26 Ludovic Marcotte <lmarcotte@inverse.ca>
* Updated the documentation with regard to

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,34 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,34 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Votre compte a été bloqué dû à un nombre élevé de tentative d'authentification infructueuse.";
"Your account was locked due to an expired password." = "Votre compte a été bloqué car votre mot de passe est expiré.";
"Login failed due to unhandled error case: " = "Authentification a échouée pour une raison inconnue: ";
"Change your Password" = "Changez votre mot de passe";
"Your password has expired, please enter a new one below:" = "Votre mot de passe est expiré, veuillez entrer un nouveau mot de passe:";
"Password must not be empty." = "Le mot de passe ne doit pas être vide.";
"The passwords do not match. Please try again." = "Les mots de passe ne sont pas identiques. Essayez de nouveau.";
"Password Grace Period" = "Période de grâce pour le mot de passe";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "Vous avez %{0} connexions restantes avant que votre compte ne soit bloqué. Veuillez changer votre mot de passe à partir du panneau de préférences.";
"Password about to expire" = "Expiration du mot de passe";
"Your password is going to expire in %{0} %{1}." = "Votre mot de passe va expirer dans %{0} %{1}.";
"days" = "jours";
"hours" = "heures";
"minutes" = "minutes";
"seconds" = "secondes";
"Password change failed" = "Échec au changement";
"Password change failed - Permission denied" = "Échec au changement - mauvaises permissions";
"Password change failed - Insufficient password quality" = "Échec au changement - qualité insuffisante";
"Password change failed - Password is too short" = "Échec au changement - mot de passe trop court";
"Password change failed - Password is too young" = "Échec au changement - mot de passe trop récent";
"Password change failed - Password is in history" = "Échec au changement - mot de passe dans l'historique";
"Unhandled policy error: %{0}" = "Erreur inconnue pour le ppolicy: %{0}";
"Unhandled error response" = "Erreur inconnue";
"Password change is not supported." = "Changement de mot de passe non-supporté.";
"Unhandled HTTP error code: %{0}" = "Code HTTP non-géré: %{0}";
"New password:" = "Nouveau mot de passe:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Annuler";
"Please wait..." = "Veuillez patienter...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
A szoftver a <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2. licensz alapján kerül terjesztésre<br/>
A szoftver egyes részei a GNU LGPL version 2. licensz alapján kerülnek terjesztésre.<br/><br/>
Ez egy ingyenes szoftver: ön jogosult változtatni és továbbterjeszteni. Nincs garancia, a törvány által megengedett mértékben.";
Ez egy ingyenes szoftver: ön jogosult változtatni és továbbterjeszteni. Nincs garancia, a törvány által megengedett mértékben.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -154,7 +154,7 @@
// no password policy
&& ((expire < 0 && grace < 0) // no password policy or everything is alright
|| (expire < 0 && grace > 0) // password expired, grace still permits login
|| (expire > 0 && grace == -1))) // password about to expire
|| (expire >= 0 && grace == -1))) // password about to expire OR ppolicy activated and passwd never changed
{
NSDictionary *json;

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.<br/>
Copyright © 2002-2005 SKYRIX Software AG<br/><br/>
This software are distributed under the <a href=\"http://gnu.org/licenses/gpl.html\">GNU GPL</a> version 2.<br/>
Parts of this software are distributed under the GNU LGPL version 2.<br/><br/>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.";
"Your account was locked due to too many failed attempts." = "Your account was locked due to too many failed attempts.";
"Your account was locked due to an expired password." = "Your account was locked due to an expired password.";
"Login failed due to unhandled error case: " = "Login failed due to unhandled error case: ";
"Change your Password" = "Change your Password";
"Your password has expired, please enter a new one below:" = "Your password has expired, please enter a new one below:";
"Password must not be empty." = "Password must not be empty.";
"The passwords do not match. Please try again." = "The passwords do not match. Please try again.";
"Password Grace Period" = "Password Grace Period";
"You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog." = "You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.";
"Password about to expire" = "Password about to expire";
"Your password is going to expire in %{0} %{1}." = "Your password is going to expire in %{0} %{1}.";
"days" = "days";
"hours" = "hours";
"minutes" = "minutes";
"seconds" = "seconds";
"Password change failed" = "Password change failed";
"Password change failed - Permission denied" = "Password change failed - Permission denied";
"Password change failed - Insufficient password quality" = "Password change failed - Insufficient password quality";
"Password change failed - Password is too short" = "Password change failed - Password is too short";
"Password change failed - Password is too young" = "Password change failed - Password is too young";
"Password change failed - Password is in history" = "Password change failed - Password is in history";
"Unhandled policy error: %{0}" = "Unhandled policy error: %{0}";
"Unhandled error response" = "Unhandled error response";
"Password change is not supported." = "Password change is not supported.";
"Unhandled HTTP error code: %{0}" = "Unhandled HTTP error code: %{0}";
"New password:" = "New password:";
"Confirmation:" = "Confirmation:";
"Cancel" = "Cancel";
"Please wait..." = "Please wait...";

View File

@ -88,7 +88,7 @@ PasswordPolicy.prototype = {
break;
default:
perr = PolicyPasswordSystemUnknown;
error = _("Unhandled HTTP error code: %{0]").formatted(http.status);
error = _("Unhandled HTTP error code: %{0}").formatted(http.status);
}
this.failureCallback(perr, error);
// showPasswordMessage(error);

View File

@ -171,14 +171,12 @@ function handlePasswordError(jsonResponse) {
SetLogMessage("errorMessage", _("Wrong username or password."));
} else if (perr == PolicyAccountLocked) {
SetLogMessage("errorMessage",
_("Your account was locked due to too many"
+ " failed attempts."));
_("Your account was locked due to too many failed attempts."));
} else if (perr == PolicyChangeAfterReset) {
showPasswordDialog("change", createPasswordChangeDialog, 5);
} else if (perr == PolicyPasswordExpired) {
SetLogMessage("errorMessage",
_("Your account was locked due to an"
+ " expired password."));
_("Your account was locked due to an expired password."));
}
else
SetLogMessage("errorMessage",
@ -226,8 +224,7 @@ function createPasswordChangeDialog() {
var dialog = createDialog("passwordChangeDialog",
_("Change your Password"),
_("Your password has expired, please"
+" enter a new one below:"),
_("Your password has expired, please enter a new one below:"),
fields,
"right");
@ -285,9 +282,7 @@ function createPasswordGraceDialog(tries) {
return createDialog("passwordGraceDialog",
_("Password Grace Period"),
_("You have %{0} logins remaining before your"
+ " account is locked. Please change your"
+ " password in the preference dialog.").formatted(tries),
_("You have %{0} logins remaining before your account is locked. Please change your password in the preference dialog.").formatted(tries),
button,
"right");
}
@ -304,9 +299,27 @@ function createPasswordExpirationDialog(expire) {
button.observe("click", passwordExpirationDialogOK);
button.addClassName("actionButton");
var value, string;
if (expire > 86400) {
value = expire/86400;
string = _("days");
}
else if (expire > 3600) {
value = expire/3600;
string = _("hours");
}
else if (expire > 60) {
value = expire/60;
string = _("minutes");
}
else {
value = expire;
string = _("seconds");
}
return createDialog("passwordExpirationDialog",
_("Password about to expire"),
_("Your password is going to expire in %{0} seconds.").formatted(expire),
_("Your password is going to expire in %{0} %{1}.").formatted(expire, string),
button,
"right");
}