mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:03:41 +00:00
more Matomo / Piwik, and regen piwik translation base
This commit is contained in:
parent
bd4c9f4bb6
commit
56c218a337
2 changed files with 30 additions and 30 deletions
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \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"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -17,46 +17,46 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: piwik.php:79
|
||||
#: piwik.php:94
|
||||
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."
|
||||
msgstr ""
|
||||
|
||||
#: piwik.php:82
|
||||
#: piwik.php:97
|
||||
#, php-format
|
||||
msgid ""
|
||||
"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)."
|
||||
"href='%s'>can set a cookie to prevent Matomo / Piwik from tracking further "
|
||||
"visits of the site</a> (opt-out)."
|
||||
msgstr ""
|
||||
|
||||
#: piwik.php:89
|
||||
#: piwik.php:104
|
||||
msgid "Save Settings"
|
||||
msgstr ""
|
||||
|
||||
#: piwik.php:90
|
||||
msgid "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"
|
||||
#: piwik.php:105
|
||||
msgid "Matomo (Piwik) Base URL"
|
||||
msgstr ""
|
||||
|
||||
#: 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."
|
||||
msgstr ""
|
||||
|
|
|
@ -91,10 +91,10 @@ function piwik_analytics($a,&$b) {
|
|||
*/
|
||||
if ($optout) {
|
||||
$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 .= " ";
|
||||
$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>";
|
||||
}
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ function piwik_addon_admin (&$a, &$o) {
|
|||
$t = Renderer::getMarkupTemplate( "admin.tpl", "addon/piwik/" );
|
||||
$o = Renderer::replaceMacros( $t, [
|
||||
'$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' ), ''],
|
||||
'$optout' => ['optout', L10n::t('Show opt-out cookie link?'), Config::get('piwik','optout' ), ''],
|
||||
'$async' => ['async', L10n::t('Asynchronous tracking'), Config::get('piwik','async' ), ''],
|
||||
|
|
Loading…
Reference in a new issue