comparison locale/zh_CN.po @ 7052:4b6a6b794dfa

Fix errors in po files. Trying to get translation files in shape for translationproject.org. Not sure it wil happen but this checkin fixes errors in .po files found by msgfmt -cv. Recreated template and merged into .po files. Also adds potest to makefile targets and improves diff target. Fixes: Project-Id-Version changed to 2.3.0. I can't find doc on what this is supposed to be. I assume it is to match the .po file to the release since there are other fields for recording the last update to the translations. Language header, is often blank. Added Language-Team value where missing. Plural-Forms header for a couple of languages per: https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html Japanese still has an issue. There are plural forms defined in the file, but according to the above, there should only be one form. I don't know Japanese, so am not qualified to remove the plural forms or change the Plural-Forms header to the expected: nplurals=1; plural=0; So I have left it with: nplurals=2; plural=0;\n" Which will always choose the first plural form (index 0). Added Last-Translator, Language and Content-Transfer-Encoding for en.po.
author John Rouillard <rouilj@ieee.org>
date Sun, 20 Nov 2022 11:29:31 -0500
parents 5a84ddf7aa8b
children aca710a3b687
comparison
equal deleted inserted replaced
7051:519cc743bf5a 7052:4b6a6b794dfa
4 # 4 #
5 # roundup.pot revision 1.18 5 # roundup.pot revision 1.18
6 # 6 #
7 msgid "" 7 msgid ""
8 msgstr "" 8 msgstr ""
9 "Project-Id-Version: 0.8.3\n" 9 "Project-Id-Version: Roundup 2.3.0\n"
10 "Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net\n" 10 "Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net\n"
11 "POT-Creation-Date: 2022-09-14 23:13-0400\n" 11 "POT-Creation-Date: 2022-11-20 10:32-0500\n"
12 "PO-Revision-Date: 2013-10-31 12:22+0100\n" 12 "PO-Revision-Date: 2013-10-31 12:22+0100\n"
13 "Last-Translator: Cheer Xiao <xiaqqaix@gmail.com>\n" 13 "Last-Translator: Cheer Xiao <xiaqqaix@gmail.com>\n"
14 "Language-Team: Chinese Simplified <limodou@gmail.com>\n" 14 "Language-Team: Chinese Simplified <limodou@gmail.com>\n"
15 "Language: \n" 15 "Language: zh_CN\n"
16 "MIME-Version: 1.0\n" 16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n" 17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n" 18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=1; plural=0;\n" 19 "Plural-Forms: nplurals=1; plural=0;\n"
20 "X-Poedit-Language: Chinese\n" 20 "X-Poedit-Language: Chinese\n"
1201 1201
1202 #: ../roundup/admin.py:1839 1202 #: ../roundup/admin.py:1839
1203 msgid "There are unsaved changes. Commit them (y/N)? " 1203 msgid "There are unsaved changes. Commit them (y/N)? "
1204 msgstr "存在未被保存的改动。提交吗(y/N)?" 1204 msgstr "存在未被保存的改动。提交吗(y/N)?"
1205 1205
1206 #: ../roundup/backends/back_anydbm.py:193 ../roundup/backends/back_lmdb.py:251 1206 #: ../roundup/backends/back_anydbm.py:215
1207 #: ../roundup/backends/rdbms_common.py:928 1207 #: ../roundup/backends/rdbms_common.py:928
1208 #, python-format 1208 #, python-format
1209 msgid "Class \"%s\" already defined." 1209 msgid "Class \"%s\" already defined."
1210 msgstr "" 1210 msgstr ""
1211 1211
1212 #: ../roundup/backends/back_anydbm.py:254 ../roundup/backends/back_lmdb.py:312 1212 #: ../roundup/backends/back_anydbm.py:280
1213 #: ../roundup/backends/sessions_dbm.py:56 1213 #: ../roundup/backends/sessions_dbm.py:56
1214 msgid "Couldn't identify database type" 1214 msgid "Couldn't identify database type"
1215 msgstr "" 1215 msgstr ""
1216 1216
1217 #: ../roundup/backends/back_anydbm.py:288 ../roundup/backends/back_lmdb.py:346 1217 #: ../roundup/backends/back_anydbm.py:314
1218 #, python-format 1218 #, python-format
1219 msgid "" 1219 msgid ""
1220 "Couldn't open database - the required module '%s' (as dbm.gnu) is not " 1220 "Couldn't open database - the required module '%s' (as dbm.gnu) is not "
1221 "available" 1221 "available"
1222 msgstr "" 1222 msgstr ""
1223 1223
1224 #: ../roundup/backends/back_anydbm.py:291 ../roundup/backends/back_lmdb.py:349 1224 #: ../roundup/backends/back_anydbm.py:318
1225 #, python-format 1225 #, python-format
1226 msgid "Couldn't open database - the required module '%s' is not available" 1226 msgid "Couldn't open database - the required module '%s' is not available"
1227 msgstr "" 1227 msgstr ""
1228 1228
1229 #: ../roundup/backends/back_anydbm.py:847 1229 #: ../roundup/backends/back_anydbm.py:871
1230 #: ../roundup/backends/back_anydbm.py:860 1230 #: ../roundup/backends/back_anydbm.py:884
1231 #: ../roundup/backends/back_anydbm.py:1133 1231 #: ../roundup/backends/back_anydbm.py:1158
1232 #: ../roundup/backends/back_anydbm.py:1168 1232 #: ../roundup/backends/back_anydbm.py:1193
1233 #: ../roundup/backends/back_anydbm.py:1394 1233 #: ../roundup/backends/back_anydbm.py:1422
1234 #: ../roundup/backends/back_anydbm.py:1412 1234 #: ../roundup/backends/back_anydbm.py:1440
1235 #: ../roundup/backends/back_anydbm.py:1458 1235 #: ../roundup/backends/back_anydbm.py:1487
1236 #: ../roundup/backends/back_anydbm.py:2083 1236 #: ../roundup/backends/back_anydbm.py:2117
1237 #: ../roundup/backends/back_anydbm.py:847:860 1237 #: ../roundup/backends/back_anydbm.py:871:884
1238 #: ../roundup/backends/back_lmdb.py:905 ../roundup/backends/back_lmdb.py:918 1238 #: ../roundup/backends/rdbms_common.py:1708
1239 #: ../roundup/backends/back_lmdb.py:1191 ../roundup/backends/back_lmdb.py:1226 1239 #: ../roundup/backends/rdbms_common.py:1955
1240 #: ../roundup/backends/back_lmdb.py:1452 ../roundup/backends/back_lmdb.py:1470 1240 #: ../roundup/backends/rdbms_common.py:2194
1241 #: ../roundup/backends/back_lmdb.py:1516 ../roundup/backends/back_lmdb.py:2138 1241 #: ../roundup/backends/rdbms_common.py:2214
1242 #: ../roundup/backends/back_lmdb.py:905:918 1242 #: ../roundup/backends/rdbms_common.py:2267
1243 #: ../roundup/backends/rdbms_common.py:1706 1243 #: ../roundup/backends/rdbms_common.py:3219
1244 #: ../roundup/backends/rdbms_common.py:1953 1244 #: ../roundup/backends/rdbms_common.py:1708:1955 :1158:1193 :1422:1440:1487
1245 #: ../roundup/backends/rdbms_common.py:2192 1245 #: :2117 :2194:2214 :2267:3219
1246 #: ../roundup/backends/rdbms_common.py:2212
1247 #: ../roundup/backends/rdbms_common.py:2265
1248 #: ../roundup/backends/rdbms_common.py:3217
1249 #: ../roundup/backends/rdbms_common.py:1706:1953 :1133:1168 :1191:1226
1250 #: :1394:1412 :1452:1470:1458 :1516:2138:2083 :2192:2212:2265 :3217
1251 msgid "Database open read-only" 1246 msgid "Database open read-only"
1252 msgstr "" 1247 msgstr ""
1253 1248
1254 #: ../roundup/backends/indexer_postgresql_fts.py:113 1249 #: ../roundup/backends/indexer_postgresql_fts.py:113
1255 msgid "" 1250 msgid ""
1286 #: ../roundup/backends/rdbms_common.py:884 1281 #: ../roundup/backends/rdbms_common.py:884
1287 #, python-format 1282 #, python-format
1288 msgid "DROP operation disallowed: \"%s\"." 1283 msgid "DROP operation disallowed: \"%s\"."
1289 msgstr "" 1284 msgstr ""
1290 1285
1291 #: ../roundup/backends/rdbms_common.py:1849 1286 #: ../roundup/backends/rdbms_common.py:1851
1292 msgid "create" 1287 msgid "create"
1293 msgstr "创建" 1288 msgstr "创建"
1294 1289
1295 #: ../roundup/backends/rdbms_common.py:2024 1290 #: ../roundup/backends/rdbms_common.py:2026
1296 msgid "unlink" 1291 msgid "unlink"
1297 msgstr "解链" 1292 msgstr "解链"
1298 1293
1299 #: ../roundup/backends/rdbms_common.py:2028 1294 #: ../roundup/backends/rdbms_common.py:2030
1300 msgid "link" 1295 msgid "link"
1301 msgstr "链接" 1296 msgstr "链接"
1302 1297
1303 #: ../roundup/backends/rdbms_common.py:2173 1298 #: ../roundup/backends/rdbms_common.py:2175
1304 msgid "set" 1299 msgid "set"
1305 msgstr "修改" 1300 msgstr "修改"
1306 1301
1307 #: ../roundup/backends/rdbms_common.py:2202 1302 #: ../roundup/backends/rdbms_common.py:2204
1308 msgid "retired" 1303 msgid "retired"
1309 msgstr "撤除" 1304 msgstr "撤除"
1310 1305
1311 #: ../roundup/backends/rdbms_common.py:2232 1306 #: ../roundup/backends/rdbms_common.py:2234
1312 msgid "restored" 1307 msgid "restored"
1313 msgstr "恢复" 1308 msgstr "恢复"
1314 1309
1315 #: ../roundup/backends/sessions_redis.py:76 1310 #: ../roundup/backends/sessions_redis.py:76
1316 #: ../roundup/backends/sessions_redis.py:95 1311 #: ../roundup/backends/sessions_redis.py:95
1960 #, python-format 1955 #, python-format
1961 msgid "Required %(class)s property %(property)s not supplied" 1956 msgid "Required %(class)s property %(property)s not supplied"
1962 msgid_plural "Required %(class)s properties %(property)s not supplied" 1957 msgid_plural "Required %(class)s properties %(property)s not supplied"
1963 msgstr[0] "要求的 %(class)s 属性 %(property)s 没有被提供" 1958 msgstr[0] "要求的 %(class)s 属性 %(property)s 没有被提供"
1964 1959
1965 #: ../roundup/cgi/templating.py:238 1960 #: ../roundup/cgi/templating.py:240
1966 #, python-format 1961 #, python-format
1967 msgid "You are not allowed to %(action)s items of class %(class)s" 1962 msgid "You are not allowed to %(action)s items of class %(class)s"
1968 msgstr "你不允许 %(action)s 类 %(class)s 的项目" 1963 msgstr "你不允许 %(action)s 类 %(class)s 的项目"
1969 1964
1970 #: ../roundup/cgi/templating.py:851 1965 #: ../roundup/cgi/templating.py:869
1971 msgid "(list)" 1966 msgid "(list)"
1972 msgstr "(列表)" 1967 msgstr "(列表)"
1973 1968
1974 #: ../roundup/cgi/templating.py:924 1969 #: ../roundup/cgi/templating.py:944
1975 msgid "Submit New Entry" 1970 msgid "Submit New Entry"
1976 msgstr "提交" 1971 msgstr "提交"
1977 1972
1978 #: ../roundup/cgi/templating.py:946 ../roundup/cgi/templating.py:1117 1973 #: ../roundup/cgi/templating.py:966 ../roundup/cgi/templating.py:1142
1979 #: ../roundup/cgi/templating.py:1736 ../roundup/cgi/templating.py:1765 1974 #: ../roundup/cgi/templating.py:1777 ../roundup/cgi/templating.py:1806
1980 #: ../roundup/cgi/templating.py:1785 ../roundup/cgi/templating.py:1798 1975 #: ../roundup/cgi/templating.py:1826 ../roundup/cgi/templating.py:1839
1981 #: ../roundup/cgi/templating.py:1835 ../roundup/cgi/templating.py:1888 1976 #: ../roundup/cgi/templating.py:1877 ../roundup/cgi/templating.py:1930
1982 #: ../roundup/cgi/templating.py:1911 ../roundup/cgi/templating.py:1918 1977 #: ../roundup/cgi/templating.py:1954 ../roundup/cgi/templating.py:1961
1983 #: ../roundup/cgi/templating.py:1954 ../roundup/cgi/templating.py:2006 1978 #: ../roundup/cgi/templating.py:1998 ../roundup/cgi/templating.py:2051
1984 #: ../roundup/cgi/templating.py:2039 ../roundup/cgi/templating.py:2128 1979 #: ../roundup/cgi/templating.py:2084 ../roundup/cgi/templating.py:2179
1985 #: ../roundup/cgi/templating.py:2149 ../roundup/cgi/templating.py:2239 1980 #: ../roundup/cgi/templating.py:2200 ../roundup/cgi/templating.py:2291
1986 #: ../roundup/cgi/templating.py:2259 ../roundup/cgi/templating.py:2281 1981 #: ../roundup/cgi/templating.py:2311 ../roundup/cgi/templating.py:2333
1987 #: ../roundup/cgi/templating.py:2320 ../roundup/cgi/templating.py:2330 1982 #: ../roundup/cgi/templating.py:2376 ../roundup/cgi/templating.py:2386
1988 #: ../roundup/cgi/templating.py:2394 ../roundup/cgi/templating.py:2693 1983 #: ../roundup/cgi/templating.py:2451 ../roundup/cgi/templating.py:2754
1989 #: ../roundup/cgi/templating.py:946:1117 :1736:1765 :1785:1798 :1835:1888 1984 #: ../roundup/cgi/templating.py:966:1142 :1777:1806 :1826:1839 :1877:1930
1990 #: :1911:1918 :1954:2006 :2039:2128 :2149:2239 :2259:2281 :2320:2330 :2394:2693 1985 #: :1954:1961 :1998:2051 :2084:2179 :2200:2291 :2311:2333 :2376:2386 :2451:2754
1991 msgid "[hidden]" 1986 msgid "[hidden]"
1992 msgstr "[隐藏]" 1987 msgstr "[隐藏]"
1993 1988
1994 #: ../roundup/cgi/templating.py:947 1989 #: ../roundup/cgi/templating.py:967
1995 msgid "New node - no history" 1990 msgid "New node - no history"
1996 msgstr "新记录 - 无历史" 1991 msgstr "新记录 - 无历史"
1997 1992
1998 #: ../roundup/cgi/templating.py:1082 1993 #: ../roundup/cgi/templating.py:1107
1999 msgid "Submit Changes" 1994 msgid "Submit Changes"
2000 msgstr "提交变动" 1995 msgstr "提交变动"
2001 1996
2002 #: ../roundup/cgi/templating.py:1160 1997 #: ../roundup/cgi/templating.py:1185
2003 msgid "<em>The indicated property no longer exists</em>" 1998 msgid "<em>The indicated property no longer exists</em>"
2004 msgstr "<em>指示的属性不再存在</em>" 1999 msgstr "<em>指示的属性不再存在</em>"
2005 2000
2006 #: ../roundup/cgi/templating.py:1161 2001 #: ../roundup/cgi/templating.py:1186
2007 #, python-format 2002 #, python-format
2008 msgid "<em>%s: %s</em>\n" 2003 msgid "<em>%s: %s</em>\n"
2009 msgstr "<em>%s: %s</em>\n" 2004 msgstr "<em>%s: %s</em>\n"
2010 2005
2011 #: ../roundup/cgi/templating.py:1196 2006 #: ../roundup/cgi/templating.py:1221
2012 #, python-format 2007 #, python-format
2013 msgid "The linked class %(classname)s no longer exists" 2008 msgid "The linked class %(classname)s no longer exists"
2014 msgstr "链接的类 %(classname)s 不再存在" 2009 msgstr "链接的类 %(classname)s 不再存在"
2015 2010
2016 #: ../roundup/cgi/templating.py:1232 ../roundup/cgi/templating.py:1260 2011 #: ../roundup/cgi/templating.py:1258 ../roundup/cgi/templating.py:1288
2017 #: ../roundup/cgi/templating.py:2403 ../roundup/cgi/templating.py:2702 2012 #: ../roundup/cgi/templating.py:2460 ../roundup/cgi/templating.py:2763
2018 #: ../roundup/cgi/templating.py:1232:1260 :2403:2702 2013 #: ../roundup/cgi/templating.py:1258:1288 :2460:2763
2019 msgid "[label is missing]" 2014 msgid "[label is missing]"
2020 msgstr "" 2015 msgstr ""
2021 2016
2022 # ../roundup/cgi/templating.py:872 :893 2017 # ../roundup/cgi/templating.py:872 :893
2023 #: ../roundup/cgi/templating.py:1236 ../roundup/cgi/templating.py:1263 2018 #: ../roundup/cgi/templating.py:1262 ../roundup/cgi/templating.py:1291
2024 #: ../roundup/cgi/templating.py:1236:1263 2019 #: ../roundup/cgi/templating.py:1262:1291
2025 msgid "<strike>The linked node no longer exists</strike>" 2020 msgid "<strike>The linked node no longer exists</strike>"
2026 msgstr "<strike>链接的结点不再存在</strike>" 2021 msgstr "<strike>链接的结点不再存在</strike>"
2027 2022
2028 #: ../roundup/cgi/templating.py:1324 2023 #: ../roundup/cgi/templating.py:1353
2029 #, python-format 2024 #, python-format
2030 msgid "%s: (no value)" 2025 msgid "%s: (no value)"
2031 msgstr "%s: (无值)" 2026 msgstr "%s: (无值)"
2032 2027
2033 #: ../roundup/cgi/templating.py:1340 2028 #: ../roundup/cgi/templating.py:1369
2034 #, fuzzy, python-format 2029 #, fuzzy, python-format
2035 msgid "" 2030 msgid ""
2036 "<strong><em>This event %s is not handled by the history display!</em></" 2031 "<strong><em>This event %s is not handled by the history display!</em></"
2037 "strong>" 2032 "strong>"
2038 msgstr "<strong><em>这个事件不能被历史显示所处理!</em></strong>" 2033 msgstr "<strong><em>这个事件不能被历史显示所处理!</em></strong>"
2039 2034
2040 #: ../roundup/cgi/templating.py:1353 2035 #: ../roundup/cgi/templating.py:1382
2041 msgid "<tr><td colspan=4><strong>Note:</strong></td></tr>" 2036 msgid "<tr><td colspan=4><strong>Note:</strong></td></tr>"
2042 msgstr "<tr><td colspan=4><strong>注意:</strong></td></tr>" 2037 msgstr "<tr><td colspan=4><strong>注意:</strong></td></tr>"
2043 2038
2044 #: ../roundup/cgi/templating.py:1362 2039 #: ../roundup/cgi/templating.py:1391
2045 msgid "History" 2040 msgid "History"
2046 msgstr "历史" 2041 msgstr "历史"
2047 2042
2048 #: ../roundup/cgi/templating.py:1364 2043 #: ../roundup/cgi/templating.py:1393
2049 msgid "<th>Date</th>" 2044 msgid "<th>Date</th>"
2050 msgstr "<th>日期</th>" 2045 msgstr "<th>日期</th>"
2051 2046
2052 #: ../roundup/cgi/templating.py:1365 2047 #: ../roundup/cgi/templating.py:1394
2053 msgid "<th>User</th>" 2048 msgid "<th>User</th>"
2054 msgstr "<th>用户</th>" 2049 msgstr "<th>用户</th>"
2055 2050
2056 #: ../roundup/cgi/templating.py:1366 2051 #: ../roundup/cgi/templating.py:1395
2057 msgid "<th>Action</th>" 2052 msgid "<th>Action</th>"
2058 msgstr "<th>动作</th>" 2053 msgstr "<th>动作</th>"
2059 2054
2060 #: ../roundup/cgi/templating.py:1367 2055 #: ../roundup/cgi/templating.py:1396
2061 msgid "<th>Args</th>" 2056 msgid "<th>Args</th>"
2062 msgstr "<th>参数</th>" 2057 msgstr "<th>参数</th>"
2063 2058
2064 #: ../roundup/cgi/templating.py:1418 2059 #: ../roundup/cgi/templating.py:1447
2065 #, fuzzy, python-format 2060 #, fuzzy, python-format
2066 msgid "Copy of %(class)s %(id)s" 2061 msgid "Copy of %(class)s %(id)s"
2067 msgstr "%(class)s %(id)s 被创建" 2062 msgstr "%(class)s %(id)s 被创建"
2068 2063
2069 #: ../roundup/cgi/templating.py:2043 ../roundup/cgi/templating.py:2076 2064 #: ../roundup/cgi/templating.py:2088 ../roundup/cgi/templating.py:2123
2070 #: ../roundup/cgi/templating.py:1306:2043:2076 2065 #: ../roundup/cgi/templating.py:1335:2088:2123
2071 msgid "No" 2066 msgid "No"
2072 msgstr "否" 2067 msgstr "否"
2073 2068
2074 #: ../roundup/cgi/templating.py:2043 ../roundup/cgi/templating.py:2071 2069 #: ../roundup/cgi/templating.py:2088 ../roundup/cgi/templating.py:2117
2075 #: ../roundup/cgi/templating.py:1306:2043:2071 2070 #: ../roundup/cgi/templating.py:1335:2088:2117
2076 msgid "Yes" 2071 msgid "Yes"
2077 msgstr "是" 2072 msgstr "是"
2078 2073
2079 #: ../roundup/cgi/templating.py:2197 2074 #: ../roundup/cgi/templating.py:2249
2080 msgid "" 2075 msgid ""
2081 "default value for DateHTMLProperty must be either DateHTMLProperty or string " 2076 "default value for DateHTMLProperty must be either DateHTMLProperty or string "
2082 "date representation." 2077 "date representation."
2083 msgstr "DateHTMLProperty 的缺省值或者是 DateHTMLProperty 或字符串的日期表示。" 2078 msgstr "DateHTMLProperty 的缺省值或者是 DateHTMLProperty 或字符串的日期表示。"
2084 2079
2085 #: ../roundup/cgi/templating.py:2374 2080 #: ../roundup/cgi/templating.py:2431
2086 #, python-format 2081 #, python-format
2087 msgid "Attempt to look up %(attr)s on a missing value" 2082 msgid "Attempt to look up %(attr)s on a missing value"
2088 msgstr "" 2083 msgstr ""
2089 2084
2090 #: ../roundup/cgi/templating.py:2385 2085 #: ../roundup/cgi/templating.py:2442
2091 #, python-format 2086 #, python-format
2092 msgid "Attempt to look up %(item)s on a missing value" 2087 msgid "Attempt to look up %(item)s on a missing value"
2093 msgstr "" 2088 msgstr ""
2094 2089
2095 #: ../roundup/cgi/templating.py:2489 2090 #: ../roundup/cgi/templating.py:2547
2096 #, python-format 2091 #, python-format
2097 msgid "<option %svalue=\"-1\">- no selection -</option>" 2092 msgid "<option %svalue=\"-1\">- no selection -</option>"
2098 msgstr "<option %svalue=\"-1\">- 未选择 -</option>" 2093 msgstr "<option %svalue=\"-1\">- 未选择 -</option>"
2099 2094
2100 #: ../roundup/cgi/timestamp.py:19 2095 #: ../roundup/cgi/timestamp.py:19

Roundup Issue Tracker: http://roundup-tracker.org/