Thread: patch for ja.po

patch for ja.po

From
Tatsuhito Kasahara
Date:
Hi.

Here is a asmall patch which fixes "bin/psql/po/ja.po".
Now, psql returns the incorrect number of rows through ja.po.
(see following)

=# SELECT relname FROM pg_class limit 3;
       relname
----------------------
 pg_type
 user_mapping_options
 user_mappings
(1 行) <- mean "1 rows"

best regards,
--
Tatsuhito Kasahara
kasahara.tatsuhito@oss.ntt.co.jp
diff -cpr Postgresql-CVS-20090522/src/bin/psql/po/ja.po ja_po_fix/src/bin/psql/po/ja.po
*** Postgresql-CVS-20090522/src/bin/psql/po/ja.po    2009-05-22 18:01:22.000000000 +0900
--- ja_po_fix/src/bin/psql/po/ja.po    2009-05-23 05:08:56.000000000 +0900
*************** msgstr "テーブルの内容にセル��
*** 1186,1198 ****
  msgid "invalid fout format (internal error): %d"
  msgstr "出力フォーマットが無効(内部エラー):%d"

! #: print.c:2352
  msgid "(1 row)"
! msgstr "(1 行)"
!
! #: print.c:2354
! msgid "(%lu rows)"
! msgstr "(%lu 行)"

  #: startup.c:222
  msgid "%s: could not open log file \"%s\": %s\n"
--- 1186,1196 ----
  msgid "invalid fout format (internal error): %d"
  msgstr "出力フォーマットが無効(内部エラー):%d"

! #: print.c:2351
  msgid "(1 row)"
! msgid_plural "(%lu rows)"
! msgstr[0] "(1 行)"
! msgstr[1] "(%lu 行)"

  #: startup.c:222
  msgid "%s: could not open log file \"%s\": %s\n"

Re: patch for ja.po

From
Alvaro Herrera
Date:
Tatsuhito Kasahara wrote:
> Hi.
> 
> Here is a asmall patch which fixes "bin/psql/po/ja.po".
> Now, psql returns the incorrect number of rows through ja.po.
> (see following)

Thanks.  Please submit to pgtranslation through pgfoundry -- see
http://babel.postgresql.org/

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


Re: patch for ja.po

From
Honda Shigehiro
Date:
Thank you, Kasahara-san.

I think this is already patched in cvs of message catalogs. Could you try 
psql.po from http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgtranslation/messages/ja/psql.po

regards,
--  Shigehiro Honda
From: Tatsuhito Kasahara <kasahara.tatsuhito@oss.ntt.co.jp>
Subject: [HACKERS] patch for ja.po
Date: Fri, 22 May 2009 20:59:44 +0900

> Hi.
> 
> Here is a asmall patch which fixes "bin/psql/po/ja.po".
> Now, psql returns the incorrect number of rows through ja.po.
> (see following)
> 
> =# SELECT relname FROM pg_class limit 3;
>        relname
> ----------------------
>  pg_type
>  user_mapping_options
>  user_mappings
> (1 行) <- mean "1 rows"
> 
> best regards,
> -- 
> Tatsuhito Kasahara
> kasahara.tatsuhito@oss.ntt.co.jp


Re: patch for ja.po

From
Tatsuhito Kasahara
Date:
Hi,

Honda Shigehiro wrote:
> I think this is already patched in cvs of message catalogs. Could you try 
> psql.po from http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgtranslation/messages/ja/psql.po
I confirmed it.
Sorry for the noise.

regards,
-- 
Tatsuhito Kasahara
kasahara.tatsuhito@oss.ntt.co.jp