Mercurial > p > roundup > code
comparison locale/zh_CN.po @ 6620:b7093aa16895
issue2551196 - Unset labelprop of a Multilink can lead to Python error when using context/history
Fix history by adding default string value to calls to
link_class.get(). Mark as translatable string. Include originally
identified multilink path and apply same fix to link path.
Also fix a possible issue in the plain() display paths for
link/multilink the same way if the label is missing.
Update translation files.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 05 Mar 2022 18:55:50 -0500 |
| parents | b0bafbf4fddd |
| children | 01216187a167 |
comparison
equal
deleted
inserted
replaced
| 6619:637501e529f3 | 6620:b7093aa16895 |
|---|---|
| 6 # | 6 # |
| 7 msgid "" | 7 msgid "" |
| 8 msgstr "" | 8 msgstr "" |
| 9 "Project-Id-Version: 0.8.3\n" | 9 "Project-Id-Version: 0.8.3\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-01-28 00:18-0500\n" | 11 "POT-Creation-Date: 2022-03-05 18:51-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: \n" |
| 16 "MIME-Version: 1.0\n" | 16 "MIME-Version: 1.0\n" |
| 1869 #: ../roundup/cgi/templating.py:941 | 1869 #: ../roundup/cgi/templating.py:941 |
| 1870 msgid "Submit New Entry" | 1870 msgid "Submit New Entry" |
| 1871 msgstr "提交" | 1871 msgstr "提交" |
| 1872 | 1872 |
| 1873 #: ../roundup/cgi/templating.py:963 ../roundup/cgi/templating.py:1134 | 1873 #: ../roundup/cgi/templating.py:963 ../roundup/cgi/templating.py:1134 |
| 1874 #: ../roundup/cgi/templating.py:1750 ../roundup/cgi/templating.py:1779 | 1874 #: ../roundup/cgi/templating.py:1753 ../roundup/cgi/templating.py:1782 |
| 1875 #: ../roundup/cgi/templating.py:1799 ../roundup/cgi/templating.py:1812 | 1875 #: ../roundup/cgi/templating.py:1802 ../roundup/cgi/templating.py:1815 |
| 1876 #: ../roundup/cgi/templating.py:1849 ../roundup/cgi/templating.py:1902 | 1876 #: ../roundup/cgi/templating.py:1852 ../roundup/cgi/templating.py:1905 |
| 1877 #: ../roundup/cgi/templating.py:1925 ../roundup/cgi/templating.py:1932 | 1877 #: ../roundup/cgi/templating.py:1928 ../roundup/cgi/templating.py:1935 |
| 1878 #: ../roundup/cgi/templating.py:1968 ../roundup/cgi/templating.py:2005 | 1878 #: ../roundup/cgi/templating.py:1971 ../roundup/cgi/templating.py:2008 |
| 1879 #: ../roundup/cgi/templating.py:2038 ../roundup/cgi/templating.py:2127 | 1879 #: ../roundup/cgi/templating.py:2041 ../roundup/cgi/templating.py:2130 |
| 1880 #: ../roundup/cgi/templating.py:2148 ../roundup/cgi/templating.py:2238 | 1880 #: ../roundup/cgi/templating.py:2151 ../roundup/cgi/templating.py:2241 |
| 1881 #: ../roundup/cgi/templating.py:2258 ../roundup/cgi/templating.py:2280 | 1881 #: ../roundup/cgi/templating.py:2261 ../roundup/cgi/templating.py:2283 |
| 1882 #: ../roundup/cgi/templating.py:2319 ../roundup/cgi/templating.py:2329 | 1882 #: ../roundup/cgi/templating.py:2322 ../roundup/cgi/templating.py:2332 |
| 1883 #: ../roundup/cgi/templating.py:2393 ../roundup/cgi/templating.py:2691 | 1883 #: ../roundup/cgi/templating.py:2396 ../roundup/cgi/templating.py:2695 |
| 1884 #: ../roundup/cgi/templating.py:963:1134 :1750:1779 :1799:1812 :1849:1902 | 1884 #: ../roundup/cgi/templating.py:963:1134 :1753:1782 :1802:1815 :1852:1905 |
| 1885 #: :1925:1932 :1968:2005 :2038:2127 :2148:2238 :2258:2280 :2319:2329 :2393:2691 | 1885 #: :1928:1935 :1971:2008 :2041:2130 :2151:2241 :2261:2283 :2322:2332 :2396:2695 |
| 1886 msgid "[hidden]" | 1886 msgid "[hidden]" |
| 1887 msgstr "[隐藏]" | 1887 msgstr "[隐藏]" |
| 1888 | 1888 |
| 1889 #: ../roundup/cgi/templating.py:964 | 1889 #: ../roundup/cgi/templating.py:964 |
| 1890 msgid "New node - no history" | 1890 msgid "New node - no history" |
| 1906 #: ../roundup/cgi/templating.py:1213 | 1906 #: ../roundup/cgi/templating.py:1213 |
| 1907 #, python-format | 1907 #, python-format |
| 1908 msgid "The linked class %(classname)s no longer exists" | 1908 msgid "The linked class %(classname)s no longer exists" |
| 1909 msgstr "链接的类 %(classname)s 不再存在" | 1909 msgstr "链接的类 %(classname)s 不再存在" |
| 1910 | 1910 |
| 1911 #: ../roundup/cgi/templating.py:1249 ../roundup/cgi/templating.py:1277 | |
| 1912 #: ../roundup/cgi/templating.py:2405 ../roundup/cgi/templating.py:2704 | |
| 1913 #: ../roundup/cgi/templating.py:1249:1277 :2405:2704 | |
| 1914 msgid "[label is missing]" | |
| 1915 msgstr "" | |
| 1916 | |
| 1911 # ../roundup/cgi/templating.py:872 :893 | 1917 # ../roundup/cgi/templating.py:872 :893 |
| 1912 #: ../roundup/cgi/templating.py:1251 ../roundup/cgi/templating.py:1277 | 1918 #: ../roundup/cgi/templating.py:1253 ../roundup/cgi/templating.py:1280 |
| 1913 #: ../roundup/cgi/templating.py:1251:1277 | 1919 #: ../roundup/cgi/templating.py:1253:1280 |
| 1914 msgid "<strike>The linked node no longer exists</strike>" | 1920 msgid "<strike>The linked node no longer exists</strike>" |
| 1915 msgstr "<strike>链接的结点不再存在</strike>" | 1921 msgstr "<strike>链接的结点不再存在</strike>" |
| 1916 | 1922 |
| 1917 #: ../roundup/cgi/templating.py:1338 | 1923 #: ../roundup/cgi/templating.py:1341 |
| 1918 #, python-format | 1924 #, python-format |
| 1919 msgid "%s: (no value)" | 1925 msgid "%s: (no value)" |
| 1920 msgstr "%s: (无值)" | 1926 msgstr "%s: (无值)" |
| 1921 | 1927 |
| 1922 #: ../roundup/cgi/templating.py:1354 | 1928 #: ../roundup/cgi/templating.py:1357 |
| 1923 #, fuzzy, python-format | 1929 #, fuzzy, python-format |
| 1924 msgid "" | 1930 msgid "" |
| 1925 "<strong><em>This event %s is not handled by the history display!</em></" | 1931 "<strong><em>This event %s is not handled by the history display!</em></" |
| 1926 "strong>" | 1932 "strong>" |
| 1927 msgstr "<strong><em>这个事件不能被历史显示所处理!</em></strong>" | 1933 msgstr "<strong><em>这个事件不能被历史显示所处理!</em></strong>" |
| 1928 | 1934 |
| 1929 #: ../roundup/cgi/templating.py:1367 | 1935 #: ../roundup/cgi/templating.py:1370 |
| 1930 msgid "<tr><td colspan=4><strong>Note:</strong></td></tr>" | 1936 msgid "<tr><td colspan=4><strong>Note:</strong></td></tr>" |
| 1931 msgstr "<tr><td colspan=4><strong>注意:</strong></td></tr>" | 1937 msgstr "<tr><td colspan=4><strong>注意:</strong></td></tr>" |
| 1932 | 1938 |
| 1933 #: ../roundup/cgi/templating.py:1376 | 1939 #: ../roundup/cgi/templating.py:1379 |
| 1934 msgid "History" | 1940 msgid "History" |
| 1935 msgstr "历史" | 1941 msgstr "历史" |
| 1936 | 1942 |
| 1937 #: ../roundup/cgi/templating.py:1378 | 1943 #: ../roundup/cgi/templating.py:1381 |
| 1938 msgid "<th>Date</th>" | 1944 msgid "<th>Date</th>" |
| 1939 msgstr "<th>日期</th>" | 1945 msgstr "<th>日期</th>" |
| 1940 | 1946 |
| 1941 #: ../roundup/cgi/templating.py:1379 | 1947 #: ../roundup/cgi/templating.py:1382 |
| 1942 msgid "<th>User</th>" | 1948 msgid "<th>User</th>" |
| 1943 msgstr "<th>用户</th>" | 1949 msgstr "<th>用户</th>" |
| 1944 | 1950 |
| 1945 #: ../roundup/cgi/templating.py:1380 | 1951 #: ../roundup/cgi/templating.py:1383 |
| 1946 msgid "<th>Action</th>" | 1952 msgid "<th>Action</th>" |
| 1947 msgstr "<th>动作</th>" | 1953 msgstr "<th>动作</th>" |
| 1948 | 1954 |
| 1949 #: ../roundup/cgi/templating.py:1381 | 1955 #: ../roundup/cgi/templating.py:1384 |
| 1950 msgid "<th>Args</th>" | 1956 msgid "<th>Args</th>" |
| 1951 msgstr "<th>参数</th>" | 1957 msgstr "<th>参数</th>" |
| 1952 | 1958 |
| 1953 #: ../roundup/cgi/templating.py:1432 | 1959 #: ../roundup/cgi/templating.py:1435 |
| 1954 #, fuzzy, python-format | 1960 #, fuzzy, python-format |
| 1955 msgid "Copy of %(class)s %(id)s" | 1961 msgid "Copy of %(class)s %(id)s" |
| 1956 msgstr "%(class)s %(id)s 被创建" | 1962 msgstr "%(class)s %(id)s 被创建" |
| 1957 | 1963 |
| 1958 #: ../roundup/cgi/templating.py:2042 ../roundup/cgi/templating.py:2075 | 1964 #: ../roundup/cgi/templating.py:2045 ../roundup/cgi/templating.py:2078 |
| 1959 #: ../roundup/cgi/templating.py:1320:2042:2075 | 1965 #: ../roundup/cgi/templating.py:1323:2045:2078 |
| 1960 msgid "No" | 1966 msgid "No" |
| 1961 msgstr "否" | 1967 msgstr "否" |
| 1962 | 1968 |
| 1963 #: ../roundup/cgi/templating.py:2042 ../roundup/cgi/templating.py:2070 | 1969 #: ../roundup/cgi/templating.py:2045 ../roundup/cgi/templating.py:2073 |
| 1964 #: ../roundup/cgi/templating.py:1320:2042:2070 | 1970 #: ../roundup/cgi/templating.py:1323:2045:2073 |
| 1965 msgid "Yes" | 1971 msgid "Yes" |
| 1966 msgstr "是" | 1972 msgstr "是" |
| 1967 | 1973 |
| 1968 #: ../roundup/cgi/templating.py:2196 | 1974 #: ../roundup/cgi/templating.py:2199 |
| 1969 msgid "" | 1975 msgid "" |
| 1970 "default value for DateHTMLProperty must be either DateHTMLProperty or string " | 1976 "default value for DateHTMLProperty must be either DateHTMLProperty or string " |
| 1971 "date representation." | 1977 "date representation." |
| 1972 msgstr "DateHTMLProperty 的缺省值或者是 DateHTMLProperty 或字符串的日期表示。" | 1978 msgstr "DateHTMLProperty 的缺省值或者是 DateHTMLProperty 或字符串的日期表示。" |
| 1973 | 1979 |
| 1974 #: ../roundup/cgi/templating.py:2373 | 1980 #: ../roundup/cgi/templating.py:2376 |
| 1975 #, python-format | 1981 #, python-format |
| 1976 msgid "Attempt to look up %(attr)s on a missing value" | 1982 msgid "Attempt to look up %(attr)s on a missing value" |
| 1977 msgstr "" | 1983 msgstr "" |
| 1978 | 1984 |
| 1979 #: ../roundup/cgi/templating.py:2384 | 1985 #: ../roundup/cgi/templating.py:2387 |
| 1980 #, python-format | 1986 #, python-format |
| 1981 msgid "Attempt to look up %(item)s on a missing value" | 1987 msgid "Attempt to look up %(item)s on a missing value" |
| 1982 msgstr "" | 1988 msgstr "" |
| 1983 | 1989 |
| 1984 #: ../roundup/cgi/templating.py:2487 | 1990 #: ../roundup/cgi/templating.py:2491 |
| 1985 #, python-format | 1991 #, python-format |
| 1986 msgid "<option %svalue=\"-1\">- no selection -</option>" | 1992 msgid "<option %svalue=\"-1\">- no selection -</option>" |
| 1987 msgstr "<option %svalue=\"-1\">- 未选择 -</option>" | 1993 msgstr "<option %svalue=\"-1\">- 未选择 -</option>" |
| 1988 | 1994 |
| 1989 #: ../roundup/cgi/timestamp.py:19 | 1995 #: ../roundup/cgi/timestamp.py:19 |
