Nikerabbit has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/270326

Change subject: Add CodevTT
......................................................................

Add CodevTT

Change-Id: I228b836637cd2b39b2c291a26a45b63267075827
---
M REPOCONF
M REPOCONF.siebrand
M TranslateSettings.php
M bin/EXTERNAL-PROJECTS
M bin/repocommit
M bin/repoexport
M bin/repoupdate
A groups/MantisBT/CodevTT.yaml
8 files changed, 32 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/26/270326/1

diff --git a/REPOCONF b/REPOCONF
index 297d40f..727b92a 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -8,6 +8,7 @@
 
 REPO_BLOCKLY=git://github.com/google/blockly.git
 REPO_BLOCKLYGAMES=git://github.com/google/blockly-games.git
+REPO_CODEV=git://github.com/lbayle/codev.git
 REPO_CROSSWATCH=https://gerrit.wikimedia.org/r/labs/tools/crosswatch
 REPO_ENTRYSCAPE=https://bitbucket.org/metasolutions/entryscape.git
 REPO_EOL=git://github.com/EOL/eol.git
diff --git a/REPOCONF.siebrand b/REPOCONF.siebrand
index d825196..1cd69c0 100644
--- a/REPOCONF.siebrand
+++ b/REPOCONF.siebrand
@@ -8,6 +8,7 @@
 
 [email protected]:google/blockly.git
 [email protected]:google/blockly-games.git
[email protected]:lbayle/codev.git
 [email protected]:EOL/eol.git
 [email protected]:metasolutions/entryscape-nls.git
 [email protected]:ether/etherpad-lite.git
diff --git a/TranslateSettings.php b/TranslateSettings.php
index 818dfff..aae75ed 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -255,6 +255,7 @@
 
 wfAddNamespace( 1210, 'Mantis' );
 $wgTranslateGroupFiles[] = "$GROUPS/MantisBT/MantisBT.yaml";
+$wgTranslateGroupFiles[] = "$GROUPS/MantisBT/CodevTT.yaml";
 
 # No longer in use.
 wfAddNamespace( 1212, 'Mwlib' );
diff --git a/bin/EXTERNAL-PROJECTS b/bin/EXTERNAL-PROJECTS
index 4379897..6b5429f 100644
--- a/bin/EXTERNAL-PROJECTS
+++ b/bin/EXTERNAL-PROJECTS
@@ -1,4 +1,5 @@
 blockly
+codev
 entryscape
 eol
 etherpad-lite
diff --git a/bin/repocommit b/bin/repocommit
index 65f33ce..f1a69cc 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -38,6 +38,7 @@
 # TODO: Move to separate file?
 GITPROJECTS="\
 blockly \
+codev \
 entryscape \
 eol \
 europeana \
diff --git a/bin/repoexport b/bin/repoexport
index 5386bdd..0c8abfb 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -25,6 +25,10 @@
        php "$EXPORTER" --target . --group=out-blockly* --lang='*' --skip en 
$THRESHOLD
 
 
+elif [ "$PROJECT" = "codev" ]
+then
+       php "$EXPORTER" --target . --group=codev --lang='*' --skip en $THRESHOLD
+
 elif [ "$PROJECT" = "crosswatch" ]
 then
        php "$EXPORTER" --target . --group=out-crosswatch --lang='*' --skip en 
$THRESHOLD
diff --git a/bin/repoupdate b/bin/repoupdate
index 8329fae..c9415fd 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -54,6 +54,7 @@
 fi
 
 GITCLUPDATE="\
+codev \
 crosswatch \
 entryscape \
 eol \
diff --git a/groups/MantisBT/CodevTT.yaml b/groups/MantisBT/CodevTT.yaml
new file mode 100644
index 0000000..6c5a2fe
--- /dev/null
+++ b/groups/MantisBT/CodevTT.yaml
@@ -0,0 +1,22 @@
+BASIC:
+  id: codev
+  description: "{{Special:MyLanguage/Translations:Group 
descriptions/codev/en}}"
+  namespace: NS_MANTIS
+  class: FileBasedMessageGroup
+
+FILES:
+  class: GettextFFS
+  keyAlgorithm: simple
+  sourcePattern: "%GROUPROOT%/codev/i18n/locale/%CODE%/LC_MESSAGES/codev.po"
+  definitionFile: "%GROUPROOT%/codev/i18n/locale/codevtt.pot"
+  codeMap:
+    de:    de_DE
+    es:    es_ES
+    it:    it_IT
+    pt-br: pt_BR
+
+MANGLER:
+  class: StringMatcher
+  prefix: codev-
+  patterns:
+    - "*"

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I228b836637cd2b39b2c291a26a45b63267075827
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>

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

Reply via email to