summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorLauri Nurmi2014-07-26 11:35:54 +0200
committerKarel Zak2014-07-28 11:47:50 +0200
commit5adf126ef2c370cd14299f6ed0a151c77b8acc3f (patch)
tree5b09b6cb617ce694a80620019ac2ff4761b55a61 /sys-utils/hwclock.c
parentmore: replace ad-hoc support for plurals with gettext plurals. (diff)
downloadkernel-qcow2-util-linux-5adf126ef2c370cd14299f6ed0a151c77b8acc3f.tar.gz
kernel-qcow2-util-linux-5adf126ef2c370cd14299f6ed0a151c77b8acc3f.tar.xz
kernel-qcow2-util-linux-5adf126ef2c370cd14299f6ed0a151c77b8acc3f.zip
hwclock: use pluralized translations.
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r--sys-utils/hwclock.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index bdac003e0..a934acea2 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -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);
}
}