From: Benno Schulenberg Date: Sat, 30 Jul 2011 19:28:07 +0000 (+0200) Subject: textual: add some guiding comments for translators X-Git-Tag: v2.20-rc2~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f14f02f581fde2a30d5c8d69061b8200d02a1334;p=thirdparty%2Futil-linux.git textual: add some guiding comments for translators These are picked up by xgettext and put in the POT file. Signed-off-by: Benno Schulenberg --- diff --git a/login-utils/login.c b/login-utils/login.c index 554e5a28cc..de56f2dcd6 100644 --- a/login-utils/login.c +++ b/login-utils/login.c @@ -1356,6 +1356,7 @@ static void timedout(int sig __attribute__((__unused__))) { signal(SIGALRM, timedout2); alarm(10); + /* TRANSLATORS: The standard value for %d is 60. */ warnx(_("timed out after %d seconds"), timeout); signal(SIGALRM, SIG_IGN); alarm(0); diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index c318137d5c..3c4555d871 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -856,6 +856,7 @@ static void parse_excludes(const char *str) excludes[nexcludes++] = n; if (nexcludes == ARRAY_SIZE(excludes)) + /* TRANSLATORS: The standard value for %d is 256. */ errx(EXIT_FAILURE, _("the list of excluded devices is " "too large (limit is %d devices)"), (int)ARRAY_SIZE(excludes)); diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index 597f781476..0006091d91 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -143,6 +143,7 @@ int main(int argc, char **argv) err(EXIT_FAILURE, _("%s: FITRIM ioctl failed"), path); if (verbose) + /* TRANSLATORS: The standard value here is a very large number. */ printf(_("%s: %" PRIu64 " bytes were trimmed\n"), path, (uint64_t) range.len); close(fd);