All strings in unicode.

svn: r15088
This commit is contained in:
Peter Landgren 2010-04-11 17:34:24 +00:00
parent ce4a809f7b
commit 5d2934acd1

View File

@ -64,7 +64,7 @@ class DateParserSv(DateParser):
u'c:a' : Date.MOD_ABOUT u'c:a' : Date.MOD_ABOUT
} }
bce = ["f Kr"] bce = [u"f Kr"]
calendar_to_int = { calendar_to_int = {
u'gregoriansk ' : Date.CAL_GREGORIAN, u'gregoriansk ' : Date.CAL_GREGORIAN,
@ -128,20 +128,20 @@ class DateDisplaySv(DateDisplay):
) )
calendar = ( calendar = (
"", u"",
"juliansk", u"juliansk",
"hebreisk", u"hebreisk",
"fransk republikansk", u"fransk republikansk",
"persisk", u"persisk",
"islamisk", u"islamisk",
"svensk" u"svensk"
) )
_mod_str = ("", u"före ", u"efter ", u"c:a ", "", "", "") _mod_str = (u"", u"före ", u"efter ", u"c:a ", u"", u"", u"")
_qual_str = ("", u"uppskattat ", u"beräknat ") _qual_str = (u"", u"uppskattat ", u"beräknat ")
_bce_str = "%s f Kr" _bce_str = u"%s f Kr"
def display(self, date): def display(self, date):
""" """