fix extraction of language names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@8283 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-12-29 14:11:57 +00:00
parent 052aa2d616
commit b5826b2641
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-12-22 Michael Schmitt <Michael.Schmitt@teststep.org>
* Makefile.in.in: fix extraction of language names from
lib/languages when the name includes a space (patch backported
from main branch)
2003-12-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* wa.po: remove bad e-mail address

View File

@ -247,6 +247,7 @@ $(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
gsub(/&amp;/, "\\&", line); \
gsub(/&lt;/, "<", line); \
gsub(/&gt;/, ">", line); \
gsub(/\"/, "\\\"", line); \
if (length(line) > 0) \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n",\
FILENAME, FNR, line); \
@ -278,7 +279,8 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
next; \
} \
{ \
lang=$$3; \
match($$0,"\"[^\"]*\""); \
lang=substr($$0,RSTART,RLENGTH); \
gsub(/\"/, "", lang); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
FILENAME, FNR, lang); \