NLS (zh_CN) for pg_dump - Mailing list pgsql-patches

From Weiping He
Subject NLS (zh_CN) for pg_dump
Date
Msg-id 3C1362A8.C4CBA41@zhengmai.com.cn
Whole thread Raw
Responses Re: NLS (zh_CN) for pg_dump
List pgsql-patches
fixed the problem  point out in:
http://www.ca.postgresql.org/~petere/nls.php
(very helpful pages! thanks!)
it's for pg_dump against current cvs.

    regards    laser
Index: zh_CN.po
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/pg_dump/zh_CN.po,v
retrieving revision 1.4
diff -c -r1.4 zh_CN.po
*** zh_CN.po    2001/12/03 18:43:21    1.4
--- zh_CN.po    2001/12/07 12:50:35
***************
*** 6,12 ****
  msgstr ""
  "Project-Id-Version: PostgreSQL 7.2\n"
  "POT-Creation-Date: 2001-11-30 22:18+0800\n"
! "PO-Revision-Date: 2001-11-30 22:26:59+0800\n"
  "Last-Translator: Weiping He <laser@zhengmai.com.cn>\n"
  "Language-Team: Weiping He <laser@zhengmai.com.cn>\n"
  "MIME-Version: 1.0\n"
--- 6,12 ----
  msgstr ""
  "Project-Id-Version: PostgreSQL 7.2\n"
  "POT-Creation-Date: 2001-11-30 22:18+0800\n"
! "PO-Revision-Date: 2001-12-07 20:38:59+0800\n"
  "Last-Translator: Weiping He <laser@zhengmai.com.cn>\n"
  "Language-Team: Weiping He <laser@zhengmai.com.cn>\n"
  "MIME-Version: 1.0\n"
***************
*** 358,364 ****
  #, c-format
  msgid ""
  "query returned more than one (%d) pg_database entry for database \"%s\"\n"
! msgstr "查询为数据库 \"%2$s\" 返回了超过一条 (%d) pg_database 记录\n"

  #: pg_dump.c:1220
  msgid "saving large objects\n"
--- 358,364 ----
  #, c-format
  msgid ""
  "query returned more than one (%d) pg_database entry for database \"%s\"\n"
! msgstr "查询为数据库 \"%2$s\" 返回了超过一条 (%1$d) pg_database 记录\n"

  #: pg_dump.c:1220
  msgid "saving large objects\n"
***************
*** 1703,1710 ****
  "\n"
  "选项:\n"

- #: pg_restore.c:389
  #
  msgid ""
  "  -a, --data-only          restore only the data, no schema\n"
  "  -c, --clean              clean (drop) schema prior to create\n"
--- 1703,1710 ----
  "\n"
  "选项:\n"

  #
+ #: pg_restore.c:389
  msgid ""
  "  -a, --data-only          restore only the data, no schema\n"
  "  -c, --clean              clean (drop) schema prior to create\n"
***************
*** 1769,1776 ****
  "                           尽可能用 SET SESSION AUTHORIZATION 命令而不是\n"
  "                           重新联接\n"

- #: pg_restore.c:425
  #
  msgid ""
  "  -a                       restore only the data, no schema\n"
  "  -c                       clean (drop) schema prior to create\n"
--- 1769,1776 ----
  "                           尽可能用 SET SESSION AUTHORIZATION 命令而不是\n"
  "                           重新联接\n"

  #
+ #: pg_restore.c:425
  msgid ""
  "  -a                       restore only the data, no schema\n"
  "  -c                       clean (drop) schema prior to create\n"

pgsql-patches by date:

Previous
From: "Serguei Mokhov"
Date:
Subject: NLS (Russian) - pg_dump update
Next
From: "Ross Thomas"
Date:
Subject: Patch for ODBC driver (look for odbc.ini in more than one location)