]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: use pluralized translations.
authorLauri Nurmi <lanurmi@iki.fi>
Sat, 26 Jul 2014 09:35:54 +0000 (12:35 +0300)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2014 09:47:50 +0000 (11:47 +0200)
sys-utils/hwclock.c

index bdac003e005e4195232ef95a2083f5fc70308bc1..a934acea212b9dda8b8ab6df52eec084a42c43c2 100644 (file)
@@ -1098,10 +1098,15 @@ calculate_adjustment(const double factor,
 
        *retro_p = exact_adjustment - (double)*adjustment_p;
        if (debug) {
-               printf(_("Time since last adjustment is %d seconds\n"),
+               printf(P_("Time since last adjustment is %d second\n",
+                       "Time since last adjustment is %d seconds\n",
+                      (int)(systime - last_time)),
                       (int)(systime - last_time));
-               printf(_("Need to insert %d seconds and refer time back "
-                        "%.6f seconds ago\n"), *adjustment_p, *retro_p);
+               printf(P_("Need to insert %d second and refer time back "
+                        "%.6f seconds ago\n",
+                        "Need to insert %d seconds and refer time back "
+                        "%.6f seconds ago\n", *adjustment_p),
+                        *adjustment_p, *retro_p);
        }
 }