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

@@ -2252,7 +2252,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
@@ -2262,7 +2262,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
@@ -2272,7 +2272,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
@@ -2282,7 +2282,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
@@ -2292,7 +2292,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
@@ -2302,7 +2302,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
@@ -2312,7 +2312,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
@@ -2322,7 +2322,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
@@ -2332,7 +2332,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
@@ -2347,7 +2347,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
@@ -2357,7 +2357,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
@@ -2367,7 +2367,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
@@ -2377,7 +2377,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
@@ -2387,7 +2387,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
@@ -2397,7 +2397,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
@@ -2407,7 +2407,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
@@ -2417,7 +2417,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
@@ -2427,7 +2427,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