From d68cd093815782fb034f3df4afe4e8ec80c01e6a Mon Sep 17 00:00:00 2001 From: Kristof Van Cauwenbergh Date: Thu, 2 Oct 2014 11:19:05 +0200 Subject: [PATCH 1/3] change misleading language identifier --- reference/forms/types/language.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 7e18fcbcf39..0a03cfdd8c4 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -8,7 +8,7 @@ The ``language`` type is a subset of the ``ChoiceType`` that allows the user to select from a large list of languages. As an added bonus, the language names are displayed in the language of the user. -The "value" for each language is the *Unicode language identifier* +The "value" for each language is the *Unicode language identifier* used in the `International Components for Unicode`_ (e.g. ``fr`` or ``zh-Hant``). .. note:: @@ -106,3 +106,5 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/read_only.rst.inc .. include:: /reference/forms/types/options/required.rst.inc + +.. _`International Components for Unicode`: http://site.icu-project.org \ No newline at end of file From 12cccc80c0a352fa7e32ceb2a3b3ac18c27c7233 Mon Sep 17 00:00:00 2001 From: Kristof Van Cauwenbergh Date: Thu, 2 Oct 2014 11:22:38 +0200 Subject: [PATCH 2/3] changed dash to underscore --- reference/forms/types/language.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index 0a03cfdd8c4..c4875857eb5 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -9,7 +9,7 @@ to select from a large list of languages. As an added bonus, the language names are displayed in the language of the user. The "value" for each language is the *Unicode language identifier* used in the `International Components for Unicode`_ -(e.g. ``fr`` or ``zh-Hant``). +(e.g. ``fr`` or ``zh_Hant``). .. note:: @@ -107,4 +107,4 @@ The actual default value of this option depends on other field options: .. include:: /reference/forms/types/options/required.rst.inc -.. _`International Components for Unicode`: http://site.icu-project.org \ No newline at end of file +.. _`International Components for Unicode`: http://site.icu-project.org From db85c67f7b7da1eb8fcd0171a7a40dbfc3fc5803 Mon Sep 17 00:00:00 2001 From: Kristof Van Cauwenbergh Date: Thu, 2 Oct 2014 13:19:40 +0200 Subject: [PATCH 3/3] formatting to follow 72 characters line limit --- reference/forms/types/language.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/forms/types/language.rst b/reference/forms/types/language.rst index c4875857eb5..120cb37b11c 100644 --- a/reference/forms/types/language.rst +++ b/reference/forms/types/language.rst @@ -8,8 +8,8 @@ The ``language`` type is a subset of the ``ChoiceType`` that allows the user to select from a large list of languages. As an added bonus, the language names are displayed in the language of the user. -The "value" for each language is the *Unicode language identifier* used in the `International Components for Unicode`_ -(e.g. ``fr`` or ``zh_Hant``). +The "value" for each language is the *Unicode language identifier* used in +the `International Components for Unicode`_ (e.g. ``fr`` or ``zh_Hant``). .. note::