map English_United States to English dates
svn: r8820
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2007-08-15 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/DateHandler/_DateHandler.py: map English_United States to english
|
||||||
|
|
||||||
2007-08-14 Don Allingham <don@gramps-project.org>
|
2007-08-14 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDbUtils/_WriteGedcom.py: fix problems identified by gedchk
|
* src/GrampsDbUtils/_WriteGedcom.py: fix problems identified by gedchk
|
||||||
|
|
||||||
|
@@ -59,19 +59,21 @@ else:
|
|||||||
LANG_SHORT = "C"
|
LANG_SHORT = "C"
|
||||||
|
|
||||||
LANG_TO_PARSER = {
|
LANG_TO_PARSER = {
|
||||||
'C' : DateParser,
|
'C' : DateParser,
|
||||||
'en' : DateParser,
|
'en' : DateParser,
|
||||||
|
'English_United States' : DateParser,
|
||||||
}
|
}
|
||||||
|
|
||||||
LANG_TO_DISPLAY = {
|
LANG_TO_DISPLAY = {
|
||||||
'C' : DateDisplayEn,
|
'C' : DateDisplayEn,
|
||||||
'en' : DateDisplayEn,
|
'en' : DateDisplayEn,
|
||||||
'zh_CN' : DateDisplay,
|
'English_United States' : DateDisplayEn,
|
||||||
'zh_TW' : DateDisplay,
|
'zh_CN' : DateDisplay,
|
||||||
'zh_SG' : DateDisplay,
|
'zh_TW' : DateDisplay,
|
||||||
'zh_HK' : DateDisplay,
|
'zh_SG' : DateDisplay,
|
||||||
'ja_JP' : DateDisplay,
|
'zh_HK' : DateDisplay,
|
||||||
'ko_KR' : DateDisplay,
|
'ja_JP' : DateDisplay,
|
||||||
|
'ko_KR' : DateDisplay,
|
||||||
}
|
}
|
||||||
|
|
||||||
def register_datehandler(locales,parse_class,display_class):
|
def register_datehandler(locales,parse_class,display_class):
|
||||||
|
Reference in New Issue
Block a user