Extract translation classes from grampslocale.py

For name clarity and to reduce the line count in grampslocale.py that
Pylint thinks is excessive.
This commit is contained in:
John Ralls
2023-07-14 12:59:40 -07:00
committed by Nick Hall
parent 48d4196739
commit 7f8455c867
55 changed files with 1269 additions and 1223 deletions

View File

@@ -1902,7 +1902,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "from <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:188
@@ -1912,7 +1912,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "to <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:195
@@ -1922,7 +1922,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "between <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:202
@@ -1932,7 +1932,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "and <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:209
@@ -1942,7 +1942,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "before <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:215
@@ -1952,7 +1952,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "after <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:221
@@ -1962,7 +1962,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "about <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:227
@@ -1972,7 +1972,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "estimated <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:233
@@ -1982,7 +1982,7 @@ msgid "{long_month} {year}"
msgstr ""
#. Translators: If "calculated <Month>" needs a special inflection
#. in your language, translate to "{long_month.f[X]} {year}"
#. in your language, translate to "{long_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:239
@@ -1997,7 +1997,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "from <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:250
@@ -2007,7 +2007,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "to <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:257
@@ -2017,7 +2017,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "between <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:264
@@ -2027,7 +2027,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "and <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:271
@@ -2037,7 +2037,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "before <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:277
@@ -2047,7 +2047,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "after <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:283
@@ -2057,7 +2057,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "about <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:289
@@ -2067,7 +2067,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "estimated <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:295
@@ -2077,7 +2077,7 @@ msgid "{short_month} {year}"
msgstr ""
#. Translators: If "calculated <Month>" needs a special inflection
#. in your language, translate to "{short_month.f[X]} {year}"
#. in your language, translate to "{short_month.forms[X]} {year}"
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:301