Mercurial > p > roundup > code
diff locale/roundup.pot @ 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 | 215031280074 |
| children | 01216187a167 |
line wrap: on
line diff
--- a/locale/roundup.pot Tue Feb 22 09:22:43 2022 -0500 +++ b/locale/roundup.pot Sat Mar 05 18:55:50 2022 -0500 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net\n" -"POT-Creation-Date: 2022-01-28 01:28-0500\n" +"POT-Creation-Date: 2022-03-05 18:51-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -1527,18 +1527,18 @@ msgstr "" #: ../roundup/cgi/templating.py:963 ../roundup/cgi/templating.py:1134 -#: ../roundup/cgi/templating.py:1750 ../roundup/cgi/templating.py:1779 -#: ../roundup/cgi/templating.py:1799 ../roundup/cgi/templating.py:1812 -#: ../roundup/cgi/templating.py:1849 ../roundup/cgi/templating.py:1902 -#: ../roundup/cgi/templating.py:1925 ../roundup/cgi/templating.py:1932 -#: ../roundup/cgi/templating.py:1968 ../roundup/cgi/templating.py:2005 -#: ../roundup/cgi/templating.py:2038 ../roundup/cgi/templating.py:2127 -#: ../roundup/cgi/templating.py:2148 ../roundup/cgi/templating.py:2238 -#: ../roundup/cgi/templating.py:2258 ../roundup/cgi/templating.py:2280 -#: ../roundup/cgi/templating.py:2319 ../roundup/cgi/templating.py:2329 -#: ../roundup/cgi/templating.py:2393 ../roundup/cgi/templating.py:2691 -#: ../roundup/cgi/templating.py:963:1134 :1750:1779 :1799:1812 :1849:1902 -#: :1925:1932 :1968:2005 :2038:2127 :2148:2238 :2258:2280 :2319:2329 :2393:2691 +#: ../roundup/cgi/templating.py:1753 ../roundup/cgi/templating.py:1782 +#: ../roundup/cgi/templating.py:1802 ../roundup/cgi/templating.py:1815 +#: ../roundup/cgi/templating.py:1852 ../roundup/cgi/templating.py:1905 +#: ../roundup/cgi/templating.py:1928 ../roundup/cgi/templating.py:1935 +#: ../roundup/cgi/templating.py:1971 ../roundup/cgi/templating.py:2008 +#: ../roundup/cgi/templating.py:2041 ../roundup/cgi/templating.py:2130 +#: ../roundup/cgi/templating.py:2151 ../roundup/cgi/templating.py:2241 +#: ../roundup/cgi/templating.py:2261 ../roundup/cgi/templating.py:2283 +#: ../roundup/cgi/templating.py:2322 ../roundup/cgi/templating.py:2332 +#: ../roundup/cgi/templating.py:2396 ../roundup/cgi/templating.py:2695 +#: ../roundup/cgi/templating.py:963:1134 :1753:1782 :1802:1815 :1852:1905 +#: :1928:1935 :1971:2008 :2041:2130 :2151:2241 :2261:2283 :2322:2332 :2396:2695 msgid "[hidden]" msgstr "" @@ -1564,78 +1564,84 @@ msgid "The linked class %(classname)s no longer exists" msgstr "" -#: ../roundup/cgi/templating.py:1251 ../roundup/cgi/templating.py:1277 -#: ../roundup/cgi/templating.py:1251:1277 +#: ../roundup/cgi/templating.py:1249 ../roundup/cgi/templating.py:1277 +#: ../roundup/cgi/templating.py:2405 ../roundup/cgi/templating.py:2704 +#: ../roundup/cgi/templating.py:1249:1277 :2405:2704 +msgid "[label is missing]" +msgstr "" + +#: ../roundup/cgi/templating.py:1253 ../roundup/cgi/templating.py:1280 +#: ../roundup/cgi/templating.py:1253:1280 msgid "<strike>The linked node no longer exists</strike>" msgstr "" -#: ../roundup/cgi/templating.py:1338 +#: ../roundup/cgi/templating.py:1341 #, python-format msgid "%s: (no value)" msgstr "" -#: ../roundup/cgi/templating.py:1354 +#: ../roundup/cgi/templating.py:1357 #, python-format msgid "" "<strong><em>This event %s is not handled by the history display!</em></strong>" msgstr "" -#: ../roundup/cgi/templating.py:1367 +#: ../roundup/cgi/templating.py:1370 msgid "<tr><td colspan=4><strong>Note:</strong></td></tr>" msgstr "" -#: ../roundup/cgi/templating.py:1376 -msgid "History" -msgstr "" - -#: ../roundup/cgi/templating.py:1378 -msgid "<th>Date</th>" -msgstr "" - #: ../roundup/cgi/templating.py:1379 -msgid "<th>User</th>" -msgstr "" - -#: ../roundup/cgi/templating.py:1380 -msgid "<th>Action</th>" +msgid "History" msgstr "" #: ../roundup/cgi/templating.py:1381 +msgid "<th>Date</th>" +msgstr "" + +#: ../roundup/cgi/templating.py:1382 +msgid "<th>User</th>" +msgstr "" + +#: ../roundup/cgi/templating.py:1383 +msgid "<th>Action</th>" +msgstr "" + +#: ../roundup/cgi/templating.py:1384 msgid "<th>Args</th>" msgstr "" -#: ../roundup/cgi/templating.py:1432 +#: ../roundup/cgi/templating.py:1435 #, python-format msgid "Copy of %(class)s %(id)s" msgstr "" -#: ../roundup/cgi/templating.py:2042 ../roundup/cgi/templating.py:2075 -#: ../roundup/cgi/templating.py:1320:2042 :2075 +#: ../roundup/cgi/templating.py:2045 ../roundup/cgi/templating.py:2078 +#: ../roundup/cgi/templating.py:1323:2045 :2078 msgid "No" msgstr "" -#: ../roundup/cgi/templating.py:2042 ../roundup/cgi/templating.py:2070 -#: ../roundup/cgi/templating.py:1320:2042 :2070 +#: ../roundup/cgi/templating.py:2045 ../roundup/cgi/templating.py:2073 +#: ../roundup/cgi/templating.py:1323:2045 :2073 msgid "Yes" msgstr "" -#: ../roundup/cgi/templating.py:2196 +#: ../roundup/cgi/templating.py:2199 msgid "" "default value for DateHTMLProperty must be either DateHTMLProperty or string " "date representation." msgstr "" -#: ../roundup/cgi/templating.py:2373 +#: ../roundup/cgi/templating.py:2376 #, python-format msgid "Attempt to look up %(attr)s on a missing value" msgstr "" -#: ../roundup/cgi/templating.py:2384 +#: ../roundup/cgi/templating.py:2387 #, python-format msgid "Attempt to look up %(item)s on a missing value" msgstr "" -#: ../roundup/cgi/templating.py:2487 +#: ../roundup/cgi/templating.py:2491 #, python-format msgid "<option %svalue=\"-1\">- no selection -</option>" msgstr ""
