diff --git a/ChangeLog b/ChangeLog index 4e32e1a2a..297b0a02b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-03-28 Ludovic Marcotte + + * Translated to French all the ppolicy stuff + 2010-03-26 Ludovic Marcotte * Updated the documentation with regard to diff --git a/UI/MainUI/BrazilianPortuguese.lproj/Localizable.strings b/UI/MainUI/BrazilianPortuguese.lproj/Localizable.strings index de49e9bfb..9c407834a 100644 --- a/UI/MainUI/BrazilianPortuguese.lproj/Localizable.strings +++ b/UI/MainUI/BrazilianPortuguese.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Czech.lproj/Localizable.strings b/UI/MainUI/Czech.lproj/Localizable.strings index 09caed1c4..b1d364f58 100644 --- a/UI/MainUI/Czech.lproj/Localizable.strings +++ b/UI/MainUI/Czech.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Dutch.lproj/Localizable.strings b/UI/MainUI/Dutch.lproj/Localizable.strings index eb2112f92..1e409cbf7 100644 --- a/UI/MainUI/Dutch.lproj/Localizable.strings +++ b/UI/MainUI/Dutch.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/English.lproj/Localizable.strings b/UI/MainUI/English.lproj/Localizable.strings index 929af541f..92d09e4a3 100644 --- a/UI/MainUI/English.lproj/Localizable.strings +++ b/UI/MainUI/English.lproj/Localizable.strings @@ -37,4 +37,34 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/French.lproj/Localizable.strings b/UI/MainUI/French.lproj/Localizable.strings index 281b0c2ab..7289b34fd 100644 --- a/UI/MainUI/French.lproj/Localizable.strings +++ b/UI/MainUI/French.lproj/Localizable.strings @@ -37,4 +37,34 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/German.lproj/Localizable.strings b/UI/MainUI/German.lproj/Localizable.strings index 661d8162d..d1b6817c3 100644 --- a/UI/MainUI/German.lproj/Localizable.strings +++ b/UI/MainUI/German.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Hungarian.lproj/Localizable.strings b/UI/MainUI/Hungarian.lproj/Localizable.strings index c29dd6be1..613447e8b 100644 --- a/UI/MainUI/Hungarian.lproj/Localizable.strings +++ b/UI/MainUI/Hungarian.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

A szoftver a GNU GPL version 2. licensz alapján kerül terjesztésre
A szoftver egyes részei a GNU LGPL version 2. licensz alapján kerülnek terjesztésre.

-Ez egy ingyenes szoftver: ön jogosult változtatni és továbbterjeszteni. Nincs garancia, a törvány által megengedett mértékben."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Russian.lproj/Localizable.strings b/UI/MainUI/Russian.lproj/Localizable.strings index 80dc597cf..4bf0460ad 100644 --- a/UI/MainUI/Russian.lproj/Localizable.strings +++ b/UI/MainUI/Russian.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/SOGoRootPage.m b/UI/MainUI/SOGoRootPage.m index 11dcf1a11..cdd2bfde3 100644 --- a/UI/MainUI/SOGoRootPage.m +++ b/UI/MainUI/SOGoRootPage.m @@ -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; diff --git a/UI/MainUI/Spanish.lproj/Localizable.strings b/UI/MainUI/Spanish.lproj/Localizable.strings index 7532cd9ec..261c6b5d4 100644 --- a/UI/MainUI/Spanish.lproj/Localizable.strings +++ b/UI/MainUI/Spanish.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Swedish.lproj/Localizable.strings b/UI/MainUI/Swedish.lproj/Localizable.strings index a6b319539..9fc4873c5 100644 --- a/UI/MainUI/Swedish.lproj/Localizable.strings +++ b/UI/MainUI/Swedish.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/MainUI/Welsh.lproj/Localizable.strings b/UI/MainUI/Welsh.lproj/Localizable.strings index 1943bac42..bb5769972 100644 --- a/UI/MainUI/Welsh.lproj/Localizable.strings +++ b/UI/MainUI/Welsh.lproj/Localizable.strings @@ -37,4 +37,33 @@ Copyright © 2006-2009 Inverse inc.
Copyright © 2002-2005 SKYRIX Software AG

This software are distributed under the GNU GPL version 2.
Parts of this software are distributed under the GNU LGPL version 2.

-This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."; \ No newline at end of file +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..."; \ No newline at end of file diff --git a/UI/WebServerResources/PasswordPolicy.js b/UI/WebServerResources/PasswordPolicy.js index 089e15725..440a4bf7c 100644 --- a/UI/WebServerResources/PasswordPolicy.js +++ b/UI/WebServerResources/PasswordPolicy.js @@ -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); diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index bf2679ea7..8958d2a4c 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -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"); }