| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 04/20] Apply gettext translation to strings kept in format->{fmt, msg, type} |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 22 Dec 2008 11:38:35 -0500 |
| Cc: | Arkadiusz Miskiewicz <arekm@xxxxxxxx> |
| References: | <20081222163831.755809000@bombadil.infradead.org> |
| User-agent: | quilt/0.46-1 |
From: Jakub Bogusz <qboosh@xxxxxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
---
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
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs
--
|
| Previous by Date: | [PATCH 03/20] Fix build when gettext is enabled, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 06/20] build system: Make --enable-gettext actually enable gettext, Christoph Hellwig |
| Previous by Thread: | [PATCH 03/20] Fix build when gettext is enabled, Christoph Hellwig |
| Next by Thread: | [PATCH 06/20] build system: Make --enable-gettext actually enable gettext, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |