From 65b27d36694d3a2408c3fb1cdb952eec8dffadc0 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 12 Aug 2007 11:48:34 +0200 Subject: [PATCH] po: gettextizing some overlooked messages. Gettextize three new strings, make two strings indentical to two others, and gettextize three strings that are already gettextized elsewhere. Signed-off-by: Benno Schulenberg Signed-off-by: Karel Zak --- disk-utils/blockdev.c | 4 ++-- disk-utils/fsck.minix.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index 0b30cd5c..d02ebbce 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -120,7 +120,7 @@ usage(void) { fprintf(stderr, _("Available commands:\n")); fprintf(stderr, "\t%-30s %s\n", "--getsz", - "get size in 512-byte sectors"); + _("get size in 512-byte sectors")); for (i = 0; i < SIZE(bdcms); i++) { if (bdcms[i].argname) fprintf(stderr, "\t%s %-*s %s\n", bdcms[i].name, @@ -326,7 +326,7 @@ do_commands(int fd, char **argv, int d) { if (res == -1) { perror(bdcms[j].iocname); if (verbose) - printf("%s failed.\n", _(bdcms[j].help)); + printf(_("%s failed.\n"), _(bdcms[j].help)); exit(1); } switch(bdcms[j].argtype) { diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c index 4553c49a..cd41d795 100644 --- a/disk-utils/fsck.minix.c +++ b/disk-utils/fsck.minix.c @@ -590,7 +590,7 @@ read_tables(void) { die(_("Unable to allocate buffer for inode map")); zone_map = malloc(ZMAPS * BLOCK_SIZE); if (!inode_map) - die("Unable to allocate buffer for zone map"); + die(_("Unable to allocate buffer for zone map")); memset(inode_map,0,sizeof(inode_map)); memset(zone_map,0,sizeof(zone_map)); inode_buffer = malloc(INODE_BUFFER_SIZE); @@ -736,7 +736,7 @@ check_root2 (void) { struct minix2_inode *inode = Inode2 + ROOT_INO; if (!inode || !S_ISDIR (inode->i_mode)) - die ("root inode isn't a directory"); + die(_("root inode isn't a directory")); } static int @@ -953,7 +953,7 @@ check_file(struct minix_inode * dir, unsigned int offset) { if (!offset) { if (!inode || strcmp(".",name)) { get_current_name(); - printf(_("`%s': bad directory: '.' isn't first\n"), + printf(_("%s: bad directory: '.' isn't first\n"), current_name); errors_uncorrected = 1; } else return; @@ -961,7 +961,7 @@ check_file(struct minix_inode * dir, unsigned int offset) { if (offset == dirsize) { if (!inode || strcmp("..",name)) { get_current_name(); - printf(_("`%s': bad directory: '..' isn't second\n"), + printf(_("%s: bad directory: '..' isn't second\n"), current_name); errors_uncorrected = 1; } else return; @@ -1081,7 +1081,7 @@ recursive_check2 (unsigned int ino) { dir = Inode2 + ino; if (!S_ISDIR (dir->i_mode)) - die ("internal error"); + die(_("internal error")); if (dir->i_size < 2 * dirsize) { get_current_name (); printf (_("%s: bad directory: size < 32"), @@ -1124,7 +1124,7 @@ check_counts(void) { if (!inode_in_use(i)) { printf(_("Inode %d used, marked unused in the bitmap."), i); - if (ask("Set",1)) + if (ask(_("Set"),1)) mark_inode(i); } if (Inode[i].i_nlinks != inode_count[i]) { -- 2.39.5