summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenno Schulenberg2013-10-03 23:03:28 +0200
committerKarel Zak2013-10-08 15:38:39 +0200
commit119ed9bfcd8c241bbc837e7dfe0f827b3928956c (patch)
tree9a33a1b2e4b9432b9d6ca1b3c4f21979417e106e
parenttextual: use consistent wording and punctuation in fdisk stuff (diff)
downloadkernel-qcow2-util-linux-119ed9bfcd8c241bbc837e7dfe0f827b3928956c.tar.gz
kernel-qcow2-util-linux-119ed9bfcd8c241bbc837e7dfe0f827b3928956c.tar.xz
kernel-qcow2-util-linux-119ed9bfcd8c241bbc837e7dfe0f827b3928956c.zip
textual: tag a translator comment and put it in proper place
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
-rw-r--r--misc-utils/cal.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index d31b51d0b..76d62521b 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -456,12 +456,6 @@ static int do_monthly(int day, int month, long year,
day_array(day, month, year, days);
- /*
- * %s is the month name, %d the year number.
- * you can change the order and/or add something here; eg for
- * Basque the translation should be: "%2$dko %1$s", and
- * the Vietnamese should be "%s na(m %d", etc.
- */
if (header_hint < 0)
header_hint = two_header_lines(month, year);
if (header_hint) {
@@ -472,6 +466,10 @@ static int do_monthly(int day, int month, long year,
center_str(lineout, out->s[pos], ARRAY_SIZE(out->s[pos]), width);
pos++;
} else {
+ /* TRANSLATORS: %s is the month name, %ld the year number.
+ * You can change the order and/or add something here;
+ * e.g. for Basque the translation should be "%2$ldko %1$s",
+ * and the Vietnamese should be "%s năm %d", and so on. */
snprintf(lineout, sizeof(lineout), _("%s %ld"),
full_month[month - 1], year);
center_str(lineout, out->s[pos], ARRAY_SIZE(out->s[pos]), width);