Siebrand has uploaded a new change for review.

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


Change subject: Add config for blockly
......................................................................

Add config for blockly

Change-Id: I85d5507bffe9833c3dbf6a78a963a8488f311d41
---
M TranslateSettings.php
A groups/Blockly/Blockly.yaml
2 files changed, 52 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/92/60192/1

diff --git a/TranslateSettings.php b/TranslateSettings.php
index 38de02e..31b70f5 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -381,3 +381,6 @@
 
 wfAddNamespace( 1254, 'FUEL' );
 $wgTranslateGroupFiles[] = "$GROUPS/FUEL/FUEL.yaml";
+
+wfAddNamespace( 1256, 'Blockly' );
+$wgTranslateGroupFiles[] = "$GROUPS/Blockly/Blockly.yaml";
diff --git a/groups/Blockly/Blockly.yaml b/groups/Blockly/Blockly.yaml
new file mode 100644
index 0000000..f54d5a5
--- /dev/null
+++ b/groups/Blockly/Blockly.yaml
@@ -0,0 +1,49 @@
+TEMPLATE:
+  BASIC:
+    icon: wiki://Blockly-square.png
+    namespace: NS_BLOCKLY
+    class: FileBasedMessageGroup
+    description: "{{int:translate-group-desc-blockly}}"
+
+  FILES:
+    class: JsonFFS
+
+---
+BASIC:
+  id: out-blockly-0-all
+  label: Blockly
+  meta: yes
+  class: AggregateMessageGroup
+
+GROUPS:
+  - out-blockly-*
+
+---
+BASIC:
+  id: out-blockly-core
+  label: Blockly - Core
+
+MANGLER:
+  class: StringMatcher
+  prefix: core-
+  patterns:
+    - "*"
+
+FILES:
+  sourcePattern: %GROUPROOT%/blockly/apps/%CODE%.json
+  targetPattern: blockly/apps/%CODE%.json
+
+---
+BASIC:
+  id: out-blockly-maze
+  label: Blockly - Maze
+
+MANGLER:
+  class: StringMatcher
+  prefix: maze-
+  patterns:
+    - "*"
+
+FILES:
+  sourcePattern: %GROUPROOT%/blockly/apps/maze/%CODE%.json
+  targetPattern: blockly/apps/maze/%CODE%.json

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I85d5507bffe9833c3dbf6a78a963a8488f311d41
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@wikimedia.org>

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

Reply via email to