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:
Diffstat (limited to 'plugins/UserLanguage')
-rw-r--r--plugins/UserLanguage/Reports/GetLanguage.php2
-rw-r--r--plugins/UserLanguage/Reports/GetLanguageCode.php2
-rw-r--r--plugins/UserLanguage/lang/en.json6
3 files changed, 6 insertions, 4 deletions
diff --git a/plugins/UserLanguage/Reports/GetLanguage.php b/plugins/UserLanguage/Reports/GetLanguage.php
index adc2ac8ea2..ae3b92c223 100644
--- a/plugins/UserLanguage/Reports/GetLanguage.php
+++ b/plugins/UserLanguage/Reports/GetLanguage.php
@@ -20,7 +20,7 @@ class GetLanguage extends Base
parent::init();
$this->dimension = new Language();
$this->name = Piwik::translate('UserLanguage_BrowserLanguage');
- $this->documentation = ''; // TODO
+ $this->documentation = Piwik::translate('UserLanguage_getLanguageDocumentation');
$this->order = 8;
}
diff --git a/plugins/UserLanguage/Reports/GetLanguageCode.php b/plugins/UserLanguage/Reports/GetLanguageCode.php
index 0c1f56ba3e..85866b830f 100644
--- a/plugins/UserLanguage/Reports/GetLanguageCode.php
+++ b/plugins/UserLanguage/Reports/GetLanguageCode.php
@@ -19,7 +19,7 @@ class GetLanguageCode extends GetLanguage
parent::init();
$this->dimension = new Language();
$this->name = Piwik::translate('UserLanguage_LanguageCode');
- $this->documentation = '';
+ $this->documentation = Piwik::translate('UserLanguage_getLanguageCodeDocumentation');
$this->order = 11;
}
diff --git a/plugins/UserLanguage/lang/en.json b/plugins/UserLanguage/lang/en.json
index ffbf336048..545a90ce54 100644
--- a/plugins/UserLanguage/lang/en.json
+++ b/plugins/UserLanguage/lang/en.json
@@ -2,6 +2,8 @@
"UserLanguage": {
"BrowserLanguage": "Browser language",
"LanguageCode": "Language code",
- "PluginDescription": "Reports the language used by your visitors' browsers."
+ "PluginDescription": "Reports the language used by your visitors' browsers.",
+ "getLanguageDocumentation": "This report shows which language the visitor's browsers are using. (e.g. \"English\")",
+ "getLanguageCodeDocumentation": "This report shows which exact language code the visitor's browsers is set to. (e.g. \"German - Austria (de-at)\")"
}
-} \ No newline at end of file
+}