Nikerabbit has uploaded a new change for review.
https://gerrit.wikimedia.org/r/290678
Change subject: Remove "no" from cxserver and replace it with "nb".
......................................................................
Remove "no" from cxserver and replace it with "nb".
It causes problems if we support languages that are in the values of
$wgContentTranslationDomainCodeMapping. They keys of that array should
be used instead.
Apertium already maps "nb" to "nob". Added mapping from "nb" to "no"
for Yandex.
Bug: T132217
Change-Id: I2a7e20729900d597357c7ca10aaa3b1a78d96196
---
M mt/Yandex.js
M registry.yaml
2 files changed, 4 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/cxserver
refs/changes/78/290678/1
diff --git a/mt/Yandex.js b/mt/Yandex.js
index abc4161..2f040d7 100644
--- a/mt/Yandex.js
+++ b/mt/Yandex.js
@@ -11,6 +11,7 @@
// we use.
yandexLanguageNameMap = {
'be-tarask': 'be' // T122033
+ nb: 'no' // T132217
};
function Yandex( options ) {
diff --git a/registry.yaml b/registry.yaml
index a388a24..f8e5a32 100644
--- a/registry.yaml
+++ b/registry.yaml
@@ -169,6 +169,7 @@
- nan
- nap
- na
+ - nb
- nds-nl
- nds
- ne
@@ -176,7 +177,6 @@
- nl
- nn
- nov
- - 'no'
- nrm
- nso
- nv
@@ -452,6 +452,7 @@
- nan
- nap
- na
+ - nb
- nds-nl
- nds
- ne
@@ -459,7 +460,6 @@
- nl
- nn
- nov
- - 'no'
- nrm
- nso
- nv
@@ -646,9 +646,6 @@
nn:
- da
- nb
- - 'no'
- 'no':
- - nn
oc:
- ca
- es
@@ -998,7 +995,7 @@
- sq
- ru
- uz
- 'no':
+ nb:
- ba
- hy
- pl
--
To view, visit https://gerrit.wikimedia.org/r/290678
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2a7e20729900d597357c7ca10aaa3b1a78d96196
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits