more Matomo / Piwik, and regen piwik translation base

pull/812/head
Tobias Diekershoff 2019-02-19 10:43:22 +01:00
parent bd4c9f4bb6
commit 56c218a337
2 changed files with 30 additions and 30 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-26 12:49+0200\n" "POT-Creation-Date: 2019-02-19 10:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,46 +17,46 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: piwik.php:79 #: piwik.php:94
msgid "" msgid ""
"This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> " "This website is tracked using the <a href='http://www.matomo.org'>Matomo</a> "
"analytics tool." "analytics tool."
msgstr "" msgstr ""
#: piwik.php:82 #: piwik.php:97
#, php-format #, php-format
msgid "" msgid ""
"If you do not want that your visits are logged in this way you <a " "If you do not want that your visits are logged in this way you <a "
"href='%s'>can set a cookie to prevent Piwik from tracking further visits of " "href='%s'>can set a cookie to prevent Matomo / Piwik from tracking further "
"the site</a> (opt-out)." "visits of the site</a> (opt-out)."
msgstr "" msgstr ""
#: piwik.php:89 #: piwik.php:104
msgid "Save Settings" msgid "Save Settings"
msgstr "" msgstr ""
#: piwik.php:90 #: piwik.php:105
msgid "Piwik Base URL" msgid "Matomo (Piwik) Base URL"
msgstr ""
#: piwik.php:90
msgid ""
"Absolute path to your Piwik installation. (without protocol (http/s), with "
"trailing slash)"
msgstr ""
#: piwik.php:91
msgid "Site ID"
msgstr ""
#: piwik.php:92
msgid "Show opt-out cookie link?"
msgstr ""
#: piwik.php:93
msgid "Asynchronous tracking"
msgstr "" msgstr ""
#: piwik.php:105 #: piwik.php:105
msgid ""
"Absolute path to your Matomo (Piwik) installation. (without protocol (http/"
"s), with trailing slash)"
msgstr ""
#: piwik.php:106
msgid "Site ID"
msgstr ""
#: piwik.php:107
msgid "Show opt-out cookie link?"
msgstr ""
#: piwik.php:108
msgid "Asynchronous tracking"
msgstr ""
#: piwik.php:120
msgid "Settings updated." msgid "Settings updated."
msgstr "" msgstr ""

View File

@ -91,10 +91,10 @@ function piwik_analytics($a,&$b) {
*/ */
if ($optout) { if ($optout) {
$b .= "<div id='piwik-optout-link'>"; $b .= "<div id='piwik-optout-link'>";
$b .= L10n::t("This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> analytics tool."); $b .= L10n::t("This website is tracked using the <a href='http://www.matomo.org'>Matomo</a> analytics tool.");
$b .= " "; $b .= " ";
$the_url = "http://".$baseurl ."index.php?module=CoreAdminHome&action=optOut"; $the_url = "http://".$baseurl ."index.php?module=CoreAdminHome&action=optOut";
$b .= L10n::t("If you do not want that your visits are logged in this way you <a href='%s'>can set a cookie to prevent Piwik from tracking further visits of the site</a> (opt-out).", $the_url); $b .= L10n::t("If you do not want that your visits are logged in this way you <a href='%s'>can set a cookie to prevent Matomo / Piwik from tracking further visits of the site</a> (opt-out).", $the_url);
$b .= "</div>"; $b .= "</div>";
} }
} }
@ -102,7 +102,7 @@ function piwik_addon_admin (&$a, &$o) {
$t = Renderer::getMarkupTemplate( "admin.tpl", "addon/piwik/" ); $t = Renderer::getMarkupTemplate( "admin.tpl", "addon/piwik/" );
$o = Renderer::replaceMacros( $t, [ $o = Renderer::replaceMacros( $t, [
'$submit' => L10n::t('Save Settings'), '$submit' => L10n::t('Save Settings'),
'$piwikbaseurl' => ['baseurl', L10n::t('Piwik Base URL'), Config::get('piwik','baseurl' ), L10n::t('Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)')], '$piwikbaseurl' => ['baseurl', L10n::t('Matomo (Piwik) Base URL'), Config::get('piwik','baseurl' ), L10n::t('Absolute path to your Matomo (Piwik) installation. (without protocol (http/s), with trailing slash)')],
'$siteid' => ['siteid', L10n::t('Site ID'), Config::get('piwik','siteid' ), ''], '$siteid' => ['siteid', L10n::t('Site ID'), Config::get('piwik','siteid' ), ''],
'$optout' => ['optout', L10n::t('Show opt-out cookie link?'), Config::get('piwik','optout' ), ''], '$optout' => ['optout', L10n::t('Show opt-out cookie link?'), Config::get('piwik','optout' ), ''],
'$async' => ['async', L10n::t('Asynchronous tracking'), Config::get('piwik','async' ), ''], '$async' => ['async', L10n::t('Asynchronous tracking'), Config::get('piwik','async' ), ''],