jenkins-bot has submitted this change and it was merged.

Change subject: Add es-mx (es-MX) locale for iNaturalist
......................................................................


Add es-mx (es-MX) locale for iNaturalist

* Autonym from 
http://www.unicode.org/cldr/charts/26/by_type/locale_display_names.languages__e-j_.html#2c8977fe9e4dc68a
* See 
https://translatewiki.net/wiki/Thread:Support/Getting_iNaturalist.org_registered_on_translatewiki
* We're leaving "en-US" and "es-ES" alone for now, we translate those at
  "en" and "es" so we will only pull/push the "en" and "es" repo files.

Change-Id: I46bc6a1b5d7aa35256146e80a3a63d5ad082df0a
---
M FallbackSettings.php
M LanguageSettings.php
M TranslateSettings.php
M groups/iNaturalist/iNaturalist.yaml
4 files changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FallbackSettings.php b/FallbackSettings.php
index 2455939..411e4b9 100644
--- a/FallbackSettings.php
+++ b/FallbackSettings.php
@@ -24,6 +24,7 @@
 $wgTranslateLanguageFallbacks['dty'] = array( 'ne' );
 $wgTranslateLanguageFallbacks['egl'] = array( 'it', 'rgn' );
 $wgTranslateLanguageFallbacks['es-formal'] = 'es';
+$wgTranslateLanguageFallbacks['es-mx'] = 'es';
 $wgTranslateLanguageFallbacks['et'] = 'fi';
 $wgTranslateLanguageFallbacks['fi'] = array( 'de', 'sv', 'et', 'vro' );
 $wgTranslateLanguageFallbacks['fit'] = array( 'fi', 'sv' ); # Robin 2011-09-27
diff --git a/LanguageSettings.php b/LanguageSettings.php
index 2f16d77..24f1779 100644
--- a/LanguageSettings.php
+++ b/LanguageSettings.php
@@ -89,5 +89,6 @@
 $wgExtraLanguageNames['gor'] = 'Hulontalo'; # Gorontalo / Siebrand 2014-12-28
 
 $wgExtraLanguageNames['nl-be'] = 'nl-be'; # Nikerabbit 2008-xx-xx - For FreeCol
+$wgExtraLanguageNames['es-mx'] = 'español de México'; # Mexico; for iNaturalist
 $wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic 
content. Used for documenting messages
 $wgExtraLanguageNames['ike'] = 'ᐃᓄᒃᑎᑐᑦ/inuktitut'; # Dummy to have portal 
appear in Special:SupportedLanguages
diff --git a/TranslateSettings.php b/TranslateSettings.php
index 5b278f9..52be5b6 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -201,15 +201,18 @@
 ),
 'core' => array(
        'nl-be' => 'This code is not used in MediaWiki. Use \'nl\' or \'vls\'.',
+       'es-mx' => 'This code is not used in MediaWiki. Use \'es\'.',
 ),
 'ext' => array(
        'nl-be' => 'This code is not used in MediaWiki. Use \'nl\' or \'vls\'.',
+       'es-mx' => 'This code is not used in MediaWiki. Use \'es\'.',
 ),
 'out' => array(
        'roa-tara' => 'This code is not available for this software.',
 ),
 'wikia' => array(
        'nl-be' => 'This code is not used in MediaWiki. Use \'nl\' or \'vls\'.',
+       'es-mx' => 'This code is not used in MediaWiki. Use \'es\'.',
 ),
 );
 
diff --git a/groups/iNaturalist/iNaturalist.yaml 
b/groups/iNaturalist/iNaturalist.yaml
index 019f5ff..e43e6d0 100644
--- a/groups/iNaturalist/iNaturalist.yaml
+++ b/groups/iNaturalist/iNaturalist.yaml
@@ -9,4 +9,6 @@
 FILES:
   class: RubyYamlFFS
   sourcePattern: "%GROUPROOT%/inaturalist/config/locales/%CODE%.yml"
+  codeMap:
+    es-mx: es-MX
   codeAsRoot: true

-- 
To view, visit https://gerrit.wikimedia.org/r/183305
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I46bc6a1b5d7aa35256146e80a3a63d5ad082df0a
Gerrit-PatchSet: 2
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to