Gerrit Patch Uploader has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/325895 )

Change subject: Restore Commons Android app for translation on translatewiki.net
......................................................................

Restore Commons Android app for translation on translatewiki.net

The app is now community maintained at:
https://github.com/commons-app/apps-android-commons

This is the follow-up to the removal in 2014:
https://gerrit.wikimedia.org/r/#/c/160831/9

Change-Id: I7809337557064f6ef6f2c27ba720ac922e690a8d

Change-Id: I23a3e351e60d0c7016b7c425576a2a58ecfe6b1c
---
M TranslateSettings.php
M bin/EXTERNAL-PROJECTS
M bin/REPONG-PROJECTS
A groups/Wikimedia/CommonsAndroid.yaml
M repoconfig.commit.json
M repoconfig.json
6 files changed, 85 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/95/325895/1

diff --git a/TranslateSettings.php b/TranslateSettings.php
index 7707e4b..8f2156c 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -237,6 +237,7 @@
 wfAddNamespace( 1206, 'Wikimedia' );
 $wgTranslateGroupFiles[] = "$GROUPS/wikidata/wikidata.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/CitationHunt.yaml";
+$wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/CommonsAndroid.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/CopyPatrol.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/crosswatch.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/GapFinder.yaml";
diff --git a/bin/EXTERNAL-PROJECTS b/bin/EXTERNAL-PROJECTS
index b05678a..b2b58da 100644
--- a/bin/EXTERNAL-PROJECTS
+++ b/bin/EXTERNAL-PROJECTS
@@ -1,6 +1,7 @@
 blockly
 citationhunt
 codev
+commons-android
 copypatrol
 crosswatch
 entryscape
diff --git a/bin/REPONG-PROJECTS b/bin/REPONG-PROJECTS
index 94f779b..a59687e 100644
--- a/bin/REPONG-PROJECTS
+++ b/bin/REPONG-PROJECTS
@@ -1,6 +1,7 @@
 blockly
 citationhunt
 codev
+commons-android
 copypatrol
 crosswatch
 int-dcatap
diff --git a/groups/Wikimedia/CommonsAndroid.yaml 
b/groups/Wikimedia/CommonsAndroid.yaml
new file mode 100644
index 0000000..6aba106
--- /dev/null
+++ b/groups/Wikimedia/CommonsAndroid.yaml
@@ -0,0 +1,64 @@
+TEMPLATE:
+  BASIC:
+    description: "{{int:translate-group-desc-wikimedia-mobile-commons}}"
+    icon: wiki://Commons-icon.svg
+    namespace: NS_WIKIMEDIA
+    class: FileBasedMessageGroup
+
+  FILES:
+    class: AndroidXmlFFS
+    codeMap:
+      be-tarask: b+be+tarask
+      he: iw
+      id: in
+      kk-cyrl: b+kk+Cyrl
+      ku-latn: ku
+      pt-br: pt-rBR
+      qqq: qq
+      sr-ec: sr
+      tg-cyrl: b+tg+Cyrl
+      yi: ji
+      zh-hans: zh
+      zh-hant: zh-rTW
+
+  MANGLER:
+    class: StringMatcher
+    patterns:
+      - "*"
+---
+BASIC:
+  id: out-wikimedia-commons-android-0-all
+  label: Commons Android App
+  meta: yes
+  class: AggregateMessageGroup
+
+GROUPS:
+  - out-wikimedia-mobile-commons-*
+
+---
+BASIC:
+  id: out-wikimedia-commons-android-strings
+  label: Commons Android App (main)
+
+MANGLER:
+  prefix: commons-android-strings-
+
+FILES:
+  sourcePattern: 
"%GROUPROOT%/commons-android/app/src/main/res/values-%CODE%/strings.xml"
+  definitionFile: 
"%GROUPROOT%/commons-android/app/src/main/res/values/strings.xml"
+
+TAGS:
+  optional:
+    - commons-android-strings-hello_world
+
+---
+BASIC:
+  id: out-wikimedia-commons-android-errors
+  label: Commons Android App (errors)
+
+MANGLER:
+  prefix: commons-android-error-
+
+FILES:
+  sourcePattern: 
"%GROUPROOT%/commons-android/app/src/main/res/values-%CODE%/error.xml"
+  definitionFile: 
"%GROUPROOT%/commons-android/app/src/main/res/values/error.xml"
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index 8563a79..5dcbbe3 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -33,6 +33,15 @@
                        }
                }
        },
+       "commons-android": {
+               "group": "commons-android",
+               "repos": {
+                       "commons-android": {
+                               "type": "git",
+                               "url": 
"g...@github.com:commons-app/apps-android-commons.git"
+                       }
+               }
+       },
        "copypatrol": {
                "group": "copypatrol",
                "repos": {
diff --git a/repoconfig.json b/repoconfig.json
index 597685c..c539904 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -33,6 +33,15 @@
                        }
                }
        },
+       "commons-android": {
+               "group": "commons-android",
+               "repos": {
+                       "codev": {
+                               "type": "git",
+                               "url": 
"https://github.com/commons-app/apps-android-commons.git";
+                       }
+               }
+       },
        "copypatrol": {
                "group": "copypatrol",
                "repos": {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I23a3e351e60d0c7016b7c425576a2a58ecfe6b1c
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com>
Gerrit-Reviewer: Eloquence <eloque...@gmail.com>

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

Reply via email to