map English_United States to English dates

svn: r8820
This commit is contained in:
Brian Matherly
2007-08-16 04:14:19 +00:00
parent 2a3897c685
commit d40c492f3a
2 changed files with 15 additions and 10 deletions

View File

@@ -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

View File

@@ -61,11 +61,13 @@ else:
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,
'English_United States' : DateDisplayEn,
'zh_CN' : DateDisplay, 'zh_CN' : DateDisplay,
'zh_TW' : DateDisplay, 'zh_TW' : DateDisplay,
'zh_SG' : DateDisplay, 'zh_SG' : DateDisplay,