Mailing List Archive

[MediaWiki-commits] [Gerrit] NFC Ring Control Translation config files - change (translatewiki)
Johnmclear has uploaded a new change for review.

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

Change subject: NFC Ring Control Translation config files
......................................................................

NFC Ring Control Translation config files

Change-Id: Ic7f3a9ee86b809bf6e2748abe209c2b7041e2c7e
---
M REPOCONF
M TranslateSettings.php
M bin/repocommit
M bin/repocreate
M bin/repoexport
M bin/repoupdate
A groups/NFCRingControl/NFCRingControl.yaml
7 files changed, 32 insertions(+), 0 deletions(-)


git pull ssh://gerrit.wikimedia.org:29418/translatewiki refs/changes/06/112406/1

diff --git a/REPOCONF b/REPOCONF
index a287473..5a79cf3 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -11,6 +11,7 @@
REPO_EOL=git://github.com/EOL/eol.git
REPO_ETHERPADLITE=git://github.com/ether/etherpad-lite.git
REPO_ETHERPADLITE_BRANCH="develop"
+REPO_NFCRINGCONTROL=git://github.com/mclear/NFC_Ring_Control.git
REPO_FREECOL=git://git.code.sf.net/p/freecol/git
REPO_FUDFORUM=svn://svn.code.sf.net/p/fudforum/code/trunk/install/forum_data/thm/default/i18n
REPO_FUEL=git://git.fedorahosted.org/fuel.git
diff --git a/TranslateSettings.php b/TranslateSettings.php
index be2d30a..2d0186e 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -396,6 +396,9 @@
wfAddNamespace( 1250, 'EtherpadLite' );
$wgTranslateGroupFiles[] = "$GROUPS/EtherpadLite/EtherpadLite.yaml";

+wfAddNamespace( 1250, 'NFCRingControl' );
+$wgTranslateGroupFiles[] = "$GROUPS/NFCRingControl/NFCringControl.yaml";
+
wfAddNamespace( 1252, 'Vicuna' );
$wgTranslateGroupFiles[] = "$GROUPS/Vicuna/Vicuna.yaml";

diff --git a/bin/repocommit b/bin/repocommit
index 61610b6..ccefe11 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -45,6 +45,7 @@
GITPROJECTS="\
eol \
etherpad-lite \
+nfcring-control \
freecol \
fuel \
intuition \
diff --git a/bin/repocreate b/bin/repocreate
index 4f291ab..bcc17b1 100755
--- a/bin/repocreate
+++ b/bin/repocreate
@@ -66,6 +66,13 @@
fi
git clone "$REPO_ETHERPADLITE" $PROJECT --branch develop

+elif [ "$PROJECT" = "nfcring-control" ]
+then
+ if [ -z "$REPO_NFCRINGCONTROL" ]
+ then echo "Add REPO_NFCRINGCONTROL to REPOCONF"; exit 1
+ fi
+ git clone "$REPO_NFCRINGCONTROL" $PROJECT
+
elif [ "$PROJECT" = "freecol" ]
then
if [ -z "$REPO_FREECOL" ]
diff --git a/bin/repoexport b/bin/repoexport
index 537c96f..0de6e7b 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -41,6 +41,10 @@
then
php "$EXPORTER" --target . --group=out-$PROJECT --lang '*' --skip en,qqq $THRESHOLD

+elif [ "$PROJECT" = "nfcring-control" ]
+then
+ php "$EXPORTER" --target . --group=out-$PROJECT --lang '*' --skip en,qqq $THRESHOLD
+
elif [ "$PROJECT" = "freecol" ]
then
php "$EXPORTER" --target . --group=out-freecol --lang '*' --skip en,qqq $THRESHOLD
diff --git a/bin/repoupdate b/bin/repoupdate
index db3d4f3..5ae54fd 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -109,6 +109,10 @@
then
gitupdate "$PROJECT" $REPO_ETHERPADLITE_BRANCH

+elif [ "$PROJECT" = "nfcring-control" ]
+then
+ gitupdate "$PROJECT" $REPO_NFCRINGCONTROL
+
elif [ "$PROJECT" = "fudforum" ]
then
svn up -q $PROJECT
diff --git a/groups/NFCRingControl/NFCRingControl.yaml b/groups/NFCRingControl/NFCRingControl.yaml
new file mode 100644
index 0000000..6d1fc9d
--- /dev/null
+++ b/groups/NFCRingControl/NFCRingControl.yaml
@@ -0,0 +1,12 @@
+---
+BASIC:
+ id: out-nfcring-control
+ label: NFC Ring Control
+ icon: wiki://NFCRingControl.svg
+ description: "{{int:translate-group-desc-nfcring-control}}"
+ namespace: NS_NFCRINGCONTROL
+ class: FileBasedMessageGroup
+
+FILES:
+ class: JsonFFS
+ sourcePattern: %GROUPROOT%/nfcring-control/www/locales/%CODE%.json

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7f3a9ee86b809bf6e2748abe209c2b7041e2c7e
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Johnmclear <john@mclear.co.uk>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits