Hello,
Special question for Angus (or Michael), I never managed to compile the
'po' directory. Could this be something similar to 'configure.ac' which
had dos-style line-ending?
Thanks in advance,
Abdel.
D:\mingw\bin\make.exe[1]: Leaving directory
`D:/msys/home/yns/lyx/trunk/intl'
Making all in po
FIND: Parameter format not correct
D:\mingw\bin\make.exe[1]: Entering directory `D:/msys/home/yns/lyx/trunk/po'
make LyX-svn.pot-update
FIND: Parameter format not correct
make[2]: Entering directory `D:/msys/home/yns/lyx/trunk/po'
make l10n_pots
FIND: Parameter format not correct
make[3]: Entering directory `D:/msys/home/yns/lyx/trunk/po'
gawk --posix -v top_srcdir=".." ' \
function fixupfilename() \
{\
return substr(FILENAME, length(top_srcdir "/") + 1);\
}\
/^#/ { \
next; \
} \
{ \
match($0,"\"[^\"]*\""); \
lang=substr($0,RSTART,RLENGTH); \
gsub(/"/, "", lang); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, lang); \
}' \
../lib/languages > languages_l10n.pot
LC_ALL=C ; export LC_ALL ; \
gawk --posix -v top_srcdir=".." ' \
function fixupfilename() \
{\
return substr(FILENAME, length(top_srcdir "/") + 1);\
}\
/^[^#]*Submenu/ { \
line=$0; \
sub(/[^"]*"/, "", line); \
sub(/".*/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
} \
/^[^#]*Toolbar/ { \
line=$0; \
sub(/[^"]*"/, "", line); \
sub(/".*/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
} \
/^[^#]*Item/ { \
line=$0; \
sub(/[^"]*"/, "", line); \
sub(/".*/, "", line); \
printf("#: %s:%d\nmsgid \"%s\"\nmsgstr \"\"\n\n", \
fixupfilename(), FNR, line); \
}' \
../lib/ui/*.ui > ui_l10n.pot
cat xforms_l10n.pot qt_l10n.pot layouts_l10n.pot languages_l10n.pot
ui_l10n.pot | \
msguniq -o LyX-svn.po && rm -f xforms_l10n.pot qt_l10n.pot
layouts_l10n.pot languages_l10n.pot ui_l10n.pot
<stdin>:5: end-of-line within string
<stdin>:6: end-of-line within string
<stdin>:7: end-of-line within string
<stdin>:8: end-of-line within string
D:\mingw\bin\msguniq.exe: <stdin>: warning: Charset
"ISO-8859-1Content-Transfer-Encoding:" is not a portable encoding name.
Message conversion to
user's charset might not work.
D:\mingw\bin\msguniq.exe: found 4 fatal errors
make[3]: *** [l10n_pots] Error 1
make[3]: Leaving directory `D:/msys/home/yns/lyx/trunk/po'
make[2]: *** [LyX-svn.pot-update] Error 2
make[2]: Leaving directory `D:/msys/home/yns/lyx/trunk/po'
D:\mingw\bin\make.exe[1]: *** [LyX-svn.pot] Error 2
D:\mingw\bin\make.exe[1]: Leaving directory `D:/msys/home/yns/lyx/trunk/po'
D:\mingw\bin\make.exe: *** [all-recursive] Error 1