summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>2021-12-30 19:48:40 +0200
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>2021-12-30 19:52:02 +0200
commit19e641b57f15657a00ebf09298d717f5026993fc (patch)
treec017e476d97304b8d4df2b95859ba4d824b94545
parent60faebb725998e1999bb3cc9c875eabf3364c60d (diff)
Add Nheengatu (yrl) to Names.php
The autonym "ñe'engatú", which appears in the current configuration of translatewiki and language-names in ULS, also appears in Ethnologue, but it is probably incorrect, as it doesn't appear almost anywhere else. There are several autonym variants, and the one that appears the most consistent with the actual translations in translatewiki is "Nhẽẽgatú". Bug: T298385 Change-Id: I4d794dd50475c0ef17cbd906801d5a53d8446778
-rw-r--r--RELEASE-NOTES-1.381
-rw-r--r--includes/languages/data/Names.php1
-rw-r--r--languages/messages/MessagesYrl.php12
3 files changed, 14 insertions, 0 deletions
diff --git a/RELEASE-NOTES-1.38 b/RELEASE-NOTES-1.38
index d066c07b16a9..8784f5f33c8f 100644
--- a/RELEASE-NOTES-1.38
+++ b/RELEASE-NOTES-1.38
@@ -125,6 +125,7 @@ because of Phabricator reports.
* (T297074) Added language support for Nawdm (nmz).
* (T298075) Added language support for Northern Thai (nod).
* (T298182) Added language support for Cape Verdean Creole (kea).
+* (T298385) Added language support for Nheengatu (yrl).
=== Breaking changes in 1.38 ===
* (T291008) The IP class, deprecated since 1.35 in favor of the IPUtils library,
diff --git a/includes/languages/data/Names.php b/includes/languages/data/Names.php
index c68d771b4819..b9c811da3a85 100644
--- a/includes/languages/data/Names.php
+++ b/includes/languages/data/Names.php
@@ -504,6 +504,7 @@ class Names {
'xsy' => 'saisiyat', # SaiSiyat - T216479
'yi' => 'ייִדיש', # Yiddish
'yo' => 'Yorùbá', # Yoruba
+ 'yrl' => 'Nhẽẽgatú', # Nheengatu
'yue' => '粵語', # Cantonese
'za' => 'Vahcuengh', # Zhuang
'zea' => 'Zeêuws', # Zeeuws/Zeaws
diff --git a/languages/messages/MessagesYrl.php b/languages/messages/MessagesYrl.php
new file mode 100644
index 000000000000..f7762109710d
--- /dev/null
+++ b/languages/messages/MessagesYrl.php
@@ -0,0 +1,12 @@
+<?php
+/** Nhẽẽgatú (Nheengatu)
+ *
+ * To improve a translation please visit https://translatewiki.net
+ *
+ * @ingroup Language
+ * @file
+ *
+ * @author Amir E. Aharoni
+ */
+
+$linkTrail = '/^([a-zA-ZãÃẽẼĩĨõÕũŨáÁéÉíÍóÓúÚ]+)(.*)$/sDu';