summaryrefslogtreecommitdiff
path: root/sys-utils
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2014-01-26 22:32:15 +0100
committerKarel Zak <kzak@redhat.com>2014-02-10 18:41:55 +0100
commitb2d97db8c80eacab2e028cd4840064f063410b2b (patch)
tree8214557746d25d1e1ed3e12bbe91fb5721b8086a /sys-utils
parentad1d426aea74da1081412b9a07a180a17819ee60 (diff)
downloadutil-linux-b2d97db8c80eacab2e028cd4840064f063410b2b.tar.gz
hwclock: internationalizing the message of the used interface
In addition, do it in a single sentence instead of in two fragments. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/hwclock-cmos.c2
-rw-r--r--sys-utils/hwclock-kd.c2
-rw-r--r--sys-utils/hwclock-rtc.c2
-rw-r--r--sys-utils/hwclock.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys-utils/hwclock-cmos.c b/sys-utils/hwclock-cmos.c
index 58b3ea5d..7ffbf959 100644
--- a/sys-utils/hwclock-cmos.c
+++ b/sys-utils/hwclock-cmos.c
@@ -649,7 +649,7 @@ static int get_permissions_cmos(void)
}
static struct clock_ops cmos = {
- "direct I/O instructions to ISA clock",
+ N_("Using direct I/O instructions to ISA clock."),
get_permissions_cmos,
read_hardware_clock_cmos,
set_hardware_clock_cmos,
diff --git a/sys-utils/hwclock-kd.c b/sys-utils/hwclock-kd.c
index 8e67009c..3dac7072 100644
--- a/sys-utils/hwclock-kd.c
+++ b/sys-utils/hwclock-kd.c
@@ -143,7 +143,7 @@ static int get_permissions_kd(void)
}
static struct clock_ops kd = {
- "KDGHWCLK interface to m68k clock",
+ N_("Using the KDGHWCLK interface to m68k clock."),
get_permissions_kd,
read_hardware_clock_kd,
set_hardware_clock_kd,
diff --git a/sys-utils/hwclock-rtc.c b/sys-utils/hwclock-rtc.c
index a22ce4c2..78f42aa4 100644
--- a/sys-utils/hwclock-rtc.c
+++ b/sys-utils/hwclock-rtc.c
@@ -397,7 +397,7 @@ static int get_permissions_rtc(void)
}
static struct clock_ops rtc = {
- "/dev interface to clock",
+ N_("Using the /dev interface to the clock."),
get_permissions_rtc,
read_hardware_clock_rtc,
set_hardware_clock_rtc,
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index 5dd7919e..30660d4a 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -1140,7 +1140,7 @@ static void determine_clock_access_method(const bool user_requests_ISA)
if (debug) {
if (ur)
- printf(_("Using %s.\n"), ur->interface_name);
+ puts(_(ur->interface_name));
else
printf(_("No usable clock interface found.\n"));
}