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

@@ -2135,7 +2135,7 @@ msgid "{long_month} {year}"
msgstr "{long_month} {year}"
#. 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
@@ -2145,7 +2145,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
@@ -2155,7 +2155,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
@@ -2165,7 +2165,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
@@ -2175,7 +2175,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
@@ -2185,7 +2185,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
@@ -2195,7 +2195,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
@@ -2205,7 +2205,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
@@ -2215,7 +2215,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
@@ -2230,7 +2230,7 @@ msgid "{short_month} {year}"
msgstr "{short_month} {year}"
#. 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
@@ -2240,7 +2240,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
@@ -2250,7 +2250,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
@@ -2260,7 +2260,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
@@ -2270,7 +2270,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
@@ -2280,7 +2280,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
@@ -2290,7 +2290,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
@@ -2300,7 +2300,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
@@ -2310,7 +2310,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