[MediaWiki-commits] [Gerrit] repo conf addition -- test - change (translatewiki)

2014-02-09 Thread Johnmclear (Code Review)
Johnmclear has uploaded a new change for review.

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

Change subject: repo conf addition -- test
..

repo conf addition -- test

Change-Id: Id2ee257757fa5d5e06ef07450e57f46fd072ed5a
---
M REPOCONF
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/02/112402/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

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id2ee257757fa5d5e06ef07450e57f46fd072ed5a
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Johnmclear j...@mclear.co.uk

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


[MediaWiki-commits] [Gerrit] repo conf addition -- test - change (translatewiki)

2014-02-09 Thread Johnmclear (Code Review)
Johnmclear has uploaded a new change for review.

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

Change subject: repo conf addition -- test
..

repo conf addition -- test

support NFC Rinc Control translations

Change-Id: Ifc843f4585452d8b002cb822a6645a818b71250d

config files for nfc ring control translation

Change-Id: I976fcea059474ef2db92d6455cd4a66e390b8ddb
---
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/04/112404/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 000..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/112404
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I976fcea059474ef2db92d6455cd4a66e390b8ddb
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Johnmclear j...@mclear.co.uk

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