From 1f20b40d555e9042719e70e579dbf5a89fd8f55c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 11 Nov 2004 22:59:08 +0000 Subject: [PATCH] * src/DateDisplay.py: Add Russian displayer. svn: r3723 --- gramps2/ChangeLog | 3 +++ gramps2/src/DateDisplay.py | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5da7c275f..2b73ca2f9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2004-11-11 Alex Roitman + * src/DateDisplay.py: Add Russian displayer. + 2004-11-10 Alex Roitman * src/DateHandler.py: Add Russian displayer. * src/DateParser.py: Correct parsers -- proper unicode conversions. diff --git a/gramps2/src/DateDisplay.py b/gramps2/src/DateDisplay.py index 22327f22c..725ba7402 100644 --- a/gramps2/src/DateDisplay.py +++ b/gramps2/src/DateDisplay.py @@ -98,11 +98,11 @@ class DateDisplay: ) _french = ( - u'', u'Vend\xe9miaire', u'Brumaire', - u'Frimaire', u'Niv\xf4se', u'Pluvi\xf4se', - u'Vent\xf4se', u'Germinal', u'Flor\xe9al', - u'Prairial', u'Messidor', u'Thermidor', - u'Fructidor', u'Extra' + '', 'Vend\xc3\xa9miaire', 'Brumaire', + 'Frimaire', 'Niv\xc3\xb4se', 'Pluvi\xc3\xb4se', + 'Vent\xc3\xb4se', 'Germinal', 'Flor\xc3\xa9al', + 'Prairial', 'Messidor', 'Thermidor', + 'Fructidor', 'Extra' ) _persian = ( @@ -180,7 +180,7 @@ class DateDisplay: if mod == Date.MOD_TEXTONLY: return date.get_text() elif start == Date.EMPTY: - return u"" + return "" elif mod == Date.MOD_SPAN: d1 = self.display_cal[cal](start) d2 = self.display_cal[cal](date.get_stop_date())