Setting the year as an ordinal number in Croatian

When I started investigating 10822 I saw some Croatian dates
didn't seem to be working in 5.0.0, to my surprise.  There
seems to have been some kind of regression from 4.2.8.

But the Croatian translation for gramps hasn't been updated
in about three years -- except by non-Croatians.  So I don't
know why some "translated" strings which control how dates
are displayed were disabled (marked as "fuzzy") in this:
6c67053e1f

Also, I saw some code in the 4.2.8 Croatian date handler
which was not in the 5.0.0 Croatian date handler -- somehow.

So I believe this commit fixes the Croatian date handler.

Issue #10822
This commit is contained in:
Paul Franklin
2018-10-01 10:59:51 -07:00
parent 896b77a165
commit 69aaec11a5
3 changed files with 59 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Gramps 4.2\n"
"Project-Id-Version: Gramps 5.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-05-20 09:31-0500\n"
"PO-Revision-Date: 2015-07-13 23:42+0100\n"
@@ -2080,7 +2080,7 @@ msgstr "D MMM GGGG"
#. to learn how to select proper inflection for your language.
#: ../gramps/gen/datehandler/_datedisplay.py:181
#: ../gramps/plugins/drawreport/calendarreport.py:233
#, fuzzy, python-brace-format
#, python-format
msgid "{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2090,7 +2090,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:189
#, fuzzy, python-brace-format
#, python-format
msgid "from|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2100,7 +2100,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:197
#, fuzzy, python-brace-format
#, python-format
msgid "to|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2110,7 +2110,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:205
#, fuzzy, python-brace-format
#, python-format
msgid "between|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2120,7 +2120,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:213
#, fuzzy, python-brace-format
#, python-format
msgid "and|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2129,7 +2129,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:220
#, fuzzy, python-brace-format
#, python-format
msgid "before|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2138,7 +2138,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:227
#, fuzzy, python-brace-format
#, python-format
msgid "after|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2147,7 +2147,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:234
#, fuzzy, python-brace-format
#, python-format
msgid "about|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2156,7 +2156,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:241
#, fuzzy, python-brace-format
#, python-format
msgid "estimated|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2165,7 +2165,7 @@ msgstr "{long_month.f[G]} {year}."
#. (where X is one of the month-name inflections you defined)
#. else leave it untranslated
#: ../gramps/gen/datehandler/_datedisplay.py:248
#, fuzzy, python-brace-format
#, python-format
msgid "calculated|{long_month} {year}"
msgstr "{long_month.f[G]} {year}."
@@ -2276,7 +2276,7 @@ msgstr "to"
#: ../gramps/gen/datehandler/_datedisplay.py:433
#, python-brace-format
msgid "{date_quality}from {date_start} to {date_stop}{nonstd_calendar_and_ny}"
msgstr "{date_quality} od {date_start} do {date_stop}{nonstd_calendar_and_ny}"
msgstr "{date_quality}od {date_start} do {date_stop}{nonstd_calendar_and_ny}"
#. If there is no special inflection for "between <Month>"
#. in your language, DON'T translate this string. Otherwise,
@@ -2297,7 +2297,7 @@ msgstr "and"
msgid ""
"{date_quality}between {date_start} and {date_stop}{nonstd_calendar_and_ny}"
msgstr ""
"{date_quality} između {date_start} i {date_stop}{nonstd_calendar_and_ny}"
"{date_quality}između {date_start} i {date_stop}{nonstd_calendar_and_ny}"
#. If there is no special inflection for "before <Month>"
#. in your language, DON'T translate this string. Otherwise,