Version Description
- Bugfix: Adding a new site will work again.
Download this release
Release Info
Developer | Braekling |
Plugin | WP-Matomo (WP-Piwik) |
Version | 0.9.3 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 0.9.3
- css/index.php +2 -0
- css/wp-piwik.css +23 -12
- debug/.htaccess +1 -0
- debug/testscript.php +74 -0
- js/index.php +2 -0
- languages/.htaccess +1 -0
- languages/wp-piwik-de_DE.mo +0 -0
- languages/wp-piwik-de_DE.po +104 -5
- languages/wp-piwik-es_ES.mo +0 -0
- languages/wp-piwik-es_ES.po +485 -0
- languages/wp-piwik-fa_IR.mo +0 -0
- languages/wp-piwik-fa_IR.po +408 -0
- languages/wp-piwik-lt_LT.mo +0 -0
- languages/wp-piwik-lt_LT.po +186 -0
- languages/wp-piwik-nl_NL.mo +0 -0
- languages/wp-piwik-nl_NL.po +1 -1
- languages/wp-piwik-ro_RO.mo +0 -0
- languages/wp-piwik-ro_RO.po +184 -0
- languages/wp-piwik-sq.mo +0 -0
- languages/wp-piwik-sq.po +298 -121
- languages/wp-piwik-ua_UA.mo +0 -0
- languages/wp-piwik-ua_UA.po +186 -0
- readme.txt +19 -12
- settings/.htaccess +1 -0
- settings/credits.php +31 -0
- settings/homepage.php +11 -0
- settings/piwik.php +68 -0
- settings/sitebrowser.php +94 -0
- settings/support.php +63 -0
- settings/tracking.php +55 -0
- settings/views.php +48 -0
- update/90206.php +2 -0
- wp-piwik.php +272 -319
css/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Nothing to see...
|
css/wp-piwik.css
CHANGED
@@ -26,21 +26,29 @@ table.wp-piwik-table th.n, td.n {
|
|
26 |
table.wp-piwik-table tr:hover {
|
27 |
background-color:#ccc;
|
28 |
}
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
|
34 |
-
div.wp-piwik-
|
|
|
|
|
|
|
35 |
padding:10px;
|
36 |
border:1px solid black;
|
37 |
margin-bottom:10px;
|
|
|
38 |
}
|
39 |
|
40 |
-
div.wp-piwik-donate {
|
41 |
-
div.wp-piwik-support {background:#eef}
|
42 |
-
|
43 |
-
div.wp-piwik-sidebox div div {
|
44 |
width:190px;
|
45 |
text-align:center;
|
46 |
border:solid black;
|
@@ -48,10 +56,6 @@ div.wp-piwik-sidebox div div {
|
|
48 |
padding:5px
|
49 |
}
|
50 |
|
51 |
-
div.wp-piwik-settings-container {
|
52 |
-
margin-right:250px;
|
53 |
-
max-width:1024px;
|
54 |
-
}
|
55 |
div.wp-piwik-settings h4 {
|
56 |
float:left;
|
57 |
font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif !important;
|
@@ -99,3 +103,10 @@ div.wp-piwik_desc {
|
|
99 |
div.wp-piwik_desc strong {
|
100 |
color:#f00;
|
101 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
table.wp-piwik-table tr:hover {
|
27 |
background-color:#ccc;
|
28 |
}
|
29 |
+
|
30 |
+
form.wp-piwik-settings {
|
31 |
+
margin-right:270px;
|
32 |
+
}
|
33 |
+
|
34 |
+
table.wp-piwik-form-table {
|
35 |
+
clear:none !important;
|
36 |
+
}
|
37 |
+
table.wp-piwik-form-table-hide {
|
38 |
+
display:none;
|
39 |
}
|
40 |
|
41 |
+
div.wp-piwik-donate {
|
42 |
+
float:right;
|
43 |
+
width:220px;
|
44 |
+
background:#ffc;
|
45 |
padding:10px;
|
46 |
border:1px solid black;
|
47 |
margin-bottom:10px;
|
48 |
+
margin-top:10px;
|
49 |
}
|
50 |
|
51 |
+
div.wp-piwik-donate div {
|
|
|
|
|
|
|
52 |
width:190px;
|
53 |
text-align:center;
|
54 |
border:solid black;
|
56 |
padding:5px
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
59 |
div.wp-piwik-settings h4 {
|
60 |
float:left;
|
61 |
font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif !important;
|
103 |
div.wp-piwik_desc strong {
|
104 |
color:#f00;
|
105 |
}
|
106 |
+
|
107 |
+
strong.wp-piwik-error {color:#f00}
|
108 |
+
|
109 |
+
.wp-list-table .column-id {width:20%}
|
110 |
+
.wp-list-table .column-name {width:30%}
|
111 |
+
.wp-list-table .column-siteurl {width:30%}
|
112 |
+
.wp-list-table .column-piwikid {width:20%}
|
debug/.htaccess
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
Deny from all
|
debug/testscript.php
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WP-Piwik
|
4 |
+
* Piwik API call test script revision 3
|
5 |
+
*/
|
6 |
+
|
7 |
+
/*****************
|
8 |
+
* CONFIGURATION *
|
9 |
+
*****************/
|
10 |
+
|
11 |
+
// PIWIK URL, e.g. http://www.website.example/piwik
|
12 |
+
$strPiwikURL = self::$aryGlobalSettings['piwik_url'];
|
13 |
+
// PIWIK AUTH TOKEN, e.g. 1234a5cd6789e0a12345b678cd9012ef
|
14 |
+
$strPiwikAuthToken = self::$aryGlobalSettings['piwik_token'];
|
15 |
+
// YOUR BLOG'S URL, e.g. http://www.website.example
|
16 |
+
$strPiwikYourBlogURL = get_bloginfo('url');
|
17 |
+
|
18 |
+
/* That's all, stop editing! */
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Get remote file
|
22 |
+
*
|
23 |
+
* @param String $strURL Remote file URL
|
24 |
+
*/
|
25 |
+
function getRemoteFile($strURL, $strToken) {
|
26 |
+
// Use cURL if available
|
27 |
+
if (function_exists('curl_init')) {
|
28 |
+
// Init cURL
|
29 |
+
$c = curl_init($strURL.$strToken);
|
30 |
+
// Configure cURL CURLOPT_RETURNTRANSFER = 1
|
31 |
+
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
|
32 |
+
// Configure cURL CURLOPT_HEADER = 0
|
33 |
+
curl_setopt($c, CURLOPT_HEADER, 0);
|
34 |
+
// Get result
|
35 |
+
$strResult = curl_exec($c);
|
36 |
+
// Close connection
|
37 |
+
curl_close($c);
|
38 |
+
// cURL not available but url fopen allowed
|
39 |
+
} elseif (ini_get('allow_url_fopen'))
|
40 |
+
// Get file using file_get_contents
|
41 |
+
$strResult = file_get_contents($strURL.$strToken);
|
42 |
+
// Error: Not possible to get remote file
|
43 |
+
else $strResult = serialize(array(
|
44 |
+
'result' => 'error',
|
45 |
+
'message' => 'Remote access to Piwik not possible. Enable allow_url_fopen or CURL.'
|
46 |
+
));
|
47 |
+
// Return result
|
48 |
+
return $strResult;
|
49 |
+
}
|
50 |
+
|
51 |
+
if (substr($strPiwikURL, -1, 1) != '/' && substr($strPiwikURL, -10, 10) != '/index.php')
|
52 |
+
$strPiwikURL .= '/';
|
53 |
+
|
54 |
+
$aryURLs = array();
|
55 |
+
$aryURLs['SitesManager.getSitesWithAtLeastViewAccess'] = $strPiwikURL.'?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML';
|
56 |
+
$aryURLs['SitesManager.getSitesIdFromSiteUrl'] = $strPiwikURL.'?module=API&method=SitesManager.getSitesIdFromSiteUrl&url='.urlencode($strPiwikYourBlogURL).'&format=XML';
|
57 |
+
$strToken = '&token_auth='.$strPiwikAuthToken;
|
58 |
+
$intTest = 0;
|
59 |
+
?>
|
60 |
+
<textarea readonly="readonly" rows="13" cols="100">
|
61 |
+
<?php
|
62 |
+
foreach ($aryURLs as $strMethod => $strURL) {
|
63 |
+
$intTest++;
|
64 |
+
echo '*** Test '.$intTest.'/'.count($aryURLs).': '.$strMethod.' ***'."\n";
|
65 |
+
echo 'Call: '.$strURL.'&token_auth= + TOKEN'."\n";
|
66 |
+
$x = microtime(true);
|
67 |
+
$strResult = getRemoteFile($strURL,$strToken);
|
68 |
+
$x = microtime(true) - $x;
|
69 |
+
echo 'Result:'."\n";
|
70 |
+
echo htmlentities($strResult)."\n";
|
71 |
+
echo 'Time: '.round($x,2).'s'.($intTest < count($aryURLs)?"\n\n":'');
|
72 |
+
}
|
73 |
+
?>
|
74 |
+
</textarea>
|
js/index.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Nothing to see...
|
languages/.htaccess
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
Deny from all
|
languages/wp-piwik-de_DE.mo
CHANGED
Binary file
|
languages/wp-piwik-de_DE.po
CHANGED
@@ -191,7 +191,7 @@ msgstr "Piwik URL"
|
|
191 |
|
192 |
#: wp-piwik.php:461 wp-piwik.php:623
|
193 |
msgid "Auth token"
|
194 |
-
msgstr "Auth
|
195 |
|
196 |
#: wp-piwik.php:467 wp-piwik.php:628
|
197 |
msgid "To enable Piwik statistics, please enter your Piwik"
|
@@ -244,7 +244,7 @@ msgstr "404-Tracking"
|
|
244 |
|
245 |
#: wp-piwik.php:532
|
246 |
msgid "WP-Piwik can automatically add a 404-category to track 404-page-visits."
|
247 |
-
msgstr "
|
248 |
|
249 |
#: wp-piwik.php:536 wp-piwik.php:644
|
250 |
msgid "Tracking filter"
|
@@ -401,10 +401,10 @@ msgid "If you add the Piwik javascript code by wp_footer(),"
|
|
401 |
msgstr "Wenn Du den Piwik-Code per wp_footer() in Dein Blog einbindest,"
|
402 |
|
403 |
msgid "WP-Piwik can automatically use js/index.php instead of piwik.js. See"
|
404 |
-
msgstr "
|
405 |
|
406 |
msgid "WP-Piwik can automatically force the Tracking Code to sent data in POST. See"
|
407 |
-
msgstr "
|
408 |
|
409 |
msgid "Avoid mod_security"
|
410 |
msgstr "Umgehe mod_security"
|
@@ -467,4 +467,103 @@ msgid "Piwik error"
|
|
467 |
msgstr "Piwik-Fehler"
|
468 |
|
469 |
msgid "Important"
|
470 |
-
msgstr "Wichtig"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
#: wp-piwik.php:461 wp-piwik.php:623
|
193 |
msgid "Auth token"
|
194 |
+
msgstr "Auth Token"
|
195 |
|
196 |
#: wp-piwik.php:467 wp-piwik.php:628
|
197 |
msgid "To enable Piwik statistics, please enter your Piwik"
|
244 |
|
245 |
#: wp-piwik.php:532
|
246 |
msgid "WP-Piwik can automatically add a 404-category to track 404-page-visits."
|
247 |
+
msgstr "WP-Piwik kann automatisch eine eigene Kategorie für 404-Seiten hinzufügen."
|
248 |
|
249 |
#: wp-piwik.php:536 wp-piwik.php:644
|
250 |
msgid "Tracking filter"
|
401 |
msgstr "Wenn Du den Piwik-Code per wp_footer() in Dein Blog einbindest,"
|
402 |
|
403 |
msgid "WP-Piwik can automatically use js/index.php instead of piwik.js. See"
|
404 |
+
msgstr "WP-Piwik kann automatisch js/index.php statt piwik.js verwenden. Siehe"
|
405 |
|
406 |
msgid "WP-Piwik can automatically force the Tracking Code to sent data in POST. See"
|
407 |
+
msgstr "WP-Piwik kann automatisch den Tracking Code zwingen, die Daten via POST zu senden. Siehe"
|
408 |
|
409 |
msgid "Avoid mod_security"
|
410 |
msgstr "Umgehe mod_security"
|
467 |
msgstr "Piwik-Fehler"
|
468 |
|
469 |
msgid "Important"
|
470 |
+
msgstr "Wichtig"
|
471 |
+
|
472 |
+
msgid "Thanks for using WP-Piwik!"
|
473 |
+
msgstr "Vielen Dank für die Verwendung von WP-Piwik!"
|
474 |
+
|
475 |
+
msgid "Auto site configuration is"
|
476 |
+
msgstr "Die Auto-Konfiguration ist"
|
477 |
+
|
478 |
+
msgid "Tracking code insertion is"
|
479 |
+
msgstr "Das Einfügen des Tracking-Codes ist"
|
480 |
+
|
481 |
+
msgid "enabled"
|
482 |
+
msgstr "aktiviert"
|
483 |
+
|
484 |
+
msgid "disabled"
|
485 |
+
msgstr "deaktiviert"
|
486 |
+
|
487 |
+
msgid "You are using Piwik"
|
488 |
+
msgstr "Du verwendest Piwik"
|
489 |
+
|
490 |
+
msgid "and"
|
491 |
+
msgstr "und"
|
492 |
+
|
493 |
+
msgid "Error: cURL is not enabled and fopen is not allowed to open URLs. WP-Piwik won't be able to connect to Piwik."
|
494 |
+
msgstr "Fehler: cURL ist nicht aktiviert und fopen darf keine URLs öffnen. WP-Piwik kann so keine Verbindung zu Piwik aufbauen."
|
495 |
+
|
496 |
+
msgid "<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database."
|
497 |
+
msgstr "<strong>Wichtiger Hinweis:</strong> Wenn Du dieses Blog nicht selber hostest, kann Dein Site Admin Deinen Auth Token aus der Datenbank auslesen."
|
498 |
+
|
499 |
+
msgid "Add tracking code"
|
500 |
+
msgstr "Tracking-Code einfügen"
|
501 |
+
|
502 |
+
msgid "Tracking code preview"
|
503 |
+
msgstr "Tracking-Code Vorschau"
|
504 |
+
|
505 |
+
msgid "Piwik Settings"
|
506 |
+
msgstr "Piwik Einstellungen"
|
507 |
+
|
508 |
+
msgid "Statistics"
|
509 |
+
msgstr "Statistiken"
|
510 |
+
|
511 |
+
msgid "Either allow_url_fopen has to be enabled <em>or</em> cURL has to be available:"
|
512 |
+
msgstr "Entweder allow_url_fopen muss aktiviert <em>oder</em> cURL muss verfügbar sein:"
|
513 |
+
|
514 |
+
msgid "cURL is"
|
515 |
+
msgstr "cURL ist"
|
516 |
+
|
517 |
+
msgid "allow_url_fopen is"
|
518 |
+
msgstr "allow_url_fopen ist"
|
519 |
+
|
520 |
+
msgid "not"
|
521 |
+
msgstr "nicht"
|
522 |
+
|
523 |
+
msgid "available"
|
524 |
+
msgstr "verfügbar"
|
525 |
+
|
526 |
+
msgid "Test script result"
|
527 |
+
msgstr "Ergebnis des Testskripts"
|
528 |
+
|
529 |
+
msgid "Please confirm your reset request"
|
530 |
+
msgstr "Bitte bestätige Deine Reset-Anweisung"
|
531 |
+
|
532 |
+
msgid "YES, please reset <strong>all</strong> WP-Piwik settings <strong>except</strong> auth token and Piwi URL."
|
533 |
+
msgstr "JA, bitte setze <strong>alle</strong> WP-Piwik Einstellung außer Auth Token und Piwik URL zurück."
|
534 |
+
|
535 |
+
msgid "WP-Piwik reset done"
|
536 |
+
msgstr "WP-Piwik wurde zurückgesetzt"
|
537 |
+
|
538 |
+
msgid "Get more debug information"
|
539 |
+
msgstr "Erhalte weitere Debug-Informationen"
|
540 |
+
|
541 |
+
msgid "Run test script"
|
542 |
+
msgstr "Starte Testskript"
|
543 |
+
|
544 |
+
msgid "Get site configuration details"
|
545 |
+
msgstr "Ermittle Detailinformationen zur Seitenkonfiguration"
|
546 |
+
|
547 |
+
msgid "Reset WP-Piwik settings except auth token and Piwik URL"
|
548 |
+
msgstr "Setzte die Einstellungen von WP-Piwik mit Ausnahme von Auth Token und Piwik URL zurück."
|
549 |
+
|
550 |
+
msgid "You have to enter your auth token and the Piwik URL before you can access more debug functions."
|
551 |
+
msgstr "Du musst Deinen Auth Token und die Piwik URL eingeben, bevor Du auf weitere Debug-Funktionen zugreifen kannst."
|
552 |
+
|
553 |
+
msgid "Latest support threads on WordPress.org"
|
554 |
+
msgstr "Die letzten Support-Beiträge auf WordPress.org"
|
555 |
+
|
556 |
+
msgid "This will not affect Piwik itself. Resetting large networks may take some minutes."
|
557 |
+
msgstr "Dies hat keinen Einfluss auf Piwik selbst. Das Zurücksetzen großer Netzwerke kann einige Minuten dauern."
|
558 |
+
|
559 |
+
msgid ", and all people flattering this"
|
560 |
+
msgstr " und allen, die WP-Piwik flattrn"
|
561 |
+
|
562 |
+
msgid "Disable time limit"
|
563 |
+
msgstr "Zeitlimit deaktivieren"
|
564 |
+
|
565 |
+
msgid "Use set_time_limit(0) if stats page causes a time out."
|
566 |
+
msgstr "Verwende set_time_limit(0) falls die Statistik-Seite einen Timeout erzeugt."
|
567 |
+
|
568 |
+
msgid "in network mode"
|
569 |
+
msgstr "im Netzwerk-Modus"
|
languages/wp-piwik-es_ES.mo
ADDED
Binary file
|
languages/wp-piwik-es_ES.po
ADDED
@@ -0,0 +1,485 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin WP-Piwik 0.8.0 by André Bräkling.
|
2 |
+
# Copyright (C) 2010 André Bräkling
|
3 |
+
# This file is distributed under the same license as the WP-Piwik package.
|
4 |
+
# André Bräkling <webmaster@braekling.de>, 2011.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: WP-Piwik 0.8.4\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
+
"POT-Creation-Date: 2010-07-19 18:06+0000\n"
|
11 |
+
"PO-Revision-Date: 2012-05-12 19:00+0100\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
|
18 |
+
#: dashboard/browsers.php:12
|
19 |
+
#: dashboard/browsers.php:33
|
20 |
+
msgid "Browser"
|
21 |
+
msgstr "Navegador"
|
22 |
+
|
23 |
+
#: dashboard/browsers.php:22
|
24 |
+
#: dashboard/pages.php:43
|
25 |
+
#: dashboard/screens.php:22
|
26 |
+
#: dashboard/systems.php:22
|
27 |
+
msgid "Others"
|
28 |
+
msgstr "Otros"
|
29 |
+
|
30 |
+
#: dashboard/browsers.php:34
|
31 |
+
#: dashboard/keywords.php:17
|
32 |
+
#: dashboard/pages.php:22
|
33 |
+
#: dashboard/screens.php:33
|
34 |
+
#: dashboard/systems.php:35
|
35 |
+
#: dashboard/visitors.php:53
|
36 |
+
#: dashboard/websites.php:19
|
37 |
+
#: wp-piwik.php:305
|
38 |
+
msgid "Unique"
|
39 |
+
msgstr "Único"
|
40 |
+
|
41 |
+
#: dashboard/browsers.php:35
|
42 |
+
#: dashboard/plugins.php:33
|
43 |
+
#: dashboard/screens.php:34
|
44 |
+
#: dashboard/systems.php:36
|
45 |
+
msgid "Percent"
|
46 |
+
msgstr "Porcentaje"
|
47 |
+
|
48 |
+
#: dashboard/keywords.php:12
|
49 |
+
msgid "Keywords"
|
50 |
+
msgstr "Palabras Clave"
|
51 |
+
|
52 |
+
#: dashboard/keywords.php:17
|
53 |
+
msgid "Keyword"
|
54 |
+
msgstr "Palabra Clave"
|
55 |
+
|
56 |
+
#: dashboard/overview.php:12
|
57 |
+
msgid "Overview"
|
58 |
+
msgstr "Información General"
|
59 |
+
|
60 |
+
#: dashboard/overview.php:42
|
61 |
+
#: dashboard/visitors.php:24
|
62 |
+
msgid "Visitors"
|
63 |
+
msgstr "Visitantes"
|
64 |
+
|
65 |
+
#: dashboard/overview.php:43
|
66 |
+
msgid "Unique visitors"
|
67 |
+
msgstr "Visitantes Únicos"
|
68 |
+
|
69 |
+
#: dashboard/overview.php:44
|
70 |
+
msgid "Page views"
|
71 |
+
msgstr "Páginas vistas"
|
72 |
+
|
73 |
+
#: dashboard/overview.php:45
|
74 |
+
msgid "Max. page views in one visit"
|
75 |
+
msgstr "Máximo de páginas vistas durante una visita"
|
76 |
+
|
77 |
+
#: dashboard/overview.php:46
|
78 |
+
msgid "Total time spent"
|
79 |
+
msgstr "Tiempo total empleado"
|
80 |
+
|
81 |
+
msgid "Time/visit"
|
82 |
+
msgstr "Tiempo/Visita"
|
83 |
+
|
84 |
+
#: dashboard/overview.php:47
|
85 |
+
msgid "Bounce count"
|
86 |
+
msgstr "Número de rebotes"
|
87 |
+
|
88 |
+
#: dashboard/overview.php:49
|
89 |
+
#: wp-piwik.php:563
|
90 |
+
msgid "Shortcut"
|
91 |
+
msgstr "Enlace directo"
|
92 |
+
|
93 |
+
#: dashboard/pages.php:13
|
94 |
+
msgid "Pages"
|
95 |
+
msgstr "Páginas"
|
96 |
+
|
97 |
+
#: dashboard/pages.php:21
|
98 |
+
msgid "Page"
|
99 |
+
msgstr "Página"
|
100 |
+
|
101 |
+
#: dashboard/pages.php:23
|
102 |
+
#: dashboard/plugins.php:32
|
103 |
+
#: dashboard/visitors.php:52
|
104 |
+
msgid "Visits"
|
105 |
+
msgstr "Visitas"
|
106 |
+
|
107 |
+
#: dashboard/plugins.php:12
|
108 |
+
#: dashboard/plugins.php:31
|
109 |
+
msgid "Plugins"
|
110 |
+
msgstr "Plugins"
|
111 |
+
|
112 |
+
#: dashboard/screens.php:12
|
113 |
+
#: dashboard/screens.php:32
|
114 |
+
msgid "Resolution"
|
115 |
+
msgstr "Resolución"
|
116 |
+
|
117 |
+
#: dashboard/systems.php:12
|
118 |
+
#: dashboard/systems.php:34
|
119 |
+
msgid "Operating System"
|
120 |
+
msgstr "Sistema Operativo"
|
121 |
+
|
122 |
+
#: dashboard/visitors.php:51
|
123 |
+
msgid "Date"
|
124 |
+
msgstr "Fecha"
|
125 |
+
|
126 |
+
#: dashboard/visitors.php:54
|
127 |
+
msgid "Bounced"
|
128 |
+
msgstr "Rebotado"
|
129 |
+
|
130 |
+
#: dashboard/visitors.php:67
|
131 |
+
msgid "Unique TOTAL"
|
132 |
+
msgstr "Únicas TOTAL"
|
133 |
+
|
134 |
+
#: dashboard/visitors.php:67
|
135 |
+
msgid "Sum"
|
136 |
+
msgstr "Suma"
|
137 |
+
|
138 |
+
#: dashboard/visitors.php:67
|
139 |
+
msgid "Avg"
|
140 |
+
msgstr "Media"
|
141 |
+
|
142 |
+
#: dashboard/websites.php:12
|
143 |
+
msgid "Websites"
|
144 |
+
msgstr "Sitios Web"
|
145 |
+
|
146 |
+
#: dashboard/websites.php:18
|
147 |
+
msgid "Website"
|
148 |
+
msgstr "Sitio Web"
|
149 |
+
|
150 |
+
#: wp-piwik.php:110
|
151 |
+
#: wp-piwik.php:365
|
152 |
+
msgid "Piwik Statistics"
|
153 |
+
msgstr "Estadísticas de Piwik"
|
154 |
+
|
155 |
+
#. #-#-#-#-# plugin.pot (WP-Piwik 0.8.0) #-#-#-#-#
|
156 |
+
#. Plugin Name of the plugin/theme
|
157 |
+
#: wp-piwik.php:111
|
158 |
+
#: wp-piwik.php:122
|
159 |
+
#: wp-piwik.php:123
|
160 |
+
#: wp-piwik.php:146
|
161 |
+
msgid "WP-Piwik"
|
162 |
+
msgstr "WP-Piwik"
|
163 |
+
|
164 |
+
#: wp-piwik.php:130
|
165 |
+
#: wp-piwik.php:131
|
166 |
+
msgid "WPMU-Piwik"
|
167 |
+
msgstr "WPMU-Piwik"
|
168 |
+
|
169 |
+
#: wp-piwik.php:142
|
170 |
+
#: wp-piwik.php:557
|
171 |
+
msgid "yesterday"
|
172 |
+
msgstr "ayer"
|
173 |
+
|
174 |
+
#: wp-piwik.php:143
|
175 |
+
#: wp-piwik.php:558
|
176 |
+
msgid "today"
|
177 |
+
msgstr "hoy"
|
178 |
+
|
179 |
+
#: wp-piwik.php:144
|
180 |
+
#: wp-piwik.php:559
|
181 |
+
msgid "last30"
|
182 |
+
msgstr "últimos 30"
|
183 |
+
|
184 |
+
#: wp-piwik.php:144
|
185 |
+
#: wp-piwik.php:559
|
186 |
+
msgid "last 30 days"
|
187 |
+
msgstr "últimos 30 días"
|
188 |
+
|
189 |
+
#: wp-piwik.php:179
|
190 |
+
msgid "Settings"
|
191 |
+
msgstr "Ajustes"
|
192 |
+
|
193 |
+
#: wp-piwik.php:381
|
194 |
+
msgid "Change"
|
195 |
+
msgstr "Cambiar"
|
196 |
+
|
197 |
+
#: wp-piwik.php:382
|
198 |
+
msgid "Currently shown stats:"
|
199 |
+
msgstr "Estaísticas mostradas actualmente:"
|
200 |
+
|
201 |
+
#: wp-piwik.php:383
|
202 |
+
msgid "Current shown stats: <strong>Overall</strong>"
|
203 |
+
msgstr "Estadísticas mostradas actualmente: <strong>todas</strong>"
|
204 |
+
|
205 |
+
#: wp-piwik.php:448
|
206 |
+
msgid "WP-Piwik Settings"
|
207 |
+
msgstr "Ajustes de WP-Piwik"
|
208 |
+
|
209 |
+
#: wp-piwik.php:455
|
210 |
+
#: wp-piwik.php:617
|
211 |
+
msgid "Account settings"
|
212 |
+
msgstr "Ajustes de la cuenta"
|
213 |
+
|
214 |
+
#: wp-piwik.php:457
|
215 |
+
#: wp-piwik.php:619
|
216 |
+
msgid "Piwik URL"
|
217 |
+
msgstr "Dirección de Piwik"
|
218 |
+
|
219 |
+
#: wp-piwik.php:461
|
220 |
+
#: wp-piwik.php:623
|
221 |
+
msgid "Auth token"
|
222 |
+
msgstr "Auth token"
|
223 |
+
|
224 |
+
#: wp-piwik.php:467
|
225 |
+
#: wp-piwik.php:628
|
226 |
+
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
227 |
+
msgstr "Para habilitar las estadísticas de Piwik , por favor introduce la dirección de tu instalación de Piwik (por ejemplo http://mydomain.com/piwik) y tu Auth Token. Puedes ver tu Auth Token s desde la sección API dentro del interfaz de . Es algo similar a: "1234a5cd6789e0a12345b678cd9012ef"."
|
228 |
+
|
229 |
+
#: wp-piwik.php:477
|
230 |
+
msgid "<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database. So he is able to access your statistics. You should never use an auth token with more than simple view access!"
|
231 |
+
msgstr "<strong>Nota importante :</strong> Si no albergas este blog bajo tu propio servidor, el administror es capaz de ver el auth token desde la base de datos. Por lo tanto podría acceder a tus estadísticas. No deberías utilizar nunca un auth token con más permisos que los de lectura."
|
232 |
+
|
233 |
+
#: wp-piwik.php:485
|
234 |
+
#: wp-piwik.php:489
|
235 |
+
msgid "An error occured"
|
236 |
+
msgstr "Ocurrió un error"
|
237 |
+
|
238 |
+
#: wp-piwik.php:486
|
239 |
+
msgid "Please check URL and auth token. You need at least view access to one site."
|
240 |
+
msgstr "Por favor comprueba tu URL y el Auth Token. Necesitas al menos acceso de lectura a un sitio web."
|
241 |
+
|
242 |
+
#: wp-piwik.php:492
|
243 |
+
msgid "Choose site"
|
244 |
+
msgstr "Selecciona sitio"
|
245 |
+
|
246 |
+
#: wp-piwik.php:511
|
247 |
+
#: wp-piwik.php:547
|
248 |
+
#: wp-piwik.php:584
|
249 |
+
#: wp-piwik.php:658
|
250 |
+
msgid "Save settings"
|
251 |
+
msgstr "Guardar ajustes"
|
252 |
+
|
253 |
+
#: wp-piwik.php:515
|
254 |
+
#: wp-piwik.php:643
|
255 |
+
msgid "Tracking settings"
|
256 |
+
msgstr "Ajustes de seguimiento"
|
257 |
+
|
258 |
+
#: wp-piwik.php:521
|
259 |
+
msgid "Add script"
|
260 |
+
msgstr "Añadir Script"
|
261 |
+
|
262 |
+
#: wp-piwik.php:525
|
263 |
+
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
264 |
+
msgstr "Si tu plantilla utiliza wp_footer(), WP-Piwik puede añadir el código javascript de Piwik de forma automática a tu blog."
|
265 |
+
|
266 |
+
#: wp-piwik.php:528
|
267 |
+
msgid "Track 404"
|
268 |
+
msgstr "Seguimiento de errores 404"
|
269 |
+
|
270 |
+
#: wp-piwik.php:532
|
271 |
+
msgid "WP-Piwik can automatically add a 404-category to track 404-page-visits."
|
272 |
+
msgstr "WP-Piwik puede añadir automáticamente una categoría-404 para hacer el seguimiento de los errores 404"
|
273 |
+
|
274 |
+
#: wp-piwik.php:536
|
275 |
+
#: wp-piwik.php:644
|
276 |
+
msgid "Tracking filter"
|
277 |
+
msgstr "Filtro de seguimiento"
|
278 |
+
|
279 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track."
|
280 |
+
msgstr "Selecciona, por el rol de usuario, los usuarios sobre los cuales <strong>no</strong> quieres hacer seguimiento."
|
281 |
+
|
282 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script"-functionality."
|
283 |
+
msgstr "Selecciona, por el rol de usuario, los usuarios sobre los cuales <strong>no</strong> quieres hacer seguimiento. Requiera que la funcionalidad de \"Añadir script a wp_footer()\" esté activada."
|
284 |
+
|
285 |
+
#: wp-piwik.php:551
|
286 |
+
msgid "Statistic view settings"
|
287 |
+
msgstr "Ajustes de la vista de estadísticas"
|
288 |
+
|
289 |
+
#: wp-piwik.php:554
|
290 |
+
msgid "Dashboard"
|
291 |
+
msgstr "Dashboard"
|
292 |
+
|
293 |
+
#: wp-piwik.php:556
|
294 |
+
msgid "No"
|
295 |
+
msgstr "No"
|
296 |
+
|
297 |
+
#: wp-piwik.php:557
|
298 |
+
#: wp-piwik.php:558
|
299 |
+
#: wp-piwik.php:559
|
300 |
+
msgid "Yes"
|
301 |
+
msgstr "Si"
|
302 |
+
|
303 |
+
#: wp-piwik.php:562
|
304 |
+
msgid "Display a dashboard widget to your WordPress dashboard."
|
305 |
+
msgstr "Mostrar un widget de Dashboard a su panel de WordPress."
|
306 |
+
|
307 |
+
#: wp-piwik.php:567
|
308 |
+
msgid "Display a shortcut to Piwik itself."
|
309 |
+
msgstr "Mostar un enlace directo al propio Piwik"
|
310 |
+
|
311 |
+
#: wp-piwik.php:568
|
312 |
+
msgid "Display to"
|
313 |
+
msgstr "Mostrar a"
|
314 |
+
|
315 |
+
#: wp-piwik.php:579
|
316 |
+
msgid "Choose user roles allowed to see the statistics page."
|
317 |
+
msgstr "Selecciona los roles de usuario que pueden acceder a las estadísticas."
|
318 |
+
|
319 |
+
#: wp-piwik.php:612
|
320 |
+
msgid "WPMU-Piwik Settings"
|
321 |
+
msgstr "Ajustos de WPMU-Piwik"
|
322 |
+
|
323 |
+
#: wp-piwik.php:636
|
324 |
+
msgid "<strong>Important note:</strong> You have to choose a token which provides administration access. WPMU-Piwik will create new Piwik sites for each blog if it is shown the first time and it is not added yet. All users can access their own statistics only, while site admins can access all statistics. To avoid conflicts, you should use a clean Piwik installation without other sites added. The provided themes should use wp_footer, because it adds the Piwik javascript code to each page."
|
325 |
+
msgstr "<strong>Note importante :</strong> Necesitas seleccionar un token que tenga accso de admistración. WPMU-Piwik creará nuevo sitios en piwik para cada blog. si es visto por primera vez y no ha sido añadido todavía. Todos los usuarios pueden acceder solamente a sus estadísticas, mientras los administradores pueden acceder a todas. Para evitar conflictos, debes utilizar una instalación nueva de Piwik, sin ningún sitio configurado. Todos los temás deberán utilizar wp_footer, puesto que es la función que se encarga de añadir el código de javascript a cada página."
|
326 |
+
|
327 |
+
#: wp-piwik.php:671
|
328 |
+
msgid "If you like WP-Piwik, you can support its development by a donation:"
|
329 |
+
msgstr "Si te gusta WP-Piwik, puedes añadir a su desarrollo con una donación:"
|
330 |
+
|
331 |
+
#: wp-piwik.php:687
|
332 |
+
msgid "My Amazon.de wishlist (German)"
|
333 |
+
msgstr "Mi whitlist en Amazon.de ( Alemán )"
|
334 |
+
|
335 |
+
#. Plugin URI of the plugin/theme
|
336 |
+
msgid "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
337 |
+
msgstr "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
338 |
+
|
339 |
+
#. Description of the plugin/theme
|
340 |
+
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
341 |
+
msgstr "Añade las estadísticas de Piwik al menú de tu Dashboard y el código de piwik al pie de tu Wordpress"
|
342 |
+
|
343 |
+
#. Author of the plugin/theme
|
344 |
+
msgid "André Bräkling"
|
345 |
+
msgstr "André Bräkling"
|
346 |
+
|
347 |
+
#. Author URI of the plugin/theme
|
348 |
+
msgid "http://www.braekling.de"
|
349 |
+
msgstr "http://www.braekling.de"
|
350 |
+
|
351 |
+
msgid "Credits"
|
352 |
+
msgstr "Créditos"
|
353 |
+
|
354 |
+
msgid "Thank you very much for your donation"
|
355 |
+
msgstr "Muchas gracias por vuestra donación"
|
356 |
+
|
357 |
+
msgid "and all people flattering this"
|
358 |
+
msgstr "y a todas las personas hablando de esto"
|
359 |
+
|
360 |
+
msgid "Graphs powered by <a href=\"http://www.jqplot.com/\">jqPlot</a>, an open source project by Chris Leonello. Give it a try! (License: GPL 2.0 and MIT)"
|
361 |
+
msgstr "Gráficos por <a href=\"http://www.jqplot.com/\">jqPlot</a> un proyecto open source por Chris Leonello. Pruébalo! (Licencia: GPL 2.0 y MIT)"
|
362 |
+
|
363 |
+
msgid "Thank you very much"
|
364 |
+
msgstr "Muchas gracias"
|
365 |
+
|
366 |
+
msgid ", and"
|
367 |
+
msgstr "y"
|
368 |
+
|
369 |
+
msgid "for your translation work"
|
370 |
+
msgstr "por vuestro trabajo de traducción"
|
371 |
+
|
372 |
+
msgid "Thank you very much, all users who send me mails containing criticism, commendation, feature requests and bug reports! You help me to make WP-Piwik much better."
|
373 |
+
msgstr "Muchísimas gracias a todos los usuarios que me habéis enviado emails con críticas, recomendaciones, sugerencias de mejoras y reportes de errores. Me ayudais a hacer WP-Piwik mucho mejor."
|
374 |
+
|
375 |
+
msgid "Thank <strong>you</strong> for using my plugin. It is the best commendation if my piece of code is really used!"
|
376 |
+
msgstr "Gracias a <strong>ti</strong>por utilizar mi plugin. Es el mayor elogio que mi plugin sea realmente utilizado."
|
377 |
+
|
378 |
+
msgid "Changes saved"
|
379 |
+
msgstr "Cambios guardados"
|
380 |
+
|
381 |
+
msgid "installed"
|
382 |
+
msgstr "instalado"
|
383 |
+
|
384 |
+
msgid "Next you should connect to Piwik"
|
385 |
+
msgstr "A continuación, debe conectarse a Piwik"
|
386 |
+
|
387 |
+
msgid "Please validate your configuration"
|
388 |
+
msgstr "Por favor valida tu configuración"
|
389 |
+
|
390 |
+
msgid "Default date"
|
391 |
+
msgstr "Fecha por defecto"
|
392 |
+
|
393 |
+
msgid "Default date shown on statistics page."
|
394 |
+
msgstr "Fecha por defecto mostrada en la página de estadísticas"
|
395 |
+
|
396 |
+
msgid "Dashboard data"
|
397 |
+
msgstr "Datos del panel"
|
398 |
+
|
399 |
+
msgid "Display an overview widget to your WordPress dashboard."
|
400 |
+
msgstr "Muestra un widget de resumen en tu panel el Wordpress"
|
401 |
+
|
402 |
+
msgid "Board chart"
|
403 |
+
msgstr "Board-Chart"
|
404 |
+
|
405 |
+
msgid "Display a visitor graph widget to your WordPress dashboard."
|
406 |
+
msgstr "Mostrar un widget gráfico de usuarios en tu panel de Wordpress"
|
407 |
+
|
408 |
+
msgid "No data available."
|
409 |
+
msgstr "No hay datos disponibles."
|
410 |
+
|
411 |
+
msgid "Check this to automatically choose your blog from your Piwik sites by URL. If your blog is not added to Piwik yet, WP-Piwik will add a new site."
|
412 |
+
msgstr "Selecciona esto para elegir automáticamente tu blog desde el listado de sitios de Piwik por la dirección. Si tu blog no está todavía añadido en Piwik, WP-Piwik añadirá un sitio nuevo."
|
413 |
+
|
414 |
+
msgid "If you add the Piwik javascript code by wp_footer(),"
|
415 |
+
msgstr "Si añades el código de Piwik desde wp_footer(),"
|
416 |
+
|
417 |
+
msgid "WP-Piwik can automatically use js/index.php instead of piwik.js. See"
|
418 |
+
msgstr "WP-Piwik puede utilizar js/index.php en lugar de statt piwik.js de forma automática. Ver"
|
419 |
+
|
420 |
+
msgid "WP-Piwik can automatically force the Tracking Code to sent data in POST. See"
|
421 |
+
msgstr "WP-Piwik puede forzar de manera automática al Código de seguimiento a enviar los datos por POST. Ver"
|
422 |
+
|
423 |
+
msgid "Avoid mod_security"
|
424 |
+
msgstr "Evitar mod_security"
|
425 |
+
|
426 |
+
msgid "Determined site"
|
427 |
+
msgstr "Sitio determinado"
|
428 |
+
|
429 |
+
msgid "Auto config"
|
430 |
+
msgstr "Auto-configuración"
|
431 |
+
|
432 |
+
msgid "Use js/index.php"
|
433 |
+
msgstr "Utilizar js/index.php"
|
434 |
+
|
435 |
+
msgid "Show overview"
|
436 |
+
msgstr "Mostrar información general"
|
437 |
+
|
438 |
+
msgid "Hide overview"
|
439 |
+
msgstr "Ocultar información general"
|
440 |
+
|
441 |
+
msgid "SEO <em>(slow!)</em>"
|
442 |
+
msgstr "SEO <em>(lento!)</em>"
|
443 |
+
|
444 |
+
msgid "Display SEO ranking data on statistics page. <em>(Slow!)</em>"
|
445 |
+
msgstr "Muestra el ranking SEO en la página de estadísticas. <em>(Lento!)</em>"
|
446 |
+
|
447 |
+
msgid "Configure WP-Piwik widgets to be shown on your WordPress Home Dashboard."
|
448 |
+
msgstr "Configura los Widgets de WP-Piwik que se mostrarán en la portada de Wordpress"
|
449 |
+
|
450 |
+
msgid "SEO data"
|
451 |
+
msgstr "Información SEO"
|
452 |
+
|
453 |
+
msgid "the Piwik team itself"
|
454 |
+
msgstr "El equipo de Piwik"
|
455 |
+
|
456 |
+
msgid "Metabox support inspired by"
|
457 |
+
msgstr "Soporte Metabox inspirado por"
|
458 |
+
|
459 |
+
msgid "WP-Piwik support board"
|
460 |
+
msgstr "Foro de soporte de WP-Piwik"
|
461 |
+
|
462 |
+
msgid "no registration required, English & German"
|
463 |
+
msgstr "Registro no requerido, Ingles y Alemán"
|
464 |
+
|
465 |
+
msgid "WordPress.org forum about WP-Piwik"
|
466 |
+
msgstr "Foros de Wordpress.com sobre WP-Piwik"
|
467 |
+
|
468 |
+
msgid "WordPress.org registration required, English"
|
469 |
+
msgstr "Registro en WordPress.org requerido, Inglés"
|
470 |
+
|
471 |
+
msgid "Please don't forget to vote the compatibility at the"
|
472 |
+
msgstr "Por favor no te olvides de votar la compatibilidad en "
|
473 |
+
|
474 |
+
msgid "Donate"
|
475 |
+
msgstr "Donar"
|
476 |
+
|
477 |
+
msgid "My Amazon.de wishlist"
|
478 |
+
msgstr "Mi lista en Amazon.de"
|
479 |
+
|
480 |
+
msgid "Piwik error"
|
481 |
+
msgstr "Error de Piwik"
|
482 |
+
|
483 |
+
msgid "Important"
|
484 |
+
msgstr "Importante"
|
485 |
+
|
languages/wp-piwik-fa_IR.mo
ADDED
Binary file
|
languages/wp-piwik-fa_IR.po
ADDED
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin WP-Piwik 0.8.0 by André Bräkling.
|
2 |
+
# Copyright (C) 2010 André Bräkling
|
3 |
+
# This file is distributed under the same license as the WP-Piwik package.
|
4 |
+
# André Bräkling <webmaster@braekling.de>, 2011.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: WP-Piwik 0.8.4\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
+
"POT-Creation-Date: 2010-07-19 18:06+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-11-16 11:13+0330\n"
|
12 |
+
"Last-Translator: hossein <hossein@email.com>\n"
|
13 |
+
"Language-Team: Persian <LL@li.org>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-Language: Persian\n"
|
18 |
+
"X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
|
21 |
+
#: dashboard/browsers.php:12
|
22 |
+
#: dashboard/browsers.php:33
|
23 |
+
msgid "Browser"
|
24 |
+
msgstr "مرورگر"
|
25 |
+
|
26 |
+
#: dashboard/browsers.php:22
|
27 |
+
#: dashboard/pages.php:43
|
28 |
+
#: dashboard/screens.php:22
|
29 |
+
#: dashboard/systems.php:22
|
30 |
+
msgid "Others"
|
31 |
+
msgstr "غیره"
|
32 |
+
|
33 |
+
#: dashboard/browsers.php:34
|
34 |
+
#: dashboard/keywords.php:17
|
35 |
+
#: dashboard/pages.php:22
|
36 |
+
#: dashboard/screens.php:33
|
37 |
+
#: dashboard/systems.php:35
|
38 |
+
#: dashboard/visitors.php:53
|
39 |
+
#: dashboard/websites.php:19
|
40 |
+
#: wp-piwik.php:305
|
41 |
+
msgid "Unique"
|
42 |
+
msgstr "یکتا"
|
43 |
+
|
44 |
+
#: dashboard/browsers.php:35
|
45 |
+
#: dashboard/plugins.php:33
|
46 |
+
#: dashboard/screens.php:34
|
47 |
+
#: dashboard/systems.php:36
|
48 |
+
msgid "Percent"
|
49 |
+
msgstr "درصد"
|
50 |
+
|
51 |
+
#: dashboard/keywords.php:12
|
52 |
+
msgid "Keywords"
|
53 |
+
msgstr "کلمات کلیدی"
|
54 |
+
|
55 |
+
#: dashboard/keywords.php:17
|
56 |
+
msgid "Keyword"
|
57 |
+
msgstr "کلمه کلیدی"
|
58 |
+
|
59 |
+
#: dashboard/overview.php:12
|
60 |
+
msgid "Overview"
|
61 |
+
msgstr "نمای کلی"
|
62 |
+
|
63 |
+
#: dashboard/overview.php:42
|
64 |
+
#: dashboard/visitors.php:24
|
65 |
+
msgid "Visitors"
|
66 |
+
msgstr "بازدید کنندگان"
|
67 |
+
|
68 |
+
#: dashboard/overview.php:43
|
69 |
+
msgid "Unique visitors"
|
70 |
+
msgstr "بازدیدکنندگان یکتا"
|
71 |
+
|
72 |
+
#: dashboard/overview.php:44
|
73 |
+
msgid "Page views"
|
74 |
+
msgstr "نمایش صفحه"
|
75 |
+
|
76 |
+
#: dashboard/overview.php:45
|
77 |
+
msgid "Max. page views in one visit"
|
78 |
+
msgstr "حداکثر تعداد نمایش صفحه در یک بازدید"
|
79 |
+
|
80 |
+
#: dashboard/overview.php:46
|
81 |
+
msgid "Total time spent"
|
82 |
+
msgstr "زمان سپری شده"
|
83 |
+
|
84 |
+
msgid "Time/visit"
|
85 |
+
msgstr "زمان/بازدید"
|
86 |
+
|
87 |
+
#: dashboard/overview.php:47
|
88 |
+
msgid "Bounce count"
|
89 |
+
msgstr "تعداد بازگشت"
|
90 |
+
|
91 |
+
#: dashboard/overview.php:49
|
92 |
+
#: wp-piwik.php:563
|
93 |
+
msgid "Shortcut"
|
94 |
+
msgstr "میانبر"
|
95 |
+
|
96 |
+
#: dashboard/pages.php:13
|
97 |
+
msgid "Pages"
|
98 |
+
msgstr "صفحه"
|
99 |
+
|
100 |
+
#: dashboard/pages.php:21
|
101 |
+
msgid "Page"
|
102 |
+
msgstr "صفحه"
|
103 |
+
|
104 |
+
#: dashboard/pages.php:23
|
105 |
+
#: dashboard/plugins.php:32
|
106 |
+
#: dashboard/visitors.php:52
|
107 |
+
msgid "Visits"
|
108 |
+
msgstr "بازدید"
|
109 |
+
|
110 |
+
#: dashboard/plugins.php:12
|
111 |
+
#: dashboard/plugins.php:31
|
112 |
+
msgid "Plugins"
|
113 |
+
msgstr "افزونه"
|
114 |
+
|
115 |
+
#: dashboard/screens.php:12
|
116 |
+
#: dashboard/screens.php:32
|
117 |
+
msgid "Resolution"
|
118 |
+
msgstr "وضوح"
|
119 |
+
|
120 |
+
#: dashboard/systems.php:12
|
121 |
+
#: dashboard/systems.php:34
|
122 |
+
msgid "Operating System"
|
123 |
+
msgstr "سیستم عامل"
|
124 |
+
|
125 |
+
#: dashboard/visitors.php:51
|
126 |
+
msgid "Date"
|
127 |
+
msgstr "تاریخ"
|
128 |
+
|
129 |
+
#: dashboard/visitors.php:54
|
130 |
+
msgid "Bounced"
|
131 |
+
msgstr "بازگشت"
|
132 |
+
|
133 |
+
#: dashboard/visitors.php:67
|
134 |
+
msgid "Unique TOTAL"
|
135 |
+
msgstr "مجموع یکتا"
|
136 |
+
|
137 |
+
#: dashboard/visitors.php:67
|
138 |
+
msgid "Sum"
|
139 |
+
msgstr "مجموع"
|
140 |
+
|
141 |
+
#: dashboard/visitors.php:67
|
142 |
+
msgid "Avg"
|
143 |
+
msgstr "میانگین"
|
144 |
+
|
145 |
+
#: dashboard/websites.php:12
|
146 |
+
msgid "Websites"
|
147 |
+
msgstr "سایت"
|
148 |
+
|
149 |
+
#: dashboard/websites.php:18
|
150 |
+
msgid "Website"
|
151 |
+
msgstr "سایت"
|
152 |
+
|
153 |
+
#: wp-piwik.php:110
|
154 |
+
#: wp-piwik.php:365
|
155 |
+
msgid "Piwik Statistics"
|
156 |
+
msgstr "آمارگیر"
|
157 |
+
|
158 |
+
#. #-#-#-#-# plugin.pot (WP-Piwik 0.8.0) #-#-#-#-#
|
159 |
+
#. Plugin Name of the plugin/theme
|
160 |
+
#: wp-piwik.php:111
|
161 |
+
#: wp-piwik.php:122
|
162 |
+
#: wp-piwik.php:123
|
163 |
+
#: wp-piwik.php:146
|
164 |
+
msgid "WP-Piwik"
|
165 |
+
msgstr "آمار"
|
166 |
+
|
167 |
+
#: wp-piwik.php:130
|
168 |
+
#: wp-piwik.php:131
|
169 |
+
msgid "WPMU-Piwik"
|
170 |
+
msgstr "آمارگیر چندکاربره"
|
171 |
+
|
172 |
+
#: wp-piwik.php:142
|
173 |
+
#: wp-piwik.php:557
|
174 |
+
msgid "yesterday"
|
175 |
+
msgstr "دیروز"
|
176 |
+
|
177 |
+
#: wp-piwik.php:143
|
178 |
+
#: wp-piwik.php:558
|
179 |
+
msgid "today"
|
180 |
+
msgstr "امروز"
|
181 |
+
|
182 |
+
#: wp-piwik.php:144
|
183 |
+
#: wp-piwik.php:559
|
184 |
+
msgid "last 30 days"
|
185 |
+
msgstr "30 روز اخیر"
|
186 |
+
|
187 |
+
#: wp-piwik.php:179
|
188 |
+
msgid "Settings"
|
189 |
+
msgstr "تنظیمات"
|
190 |
+
|
191 |
+
#: wp-piwik.php:381
|
192 |
+
msgid "Change"
|
193 |
+
msgstr "تغییر"
|
194 |
+
|
195 |
+
#: wp-piwik.php:382
|
196 |
+
msgid "Currently shown stats:"
|
197 |
+
msgstr "آمار نمایش جاری:"
|
198 |
+
|
199 |
+
#: wp-piwik.php:383
|
200 |
+
msgid "Current shown stats: <strong>Overall</strong>"
|
201 |
+
msgstr "آمار نمایش جاری: <strong>مجموع</strong>"
|
202 |
+
|
203 |
+
#: wp-piwik.php:448
|
204 |
+
msgid "WP-Piwik Settings"
|
205 |
+
msgstr "تنظیمات آمار"
|
206 |
+
|
207 |
+
#: wp-piwik.php:455
|
208 |
+
#: wp-piwik.php:617
|
209 |
+
msgid "Account settings"
|
210 |
+
msgstr "تنظیمات حساب"
|
211 |
+
|
212 |
+
#: wp-piwik.php:457
|
213 |
+
#: wp-piwik.php:619
|
214 |
+
msgid "Piwik URL"
|
215 |
+
msgstr "آدرس پیویک"
|
216 |
+
|
217 |
+
#: wp-piwik.php:461
|
218 |
+
#: wp-piwik.php:623
|
219 |
+
msgid "Auth token"
|
220 |
+
msgstr "نشانه اعتبارسنجی"
|
221 |
+
|
222 |
+
#: wp-piwik.php:467
|
223 |
+
#: wp-piwik.php:628
|
224 |
+
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
225 |
+
msgstr "برای فعال کردن آمار پیویک، لطفاً آدرس نصب پایه پیویک (مانند http://mydomain.com/piwik) و نشانه اعتبارسنجی خود را وارد کنید. شما میتوانید در بخش API رابط کاربری پیویک، آن را به دست بیاورید. این نشانه چیزی مانند این است:"1234a5cd6789e0a12345b678cd9012ef"."
|
226 |
+
|
227 |
+
#: wp-piwik.php:477
|
228 |
+
msgid "<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database. So he is able to access your statistics. You should never use an auth token with more than simple view access!"
|
229 |
+
msgstr "<strong>نکته مهم:</strong> اگر شما وبلاگ را خود میزبانی نکنید، مدیر سایت شما نیز میتواند با دسترسی به پایگاه داده نشانه اعتبارسنجی شما را به دست آورد. بنابراین شما نباید هرگز از نشانه اعتبارسنجی با دسترسی بالاتر از نمایش ساده استفاده کنید."
|
230 |
+
|
231 |
+
#: wp-piwik.php:485
|
232 |
+
#: wp-piwik.php:489
|
233 |
+
msgid "An error occured"
|
234 |
+
msgstr "خطائی رخ داده است"
|
235 |
+
|
236 |
+
#: wp-piwik.php:486
|
237 |
+
msgid "Please check URL and auth token. You need at least view access to one site."
|
238 |
+
msgstr "لطفاً آدرس نصب پیویک و نشانه اعتبارسنجی را بررسی کنید. شما باید حداقل دسترسی نمایش به یک سایت داشته باشید."
|
239 |
+
|
240 |
+
#: wp-piwik.php:492
|
241 |
+
msgid "Choose site"
|
242 |
+
msgstr "انتخاب سایت"
|
243 |
+
|
244 |
+
#: wp-piwik.php:511
|
245 |
+
#: wp-piwik.php:547
|
246 |
+
#: wp-piwik.php:584
|
247 |
+
#: wp-piwik.php:658
|
248 |
+
msgid "Save settings"
|
249 |
+
msgstr "ذخیره تنظیمات"
|
250 |
+
|
251 |
+
#: wp-piwik.php:515
|
252 |
+
#: wp-piwik.php:643
|
253 |
+
msgid "Tracking settings"
|
254 |
+
msgstr "تنظیمات رهگیری"
|
255 |
+
|
256 |
+
#: wp-piwik.php:521
|
257 |
+
msgid "Add script"
|
258 |
+
msgstr "افزودن اسکریپت"
|
259 |
+
|
260 |
+
#: wp-piwik.php:525
|
261 |
+
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
262 |
+
msgstr "اگر از قالبی استفاده میکنید که از wp_footer() بهره میگیرد، آنگاه افزونه میتواند به طور خودکار کد جاوااسکریپت را به وبلاگ شما اضافه کند."
|
263 |
+
|
264 |
+
#: wp-piwik.php:528
|
265 |
+
msgid "Track 404"
|
266 |
+
msgstr "رهگیری 404 (صفحه یافت نشد)"
|
267 |
+
|
268 |
+
#: wp-piwik.php:532
|
269 |
+
msgid "If you add the Piwik javascript code by wp_footer(), WP-Piwik can automatically add a 404-category to track 404-page-visits."
|
270 |
+
msgstr "اگر جاواسکریپت پیویک را با wp_footer() استفاده میکنید، آنگاه افزونه میتواند به طور خودکار دسته 404 را به برای رهگیری بازدیدهای صفحات ناموجود اضافه کند."
|
271 |
+
|
272 |
+
#: wp-piwik.php:536
|
273 |
+
#: wp-piwik.php:644
|
274 |
+
msgid "Tracking filter"
|
275 |
+
msgstr "پالایه رهگیری"
|
276 |
+
|
277 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track."
|
278 |
+
msgstr "کاربرانی را که <strong>نمیخواهید</strong> رهگیری شوند با توجه به وظیفه انتخاب کنید."
|
279 |
+
|
280 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script"-functionality."
|
281 |
+
msgstr "کاربرانی را که <strong>نمیخواهید</strong> رهگیری شوند با توجه به وظیفه انتخاب کنید: باید قابلیت "افزودن اسکریپت" فعال باشد."
|
282 |
+
|
283 |
+
#: wp-piwik.php:551
|
284 |
+
msgid "Statistic view settings"
|
285 |
+
msgstr "تنظیمات نمایش آمار"
|
286 |
+
|
287 |
+
#: wp-piwik.php:554
|
288 |
+
msgid "Dashboard"
|
289 |
+
msgstr "پیشخوان"
|
290 |
+
|
291 |
+
#: wp-piwik.php:556
|
292 |
+
msgid "No"
|
293 |
+
msgstr "خیر"
|
294 |
+
|
295 |
+
#: wp-piwik.php:557
|
296 |
+
#: wp-piwik.php:558
|
297 |
+
#: wp-piwik.php:559
|
298 |
+
msgid "Yes"
|
299 |
+
msgstr "بله"
|
300 |
+
|
301 |
+
#: wp-piwik.php:562
|
302 |
+
msgid "Display a dashboard widget to your WordPress dashboard."
|
303 |
+
msgstr "نمایش یک ویدجت در پیشخوان وردپرس شما."
|
304 |
+
|
305 |
+
#: wp-piwik.php:567
|
306 |
+
msgid "Display a shortcut to Piwik itself."
|
307 |
+
msgstr "نمایش یک میانبر به پیویک اصلی."
|
308 |
+
|
309 |
+
#: wp-piwik.php:568
|
310 |
+
msgid "Display to"
|
311 |
+
msgstr "نمایش در"
|
312 |
+
|
313 |
+
#: wp-piwik.php:579
|
314 |
+
msgid "Choose user roles allowed to see the statistics page."
|
315 |
+
msgstr "انتخاب کاربرانی که مجازند صفحه آمار ر اببینند."
|
316 |
+
|
317 |
+
#: wp-piwik.php:612
|
318 |
+
msgid "WPMU-Piwik Settings"
|
319 |
+
msgstr "تنظیمات پیویک چندکاربره"
|
320 |
+
|
321 |
+
#: wp-piwik.php:636
|
322 |
+
msgid "<strong>Important note:</strong> You have to choose a token which provides administration access. WPMU-Piwik will create new Piwik sites for each blog if it is shown the first time and it is not added yet. All users can access their own statistics only, while site admins can access all statistics. To avoid conflicts, you should use a clean Piwik installation without other sites added. The provided themes should use wp_footer, because it adds the Piwik javascript code to each page."
|
323 |
+
msgstr " <strong>نکته مهم:</strong> شما باید نشانهای با دسترسی مدیریتی انتخاب کنید. پیویک چندکاربره برای هر وبلاگ، اگر اولی نمایش باشد یا اضافه نشده باشد، یک سایت جدید ایجاد میکند. کاربران تنها میتوانند به آمار خود دسترسی داشته باشند، اما مدیر سایت میتواند به همه آمار دسترسی داشته باشد. برای جلوگیری از تعارض، باید یک پیویک نصب شده تمیز بدون هیچ سایت افزوده شده استفاده شود. قالب استفاده شده باید از wp_footer بهره بگیرد، چون پیویک کد جاوااسکریپت را به هر صفحه اضافه میکند."
|
324 |
+
|
325 |
+
#: wp-piwik.php:671
|
326 |
+
msgid "If you like WP-Piwik, you can support its development by a donation:"
|
327 |
+
msgstr "اگر افزونه پیویک برای وردپرس را دوست دارید، با کمک مالی از آن حمایت کنید:"
|
328 |
+
|
329 |
+
#: wp-piwik.php:687
|
330 |
+
msgid "My Amazon.de wishlist (German)"
|
331 |
+
msgstr "مورد علاقههای من در آمازون (آلمانی)"
|
332 |
+
|
333 |
+
#. Plugin URI of the plugin/theme
|
334 |
+
msgid "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
335 |
+
msgstr "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
336 |
+
|
337 |
+
#. Description of the plugin/theme
|
338 |
+
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
339 |
+
msgstr "آمار پیویک را به منوی پیشخوان و کد پیویک به پانویس وردپرس اضافه میکند."
|
340 |
+
|
341 |
+
#. Author of the plugin/theme
|
342 |
+
msgid "André Bräkling"
|
343 |
+
msgstr "آندرکوت بروملینگ"
|
344 |
+
|
345 |
+
#. Author URI of the plugin/theme
|
346 |
+
msgid "http://www.braekling.de"
|
347 |
+
msgstr "http://www.braekling.de"
|
348 |
+
|
349 |
+
msgid "Credits"
|
350 |
+
msgstr "سازندگان"
|
351 |
+
|
352 |
+
msgid "Thank you very much for your donation"
|
353 |
+
msgstr "از شما به خاطر هدایایتان تشکر میکنم"
|
354 |
+
|
355 |
+
msgid "and all people flattering this"
|
356 |
+
msgstr "و تمام افرادی که تشکر کردند"
|
357 |
+
|
358 |
+
msgid "Graphs powered by <a href=\"http://www.jqplot.com/\">jqPlot</a>, an open source project by Chris Leonello. Give it a try! (License: GPL 2.0 and MIT)"
|
359 |
+
msgstr "نمودارها توسط <a href=\"http://www.jqplot.com/\">jqPlot</a> ایجاد شدهاند, که یک پروژه کدباز است که توسط کریس لئونلو ایجاد شده است. امتحانش کنید (اجازهنامه: GPL 2.0 und MIT)"
|
360 |
+
|
361 |
+
msgid "Thank you very much"
|
362 |
+
msgstr "از شما بسیار متشکریم"
|
363 |
+
|
364 |
+
msgid ", and"
|
365 |
+
msgstr "، و"
|
366 |
+
|
367 |
+
msgid "for your translation work"
|
368 |
+
msgstr "برای فعالیت شما در ترجمه"
|
369 |
+
|
370 |
+
msgid "Thank you very much, all users who send me mails containing criticism, commendation, feature requests and bug reports! You help me to make WP-Piwik much better."
|
371 |
+
msgstr "از شما بسیار متشکریم، تمام کاربرانی که به من ایمیل زدند، تشکر کردند، و درخواست ویژگی یا گزارش باگ انجام دادند. ش ما کمک کردید که پیویک وردپرس بسیار بهتر شود."
|
372 |
+
|
373 |
+
msgid "Thank <strong>you</strong> for using my plugin. It is the best commendation if my piece of code is really used!"
|
374 |
+
msgstr "از <strong>شما</strong> به خاطر استفاده از این افزونه متشکریم. بهترین تقدیر این است که کدی که من نوشتم واقعاً استفاده شود."
|
375 |
+
|
376 |
+
msgid "Changes saved"
|
377 |
+
msgstr "تغییرات ذخیره شد"
|
378 |
+
|
379 |
+
msgid "installed"
|
380 |
+
msgstr "نصب شده"
|
381 |
+
|
382 |
+
msgid "Next you should connect to Piwik"
|
383 |
+
msgstr "سپس باید به پیویک متصل شوید"
|
384 |
+
|
385 |
+
msgid "Please validate your configuration"
|
386 |
+
msgstr "لطفاً صحت تنظیمات خود را بررسی کنید"
|
387 |
+
|
388 |
+
msgid "Default date"
|
389 |
+
msgstr "تاریخ پیشگزیده"
|
390 |
+
|
391 |
+
msgid "Default date shown on statistics page."
|
392 |
+
msgstr "دادههای پیشگزیده نمایش داده شده در صفحه آمار"
|
393 |
+
|
394 |
+
msgid "Dashboard data"
|
395 |
+
msgstr "داده پیشخوان"
|
396 |
+
|
397 |
+
msgid "Display an overview widget to your WordPress dashboard."
|
398 |
+
msgstr "نمایش آمار کلی در پیشخوان وردپرس شما."
|
399 |
+
|
400 |
+
msgid "Boad chart"
|
401 |
+
msgstr "صفحه آمار"
|
402 |
+
|
403 |
+
msgid "Display a visitor graph widget to your WordPress dashboard."
|
404 |
+
msgstr "نمایش نمودار بازدید کنندگان در پیشخوان وردپرس شما."
|
405 |
+
|
406 |
+
msgid "No data available."
|
407 |
+
msgstr "دادهای در دسترس نیست"
|
408 |
+
|
languages/wp-piwik-lt_LT.mo
ADDED
Binary file
|
languages/wp-piwik-lt_LT.po
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# WP-Piwik 0.3.0 - Belorussian language file
|
2 |
+
# Copyright (C) 2009 Andre Braekling
|
3 |
+
# This file is distributed under the same license as the WP-Piwik package.
|
4 |
+
# Andre Braekling <webmaster@braekling.de>, 2009.
|
5 |
+
# FatCow http://www.fatcow.com, 2009.
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: 0.3.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
+
"POT-Creation-Date: 2009-06-09 19:05+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-07-28 11:57+0200\n"
|
12 |
+
"Last-Translator: Natalija Strazdauskienė <ciuvir@mail.ru>\n"
|
13 |
+
"Language-Team: Nata Strazda <nata@epastas.lt>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-Language: Lithuanian\n"
|
18 |
+
"X-Poedit-Country: LITHUANIA\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
|
21 |
+
#: dashboard/browsers.php:8
|
22 |
+
#: dashboard/browsers.php:37
|
23 |
+
msgid "Browser"
|
24 |
+
msgstr "Naršyklė"
|
25 |
+
|
26 |
+
msgid "Resolution"
|
27 |
+
msgstr "Rezoliucija"
|
28 |
+
|
29 |
+
msgid "Operating System"
|
30 |
+
msgstr "Opercainė Sistema"
|
31 |
+
|
32 |
+
#: dashboard/browsers.php:37
|
33 |
+
#: dashboard/keywords.php:13
|
34 |
+
#: dashboard/visitors.php:56
|
35 |
+
#: dashboard/websites.php:13
|
36 |
+
msgid "Unique"
|
37 |
+
msgstr "Unikalus"
|
38 |
+
|
39 |
+
#: dashboard/browsers.php:37
|
40 |
+
msgid "Percent"
|
41 |
+
msgstr "Procentai"
|
42 |
+
|
43 |
+
#: dashboard/keywords.php:8
|
44 |
+
msgid "Keywords"
|
45 |
+
msgstr "Raktiniai žodžiai"
|
46 |
+
|
47 |
+
#: dashboard/keywords.php:13
|
48 |
+
msgid "Keyword"
|
49 |
+
msgstr "Raktinis žodis"
|
50 |
+
|
51 |
+
#: dashboard/overview.php:8
|
52 |
+
msgid "Overview"
|
53 |
+
msgstr "Aprašymas"
|
54 |
+
|
55 |
+
#: dashboard/overview.php:16
|
56 |
+
#: dashboard/visitors.php:21
|
57 |
+
msgid "Visitors"
|
58 |
+
msgstr "Lankytojai"
|
59 |
+
|
60 |
+
#: dashboard/overview.php:17
|
61 |
+
msgid "Unique visitors"
|
62 |
+
msgstr "Unikalių lankytojų"
|
63 |
+
|
64 |
+
#: dashboard/overview.php:18
|
65 |
+
msgid "Page views"
|
66 |
+
msgstr "Puslapio peržiūros"
|
67 |
+
|
68 |
+
#: dashboard/overview.php:19
|
69 |
+
msgid "Max. page views in one visit"
|
70 |
+
msgstr "Maksimalus puslapių peržiūrų skaičius per vieną apsilankymą"
|
71 |
+
|
72 |
+
#: dashboard/overview.php:20
|
73 |
+
msgid "Total time spent by visitors"
|
74 |
+
msgstr "Iš viso praleista lankytojais laiko"
|
75 |
+
|
76 |
+
#: dashboard/overview.php:21
|
77 |
+
msgid "Bounce count"
|
78 |
+
msgstr "Atsisakymų skaičius"
|
79 |
+
|
80 |
+
#: dashboard/visitors.php:56
|
81 |
+
msgid "Date"
|
82 |
+
msgstr "Data"
|
83 |
+
|
84 |
+
#: dashboard/visitors.php:56
|
85 |
+
msgid "Visits"
|
86 |
+
msgstr "Apsilankymai"
|
87 |
+
|
88 |
+
#: dashboard/visitors.php:56
|
89 |
+
msgid "Bounced"
|
90 |
+
msgstr "Atsisakymai"
|
91 |
+
|
92 |
+
#: dashboard/websites.php:8
|
93 |
+
msgid "Websites"
|
94 |
+
msgstr "Svetainės"
|
95 |
+
|
96 |
+
#: dashboard/websites.php:13
|
97 |
+
msgid "Website"
|
98 |
+
msgstr "Svetainė"
|
99 |
+
|
100 |
+
#: wp-piwik.php:49
|
101 |
+
#: wp-piwik.php:147
|
102 |
+
msgid "Piwik Statistics"
|
103 |
+
msgstr "Piwik statistika"
|
104 |
+
|
105 |
+
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
106 |
+
#. Plugin Name of an extension
|
107 |
+
#: wp-piwik.php:49
|
108 |
+
msgid "WP-Piwik"
|
109 |
+
msgstr "WP-Piwik"
|
110 |
+
|
111 |
+
#: wp-piwik.php:53
|
112 |
+
#: wp-piwik.php:185
|
113 |
+
msgid "WP-Piwik Settings"
|
114 |
+
msgstr "WP-Piwik nustatymai"
|
115 |
+
|
116 |
+
#: wp-piwik.php:59
|
117 |
+
msgid "Settings"
|
118 |
+
msgstr "Nustatymai"
|
119 |
+
|
120 |
+
#: wp-piwik.php:112
|
121 |
+
msgid "Remote access to Piwik not possible. Enable allow_url_fopen or CURL."
|
122 |
+
msgstr "Nuotolinė prieiga prie Piwik neįmanoma. Įjunkite allow_url_fopen arba Curl."
|
123 |
+
|
124 |
+
#: wp-piwik.php:190
|
125 |
+
msgid "Account settings"
|
126 |
+
msgstr "Paskyros nustatymai"
|
127 |
+
|
128 |
+
#: wp-piwik.php:192
|
129 |
+
msgid "Piwik URL"
|
130 |
+
msgstr "Piwik URL"
|
131 |
+
|
132 |
+
#: wp-piwik.php:196
|
133 |
+
msgid "Auth token"
|
134 |
+
msgstr "Autentifikavimo požymis"
|
135 |
+
|
136 |
+
#: wp-piwik.php:200
|
137 |
+
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
138 |
+
msgstr "Kad įjungti Piwik statistiką, prašome įvesti savo Piwik bazinį URL (pvz. http://mydomain.com/piwik) ir savo asmens autentifikavimo raktą. Galite gauti raktą API puslapyje savo Piwik sąsajos viduje. Jis atrodo kaip "1234a5cd6789e0a12345b678cd9012ef"."
|
139 |
+
|
140 |
+
#: wp-piwik.php:205
|
141 |
+
#: wp-piwik.php:207
|
142 |
+
msgid "An error occured"
|
143 |
+
msgstr "Įvyko klaida"
|
144 |
+
|
145 |
+
#: wp-piwik.php:205
|
146 |
+
msgid "Please check URL and auth token. You need at least view access to one site."
|
147 |
+
msgstr "Prašome patikrinti URL ir valdymo raktą. Jums reikia tai, kad turėti prieigą prie vienos svetainės."
|
148 |
+
|
149 |
+
#: wp-piwik:php:215
|
150 |
+
msgid "Choose site"
|
151 |
+
msgstr "Pasirinkti svetainę"
|
152 |
+
|
153 |
+
#: wp-piwik.php:221
|
154 |
+
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
155 |
+
msgstr "Jei jūsų šablonas naudoja wp_footer() WP-Piwik gali automatiškai įtraukti Piwik JavaScript kodą į jūsų dienoraštį."
|
156 |
+
|
157 |
+
#: wp-piwik.php:226
|
158 |
+
msgid "Add script to wp_footer()"
|
159 |
+
msgstr "Pridėti scenarijų wp_footer()"
|
160 |
+
|
161 |
+
msgid "Tracking filter"
|
162 |
+
msgstr "Stebėjimo filtras"
|
163 |
+
|
164 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script to wp_footer()"-functionality."
|
165 |
+
msgstr "Pasirinkite vartotojus pagal jų vaidmenis, kuriuos <strong>nenorite</strong> sekti. Reikalaujama, kad būtų "įjungtas skripto wp_footer()"-funkcionalumas."
|
166 |
+
|
167 |
+
#: wp-piwik.php:229
|
168 |
+
msgid "Save settings"
|
169 |
+
msgstr "Išsaugoti nustatymus"
|
170 |
+
|
171 |
+
#. Plugin URI of an extension
|
172 |
+
msgid "http://dev.braekling.de/wordpress-plugins/dev/wp-piwik/index.html"
|
173 |
+
msgstr "http://dev.braekling.de/wordpress-plugins/dev/wp-piwik/index.html"
|
174 |
+
|
175 |
+
#. Description of an extension
|
176 |
+
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
177 |
+
msgstr "Prideda Piwik statistiką į savo įrankių juostos meniu ir Piwik kodą į savo WordPress poraštę."
|
178 |
+
|
179 |
+
#. Author of an extension
|
180 |
+
msgid "André Bräkling"
|
181 |
+
msgstr "André Bräkling"
|
182 |
+
|
183 |
+
#. Author URI of an extension
|
184 |
+
msgid "http://www.braekling.de"
|
185 |
+
msgstr "http://www.braekling.de"
|
186 |
+
|
languages/wp-piwik-nl_NL.mo
CHANGED
Binary file
|
languages/wp-piwik-nl_NL.po
CHANGED
@@ -109,7 +109,7 @@ msgstr "Bezoeken"
|
|
109 |
|
110 |
#: dashboard/visitors.php:56
|
111 |
msgid "Bounced"
|
112 |
-
msgstr "
|
113 |
|
114 |
#: dashboard/websites.php:8
|
115 |
msgid "Websites"
|
109 |
|
110 |
#: dashboard/visitors.php:56
|
111 |
msgid "Bounced"
|
112 |
+
msgstr "Bounced"
|
113 |
|
114 |
#: dashboard/websites.php:8
|
115 |
msgid "Websites"
|
languages/wp-piwik-ro_RO.mo
ADDED
Binary file
|
languages/wp-piwik-ro_RO.po
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is distributed under the same license as the WP-Piwik package.
|
2 |
+
# Andre Braekling <webmaster@braekling.de>, 2009.
|
3 |
+
# FatCow http://www.fatcow.com, 2009.
|
4 |
+
msgid ""
|
5 |
+
msgstr ""
|
6 |
+
"Project-Id-Version: 0.3.0\n"
|
7 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
8 |
+
"POT-Creation-Date: 2009-06-09 19:05+0000\n"
|
9 |
+
"PO-Revision-Date: 2012-03-14 16:52+0200\n"
|
10 |
+
"X-Poedit-Language: Romanian\n"
|
11 |
+
"X-Poedit-Country: Romania\n"
|
12 |
+
"Language-Team: Web Geeks\n"
|
13 |
+
"Last-Translator: \n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
+
|
19 |
+
#: dashboard/browsers.php:8
|
20 |
+
#: dashboard/browsers.php:37
|
21 |
+
msgid "Browser"
|
22 |
+
msgstr "Browser-ul"
|
23 |
+
|
24 |
+
msgid "Resolution"
|
25 |
+
msgstr "Rezoluţie"
|
26 |
+
|
27 |
+
msgid "Operating System"
|
28 |
+
msgstr "Sistem de operare"
|
29 |
+
|
30 |
+
#: dashboard/browsers.php:37
|
31 |
+
#: dashboard/keywords.php:13
|
32 |
+
#: dashboard/visitors.php:56
|
33 |
+
#: dashboard/websites.php:13
|
34 |
+
msgid "Unique"
|
35 |
+
msgstr "Unic"
|
36 |
+
|
37 |
+
#: dashboard/browsers.php:37
|
38 |
+
msgid "Percent"
|
39 |
+
msgstr "%"
|
40 |
+
|
41 |
+
#: dashboard/keywords.php:8
|
42 |
+
msgid "Keywords"
|
43 |
+
msgstr "Cuvinte cheie"
|
44 |
+
|
45 |
+
#: dashboard/keywords.php:13
|
46 |
+
msgid "Keyword"
|
47 |
+
msgstr "Cuvinte cheie"
|
48 |
+
|
49 |
+
#: dashboard/overview.php:8
|
50 |
+
msgid "Overview"
|
51 |
+
msgstr "Prezentare generală"
|
52 |
+
|
53 |
+
#: dashboard/overview.php:16
|
54 |
+
#: dashboard/visitors.php:21
|
55 |
+
msgid "Visitors"
|
56 |
+
msgstr "Vizitatori"
|
57 |
+
|
58 |
+
#: dashboard/overview.php:17
|
59 |
+
msgid "Unique visitors"
|
60 |
+
msgstr "Vizitatori unici"
|
61 |
+
|
62 |
+
#: dashboard/overview.php:18
|
63 |
+
msgid "Page views"
|
64 |
+
msgstr "Vizualizări de pagină"
|
65 |
+
|
66 |
+
#: dashboard/overview.php:19
|
67 |
+
msgid "Max. page views in one visit"
|
68 |
+
msgstr "Max. page views într-o singură vizită"
|
69 |
+
|
70 |
+
#: dashboard/overview.php:20
|
71 |
+
msgid "Total time spent by visitors"
|
72 |
+
msgstr "Timpul total petrecut de vizitatori"
|
73 |
+
|
74 |
+
#: dashboard/overview.php:21
|
75 |
+
msgid "Bounce count"
|
76 |
+
msgstr "Bounce count"
|
77 |
+
|
78 |
+
#: dashboard/visitors.php:56
|
79 |
+
msgid "Date"
|
80 |
+
msgstr "Data"
|
81 |
+
|
82 |
+
#: dashboard/visitors.php:56
|
83 |
+
msgid "Visits"
|
84 |
+
msgstr "Vizite"
|
85 |
+
|
86 |
+
#: dashboard/visitors.php:56
|
87 |
+
msgid "Bounced"
|
88 |
+
msgstr "Bounced"
|
89 |
+
|
90 |
+
#: dashboard/websites.php:8
|
91 |
+
msgid "Websites"
|
92 |
+
msgstr "Site-uri Web"
|
93 |
+
|
94 |
+
#: dashboard/websites.php:13
|
95 |
+
msgid "Website"
|
96 |
+
msgstr "Site-ul Web"
|
97 |
+
|
98 |
+
#: wp-piwik.php:49
|
99 |
+
#: wp-piwik.php:147
|
100 |
+
msgid "Piwik Statistics"
|
101 |
+
msgstr "Statistici piwik"
|
102 |
+
|
103 |
+
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
104 |
+
#. Plugin Name of an extension
|
105 |
+
#: wp-piwik.php:49
|
106 |
+
msgid "WP-Piwik"
|
107 |
+
msgstr "WP-Piwik"
|
108 |
+
|
109 |
+
#: wp-piwik.php:53
|
110 |
+
#: wp-piwik.php:185
|
111 |
+
msgid "WP-Piwik Settings"
|
112 |
+
msgstr "Setările WP-Piwik"
|
113 |
+
|
114 |
+
#: wp-piwik.php:59
|
115 |
+
msgid "Settings"
|
116 |
+
msgstr "Setări"
|
117 |
+
|
118 |
+
#: wp-piwik.php:112
|
119 |
+
msgid "Remote access to Piwik not possible. Enable allow_url_fopen or CURL."
|
120 |
+
msgstr "Acces la distanţă la Piwik nu este posibil. Activaţi allow_url_fopen sau îndoire."
|
121 |
+
|
122 |
+
#: wp-piwik.php:190
|
123 |
+
msgid "Account settings"
|
124 |
+
msgstr "Setări cont"
|
125 |
+
|
126 |
+
#: wp-piwik.php:192
|
127 |
+
msgid "Piwik URL"
|
128 |
+
msgstr "Piwik URL"
|
129 |
+
|
130 |
+
#: wp-piwik.php:196
|
131 |
+
msgid "Auth token"
|
132 |
+
msgstr "Simbol Auth"
|
133 |
+
|
134 |
+
#: wp-piwik.php:200
|
135 |
+
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like \"1234a5cd6789e0a12345b678cd9012ef\"."
|
136 |
+
msgstr "Piwik statisticilor, vă rugăm să introduceţi URL bază Piwik (cum ar fi http://mydomain.com/piwik) şi dumneavoastră simbol authentification personale. Puteţi obţine simbolul pe pagina API în interiorul interfaţa dumneavoastră Piwik. Se pare ca \"1234a5cd6789e0a12345b678cd9012ef\"."
|
137 |
+
|
138 |
+
#: wp-piwik.php:205
|
139 |
+
#: wp-piwik.php:207
|
140 |
+
msgid "An error occured"
|
141 |
+
msgstr "Eroare"
|
142 |
+
|
143 |
+
#: wp-piwik.php:205
|
144 |
+
msgid "Please check URL and auth token. You need at least view access to one site."
|
145 |
+
msgstr "Vă rugăm să verificaţi URL-ul şi auth simbol. Nevoie vizualizaţi cel puțin accesul la un site."
|
146 |
+
|
147 |
+
#: wp-piwik:php:215
|
148 |
+
msgid "Choose site"
|
149 |
+
msgstr "Alege site-ul"
|
150 |
+
|
151 |
+
#: wp-piwik.php:221
|
152 |
+
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
153 |
+
msgstr "Dacă şablonul utilizează wp_footer(), WP-Piwik poate adăuga automat codul javascript Piwik la blog-ul."
|
154 |
+
|
155 |
+
#: wp-piwik.php:226
|
156 |
+
msgid "Add script to wp_footer()"
|
157 |
+
msgstr "Adăugaţi script la wp_footer()"
|
158 |
+
|
159 |
+
msgid "Tracking filter"
|
160 |
+
msgstr "Filtru de urmărire"
|
161 |
+
|
162 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled \"Add script to wp_footer()\"-functionality."
|
163 |
+
msgstr "Selectaţi utilizatorii de rolul de utilizator tu a face <strong>nu</strong> nevoie pentru a urmări. Necesită activat \"Adăuga script-ul (wp_footer)\"-funcţionalitate."
|
164 |
+
|
165 |
+
#: wp-piwik.php:229
|
166 |
+
msgid "Save settings"
|
167 |
+
msgstr "Salvaţi setările"
|
168 |
+
|
169 |
+
#. Plugin URI of an extension
|
170 |
+
msgid "http://dev.braekling.de/wordpress-plugins/dev/wp-piwik/index.html"
|
171 |
+
msgstr "http://dev.braekling.de/Wordpress-plugins/dev/WP-piwik/index.html"
|
172 |
+
|
173 |
+
#. Description of an extension
|
174 |
+
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
175 |
+
msgstr "Adaugă Piwik stats meniul tabloul de bord şi Piwik codul de subsol dumneavoastră wordpress."
|
176 |
+
|
177 |
+
#. Author of an extension
|
178 |
+
msgid "André Bräkling"
|
179 |
+
msgstr "André Bräkling"
|
180 |
+
|
181 |
+
#. Author URI of an extension
|
182 |
+
msgid "http://www.braekling.de"
|
183 |
+
msgstr "http://www.braekling.de"
|
184 |
+
|
languages/wp-piwik-sq.mo
CHANGED
Binary file
|
languages/wp-piwik-sq.po
CHANGED
@@ -7,253 +7,430 @@ msgid ""
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: 0.3.0\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
-
"POT-Creation-Date:
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>\n"
|
13 |
"Language-Team: Albanian <besnik@programeshqip.org>\n"
|
|
|
14 |
"MIME-Version: 1.0\n"
|
15 |
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
"Content-Transfer-Encoding: 8bit\n"
|
17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
|
19 |
-
#: dashboard/browsers.php:
|
20 |
-
#: dashboard/browsers.php:
|
21 |
msgid "Browser"
|
22 |
msgstr "Shfletues"
|
23 |
|
|
|
|
|
|
|
|
|
24 |
msgid "Others"
|
25 |
msgstr "Të tjerë"
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
msgid "Advertisement"
|
37 |
-
msgstr "Reklamë"
|
38 |
-
|
39 |
-
msgid "Looking for premium themes? Visit "
|
40 |
-
msgstr "Po shihni për tema me pagesë? Vizitoni "
|
41 |
-
|
42 |
-
msgid "Avg"
|
43 |
-
msgstr "Mes"
|
44 |
-
|
45 |
-
msgid "Sum"
|
46 |
-
msgstr "Shuma"
|
47 |
-
|
48 |
-
msgid "Unique TOTAL"
|
49 |
-
msgstr "GJITHSEJ unikë"
|
50 |
-
|
51 |
-
#: dashboard/browsers.php:37
|
52 |
-
#: dashboard/keywords.php:13
|
53 |
-
#: dashboard/visitors.php:56
|
54 |
-
#: dashboard/websites.php:13
|
55 |
msgid "Unique"
|
56 |
msgstr "Unikë"
|
57 |
|
58 |
-
#: dashboard/browsers.php:
|
|
|
|
|
|
|
59 |
msgid "Percent"
|
60 |
msgstr "Përqindje"
|
61 |
|
62 |
-
#: dashboard/keywords.php:
|
63 |
msgid "Keywords"
|
64 |
msgstr "Fjalëkyça"
|
65 |
|
66 |
-
#: dashboard/keywords.php:
|
67 |
msgid "Keyword"
|
68 |
msgstr "Fjalëkyç"
|
69 |
|
70 |
-
#: dashboard/overview.php:
|
71 |
msgid "Overview"
|
72 |
msgstr "Përmbledhje"
|
73 |
|
74 |
-
#: dashboard/overview.php:
|
75 |
-
#: dashboard/visitors.php:
|
76 |
msgid "Visitors"
|
77 |
msgstr "Vizitorë"
|
78 |
|
79 |
-
#: dashboard/overview.php:
|
80 |
msgid "Unique visitors"
|
81 |
msgstr "Vizitorë unikë"
|
82 |
|
83 |
-
#: dashboard/overview.php:
|
84 |
msgid "Page views"
|
85 |
msgstr "Parje faqesh"
|
86 |
|
87 |
-
#: dashboard/overview.php:
|
88 |
msgid "Max. page views in one visit"
|
89 |
msgstr "Maksimum parje faqesh në një vizitë"
|
90 |
|
91 |
-
#: dashboard/overview.php:
|
92 |
-
msgid "Total time spent
|
93 |
-
msgstr "Kohë e harxhuar
|
94 |
|
95 |
-
|
|
|
|
|
|
|
96 |
msgid "Bounce count"
|
97 |
msgstr "Numër kthimesh"
|
98 |
|
99 |
-
#: dashboard/
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
#: dashboard/
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
msgid "Visits"
|
105 |
msgstr "Vizita"
|
106 |
|
107 |
-
#: dashboard/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
msgid "Bounced"
|
109 |
msgstr "Të kthyera"
|
110 |
|
111 |
-
#: dashboard/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
msgid "Websites"
|
113 |
msgstr "\"Websites\"-e"
|
114 |
|
115 |
-
#: dashboard/websites.php:
|
116 |
msgid "Website"
|
117 |
msgstr "\"Website\""
|
118 |
|
119 |
-
#: wp-piwik.php:
|
120 |
-
#: wp-piwik.php:
|
121 |
msgid "Piwik Statistics"
|
122 |
msgstr "Statistika Piwik"
|
123 |
|
124 |
-
#. #-#-#-#-# plugin.pot (
|
125 |
-
#. Plugin Name of
|
126 |
-
#: wp-piwik.php:
|
|
|
|
|
|
|
127 |
msgid "WP-Piwik"
|
128 |
msgstr "WP-Piwik"
|
129 |
|
130 |
-
#: wp-piwik.php:
|
131 |
-
#: wp-piwik.php:
|
132 |
-
msgid "
|
133 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
-
#: wp-piwik.php:
|
|
|
|
|
|
|
|
|
|
|
136 |
msgid "Settings"
|
137 |
msgstr "Rregullime"
|
138 |
|
139 |
-
#: wp-piwik.php:
|
140 |
-
msgid "
|
141 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
-
#: wp-piwik.php:
|
|
|
144 |
msgid "Account settings"
|
145 |
msgstr "Rregullime llogarie"
|
146 |
|
147 |
-
#: wp-piwik.php:
|
|
|
148 |
msgid "Piwik URL"
|
149 |
msgstr "URL Piwik-u"
|
150 |
|
151 |
-
#: wp-piwik.php:
|
|
|
152 |
msgid "Auth token"
|
153 |
msgstr "\"Token\" mirëfilltësimi"
|
154 |
|
155 |
-
#: wp-piwik.php:
|
|
|
156 |
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
157 |
-
msgstr "Për të aktivizuar statistikat Piwik, ju lutem jepni URL-në tuaj bazë për Piwik-un (diçka të ngjashme me http://
|
|
|
|
|
|
|
|
|
158 |
|
159 |
-
#: wp-piwik.php:
|
160 |
-
#: wp-piwik.php:
|
161 |
msgid "An error occured"
|
162 |
msgstr "Ndodhi një gabim"
|
163 |
|
164 |
-
#: wp-piwik.php:
|
165 |
msgid "Please check URL and auth token. You need at least view access to one site."
|
166 |
msgstr "Ju lutem, kontrolloni URL-në dhe vargun e mirëfilltësimit. Keni nevojë për të drejta parjeje të paktën në një \"site\"."
|
167 |
|
168 |
-
#: wp-piwik
|
169 |
msgid "Choose site"
|
170 |
msgstr "Zgjidhni \"site\""
|
171 |
|
172 |
-
#: wp-piwik.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
174 |
msgstr "Po qe se gjedhja juaj përdor wp_footer(), WP-Piwik mund të shtojë vetvetiu te blogu juaj kodin Javascript për Piwik-un."
|
175 |
|
176 |
-
#: wp-piwik.php:
|
177 |
-
msgid "
|
178 |
-
msgstr "
|
|
|
|
|
|
|
|
|
179 |
|
|
|
|
|
180 |
msgid "Tracking filter"
|
181 |
msgstr "Filtër Gjurmimesh"
|
182 |
|
183 |
-
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script to wp_footer()"-functionality."
|
184 |
-
msgstr "Zgjidhni përdoruesa sipas rolit të përdoruesit të cilin <strong>nuk</strong> doni të gjurmohet. Lyp të aktivizuar funksionin "Add script to wp_footer()"."
|
185 |
-
|
186 |
msgid "Choose users by user role you do <strong>not</strong> want to track."
|
187 |
msgstr "Zgjidhni përdoruesa sipas rolit të përdoruesit të cilin <strong>nuk</strong> doni të gjurmohet."
|
188 |
|
189 |
-
msgid "
|
190 |
-
msgstr "
|
191 |
|
192 |
-
|
193 |
-
|
|
|
194 |
|
195 |
-
|
196 |
-
|
|
|
197 |
|
198 |
-
#: wp-piwik.php:
|
199 |
-
msgid "
|
200 |
-
msgstr "
|
201 |
|
202 |
-
|
203 |
-
|
|
|
|
|
|
|
204 |
|
205 |
-
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
|
|
|
208 |
msgid "WPMU-Piwik Settings"
|
209 |
msgstr "Rregullime për WPMU-Piwik"
|
210 |
|
|
|
211 |
msgid "<strong>Important note:</strong> You have to choose a token which provides administration access. WPMU-Piwik will create new Piwik sites for each blog if it is shown the first time and it is not added yet. All users can access their own statistics only, while site admins can access all statistics. To avoid conflicts, you should use a clean Piwik installation without other sites added. The provided themes should use wp_footer, because it adds the Piwik javascript code to each page."
|
212 |
msgstr "<strong>Shënim i rëndësishëm:</strong> Duhet të zgjidhni një \"token\" që lejon hyrje si administrator. WPMU-Piwik do të krijojë \"site\"-e të rinj Piwik për çdo blog, nëse është shfaqur për herë të parë dhe nuk është shtuar ende. Cilido përdorues mund të hyjë vetëm te statistikat e tij, ndërkohë që përgjegjësit e site-it mund të hyjnë në krejt statistikat. Për të shmangur përplasjet, do të duhej të përdornit një instalim nga e para të Piwik-ut, pa \"site\"-e të tjerë të shtuar. Temat e dhëna duhet të përdorin wp_footer, sepse ky shton kodin javascript Piwik te secila faqe."
|
213 |
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
msgid "WP-Piwik uses the Google Chart API to create graphs. To avoid this, just check this box."
|
218 |
-
msgstr "WP-Piwik përdor Google Chart API për krijim grafiqesh. Për ta shmangur këtë, thjesht klikoni këtu."
|
219 |
|
220 |
-
|
221 |
-
|
|
|
222 |
|
223 |
-
#. Plugin URI of
|
224 |
-
msgid "http://
|
225 |
-
msgstr "http://
|
226 |
|
227 |
-
#. Description of
|
228 |
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
229 |
msgstr "Shton te menuja e pultit tuaj statistika Piwik dhe kodin për Piwik te \"footer\"-i juaj Wordpress."
|
230 |
|
231 |
-
#. Author of
|
232 |
msgid "André Bräkling"
|
233 |
msgstr "André Bräkling"
|
234 |
|
235 |
-
#. Author URI of
|
236 |
msgid "http://www.braekling.de"
|
237 |
msgstr "http://www.braekling.de"
|
238 |
|
239 |
-
msgid "
|
240 |
-
msgstr "
|
241 |
|
242 |
-
msgid "
|
243 |
-
msgstr "
|
244 |
|
245 |
-
msgid "
|
246 |
-
msgstr "
|
247 |
|
248 |
-
msgid "
|
249 |
-
msgstr "
|
250 |
|
251 |
-
msgid "
|
252 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
|
254 |
-
msgid "
|
255 |
-
|
|
|
|
|
|
|
|
|
256 |
|
257 |
-
msgid "
|
258 |
-
msgstr "
|
259 |
|
|
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: 0.3.0\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
+
"POT-Creation-Date: 2010-07-19 18:06+0000\n"
|
11 |
+
"PO-Revision-Date: 2012-03-02 19:11+0200\n"
|
12 |
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>\n"
|
13 |
"Language-Team: Albanian <besnik@programeshqip.org>\n"
|
14 |
+
"Language: sq\n"
|
15 |
"MIME-Version: 1.0\n"
|
16 |
"Content-Type: text/plain; charset=UTF-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
|
20 |
+
#: dashboard/browsers.php:12
|
21 |
+
#: dashboard/browsers.php:33
|
22 |
msgid "Browser"
|
23 |
msgstr "Shfletues"
|
24 |
|
25 |
+
#: dashboard/browsers.php:22
|
26 |
+
#: dashboard/pages.php:43
|
27 |
+
#: dashboard/screens.php:22
|
28 |
+
#: dashboard/systems.php:22
|
29 |
msgid "Others"
|
30 |
msgstr "Të tjerë"
|
31 |
|
32 |
+
#: dashboard/browsers.php:34
|
33 |
+
#: dashboard/keywords.php:17
|
34 |
+
#: dashboard/pages.php:22
|
35 |
+
#: dashboard/screens.php:33
|
36 |
+
#: dashboard/systems.php:35
|
37 |
+
#: dashboard/visitors.php:53
|
38 |
+
#: dashboard/websites.php:19
|
39 |
+
#: wp-piwik.php:305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
msgid "Unique"
|
41 |
msgstr "Unikë"
|
42 |
|
43 |
+
#: dashboard/browsers.php:35
|
44 |
+
#: dashboard/plugins.php:33
|
45 |
+
#: dashboard/screens.php:34
|
46 |
+
#: dashboard/systems.php:36
|
47 |
msgid "Percent"
|
48 |
msgstr "Përqindje"
|
49 |
|
50 |
+
#: dashboard/keywords.php:12
|
51 |
msgid "Keywords"
|
52 |
msgstr "Fjalëkyça"
|
53 |
|
54 |
+
#: dashboard/keywords.php:17
|
55 |
msgid "Keyword"
|
56 |
msgstr "Fjalëkyç"
|
57 |
|
58 |
+
#: dashboard/overview.php:12
|
59 |
msgid "Overview"
|
60 |
msgstr "Përmbledhje"
|
61 |
|
62 |
+
#: dashboard/overview.php:42
|
63 |
+
#: dashboard/visitors.php:24
|
64 |
msgid "Visitors"
|
65 |
msgstr "Vizitorë"
|
66 |
|
67 |
+
#: dashboard/overview.php:43
|
68 |
msgid "Unique visitors"
|
69 |
msgstr "Vizitorë unikë"
|
70 |
|
71 |
+
#: dashboard/overview.php:44
|
72 |
msgid "Page views"
|
73 |
msgstr "Parje faqesh"
|
74 |
|
75 |
+
#: dashboard/overview.php:45
|
76 |
msgid "Max. page views in one visit"
|
77 |
msgstr "Maksimum parje faqesh në një vizitë"
|
78 |
|
79 |
+
#: dashboard/overview.php:46
|
80 |
+
msgid "Total time spent"
|
81 |
+
msgstr "Kohë e harxhuar gjithsej"
|
82 |
|
83 |
+
msgid "Time/visit"
|
84 |
+
msgstr "Kohë/vizitë"
|
85 |
+
|
86 |
+
#: dashboard/overview.php:47
|
87 |
msgid "Bounce count"
|
88 |
msgstr "Numër kthimesh"
|
89 |
|
90 |
+
#: dashboard/overview.php:49
|
91 |
+
#: wp-piwik.php:563
|
92 |
+
msgid "Shortcut"
|
93 |
+
msgstr "Shkurtore"
|
94 |
+
|
95 |
+
#: dashboard/pages.php:13
|
96 |
+
msgid "Pages"
|
97 |
+
msgstr "Faqe"
|
98 |
|
99 |
+
#: dashboard/pages.php:21
|
100 |
+
msgid "Page"
|
101 |
+
msgstr "Faqe"
|
102 |
+
|
103 |
+
#: dashboard/pages.php:23
|
104 |
+
#: dashboard/plugins.php:32
|
105 |
+
#: dashboard/visitors.php:52
|
106 |
msgid "Visits"
|
107 |
msgstr "Vizita"
|
108 |
|
109 |
+
#: dashboard/plugins.php:12
|
110 |
+
#: dashboard/plugins.php:31
|
111 |
+
msgid "Plugins"
|
112 |
+
msgstr "Shtojca"
|
113 |
+
|
114 |
+
#: dashboard/screens.php:12
|
115 |
+
#: dashboard/screens.php:32
|
116 |
+
msgid "Resolution"
|
117 |
+
msgstr "Qartësi"
|
118 |
+
|
119 |
+
#: dashboard/systems.php:12
|
120 |
+
#: dashboard/systems.php:34
|
121 |
+
msgid "Operating System"
|
122 |
+
msgstr "Sistem Operativ"
|
123 |
+
|
124 |
+
#: dashboard/visitors.php:51
|
125 |
+
msgid "Date"
|
126 |
+
msgstr "Datë"
|
127 |
+
|
128 |
+
#: dashboard/visitors.php:54
|
129 |
msgid "Bounced"
|
130 |
msgstr "Të kthyera"
|
131 |
|
132 |
+
#: dashboard/visitors.php:67
|
133 |
+
msgid "Unique TOTAL"
|
134 |
+
msgstr "GJITHSEJ unikë"
|
135 |
+
|
136 |
+
#: dashboard/visitors.php:67
|
137 |
+
msgid "Sum"
|
138 |
+
msgstr "Shuma"
|
139 |
+
|
140 |
+
#: dashboard/visitors.php:67
|
141 |
+
msgid "Avg"
|
142 |
+
msgstr "Mes"
|
143 |
+
|
144 |
+
#: dashboard/websites.php:12
|
145 |
msgid "Websites"
|
146 |
msgstr "\"Websites\"-e"
|
147 |
|
148 |
+
#: dashboard/websites.php:18
|
149 |
msgid "Website"
|
150 |
msgstr "\"Website\""
|
151 |
|
152 |
+
#: wp-piwik.php:110
|
153 |
+
#: wp-piwik.php:365
|
154 |
msgid "Piwik Statistics"
|
155 |
msgstr "Statistika Piwik"
|
156 |
|
157 |
+
#. #-#-#-#-# plugin.pot (WP-Piwik 0.8.0) #-#-#-#-#
|
158 |
+
#. Plugin Name of the plugin/theme
|
159 |
+
#: wp-piwik.php:111
|
160 |
+
#: wp-piwik.php:122
|
161 |
+
#: wp-piwik.php:123
|
162 |
+
#: wp-piwik.php:146
|
163 |
msgid "WP-Piwik"
|
164 |
msgstr "WP-Piwik"
|
165 |
|
166 |
+
#: wp-piwik.php:130
|
167 |
+
#: wp-piwik.php:131
|
168 |
+
msgid "WPMU-Piwik"
|
169 |
+
msgstr "WPMU-Piwik"
|
170 |
+
|
171 |
+
#: wp-piwik.php:142
|
172 |
+
#: wp-piwik.php:557
|
173 |
+
msgid "yesterday"
|
174 |
+
msgstr "dje"
|
175 |
+
|
176 |
+
#: wp-piwik.php:143
|
177 |
+
#: wp-piwik.php:558
|
178 |
+
msgid "today"
|
179 |
+
msgstr "sot"
|
180 |
|
181 |
+
#: wp-piwik.php:144
|
182 |
+
#: wp-piwik.php:559
|
183 |
+
msgid "last 30 days"
|
184 |
+
msgstr "30 ditët e fundit"
|
185 |
+
|
186 |
+
#: wp-piwik.php:179
|
187 |
msgid "Settings"
|
188 |
msgstr "Rregullime"
|
189 |
|
190 |
+
#: wp-piwik.php:381
|
191 |
+
msgid "Change"
|
192 |
+
msgstr "Ndryshoje"
|
193 |
+
|
194 |
+
#: wp-piwik.php:382
|
195 |
+
msgid "Currently shown stats:"
|
196 |
+
msgstr "Statistika të treguara tani:"
|
197 |
+
|
198 |
+
#: wp-piwik.php:383
|
199 |
+
msgid "Current shown stats: <strong>Overall</strong>"
|
200 |
+
msgstr "Statistika të treguara tani: <strong>Përmbledhtazi</strong>"
|
201 |
+
|
202 |
+
#: wp-piwik.php:448
|
203 |
+
msgid "WP-Piwik Settings"
|
204 |
+
msgstr "Rregullime për WP-Piwik"
|
205 |
|
206 |
+
#: wp-piwik.php:455
|
207 |
+
#: wp-piwik.php:617
|
208 |
msgid "Account settings"
|
209 |
msgstr "Rregullime llogarie"
|
210 |
|
211 |
+
#: wp-piwik.php:457
|
212 |
+
#: wp-piwik.php:619
|
213 |
msgid "Piwik URL"
|
214 |
msgstr "URL Piwik-u"
|
215 |
|
216 |
+
#: wp-piwik.php:461
|
217 |
+
#: wp-piwik.php:623
|
218 |
msgid "Auth token"
|
219 |
msgstr "\"Token\" mirëfilltësimi"
|
220 |
|
221 |
+
#: wp-piwik.php:467
|
222 |
+
#: wp-piwik.php:628
|
223 |
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
224 |
+
msgstr "Për të aktivizuar statistikat Piwik, ju lutem jepni URL-në tuaj bazë për Piwik-un (diçka të ngjashme me http://mydomain.com/piwik) dhe varguan për mirëfilltësimin tuaj personal. Vargun do ta gjeni te faqja për API-n brenda ndërfaqes së Piwik-ut tuaj. Ngjan me diçka si "1234a5cd6789e0a12345b678cd9012ef"."
|
225 |
+
|
226 |
+
#: wp-piwik.php:477
|
227 |
+
msgid "<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database. So he is able to access your statistics. You should never use an auth token with more than simple view access!"
|
228 |
+
msgstr "<strong>Shënim i rëndësishëm:</strong> Nëse nuk e strehoni vetë këtë blog, përgjegjësi i site-it tuaj është në gjendje të ketë prej bazës së të dhënave \"token\"-in tuaj të mirëfilltësimit. Pra është ne gjendje të hyjë në statistikat tuaja. Kurrë nuk do të duhej të përdornit një \"token\" mirëfilltësimi që lejon më tepër se hyrje të thjeshtë vetëm për parje!"
|
229 |
|
230 |
+
#: wp-piwik.php:485
|
231 |
+
#: wp-piwik.php:489
|
232 |
msgid "An error occured"
|
233 |
msgstr "Ndodhi një gabim"
|
234 |
|
235 |
+
#: wp-piwik.php:486
|
236 |
msgid "Please check URL and auth token. You need at least view access to one site."
|
237 |
msgstr "Ju lutem, kontrolloni URL-në dhe vargun e mirëfilltësimit. Keni nevojë për të drejta parjeje të paktën në një \"site\"."
|
238 |
|
239 |
+
#: wp-piwik.php:492
|
240 |
msgid "Choose site"
|
241 |
msgstr "Zgjidhni \"site\""
|
242 |
|
243 |
+
#: wp-piwik.php:511
|
244 |
+
#: wp-piwik.php:547
|
245 |
+
#: wp-piwik.php:584
|
246 |
+
#: wp-piwik.php:658
|
247 |
+
msgid "Save settings"
|
248 |
+
msgstr "Ruaji rregullimet"
|
249 |
+
|
250 |
+
#: wp-piwik.php:515
|
251 |
+
#: wp-piwik.php:643
|
252 |
+
msgid "Tracking settings"
|
253 |
+
msgstr "Rregullime gjurmimi"
|
254 |
+
|
255 |
+
#: wp-piwik.php:521
|
256 |
+
msgid "Add script"
|
257 |
+
msgstr "Shtoni programth"
|
258 |
+
|
259 |
+
#: wp-piwik.php:525
|
260 |
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
261 |
msgstr "Po qe se gjedhja juaj përdor wp_footer(), WP-Piwik mund të shtojë vetvetiu te blogu juaj kodin Javascript për Piwik-un."
|
262 |
|
263 |
+
#: wp-piwik.php:528
|
264 |
+
msgid "Track 404"
|
265 |
+
msgstr "Gjedhe 404"
|
266 |
+
|
267 |
+
#: wp-piwik.php:532
|
268 |
+
msgid "If you add the Piwik javascript code by wp_footer(), WP-Piwik can automatically add a 404-category to track 404-page-visits."
|
269 |
+
msgstr "If you add the Piwik javascript code by wp_footer(), WP-Piwik can automatically add a 404-category to track 404-page-visits.Po qe se e shtoni kodin Piwik Javascript përmes wp_footer(), WP-Piwik-u mund të shtojë vetvetiu një kategori 404 për të gjurmuar vizitat në faqe 404."
|
270 |
|
271 |
+
#: wp-piwik.php:536
|
272 |
+
#: wp-piwik.php:644
|
273 |
msgid "Tracking filter"
|
274 |
msgstr "Filtër Gjurmimesh"
|
275 |
|
|
|
|
|
|
|
276 |
msgid "Choose users by user role you do <strong>not</strong> want to track."
|
277 |
msgstr "Zgjidhni përdoruesa sipas rolit të përdoruesit të cilin <strong>nuk</strong> doni të gjurmohet."
|
278 |
|
279 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script"-functionality."
|
280 |
+
msgstr "Zgjidhni përdoruesa sipas rolesh përdoruesish të cilin <strong>nuk</strong> doni të gjurmohet. Lyp të aktivizuar funksionin "Shtoni skript te wp_footer()"."
|
281 |
|
282 |
+
#: wp-piwik.php:551
|
283 |
+
msgid "Statistic view settings"
|
284 |
+
msgstr "Rregullime lidhur me parjen e statistikave"
|
285 |
|
286 |
+
#: wp-piwik.php:554
|
287 |
+
msgid "Dashboard"
|
288 |
+
msgstr "Pulti"
|
289 |
|
290 |
+
#: wp-piwik.php:556
|
291 |
+
msgid "No"
|
292 |
+
msgstr "Jo"
|
293 |
|
294 |
+
#: wp-piwik.php:557
|
295 |
+
#: wp-piwik.php:558
|
296 |
+
#: wp-piwik.php:559
|
297 |
+
msgid "Yes"
|
298 |
+
msgstr "Po"
|
299 |
|
300 |
+
#: wp-piwik.php:562
|
301 |
+
msgid "Display a dashboard widget to your WordPress dashboard."
|
302 |
+
msgstr "Shfaqni te pulti juaj WordPress një “widget” pulti."
|
303 |
+
|
304 |
+
#: wp-piwik.php:567
|
305 |
+
msgid "Display a shortcut to Piwik itself."
|
306 |
+
msgstr "Shfaq një shkurtore për te vetë Piwik-u."
|
307 |
+
|
308 |
+
#: wp-piwik.php:568
|
309 |
+
msgid "Display to"
|
310 |
+
msgstr "Shfaqe te"
|
311 |
+
|
312 |
+
#: wp-piwik.php:579
|
313 |
+
msgid "Choose user roles allowed to see the statistics page."
|
314 |
+
msgstr "Zgjidhni role përdoruesish të cilëve t’u lejohet të shohin faqen e statistikave."
|
315 |
|
316 |
+
#: wp-piwik.php:612
|
317 |
msgid "WPMU-Piwik Settings"
|
318 |
msgstr "Rregullime për WPMU-Piwik"
|
319 |
|
320 |
+
#: wp-piwik.php:636
|
321 |
msgid "<strong>Important note:</strong> You have to choose a token which provides administration access. WPMU-Piwik will create new Piwik sites for each blog if it is shown the first time and it is not added yet. All users can access their own statistics only, while site admins can access all statistics. To avoid conflicts, you should use a clean Piwik installation without other sites added. The provided themes should use wp_footer, because it adds the Piwik javascript code to each page."
|
322 |
msgstr "<strong>Shënim i rëndësishëm:</strong> Duhet të zgjidhni një \"token\" që lejon hyrje si administrator. WPMU-Piwik do të krijojë \"site\"-e të rinj Piwik për çdo blog, nëse është shfaqur për herë të parë dhe nuk është shtuar ende. Cilido përdorues mund të hyjë vetëm te statistikat e tij, ndërkohë që përgjegjësit e site-it mund të hyjnë në krejt statistikat. Për të shmangur përplasjet, do të duhej të përdornit një instalim nga e para të Piwik-ut, pa \"site\"-e të tjerë të shtuar. Temat e dhëna duhet të përdorin wp_footer, sepse ky shton kodin javascript Piwik te secila faqe."
|
323 |
|
324 |
+
#: wp-piwik.php:671
|
325 |
+
msgid "If you like WP-Piwik, you can support its development by a donation:"
|
326 |
+
msgstr "Nëse ju pëlqen WP-Piwik-u, zhvillimin e tij mund ta mbështesni me një dhurim:"
|
|
|
|
|
327 |
|
328 |
+
#: wp-piwik.php:687
|
329 |
+
msgid "My Amazon.de wishlist (German)"
|
330 |
+
msgstr "Lista ime e dëshirave te Amazon.de (në Gjermanisht)"
|
331 |
|
332 |
+
#. Plugin URI of the plugin/theme
|
333 |
+
msgid "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
334 |
+
msgstr "http://www.braekling.de/wp-piwik-wpmu-piwik-wordpress/"
|
335 |
|
336 |
+
#. Description of the plugin/theme
|
337 |
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
338 |
msgstr "Shton te menuja e pultit tuaj statistika Piwik dhe kodin për Piwik te \"footer\"-i juaj Wordpress."
|
339 |
|
340 |
+
#. Author of the plugin/theme
|
341 |
msgid "André Bräkling"
|
342 |
msgstr "André Bräkling"
|
343 |
|
344 |
+
#. Author URI of the plugin/theme
|
345 |
msgid "http://www.braekling.de"
|
346 |
msgstr "http://www.braekling.de"
|
347 |
|
348 |
+
msgid "Credits"
|
349 |
+
msgstr "Kredite"
|
350 |
|
351 |
+
msgid "Thank you very much for your donation"
|
352 |
+
msgstr "Shumë faleminderit për dhurimin tuaj"
|
353 |
|
354 |
+
msgid "and all people flattering this"
|
355 |
+
msgstr "dhe krejt personat që e mburrin këtë"
|
356 |
|
357 |
+
msgid "Graphs powered by <a href=\"http://www.jqplot.com/\">jqPlot</a>, an open source project by Chris Leonello. Give it a try! (License: GPL 2.0 and MIT)"
|
358 |
+
msgstr "Grafikët bazohen në <a href=\"http://www.jqplot.com/\">jqPlot</a>, një projekt me burim të hapur nga Chris Leonello. Provojeni dhe ju! (Lejuar sipas Lejesh: GPL 2.0 dhe MIT)"
|
359 |
|
360 |
+
msgid "Thank you very much"
|
361 |
+
msgstr "Shumë faleminderit"
|
362 |
+
|
363 |
+
msgid ", and"
|
364 |
+
msgstr ", dhe "
|
365 |
+
|
366 |
+
msgid "for your translation work"
|
367 |
+
msgstr "për punën tuaj në përkthim"
|
368 |
+
|
369 |
+
msgid "Thank you very much, all users who send me mails containing criticism, commendation, feature requests and bug reports! You help me to make WP-Piwik much better."
|
370 |
+
msgstr "Shumë faleminderit për krejt përdoruesit që më dërgojnë postë me kritika, lavdërime, kërkesa për karakteristika të reja dhe njoftime të metash! Ju më ndihmoni ta bëj WP-Piwik-un më të mirë."
|
371 |
+
|
372 |
+
msgid "Thank <strong>you</strong> for using my plugin. It is the best commendation if my piece of code is really used!"
|
373 |
+
msgstr "Ju faleminderit që përdorni shtojcën time. Është lavdërimi më i mirë për programin tim është përdorimi i tij!"
|
374 |
+
|
375 |
+
msgid "Changes saved"
|
376 |
+
msgstr "Ndryshimet u ruajtën"
|
377 |
+
|
378 |
+
msgid "installed"
|
379 |
+
msgstr "u instalua"
|
380 |
+
|
381 |
+
msgid "Next you should connect to Piwik"
|
382 |
+
msgstr "Më tej, lypset të lidheni te Piwik"
|
383 |
+
|
384 |
+
msgid "Please validate your configuration"
|
385 |
+
msgstr "Ju lutem, vleftësoni formësimin tuaj"
|
386 |
+
|
387 |
+
msgid "Default date"
|
388 |
+
msgstr "Data e parazgjedhur"
|
389 |
+
|
390 |
+
msgid "Default date shown on statistics page."
|
391 |
+
msgstr "Datë e parazgjedhur që tregohet te faqja e statistikave. "
|
392 |
+
|
393 |
+
msgid "Dashboard data"
|
394 |
+
msgstr "Të dhëna pulti"
|
395 |
+
|
396 |
+
msgid "Display an overview widget to your WordPress dashboard."
|
397 |
+
msgstr "Shfaqni te pulti juaj WordPress një “widget” përmbledhës."
|
398 |
+
|
399 |
+
#, fuzzy
|
400 |
+
msgid "Boad chart"
|
401 |
+
msgstr "Grafik boad"
|
402 |
+
|
403 |
+
msgid "Display a visitor graph widget to your WordPress dashboard."
|
404 |
+
msgstr "Shfaqni te pulti juaj WordPress një “widget” grafiku mbi vizitorët."
|
405 |
+
|
406 |
+
msgid "No data available."
|
407 |
+
msgstr "Pa të dhëna të passhme."
|
408 |
+
|
409 |
+
#~ msgid "Advertisement"
|
410 |
+
#~ msgstr "Reklamë"
|
411 |
+
|
412 |
+
#~ msgid "Looking for premium themes? Visit "
|
413 |
+
#~ msgstr "Po shihni për tema me pagesë? Vizitoni "
|
414 |
+
|
415 |
+
#~ msgid "Remote access to Piwik not possible. Enable allow_url_fopen or CURL."
|
416 |
+
#~ msgstr ""
|
417 |
+
#~ "Nuk arrihet hyrja e largët te Piwik. Aktivizoni allow_url_fopen ose CURL."
|
418 |
+
|
419 |
+
#~ msgid "Add script to wp_footer()"
|
420 |
+
#~ msgstr "Shtoje \"script\"-in te wp_footer()"
|
421 |
+
|
422 |
+
#~ msgid "or above"
|
423 |
+
#~ msgstr "ose sipër"
|
424 |
|
425 |
+
#~ msgid ""
|
426 |
+
#~ "WP-Piwik uses the Google Chart API to create graphs. To avoid this, just "
|
427 |
+
#~ "check this box."
|
428 |
+
#~ msgstr ""
|
429 |
+
#~ "WP-Piwik përdor Google Chart API për krijim grafiqesh. Për ta shmangur "
|
430 |
+
#~ "këtë, thjesht klikoni këtu."
|
431 |
|
432 |
+
#~ msgid "Disable Google Chart API"
|
433 |
+
#~ msgstr "Çaktivizo API Google Chart"
|
434 |
|
435 |
+
#~ msgid "Show Piwik link in overview"
|
436 |
+
#~ msgstr "Shfaq te përmbledhja lidhjen Piwik"
|
languages/wp-piwik-ua_UA.mo
ADDED
Binary file
|
languages/wp-piwik-ua_UA.po
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# WP-Piwik 0.3.0 - Belorussian language file
|
2 |
+
# Copyright (C) 2009 Andre Braekling
|
3 |
+
# This file is distributed under the same license as the WP-Piwik package.
|
4 |
+
# Andre Braekling <webmaster@braekling.de>, 2009.
|
5 |
+
# FatCow http://www.fatcow.com, 2009.
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: 0.3.0\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-piwik\n"
|
10 |
+
"POT-Creation-Date: 2009-06-09 19:05+0000\n"
|
11 |
+
"PO-Revision-Date: 2011-07-07 22:43+0200\n"
|
12 |
+
"Last-Translator: Alexandr <pixelpwnz@gmail.com>\n"
|
13 |
+
"Language-Team: Alyona Lompar <alyona.lompar@aol.com>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-Language: Ukrainian\n"
|
18 |
+
"X-Poedit-Country: UKRAINE\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
|
21 |
+
#: dashboard/browsers.php:8
|
22 |
+
#: dashboard/browsers.php:37
|
23 |
+
msgid "Browser"
|
24 |
+
msgstr "Браузер"
|
25 |
+
|
26 |
+
msgid "Resolution"
|
27 |
+
msgstr "Розширення"
|
28 |
+
|
29 |
+
msgid "Operating System"
|
30 |
+
msgstr "Операційна система"
|
31 |
+
|
32 |
+
#: dashboard/browsers.php:37
|
33 |
+
#: dashboard/keywords.php:13
|
34 |
+
#: dashboard/visitors.php:56
|
35 |
+
#: dashboard/websites.php:13
|
36 |
+
msgid "Unique"
|
37 |
+
msgstr "Унікальність"
|
38 |
+
|
39 |
+
#: dashboard/browsers.php:37
|
40 |
+
msgid "Percent"
|
41 |
+
msgstr "Відсотків"
|
42 |
+
|
43 |
+
#: dashboard/keywords.php:8
|
44 |
+
msgid "Keywords"
|
45 |
+
msgstr "Ключові слова"
|
46 |
+
|
47 |
+
#: dashboard/keywords.php:13
|
48 |
+
msgid "Keyword"
|
49 |
+
msgstr "Ключове слово"
|
50 |
+
|
51 |
+
#: dashboard/overview.php:8
|
52 |
+
msgid "Overview"
|
53 |
+
msgstr "Опис"
|
54 |
+
|
55 |
+
#: dashboard/overview.php:16
|
56 |
+
#: dashboard/visitors.php:21
|
57 |
+
msgid "Visitors"
|
58 |
+
msgstr "Відвідувачів"
|
59 |
+
|
60 |
+
#: dashboard/overview.php:17
|
61 |
+
msgid "Unique visitors"
|
62 |
+
msgstr "Унікальних відвідувачів"
|
63 |
+
|
64 |
+
#: dashboard/overview.php:18
|
65 |
+
msgid "Page views"
|
66 |
+
msgstr "Переглядів сторінки"
|
67 |
+
|
68 |
+
#: dashboard/overview.php:19
|
69 |
+
msgid "Max. page views in one visit"
|
70 |
+
msgstr "Макс. Сторінок переглянуто за один візит"
|
71 |
+
|
72 |
+
#: dashboard/overview.php:20
|
73 |
+
msgid "Total time spent by visitors"
|
74 |
+
msgstr "Всього часу, проведеного відвідувачем"
|
75 |
+
|
76 |
+
#: dashboard/overview.php:21
|
77 |
+
msgid "Bounce count"
|
78 |
+
msgstr "Кількість відмов"
|
79 |
+
|
80 |
+
#: dashboard/visitors.php:56
|
81 |
+
msgid "Date"
|
82 |
+
msgstr "Дата"
|
83 |
+
|
84 |
+
#: dashboard/visitors.php:56
|
85 |
+
msgid "Visits"
|
86 |
+
msgstr "Візитів"
|
87 |
+
|
88 |
+
#: dashboard/visitors.php:56
|
89 |
+
msgid "Bounced"
|
90 |
+
msgstr "Відмов"
|
91 |
+
|
92 |
+
#: dashboard/websites.php:8
|
93 |
+
msgid "Websites"
|
94 |
+
msgstr "Сайтів"
|
95 |
+
|
96 |
+
#: dashboard/websites.php:13
|
97 |
+
msgid "Website"
|
98 |
+
msgstr "Вебсайт"
|
99 |
+
|
100 |
+
#: wp-piwik.php:49
|
101 |
+
#: wp-piwik.php:147
|
102 |
+
msgid "Piwik Statistics"
|
103 |
+
msgstr "Piwik статистика"
|
104 |
+
|
105 |
+
#. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
|
106 |
+
#. Plugin Name of an extension
|
107 |
+
#: wp-piwik.php:49
|
108 |
+
msgid "WP-Piwik"
|
109 |
+
msgstr "WP-Piwik"
|
110 |
+
|
111 |
+
#: wp-piwik.php:53
|
112 |
+
#: wp-piwik.php:185
|
113 |
+
msgid "WP-Piwik Settings"
|
114 |
+
msgstr "WP-Piwik налаштування"
|
115 |
+
|
116 |
+
#: wp-piwik.php:59
|
117 |
+
msgid "Settings"
|
118 |
+
msgstr "Настройки"
|
119 |
+
|
120 |
+
#: wp-piwik.php:112
|
121 |
+
msgid "Remote access to Piwik not possible. Enable allow_url_fopen or CURL."
|
122 |
+
msgstr "Віддалений доступ до Piwik неможливий. Увімкніть allow_url_fopen або CURL."
|
123 |
+
|
124 |
+
#: wp-piwik.php:190
|
125 |
+
msgid "Account settings"
|
126 |
+
msgstr "Параметри облікового запису"
|
127 |
+
|
128 |
+
#: wp-piwik.php:192
|
129 |
+
msgid "Piwik URL"
|
130 |
+
msgstr "Piwik URL"
|
131 |
+
|
132 |
+
#: wp-piwik.php:196
|
133 |
+
msgid "Auth token"
|
134 |
+
msgstr "Авто token"
|
135 |
+
|
136 |
+
#: wp-piwik.php:200
|
137 |
+
msgid "To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef"."
|
138 |
+
msgstr "Для того щоб увімкнути Piwik статистику, будь ласка, введіть Ваш Piwik Базовий URL (наприклад, http://mydomain.com/piwik), і ваш особистий знак автентичності. Ви можете отримати знак на сторінці API всередині інтерфейсу Piwik. Він має вигляд як цей "1234a5cd6789e0a12345b678cd9012ef"."
|
139 |
+
|
140 |
+
#: wp-piwik.php:205
|
141 |
+
#: wp-piwik.php:207
|
142 |
+
msgid "An error occured"
|
143 |
+
msgstr "Сталася помилка"
|
144 |
+
|
145 |
+
#: wp-piwik.php:205
|
146 |
+
msgid "Please check URL and auth token. You need at least view access to one site."
|
147 |
+
msgstr "Будь ласка, перевірте URL та AUTH маркер. Вам потрібно мінімум відкрити доступ до одного сайту."
|
148 |
+
|
149 |
+
#: wp-piwik:php:215
|
150 |
+
msgid "Choose site"
|
151 |
+
msgstr "Вибрати сайт"
|
152 |
+
|
153 |
+
#: wp-piwik.php:221
|
154 |
+
msgid "If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog."
|
155 |
+
msgstr "Якщо в шаблоні використовуються wp_footer (), WP-Piwik може автоматично додати Piwik JavaScript код до вашого блогу."
|
156 |
+
|
157 |
+
#: wp-piwik.php:226
|
158 |
+
msgid "Add script to wp_footer()"
|
159 |
+
msgstr "Додати скрипт в wp_footer ()"
|
160 |
+
|
161 |
+
msgid "Tracking filter"
|
162 |
+
msgstr "Слідкуючий фільтр"
|
163 |
+
|
164 |
+
msgid "Choose users by user role you do <strong>not</strong> want to track. Requires enabled "Add script to wp_footer()"-functionality."
|
165 |
+
msgstr "Виберіть користувачів з користувачів, які<strong> не </ STRONG>потрібно відстежувати. Повинен бути ввімкнений функціонал "Add script to wp_footer()"."
|
166 |
+
|
167 |
+
#: wp-piwik.php:229
|
168 |
+
msgid "Save settings"
|
169 |
+
msgstr "Зберегти налаштування"
|
170 |
+
|
171 |
+
#. Plugin URI of an extension
|
172 |
+
msgid "http://dev.braekling.de/wordpress-plugins/dev/wp-piwik/index.html"
|
173 |
+
msgstr "http://dev.braekling.de/wordpress-plugins/dev/wp-piwik/index.html"
|
174 |
+
|
175 |
+
#. Description of an extension
|
176 |
+
msgid "Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer."
|
177 |
+
msgstr "Додає Piwik статистику до меню панелі інструментів і Piwik код до WordPress колонтитула."
|
178 |
+
|
179 |
+
#. Author of an extension
|
180 |
+
msgid "André Bräkling"
|
181 |
+
msgstr "André Bräkling"
|
182 |
+
|
183 |
+
#. Author URI of an extension
|
184 |
+
msgid "http://www.braekling.de"
|
185 |
+
msgstr "http://www.braekling.de"
|
186 |
+
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
|
3 |
Contributors: Braekling
|
4 |
Requires at least: 3.3
|
5 |
-
Tested up to: 3.3.
|
6 |
-
Stable tag: 0.9.
|
7 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
|
8 |
Tags: statistics, stats, analytics, piwik, wpmu
|
9 |
|
@@ -19,7 +19,7 @@ Look at the [Piwik website](http://piwik.org/) to get further information about
|
|
19 |
|
20 |
*This plugin is not created or provided by the Piwik project team.*
|
21 |
|
22 |
-
Languages: English, German, Albanian, Azerbaijani, Belorussian, Dutch, French, Greek, Russian, Swedish,
|
23 |
|
24 |
*Note: If you vote "It's broken", please tell me about your problem. It's hard to fix a bug I don't know about! ;-)*
|
25 |
|
@@ -31,15 +31,7 @@ See section "Installation".
|
|
31 |
|
32 |
* Graphs powered by [jqPlot](http://www.jqplot.com/), an open source project by Chris Leonello. Give it a try! (GPL 2.0 and MIT)
|
33 |
* Metabox support inspired by [Heiko Rabe's metabox demo plugin](http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins).
|
34 |
-
*
|
35 |
-
* Azerbaijani [az_AZ] language file by [Galina Miklosic](http://www.webhostinggeeks.com).
|
36 |
-
* Belorussian [be_BY] language file by [FatCow](http://www.fatcow.com/).
|
37 |
-
* Dutch [nl_NL] language file by [Rene](http://www.pamukkaleturkey.com/).
|
38 |
-
* French [fr_FR] language file by Fab.
|
39 |
-
* Greek [gr_GR] language file by [AggelioPolis](http://www.aggeliopolis.gr).
|
40 |
-
* Russian [ru_RU] language file by [Natalya](http://www.luxpar.de).
|
41 |
-
* Swedish [sv_SE] language file by [EzBizNiz](http://ezbizniz.com/).
|
42 |
-
* Norwegian [nb_NO] language file by Gormer.
|
43 |
* Donations: Marco L., Rolf W., Tobias U., Lars K., Donna F., Kevin D., Ramos S, the Piwik team itself, and all people flattering this.
|
44 |
* All users who send me mails containing criticism, commendation, feature requests and bug reports - you help me to make WP-Piwik much better!
|
45 |
|
@@ -83,6 +75,21 @@ Add WP-Piwik to your /wp-content/plugins folder and enable it as [Network Plugin
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
= 0.9.1 =
|
87 |
* Bugfix: Usage as "Site Specific Plugin" [mixed up the different sites settings](http://wordpress.org/support/topic/plugin-wp-piwik-as-simple-plugin-with-multisite-fills-auth-with-last-used-token) (network mode)
|
88 |
* Hotfix: Avoid "Unknown site/blog" message without giving a chance to choose an existing site. Thank you, Taimon!
|
2 |
|
3 |
Contributors: Braekling
|
4 |
Requires at least: 3.3
|
5 |
+
Tested up to: 3.3.2
|
6 |
+
Stable tag: 0.9.3
|
7 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6046779
|
8 |
Tags: statistics, stats, analytics, piwik, wpmu
|
9 |
|
19 |
|
20 |
*This plugin is not created or provided by the Piwik project team.*
|
21 |
|
22 |
+
Languages: English, German, Albanian, Azerbaijani, Belorussian, Dutch, French, Greek, Lithuanian, Norwegian, Persian, Romanian, Russian, Spanish, Swedish, Ukrainian
|
23 |
|
24 |
*Note: If you vote "It's broken", please tell me about your problem. It's hard to fix a bug I don't know about! ;-)*
|
25 |
|
31 |
|
32 |
* Graphs powered by [jqPlot](http://www.jqplot.com/), an open source project by Chris Leonello. Give it a try! (GPL 2.0 and MIT)
|
33 |
* Metabox support inspired by [Heiko Rabe's metabox demo plugin](http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins).
|
34 |
+
* Translation credits see plugin settings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
* Donations: Marco L., Rolf W., Tobias U., Lars K., Donna F., Kevin D., Ramos S, the Piwik team itself, and all people flattering this.
|
36 |
* All users who send me mails containing criticism, commendation, feature requests and bug reports - you help me to make WP-Piwik much better!
|
37 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 0.9.3 =
|
79 |
+
* Bugfix: Adding a new site will work again.
|
80 |
+
|
81 |
+
= 0.9.2 =
|
82 |
+
* Uses $wpdb->blogs instead of $wpdb->prefix.'blogs' to keep it compatible to different database plugins
|
83 |
+
* Bugfix: SEO dashboard widget will work even if "last 30" is selected
|
84 |
+
* Bugfix: New created blogs won't show "Please specify a value for 'idSite'." anymore.
|
85 |
+
* Bugfix: New network sites without title will be created
|
86 |
+
* Bugfix: Upgrading from old versions will work again
|
87 |
+
* Tabbed settings
|
88 |
+
* Debug tools added (testscript, site configuration overview and WP-Piwik reset)
|
89 |
+
* Support forum RSS feed
|
90 |
+
* Language updates
|
91 |
+
* Optionally use of set_time_limit(0) on stats page time out
|
92 |
+
|
93 |
= 0.9.1 =
|
94 |
* Bugfix: Usage as "Site Specific Plugin" [mixed up the different sites settings](http://wordpress.org/support/topic/plugin-wp-piwik-as-simple-plugin-with-multisite-fills-auth-with-last-used-token) (network mode)
|
95 |
* Hotfix: Avoid "Unknown site/blog" message without giving a chance to choose an existing site. Thank you, Taimon!
|
settings/.htaccess
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
Deny from all
|
settings/credits.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<tr>
|
2 |
+
<td>
|
3 |
+
<strong><?php _e('Thank you very much for your donation', 'wp-piwik'); ?>:</strong> Marco L., Rolf W., Tobias U., Lars K., Donna F., Kevin D., Ramos S., <?php _e('the Piwik team itself','wp-piwik');?><?php _e(', and all people flattering this','wp-piwik'); ?>!
|
4 |
+
</td>
|
5 |
+
</tr>
|
6 |
+
<tr>
|
7 |
+
<td>
|
8 |
+
<?php _e('Graphs powered by <a href="http://www.jqplot.com/">jqPlot</a>, an open source project by Chris Leonello. Give it a try! (License: GPL 2.0 and MIT)','wp-piwik'); ?>
|
9 |
+
</td>
|
10 |
+
</tr>
|
11 |
+
<tr>
|
12 |
+
<td>
|
13 |
+
<?php _e('Metabox support inspired by', 'wp-piwik'); echo ' <a href="http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins">Heiko Rabe\'s metabox demo plugin</a>.';?>
|
14 |
+
<?php _e('Tabbed settings page suggested by the', 'wp-piwik'); echo' <a href="http://wp.smashingmagazine.com/2011/10/20/create-tabs-wordpress-settings-pages/">Smashing Magazine</a>.';?>
|
15 |
+
</td>
|
16 |
+
</tr>
|
17 |
+
<tr>
|
18 |
+
<td>
|
19 |
+
<?php _e('Thank you very much','wp-piwik'); ?>, <a href="http://blogu.programeshqip.org/">Besnik Bleta</a>, <a href="http://www.fatcow.com/">FatCow</a>, <a href="http://www.pamukkaleturkey.com/">Rene</a>, Fab, <a href="http://ezbizniz.com/">EzBizNiz</a>, Gormer, Natalya, <a href="www.aggeliopolis.gr">AggelioPolis</a><?php _e(', and', 'wp-piwik'); ?> <a href="http://wwww.webhostinggeeks.com">Web Hosting Geeks</a>, <a href="http://www.webhostingrating.com">Web Hosting Rating</a>, <a href="http://www.webhostinghub.com">Nata Strazda (Web Hosting Hub)</a>, <a href="http://www.libreoffice.ir">Hossein, LibreOffice localization team</a> <?php _e('for your translation work','wp-piwik'); ?>!
|
20 |
+
</td>
|
21 |
+
</tr>
|
22 |
+
<tr>
|
23 |
+
<td>
|
24 |
+
<?php _e('Thank you very much, all users who send me mails containing criticism, commendation, feature requests and bug reports! You help me to make WP-Piwik much better.','wp-piwik'); ?>
|
25 |
+
</td>
|
26 |
+
</tr>
|
27 |
+
<tr>
|
28 |
+
<td>
|
29 |
+
<?php _e('Thank <strong>you</strong> for using my plugin. It is the best commendation if my piece of code is really used!','wp-piwik'); ?>
|
30 |
+
</td>
|
31 |
+
</tr>
|
settings/homepage.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$strVersion = $this->callPiwikAPI('ExampleAPI.getPiwikVersion');
|
3 |
+
// http://wordpress.org/support/rss/tags/wp-piwik
|
4 |
+
?><tr><td><strong><?php _e('Thanks for using WP-Piwik!', 'wp-piwik'); ?></strong></td></tr>
|
5 |
+
<tr><td><?php
|
6 |
+
if (is_array($strVersion) && $strVersion['result'] == 'error') self::showErrorMessage($strVersion['message']);
|
7 |
+
elseif (empty($strVersion)) self::showErrorMessage('Piwik did not answer. Please check your entered Piwik URL.');
|
8 |
+
else echo __('You are using Piwik','wp-piwik').' '.$strVersion.' '.__('and', 'wp-piwik').' WP-Piwik '.self::$strVersion.(is_plugin_active_for_network('wp-piwik/wp-piwik.php')?' '.__('in network mode'):'').'.';
|
9 |
+
?></td></tr>
|
10 |
+
<tr><td><?php _e('Auto site configuration is','wp-piwik'); ?> <strong><?php echo (self::$aryGlobalSettings['auto_site_config']?__('enabled','wp-piwik'):__('disabled','wp-piwik')); ?>.</strong></td></tr>
|
11 |
+
<tr><td><?php _e('Tracking code insertion is','wp-piwik'); ?> <strong><?php echo (self::$aryGlobalSettings['add_tracking_code']?__('enabled','wp-piwik'):__('disabled','wp-piwik')); ?>.</strong></td></tr>
|
settings/piwik.php
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$bolCURL = function_exists('curl_init');
|
3 |
+
$bolFOpen = ini_get('allow_url_fopen');
|
4 |
+
if (!$bolFOpen && !$bolCURL) {
|
5 |
+
?><tr>
|
6 |
+
<td colspan="2">
|
7 |
+
<strong><?php _e('Error: cURL is not enabled and fopen is not allowed to open URLs. WP-Piwik won\'t be able to connect to Piwik.'); ?></strong>
|
8 |
+
</td>
|
9 |
+
</tr><?php } else { ?><tr>
|
10 |
+
<th colspan="2">
|
11 |
+
<?php _e('To enable Piwik statistics, please enter your Piwik base URL (like http://mydomain.com/piwik) and your personal authentification token. You can get the token on the API page inside your Piwik interface. It looks like "1234a5cd6789e0a12345b678cd9012ef".', 'wp-piwik'); ?>
|
12 |
+
</th>
|
13 |
+
</tr><?php if (!is_plugin_active_for_network('wp-piwik/wp-piwik.php')) { ?><tr>
|
14 |
+
<th colspan="2">
|
15 |
+
<?php _e('<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database.', 'wp-piwik'); ?>
|
16 |
+
</th>
|
17 |
+
</tr><?php } ?><tr>
|
18 |
+
<th><?php _e('Piwik URL', 'wp-piwik'); ?>:</th>
|
19 |
+
<td>
|
20 |
+
<input id="wp-piwik_url" name="wp-piwik_url" type="text" value="<?php echo self::$aryGlobalSettings['piwik_url']; ?>" />
|
21 |
+
<label for="wp-piwik_url"></label>
|
22 |
+
</td>
|
23 |
+
</tr><tr>
|
24 |
+
<th><?php _e('Auth token', 'wp-piwik'); ?>:</th>
|
25 |
+
<td>
|
26 |
+
<input name="wp-piwik_token" id="wp-piwik_token" type="text" value="<?php echo self::$aryGlobalSettings['piwik_token']; ?>" />
|
27 |
+
<label for="wp-piwik_token"></label>
|
28 |
+
</td>
|
29 |
+
</tr><?php if (!is_plugin_active_for_network('wp-piwik/wp-piwik.php')) { ?><tr>
|
30 |
+
<th><?php _e('Auto config', 'wp-piwik'); ?>:</th>
|
31 |
+
<td>
|
32 |
+
<input name="wp-piwik_auto_site_config" id="wp-piwik_auto_site_config" value="1" type="checkbox"<?php echo (self::$aryGlobalSettings['auto_site_config']?' checked="checked"':'') ?>/>
|
33 |
+
<label for="wp-piwik_auto_site_config"><?php _e('Check this to automatically choose your blog from your Piwik sites by URL. If your blog is not added to Piwik yet, WP-Piwik will add a new site.', 'wp-piwik') ?></label>
|
34 |
+
</td>
|
35 |
+
</tr>
|
36 |
+
<?php
|
37 |
+
if (!empty(self::$aryGlobalSettings['piwik_url']) && !empty(self::$aryGlobalSettings['piwik_token'])) {
|
38 |
+
$aryData = $this->callPiwikAPI('SitesManager.getSitesWithAtLeastViewAccess');
|
39 |
+
if (empty($aryData)) {
|
40 |
+
echo '<tr><td colspan="2">';
|
41 |
+
self::showErrorMessage(__('Please check URL and auth token. You need at least view access to one site.', 'wp-piwik'));
|
42 |
+
echo '</td></tr>';
|
43 |
+
}
|
44 |
+
elseif (isset($aryData['result']) && $aryData['result'] == 'error') {
|
45 |
+
echo '<tr><td colspan="2">';
|
46 |
+
self::showErrorMessage($aryData['message']);
|
47 |
+
echo '</td></tr>';
|
48 |
+
} else if (!self::$aryGlobalSettings['auto_site_config']) {
|
49 |
+
echo '<tr><th>'.__('Choose site', 'wp-piwik').':</th><td>';
|
50 |
+
echo '<select name="wp-piwik_siteid" id="wp-piwik_siteid">';
|
51 |
+
$aryOptions = array();
|
52 |
+
foreach ($aryData as $arySite)
|
53 |
+
$aryOptions[$arySite['name'].'#'.$arySite['idsite']] = '<option value="'.$arySite['idsite'].
|
54 |
+
'"'.($arySite['idsite']==self::$arySettings['site_id']?' selected="selected"':'').
|
55 |
+
'>'.htmlentities($arySite['name'], ENT_QUOTES, 'utf-8').
|
56 |
+
'</option>';
|
57 |
+
ksort($aryOptions);
|
58 |
+
foreach ($aryOptions as $strOption) echo $strOption;
|
59 |
+
echo '</select></td></tr>';
|
60 |
+
} else {
|
61 |
+
echo '<tr><th>'.__('Determined site', 'wp-piwik').':</th><td>';
|
62 |
+
echo '<div class="input-text-wrap">';
|
63 |
+
foreach ($aryData as $arySite)
|
64 |
+
if ($arySite['idsite'] == self::$arySettings['site_id']) {echo '<em>'.htmlentities($arySite['name'], ENT_QUOTES, 'utf-8').'</em>'; break;}
|
65 |
+
echo '<input type="hidden" name="wp-piwik_siteid" id="wp-piwik_siteid" value="'.self::$arySettings['site_id'].'" /></td></tr>';
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}}?>
|
settings/sitebrowser.php
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$bolCURL = function_exists('curl_init');
|
3 |
+
$bolFOpen = ini_get('allow_url_fopen');
|
4 |
+
if (!$bolFOpen && !$bolCURL) {
|
5 |
+
?><tr>
|
6 |
+
<td colspan="2">
|
7 |
+
<strong><?php _e('Error: cURL is not enabled and fopen is not allowed to open URLs. WP-Piwik won\'t be able to connect to Piwik.'); ?></strong>
|
8 |
+
</td>
|
9 |
+
</tr><?php } else { ?>
|
10 |
+
</table>
|
11 |
+
<?php
|
12 |
+
if (!class_exists('WP_List_Table'))
|
13 |
+
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
14 |
+
|
15 |
+
if (isset($_GET['wpmu_show_stats']) && ($_GET['wpmu_show_stats'] == (int) $_GET['wpmu_show_stats']))
|
16 |
+
$this->addPiwikSite();
|
17 |
+
|
18 |
+
// See wpengineer.com/2426/wp_list_table-a-step-by-step-guide/
|
19 |
+
class SiteBrowser extends WP_List_Table {
|
20 |
+
|
21 |
+
var $aryData = array();
|
22 |
+
|
23 |
+
function get_columns(){
|
24 |
+
$columns = array(
|
25 |
+
'id' => 'ID',
|
26 |
+
'name' => 'Title',
|
27 |
+
'siteurl' => 'URL',
|
28 |
+
'piwikid' => 'Site ID (Piwik)'
|
29 |
+
);
|
30 |
+
return $columns;
|
31 |
+
}
|
32 |
+
|
33 |
+
function prepare_items() {
|
34 |
+
$current_page = $this->get_pagenum();
|
35 |
+
$per_page = 10;
|
36 |
+
global $blog_id;
|
37 |
+
global $wpdb;
|
38 |
+
global $pagenow;
|
39 |
+
if (is_plugin_active_for_network('wp-piwik/wp-piwik.php')) {
|
40 |
+
$total_items = $wpdb->get_var( $wpdb->prepare('SELECT COUNT(*) FROM '.$wpdb->blogs));
|
41 |
+
$aryBlogs = $wpdb->get_results($wpdb->prepare('SELECT blog_id FROM '.$wpdb->blogs.' ORDER BY blog_id LIMIT '.(($current_page-1)*$per_page).','.$per_page));
|
42 |
+
foreach ($aryBlogs as $aryBlog) {
|
43 |
+
$objBlog = get_blog_details($aryBlog->blog_id, true);
|
44 |
+
$this->aryData[] = array(
|
45 |
+
'name' => $objBlog->blogname,
|
46 |
+
'id' => $objBlog->blog_id,
|
47 |
+
'siteurl' => $objBlog->siteurl,
|
48 |
+
'piwikid' => WP_Piwik::getSiteID($objBlog->blog_id)
|
49 |
+
);
|
50 |
+
}
|
51 |
+
} else {
|
52 |
+
$objBlog = get_bloginfo();
|
53 |
+
$this->aryData[] = array(
|
54 |
+
'name' => get_bloginfo('name'),
|
55 |
+
'id' => '-',
|
56 |
+
'siteurl' => get_bloginfo('url'),
|
57 |
+
'piwikid' => WP_Piwik::getSiteID()
|
58 |
+
);
|
59 |
+
$total_items = 1;
|
60 |
+
}
|
61 |
+
$columns = $this->get_columns();
|
62 |
+
$hidden = array();
|
63 |
+
$sortable = array();
|
64 |
+
$this->_column_headers = array($columns, $hidden, $sortable);
|
65 |
+
$this->set_pagination_args(array(
|
66 |
+
'total_items' => $total_items,
|
67 |
+
'per_page' => $per_page
|
68 |
+
));
|
69 |
+
foreach ($this->aryData as $intKey => $aryDataset)
|
70 |
+
if (empty($aryDataset['piwikid']))
|
71 |
+
$this->aryData[$intKey]['piwikid'] = '<a href="'.admin_url(($pagenow == 'settings.php'?'network/':'')).$pagenow.'?page=wp-piwik/wp-piwik.php&tab=sitebrowser'.($aryDataset['id'] != '-'?'&wpmu_show_stats='.$aryDataset['id']:'').'">Create Piwik site</a>';
|
72 |
+
$this->items = $this->aryData;
|
73 |
+
return count($this->items);
|
74 |
+
}
|
75 |
+
|
76 |
+
function column_default( $item, $column_name ) {
|
77 |
+
switch( $column_name ) {
|
78 |
+
case 'id':
|
79 |
+
case 'name':
|
80 |
+
case 'siteurl':
|
81 |
+
case 'piwikid':
|
82 |
+
return $item[$column_name];
|
83 |
+
default:
|
84 |
+
return print_r($item,true);
|
85 |
+
}
|
86 |
+
}
|
87 |
+
}
|
88 |
+
$objSiteBrowser = new SiteBrowser();
|
89 |
+
$intCnt = $objSiteBrowser->prepare_items();
|
90 |
+
if ($intCnt > 0) $objSiteBrowser->display();
|
91 |
+
else echo '<p>No site configured yet.</p>'
|
92 |
+
?>
|
93 |
+
<table>
|
94 |
+
<?php } ?>
|
settings/support.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<tr>
|
2 |
+
<td><a href="http://peepbo.de/board/viewforum.php?f=3"><?php _e('WP-Piwik support board','wp-piwik'); ?></a> (<?php _e('no registration required, English & German','wp-piwik'); ?>)</td>
|
3 |
+
</tr>
|
4 |
+
<tr>
|
5 |
+
<td><a href="http://wordpress.org/tags/wp-piwik?forum_id=10"><?php _e('WordPress.org forum about WP-Piwik','wp-piwik'); ?></a> (<?php _e('WordPress.org registration required, English','wp-piwik'); ?>)</td>
|
6 |
+
</tr>
|
7 |
+
<tr>
|
8 |
+
<td><?php _e('Please don\'t forget to vote the compatibility at the','wp-piwik'); ?> <a href="http://wordpress.org/extend/plugins/wp-piwik/">WordPress.org Plugin Directory</a>.</td>
|
9 |
+
</tr>
|
10 |
+
<tr>
|
11 |
+
<td>
|
12 |
+
<h3><?php _e('Debugging', 'wp-piwik'); ?></h3>
|
13 |
+
<p><?php _e('Either allow_url_fopen has to be enabled <em>or</em> cURL has to be available:') ?></p>
|
14 |
+
<ol>
|
15 |
+
<li><?php
|
16 |
+
_e('cURL is','wp-piwik');
|
17 |
+
echo ' <strong>'.(function_exists('curl_init')?'':__('not','wp-piwik')).' ';
|
18 |
+
_e('available','wp-piwik');
|
19 |
+
?></strong>.</li>
|
20 |
+
<li><?php
|
21 |
+
_e('allow_url_fopen is','wp-piwik');
|
22 |
+
echo ' <strong>'.(ini_get('allow_url_fopen')?'':__('not','wp-piwik')).' ';
|
23 |
+
_e('enabled','wp-piwik');
|
24 |
+
?></strong>.</li>
|
25 |
+
</ol>
|
26 |
+
<?php if (!(empty(self::$aryGlobalSettings['piwik_token']) || empty(self::$aryGlobalSettings['piwik_url']))) { ?>
|
27 |
+
<?php
|
28 |
+
if (isset($_GET['mode'])) {
|
29 |
+
switch ($_GET['mode']) {
|
30 |
+
case 'testscript':
|
31 |
+
echo '<p><strong>'.__('Test script result','wp-piwik').'</strong></p>';
|
32 |
+
self::loadTestscript();
|
33 |
+
break;
|
34 |
+
case 'reset':
|
35 |
+
echo '<p><strong class="wp-piwik-error">'.__('Please confirm your reset request','wp-piwik').':</strong> <a href="?page=wp-piwik/wp-piwik.php&tab=support&mode=resetconfirmed">'.__('YES, please reset <strong>all</strong> WP-Piwik settings <strong>except</strong> auth token and Piwi URL.', 'wp-piwik').'</a></p>';
|
36 |
+
break;
|
37 |
+
case 'resetconfirmed':
|
38 |
+
// Increase time limit before resetting
|
39 |
+
set_time_limit(0);
|
40 |
+
self::resetSettings();
|
41 |
+
echo '<p><strong>'.__('WP-Piwik reset done','wp-piwik').'</p>';
|
42 |
+
default:
|
43 |
+
}
|
44 |
+
}
|
45 |
+
?>
|
46 |
+
<p><strong><?php _e('Get more debug information', 'wp-piwik'); ?>:</strong></p>
|
47 |
+
<ol>
|
48 |
+
<li><a href="?page=wp-piwik/wp-piwik.php&tab=support&mode=testscript"><?php _e('Run test script','wp-piwik'); ?></a></li>
|
49 |
+
<li><a href="?page=wp-piwik/wp-piwik.php&tab=sitebrowser"><?php _e('Get site configuration details','wp-piwik'); ?></a></li>
|
50 |
+
<li><a href="?page=wp-piwik/wp-piwik.php&tab=support&mode=reset"><?php _e('Reset WP-Piwik settings except auth token and Piwik URL','wp-piwik'); ?></a> (<?php _e('This will not affect Piwik itself. Resetting large networks may take some minutes.', 'wp-piwik'); ?>)</li>
|
51 |
+
</ol>
|
52 |
+
<?php } else echo '<p>'.__('You have to enter your auth token and the Piwik URL before you can access more debug functions.', 'wp-piwik').'</p>'; ?>
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
<tr><td><h3><?php _e('Latest support threads on WordPress.org', 'wp-piwik'); ?></h3>
|
56 |
+
<?php
|
57 |
+
$arySupportThreads = self::readRSSFeed('http://wordpress.org/support/rss/tags/wp-piwik');
|
58 |
+
if (!empty($arySupportThreads)) {
|
59 |
+
echo '<ol>';
|
60 |
+
foreach ($arySupportThreads as $arySupportThread) echo '<li><a href="'.$arySupportThread['url'].'">'.$arySupportThread['title'].'</a></li>';
|
61 |
+
echo '</ol>';
|
62 |
+
}
|
63 |
+
?></td></tr>
|
settings/tracking.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$bolCURL = function_exists('curl_init');
|
3 |
+
$bolFOpen = ini_get('allow_url_fopen');
|
4 |
+
if (!$bolFOpen && !$bolCURL) {
|
5 |
+
?><tr>
|
6 |
+
<td colspan="2">
|
7 |
+
<strong><?php _e('Error: cURL is not enabled and fopen is not allowed to open URLs. WP-Piwik won\'t be able to connect to Piwik.'); ?></strong>
|
8 |
+
</td>
|
9 |
+
</tr><?php } else { ?>
|
10 |
+
<tr><th><?php _e('Add tracking code', 'wp-piwik'); ?>:</th><td>
|
11 |
+
<input
|
12 |
+
onchange="javascript:$j('#wp-piwik-tracking-settings').toggleClass('wp-piwik-form-table-hide');"
|
13 |
+
type="checkbox" value="1" id="wp-piwik_addjs" name="wp-piwik_addjs"<?php echo (self::$aryGlobalSettings['add_tracking_code']?' checked="checked"':''); ?> />
|
14 |
+
<label for="wp-piwik_addjs"><?php _e('If your template uses wp_footer(), WP-Piwik can automatically add the Piwik javascript code to your blog.', 'wp-piwik'); ?></label>
|
15 |
+
</td></tr>
|
16 |
+
</table>
|
17 |
+
<?php
|
18 |
+
if (self::$aryGlobalSettings['add_tracking_code']) {
|
19 |
+
$strJavaScript = html_entity_decode($this->callPiwikAPI('SitesManager.getJavascriptTag'));
|
20 |
+
// Change Tracking code if configured
|
21 |
+
$strJavaScript = $this->applyJSCodeChanges($strJavaScript);
|
22 |
+
// Save javascript code
|
23 |
+
self::$arySettings['tracking_code'] = $strJavaScript;
|
24 |
+
self::saveSettings();
|
25 |
+
}
|
26 |
+
?>
|
27 |
+
<table id="wp-piwik-tracking-settings" class="wp-piwik-form-table form-table<?php echo (!self::$aryGlobalSettings['add_tracking_code']?' wp-piwik-form-table-hide':''); ?>">
|
28 |
+
<tr><th><?php _e('Tracking code preview', 'wp-piwik'); ?>:</th><td>
|
29 |
+
<textarea id="wp-piwik_jscode" name="wp-piwik_jscode" readonly="readonly" rows="13" cols="100">
|
30 |
+
<?php echo (is_plugin_active_for_network('wp-piwik/wp-piwik.php')?'*** SITE SPECIFIC EXAMPLE CODE ***'."\n":'').htmlentities(self::$arySettings['tracking_code']); ?>
|
31 |
+
</textarea>
|
32 |
+
</td></tr>
|
33 |
+
<tr><th><?php _e('Track 404', 'wp-piwik'); ?>:</th><td>
|
34 |
+
<input type="checkbox" value="1" id="wp-piwik_404" name="wp-piwik_404"<?php echo (self::$aryGlobalSettings['track_404']?' checked="checked"':''); ?> />
|
35 |
+
<label for="wp-piwik_404"><?php echo _e('WP-Piwik can automatically add a 404-category to track 404-page-visits.', 'wp-piwik'); ?></label>
|
36 |
+
</td></tr>
|
37 |
+
<tr><th><?php _e('Use js/index.php', 'wp-piwik'); ?>:</th><td>
|
38 |
+
<input type="checkbox" value="1" id="wp-piwik_compress" name="wp-piwik_compress"<?php echo (self::$aryGlobalSettings['track_compress']?' checked="checked"':''); ?> />
|
39 |
+
<label for="wp-piwik_compress"><?php _e('WP-Piwik can automatically use js/index.php instead of piwik.js. See', 'wp-piwik'); ?> <a href="http://demo.piwik.org/js/README">js/README</a>.</label>
|
40 |
+
</td></tr>
|
41 |
+
<tr><th><?php _e('Avoid mod_security', 'wp-piwik'); ?>:</th><td>
|
42 |
+
<input type="checkbox" value="1" id="wp-piwik_reqpost" name="wp-piwik_reqpost"<?php echo (self::$aryGlobalSettings['track_post']?' checked="checked"':''); ?> />
|
43 |
+
<label for="wp-piwik_reqpost"><?php _e('WP-Piwik can automatically force the Tracking Code to sent data in POST. See', 'wp-piwik'); ?> <a href="http://piwik.org/faq/troubleshooting/#faq_100">Piwik FAQ</a>.</label>
|
44 |
+
</td></tr>
|
45 |
+
<tr><th><?php _e('Tracking filter', 'wp-piwik'); ?>:</th><td>
|
46 |
+
<?php
|
47 |
+
global $wp_roles;
|
48 |
+
$aryFilter = self::$aryGlobalSettings['capability_stealth'];
|
49 |
+
foreach($wp_roles->role_names as $strKey => $strName) {
|
50 |
+
echo '<input type="checkbox" '.(isset($aryFilter[$strKey]) && $aryFilter[$strKey]?'checked="checked" ':'').'value="1" name="wp-piwik_filter['.$strKey.']" /> '.$strName.' ';
|
51 |
+
}
|
52 |
+
?><br><?php _e('Choose users by user role you do <strong>not</strong> want to track.','wp-piwik'); ?></td></tr>
|
53 |
+
</table>
|
54 |
+
<table class="wp-piwik-form-table form-table">
|
55 |
+
<?php } ?>
|
settings/views.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$bolCURL = function_exists('curl_init');
|
3 |
+
$bolFOpen = ini_get('allow_url_fopen');
|
4 |
+
if (!$bolFOpen && !$bolCURL) {
|
5 |
+
?><tr>
|
6 |
+
<td colspan="2">
|
7 |
+
<strong><?php _e('Error: cURL is not enabled and fopen is not allowed to open URLs. WP-Piwik won\'t be able to connect to Piwik.'); ?></strong>
|
8 |
+
</td>
|
9 |
+
</tr><?php } else { ?>
|
10 |
+
<tr><th>Piwik <?php _e('Default date', 'wp-piwik'); ?>:</th><td>
|
11 |
+
<select id="wp-piwik_default_date" name="wp-piwik_default_date">
|
12 |
+
<option value="yesterday"<?php echo (self::$aryGlobalSettings['default_date'] == 'yesterday'?' selected="selected"':'');?>> <?php _e('yesterday', 'wp-piwik');?></option>
|
13 |
+
<option value="today"<?php echo (self::$aryGlobalSettings['default_date'] == 'today'?' selected="selected"':'');?>> <?php _e('today', 'wp-piwik');?></option>
|
14 |
+
</select>
|
15 |
+
<label for="wp-piwik_default_date"><?php echo _e('Default date shown on statistics page.', 'wp-piwik'); ?></label>
|
16 |
+
</td></tr>
|
17 |
+
<tr><th><?php _e('Home Dashboard', 'wp-piwik'); ?>:</th><td>
|
18 |
+
<select id="wp-piwik_dbwidget" name="wp-piwik_dbwidget">
|
19 |
+
<option value="0"'<?php echo (!self::$aryGlobalSettings['dashboard_widget']?' selected="selected"':''); ?>><?php _e('Hide overview', 'wp-piwik'); ?></option>
|
20 |
+
<option value="yesterday"<?php echo (self::$aryGlobalSettings['dashboard_widget'] == 'yesterday'?' selected="selected"':''); ?>><?php echo __('Show overview','wp-piwik').' ('.__('yesterday', 'wp-piwik').')'; ?></option>
|
21 |
+
<option value="today"<?php echo (self::$aryGlobalSettings['dashboard_widget'] == 'today'?' selected="selected"':''); ?>><?php echo __('Show overview','wp-piwik').' ('.__('today', 'wp-piwik').')'; ?></option>
|
22 |
+
<option value="last30"<?php echo (self::$aryGlobalSettings['dashboard_widget'] == 'last30'?' selected="selected"':''); ?>><?php echo __('Show overview','wp-piwik').' ('.__('last 30 days','wp-piwik').')'; ?></option>
|
23 |
+
</select>
|
24 |
+
<input type="checkbox" value="1" name="wp-piwik_dbchart" id="wp-piwik_dbchart"<?php echo (self::$aryGlobalSettings['dashboard_chart']?' checked="checked"':""); ?>/> <?php _e('Chart', 'wp-piwik'); ?>
|
25 |
+
<input type="checkbox" value="1" name="wp-piwik_dbseo" id="wp-piwik_dbseo"<?php echo (self::$aryGlobalSettings['dashboard_seo']?' checked="checked"':""); ?>/> <?php _e('SEO <em>(slow!)</em>', 'wp-piwik'); ?>
|
26 |
+
<br><?php _e('Configure WP-Piwik widgets to be shown on your WordPress Home Dashboard.', 'wp-piwik'); ?>
|
27 |
+
</td></tr>
|
28 |
+
<tr><th><?php _e('SEO data', 'wp-piwik'); ?>:</th><td>
|
29 |
+
<input type="checkbox" value="1" id="wp-piwik_statsseo" name="wp-piwik_statsseo"<?php echo (self::$aryGlobalSettings['stats_seo']?' checked="checked"':''); ?> />
|
30 |
+
<label for="wp-piwik_statsseo"><?php echo _e('Display SEO ranking data on statistics page. <em>(Slow!)</em>', 'wp-piwik'); ?></label>
|
31 |
+
</td></tr>
|
32 |
+
<tr><th>Piwik <?php _e('Shortcut', 'wp-piwik'); ?>:</th><td>
|
33 |
+
<input type="checkbox" value="1" id="wp-piwik_piwiklink" name="wp-piwik_piwiklink"<?php echo (self::$aryGlobalSettings['piwik_shortcut']?' checked="checked"':''); ?> />
|
34 |
+
<label for="wp-piwik_piwiklink"><?php echo _e('Display a shortcut to Piwik itself.', 'wp-piwik'); ?></label>
|
35 |
+
</td></tr>
|
36 |
+
<tr><th>Piwik <?php _e('Display to', 'wp-piwik'); ?>:</th><td>
|
37 |
+
<?php
|
38 |
+
global $wp_roles;
|
39 |
+
foreach($wp_roles->role_names as $strKey => $strName)
|
40 |
+
echo '<input name="wp-piwik_displayto['.$strKey.']" type="checkbox" value="1"'.(isset(self::$aryGlobalSettings['capability_read_stats'][$strKey]) && self::$aryGlobalSettings['capability_read_stats'][$strKey]?' checked="checked"':'').'/> '.$strName.' ';
|
41 |
+
?>
|
42 |
+
<br><?php echo _e('Choose user roles allowed to see the statistics page.', 'wp-piwik'); ?>
|
43 |
+
</td></tr>
|
44 |
+
<tr><th><?php _e('Disable time limit', 'wp-piwik'); ?>:</th><td>
|
45 |
+
<input type="checkbox" value="1" id="wp-piwik_disabletimelimit" name="wp-piwik_disabletimelimit"<?php echo (self::$aryGlobalSettings['disable_timelimit']?' checked="checked"':''); ?> />
|
46 |
+
<label for="wp-piwik_disabletimelimit"><?php echo _e('Use set_time_limit(0) if stats page causes a time out.', 'wp-piwik'); ?></label>
|
47 |
+
</td></tr>
|
48 |
+
<?php } ?>
|
update/90206.php
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
<?php
|
2 |
+
self::$aryGlobalSettings['disable_timelimit'] = false;
|
wp-piwik.php
CHANGED
@@ -6,12 +6,12 @@ Plugin URI: http://wordpress.org/extend/plugins/wp-piwik/
|
|
6 |
|
7 |
Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer.
|
8 |
|
9 |
-
Version: 0.9.
|
10 |
Author: André Bräkling
|
11 |
Author URI: http://www.braekling.de
|
12 |
|
13 |
******************************************************************************************
|
14 |
-
Copyright (C) 2009-
|
15 |
|
16 |
This program is free software: you can redistribute it and/or modify
|
17 |
it under the terms of the GNU General Public License as published by
|
@@ -59,12 +59,13 @@ if (!function_exists('is_plugin_active_for_network'))
|
|
59 |
class wp_piwik {
|
60 |
|
61 |
private static
|
62 |
-
$intRevisionId =
|
63 |
-
$strVersion = '0.9.
|
64 |
$intDashboardID = 30,
|
65 |
$strPluginBasename = NULL,
|
|
|
66 |
$aryGlobalSettings = array(
|
67 |
-
'revision' =>
|
68 |
'add_tracking_code' => false,
|
69 |
'last_settings_update' => 0,
|
70 |
'piwik_token' => '',
|
@@ -80,7 +81,8 @@ class wp_piwik {
|
|
80 |
'auto_site_config' => true,
|
81 |
'track_404' => false,
|
82 |
'track_compress' => false,
|
83 |
-
'track_post' => false
|
|
|
84 |
),
|
85 |
$arySettings = array(
|
86 |
'tracking_code' => '',
|
@@ -127,8 +129,7 @@ class wp_piwik {
|
|
127 |
foreach (array('stealth', 'read_stats') as $strCap)
|
128 |
if (isset(self::$aryGlobalSettings['capability_'.$strCap][$strKey]) && self::$aryGlobalSettings['capability_'.$strCap][$strKey])
|
129 |
$objRole->add_cap('wp-piwik_'.$strCap);
|
130 |
-
else
|
131 |
-
$objRole->remove_cap('wp-piwik_'.$strCap);
|
132 |
}
|
133 |
}
|
134 |
|
@@ -136,19 +137,19 @@ class wp_piwik {
|
|
136 |
* Constructor
|
137 |
*/
|
138 |
function __construct() {
|
|
|
|
|
139 |
// Store plugin basename
|
140 |
self::$strPluginBasename = plugin_basename(__FILE__);
|
141 |
// Load current settings
|
142 |
self::loadSettings();
|
143 |
// Upgrade?
|
144 |
-
if (self::$aryGlobalSettings['revision'] < self::$intRevisionId) $this->
|
145 |
// Settings changed?
|
146 |
-
if (isset($_POST['action']) && $_POST['action'] == '
|
147 |
$this->applySettings();
|
148 |
// Load language file
|
149 |
load_plugin_textdomain('wp-piwik', false, dirname(self::$strPluginBasename)."/languages/");
|
150 |
-
// Call install function on activation
|
151 |
-
register_activation_hook(__FILE__, array($this, 'install'));
|
152 |
// Add meta links to plugin details
|
153 |
add_filter('plugin_row_meta', array($this, 'setPluginMeta'), 10, 2);
|
154 |
// Register columns
|
@@ -168,7 +169,7 @@ class wp_piwik {
|
|
168 |
if (self::$aryGlobalSettings['dashboard_widget'] || self::$aryGlobalSettings['dashboard_chart'] || self::$aryGlobalSettings['dashboard_seo'])
|
169 |
add_action('wp_dashboard_setup', array($this, 'extendWordPressDashboard'));
|
170 |
// Add tracking code to footer if enabled
|
171 |
-
if (self::$aryGlobalSettings['add_tracking_code']) add_action('wp_footer', array($this, 'footer'));
|
172 |
}
|
173 |
|
174 |
/**
|
@@ -185,31 +186,44 @@ class wp_piwik {
|
|
185 |
}
|
186 |
|
187 |
/**
|
188 |
-
* Install
|
189 |
*/
|
190 |
-
function
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
self::includeFile('update/80502.php');
|
196 |
-
if (self::$aryGlobalSettings['revision'] < 80602)
|
197 |
-
self::includeFile('update/80602.php');
|
198 |
-
if (self::$aryGlobalSettings['revision'] < 80800)
|
199 |
-
self::includeFile('update/80800.php');
|
200 |
-
if (self::$aryGlobalSettings['revision'] < 90001)
|
201 |
-
self::includeFile('update/90001.php');
|
202 |
-
// Show an info message after upgrade/install
|
203 |
-
add_action('admin_footer', array($this, 'updateMessage'));
|
204 |
// Set current revision ID
|
205 |
self::$aryGlobalSettings['revision'] = self::$intRevisionId;
|
206 |
self::$aryGlobalSettings['last_settings_update'] = time();
|
207 |
// Save upgraded or default settings
|
208 |
self::saveSettings();
|
209 |
// Reload settings
|
210 |
-
self::loadSettings();
|
211 |
}
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
/**
|
214 |
* Upgrade outdated site settings
|
215 |
*/
|
@@ -243,7 +257,7 @@ class wp_piwik {
|
|
243 |
// Create settings Link
|
244 |
$strLink = sprintf('<a href="options-general.php?page=%s">%s</a>', self::$strPluginBasename, __('Settings', 'wp-piwik'));
|
245 |
// Display message
|
246 |
-
echo '<div
|
247 |
}
|
248 |
|
249 |
/**
|
@@ -293,11 +307,11 @@ class wp_piwik {
|
|
293 |
array($this, 'showStats')
|
294 |
);
|
295 |
// Add required scripts
|
296 |
-
add_action('admin_print_scripts-'.$this->intStatsPage, array($this, '
|
297 |
// Add required styles
|
298 |
add_action('admin_print_styles-'.$this->intStatsPage, array($this, 'addAdminStyle'));
|
299 |
// Add required header tags
|
300 |
-
add_action('admin_head-'.$this->intStatsPage, array($this, '
|
301 |
// Stats page onload callback
|
302 |
add_action('load-'.$this->intStatsPage, array(&$this, 'onloadStatsPage'));
|
303 |
}
|
@@ -308,8 +322,12 @@ class wp_piwik {
|
|
308 |
__('WP-Piwik', 'wp-piwik'),
|
309 |
'activate_plugins',
|
310 |
__FILE__,
|
311 |
-
array($this, '
|
312 |
);
|
|
|
|
|
|
|
|
|
313 |
// Add styles required by options page
|
314 |
add_action('admin_print_styles-'.$intOptionsPage, array($this, 'addAdminStyle'));
|
315 |
}
|
@@ -330,11 +348,11 @@ class wp_piwik {
|
|
330 |
array($this, 'showStats')
|
331 |
);
|
332 |
// Add required scripts
|
333 |
-
add_action('admin_print_scripts-'.$this->intStatsPage, array($this, '
|
334 |
// Add required styles
|
335 |
add_action('admin_print_styles-'.$this->intStatsPage, array($this, 'addAdminStyle'));
|
336 |
// Add required header tags
|
337 |
-
add_action('admin_head-'.$this->intStatsPage, array($this, '
|
338 |
// Stats page onload callback
|
339 |
add_action('load-'.$this->intStatsPage, array(&$this, 'onloadStatsPage'));
|
340 |
}
|
@@ -344,11 +362,12 @@ class wp_piwik {
|
|
344 |
__('WP-Piwik', 'wp-piwik'),
|
345 |
'manage_sites',
|
346 |
__FILE__,
|
347 |
-
array($this, '
|
348 |
);
|
349 |
|
350 |
// Add styles required by options page
|
351 |
add_action('admin_print_styles-'.$intOptionsPage, array($this, 'addAdminStyle'));
|
|
|
352 |
}
|
353 |
|
354 |
/**
|
@@ -376,11 +395,11 @@ class wp_piwik {
|
|
376 |
// Add chart widget if enabled
|
377 |
if (self::$aryGlobalSettings['dashboard_chart']) {
|
378 |
// Add required scripts
|
379 |
-
add_action('admin_print_scripts-index.php', array($this, '
|
380 |
// Add required styles
|
381 |
add_action('admin_print_styles-index.php', array($this, 'addAdminStyle'));
|
382 |
// Add required header tags
|
383 |
-
add_action('admin_head-index.php', array($this, '
|
384 |
$this->addWordPressDashboardChart();
|
385 |
}
|
386 |
// Add SEO widget if enabled
|
@@ -434,7 +453,7 @@ class wp_piwik {
|
|
434 |
*/
|
435 |
function addWordPressDashboardSEO() {
|
436 |
$aryConfig = array(
|
437 |
-
'params' => array('period' => 'day','date' =>
|
438 |
'inline' => true,
|
439 |
);
|
440 |
$strFile = 'seo';
|
@@ -470,15 +489,22 @@ class wp_piwik {
|
|
470 |
}
|
471 |
|
472 |
/**
|
473 |
-
* Load required scripts to
|
474 |
*/
|
475 |
-
function
|
476 |
// Load WP-Piwik script
|
477 |
wp_enqueue_script('wp-piwik', $this->getPluginURL().'js/wp-piwik.js', array(), self::$strVersion, true);
|
478 |
// Load jqPlot
|
479 |
wp_enqueue_script('wp-piwik-jqplot',$this->getPluginURL().'js/jqplot/wp-piwik.jqplot.js',array('jquery'));
|
480 |
}
|
481 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
/**
|
483 |
* Load required styles to admin pages
|
484 |
*/
|
@@ -488,15 +514,22 @@ class wp_piwik {
|
|
488 |
}
|
489 |
|
490 |
/**
|
491 |
-
* Add required header tags to
|
492 |
*/
|
493 |
-
function
|
494 |
// Load jqPlot IE compatibility script
|
495 |
echo '<!--[if IE]><script language="javascript" type="text/javascript" src="'.$this->getPluginURL().'js/jqplot/excanvas.min.js"></script><![endif]-->';
|
496 |
// Load jqPlot styles
|
497 |
echo '<link rel="stylesheet" href="'.$this->getPluginURL().'js/jqplot/jquery.jqplot.min.css" type="text/css"/>';
|
498 |
echo '<script type="text/javascript">var $j = jQuery.noConflict();</script>';
|
499 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
500 |
|
501 |
/**
|
502 |
* Get this plugin's URL
|
@@ -527,7 +560,7 @@ class wp_piwik {
|
|
527 |
// cURL not available but url fopen allowed
|
528 |
} elseif (ini_get('allow_url_fopen'))
|
529 |
// Get file using file_get_contents
|
530 |
-
$strResult = file_get_contents($strURL);
|
531 |
// Error: Not possible to get remote file
|
532 |
else $strResult = serialize(array(
|
533 |
'result' => 'error',
|
@@ -542,6 +575,10 @@ class wp_piwik {
|
|
542 |
* or get its ID by URL
|
543 |
*/
|
544 |
function addPiwikSite() {
|
|
|
|
|
|
|
|
|
545 |
$strBlogURL = get_bloginfo('url');
|
546 |
$strURL = self::$aryGlobalSettings['piwik_url'];
|
547 |
// Check if blog URL already known
|
@@ -557,6 +594,7 @@ class wp_piwik {
|
|
557 |
// Otherwise create new site
|
558 |
} elseif (!empty(self::$aryGlobalSettings['piwik_token']) && !empty($strURL)) {
|
559 |
$strName = get_bloginfo('name');
|
|
|
560 |
if (substr($strURL, -1, 1) != '/') $strURL .= '/';
|
561 |
$strURL .= '?module=API&method=SitesManager.addSite';
|
562 |
$strURL .= '&siteName='.urlencode($strName).'&urls='.urlencode($strBlogURL);
|
@@ -566,11 +604,14 @@ class wp_piwik {
|
|
566 |
if (!empty($strResult)) self::$arySettings['site_id'] = $strResult;
|
567 |
}
|
568 |
// Store new data
|
569 |
-
|
|
|
570 |
self::$arySettings['last_tracking_code_update'] = time();
|
571 |
// Change Tracking code if configured
|
572 |
self::$arySettings['tracking_code'] = $this->applyJSCodeChanges(self::$arySettings['tracking_code']);
|
573 |
self::saveSettings();
|
|
|
|
|
574 |
return array('js' => self::$arySettings['tracking_code'], 'id' => self::$arySettings['site_id']);
|
575 |
}
|
576 |
|
@@ -736,6 +777,9 @@ class wp_piwik {
|
|
736 |
}
|
737 |
|
738 |
function showStats() {
|
|
|
|
|
|
|
739 |
//we need the global screen column value to be able to have a sidebar in WordPress 2.8
|
740 |
global $screen_layout_columns;
|
741 |
/***************************************************************************/ ?>
|
@@ -746,7 +790,7 @@ class wp_piwik {
|
|
746 |
if (is_plugin_active_for_network('wp-piwik/wp-piwik.php') && function_exists('is_super_admin') && is_super_admin()) {
|
747 |
global $blog_id;
|
748 |
global $wpdb;
|
749 |
-
$aryBlogs = $wpdb->get_results($wpdb->prepare('SELECT blog_id FROM '.$wpdb->
|
750 |
if (isset($_GET['wpmu_show_stats'])) {
|
751 |
switch_to_blog((int) $_GET['wpmu_show_stats']);
|
752 |
self::loadSettings();
|
@@ -758,13 +802,13 @@ class wp_piwik {
|
|
758 |
$aryOptions = array();
|
759 |
foreach ($aryBlogs as $aryBlog) {
|
760 |
$objBlog = get_blog_details($aryBlog->blog_id, true);
|
761 |
-
$aryOptions[$objBlog->blogname.'#'.$objBlog->blog_id] = '<option value="'.$objBlog->blog_id.'"'.($blog_id == $objBlog->blog_id?' selected="selected"':'').'>'.$objBlog->blogname.'</option>'."\n";
|
762 |
}
|
763 |
// Show blogs in alphabetical order
|
764 |
ksort($aryOptions);
|
765 |
foreach ($aryOptions as $strOption) echo $strOption;
|
766 |
echo '</select><input type="submit" value="'.__('Change').'" />'."\n ";
|
767 |
-
echo __('Currently shown stats:').' <a href="'.get_bloginfo('url').'">'.get_bloginfo('name').'</a>'."\n";
|
768 |
echo '</form>'."\n";
|
769 |
}
|
770 |
/***************************************************************************/ ?>
|
@@ -815,31 +859,70 @@ class wp_piwik {
|
|
815 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
816 |
wp_redirect($_POST['_wp_http_referer']);
|
817 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
818 |
|
819 |
/**
|
820 |
* Apply & store new settings
|
821 |
*/
|
822 |
function applySettings() {
|
823 |
-
|
824 |
-
self::$aryGlobalSettings['dashboard_widget'] = (isset($_POST['wp-piwik_dbwidget'])?$_POST['wp-piwik_dbwidget']:false);
|
825 |
-
self::$aryGlobalSettings['dashboard_chart'] = (isset($_POST['wp-piwik_dbchart'])?$_POST['wp-piwik_dbchart']:false);
|
826 |
-
self::$aryGlobalSettings['dashboard_seo'] = (isset($_POST['wp-piwik_dbseo'])?$_POST['wp-piwik_dbseo']:false);
|
827 |
-
self::$aryGlobalSettings['stats_seo'] = (isset($_POST['wp-piwik_statsseo'])?$_POST['wp-piwik_statsseo']:false);
|
828 |
-
self::$aryGlobalSettings['piwik_shortcut'] = (isset($_POST['wp-piwik_piwiklink'])?$_POST['wp-piwik_piwiklink']:false);
|
829 |
-
self::$aryGlobalSettings['default_date'] = (isset($_POST['wp-piwik_default_date'])?$_POST['wp-piwik_default_date']:'yesterday');
|
830 |
-
self::$aryGlobalSettings['piwik_token'] = (isset($_POST['wp-piwik_token'])?$_POST['wp-piwik_token']:'');
|
831 |
-
self::$aryGlobalSettings['piwik_url'] = self::check_url((isset($_POST['wp-piwik_url'])?$_POST['wp-piwik_url']:''));
|
832 |
-
self::$aryGlobalSettings['capability_stealth'] = (isset($_POST['wp-piwik_filter'])?$_POST['wp-piwik_filter']:array());
|
833 |
-
self::$aryGlobalSettings['capability_read_stats'] = (isset($_POST['wp-piwik_displayto'])?$_POST['wp-piwik_displayto']:array());
|
834 |
self::$aryGlobalSettings['last_settings_update'] = time();
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
self::$
|
842 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
843 |
if (self::$aryGlobalSettings['auto_site_config']) {
|
844 |
$aryReturn = $this->addPiwikSite();
|
845 |
self::$arySettings['tracking_code'] = $aryReturn['js'];
|
@@ -848,30 +931,31 @@ class wp_piwik {
|
|
848 |
self::saveSettings();
|
849 |
}
|
850 |
|
851 |
-
|
|
|
|
|
|
|
852 |
if (substr($strURL, -1, 1) != '/' && substr($strURL, -10, 10) != '/index.php')
|
853 |
$strURL .= '/';
|
854 |
return $strURL;
|
855 |
}
|
856 |
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
|
|
|
|
|
|
|
|
862 |
echo '<div id="message" class="updated fade"><p>'.__('Changes saved','wp-piwik').'</p></div>';
|
863 |
-
|
|
|
|
|
|
|
|
|
864 |
/***************************************************************************/ ?>
|
865 |
-
<div class="wrap">
|
866 |
-
<h2><?php _e('WP-Piwik Settings', 'wp-piwik') ?></h2>
|
867 |
-
|
868 |
-
<div class="wp-piwik-sidebox">
|
869 |
-
<div class="wp-piwik-support">
|
870 |
-
<p><strong>Support</strong></p>
|
871 |
-
<p><a href="http://peepbo.de/board/viewforum.php?f=3"><?php _e('WP-Piwik support board','wp-piwik'); ?></a> (<?php _e('no registration required, English & German','wp-piwik'); ?>)</p>
|
872 |
-
<p><a href="http://wordpress.org/tags/wp-piwik?forum_id=10"><?php _e('WordPress.org forum about WP-Piwik','wp-piwik'); ?></a> (<?php _e('WordPress.org registration required, English','wp-piwik'); ?>)</p>
|
873 |
-
<p><?php _e('Please don\'t forget to vote the compatibility at the','wp-piwik'); ?> <a href="http://wordpress.org/extend/plugins/wp-piwik/">WordPress.org Plugin Directory</a>.</p>
|
874 |
-
</div>
|
875 |
<div class="wp-piwik-donate">
|
876 |
<p><strong><?php _e('Donate','wp-piwik'); ?></strong></p>
|
877 |
<p><?php _e('If you like WP-Piwik, you can support its development by a donation:', 'wp-piwik'); ?></p>
|
@@ -892,253 +976,122 @@ class wp_piwik {
|
|
892 |
<div>
|
893 |
<a href="http://www.amazon.de/gp/registry/wishlist/111VUJT4HP1RA?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=12&y=14"><?php _e('My Amazon.de wishlist', 'wp-piwik'); ?></a>
|
894 |
</div>
|
|
|
|
|
|
|
895 |
</div>
|
896 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
<input type="text" name="wp-piwik_token" id="wp-piwik_token" value="<?php echo $strToken; ?>" />
|
912 |
-
</div>
|
913 |
-
<div class="wp-piwik_desc">
|
914 |
-
<?php _e(
|
915 |
-
'To enable Piwik statistics, please enter your Piwik'.
|
916 |
-
' base URL (like http://mydomain.com/piwik) and your'.
|
917 |
-
' personal authentification token. You can get the token'.
|
918 |
-
' on the API page inside your Piwik interface. It looks'.
|
919 |
-
' like "1234a5cd6789e0a12345b678cd9012ef".'
|
920 |
-
, 'wp-piwik'
|
921 |
-
); ?>
|
922 |
-
</div>
|
923 |
-
<div class="wp-piwik_desc">
|
924 |
-
<?php _e(
|
925 |
-
'<strong>Important note:</strong> If you do not host this blog on your own, your site admin is able to get your auth token from the database. So he is able to access your statistics. You should never use an auth token with more than simple view access!',
|
926 |
-
'wp-piwik'
|
927 |
-
); ?>
|
928 |
-
</div>
|
929 |
-
<?php if (!is_plugin_active_for_network('wp-piwik/wp-piwik.php')) { ?>
|
930 |
-
<h4><label for="wp-piwik_addjs"><?php _e('Auto config', 'wp-piwik') ?>:</label></h4>
|
931 |
-
<div class="input-wrap">
|
932 |
-
<input type="checkbox" value="1" id="wp-piwik_auto_site_config" name="wp-piwik_auto_site_config"<?php echo (self::$aryGlobalSettings['auto_site_config']?' checked="checked"':'') ?>/>
|
933 |
-
</div>
|
934 |
-
<div class="wp-piwik_desc">
|
935 |
-
<?php _e('Check this to automatically choose your blog from your Piwik sites by URL. If your blog is not added to Piwik yet, WP-Piwik will add a new site.', 'wp-piwik') ?>
|
936 |
-
</div>
|
937 |
-
<?php } ?>
|
938 |
-
|
939 |
-
<?php /************************************************************************/
|
940 |
-
if (!empty($strToken) && !empty($strURL)) {
|
941 |
-
$aryData = $this->callPiwikAPI('SitesManager.getSitesWithAtLeastViewAccess');
|
942 |
-
if (empty($aryData)) {
|
943 |
-
echo '<div class="wp-piwik_desc"><strong>'.__('An error occured', 'wp-piwik').': </strong>'.
|
944 |
-
__('Please check URL and auth token. You need at least view access to one site.', 'wp-piwik').
|
945 |
-
'</div>';
|
946 |
-
} elseif (isset($aryData['result']) && $aryData['result'] == 'error') {
|
947 |
-
echo '<div class="wp-piwik_desc"><strong><strong>'.__('An error occured', 'wp-piwik').
|
948 |
-
': </strong>'.$aryData['message'].'</div>';
|
949 |
-
} else {
|
950 |
-
if (!is_plugin_active_for_network('wp-piwik/wp-piwik.php')) {
|
951 |
-
if (empty($intSite)) {
|
952 |
-
if (self::$aryGlobalSettings['auto_site_config'])
|
953 |
-
$aryReturn = $this->addPiwikSite();
|
954 |
-
else {
|
955 |
-
self::$arySettings['site_id'] = $aryData[0]['idsite'];
|
956 |
-
self::saveSettings();
|
957 |
-
}
|
958 |
-
$intSite = self::$arySettings['site_id'];
|
959 |
-
}
|
960 |
-
if (!self::$aryGlobalSettings['auto_site_config']) {
|
961 |
-
echo '<h4><label for="wp-piwik_siteid">'.__('Choose site', 'wp-piwik').':</label></h4>';
|
962 |
-
echo '<div class="input-wrap">';
|
963 |
-
echo '<select name="wp-piwik_siteid" id="wp-piwik_siteid">';
|
964 |
-
$aryOptions = array();
|
965 |
-
foreach ($aryData as $arySite)
|
966 |
-
$aryOptions[$arySite['name'].'#'.$arySite['idsite']] = '<option value="'.$arySite['idsite'].
|
967 |
-
'"'.($arySite['idsite']==$intSite?' selected="selected"':'').
|
968 |
-
'>'.htmlentities($arySite['name'], ENT_QUOTES, 'utf-8').
|
969 |
-
'</option>';
|
970 |
-
|
971 |
-
ksort($aryOptions);
|
972 |
-
foreach ($aryOptions as $strOption) echo $strOption;
|
973 |
-
echo '</select></div>';
|
974 |
-
} else {
|
975 |
-
echo '<h4><label for="wp-piwik_siteid">'.__('Determined site', 'wp-piwik').':</label></h4>';
|
976 |
-
echo '<div class="input-text-wrap">';
|
977 |
-
foreach ($aryData as $arySite)
|
978 |
-
if ($arySite['idsite'] == $intSite) {
|
979 |
-
echo '<input type="text" value="'.htmlentities($arySite['name'], ENT_QUOTES, 'utf-8').'" disabled="disabled" />';
|
980 |
-
break;
|
981 |
-
}
|
982 |
-
echo '</div>';
|
983 |
-
echo '<input type="hidden" name="wp-piwik_siteid" id="wp-piwik_siteid" value="'.$intSite.'" />';
|
984 |
-
}
|
985 |
-
}
|
986 |
-
$intSite = self::$arySettings['site_id'];
|
987 |
-
$int404 = self::$aryGlobalSettings['track_404'];
|
988 |
-
$intAddJS = self::$aryGlobalSettings['add_tracking_code'];
|
989 |
-
$intDashboardWidget = self::$aryGlobalSettings['dashboard_widget'];
|
990 |
-
$intShowLink = self::$aryGlobalSettings['piwik_shortcut'];
|
991 |
-
$strJavaScript = html_entity_decode($this->callPiwikAPI('SitesManager.getJavascriptTag'));
|
992 |
-
if ($intAddJS) {
|
993 |
-
// Change Tracking code if configured
|
994 |
-
$strJavaScript = $this->applyJSCodeChanges($strJavaScript);
|
995 |
-
// Save javascript code
|
996 |
-
self::$arySettings['tracking_code'] = $strJavaScript;
|
997 |
-
self::saveSettings();
|
998 |
-
}
|
999 |
-
/***************************************************************************/ ?>
|
1000 |
-
<div><input type="submit" name="Submit" value="<?php _e('Save settings', 'wp-piwik') ?>" /></div>
|
1001 |
-
</div>
|
1002 |
-
</div>
|
1003 |
-
<div class="postbox wp-piwik-settings" >
|
1004 |
-
<h3 class='hndle'><span><?php _e('Tracking settings', 'wp-piwik'); ?></span></h3>
|
1005 |
-
<div class="inside">
|
1006 |
-
<?php /************************************************************************/
|
1007 |
-
echo '<h4><label for="wp-piwik_jscode">JavaScript:</label></h4>'.
|
1008 |
-
'<div class="input-text-wrap"><textarea id="wp-piwik_jscode" name="wp-piwik_jscode" readonly="readonly" rows="13" cols="55">'.
|
1009 |
-
(is_plugin_active_for_network('wp-piwik/wp-piwik.php')?'*** SITE SPECIFIC EXAMPLE CODE ***'."\n":'').
|
1010 |
-
htmlentities($strJavaScript).'</textarea></div>';
|
1011 |
-
echo '<h4><label for="wp-piwik_addjs">'.__('Add script', 'wp-piwik').':</label></h4>'.
|
1012 |
-
'<div class="input-wrap"><input type="checkbox" value="1" id="wp-piwik_addjs" name="wp-piwik_addjs" '.
|
1013 |
-
($intAddJS?' checked="checked"':'').'/></div>';
|
1014 |
-
echo '<div class="wp-piwik_desc">'.
|
1015 |
-
__('If your template uses wp_footer(), WP-Piwik can automatically'.
|
1016 |
-
' add the Piwik javascript code to your blog.', 'wp-piwik').
|
1017 |
-
'</div>';
|
1018 |
-
echo '<h4><label for="wp-piwik_404">'.__('Track 404', 'wp-piwik').':</label></h4>'.
|
1019 |
-
'<div class="input-wrap"><input type="checkbox" value="1" id="wp-piwik_404" name="wp-piwik_404" '.
|
1020 |
-
($int404?' checked="checked"':'').'/></div>';
|
1021 |
-
echo '<div class="wp-piwik_desc">'.
|
1022 |
-
__('If you add the Piwik javascript code by wp_footer(),', 'wp-piwik').' '.
|
1023 |
-
__('WP-Piwik can automatically add a 404-category to track 404-page-visits.', 'wp-piwik').
|
1024 |
-
'</div>';
|
1025 |
-
|
1026 |
-
echo '<h4><label for="wp-piwik_compress">'.__('Use js/index.php', 'wp-piwik').':</label></h4>'.
|
1027 |
-
'<div class="input-wrap"><input type="checkbox" value="1" id="wp-piwik_compress" name="wp-piwik_compress" '.
|
1028 |
-
(self::$aryGlobalSettings['track_compress']?' checked="checked"':'').'/></div>';
|
1029 |
-
echo '<div class="wp-piwik_desc">'.
|
1030 |
-
__('If you add the Piwik javascript code by wp_footer(),', 'wp-piwik').' '.
|
1031 |
-
__('WP-Piwik can automatically use js/index.php instead of piwik.js. See', 'wp-piwik').' <a href="http://demo.piwik.org/js/README">js/README</a>.'.
|
1032 |
-
'</div>';
|
1033 |
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
foreach($wp_roles->role_names as $strKey => $strName) {
|
1047 |
-
echo '<input type="checkbox" '.(isset($aryFilter[$strKey]) && $aryFilter[$strKey]?'checked="checked" ':'').'value="1" name="wp-piwik_filter['.$strKey.']" /> '.$strName.' ';
|
1048 |
-
}
|
1049 |
-
echo '</div>';
|
1050 |
-
echo '<div class="wp-piwik_desc">'.
|
1051 |
-
__('Choose users by user role you do <strong>not</strong> want to track.'.
|
1052 |
-
' Requires enabled "Add script"-functionality.','wp-piwik').'</div>';
|
1053 |
-
/***************************************************************************/ ?>
|
1054 |
-
<div><input type="submit" name="Submit" value="<?php _e('Save settings', 'wp-piwik') ?>" /></div>
|
1055 |
-
</div>
|
1056 |
-
</div>
|
1057 |
-
<div class="postbox wp-piwik-settings" >
|
1058 |
-
<h3 class='hndle'><span><?php _e('Statistic view settings', 'wp-piwik'); ?></span></h3>
|
1059 |
-
<div class="inside">
|
1060 |
-
<?php
|
1061 |
-
echo '<h4><label for="wp-piwik_dbwidget">'.__('Home Dashboard', 'wp-piwik').':</label></h4>'.
|
1062 |
-
'<div class="input-wrap"><select id="wp-piwik_dbwidget" name="wp-piwik_dbwidget">'.
|
1063 |
-
'<option value="0"'.(!$intDashboardWidget?' selected="selected"':'').'>'.__('Hide overview', 'wp-piwik').'</option>'.
|
1064 |
-
'<option value="yesterday"'.($intDashboardWidget == 'yesterday'?' selected="selected"':'').'>'.__('Show Overview','wp-piwik').' ('.__('yesterday', 'wp-piwik').').</option>'.
|
1065 |
-
'<option value="today"'.($intDashboardWidget == 'today'?' selected="selected"':'').'>'.__('Show overview','wp-piwik').' ('.__('today', 'wp-piwik').').</option>'.
|
1066 |
-
'<option value="last30"'.($intDashboardWidget == 'last30'?' selected="selected"':'').'>'.__('Show overview','wp-piwik').' ('.__('last 30 days','wp-piwik').').</option>'.
|
1067 |
-
'</select>';
|
1068 |
-
echo ' <input type="checkbox" value="1" name="wp-piwik_dbchart" id="wp-piwik_dbchart" '.
|
1069 |
-
(self::$aryGlobalSettings['dashboard_chart']?' checked="checked"':"").'/> '.__('Chart');
|
1070 |
-
echo ' <input type="checkbox" value="1" name="wp-piwik_dbseo" id="wp-piwik_dbseo" '.
|
1071 |
-
(self::$aryGlobalSettings['dashboard_seo']?' checked="checked"':"").'/> '.__('SEO <em>(slow!)</em>', 'wp-piwik');
|
1072 |
-
echo '</div>';
|
1073 |
-
echo '<div class="wp-piwik_desc">'.
|
1074 |
-
__('Configure WP-Piwik widgets to be shown on your WordPress Home Dashboard.', 'wp-piwik').'</div>';
|
1075 |
-
|
1076 |
-
echo '<h4><label for="wp-piwik_piwiklink">'.__('Shortcut', 'wp-piwik').':</label></h4>'.
|
1077 |
-
'<div class="input-wrap"><input type="checkbox" value="1" name="wp-piwik_piwiklink" id="wp-piwik_piwiklink" '.
|
1078 |
-
($intShowLink?' checked="checked"':"").'/></div>';
|
1079 |
-
echo '<div class="wp-piwik_desc">'.
|
1080 |
-
__('Display a shortcut to Piwik itself.', 'wp-piwik').'</div>';
|
1081 |
-
|
1082 |
-
echo '<h4><label for="wp-piwik_default_date">'.__('Default date', 'wp-piwik').':</label></h4>'.
|
1083 |
-
'<div class="input-wrap"><select id="wp-piwik_default_date" name="wp-piwik_default_date">'.
|
1084 |
-
'<option value="yesterday"'.(self::$aryGlobalSettings['default_date'] == 'yesterday'?' selected="selected"':'').'> '.__('yesterday', 'wp-piwik').'</option>'.
|
1085 |
-
'<option value="today"'.(self::$aryGlobalSettings['default_date'] == 'today'?' selected="selected"':'').'> '.__('today', 'wp-piwik').'</option>'.
|
1086 |
-
'</select></div>';
|
1087 |
-
echo '<div class="wp-piwik_desc">'.
|
1088 |
-
__('Default date shown on statistics page.', 'wp-piwik').'</div>';
|
1089 |
-
|
1090 |
-
echo '<h4><label for="wp-piwik_piwiklink">'.__('SEO data', 'wp-piwik').':</label></h4>'.
|
1091 |
-
'<div class="input-wrap"><input type="checkbox" value="1" name="wp-piwik_statsseo" id="wp-piwik_statsseo" '.
|
1092 |
-
(self::$aryGlobalSettings['stats_seo']?' checked="checked"':"").'/></div>';
|
1093 |
-
echo '<div class="wp-piwik_desc">'.
|
1094 |
-
__('Display SEO ranking data on statistics page. <em>(Slow!)</em>', 'wp-piwik').'</div>';
|
1095 |
-
|
1096 |
-
echo '<h4><label>'.__('Display to', 'wp-piwik').':</label></h4>';
|
1097 |
-
echo '<div class="input-wrap">';
|
1098 |
-
$intDisplayTo = self::$aryGlobalSettings['capability_read_stats'];
|
1099 |
-
foreach($wp_roles->role_names as $strKey => $strName) {
|
1100 |
-
$role = get_role($strKey);
|
1101 |
-
echo '<input name="wp-piwik_displayto['.$strKey.']" type="checkbox" value="1"'.(isset(self::$aryGlobalSettings['capability_read_stats'][$strKey]) && self::$aryGlobalSettings['capability_read_stats'][$strKey]?' checked="checked"':'').'/> '.$strName.' ';
|
1102 |
-
}
|
1103 |
-
echo '</div><div class="wp-piwik_desc">'.
|
1104 |
-
__('Choose user roles allowed to see the statistics page.', 'wp-piwik').
|
1105 |
-
'</div>';
|
1106 |
}
|
1107 |
}
|
1108 |
-
|
1109 |
-
<div><input type="submit" name="Submit" value="<?php _e('Save settings', 'wp-piwik') ?>" /></div>
|
1110 |
-
</div>
|
1111 |
-
</div>
|
1112 |
-
</div>
|
1113 |
-
<input type="hidden" name="action" value="save_settings" />
|
1114 |
-
</div></div>
|
1115 |
-
</form>
|
1116 |
-
<pre><?php $current_user = wp_get_current_user(); ?></pre>
|
1117 |
-
</div>
|
1118 |
-
<?php $this->credits(); ?>
|
1119 |
-
<?php /************************************************************************/
|
1120 |
}
|
1121 |
|
1122 |
-
|
1123 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1124 |
}
|
1125 |
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
</div>
|
1137 |
-
<?php /************************************************************************/
|
1138 |
}
|
1139 |
}
|
1140 |
|
1141 |
if (class_exists('wp_piwik'))
|
1142 |
$GLOBALS['wp_piwik'] = new wp_piwik();
|
1143 |
|
1144 |
-
/* EOF */
|
6 |
|
7 |
Description: Adds Piwik stats to your dashboard menu and Piwik code to your wordpress footer.
|
8 |
|
9 |
+
Version: 0.9.3
|
10 |
Author: André Bräkling
|
11 |
Author URI: http://www.braekling.de
|
12 |
|
13 |
******************************************************************************************
|
14 |
+
Copyright (C) 2009-2012 Andre Braekling (email: webmaster@braekling.de)
|
15 |
|
16 |
This program is free software: you can redistribute it and/or modify
|
17 |
it under the terms of the GNU General Public License as published by
|
59 |
class wp_piwik {
|
60 |
|
61 |
private static
|
62 |
+
$intRevisionId = 90300,
|
63 |
+
$strVersion = '0.9.3',
|
64 |
$intDashboardID = 30,
|
65 |
$strPluginBasename = NULL,
|
66 |
+
$bolJustActivated = false,
|
67 |
$aryGlobalSettings = array(
|
68 |
+
'revision' => 90300,
|
69 |
'add_tracking_code' => false,
|
70 |
'last_settings_update' => 0,
|
71 |
'piwik_token' => '',
|
81 |
'auto_site_config' => true,
|
82 |
'track_404' => false,
|
83 |
'track_compress' => false,
|
84 |
+
'track_post' => false,
|
85 |
+
'disable_timelimit' => false
|
86 |
),
|
87 |
$arySettings = array(
|
88 |
'tracking_code' => '',
|
129 |
foreach (array('stealth', 'read_stats') as $strCap)
|
130 |
if (isset(self::$aryGlobalSettings['capability_'.$strCap][$strKey]) && self::$aryGlobalSettings['capability_'.$strCap][$strKey])
|
131 |
$objRole->add_cap('wp-piwik_'.$strCap);
|
132 |
+
else $objRole->remove_cap('wp-piwik_'.$strCap);
|
|
|
133 |
}
|
134 |
}
|
135 |
|
137 |
* Constructor
|
138 |
*/
|
139 |
function __construct() {
|
140 |
+
// Call install function on activation
|
141 |
+
register_activation_hook(__FILE__, array($this, 'installPlugin'));
|
142 |
// Store plugin basename
|
143 |
self::$strPluginBasename = plugin_basename(__FILE__);
|
144 |
// Load current settings
|
145 |
self::loadSettings();
|
146 |
// Upgrade?
|
147 |
+
if (self::$aryGlobalSettings['revision'] < self::$intRevisionId) $this->upgradePlugin();
|
148 |
// Settings changed?
|
149 |
+
if (isset($_POST['action']) && $_POST['action'] == 'save_wp-piwik_settings')
|
150 |
$this->applySettings();
|
151 |
// Load language file
|
152 |
load_plugin_textdomain('wp-piwik', false, dirname(self::$strPluginBasename)."/languages/");
|
|
|
|
|
153 |
// Add meta links to plugin details
|
154 |
add_filter('plugin_row_meta', array($this, 'setPluginMeta'), 10, 2);
|
155 |
// Register columns
|
169 |
if (self::$aryGlobalSettings['dashboard_widget'] || self::$aryGlobalSettings['dashboard_chart'] || self::$aryGlobalSettings['dashboard_seo'])
|
170 |
add_action('wp_dashboard_setup', array($this, 'extendWordPressDashboard'));
|
171 |
// Add tracking code to footer if enabled
|
172 |
+
if (self::$aryGlobalSettings['add_tracking_code']) add_action('wp_footer', array($this, 'footer'));
|
173 |
}
|
174 |
|
175 |
/**
|
186 |
}
|
187 |
|
188 |
/**
|
189 |
+
* Install
|
190 |
*/
|
191 |
+
function installPlugin() {
|
192 |
+
// Keep activation/installation/upgrade in mind
|
193 |
+
self::$bolJustActivated = true;
|
194 |
+
// Show an info message after upgrade/install
|
195 |
+
add_action('admin_notices', array($this, 'updateMessage'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
// Set current revision ID
|
197 |
self::$aryGlobalSettings['revision'] = self::$intRevisionId;
|
198 |
self::$aryGlobalSettings['last_settings_update'] = time();
|
199 |
// Save upgraded or default settings
|
200 |
self::saveSettings();
|
201 |
// Reload settings
|
202 |
+
self::loadSettings();
|
203 |
}
|
204 |
|
205 |
+
/**
|
206 |
+
* Upgrade
|
207 |
+
*/
|
208 |
+
function upgradePlugin() {
|
209 |
+
add_action('admin_notices', array($this, 'updateMessage'));
|
210 |
+
// Update: Translate options
|
211 |
+
if (self::$aryGlobalSettings['revision'] < 80403)
|
212 |
+
self::includeFile('update/80403');
|
213 |
+
if (self::$aryGlobalSettings['revision'] < 80502)
|
214 |
+
self::includeFile('update/80502');
|
215 |
+
if (self::$aryGlobalSettings['revision'] < 80602)
|
216 |
+
self::includeFile('update/80602');
|
217 |
+
if (self::$aryGlobalSettings['revision'] < 80800)
|
218 |
+
self::includeFile('update/80800');
|
219 |
+
if (self::$aryGlobalSettings['revision'] < 90001)
|
220 |
+
self::includeFile('update/90001');
|
221 |
+
if (self::$aryGlobalSettings['revision'] < 90206)
|
222 |
+
self::includeFile('update/90206');
|
223 |
+
// Install new version
|
224 |
+
$this->installPlugin();
|
225 |
+
}
|
226 |
+
|
227 |
/**
|
228 |
* Upgrade outdated site settings
|
229 |
*/
|
257 |
// Create settings Link
|
258 |
$strLink = sprintf('<a href="options-general.php?page=%s">%s</a>', self::$strPluginBasename, __('Settings', 'wp-piwik'));
|
259 |
// Display message
|
260 |
+
echo '<div class="updated fade"><p>'.$strText.' <strong>'.__('Important', 'wp-piwik').':</strong> '.$strSettings.': '.$strLink.'.</p></div>';
|
261 |
}
|
262 |
|
263 |
/**
|
307 |
array($this, 'showStats')
|
308 |
);
|
309 |
// Add required scripts
|
310 |
+
add_action('admin_print_scripts-'.$this->intStatsPage, array($this, 'loadStatsScripts'));
|
311 |
// Add required styles
|
312 |
add_action('admin_print_styles-'.$this->intStatsPage, array($this, 'addAdminStyle'));
|
313 |
// Add required header tags
|
314 |
+
add_action('admin_head-'.$this->intStatsPage, array($this, 'addAdminHeaderStats'));
|
315 |
// Stats page onload callback
|
316 |
add_action('load-'.$this->intStatsPage, array(&$this, 'onloadStatsPage'));
|
317 |
}
|
322 |
__('WP-Piwik', 'wp-piwik'),
|
323 |
'activate_plugins',
|
324 |
__FILE__,
|
325 |
+
array($this, 'showSettings')
|
326 |
);
|
327 |
+
// Add required scripts
|
328 |
+
add_action('admin_print_scripts-'.$this->intStatsPage, array($this, 'loadSettingsScripts'));
|
329 |
+
// Add required header tags
|
330 |
+
add_action('admin_head-'.$intOptionsPage, array($this, 'addAdminHeaderSettings'));
|
331 |
// Add styles required by options page
|
332 |
add_action('admin_print_styles-'.$intOptionsPage, array($this, 'addAdminStyle'));
|
333 |
}
|
348 |
array($this, 'showStats')
|
349 |
);
|
350 |
// Add required scripts
|
351 |
+
add_action('admin_print_scripts-'.$this->intStatsPage, array($this, 'loadStatsScripts'));
|
352 |
// Add required styles
|
353 |
add_action('admin_print_styles-'.$this->intStatsPage, array($this, 'addAdminStyle'));
|
354 |
// Add required header tags
|
355 |
+
add_action('admin_head-'.$this->intStatsPage, array($this, 'addAdminHeaderStats'));
|
356 |
// Stats page onload callback
|
357 |
add_action('load-'.$this->intStatsPage, array(&$this, 'onloadStatsPage'));
|
358 |
}
|
362 |
__('WP-Piwik', 'wp-piwik'),
|
363 |
'manage_sites',
|
364 |
__FILE__,
|
365 |
+
array($this, 'showSettings')
|
366 |
);
|
367 |
|
368 |
// Add styles required by options page
|
369 |
add_action('admin_print_styles-'.$intOptionsPage, array($this, 'addAdminStyle'));
|
370 |
+
add_action('admin_head-'.$intOptionsPage, array($this, 'addAdminHeaderSettings'));
|
371 |
}
|
372 |
|
373 |
/**
|
395 |
// Add chart widget if enabled
|
396 |
if (self::$aryGlobalSettings['dashboard_chart']) {
|
397 |
// Add required scripts
|
398 |
+
add_action('admin_print_scripts-index.php', array($this, 'loadStatsScripts'));
|
399 |
// Add required styles
|
400 |
add_action('admin_print_styles-index.php', array($this, 'addAdminStyle'));
|
401 |
// Add required header tags
|
402 |
+
add_action('admin_head-index.php', array($this, 'addAdminHeaderStats'));
|
403 |
$this->addWordPressDashboardChart();
|
404 |
}
|
405 |
// Add SEO widget if enabled
|
453 |
*/
|
454 |
function addWordPressDashboardSEO() {
|
455 |
$aryConfig = array(
|
456 |
+
'params' => array('period' => 'day','date' => 'today','limit' => null),
|
457 |
'inline' => true,
|
458 |
);
|
459 |
$strFile = 'seo';
|
489 |
}
|
490 |
|
491 |
/**
|
492 |
+
* Load required scripts to stats page
|
493 |
*/
|
494 |
+
function loadStatsScripts() {
|
495 |
// Load WP-Piwik script
|
496 |
wp_enqueue_script('wp-piwik', $this->getPluginURL().'js/wp-piwik.js', array(), self::$strVersion, true);
|
497 |
// Load jqPlot
|
498 |
wp_enqueue_script('wp-piwik-jqplot',$this->getPluginURL().'js/jqplot/wp-piwik.jqplot.js',array('jquery'));
|
499 |
}
|
500 |
|
501 |
+
/**
|
502 |
+
* Load required scripts to stats page
|
503 |
+
*/
|
504 |
+
function loadSettingsScripts() {
|
505 |
+
wp_enqueue_script('jquery');
|
506 |
+
}
|
507 |
+
|
508 |
/**
|
509 |
* Load required styles to admin pages
|
510 |
*/
|
514 |
}
|
515 |
|
516 |
/**
|
517 |
+
* Add required header tags to stats page
|
518 |
*/
|
519 |
+
function addAdminHeaderStats() {
|
520 |
// Load jqPlot IE compatibility script
|
521 |
echo '<!--[if IE]><script language="javascript" type="text/javascript" src="'.$this->getPluginURL().'js/jqplot/excanvas.min.js"></script><![endif]-->';
|
522 |
// Load jqPlot styles
|
523 |
echo '<link rel="stylesheet" href="'.$this->getPluginURL().'js/jqplot/jquery.jqplot.min.css" type="text/css"/>';
|
524 |
echo '<script type="text/javascript">var $j = jQuery.noConflict();</script>';
|
525 |
}
|
526 |
+
|
527 |
+
/**
|
528 |
+
* Add required header tags to settings page
|
529 |
+
*/
|
530 |
+
function addAdminHeaderSettings() {
|
531 |
+
echo '<script type="text/javascript">var $j = jQuery.noConflict();</script>';
|
532 |
+
}
|
533 |
|
534 |
/**
|
535 |
* Get this plugin's URL
|
560 |
// cURL not available but url fopen allowed
|
561 |
} elseif (ini_get('allow_url_fopen'))
|
562 |
// Get file using file_get_contents
|
563 |
+
$strResult = @file_get_contents($strURL);
|
564 |
// Error: Not possible to get remote file
|
565 |
else $strResult = serialize(array(
|
566 |
'result' => 'error',
|
575 |
* or get its ID by URL
|
576 |
*/
|
577 |
function addPiwikSite() {
|
578 |
+
if (isset($_GET['wpmu_show_stats']) && is_plugin_active_for_network('wp-piwik/wp-piwik.php')) {
|
579 |
+
switch_to_blog((int) $_GET['wpmu_show_stats']);
|
580 |
+
self::loadSettings();
|
581 |
+
}
|
582 |
$strBlogURL = get_bloginfo('url');
|
583 |
$strURL = self::$aryGlobalSettings['piwik_url'];
|
584 |
// Check if blog URL already known
|
594 |
// Otherwise create new site
|
595 |
} elseif (!empty(self::$aryGlobalSettings['piwik_token']) && !empty($strURL)) {
|
596 |
$strName = get_bloginfo('name');
|
597 |
+
if (empty($strName)) $strName = $strBlogURL;
|
598 |
if (substr($strURL, -1, 1) != '/') $strURL .= '/';
|
599 |
$strURL .= '?module=API&method=SitesManager.addSite';
|
600 |
$strURL .= '&siteName='.urlencode($strName).'&urls='.urlencode($strBlogURL);
|
604 |
if (!empty($strResult)) self::$arySettings['site_id'] = $strResult;
|
605 |
}
|
606 |
// Store new data
|
607 |
+
$mixAPIResult = $this->callPiwikAPI('SitesManager.getJavascriptTag');
|
608 |
+
self::$arySettings['tracking_code'] = (!is_array($mixAPIResult)?html_entity_decode($mixAPIResult):'');
|
609 |
self::$arySettings['last_tracking_code_update'] = time();
|
610 |
// Change Tracking code if configured
|
611 |
self::$arySettings['tracking_code'] = $this->applyJSCodeChanges(self::$arySettings['tracking_code']);
|
612 |
self::saveSettings();
|
613 |
+
if (isset($_GET['wpmu_show_stats']) && is_plugin_active_for_network('wp-piwik/wp-piwik.php'))
|
614 |
+
restore_current_blog();
|
615 |
return array('js' => self::$arySettings['tracking_code'], 'id' => self::$arySettings['site_id']);
|
616 |
}
|
617 |
|
777 |
}
|
778 |
|
779 |
function showStats() {
|
780 |
+
// Disabled time limit if required
|
781 |
+
if (isset(self::$aryGlobalSettings['disable_timelimit']) && self::$aryGlobalSettings['disable_timelimit'])
|
782 |
+
set_time_limit(0);
|
783 |
//we need the global screen column value to be able to have a sidebar in WordPress 2.8
|
784 |
global $screen_layout_columns;
|
785 |
/***************************************************************************/ ?>
|
790 |
if (is_plugin_active_for_network('wp-piwik/wp-piwik.php') && function_exists('is_super_admin') && is_super_admin()) {
|
791 |
global $blog_id;
|
792 |
global $wpdb;
|
793 |
+
$aryBlogs = $wpdb->get_results($wpdb->prepare('SELECT blog_id FROM '.$wpdb->blogs.' ORDER BY blog_id'));
|
794 |
if (isset($_GET['wpmu_show_stats'])) {
|
795 |
switch_to_blog((int) $_GET['wpmu_show_stats']);
|
796 |
self::loadSettings();
|
802 |
$aryOptions = array();
|
803 |
foreach ($aryBlogs as $aryBlog) {
|
804 |
$objBlog = get_blog_details($aryBlog->blog_id, true);
|
805 |
+
$aryOptions[$objBlog->blogname.'#'.$objBlog->blog_id] = '<option value="'.$objBlog->blog_id.'"'.($blog_id == $objBlog->blog_id?' selected="selected"':'').'>'.$objBlog->blog_id.' - '.$objBlog->blogname.'</option>'."\n";
|
806 |
}
|
807 |
// Show blogs in alphabetical order
|
808 |
ksort($aryOptions);
|
809 |
foreach ($aryOptions as $strOption) echo $strOption;
|
810 |
echo '</select><input type="submit" value="'.__('Change').'" />'."\n ";
|
811 |
+
echo __('Currently shown stats:').' <a href="'.get_bloginfo('url').'">'.$blog_id.' - '.get_bloginfo('name').'</a>'."\n";
|
812 |
echo '</form>'."\n";
|
813 |
}
|
814 |
/***************************************************************************/ ?>
|
859 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
860 |
wp_redirect($_POST['_wp_http_referer']);
|
861 |
}
|
862 |
+
|
863 |
+
/**
|
864 |
+
* Add tabs to settings page
|
865 |
+
* See http://wp.smashingmagazine.com/2011/10/20/create-tabs-wordpress-settings-pages/
|
866 |
+
*/
|
867 |
+
function showSettingsTabs($bolFull = true, $strCurr = 'homepage') {
|
868 |
+
$aryTabs = ($bolFull?array(
|
869 |
+
'homepage' => __('Home','wp-piwik'),
|
870 |
+
'piwik' => __('Piwik Settings','wp-piwik'),
|
871 |
+
'tracking' => __('Tracking','wp-piwik'),
|
872 |
+
'views' => __('Statistics','wp-piwik'),
|
873 |
+
'support' => __('Support','wp-piwik'),
|
874 |
+
'credits' => __('Credits','wp-piwik')
|
875 |
+
):array(
|
876 |
+
'piwik' => __('Piwik Settings','wp-piwik'),
|
877 |
+
'support' => __('Support','wp-piwik'),
|
878 |
+
'credits' => __('Credits','wp-piwik')
|
879 |
+
));
|
880 |
+
if (empty($strCurr)) $strCurr = 'homepage';
|
881 |
+
elseif (!isset($aryTabs[$strCurr]) && $strCurr != 'sitebrowser') $strCurr = 'piwik';
|
882 |
+
echo '<div id="icon-themes" class="icon32"><br></div>';
|
883 |
+
echo '<h2 class="nav-tab-wrapper">';
|
884 |
+
foreach($aryTabs as $strTab => $strName) {
|
885 |
+
$strClass = ($strTab == $strCurr?' nav-tab-active':'');
|
886 |
+
echo '<a class="nav-tab'.$strClass.'" href="?page=wp-piwik/wp-piwik.php&tab='.$strTab.'">'.$strName.'</a>';
|
887 |
+
}
|
888 |
+
echo '</h2>';
|
889 |
+
return $strCurr;
|
890 |
+
}
|
891 |
|
892 |
/**
|
893 |
* Apply & store new settings
|
894 |
*/
|
895 |
function applySettings() {
|
896 |
+
$strTab = (isset($_GET['tab'])?$_GET['tab']:'homepage');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
897 |
self::$aryGlobalSettings['last_settings_update'] = time();
|
898 |
+
switch ($strTab) {
|
899 |
+
case 'views':
|
900 |
+
self::$aryGlobalSettings['dashboard_widget'] = (isset($_POST['wp-piwik_dbwidget'])?$_POST['wp-piwik_dbwidget']:0);
|
901 |
+
self::$aryGlobalSettings['dashboard_chart'] = (isset($_POST['wp-piwik_dbchart'])?$_POST['wp-piwik_dbchart']:false);
|
902 |
+
self::$aryGlobalSettings['dashboard_seo'] = (isset($_POST['wp-piwik_dbseo'])?$_POST['wp-piwik_dbseo']:false);
|
903 |
+
self::$aryGlobalSettings['stats_seo'] = (isset($_POST['wp-piwik_statsseo'])?$_POST['wp-piwik_statsseo']:false);
|
904 |
+
self::$aryGlobalSettings['piwik_shortcut'] = (isset($_POST['wp-piwik_piwiklink'])?$_POST['wp-piwik_piwiklink']:false);
|
905 |
+
self::$aryGlobalSettings['default_date'] = (isset($_POST['wp-piwik_default_date'])?$_POST['wp-piwik_default_date']:'yesterday');
|
906 |
+
self::$aryGlobalSettings['capability_read_stats'] = (isset($_POST['wp-piwik_displayto'])?$_POST['wp-piwik_displayto']:array());
|
907 |
+
self::$aryGlobalSettings['disable_timelimit'] = (isset($_POST['wp-piwik_disabletimelimit'])?$_POST['wp-piwik_disabletimelimit']:false);
|
908 |
+
break;
|
909 |
+
case 'tracking':
|
910 |
+
self::$aryGlobalSettings['add_tracking_code'] = (isset($_POST['wp-piwik_addjs'])?$_POST['wp-piwik_addjs']:false);
|
911 |
+
self::$aryGlobalSettings['track_404'] = (isset($_POST['wp-piwik_404'])?$_POST['wp-piwik_404']:false);
|
912 |
+
self::$aryGlobalSettings['track_compress'] = (isset($_POST['wp-piwik_compress'])?$_POST['wp-piwik_compress']:false);
|
913 |
+
self::$aryGlobalSettings['track_post'] = (isset($_POST['wp-piwik_reqpost'])?$_POST['wp-piwik_reqpost']:false);
|
914 |
+
self::$aryGlobalSettings['capability_stealth'] = (isset($_POST['wp-piwik_filter'])?$_POST['wp-piwik_filter']:array());
|
915 |
+
break;
|
916 |
+
case 'piwik':
|
917 |
+
self::$aryGlobalSettings['piwik_token'] = (isset($_POST['wp-piwik_token'])?$_POST['wp-piwik_token']:'');
|
918 |
+
self::$aryGlobalSettings['piwik_url'] = self::checkURL((isset($_POST['wp-piwik_url'])?$_POST['wp-piwik_url']:''));
|
919 |
+
if (!is_plugin_active_for_network('wp-piwik/wp-piwik.php')) {
|
920 |
+
self::$aryGlobalSettings['auto_site_config'] = (isset($_POST['wp-piwik_auto_site_config'])?$_POST['wp-piwik_auto_site_config']:false);
|
921 |
+
if (!self::$aryGlobalSettings['auto_site_config'])
|
922 |
+
self::$arySettings['site_id'] = (isset($_POST['wp-piwik_siteid'])?$_POST['wp-piwik_siteid']:self::$arySettings['site_id']);
|
923 |
+
} else self::$aryGlobalSettings['auto_site_config'] = true;
|
924 |
+
break;
|
925 |
+
}
|
926 |
if (self::$aryGlobalSettings['auto_site_config']) {
|
927 |
$aryReturn = $this->addPiwikSite();
|
928 |
self::$arySettings['tracking_code'] = $aryReturn['js'];
|
931 |
self::saveSettings();
|
932 |
}
|
933 |
|
934 |
+
/**
|
935 |
+
* Check & prepare URL
|
936 |
+
*/
|
937 |
+
static function checkURL($strURL) {
|
938 |
if (substr($strURL, -1, 1) != '/' && substr($strURL, -10, 10) != '/index.php')
|
939 |
$strURL .= '/';
|
940 |
return $strURL;
|
941 |
}
|
942 |
|
943 |
+
/**
|
944 |
+
* Show settings page
|
945 |
+
*/
|
946 |
+
function showSettings() {
|
947 |
+
// Define globals and get request vars
|
948 |
+
global $pagenow;
|
949 |
+
$strTab = (isset($_GET['tab'])?$_GET['tab']:'homepage');
|
950 |
+
// Show update message if stats saved
|
951 |
+
if (isset($_POST['wp-piwik_settings_submit']) && $_POST['wp-piwik_settings_submit'] == 'Y')
|
952 |
echo '<div id="message" class="updated fade"><p>'.__('Changes saved','wp-piwik').'</p></div>';
|
953 |
+
// Show settings page title
|
954 |
+
echo '<div class="wrap"><h2>'.__('WP-Piwik Settings', 'wp-piwik').'</h2>';
|
955 |
+
// Show tabs
|
956 |
+
$strTab = $this->showSettingsTabs(!(empty(self::$aryGlobalSettings['piwik_token']) || empty(self::$aryGlobalSettings['piwik_url'])), $strTab);
|
957 |
+
if ($strTab != 'sitebrowser') {
|
958 |
/***************************************************************************/ ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
959 |
<div class="wp-piwik-donate">
|
960 |
<p><strong><?php _e('Donate','wp-piwik'); ?></strong></p>
|
961 |
<p><?php _e('If you like WP-Piwik, you can support its development by a donation:', 'wp-piwik'); ?></p>
|
976 |
<div>
|
977 |
<a href="http://www.amazon.de/gp/registry/wishlist/111VUJT4HP1RA?reveal=unpurchased&filter=all&sort=priority&layout=standard&x=12&y=14"><?php _e('My Amazon.de wishlist', 'wp-piwik'); ?></a>
|
978 |
</div>
|
979 |
+
<div>
|
980 |
+
<?php _e('Please don\'t forget to vote the compatibility at the','wp-piwik'); ?> <a href="http://wordpress.org/extend/plugins/wp-piwik/">WordPress.org Plugin Directory</a>.
|
981 |
+
</div>
|
982 |
</div>
|
983 |
+
<?php /***************************************************************************/
|
984 |
+
}
|
985 |
+
echo '<form class="'.($strTab != 'sitebrowser'?'wp-piwik-settings':'').'" method="post" action="'.admin_url(($pagenow == 'settings.php'?'network/':'').$pagenow.'?page=wp-piwik/wp-piwik.php&tab='.$strTab).'">';
|
986 |
+
echo '<input type="hidden" name="action" value="save_wp-piwik_settings" />';
|
987 |
+
wp_nonce_field('wp-piwik_settings');
|
988 |
+
// Show settings
|
989 |
+
if (($pagenow == 'options-general.php' || $pagenow == 'settings.php') && $_GET['page'] == 'wp-piwik/wp-piwik.php') {
|
990 |
+
echo '<table class="wp-piwik-form-table form-table">';
|
991 |
+
// Get tab contents
|
992 |
+
require_once('settings/'.$strTab.'.php');
|
993 |
+
// Show submit button
|
994 |
+
if (!in_array($strTab, array('homepage','credits','support','sitebrowser')))
|
995 |
+
echo '<tr><td><p class="submit" style="clear: both;"><input type="submit" name="Submit" class="button-primary" value="'.__('Save settings', 'wp-piwik').'" /><input type="hidden" name="wp-piwik_settings_submit" value="Y" /></p></td></tr>';
|
996 |
+
echo '</table>';
|
997 |
+
}
|
998 |
+
// Close form
|
999 |
+
echo '</form></div>';
|
1000 |
+
}
|
1001 |
|
1002 |
+
/**
|
1003 |
+
* Check if SSL is used
|
1004 |
+
*/
|
1005 |
+
private static function isSSL() {
|
1006 |
+
return (isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off');
|
1007 |
+
}
|
1008 |
+
|
1009 |
+
/**
|
1010 |
+
* Show an error message extended by a support site link
|
1011 |
+
*/
|
1012 |
+
private static function showErrorMessage($strMessage) {
|
1013 |
+
echo '<strong class="wp-piwik-error">'.__('An error occured', 'wp-piwik').':</strong> '.$strMessage.' [<a href="page=wp-piwik/wp-piwik.php&tab=support">'.__('Support','wp-piwik').'</a>]';
|
1014 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1015 |
|
1016 |
+
/**
|
1017 |
+
* Read a RSS feed
|
1018 |
+
*/
|
1019 |
+
private static function readRSSFeed($strFeedURL, $intCount = 5) {
|
1020 |
+
$aryResult = array();
|
1021 |
+
if (function_exists('simplexml_load_file') && !empty($strFeedURL)) {
|
1022 |
+
$objXML = @simplexml_load_file($strFeedURL);
|
1023 |
+
if (empty($strFeedURL) || !$objXML || !isset($objXML->channel[0]->item))
|
1024 |
+
return array(array('title' => 'Can\'t read RSS feed.','url' => $strFeedURL));
|
1025 |
+
foreach($objXML->channel[0]->item as $objItem) {
|
1026 |
+
if( $intCount-- == 0 ) break;
|
1027 |
+
$aryResult[] = array('title' => $objItem->title[0], 'url' => $objItem->link[0]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1028 |
}
|
1029 |
}
|
1030 |
+
return $aryResult;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1031 |
}
|
1032 |
|
1033 |
+
/**
|
1034 |
+
* Execute test script
|
1035 |
+
*/
|
1036 |
+
private static function loadTestscript() {
|
1037 |
+
require_once('debug/testscript.php');
|
1038 |
+
}
|
1039 |
+
|
1040 |
+
/**
|
1041 |
+
* Reset all WP-Piwik settings
|
1042 |
+
*/
|
1043 |
+
private static function resetSettings($bolFull = false) {
|
1044 |
+
global $wpdb;
|
1045 |
+
// Backup auth data
|
1046 |
+
$aryKeep = array(
|
1047 |
+
'revision' => self::$intRevisionId,
|
1048 |
+
'add_tracking_code' => false,
|
1049 |
+
'last_settings_update' => 0,
|
1050 |
+
'piwik_token' => ($bolFull?'':self::$aryGlobalSettings['piwik_token']),
|
1051 |
+
'piwik_url' => ($bolFull?'':self::$aryGlobalSettings['piwik_url']),
|
1052 |
+
'dashboard_widget' => false,
|
1053 |
+
'dashboard_chart' => false,
|
1054 |
+
'dashboard_seo' => false,
|
1055 |
+
'stats_seo' => false,
|
1056 |
+
'capability_stealth' => array(),
|
1057 |
+
'capability_read_stats' => array('administrator' => true),
|
1058 |
+
'piwik_shortcut' => false,
|
1059 |
+
'default_date' => 'yesterday',
|
1060 |
+
'auto_site_config' => true,
|
1061 |
+
'track_404' => false,
|
1062 |
+
'track_compress' => false,
|
1063 |
+
'track_post' => false,
|
1064 |
+
'disable_timelimit' => false
|
1065 |
+
);
|
1066 |
+
// Reset network settings
|
1067 |
+
if (is_plugin_active_for_network('wp-piwik/wp-piwik.php')) {
|
1068 |
+
delete_site_option('wp-piwik_global-settings');
|
1069 |
+
$aryBlogs = $wpdb->get_results($wpdb->prepare('SELECT blog_id FROM '.$wpdb->blogs.' ORDER BY blog_id'));
|
1070 |
+
foreach ($aryBlogs as $aryBlog)
|
1071 |
+
delete_blog_option($aryBlog->blog_id, 'wp-piwik_settings');
|
1072 |
+
update_site_option('wp-piwik_global-settings', $aryKeep);
|
1073 |
+
// Reset simple settings
|
1074 |
+
} else {
|
1075 |
+
delete_option('wp-piwik_global-settings');
|
1076 |
+
delete_option('wp-piwik_settings');
|
1077 |
+
update_option('wp-piwik_global-settings', $aryKeep);
|
1078 |
+
}
|
1079 |
}
|
1080 |
|
1081 |
+
/**
|
1082 |
+
* Get a blog's piwik ID
|
1083 |
+
*/
|
1084 |
+
public static function getSiteID($intBlogID = null) {
|
1085 |
+
$intResult = self::$arySettings['site_id'];
|
1086 |
+
if (is_plugin_active_for_network('wp-piwik/wp-piwik.php') && !empty($intBlogID)) {
|
1087 |
+
$aryResult = get_blog_option($intBlogID, 'wp-piwik_settings');
|
1088 |
+
$intResult = $aryResult['site_id'];
|
1089 |
+
}
|
1090 |
+
return $intResult;
|
|
|
|
|
1091 |
}
|
1092 |
}
|
1093 |
|
1094 |
if (class_exists('wp_piwik'))
|
1095 |
$GLOBALS['wp_piwik'] = new wp_piwik();
|
1096 |
|
1097 |
+
/* EOF */
|