Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-08-16 16:14:21 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-08-16 16:14:21 +0400
commitf0fc29ee1f21c74700445de2962c7fbeba54abcc (patch)
tree651abc2ce5b6211dd78fbe2a0217df4beb453a84 /plugins/ExamplePlugin
parent058c83e3814860b48e63a1fe3d6ea972897c118f (diff)
Converted ExamplePlugin translation to json
Diffstat (limited to 'plugins/ExamplePlugin')
-rw-r--r--plugins/ExamplePlugin/lang/en.json9
-rw-r--r--plugins/ExamplePlugin/lang/en.php19
2 files changed, 9 insertions, 19 deletions
diff --git a/plugins/ExamplePlugin/lang/en.json b/plugins/ExamplePlugin/lang/en.json
new file mode 100644
index 0000000000..b1462189c3
--- /dev/null
+++ b/plugins/ExamplePlugin/lang/en.json
@@ -0,0 +1,9 @@
+{
+ "ExamplePlugin": {
+ "exampleWidgets": "Example Widgets",
+ "exampleWidget": "Example Widget",
+ "photostreamMatt": "Matt\'s Photos",
+ "piwikForumVisits": "Piwik Forums visits",
+ "PiwikForumReceivedVisits": "On %s, Piwik forums received %s visits."
+ }
+}
diff --git a/plugins/ExamplePlugin/lang/en.php b/plugins/ExamplePlugin/lang/en.php
deleted file mode 100644
index eaec0c9940..0000000000
--- a/plugins/ExamplePlugin/lang/en.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
-/**
- * Piwik - Open source web analytics
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- *
- * @category Piwik_Plugins
- * @package ExamplePlugin
- */
-
-$translations = array(
- 'ExamplePlugin_exampleWidgets' => 'Example Widgets',
- 'ExamplePlugin_exampleWidget' => 'Example Widget',
- 'ExamplePlugin_photostreamMatt' => 'Matt\'s Photos',
- 'ExamplePlugin_piwikForumVisits' => 'Piwik Forums visits',
- 'ExamplePlugin_PiwikForumReceivedVisits' => 'On %s, Piwik forums received %s visits.'
-
-);