datehandler translation fix

This commit is contained in:
Zdeněk Hataš 2015-06-07 10:53:24 +02:00
parent ca3158a6ff
commit 8deb444a6c
2 changed files with 4 additions and 2 deletions

View File

@ -164,7 +164,7 @@ class DateParserCZ(DateParser):
quality_to_int = {
'přibližně' : Date.QUAL_ESTIMATED,
'odhadované' : Date.QUAL_ESTIMATED,
'odhadem' : Date.QUAL_ESTIMATED,
'odh.' : Date.QUAL_ESTIMATED,
'vypočteno' : Date.QUAL_CALCULATED,
'vypočtené' : Date.QUAL_CALCULATED,
@ -173,6 +173,8 @@ class DateParserCZ(DateParser):
def init_strings(self):
DateParser.init_strings(self)
self._text2 = re.compile('(\d+)?\.?\s+?%s\.?\s*((\d+)(/\d+)?)?\s*$'
% self._mon_str, re.IGNORECASE)
self._span = re.compile(
"(od)\s+(?P<start>.+)\s+(do)\s+(?P<stop>.+)",
re.IGNORECASE)

View File

@ -1673,7 +1673,7 @@ msgstr "kolem "
#: ../gramps/gen/datehandler/_datestrings.py:220
msgid "date quality|estimated "
msgstr "přibližně "
msgstr "odhadem "
#: ../gramps/gen/datehandler/_datestrings.py:221
msgid "date quality|calculated "