Sam Ravnborg 612c280ef2 kconfig: fix update-po-config to accect backslash in input
Massimo Maiurana reported (slightly edited):

=====
In latest 2.6.29 "make update-po-config" fails at msguniq invocation
with an "invalid control sequence" error.
The offending string is the following, and it's located in
drivers/staging/panel/Kconfig:72:

    "'\e[L' which are specific to the LCD, and a few ANSI codes. The"

looks to me like gettext expects strings in printf format, so in
this case it thinks "\e" is a control sequence but doesn't recognise
it as a valid one.

A valid solution would be to tell kxgettext to automatically
escape this kind of strings in the */config.pot he produces, so that
msguniq would not complain.
=====

This patch implements the suggested escaping.

Reported-by: Massimo Maiurana <maiurana@gmail.com>
Tested-by: Massimo Maiurana <maiurana@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-04-11 08:18:07 +02:00
..
2005-04-16 15:20:36 -07:00
2009-04-02 01:22:24 +00:00
2009-01-07 21:44:20 +01:00
2005-04-16 15:20:36 -07:00
2007-12-17 19:28:17 -08:00
2005-04-16 15:20:36 -07:00
2009-02-27 16:26:22 -08:00
2008-10-22 21:53:49 -07:00
2006-07-03 23:30:54 +02:00
2008-07-25 22:12:41 +02:00
2009-01-07 21:44:20 +01:00
2009-01-07 21:44:20 +01:00
2008-04-25 20:18:48 +02:00
2008-04-25 20:18:48 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00