summaryrefslogtreecommitdiffstats
path: root/misc-utils/cal.c
diff options
context:
space:
mode:
authorSami Kerola2018-05-10 22:18:53 +0200
committerKarel Zak2018-05-28 13:36:38 +0200
commit1405658822ac6add648fa02b5c26c2e28617eab9 (patch)
tree1bed03851bd2de41530c7f2dfe3518743fcf1a28 /misc-utils/cal.c
parentbash-completion: add swapon specifiers to completion (diff)
downloadkernel-qcow2-util-linux-1405658822ac6add648fa02b5c26c2e28617eab9.tar.gz
kernel-qcow2-util-linux-1405658822ac6add648fa02b5c26c2e28617eab9.tar.xz
kernel-qcow2-util-linux-1405658822ac6add648fa02b5c26c2e28617eab9.zip
nls: remove translation strings
While looking earlier commit I noticed everything but formatting was removed from a message in namei.c file. That inspired me to look if there are more strings that does not need translation project attention. This change removes at least some of them, if not all. Reference: e19cc7b65b31c57f0fe9cb73c9afad5197796f82 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/cal.c')
-rw-r--r--misc-utils/cal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index 266f77bdc..2a86c1992 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -739,19 +739,19 @@ static void cal_output_header(struct cal_month *month, const struct cal_control
if (ctl->header_hint || ctl->header_year) {
for (i = month; i; i = i->next) {
- sprintf(out, _("%s"), ctl->full_month[i->month - 1]);
+ sprintf(out, "%s", ctl->full_month[i->month - 1]);
center(out, ctl->week_width - 1, i->next == NULL ? 0 : ctl->gutter_width);
}
if (!ctl->header_year) {
my_putstring("\n");
for (i = month; i; i = i->next) {
- sprintf(out, _("%04d"), i->year);
+ sprintf(out, "%04d", i->year);
center(out, ctl->week_width - 1, i->next == NULL ? 0 : ctl->gutter_width);
}
}
} else {
for (i = month; i; i = i->next) {
- sprintf(out, _("%s %04d"), ctl->full_month[i->month - 1], i->year);
+ sprintf(out, "%s %04d", ctl->full_month[i->month - 1], i->year);
center(out, ctl->week_width - 1, i->next == NULL ? 0 : ctl->gutter_width);
}
}