Update Hebrew month parser, for Ukrainian dateparset

This commit is contained in:
Fedir Zinchuk 2014-12-21 19:33:09 +02:00
parent ad961132eb
commit 032051c093
2 changed files with 8 additions and 1 deletions

View File

@ -100,6 +100,13 @@ class DateParserUK(DateParser):
"""
DateParser.init_strings(self)
DateParser.hebrew_to_int.update({
'мархешван': 2,
'ве адар' : 7,
'адар бет' : 7,
'авів' : 8,
})
_span_1 = ['з', 'від']
# b.c.e. pattern also have "до" so skip "до н."
_span_2 = ['по', 'до(?!\s+н)']

View File

@ -2210,7 +2210,7 @@ msgstr "адар"
#: ../gramps/gen/datehandler/_datestrings.py:138
msgid "Hebrew month lexeme|AdarII"
msgstr "адара"
msgstr "ар-шені"
#: ../gramps/gen/datehandler/_datestrings.py:139
msgid "Hebrew month lexeme|Nisan"