See ChangeLog

Monotone-Parent: 1d50284cefca6f8926df742321e4f938e6a5b91f
Monotone-Revision: bf61903ccf7c6cc0d2ac1b5e7741da7a1e6dd891

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-04-05T19:38:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2010-04-05 19:38:43 +00:00
parent b54ddf24e9
commit 6069996d9c
3 changed files with 26 additions and 4 deletions
+4 -4
View File
@@ -302,15 +302,15 @@ function createPasswordExpirationDialog(expire) {
var value, string;
if (expire > 86400) {
value = expire/86400;
value = Math.round(expire/86400);
string = _("days");
}
else if (expire > 3600) {
value = expire/3600;
value = Math.round(expire/3600);
string = _("hours");
}
else if (expire > 60) {
value = expire/60;
value = Math.round(expire/60);
string = _("minutes");
}
else {
@@ -319,7 +319,7 @@ function createPasswordExpirationDialog(expire) {
}
return createDialog("passwordExpirationDialog",
_("Password about to expire"),
_("Your password is going to expire in %{0} %{1}.").formatted(expire, string),
_("Your password is going to expire in %{0} %{1}.").formatted(value, string),
button,
"right");
}