From: Karel Zak Date: Fri, 11 Oct 2013 10:53:56 +0000 (+0200) Subject: cal: fix gettext warning X-Git-Tag: v2.24-rc2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ec8187eed4c3736a34eb45d670eb491474a805d;p=thirdparty%2Futil-linux.git cal: fix gettext warning /usr/bin/xgettext: Non-ASCII comment at or before misc-utils/cal.c:473. Please specify the source encoding through --from-code. Signed-off-by: Karel Zak --- diff --git a/misc-utils/cal.c b/misc-utils/cal.c index 2360e3da77..a286d8d545 100644 --- a/misc-utils/cal.c +++ b/misc-utils/cal.c @@ -468,8 +468,8 @@ static int do_monthly(int day, int month, long year, } 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. */ + * e.g. for Basque the translation should be "%2$ldko %1$s". + */ snprintf(lineout, sizeof(lineout), _("%s %ld"), full_month[month - 1], year); center_str(lineout, out->s[pos], ARRAY_SIZE(out->s[pos]), width);