* src/DateDisplay.py: Add Russian displayer.
svn: r3723
This commit is contained in:
parent
8313bc1077
commit
231c21ce4c
@ -1,3 +1,6 @@
|
|||||||
|
2004-11-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
|
* src/DateDisplay.py: Add Russian displayer.
|
||||||
|
|
||||||
2004-11-10 Alex Roitman <shura@alex.neuro.umn.edu>
|
2004-11-10 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/DateHandler.py: Add Russian displayer.
|
* src/DateHandler.py: Add Russian displayer.
|
||||||
* src/DateParser.py: Correct parsers -- proper unicode conversions.
|
* src/DateParser.py: Correct parsers -- proper unicode conversions.
|
||||||
|
@ -98,11 +98,11 @@ class DateDisplay:
|
|||||||
)
|
)
|
||||||
|
|
||||||
_french = (
|
_french = (
|
||||||
u'', u'Vend\xe9miaire', u'Brumaire',
|
'', 'Vend\xc3\xa9miaire', 'Brumaire',
|
||||||
u'Frimaire', u'Niv\xf4se', u'Pluvi\xf4se',
|
'Frimaire', 'Niv\xc3\xb4se', 'Pluvi\xc3\xb4se',
|
||||||
u'Vent\xf4se', u'Germinal', u'Flor\xe9al',
|
'Vent\xc3\xb4se', 'Germinal', 'Flor\xc3\xa9al',
|
||||||
u'Prairial', u'Messidor', u'Thermidor',
|
'Prairial', 'Messidor', 'Thermidor',
|
||||||
u'Fructidor', u'Extra'
|
'Fructidor', 'Extra'
|
||||||
)
|
)
|
||||||
|
|
||||||
_persian = (
|
_persian = (
|
||||||
@ -180,7 +180,7 @@ class DateDisplay:
|
|||||||
if mod == Date.MOD_TEXTONLY:
|
if mod == Date.MOD_TEXTONLY:
|
||||||
return date.get_text()
|
return date.get_text()
|
||||||
elif start == Date.EMPTY:
|
elif start == Date.EMPTY:
|
||||||
return u""
|
return ""
|
||||||
elif mod == Date.MOD_SPAN:
|
elif mod == Date.MOD_SPAN:
|
||||||
d1 = self.display_cal[cal](start)
|
d1 = self.display_cal[cal](start)
|
||||||
d2 = self.display_cal[cal](date.get_stop_date())
|
d2 = self.display_cal[cal](date.get_stop_date())
|
||||||
|
Loading…
Reference in New Issue
Block a user