Another transation fix

Started by Bruce Momjianalmost 22 years ago4 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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.

-- 
  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

Attachments:

/bjm/difftext/plainDownload+6-6
#2Joe Conway
mail@joeconway.com
In reply to: Bruce Momjian (#1)
Re: Another transation fix

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

Not sure if it is relevant, but here are my locale related environment
variables:

LANG=C
LANGUAGE=C
LC_ALL=C

This is on a Fedora core 2 machine. Anyone have any ideas how to
properly fix this?

Thanks,

Joe

#3Joe Conway
mail@joeconway.com
In reply to: Joe Conway (#2)
Re: Another transation fix

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

Attachments:

zh_TW.difftext/x-patch; name=zh_TW.diffDownload+6-6
#4Peter Eisentraut
peter_e@gmx.net
In reply to: Joe Conway (#3)
Re: Another transation fix

Joe Conway wrote:

FWIW, I can compile with the attached patch.

That looks awfully close to what we started from... :-/

--
Peter Eisentraut
http://developer.postgresql.org/~petere/