android_kernel_xiaomi_sm8350/scripts/kconfig
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
..
lxdialog kconfig: fix options to check-lxdialog.sh 2008-12-03 22:11:14 +01:00
.gitignore
check.sh
conf.c kconfig: improve seed in randconfig 2009-03-15 23:02:07 +01:00
confdata.c kconfig: fix randconfig for choice blocks 2009-03-15 22:54:57 +01:00
expr.c kconfig: tristate choices with mixed tristate and boolean values 2008-01-28 23:21:18 +01:00
expr.h kconfig: struct property commented 2009-01-02 20:43:21 +01:00
gconf.c kconfig: gconfig: symbol fix 2008-01-28 23:14:39 +01:00
gconf.glade
images.c
kconfig_load.c
kxgettext.c kconfig: fix update-po-config to accect backslash in input 2009-04-11 08:18:07 +02:00
lex.zconf.c_shipped kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
lkc_proto.h kconfig: add named choice group 2008-04-28 23:05:48 +02:00
lkc.h kconfig: set all new symbols automatically 2008-07-25 22:12:48 +02:00
Makefile x86, um: get rid of arch/um/Kconfig.arch 2008-10-22 22:55:23 -07:00
mconf.c kconfig: fix MAC OS X warnings in menuconfig 2008-05-04 21:03:20 +02:00
menu.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
POTFILES.in kconfig: gettext support for lxdialog 2008-01-28 23:14:39 +01:00
qconf.cc kconfig: environment symbol support 2008-01-28 23:14:39 +01:00
qconf.h
symbol.c kconfig: add named choice group 2008-04-28 23:05:48 +02:00
util.c kconfig: incorrect 'len' field initialisation ? 2008-05-19 20:14:49 +02:00
zconf.gperf kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.hash.c_shipped kconfig: remove "enable" 2008-01-28 23:21:18 +01:00
zconf.l kconfig: improve error messages for bad source statements 2009-01-02 20:43:22 +01:00
zconf.tab.c_shipped kconfig: add named choice group 2008-04-28 23:05:48 +02:00
zconf.y kconfig: add named choice group 2008-04-28 23:05:48 +02:00