Make short and long month strings constants in the DateDisplay class instead of using the localized month strings detected by GrampsLocale. This will allow DateDisplayers to work for languages other than the current locale - will be useful for user selectable report translations.
svn: r13436
This commit is contained in:
@@ -90,8 +90,8 @@ QUAL_TEXT = (
|
||||
(Date.QUAL_CALCULATED, _('Calculated')) )
|
||||
|
||||
CAL_TO_MONTHS_NAMES = {
|
||||
Date.CAL_GREGORIAN : DateHandler.displayer.MONS,
|
||||
Date.CAL_JULIAN : DateHandler.displayer.MONS,
|
||||
Date.CAL_GREGORIAN : DateHandler.displayer.short_months,
|
||||
Date.CAL_JULIAN : DateHandler.displayer.short_months,
|
||||
Date.CAL_HEBREW : DateHandler.displayer.hebrew,
|
||||
Date.CAL_FRENCH : DateHandler.displayer.french,
|
||||
Date.CAL_PERSIAN : DateHandler.displayer.persian,
|
||||
|
Reference in New Issue
Block a user