summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/preproc/po/zh_CN.po209
1 files changed, 112 insertions, 97 deletions
diff --git a/src/interfaces/ecpg/preproc/po/zh_CN.po b/src/interfaces/ecpg/preproc/po/zh_CN.po
index d619127621e..0a43655ff1b 100644
--- a/src/interfaces/ecpg/preproc/po/zh_CN.po
+++ b/src/interfaces/ecpg/preproc/po/zh_CN.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: ecpg (PostgreSQL 9.0)\n"
"Report-Msgid-Bugs-To: pgsql-bugs@postgresql.org\n"
-"POT-Creation-Date: 2013-01-29 13:40+0000\n"
-"PO-Revision-Date: 2012-10-19 10:58+0800\n"
+"POT-Creation-Date: 2014-11-22 21:07+0000\n"
+"PO-Revision-Date: 2014-11-24 15:21+0800\n"
"Last-Translator: Xiong He <iihero@qq.com>\n"
"Language-Team: Chinese (Simplified)\n"
"Language: zh_CN\n"
@@ -177,144 +177,156 @@ msgstr ""
"\n"
"错误报告至 <pgsql-bugs@postgresql.org>.\n"
-#: ecpg.c:182 ecpg.c:333 ecpg.c:343
+#: ecpg.c:143
+#, c-format
+#| msgid "%s: could not find own executable\n"
+msgid "%s: could not locate my own executable path\n"
+msgstr "%s: 找不到我的可执行文件路径\n"
+
+#: ecpg.c:186 ecpg.c:337 ecpg.c:347
#, c-format
msgid "%s: could not open file \"%s\": %s\n"
msgstr "%s: 无法打开文件 \"%s\": %s\n"
-#: ecpg.c:221 ecpg.c:234 ecpg.c:250 ecpg.c:275
+#: ecpg.c:225 ecpg.c:238 ecpg.c:254 ecpg.c:279
#, c-format
msgid "Try \"%s --help\" for more information.\n"
msgstr "请用 \"%s --help\" 获取更多的信息.\n"
-#: ecpg.c:245
+#: ecpg.c:249
#, c-format
msgid "%s: parser debug support (-d) not available\n"
msgstr "%s: 解析器跟踪调试支持(-d)无效\n"
-#: ecpg.c:263
+#: ecpg.c:267
#, c-format
msgid "%s, the PostgreSQL embedded C preprocessor, version %d.%d.%d\n"
msgstr "%s, PostgreSQL嵌入式C语言预处理器, 版本%d.%d.%d\n"
-#: ecpg.c:265
+#: ecpg.c:269
#, c-format
msgid "EXEC SQL INCLUDE ... search starts here:\n"
msgstr "EXEC SQL INCLUDE ... 从这里开始搜索:\n"
-#: ecpg.c:268
+#: ecpg.c:272
#, c-format
msgid "end of search list\n"
msgstr "搜索列表的结束部分\n"
-#: ecpg.c:274
+#: ecpg.c:278
#, c-format
msgid "%s: no input files specified\n"
msgstr "%s: 没有指定输入文件\n"
-#: ecpg.c:466
+#: ecpg.c:470
#, c-format
msgid "cursor \"%s\" has been declared but not opened"
msgstr "已经声明了游标\"%s\",但是没有打开"
-#: ecpg.c:479 preproc.y:109
+#: ecpg.c:483 preproc.y:125
#, c-format
msgid "could not remove output file \"%s\"\n"
msgstr "无法删除输出文件 \"%s\"\n"
-#: pgc.l:403
+#: pgc.l:421
#, c-format
msgid "unterminated /* comment"
msgstr "/* 注释没有结束"
-#: pgc.l:416
+#: pgc.l:434
#, c-format
msgid "invalid bit string literal"
msgstr "无效的bit字符串常量"
-#: pgc.l:425
+#: pgc.l:443
#, c-format
msgid "unterminated bit string literal"
msgstr "未结束的bit字符串常量"
-#: pgc.l:441
+#: pgc.l:459
#, c-format
msgid "unterminated hexadecimal string literal"
msgstr "未结束的16进制字符串常量"
-#: pgc.l:519
+#: pgc.l:537
#, c-format
msgid "unterminated quoted string"
msgstr "未结束的引用字符串"
-#: pgc.l:574 pgc.l:587
+#: pgc.l:592 pgc.l:605
#, c-format
msgid "zero-length delimited identifier"
msgstr "长度为0的分隔标识符"
-#: pgc.l:595
+#: pgc.l:613
#, c-format
msgid "unterminated quoted identifier"
msgstr "未结束的引用标识符"
-#: pgc.l:941
+#: pgc.l:867
+#, c-format
+#| msgid "unterminated /* comment"
+msgid "nested /* ... */ comments"
+msgstr "有嵌套注释/*...*/"
+
+#: pgc.l:960
#, c-format
msgid "missing identifier in EXEC SQL UNDEF command"
msgstr "在EXEC SQL UNDEF命令中丢失标识符"
-#: pgc.l:987 pgc.l:1001
+#: pgc.l:1006 pgc.l:1020
#, c-format
msgid "missing matching \"EXEC SQL IFDEF\" / \"EXEC SQL IFNDEF\""
msgstr "丢失匹配 \"EXEC SQL IFDEF\" / \"EXEC SQL IFNDEF\""
-#: pgc.l:990 pgc.l:1003 pgc.l:1179
+#: pgc.l:1009 pgc.l:1022 pgc.l:1198
#, c-format
msgid "missing \"EXEC SQL ENDIF;\""
msgstr "\"EXEC SQL ENDIF;\"丢失"
-#: pgc.l:1019 pgc.l:1038
+#: pgc.l:1038 pgc.l:1057
#, c-format
msgid "more than one EXEC SQL ELSE"
msgstr "多个EXEC SQL ELSE"
-#: pgc.l:1060 pgc.l:1074
+#: pgc.l:1079 pgc.l:1093
#, c-format
msgid "unmatched EXEC SQL ENDIF"
msgstr "EXEC SQL ENDIF不匹配"
-#: pgc.l:1094
+#: pgc.l:1113
#, c-format
msgid "too many nested EXEC SQL IFDEF conditions"
msgstr "嵌套EXEC SQL IFDEF条件太多"
-#: pgc.l:1127
+#: pgc.l:1146
#, c-format
msgid "missing identifier in EXEC SQL IFDEF command"
msgstr "在EXEC SQL IFDEF命令中丢失标识符"
-#: pgc.l:1136
+#: pgc.l:1155
#, c-format
msgid "missing identifier in EXEC SQL DEFINE command"
msgstr "在EXEC SQL DEFINE命令中丢失标识符"
-#: pgc.l:1169
+#: pgc.l:1188
#, c-format
msgid "syntax error in EXEC SQL INCLUDE command"
msgstr "在EXEC SQL INCLUDE命令中出现语法错误"
-#: pgc.l:1218
+#: pgc.l:1237
#, c-format
msgid ""
"internal error: unreachable state; please report this to <pgsql-"
"bugs@postgresql.org>"
msgstr "内部错误:不可到达的状态;请向<pgsql-bugs@postgresql.org>发送报告"
-#: pgc.l:1343
+#: pgc.l:1362
#, c-format
msgid "Error: include path \"%s/%s\" is too long on line %d, skipping\n"
msgstr "错误:在第%3$d行上包含路径\"%1$s/%2$s\"太长,跳过\n"
-#: pgc.l:1365
+#: pgc.l:1385
#, c-format
msgid "could not open include file \"%s\" on line %d"
msgstr "在第%2$d行无法打开应用文件\"%1$s\""
@@ -323,216 +335,213 @@ msgstr "在第%2$d行无法打开应用文件\"%1$s\""
msgid "syntax error"
msgstr "语法错误"
-#: preproc.y:81
+#: preproc.y:79
#, c-format
msgid "WARNING: "
msgstr "警告:"
-#: preproc.y:85
+#: preproc.y:82
#, c-format
msgid "ERROR: "
msgstr "错误:"
-#: preproc.y:491
+#: preproc.y:506
#, c-format
msgid "cursor \"%s\" does not exist"
msgstr "游标 \"%s\" 不存在"
-#: preproc.y:520
+#: preproc.y:535
#, c-format
msgid "initializer not allowed in type definition"
msgstr "在类型定义中不允许进行初始化"
-#: preproc.y:522
+#: preproc.y:537
#, c-format
msgid "type name \"string\" is reserved in Informix mode"
msgstr "在Informix模式中类型名称\"string\" 是被保留的"
-#: preproc.y:529 preproc.y:13277
+#: preproc.y:544 preproc.y:13867
#, c-format
msgid "type \"%s\" is already defined"
msgstr "已定义类型\"%s\" "
-#: preproc.y:553 preproc.y:13930 preproc.y:14251 variable.c:614
+#: preproc.y:568 preproc.y:14525 preproc.y:14846 variable.c:618
#, c-format
msgid "multidimensional arrays for simple data types are not supported"
msgstr "不支持针对简单数据类型的多维数组"
-#: preproc.y:1526
+#: preproc.y:1579
#, c-format
msgid "AT option not allowed in CLOSE DATABASE statement"
msgstr "在CLOSE DATABASE语句中不允许使用AT选项"
-#: preproc.y:1723
+#: preproc.y:1782
#, c-format
msgid "AT option not allowed in CONNECT statement"
msgstr "在CONNECT语句中不允许使用AT选项"
-#: preproc.y:1757
+#: preproc.y:1816
#, c-format
msgid "AT option not allowed in DISCONNECT statement"
msgstr "在DISCONNECT语句中不允许使用AT选项"
-#: preproc.y:1812
+#: preproc.y:1871
#, c-format
msgid "AT option not allowed in SET CONNECTION statement"
msgstr "在SET CONNECTION语句中不允许使用AT选项"
-#: preproc.y:1834
+#: preproc.y:1893
#, c-format
msgid "AT option not allowed in TYPE statement"
msgstr "在TYPE语句中不允许使用AT选项"
-#: preproc.y:1843
+#: preproc.y:1902
#, c-format
msgid "AT option not allowed in VAR statement"
msgstr "在VAR语句中不允许使用AT选项"
-#: preproc.y:1850
+#: preproc.y:1909
#, c-format
msgid "AT option not allowed in WHENEVER statement"
msgstr "在WHENEVER语句中不允许使用AT选项"
-#: preproc.y:2204 preproc.y:3489 preproc.y:4658 preproc.y:4667 preproc.y:4952
-#: preproc.y:7343 preproc.y:7348 preproc.y:7353 preproc.y:9695 preproc.y:10242
+#: preproc.y:2157 preproc.y:2162 preproc.y:2278 preproc.y:3656 preproc.y:4908
+#: preproc.y:4917 preproc.y:5201 preproc.y:6604 preproc.y:7693 preproc.y:7698
+#: preproc.y:10156 preproc.y:10753
#, c-format
msgid "unsupported feature will be passed to server"
msgstr "不支持的功能特性将会传递给服务器"
-#: preproc.y:2446
+#: preproc.y:2536
#, c-format
msgid "SHOW ALL is not implemented"
msgstr "没有使用SHOW ALL"
-#: preproc.y:2889 preproc.y:2900
-#, c-format
-msgid "COPY TO STDIN is not possible"
-msgstr "不能进行COPY TO STDIN的操作"
-
-#: preproc.y:2891
-#, c-format
-msgid "COPY FROM STDOUT is not possible"
-msgstr "不能进行COPY FROM STDOUT的操作"
-
-#: preproc.y:2893
+#: preproc.y:3044
#, c-format
msgid "COPY FROM STDIN is not implemented"
msgstr "不能进行COPY FROM STDIN的操作"
-#: preproc.y:8157 preproc.y:12866
+#: preproc.y:8534 preproc.y:13456
#, c-format
msgid "using variable \"%s\" in different declare statements is not supported"
msgstr "不支持在不同的声明语句中使用变量\"%s\""
-#: preproc.y:8159 preproc.y:12868
+#: preproc.y:8536 preproc.y:13458
#, c-format
msgid "cursor \"%s\" is already defined"
msgstr "已经定义了游标\"%s\""
-#: preproc.y:8577
+#: preproc.y:8954
#, c-format
msgid "no longer supported LIMIT #,# syntax passed to server"
msgstr "不再支持将LIMIT #,#语法传递给服务器"
-#: preproc.y:8812
+#: preproc.y:9190 preproc.y:9197
#, c-format
msgid "subquery in FROM must have an alias"
msgstr "FROM 中的子查询必须有一个别名"
-#: preproc.y:12596
+#: preproc.y:13186
#, c-format
msgid "CREATE TABLE AS cannot specify INTO"
msgstr "在CREATE TABLE AS语句中不能指定INTO子句"
-#: preproc.y:12632
+#: preproc.y:13222
#, c-format
msgid "expected \"@\", found \"%s\""
msgstr "期望 \"@\", 但是找到了\"%s\""
-#: preproc.y:12644
+#: preproc.y:13234
#, c-format
msgid ""
"only protocols \"tcp\" and \"unix\" and database type \"postgresql\" are "
"supported"
msgstr "只支持协议\"tcp\"和 \"unix\"以及数据库类型 \"postgresql\""
-#: preproc.y:12647
+#: preproc.y:13237
#, c-format
msgid "expected \"://\", found \"%s\""
msgstr "期望得到 \"://\",但是找到了\"%s\""
-#: preproc.y:12652
+#: preproc.y:13242
#, c-format
msgid "Unix-domain sockets only work on \"localhost\" but not on \"%s\""
msgstr "Unix-域的sockets只能在\"localhost\"上运行,而不能在\"%s\"上运行"
-#: preproc.y:12678
+#: preproc.y:13268
#, c-format
msgid "expected \"postgresql\", found \"%s\""
msgstr "期望\"postgresql\", 但是只找到了\"%s\""
-#: preproc.y:12681
+#: preproc.y:13271
#, c-format
msgid "invalid connection type: %s"
msgstr "无效的连接类型: %s"
-#: preproc.y:12690
+#: preproc.y:13280
#, c-format
msgid "expected \"@\" or \"://\", found \"%s\""
msgstr "期望\"@\"或\"://\",但是只找到了\"%s\""
-#: preproc.y:12765 preproc.y:12783
+#: preproc.y:13355 preproc.y:13373
#, c-format
msgid "invalid data type"
msgstr "无效数据类型"
-#: preproc.y:12794 preproc.y:12811
+#: preproc.y:13384 preproc.y:13401
#, c-format
msgid "incomplete statement"
msgstr "未结束的语句"
-#: preproc.y:12797 preproc.y:12814
+#: preproc.y:13387 preproc.y:13404
#, c-format
msgid "unrecognized token \"%s\""
msgstr "无法识别的符号\"%s\""
-#: preproc.y:13088
+#: preproc.y:13678
#, c-format
msgid "only data types numeric and decimal have precision/scale argument"
msgstr "只有数据类型numeric和decimal有精度/范围参数"
-#: preproc.y:13100
+#: preproc.y:13690
#, c-format
msgid "interval specification not allowed here"
msgstr "在这里不允许使用间隔定义"
-#: preproc.y:13252 preproc.y:13304
+#: preproc.y:13842 preproc.y:13894
#, c-format
msgid "too many levels in nested structure/union definition"
msgstr "在嵌套结构/联合定义中存在太多的层次"
-#: preproc.y:13438
+#: preproc.y:14033
#, c-format
msgid "pointers to varchar are not implemented"
msgstr "没有实现指向varchar类型值的指针"
-#: preproc.y:13625 preproc.y:13650
+#: preproc.y:14220 preproc.y:14245
#, c-format
msgid "using unsupported DESCRIBE statement"
msgstr "使用不支持的DESCRIBE语句"
-#: preproc.y:13897
+#: preproc.y:14492
#, c-format
msgid "initializer not allowed in EXEC SQL VAR command"
msgstr "在EXEC SQL VAR命令中不允许初始化"
-#: preproc.y:14209
+#: preproc.y:14804
#, c-format
msgid "arrays of indicators are not allowed on input"
msgstr "在输入上不允许使用标识数组"
+#: preproc.y:15025
+#, c-format
+#| msgid "initializer not allowed in type definition"
+msgid "operator not allowed in variable definition"
+msgstr "操作符不允许出现在变量定义当中"
+
#. translator: %s is typically the translation of "syntax error"
-#: preproc.y:14463
+#: preproc.y:15063
#, c-format
msgid "%s at or near \"%s\""
msgstr "%s 在 \"%s\" 或附近的"
@@ -542,7 +551,7 @@ msgstr "%s 在 \"%s\" 或附近的"
msgid "out of memory"
msgstr "内存用尽"
-#: type.c:212 type.c:590
+#: type.c:212 type.c:664
#, c-format
msgid "unrecognized variable type code %d"
msgstr "无法识别的变量类型代码%d"
@@ -578,17 +587,17 @@ msgstr "对于数组/指针的记号必须是array/pointer"
msgid "nested arrays are not supported (except strings)"
msgstr "不支持嵌套数组(除了字符串外)"
-#: type.c:322
+#: type.c:331
#, c-format
msgid "indicator for struct has to be a struct"
msgstr "结构的记号必须是struct"
-#: type.c:331 type.c:339 type.c:347
+#: type.c:351 type.c:372 type.c:392
#, c-format
msgid "indicator for simple data type has to be simple"
msgstr "对简单数据类型的指标要简单 "
-#: type.c:649
+#: type.c:723
#, c-format
msgid "unrecognized descriptor item code %d"
msgstr "无法识别的描述符成员代码 %d"
@@ -623,22 +632,22 @@ msgstr "变量\"%s\"不是一个数组"
msgid "variable \"%s\" is not declared"
msgstr "没有声明变量\"%s\""
-#: variable.c:488
+#: variable.c:492
#, c-format
msgid "indicator variable must have an integer type"
msgstr "标记变量必须有一个整数类型"
-#: variable.c:500
+#: variable.c:504
#, c-format
msgid "unrecognized data type name \"%s\""
msgstr "无法识别的数据类型名称 \"%s\""
-#: variable.c:511 variable.c:519 variable.c:536 variable.c:539
+#: variable.c:515 variable.c:523 variable.c:540 variable.c:543
#, c-format
msgid "multidimensional arrays are not supported"
msgstr "不支持多维数组"
-#: variable.c:528
+#: variable.c:532
#, c-format
msgid ""
"multilevel pointers (more than 2 levels) are not supported; found %d level"
@@ -646,24 +655,30 @@ msgid_plural ""
"multilevel pointers (more than 2 levels) are not supported; found %d levels"
msgstr[0] "不支持多级指针(超过2级);找到了%d级指针."
-#: variable.c:533
+#: variable.c:537
#, c-format
msgid "pointer to pointer is not supported for this data type"
msgstr "对于这种数据类型不支持指向指针的指针"
-#: variable.c:553
+#: variable.c:557
#, c-format
msgid "multidimensional arrays for structures are not supported"
msgstr "不支持结构类型的多维数组"
-#~ msgid "NEW used in query that is not in a rule"
-#~ msgstr "查询中使用的 NEW 不在一个规则中"
+#~ msgid "AT option not allowed in DEALLOCATE statement"
+#~ msgstr "在DEALLOCATE语句中不允许使用AT选项"
+
+#~ msgid "constraint declared INITIALLY DEFERRED must be DEFERRABLE"
+#~ msgstr "约束声明 INITIALLY DEFERRED 必须为 DEFERRABLE"
#~ msgid "OLD used in query that is not in a rule"
#~ msgstr "查询中使用的 OLD 不在一个规则中"
-#~ msgid "constraint declared INITIALLY DEFERRED must be DEFERRABLE"
-#~ msgstr "约束声明 INITIALLY DEFERRED 必须为 DEFERRABLE"
+#~ msgid "NEW used in query that is not in a rule"
+#~ msgstr "查询中使用的 NEW 不在一个规则中"
-#~ msgid "AT option not allowed in DEALLOCATE statement"
-#~ msgstr "在DEALLOCATE语句中不允许使用AT选项"
+#~ msgid "COPY FROM STDOUT is not possible"
+#~ msgstr "不能进行COPY FROM STDOUT的操作"
+
+#~ msgid "COPY TO STDIN is not possible"
+#~ msgstr "不能进行COPY TO STDIN的操作"