All strings in unicode.

svn: r15087
This commit is contained in:
Peter Landgren
2010-04-11 17:32:23 +00:00
parent 7d1812fe7e
commit e5dcf43212

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):
""" """