Fix of 2496 by adding correc spelling of languages.
svn: r11299
This commit is contained in:
parent
7424433a69
commit
6caf63009e
@ -175,4 +175,4 @@ class DateDisplayCA(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('ca_ES', 'ca', 'català','ca_FR','ca_AD','ca_IT',), DateParserCA, DateDisplayCA)
|
||||
register_datehandler(('ca_ES', 'ca', 'català', 'Catalan', 'ca_FR', 'ca_AD', 'ca_IT'), DateParserCA, DateDisplayCA)
|
||||
|
@ -147,4 +147,4 @@ class DateDisplayCZ(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('cs_CZ', 'cs', 'CZ'), DateParserCZ, DateDisplayCZ)
|
||||
register_datehandler(('cs_CZ', 'cs', 'CZ', 'Czech'), DateParserCZ, DateDisplayCZ)
|
||||
|
@ -235,6 +235,6 @@ class DateDisplayDE(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('de_DE', 'german', 'de_AT', 'de_CH',
|
||||
register_datehandler(('de_DE', 'german', 'German', 'de_AT', 'de_CH',
|
||||
'de_LI', 'de_LU', 'de_BE', 'de'),
|
||||
DateParserDE, DateDisplayDE)
|
||||
|
@ -159,4 +159,4 @@ class DateDisplayES(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('es_ES', 'es', 'spanish'), DateParserES, DateDisplayES)
|
||||
register_datehandler(('es_ES', 'es', 'spanish', 'Spanish'), DateParserES, DateDisplayES)
|
||||
|
@ -182,4 +182,4 @@ class DateDisplayFI(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('fi_FI', 'fi', 'finnish'), DateParserFI, DateDisplayFI)
|
||||
register_datehandler(('fi_FI', 'fi', 'finnish', 'Finnish'), DateParserFI, DateDisplayFI)
|
||||
|
@ -322,5 +322,5 @@ class DateDisplayFR(DateDisplay):
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(
|
||||
('fr_FR', 'fr', 'french', 'fr_CA', 'fr_BE', 'fr_CH'),
|
||||
('fr_FR', 'fr', 'french', 'French', 'fr_CA', 'fr_BE', 'fr_CH'),
|
||||
DateParserFR, DateDisplayFR)
|
||||
|
@ -337,5 +337,5 @@ class DateDisplayHR(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('hr', 'HR', 'croatian', 'hrvatski', 'hr_HR'),
|
||||
register_datehandler(('hr', 'HR', 'croatian', 'Croatian', 'hrvatski', 'hr_HR'),
|
||||
DateParserHR, DateDisplayHR)
|
||||
|
@ -153,4 +153,4 @@ class DateDisplayLT(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('lt_LT', 'lt', 'lithuanian'), DateParserLT, DateDisplayLT)
|
||||
register_datehandler(('lt_LT', 'lt', 'lithuanian', 'Lithuanian'), DateParserLT, DateDisplayLT)
|
||||
|
@ -162,4 +162,4 @@ class DateDisplayNb(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('nb_NO', 'nb', 'norsk'), DateParserNb, DateDisplayNb)
|
||||
register_datehandler(('nb_NO', 'nb', 'norsk', 'Norwegian'), DateParserNb, DateDisplayNb)
|
||||
|
@ -242,5 +242,5 @@ class DateDisplayNL(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('nl_NL', 'dutch', 'nl_BE', 'nl'),
|
||||
register_datehandler(('nl_NL', 'dutch', 'Dutch', 'nl_BE', 'nl'),
|
||||
DateParserNL, DateDisplayNL)
|
||||
|
@ -158,4 +158,4 @@ class DateDisplayPT(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('pt', 'pt_PT', 'pt_PT.UTF-8', 'pt_BR', 'pt_BR.UTF-8', 'pt', 'portuguese'), DateParserPT, DateDisplayPT)
|
||||
register_datehandler(('pt', 'pt_PT', 'pt_PT.UTF-8', 'pt_BR', 'pt_BR.UTF-8', 'pt', 'portuguese', 'Portuguese'), DateParserPT, DateDisplayPT)
|
||||
|
@ -305,4 +305,4 @@ class DateDisplayRU(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('ru_RU', 'ru', 'russian'), DateParserRU, DateDisplayRU)
|
||||
register_datehandler(('ru_RU', 'ru', 'russian', 'Russian'), DateParserRU, DateDisplayRU)
|
||||
|
@ -149,4 +149,4 @@ class DateDisplaySK(DateDisplay):
|
||||
# Register classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
register_datehandler(('sk_SK', 'sk', 'SK'), DateParserSK, DateDisplaySK)
|
||||
register_datehandler(('sk_SK', 'sk', 'SK', 'Slovak'), DateParserSK, DateDisplaySK)
|
||||
|
Loading…
Reference in New Issue
Block a user