summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-11-24 14:54:26 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-11-24 18:54:45 +0100
commitb051b18490be8002cdd3a007a786a07d991b8b6b (patch)
treec2df48f9006f041ef1482079ffe3d9e363756ab9 /util
parent115955069f050d2549d0a341460b1473fd383db7 (diff)
Add a note explaining what a macrolanguage is
The comments in enumdata.py indicating macrolanguages meant nothing to me, until I stumbled on a reference that lead me to ISO 639's usage of the term. Add a minimal explanation to save such confusion for others. Change-Id: Ia1d849d93a1d94c04c8c461debdecf879e9a7db5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util')
-rw-r--r--util/locale_database/enumdata.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/locale_database/enumdata.py b/util/locale_database/enumdata.py
index f20ac974ee..ab0f4a3eae 100644
--- a/util/locale_database/enumdata.py
+++ b/util/locale_database/enumdata.py
@@ -47,6 +47,11 @@
# are offset with a blank line, below. After doing that, regenerate
# locale data as usual; this will cause a binary-incompatible change.
+# Note on "macrolanguage" comments: see "ISO 639 macrolanguage" on
+# Wikipedia. A "macrolanguage" is (loosely-speaking) a group of
+# languages so closely related to one another that they could also be
+# regarded as divergent dialects of the macrolanguage.
+
language_list = {
0: ("AnyLanguage", " "),
1: ("C", " "),