+2003-09-14 Bruno Haible <bruno@clisp.org>
+
+ * msgfmt.c (check_plural_eval): Mark some strings as c-format.
+ (msgfmt_add_message): Make static.
+ * po-lex.c (mbfile_getc, control_sequence): Mark some strings as
+ c-format.
+
2003-09-18 Bruno Haible <bruno@clisp.org>
* FILES: Update.
#if USE_SIGINFO
# ifdef FPE_INTDIV
case FPE_INTDIV:
+ /* xgettext: c-format */
msg = _("plural expression can produce division by zero");
break;
# endif
# ifdef FPE_INTOVF
case FPE_INTOVF:
+ /* xgettext: c-format */
msg = _("plural expression can produce integer overflow");
break;
# endif
default:
#endif
+ /* xgettext: c-format */
msg = _("plural expression can produce arithmetic exceptions, possibly division by zero");
}
}
-void
+static void
msgfmt_add_message (default_po_reader_ty *this,
char *msgid,
lex_pos_ty *msgid_pos,
/* An invalid multibyte sequence was encountered. */
/* Return a single byte. */
if (signal_eilseq)
+ /* xgettext: c-format */
po_gram_error (_("invalid multibyte sequence"));
bytes = 1;
mbc->uc_valid = false;
if (ferror (mbf->fp))
goto eof;
if (signal_eilseq)
+ /* xgettext: c-format */
po_gram_error (_("\
incomplete multibyte sequence at end of file"));
bytes = mbf->bufcount;
if (c == '\n')
{
if (signal_eilseq)
+ /* xgettext: c-format */
po_gram_error (_("\
incomplete multibyte sequence at end of line"));
bytes = mbf->bufcount - 1;
/* FIXME: \u and \U are not handled. */
}
lex_ungetc (mbc);
+ /* xgettext: c-format */
po_gram_error (_("invalid control sequence"));
return ' ';
}