3708: Portuguese Date Handler updated (by lcc)
svn: r14791
This commit is contained in:
parent
e3061d1c74
commit
8b421dfc4c
@ -56,7 +56,11 @@ class DateParserPT(DateParser):
|
|||||||
u'antes' : Date.MOD_BEFORE,
|
u'antes' : Date.MOD_BEFORE,
|
||||||
u'ant.' : Date.MOD_BEFORE,
|
u'ant.' : Date.MOD_BEFORE,
|
||||||
u'ant' : Date.MOD_BEFORE,
|
u'ant' : Date.MOD_BEFORE,
|
||||||
u'após' : Date.MOD_AFTER,
|
u'até' : Date.MOD_BEFORE,
|
||||||
|
u'depois de' : Date.MOD_AFTER,
|
||||||
|
u'depois' : Date.MOD_AFTER,
|
||||||
|
u'dep.' : Date.MOD_AFTER,
|
||||||
|
u'dep' : Date.MOD_AFTER,
|
||||||
u'aprox.' : Date.MOD_ABOUT,
|
u'aprox.' : Date.MOD_ABOUT,
|
||||||
u'aprox' : Date.MOD_ABOUT,
|
u'aprox' : Date.MOD_ABOUT,
|
||||||
u'apr.' : Date.MOD_ABOUT,
|
u'apr.' : Date.MOD_ABOUT,
|
||||||
@ -65,7 +69,9 @@ class DateParserPT(DateParser):
|
|||||||
u'ca.' : Date.MOD_ABOUT,
|
u'ca.' : Date.MOD_ABOUT,
|
||||||
u'ca' : Date.MOD_ABOUT,
|
u'ca' : Date.MOD_ABOUT,
|
||||||
u'c.' : Date.MOD_ABOUT,
|
u'c.' : Date.MOD_ABOUT,
|
||||||
u'até' : Date.MOD_ABOUT,
|
u'por volta de' : Date.MOD_ABOUT,
|
||||||
|
u'por volta' : Date.MOD_ABOUT,
|
||||||
|
u'pvd.' : Date.MOD_ABOUT,
|
||||||
}
|
}
|
||||||
|
|
||||||
calendar_to_int = {
|
calendar_to_int = {
|
||||||
@ -116,21 +122,20 @@ class DateDisplayPT(DateDisplay):
|
|||||||
"""
|
"""
|
||||||
Portuguese language date display class.
|
Portuguese language date display class.
|
||||||
"""
|
"""
|
||||||
# TODO: Translate these month strings:
|
long_months = ( u"", u"Janeiro", u"Fevereiro", u"Março", u"Abril", u"Maio",
|
||||||
long_months = ( u"", u"January", u"February", u"March", u"April", u"May",
|
u"Junho", u"Julho", u"Agosto", u"Setembro", u"Outubro",
|
||||||
u"June", u"July", u"August", u"September", u"October",
|
u"Novembro", u"Dezembro" )
|
||||||
u"November", u"December" )
|
|
||||||
|
|
||||||
short_months = ( u"", u"Jan", u"Feb", u"Mar", u"Apr", u"May", u"Jun",
|
short_months = ( u"", u"Jan", u"Fev", u"Mar", u"Abr", u"Mai", u"Jun",
|
||||||
u"Jul", u"Aug", u"Sep", u"Oct", u"Nov", u"Dec" )
|
u"Jul", u"Ago", u"Set", u"Out", u"Nov", u"Dez" )
|
||||||
|
|
||||||
calendar = (
|
calendar = (
|
||||||
"", u" (Juliano)", u" (Hebreu)",
|
"", u" (Juliano)", u" (Hebreu)",
|
||||||
u" (Revolucionário)", u" (Persa)", u" (Islâmico)",
|
u" (Revolucionário)", u" (Persa)", u" (Islâmico)",
|
||||||
u" (Swedish)"
|
u" (Sueco)"
|
||||||
)
|
)
|
||||||
|
|
||||||
_mod_str = ("",u"antes de ",u"depois de ",u"até ","","","")
|
_mod_str = ("",u"antes de ",u"depois de ",u"por volta de ","","","")
|
||||||
|
|
||||||
_qual_str = ("","estimado ","calculado ")
|
_qual_str = ("","estimado ","calculado ")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user