summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorGeorg Bauer <gb@hugo.westfalen.de>2005-11-03 07:53:22 +0000
committerGeorg Bauer <gb@hugo.westfalen.de>2005-11-03 07:53:22 +0000
commit76c591dbe5504e4cfcd321641ffb081579c19d32 (patch)
tree531c6611e74d0ae40e036db44efe6f4700658678 /django
parent9af59f4ba864ce67147814db22712ccbfdc8569c (diff)
i18n: fixed the LANGUAGES variable to contain language codes (instead of locale codes) and fixed a wrong language name
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/conf/global_settings.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py
index ec3fdff6fd..70d38d6993 100644
--- a/django/conf/global_settings.py
+++ b/django/conf/global_settings.py
@@ -34,16 +34,17 @@ LANGUAGE_CODE = 'en-us'
# language name should be the utf-8 encoded local name for the
# language.
LANGUAGES = (
+ ('cs', _('Czech')),
('de', _('German')),
('en', _('English')),
('es', _('Spanish')),
('fr', _('French')),
('gl', _('Galician')),
('it', _('Italian')),
- ('pt_BR', _('Brazilian')),
+ ('pt-br', _('Brazilian')),
('ru', _('Russian')),
- ('sr', _('Serbic')),
- ('cs', _('Czech')),
+ ('sr', _('Serbian')),
+ ('zh-cn', _('Traditional Chinese')),
)
# Not-necessarily-technical managers of the site. They get broken link