(Michael Schmitt): fix the extraction of language names from lib/languages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7324 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-07-21 07:48:59 +00:00
parent efd0b4b341
commit dd9cd9f751
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-21 Michael Schmitt <Michael.Schmitt@teststep.org>
* Makefile.in.in: fix extraction of language names from lib/languages
when the name includes a space.
2003-07-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org> 2003-07-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* pl.po: copy the version from 1.3.x branch, since it contains * pl.po: copy the version from 1.3.x branch, since it contains

View File

@ -266,7 +266,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); \