[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Enable msgfmt to work with translatable strings from expr.c.
From: |
Micah Cowan |
Subject: |
[PATCH] Enable msgfmt to work with translatable strings from expr.c. |
Date: |
Wed, 24 Oct 2007 19:44:51 -0700 |
* src/expr.c (usage): Mark the string describing "ARG1 % ARG2"
as not being a fprintf-style format string, for xgettext.
---
ChangeLog | 5 +++++
src/expr.c | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9377791..8537a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-24 Micah Cowan <address@hidden>
+
+ * src/expr.c (usage): Mark the string describing "ARG1 % ARG2"
+ as not being a fprintf-style format string, for xgettext.
+
2007-10-24 Jim Meyering <address@hidden>
Avoid diagnostics from sha1sum when there is no cached checksum.
diff --git a/src/expr.c b/src/expr.c
index c800065..f4189c6 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -128,6 +128,7 @@ separates increasing precedence groups. EXPRESSION may
be:\n\
ARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n\
ARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n\
"), stdout);
+ /* xgettext:no-c-format */
fputs (_("\
\n\
ARG1 * ARG2 arithmetic product of ARG1 and ARG2\n\
--
1.5.2.5
Re: Errors in the coreutils-6.9 PO file, Eric Blake, 2007/10/24
Re: Errors in the coreutils-6.9 PO file, Eric Blake, 2007/10/24
Re: Errors in the coreutils-6.9 PO file, Jim Meyering, 2007/10/27