summaryrefslogtreecommitdiff
path: root/src/bin/initdb
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2004-12-11 19:09:08 +0000
committerPeter Eisentraut <peter_e@gmx.net>2004-12-11 19:09:08 +0000
commit10e960fb3974027cbf1ed9fb9cfe5234d1a45287 (patch)
tree04333e4ddbd0e1eedc20ff4c655e1021661418aa /src/bin/initdb
parent022a00b5f39f6b51b29c43c8bce91b7b8ddb70ed (diff)
downloadpostgresql-10e960fb3974027cbf1ed9fb9cfe5234d1a45287.tar.gz
Translation updates
Diffstat (limited to 'src/bin/initdb')
-rw-r--r--src/bin/initdb/po/zh_CN.po282
1 files changed, 174 insertions, 108 deletions
diff --git a/src/bin/initdb/po/zh_CN.po b/src/bin/initdb/po/zh_CN.po
index 700ad52fa9..f6eb0cf39c 100644
--- a/src/bin/initdb/po/zh_CN.po
+++ b/src/bin/initdb/po/zh_CN.po
@@ -4,9 +4,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: PostgreSQL 7.4\n"
+"Project-Id-Version: PostgreSQL 8.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2004-08-31 08:59+0000\n"
+"POT-Creation-Date: 2004-12-02 09:43+0000\n"
"PO-Revision-Date: 2003-09-15 13:48:19+0800\n"
"Last-Translator: Bao Wei <weibao@qmail.zhengmai.net.cn>\n"
"Language-Team: Weiping He <laser@zhengmai.com.cn>\n"
@@ -14,42 +14,57 @@ msgstr ""
"Content-Type: text/plain; charset=GB2312\n"
"Content-Transfer-Encoding: 8bit\n"
-#: initdb.c:233 initdb.c:247
+#: initdb.c:250 initdb.c:264
#, c-format
msgid "%s: out of memory\n"
msgstr "%s: 内存溢出\n"
-#: initdb.c:329 initdb.c:1298
+#: initdb.c:374 initdb.c:1403
#, c-format
msgid "%s: could not open file \"%s\" for reading: %s\n"
msgstr "%s: 为了读取, 无法打开文件 \"%s\": %s\n"
-#: initdb.c:387
+#: initdb.c:435 initdb.c:1035 initdb.c:1062
#, c-format
msgid "%s: could not open file \"%s\" for writing: %s\n"
msgstr "%s: 为了写, 无法打开文件 \"%s\": %s\n"
-#: initdb.c:515 initdb.c:524 initdb.c:532
+#: initdb.c:443 initdb.c:451 initdb.c:1042 initdb.c:1068
#, c-format
-msgid "%s: failed\n"
-msgstr "%s: 失败\n"
+msgid "%s: could not write file \"%s\": %s\n"
+msgstr "%s: 无法写文件 \"%s\": %s\n"
-#: initdb.c:521
+#: initdb.c:470
+#, c-format
+msgid "%s: could not execute command \"%s\": %s\n"
+msgstr "%s: 无法执行命令 \"%s\": %s\n"
+
+#: initdb.c:593
#, c-format
msgid "%s: removing data directory \"%s\"\n"
msgstr "%s: 删除数据目录 \"%s\"\n"
-#: initdb.c:529
+#: initdb.c:596
+#, c-format
+msgid "%s: failed to remove data directory\n"
+msgstr "%s: 删除数据目录失败\n"
+
+#: initdb.c:602
#, c-format
msgid "%s: removing contents of data directory \"%s\"\n"
msgstr "%s: 删除数据目录 \"%s\" 的内容\n"
-#: initdb.c:540
+#: initdb.c:605
+#, c-format
+msgid "%s: failed to remove contents of data directory\n"
+msgstr "%s: 删除数据目录内容失败\n"
+
+#: initdb.c:614
#, c-format
msgid "%s: data directory \"%s\" not removed at user's request\n"
msgstr "%s: 在用户的要求下数据库目录 \"%s\" 不被删除\n"
-#: initdb.c:566
+#: initdb.c:640
#, c-format
msgid ""
"%s: cannot be run as root\n"
@@ -60,17 +75,17 @@ msgstr ""
"请以服务器进程所有者的用户 (无特权) 身份\n"
"登陆 (使用, e.g., \"su\").\n"
-#: initdb.c:615
+#: initdb.c:689
#, c-format
msgid "%s: \"%s\" is not a valid server encoding name\n"
msgstr "%s: \"%s\" 不是一个有效的服务器编码名字\n"
-#: initdb.c:770
+#: initdb.c:844
#, c-format
msgid "%s: warning: encoding mismatch\n"
msgstr "%s: 警告: 编码不匹配\n"
-#: initdb.c:772
+#: initdb.c:846
#, c-format
msgid ""
"The encoding you selected (%s) and the encoding that the selected\n"
@@ -85,7 +100,12 @@ msgstr ""
"类型.\n"
"\n"
-#: initdb.c:924
+#: initdb.c:976
+#, c-format
+msgid "%s: could not create directory \"%s\": %s\n"
+msgstr "%s: 无法创建目录 \"%s\": %s\n"
+
+#: initdb.c:1004
#, c-format
msgid ""
"%s: file \"%s\" does not exist\n"
@@ -96,26 +116,26 @@ msgstr ""
"这意味着您的安装发生了错误或\n"
"使用 -L 选项指定了错误的路径.\n"
-#: initdb.c:989
+#: initdb.c:1086
#, c-format
msgid "selecting default max_connections ... "
msgstr "选择默认最大联接数 (max_connections) ... "
-#: initdb.c:1025
+#: initdb.c:1122
#, c-format
msgid "selecting default shared_buffers ... "
msgstr "选择默认共享缓冲区大小 (shared_buffers) ... "
-#: initdb.c:1058
+#: initdb.c:1155
msgid "creating configuration files ... "
msgstr "创建配置文件 ... "
-#: initdb.c:1145
+#: initdb.c:1251
#, c-format
msgid "creating template1 database in %s/base/1 ... "
msgstr "在 %s/base/1 中创建 template1 数据库 ... "
-#: initdb.c:1161
+#: initdb.c:1267
#, c-format
msgid ""
"%s: input file \"%s\" does not belong to PostgreSQL %s\n"
@@ -124,95 +144,95 @@ msgstr ""
"%s: 输入文件 \"%s\" 不属于 PostgreSQL %s\n"
"检查你的安装或使用 -L 选项指定正确的路径.\n"
-#: initdb.c:1237
+#: initdb.c:1342
msgid "initializing pg_shadow ... "
msgstr "初始化 pg_shadow ... "
-#: initdb.c:1273
+#: initdb.c:1378
msgid "Enter new superuser password: "
msgstr "输入新的超级用户口令: "
-#: initdb.c:1274
+#: initdb.c:1379
msgid "Enter it again: "
msgstr "再输入一遍: "
-#: initdb.c:1277
+#: initdb.c:1382
#, c-format
msgid "Passwords didn't match.\n"
msgstr "口令不匹配.\n"
-#: initdb.c:1304
+#: initdb.c:1409
#, c-format
msgid "%s: could not read password from file \"%s\": %s\n"
msgstr "%s: 无法从文件 \"%s\" 读取口令: %s\n"
-#: initdb.c:1317
+#: initdb.c:1422
#, c-format
msgid "setting password ... "
msgstr "设置口令 ... "
-#: initdb.c:1341
+#: initdb.c:1443
#, c-format
msgid "%s: The password file was not generated. Please report this problem.\n"
msgstr "%s: 口令文件没有生成. 请报告这个问题.\n"
-#: initdb.c:1371
+#: initdb.c:1471
msgid "enabling unlimited row size for system tables ... "
msgstr "启动不限制系统表行大小 ... "
-#: initdb.c:1444
+#: initdb.c:1544
msgid "initializing pg_depend ... "
msgstr "初始化 pg_depend ... "
-#: initdb.c:1472
+#: initdb.c:1572
msgid "creating system views ... "
msgstr "创建系统视图 ... "
-#: initdb.c:1509
+#: initdb.c:1608
msgid "loading pg_description ... "
msgstr "加载 pg_description ... "
-#: initdb.c:1557
+#: initdb.c:1647
msgid "creating conversions ... "
msgstr "创建字符集转换 ... "
-#: initdb.c:1613
+#: initdb.c:1701
msgid "setting privileges on built-in objects ... "
msgstr "对内建对象设置权限 ... "
-#: initdb.c:1671
+#: initdb.c:1759
msgid "creating information schema ... "
msgstr "创建信息模式 ... "
-#: initdb.c:1734
+#: initdb.c:1816
msgid "vacuuming database template1 ... "
msgstr "清理数据库 template1 ... "
-#: initdb.c:1790
+#: initdb.c:1870
msgid "copying template1 to template0 ... "
msgstr "拷贝 template1 到 template0 ... "
-#: initdb.c:1847
+#: initdb.c:1927
#, c-format
msgid "caught signal\n"
msgstr "捕获信号\n"
-#: initdb.c:1852
+#: initdb.c:1933
#, c-format
-msgid "could not write to child process\n"
-msgstr "无法写到子进程\n"
+msgid "could not write to child process: %s\n"
+msgstr "无法写到子进程: %s\n"
-#: initdb.c:1858
+#: initdb.c:1941
#, c-format
msgid "ok\n"
msgstr "成功\n"
-#: initdb.c:1888
+#: initdb.c:1989
#, c-format
msgid "%s: invalid locale name \"%s\"\n"
msgstr "%s: 无效的 locale 名字 \"%s\"\n"
-#: initdb.c:1955
+#: initdb.c:2056
#, c-format
msgid ""
"%s initializes a PostgreSQL database cluster.\n"
@@ -221,17 +241,17 @@ msgstr ""
"%s 初始化一个 PostgreSQL 数据库簇.\n"
"\n"
-#: initdb.c:1956
+#: initdb.c:2057
#, c-format
msgid "Usage:\n"
msgstr "使用方法:\n"
-#: initdb.c:1957
+#: initdb.c:2058
#, c-format
msgid " %s [OPTION]... [DATADIR]\n"
msgstr " %s [选项]... [DATADIR]\n"
-#: initdb.c:1958
+#: initdb.c:2059
#, c-format
msgid ""
"\n"
@@ -240,23 +260,23 @@ msgstr ""
"\n"
"选项:\n"
-#: initdb.c:1959
+#: initdb.c:2060
#, c-format
msgid " [-D, --pgdata=]DATADIR location for this database cluster\n"
msgstr " -D, --pgdata=DATADIR 当前数据库簇的位置\n"
-#: initdb.c:1960
+#: initdb.c:2061
#, c-format
msgid " -E, --encoding=ENCODING set default encoding for new databases\n"
msgstr " -E, --encoding=ENCODING 为新数据库设置默认编码\n"
-#: initdb.c:1961
+#: initdb.c:2062
#, c-format
msgid ""
" --locale=LOCALE initialize database cluster with given locale\n"
msgstr " --locale=LOCALE 初始化数据库簇的 locale\n"
-#: initdb.c:1962
+#: initdb.c:2063
#, c-format
msgid ""
" --lc-collate, --lc-ctype, --lc-messages=LOCALE\n"
@@ -271,46 +291,46 @@ msgstr ""
" locale (默认使用环境变\n"
" 量)\n"
-#: initdb.c:1967
+#: initdb.c:2068
#, c-format
msgid " --no-locale equivalent to --locale=C\n"
msgstr " --no-locale 等同于 --locale=C\n"
-#: initdb.c:1968
+#: initdb.c:2069
#, c-format
msgid ""
-" -A, --auth=method default authentication method for local "
+" -A, --auth=METHOD default authentication method for local "
"connections\n"
-msgstr " -A, --auth=method 本地连接的默认认证方法\n"
+msgstr " -A, --auth=METHOD 本地连接的默认认证方法\n"
-#: initdb.c:1969
+#: initdb.c:2070
#, c-format
msgid " -U, --username=NAME database superuser name\n"
msgstr " -U, --username=NAME 数据库超级用户名\n"
-#: initdb.c:1970
+#: initdb.c:2071
#, c-format
msgid ""
" -W, --pwprompt prompt for a password for the new superuser\n"
msgstr " -W, --pwprompt 对于新的超级用户提示输入口令\n"
-#: initdb.c:1971
+#: initdb.c:2072
#, c-format
msgid ""
-" --pwfile=filename read password for the new superuser from file\n"
+" --pwfile=FILE read password for the new superuser from file\n"
msgstr " --pwfile=文件名 对于新的超级用户从文件读取口令\n"
-#: initdb.c:1972
+#: initdb.c:2073
#, c-format
msgid " -?, --help show this help, then exit\n"
msgstr " -?, --help 显示此帮助, 然后退出\n"
-#: initdb.c:1973
+#: initdb.c:2074
#, c-format
msgid " -V, --version output version information, then exit\n"
msgstr " -V, --version 输出版本信息, 然后退出\n"
-#: initdb.c:1974
+#: initdb.c:2075
#, c-format
msgid ""
"\n"
@@ -319,27 +339,27 @@ msgstr ""
"\n"
"非普通使用选项:\n"
-#: initdb.c:1975
+#: initdb.c:2076
#, c-format
msgid " -d, --debug generate lots of debugging output\n"
msgstr " -d, --debug 产生大量的除错信息\n"
-#: initdb.c:1976
+#: initdb.c:2077
#, c-format
msgid " -s, --show show internal settings\n"
msgstr " -s, --show 显示内部设置\n"
-#: initdb.c:1977
+#: initdb.c:2078
#, c-format
msgid " -L DIRECTORY where to find the input files\n"
msgstr " -L DIRECTORY 输入文件的位置\n"
-#: initdb.c:1978
+#: initdb.c:2079
#, c-format
msgid " -n, --noclean do not clean up after errors\n"
msgstr " -n, --noclean 出错后不清理\n"
-#: initdb.c:1979
+#: initdb.c:2080
#, c-format
msgid ""
"\n"
@@ -349,7 +369,7 @@ msgstr ""
"\n"
"如果没有指定数据目录, 将使用环境变量 PGDATA\n"
-#: initdb.c:1981
+#: initdb.c:2082
#, c-format
msgid ""
"\n"
@@ -358,36 +378,36 @@ msgstr ""
"\n"
"报告错误至 <pgql-bugs@postgresql.org>.\n"
-#: initdb.c:2072
+#: initdb.c:2175
#, c-format
msgid "Running in debug mode.\n"
msgstr "运行在除错模式中. \n"
-#: initdb.c:2076
+#: initdb.c:2179
#, c-format
msgid "Running in noclean mode. Mistakes will not be cleaned up.\n"
msgstr "运行在 noclean 模式中. 错误将不被清理.\n"
-#: initdb.c:2112 initdb.c:2129 initdb.c:2341
+#: initdb.c:2216 initdb.c:2233 initdb.c:2453
#, c-format
msgid "Try \"%s --help\" for more information.\n"
msgstr "请用 \"%s --help\" 获取更多的信息.\n"
-#: initdb.c:2127
+#: initdb.c:2231
#, c-format
msgid "%s: too many command-line arguments (first is \"%s\")\n"
msgstr "%s: 命令行参数太多 (第一个是 \"%s\")\n"
-#: initdb.c:2135
+#: initdb.c:2239
#, c-format
-msgid "%s: you cannot specify both password prompt and password file\n"
-msgstr "%s: 你不能同时指定提示输入口令和口令文件\n"
+msgid "%s: password prompt and password file may not be specified together\n"
+msgstr "%s: 口令提示和口令文件可以不用同时都指定\n"
-#: initdb.c:2141
+#: initdb.c:2245
msgid ""
"\n"
-"WARNING: enabling \"trust\" authentication for local connections.\n"
-"You can change this by editing pg_hba.conf or using the -A flag the\n"
+"WARNING: enabling \"trust\" authentication for local connections\n"
+"You can change this by editing pg_hba.conf or using the -A option the\n"
"next time you run initdb.\n"
msgstr ""
"\n"
@@ -395,19 +415,18 @@ msgstr ""
"你可以通过编辑 pg_hba.conf 更改或你下\n"
"次运行 initdb 时使用 -A 选项.\n"
-#: initdb.c:2165
+#: initdb.c:2269
#, c-format
-msgid "%s: unknown authentication method \"%s\".\n"
+msgid "%s: unrecognized authentication method \"%s\"\n"
msgstr "%s: 未知认证方法 \"%s\".\n"
-#: initdb.c:2174
+#: initdb.c:2279
#, c-format
msgid ""
-"%s: you need to specify a password for the superuser to enable %s "
-"authentication.\n"
-msgstr "%s: 为了启动 %s 认证, 你需要为超级用户指定一个口令.\n"
+"%s: must specify a password for the superuser to enable %s authentication\n"
+msgstr "%s: 为了启动 %s 认证, 你需要为超级用户指定一个口令\n"
-#: initdb.c:2189
+#: initdb.c:2294
#, c-format
msgid ""
"%s: no data directory specified\n"
@@ -420,37 +439,39 @@ msgstr ""
"存在. 使用 -D 选项或者\n"
"环境变量 PGDATA.\n"
-#: initdb.c:2215
+#: initdb.c:2326
#, c-format
msgid ""
-"The program \"postgres\" is needed by %s but was not found in the same "
-"directory as \"%s\".\n"
+"The program \"postgres\" is needed by %s but was not found in the\n"
+"same directory as \"%s\".\n"
"Check your installation.\n"
msgstr ""
"%s 需要程序 \"postgres\", 但是在同一个目录 \"%s\" 中没找到.\n"
+"\n"
"检查您的安装.\n"
-#: initdb.c:2221
+#: initdb.c:2333
#, c-format
msgid ""
-"The program \"postgres\" was found by %s but was not the same version as \"%s"
-"\".\n"
+"The program \"postgres\" was found by \"%s\"\n"
+"but was not the same version as %s.\n"
"Check your installation.\n"
msgstr ""
"%s 找到程序 \"postgres\", 但是和版本 \"%s\" 不一致.\n"
+"\n"
"检查您的安装.\n"
-#: initdb.c:2240
+#: initdb.c:2352
#, c-format
msgid "%s: input file location must be an absolute path\n"
msgstr "%s: 输入文件位置必须为绝对路径\n"
-#: initdb.c:2248
+#: initdb.c:2360
#, c-format
msgid "%s: could not determine valid short version string\n"
msgstr "%s: 无法确定有效的短版本字符串\n"
-#: initdb.c:2301
+#: initdb.c:2413
#, c-format
msgid ""
"The files belonging to this database system will be owned by user \"%s\".\n"
@@ -460,12 +481,12 @@ msgstr ""
"属于此数据库系统的文件宿主为用户 \"%s\".\n"
"此用户也必须为服务器进程的宿主.\n"
-#: initdb.c:2311
+#: initdb.c:2423
#, c-format
msgid "The database cluster will be initialized with locale %s.\n"
msgstr "数据库簇将带有 locale %s 初始化.\n"
-#: initdb.c:2314
+#: initdb.c:2426
#, c-format
msgid ""
"The database cluster will be initialized with locales\n"
@@ -484,32 +505,37 @@ msgstr ""
" NUMERIC: %s\n"
" TIME: %s\n"
-#: initdb.c:2339
+#: initdb.c:2451
#, c-format
msgid "%s: could not find suitable encoding for locale \"%s\"\n"
msgstr "%s: 无法为 locale \"%s\" 找到合适的编码\n"
-#: initdb.c:2340
+#: initdb.c:2452
#, c-format
msgid "Rerun %s with the -E option.\n"
msgstr "带 -E 选项重新运行 %s.\n"
-#: initdb.c:2347
+#: initdb.c:2459
#, c-format
msgid "The default database encoding has accordingly been set to %s.\n"
msgstr "默认的数据库编码已经相应的设置为 %s.\n"
-#: initdb.c:2388
+#: initdb.c:2500
#, c-format
msgid "creating directory %s ... "
msgstr "创建目录 %s ... "
-#: initdb.c:2402
+#: initdb.c:2514
#, c-format
msgid "fixing permissions on existing directory %s ... "
msgstr "修复已存在目录 %s 的权限 ... "
-#: initdb.c:2420
+#: initdb.c:2520
+#, c-format
+msgid "%s: could not change permissions of directory \"%s\": %s\n"
+msgstr "%s: 无法改变目录 \"%s\" 的权限: %s\n"
+
+#: initdb.c:2533
#, c-format
msgid ""
"%s: directory \"%s\" exists but is not empty\n"
@@ -522,26 +548,66 @@ msgstr ""
"目录 \"%s\" 或者运行带参数的 %s\n"
"而不是 \"%s\".\n"
-#: initdb.c:2437
+#: initdb.c:2542
+#, c-format
+msgid "%s: could not access directory \"%s\": %s\n"
+msgstr "%s: 无法访问目录 \"%s\": %s\n"
+
+#: initdb.c:2551
#, c-format
msgid "creating directory %s/%s ... "
msgstr "创建目录 %s/%s ... "
-#: initdb.c:2501
+#: initdb.c:2619
#, c-format
msgid ""
"\n"
"Success. You can now start the database server using:\n"
"\n"
-" %s%s%s/postmaster -D %s%s%s\n"
+" %s%s%s%spostmaster -D %s%s%s\n"
"or\n"
-" %s%s%s/pg_ctl -D %s%s%s -l logfile start\n"
+" %s%s%s%spg_ctl -D %s%s%s -l logfile start\n"
"\n"
msgstr ""
"\n"
"成功. 您现在可以用下面的命令运行数据库服务器:\n"
"\n"
-" %s%s%s/postmaster -D %s%s%s\n"
+" %s%s%s%spostmaster -D %s%s%s\n"
"或者\n"
-" %s%s%s/pg_ctl -D %s%s%s -l logfile start\n"
+" %s%s%s%spg_ctl -D %s%s%s -l logfile start\n"
"\n"
+
+#: ../../port/dirmod.c:75 ../../port/dirmod.c:88 ../../port/dirmod.c:101
+#, c-format
+msgid "out of memory\n"
+msgstr "内存溢出\n"
+
+#: ../../port/exec.c:193 ../../port/exec.c:307 ../../port/exec.c:350
+#, c-format
+msgid "could not identify current directory: %s"
+msgstr "无法确认当前目录: %s"
+
+#: ../../port/exec.c:323 ../../port/exec.c:359
+#, c-format
+msgid "could not change directory to \"%s\""
+msgstr "无法进入目录 \"%s\""
+
+#: ../../port/exec.c:338
+#, c-format
+msgid "could not read symbolic link \"%s\""
+msgstr "无法读取符号链结 \"%s\""
+
+#: ../../port/exec.c:569
+#, c-format
+msgid "child process exited with exit code %d"
+msgstr "子进程已退出, 退出码为 %d"
+
+#: ../../port/exec.c:572
+#, c-format
+msgid "child process was terminated by signal %d"
+msgstr "子进程被信号 %d 终止"
+
+#: ../../port/exec.c:575
+#, c-format
+msgid "child process exited with unrecognized status %d"
+msgstr "子进程已退出, 未知状态 %d"