From 6caf63009e56e82983baff72e6f2394ce50f93eb Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 13 Nov 2008 09:03:05 +0000 Subject: [PATCH] Fix of 2496 by adding correc spelling of languages. svn: r11299 --- src/DateHandler/_Date_ca.py | 2 +- src/DateHandler/_Date_cs.py | 2 +- src/DateHandler/_Date_de.py | 2 +- src/DateHandler/_Date_es.py | 2 +- src/DateHandler/_Date_fi.py | 2 +- src/DateHandler/_Date_fr.py | 2 +- src/DateHandler/_Date_hr.py | 2 +- src/DateHandler/_Date_lt.py | 2 +- src/DateHandler/_Date_nb.py | 2 +- src/DateHandler/_Date_nl.py | 2 +- src/DateHandler/_Date_pt.py | 2 +- src/DateHandler/_Date_ru.py | 2 +- src/DateHandler/_Date_sk.py | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/DateHandler/_Date_ca.py b/src/DateHandler/_Date_ca.py index 81040fd96..44275527f 100644 --- a/src/DateHandler/_Date_ca.py +++ b/src/DateHandler/_Date_ca.py @@ -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) diff --git a/src/DateHandler/_Date_cs.py b/src/DateHandler/_Date_cs.py index 4bddd1099..4e2bcc54d 100644 --- a/src/DateHandler/_Date_cs.py +++ b/src/DateHandler/_Date_cs.py @@ -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) diff --git a/src/DateHandler/_Date_de.py b/src/DateHandler/_Date_de.py index a4dba4118..010f490ae 100644 --- a/src/DateHandler/_Date_de.py +++ b/src/DateHandler/_Date_de.py @@ -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) diff --git a/src/DateHandler/_Date_es.py b/src/DateHandler/_Date_es.py index 5647b4ea4..864535228 100644 --- a/src/DateHandler/_Date_es.py +++ b/src/DateHandler/_Date_es.py @@ -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) diff --git a/src/DateHandler/_Date_fi.py b/src/DateHandler/_Date_fi.py index f6a1a385b..565f32385 100644 --- a/src/DateHandler/_Date_fi.py +++ b/src/DateHandler/_Date_fi.py @@ -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) diff --git a/src/DateHandler/_Date_fr.py b/src/DateHandler/_Date_fr.py index 3269d3692..8ac5973a5 100644 --- a/src/DateHandler/_Date_fr.py +++ b/src/DateHandler/_Date_fr.py @@ -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) diff --git a/src/DateHandler/_Date_hr.py b/src/DateHandler/_Date_hr.py index 161bb7fa6..b6043487e 100644 --- a/src/DateHandler/_Date_hr.py +++ b/src/DateHandler/_Date_hr.py @@ -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) diff --git a/src/DateHandler/_Date_lt.py b/src/DateHandler/_Date_lt.py index 69e8853a7..d5f3d9ccd 100644 --- a/src/DateHandler/_Date_lt.py +++ b/src/DateHandler/_Date_lt.py @@ -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) diff --git a/src/DateHandler/_Date_nb.py b/src/DateHandler/_Date_nb.py index c1761d74e..e61c277f6 100644 --- a/src/DateHandler/_Date_nb.py +++ b/src/DateHandler/_Date_nb.py @@ -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) diff --git a/src/DateHandler/_Date_nl.py b/src/DateHandler/_Date_nl.py index 8e68e8678..2785d88fd 100644 --- a/src/DateHandler/_Date_nl.py +++ b/src/DateHandler/_Date_nl.py @@ -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) diff --git a/src/DateHandler/_Date_pt.py b/src/DateHandler/_Date_pt.py index 1a45ad37b..332091dac 100644 --- a/src/DateHandler/_Date_pt.py +++ b/src/DateHandler/_Date_pt.py @@ -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) diff --git a/src/DateHandler/_Date_ru.py b/src/DateHandler/_Date_ru.py index f85a46623..12da87681 100644 --- a/src/DateHandler/_Date_ru.py +++ b/src/DateHandler/_Date_ru.py @@ -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) diff --git a/src/DateHandler/_Date_sk.py b/src/DateHandler/_Date_sk.py index 6bd0914f7..f5882351a 100644 --- a/src/DateHandler/_Date_sk.py +++ b/src/DateHandler/_Date_sk.py @@ -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)