Update Hebrew month parser, for Ukrainian dateparset
This commit is contained in:
parent
ad961132eb
commit
032051c093
@ -100,6 +100,13 @@ class DateParserUK(DateParser):
|
|||||||
"""
|
"""
|
||||||
DateParser.init_strings(self)
|
DateParser.init_strings(self)
|
||||||
|
|
||||||
|
DateParser.hebrew_to_int.update({
|
||||||
|
'мархешван': 2,
|
||||||
|
'ве адар' : 7,
|
||||||
|
'адар бет' : 7,
|
||||||
|
'авів' : 8,
|
||||||
|
})
|
||||||
|
|
||||||
_span_1 = ['з', 'від']
|
_span_1 = ['з', 'від']
|
||||||
# b.c.e. pattern also have "до" so skip "до н."
|
# b.c.e. pattern also have "до" so skip "до н."
|
||||||
_span_2 = ['по', 'до(?!\s+н)']
|
_span_2 = ['по', 'до(?!\s+н)']
|
||||||
|
2
po/uk.po
2
po/uk.po
@ -2210,7 +2210,7 @@ msgstr "адар"
|
|||||||
|
|
||||||
#: ../gramps/gen/datehandler/_datestrings.py:138
|
#: ../gramps/gen/datehandler/_datestrings.py:138
|
||||||
msgid "Hebrew month lexeme|AdarII"
|
msgid "Hebrew month lexeme|AdarII"
|
||||||
msgstr "адара"
|
msgstr "aдар-шені"
|
||||||
|
|
||||||
#: ../gramps/gen/datehandler/_datestrings.py:139
|
#: ../gramps/gen/datehandler/_datestrings.py:139
|
||||||
msgid "Hebrew month lexeme|Nisan"
|
msgid "Hebrew month lexeme|Nisan"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user