aboutsummaryrefslogtreecommitdiff
path: root/e2fsck/swapfs.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-02-07 03:11:03 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-02-07 03:11:03 +0000
commit0c4a07264e55b42c6e30230e66b1dea7d4b94ea9 (patch)
tree96165d34c5ab119f004cc6258aed31ce9ffbe8e6 /e2fsck/swapfs.c
parent565aea1f404b342e14c92c3970c40efd0229bf3d (diff)
downloade2fsprogs-0c4a07264e55b42c6e30230e66b1dea7d4b94ea9.tar.gz
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>.
Diffstat (limited to 'e2fsck/swapfs.c')
-rw-r--r--e2fsck/swapfs.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/e2fsck/swapfs.c b/e2fsck/swapfs.c
index 3a8a8786..b251e9e7 100644
--- a/e2fsck/swapfs.c
+++ b/e2fsck/swapfs.c
@@ -93,13 +93,13 @@ static void swap_inode_blocks(e2fsck_t ctx, ino_t ino, char *block_buf,
swap_block, &sb);
if (retval) {
com_err("swap_inode_blocks", retval,
- "while calling ext2fs_block_iterate");
+ _("while calling ext2fs_block_iterate"));
ctx->flags |= E2F_FLAG_ABORT;
return;
}
if (sb.errcode) {
com_err("swap_inode_blocks", sb.errcode,
- "while calling iterator function");
+ _("while calling iterator function"));
ctx->flags |= E2F_FLAG_ABORT;
return;
}
@@ -120,7 +120,7 @@ static void swap_inodes(e2fsck_t ctx)
(void **) &buf);
if (retval) {
com_err("swap_inodes", retval,
- "while allocating inode buffer");
+ _("while allocating inode buffer"));
ctx->flags |= E2F_FLAG_ABORT;
return;
}
@@ -132,7 +132,7 @@ static void swap_inodes(e2fsck_t ctx)
fs->inode_blocks_per_group, buf);
if (retval) {
com_err("swap_inodes", retval,
- "while reading inode table (group %d)",
+ _("while reading inode table (group %d)"),
group);
ctx->flags |= E2F_FLAG_ABORT;
return;
@@ -170,7 +170,7 @@ static void swap_inodes(e2fsck_t ctx)
fs->inode_blocks_per_group, buf);
if (retval) {
com_err("swap_inodes", retval,
- "while writing inode table (group %d)",
+ _("while writing inode table (group %d)"),
group);
ctx->flags |= E2F_FLAG_ABORT;
return;
@@ -191,17 +191,17 @@ void swap_filesys(e2fsck_t ctx)
#endif
if (!(ctx->options & E2F_OPT_PREEN))
- printf("Pass 0: Doing byte-swap of filesystem\n");
+ printf(_("Pass 0: Doing byte-swap of filesystem\n"));
#ifdef MTRACE
mtrace_print("Byte swap");
#endif
if (fs->super->s_mnt_count) {
- fprintf(stderr, "%s: the filesystem must be freshly "
+ fprintf(stderr, _("%s: the filesystem must be freshly "
"checked using fsck\n"
"and not mounted before trying to "
- "byte-swap it.\n", ctx->device_name);
+ "byte-swap it.\n"), ctx->device_name);
ctx->flags |= E2F_FLAG_ABORT;
return;
}
@@ -224,7 +224,7 @@ void swap_filesys(e2fsck_t ctx)
#ifdef RESOURCE_TRACK
if (ctx->options & E2F_OPT_TIME2)
- print_resource_track("Byte swap", &rtrack);
+ print_resource_track(_("Byte swap"), &rtrack);
#endif
}