Merge pull request #1907 from Bouke/tickets/21388

Fixed #21388 -- Corrected language code for Frisian
This commit is contained in:
Claude Paroz 2013-11-11 09:33:55 -08:00
commit 0be7f57a90
35 changed files with 12 additions and 12 deletions

View File

@ -75,7 +75,7 @@ LANGUAGES = (
('fa', gettext_noop('Persian')), ('fa', gettext_noop('Persian')),
('fi', gettext_noop('Finnish')), ('fi', gettext_noop('Finnish')),
('fr', gettext_noop('French')), ('fr', gettext_noop('French')),
('fy-nl', gettext_noop('Frisian')), ('fy', gettext_noop('Frisian')),
('ga', gettext_noop('Irish')), ('ga', gettext_noop('Irish')),
('gl', gettext_noop('Galician')), ('gl', gettext_noop('Galician')),
('he', gettext_noop('Hebrew')), ('he', gettext_noop('Hebrew')),

View File

@ -167,11 +167,11 @@ LANG_INFO = {
'name': 'French', 'name': 'French',
'name_local': 'français', 'name_local': 'français',
}, },
'fy-nl': { 'fy': {
'bidi': False, 'bidi': False,
'code': 'fy-nl', 'code': 'fy',
'name': 'Frisian', 'name': 'Frisian',
'name_local': 'Frisian', 'name_local': 'frysk',
}, },
'ga': { 'ga': {
'bidi': False, 'bidi': False,

View File

@ -747,15 +747,15 @@ arguments into a ``REQUEST`` property on ``WSGIRequest``. To merge
dictionaries, use ``dict.update()`` instead. The class ``MergeDict`` is dictionaries, use ``dict.update()`` instead. The class ``MergeDict`` is
deprecated and will be removed in Django 1.9. deprecated and will be removed in Django 1.9.
Language codes ``zh-cn`` and ``zh-tw`` Language codes ``zh-cn``, ``zh-tw`` and ``fy-nl``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The currently used language codes for Simplified Chinese ``zh-cn`` and The currently used language codes for Simplified Chinese ``zh-cn``,
Traditional Chinese ``zh-tw`` are deprecated and should be replaced by the Traditional Chinese ``zh-tw`` and (Western) Frysian ``fy-nl`` are deprecated
recently introduced language codes ``zh-hans`` and ``zh-hant`` respectively. and should be replaced by the language codes ``zh-hans``, ``zh-hant`` and
If you use these language codes, you should rename the locale directories ``fy`` respectively. If you use these language codes, you should rename the
and update your settings to reflect these changes. The deprecated language locale directories and update your settings to reflect these changes. The
codes will be removed in Django 1.9. deprecated language codes will be removed in Django 1.9.
``django.utils.functional.memoize`` function ``django.utils.functional.memoize`` function
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~