diff options
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index a6849e63f..cea5a0be3 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -589,8 +589,12 @@ sub formatTime($) { my ($s, $m, $h) = gmtime($_[0]); if ($h) { sprintf "%02d:%02d", $h, $m; + } elsif ($m > 1) { + _("%d minutes", $m); + } elsif ($m == 1) { + _("1 minute"); } else { - sprintf _("%d minutes"), $m; + _("%d seconds", $s); } } |