diff --git a/CHANGELOG.md b/CHANGELOG.md index 8546318..de204f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ ## Changelog -Here goes the changelog text. +# 0.2.0 + +Allow translating "General", "Mobile" and "RowEvolution" translation strings. diff --git a/SystemSettings.php b/SystemSettings.php index 777fa7a..5414e2d 100644 --- a/SystemSettings.php +++ b/SystemSettings.php @@ -27,6 +27,9 @@ class SystemSettings extends \Piwik\Settings\Plugin\SystemSettings private function createTranslationsSetting() { return $this->makeSetting('translations', array(), FieldConfig::TYPE_ARRAY, function (FieldConfig $field) { $plugins = Manager::getAllPluginsNames(); + $plugins[] = "General"; + $plugins[] = "Mobile"; + $plugins[] = "RowEvolution"; $field->description = Piwik::translate('CustomiseTranslations_Description'); $field->uiControl = FieldConfig::UI_CONTROL_MULTI_TUPLE; $field1 = new FieldConfig\MultiPair(Piwik::translate('CustomiseTranslations_TranslationKey'), 'translationKey', FieldConfig::UI_CONTROL_TEXT); diff --git a/plugin.json b/plugin.json index fe4a7d8..7529769 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "name": "CustomiseTranslations", "description": "This plugin allows you to modify all translateable strings in Matomo", - "version": "0.1.2", + "version": "0.2.0", "theme": false, "require": { "piwik": ">=3.6.0,<4.0.0-b1"