mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
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:
parent
052aa2d616
commit
b5826b2641
@ -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>
|
2003-12-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
* wa.po: remove bad e-mail address
|
* wa.po: remove bad e-mail address
|
||||||
|
@ -247,6 +247,7 @@ $(srcdir)/qt_l10n.pot: $(top_srcdir)/src/frontends/qt2/ui/*.ui
|
|||||||
gsub(/&/, "\\&", line); \
|
gsub(/&/, "\\&", line); \
|
||||||
gsub(/</, "<", line); \
|
gsub(/</, "<", line); \
|
||||||
gsub(/>/, ">", line); \
|
gsub(/>/, ">", line); \
|
||||||
|
gsub(/\"/, "\\\"", line); \
|
||||||
if (length(line) > 0) \
|
if (length(line) > 0) \
|
||||||
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n",\
|
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n",\
|
||||||
FILENAME, FNR, line); \
|
FILENAME, FNR, line); \
|
||||||
@ -278,7 +279,8 @@ $(srcdir)/languages_l10n.pot: $(top_srcdir)/lib/languages
|
|||||||
next; \
|
next; \
|
||||||
} \
|
} \
|
||||||
{ \
|
{ \
|
||||||
lang=$$3; \
|
match($$0,"\"[^\"]*\""); \
|
||||||
|
lang=substr($$0,RSTART,RLENGTH); \
|
||||||
gsub(/\"/, "", lang); \
|
gsub(/\"/, "", lang); \
|
||||||
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
|
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
|
||||||
FILENAME, FNR, lang); \
|
FILENAME, FNR, lang); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user