Joe Conway wrote:
> Bruce Momjian wrote:
>> Here is another try at fixing the translation message. Instead of
>> removing the backslashes in the message, I escaped them. Per discussion
>> with Joe Conway.
>
> Now I'm getting three errors instead of one:
>
> msgfmt -o po/zh_TW.mo po/zh_TW.po
> po/zh_TW.po:199: `msgid' and `msgstr' entries do not both end with '\n'
> po/zh_TW.po:260:40: invalid control sequence
> po/zh_TW.po:471:11: invalid control sequence
> msgfmt: found 3 fatal errors
FWIW, I can compile with the attached patch.
Joe
? src/bin/initdb/po/de.mo
? src/bin/initdb/po/fr.mo
? src/bin/initdb/po/it.mo
? src/bin/initdb/po/pt_BR.mo
? src/bin/initdb/po/ru.mo
? src/bin/initdb/po/sv.mo
? src/bin/initdb/po/zh_TW.mo
Index: src/bin/initdb/po/zh_TW.po
===================================================================
RCS file: /cvsroot/pgsql-server/src/bin/initdb/po/zh_TW.po,v
retrieving revision 1.3
diff -c -r1.3 zh_TW.po
*** src/bin/initdb/po/zh_TW.po 31 Jul 2004 20:00:26 -0000 1.3
--- src/bin/initdb/po/zh_TW.po 31 Jul 2004 22:02:59 -0000
***************
*** 197,203 ****
#: initdb.c:1864
msgid "ok\n"
! msgstr "���\\\n"
#: initdb.c:1894
#, c-format
--- 197,203 ----
#: initdb.c:1864
msgid "ok\n"
! msgstr "���\\n"
#: initdb.c:1894
#, c-format
***************
*** 257,263 ****
#: initdb.c:1973
msgid " --no-locale equivalent to --locale=C\n"
! msgstr " --no-locale �\\���P --locale=C\n"
#: initdb.c:1974
msgid " -U, --username=NAME database superuser name\n"
--- 257,263 ----
#: initdb.c:1973
msgid " --no-locale equivalent to --locale=C\n"
! msgstr " --no-locale �\���P --locale=C\n"
#: initdb.c:1974
msgid " -U, --username=NAME database superuser name\n"
***************
*** 468,474 ****
"\n"
msgstr ""
"\n"
! "���榨�\\�A�{�b�A�i�H�ΤU�C�R�O�Ұʸ��Ʈw���A��:\n"
"\n"
" %s%s%s/postmaster -D %s%s%s\n"
"��\n"
--- 468,474 ----
"\n"
msgstr ""
"\n"
! "���榨�\�A�{�b�A�i�H�ΤU�C�R�O�Ұʸ��Ʈw���A��:\n"
"\n"
" %s%s%s/postmaster -D %s%s%s\n"
"��\n"