From: Bruno Haible Date: Tue, 29 Jan 2008 22:34:09 +0000 (+0000) Subject: Change an error to a warning. X-Git-Tag: v0.18~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b9c6ba9023ac46278403e2c06f0856083316a95;p=thirdparty%2Fgettext.git Change an error to a warning. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index f169955b0..441cd2269 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2008-01-29 Bruno Haible + + * write-po.c (wrap): Change the severity of the "should not contain + escape sequence" message from PO_SEVERITY_ERROR to PO_SEVERITY_WARNING. + Reported by Kerb . + 2008-01-13 Bruno Haible * Makefile.am (noinst_headers): Add msgl-header.h. diff --git a/gettext-tools/src/write-po.c b/gettext-tools/src/write-po.c index 5961fa92c..982d465c0 100644 --- a/gettext-tools/src/write-po.c +++ b/gettext-tools/src/write-po.c @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc. + Copyright (C) 1995-1998, 2000-2008 Free Software Foundation, Inc. This file was written by Peter Miller @@ -776,7 +776,7 @@ wrap (const message_ty *mp, ostream_t stream, xasprintf (_("\ internationalized messages should not contain the `\\%c' escape sequence"), c); - po_xerror (PO_SEVERITY_ERROR, mp, NULL, 0, 0, false, + po_xerror (PO_SEVERITY_WARNING, mp, NULL, 0, 0, false, error_message); free (error_message); }