]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: add some guiding comments for translators
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 30 Jul 2011 19:28:07 +0000 (21:28 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Aug 2011 12:13:44 +0000 (14:13 +0200)
These are picked up by xgettext and put in the POT file.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
login-utils/login.c
misc-utils/lsblk.c
sys-utils/fstrim.c

index 554e5a28cca0bd24504ace24d8e79450eb23e261..de56f2dcd6cbc012b329c33f160e7851c16dec19 100644 (file)
@@ -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);
index c318137d5ca9148d221089e0b1f9a17045daf0f8..3c4555d871f71249481807fd7c414992c60efcbb 100644 (file)
@@ -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));
index 597f78147637fef77600f0f6027bc41a9e6c45f8..0006091d91989377669e0d70085025a93aa0c346 100644 (file)
@@ -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);