Many files:
badblocks.c, e2fsck.h, ehandler.c, emptydir.c, extend.c, flushb.c,
iscan.c, message.c, pass1.c, pass1b.c, pass3.c pass4.c, pass5.c,
problem.c, scantest.c, swapfs.c, unix.c, util.c: Add
Internationalization support as suggested by Marco d'Itri
<md@linux.it>.
diff --git a/e2fsck/emptydir.c b/e2fsck/emptydir.c
index 6229a6b..0427829 100644
--- a/e2fsck/emptydir.c
+++ b/e2fsck/emptydir.c
@@ -53,12 +53,12 @@
if (retval)
goto errout;
- retval = ext2fs_allocate_block_bitmap(ctx->fs, "empty dirblocks",
+ retval = ext2fs_allocate_block_bitmap(ctx->fs, _("empty dirblocks"),
&edi->empty_dir_blocks);
if (retval)
goto errout;
- retval = ext2fs_allocate_inode_bitmap(ctx->fs, "empty dir map",
+ retval = ext2fs_allocate_inode_bitmap(ctx->fs, _("empty dir map"),
&edi->dir_map);
if (retval)
goto errout;
@@ -94,7 +94,7 @@
if (db->ino == 11)
return; /* Inode number 11 is usually lost+found */
- printf("Empty directory block %d (#%d) in inode %d\n",
+ printf(_("Empty directory block %d (#%d) in inode %d\n"),
db->blk, db->blockcnt, db->ino);
ext2fs_mark_block_bitmap(edi->empty_dir_blocks, db->blk);