summaryrefslogtreecommitdiff
path: root/e2fsck
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsck')
-rw-r--r--e2fsck/ChangeLog5
-rw-r--r--e2fsck/message.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 9d1816bc..a0a4854b 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-27 Theodore Ts'o <tytso@mit.edu>
+
+ * message.c (expand_at_expression): Fixed NLS support for message
+ abbreviations.
+
2003-04-21 Theodore Ts'o <tytso@mit.edu>
* Release of E2fsprogs 1.33
diff --git a/e2fsck/message.c b/e2fsck/message.c
index 6c81eeb2..059e2949 100644
--- a/e2fsck/message.c
+++ b/e2fsck/message.c
@@ -218,12 +218,12 @@ static _INLINE_ void expand_at_expression(e2fsck_t ctx, char ch,
break;
}
if (*cpp) {
- str = (*cpp) + 1;
+ str = _(*cpp) + 1;
if (*first && islower(*str)) {
*first = 0;
fputc(toupper(*str++), stdout);
}
- print_e2fsck_message(ctx, _(str), pctx, *first);
+ print_e2fsck_message(ctx, str, pctx, *first);
} else
printf("@%c", ch);
}