diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2003-05-03 18:45:55 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2003-05-03 18:45:55 -0400 |
| commit | ddc32a045bd3bd35968ace2dbe22179470baec0b (patch) | |
| tree | 0d1b371fe7ab321a166d65c6e49e9aef77ef98e6 /misc | |
| parent | bc7c14e0408665addd01b978b1950963b1ed799f (diff) | |
| download | e2fsprogs-ddc32a045bd3bd35968ace2dbe22179470baec0b.tar.gz | |
Add Czech translation.
Remove "NYC" translation. Add Czech translation from Miloslav
Trmac <mitr@volny.cz>
Random NLS and other display fixes from Miloslav.
Diffstat (limited to 'misc')
| -rw-r--r-- | misc/ChangeLog | 8 | ||||
| -rw-r--r-- | misc/badblocks.c | 2 | ||||
| -rw-r--r-- | misc/e2image.c | 2 | ||||
| -rw-r--r-- | misc/findsuper.c | 2 | ||||
| -rw-r--r-- | misc/mke2fs.c | 2 | ||||
| -rw-r--r-- | misc/util.c | 2 | ||||
| -rw-r--r-- | misc/uuidgen.c | 7 |
7 files changed, 20 insertions, 5 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog index 83fc2c68..b3ae38e0 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,5 +1,13 @@ 2003-05-03 Theodore Ts'o <tytso@mit.edu> + * uuidgen.c (main): Add setup functions for NLS support. + + * e2image.c (write_header), mke2fs.c (PRS): Add missing space in + displayed message. + + * badblocks.c (usage), findsuper.c (main), util.c + (parse_journal_opts): Fix typo in usage string. + * tune2fs.c (parse_time): Add portability code to work around lack of strptime(). diff --git a/misc/badblocks.c b/misc/badblocks.c index ba3db875..5afdd3f3 100644 --- a/misc/badblocks.c +++ b/misc/badblocks.c @@ -64,7 +64,7 @@ static int force = 0; /* force check of mounted device */ static void usage(void) { - fprintf(stderr, _("Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n [-c blocks_at_once] [-p num_passes] device [last_block [start_count]]\n"), + fprintf(stderr, _("Usage: %s [-b block_size] [-i input_file] [-o output_file] [-svwnf]\n [-c blocks_at_once] [-p num_passes] device [last_block [start_block]]\n"), program_name); exit (1); } diff --git a/misc/e2image.c b/misc/e2image.c index f692170d..1cb2a1d0 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -77,7 +77,7 @@ static void write_header(int fd, struct ext2_image_hdr *hdr, int blocksize) exit(1); } if (actual != blocksize) { - fprintf(stderr, _("short write (only %d bytes) for" + fprintf(stderr, _("short write (only %d bytes) for " "writing image header"), actual); exit(1); } diff --git a/misc/findsuper.c b/misc/findsuper.c index 7c77ebbe..8fb163ba 100644 --- a/misc/findsuper.c +++ b/misc/findsuper.c @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) if (argc>2) skiprate = strtol(argv[2], &s, 0); if (s == argv[2]) { - fprintf(stderr,_("skiprate should be a number, not %s\n"), s); + fprintf(stderr,_("skipbytes should be a number, not %s\n"), s); exit(1); } if (skiprate & 0x1ff) { diff --git a/misc/mke2fs.c b/misc/mke2fs.c index 94999107..d30729a5 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -1090,7 +1090,7 @@ static void PRS(int argc, char *argv[]) } if ((blocksize < 0) && (jfs->blocksize < -blocksize)) { com_err(program_name, 0, - _("Journal dev blocksize (%d) smaller than" + _("Journal dev blocksize (%d) smaller than " "minimum blocksize %d\n"), jfs->blocksize, -blocksize); exit(1); diff --git a/misc/util.c b/misc/util.c index 6dbeba1d..70f98b11 100644 --- a/misc/util.c +++ b/misc/util.c @@ -202,7 +202,7 @@ void parse_journal_opts(const char *opts) "Journal options are separated by commas, " "and may take an argument which\n" "\tis set off by an equals ('=') sign.\n\n" - "Valid raid options are:\n" + "Valid journal options are:\n" "\tsize=<journal size in megabytes>\n" "\tdevice=<journal device>\n\n" "The journal size must be between " diff --git a/misc/uuidgen.c b/misc/uuidgen.c index 1eaddbcb..e13aad56 100644 --- a/misc/uuidgen.c +++ b/misc/uuidgen.c @@ -39,6 +39,13 @@ main (int argc, char *argv[]) char str[37]; uuid_t uu; +#ifdef ENABLE_NLS + setlocale(LC_MESSAGES, ""); + setlocale(LC_CTYPE, ""); + bindtextdomain(NLS_CAT_NAME, LOCALEDIR); + textdomain(NLS_CAT_NAME); +#endif + while ((c = getopt (argc, argv, "tr")) != EOF) switch (c) { case 't': |
