Fix for initdb translation - Mailing list pgsql-patches

From Bruce Momjian
Subject Fix for initdb translation
Date
Msg-id 200407310441.i6V4fRP02082@candle.pha.pa.us
Whole thread Raw
List pgsql-patches
Attached is an applied fix for initdb translation for po/zh_TW.po.
Without it I get these errors:

    gmake[3]: Entering directory
    `/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/bin/initdb'
    msgfmt -o po/de.mo po/de.po
    msgfmt -o po/fr.mo po/fr.po
    msgfmt -o po/it.mo po/it.po
    msgfmt -o po/pt_BR.mo po/pt_BR.po
    msgfmt -o po/ru.mo po/ru.po
    msgfmt -o po/sv.mo po/sv.po
    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: illegal control sequence
    po/zh_TW.po:471: illegal control sequence
    found 3 fatal errors

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Index: src/bin/initdb/po/zh_TW.po
===================================================================
RCS file: /cvsroot/pgsql-server/src/bin/initdb/po/zh_TW.po,v
retrieving revision 1.1
diff -c -c -r1.1 zh_TW.po
*** src/bin/initdb/po/zh_TW.po    30 Jul 2004 05:28:36 -0000    1.1
--- src/bin/initdb/po/zh_TW.po    31 Jul 2004 04:38:34 -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"

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Admin functions contrib
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Cannot initdb in cvs tip