| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 3/6] Apply gettext translation to strings kept in format->{fmt,msg,type}. |
| From: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| Date: | Mon, 15 Dec 2008 20:29:43 +0100 |
| Cc: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| In-reply-to: | <1229369386-66312-2-git-send-email-arekm@maven.pl> |
| References: | <1229369386-66312-1-git-send-email-arekm@maven.pl> <1229369386-66312-2-git-send-email-arekm@maven.pl> |
Patch by Jakub Bogusz <qboosh@xxxxxxxxxxxxx>.
---
xfsprogs/repair/progress.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/xfsprogs/repair/progress.c b/xfsprogs/repair/progress.c
index ff42f82..c6630e5 100644
--- a/xfsprogs/repair/progress.c
+++ b/xfsprogs/repair/progress.c
@@ -339,16 +339,16 @@ print_final_rpt(void)
if (report_interval) {
switch(msgp->format->format) {
case FMT1:
- sprintf (msgbuf, *msgp->format->fmt,
+ sprintf (msgbuf, _(*msgp->format->fmt),
tmp->tm_hour, tmp->tm_min, tmp->tm_sec,
- msgp->format->msg, sum,
- *msgp->total, *msgp->format->type);
+ _(msgp->format->msg), sum,
+ *msgp->total, _(*msgp->format->type));
break;
case FMT2:
- sprintf (msgbuf, *msgp->format->fmt,
+ sprintf (msgbuf, _(*msgp->format->fmt),
tmp->tm_hour, tmp->tm_min, tmp->tm_sec,
- msgp->format->msg, sum,
- *msgp->format->type);
+ _(msgp->format->msg), sum,
+ _(*msgp->format->type));
break;
}
do_log(_("%s"), msgbuf);
--
1.6.0.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 12x performance drop on md/linux+sw raid1 due to barriers [xfs], Martin Steigerwald |
|---|---|
| Next by Date: | [PATCH 4/6] xfs_quota: Return non zero exit status in error conditions., Arkadiusz Miskiewicz |
| Previous by Thread: | [PATCH 2/6] Fix build when gettext is enabled., Arkadiusz Miskiewicz |
| Next by Thread: | [PATCH 4/6] xfs_quota: Return non zero exit status in error conditions., Arkadiusz Miskiewicz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |