diff --git a/wp-content/plugins/wordpress-popular-posts/js/admin.js b/wp-content/plugins/wordpress-popular-posts/js/admin.js index 9997baa52e42b6c2760b057045133facb35a38d0..e5d3c2805c4616a9d1423f570d6a9377e06b4365 100644 --- a/wp-content/plugins/wordpress-popular-posts/js/admin.js +++ b/wp-content/plugins/wordpress-popular-posts/js/admin.js @@ -1,6 +1,35 @@ (function ($) { "use strict"; $(function () { + // ADS + if ( $('#wpp_donate').is(':visible') ) { + + $.ajax({ + type: "GET", + url: "http://cabrerahector.com/ads/get.php", + timeout: 5000, + dataType: "jsonp", + success: function(results){ + if ( !$.isEmptyObject(results) ) { + $("#wpp_advertisement").html( results.ad ); + + setTimeout(function(){ + // Ad blocker detected :( + if ( "none" == $("#wpp_advertisement img").css('display') ) { + $("#wpp_advertisement").html('<h3 style="margin-top:0; font-size: 1.7em; text-align:center; line-height: 1em;">An <em>awesome</em> ad would be here...</h3><p style="font-size:1.1em; text-align:center;">... <em>if you weren\'t using an <strong>ad blocker</strong></em> :(</p><p style="font-size:0.8em; line-height: 1.4em;">Showing ads help us developers offer our services for free to everyone, so please consider disabling your ad blocker for this page.</p><p style="font-size:0.8em; line-height: 1.4em;">It won\'t be an annoying one, I promise :)</p>').show(); + } + + $("#wpp_advertisement").show(); + }, 250); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown){ + if ( window.console && window.console.log ) + window.console.log( 'Could not retrieve the ad: ' + textStatus ); + } + }); + + } // STATISTICS TABS $("#wpp-stats-tabs a").click(function(e){ @@ -51,6 +80,18 @@ tb_remove(); }; + // log limit + $("#log_limit").change(function(){ + var me = $(this); + + if (me.val() == 1) { + me.parent().children("label, .description").show(); + me.parent().children("br").hide(); + } else { + me.parent().children("label, .description").hide(); + me.parent().children("br").show(); + } + }); // cache interval $("#cache").change(function() { if ($(this).val() == 1) { diff --git a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.mo b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.mo index df3e07359ee58f2ad3ee27aa78ee58bd5ba973b5..90c195300ee45beea475a1550d4a2710da394286 100644 Binary files a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.mo and b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.mo differ diff --git a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.po b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.po index aca33355db66464efa8cf149b4461ef38b3885d3..191b5fa844ffc34a137b1f22543dd6e67d5aaf34 100644 --- a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.po +++ b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-de_DE.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Wordpress Popular Posts\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-24 13:30-0430\n" +"POT-Creation-Date: 2015-08-27 16:19-0430\n" "PO-Revision-Date: \n" "Last-Translator: Héctor Cabrera <hcabrerab@gmail.com>\n" "Language-Team: Héctor Cabrera <hcabrerab@gmail.com>\n" @@ -13,13 +13,13 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2\n" "X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.7.6\n" +"X-Generator: Poedit 1.8.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-1: ..\n" #: ../views/admin.php:25 ../views/admin.php:34 ../views/admin.php:49 -#: ../views/admin.php:75 +#: ../views/admin.php:79 msgid "Settings saved." msgstr "Einstellungen gespeichert" @@ -27,7 +27,7 @@ msgstr "Einstellungen gespeichert" msgid "Please provide the name of your custom field." msgstr "Gebe einen Namen für das benutzerdefinierte Feld an." -#: ../views/admin.php:81 +#: ../views/admin.php:85 msgid "" "Any changes made to WPP's default stylesheet will be lost after every plugin " "update. In order to prevent this from happening, please copy the wpp.css " @@ -35,7 +35,7 @@ msgid "" "theme's directory" msgstr "" -#: ../views/admin.php:96 +#: ../views/admin.php:100 #, fuzzy msgid "" "This operation will delete all entries from WordPress Popular Posts' cache " @@ -44,11 +44,11 @@ msgstr "" "Alle Einträge im Cache werden gelöscht und können nicht mehr wieder " "hergestellt werden." -#: ../views/admin.php:96 ../views/admin.php:104 ../views/admin.php:112 +#: ../views/admin.php:100 ../views/admin.php:108 ../views/admin.php:116 msgid "Do you want to continue?" msgstr "Möchtest du fortfahren?" -#: ../views/admin.php:104 +#: ../views/admin.php:108 msgid "" "This operation will delete all stored info from WordPress Popular Posts' " "data tables and cannot be undone." @@ -56,34 +56,34 @@ msgstr "" "Alle gespeicherten Daten von WordPress Popular Posts werden gelöscht und " "können nicht wieder hergestellt werden." -#: ../views/admin.php:112 +#: ../views/admin.php:116 #, fuzzy msgid "This operation will delete all cached thumbnails and cannot be undone." msgstr "" "Alle Einträge im Cache werden gelöscht und können nicht mehr wieder " "hergestellt werden." -#: ../views/admin.php:146 +#: ../views/admin.php:150 msgid "Stats" msgstr "Statistiken" -#: ../views/admin.php:147 +#: ../views/admin.php:151 msgid "Tools" msgstr "Werkzeuge" -#: ../views/admin.php:148 ../views/admin.php:747 +#: ../views/admin.php:152 ../views/admin.php:766 msgid "Parameters" msgstr "Parameter" -#: ../views/admin.php:149 +#: ../views/admin.php:153 msgid "FAQ" msgstr "Häufige Fragen und Antworten" -#: ../views/admin.php:150 +#: ../views/admin.php:154 msgid "About" msgstr "Über" -#: ../views/admin.php:161 +#: ../views/admin.php:165 msgid "" "Click on each tab to see what are the most popular entries on your blog in " "the last 24 hours, this week, last 30 days or all time since WordPress " @@ -93,64 +93,64 @@ msgstr "" "letzten 24 Stunden, dieser Woche, den letzten 30 Tagen oder des gesamten " "Zeitraums seit der Installation von WordPress Popular Posts zu sehen." -#: ../views/admin.php:167 +#: ../views/admin.php:171 msgid "Order by comments" msgstr "Sortiert nach Kommentaren" -#: ../views/admin.php:168 +#: ../views/admin.php:172 msgid "Order by views" msgstr "Sortiert nach Seitenaufrufen" -#: ../views/admin.php:169 +#: ../views/admin.php:173 msgid "Order by avg. daily views" msgstr "Sortierte nach durchschn. Tagesaufrufen" -#: ../views/admin.php:171 +#: ../views/admin.php:175 msgid "Post type" msgstr "Post-Type" -#: ../views/admin.php:172 +#: ../views/admin.php:176 msgid "Limit" msgstr "Max. aufzulistende Einträge:" -#: ../views/admin.php:174 ../views/admin.php:279 ../views/admin.php:366 -#: ../views/admin.php:403 +#: ../views/admin.php:178 ../views/admin.php:283 ../views/admin.php:385 +#: ../views/admin.php:422 msgid "Apply" msgstr "Anwenden" -#: ../views/admin.php:177 ../views/form.php:32 +#: ../views/admin.php:181 ../views/form.php:32 msgid "Display only posts published within the selected Time Range" msgstr "" -#: ../views/admin.php:184 ../views/form.php:26 +#: ../views/admin.php:188 ../views/form.php:26 msgid "Last 24 hours" msgstr "Letzte 24 Stunden" -#: ../views/admin.php:185 ../views/form.php:27 +#: ../views/admin.php:189 ../views/form.php:27 msgid "Last 7 days" msgstr "Letzte 7 Tage" -#: ../views/admin.php:186 ../views/form.php:28 +#: ../views/admin.php:190 ../views/form.php:28 msgid "Last 30 days" msgstr "Letzte 30 Tage" -#: ../views/admin.php:187 ../views/form.php:29 +#: ../views/admin.php:191 ../views/form.php:29 msgid "All-time" msgstr "Allzeithoch" -#: ../views/admin.php:209 +#: ../views/admin.php:213 msgid "Thumbnails" msgstr "Vorschaubilder" -#: ../views/admin.php:214 +#: ../views/admin.php:218 msgid "Default thumbnail" msgstr "Standardvorschaubild" -#: ../views/admin.php:219 +#: ../views/admin.php:223 msgid "Upload thumbnail" msgstr "Vorschaubild hochladen" -#: ../views/admin.php:221 +#: ../views/admin.php:225 msgid "" "How-to: upload (or select) an image, set Size to Full and click on Upload. " "After it's done, hit on Apply to save changes" @@ -158,100 +158,118 @@ msgstr "" "Anleitung: ein Bild hochladen (oder aus existierenden wählen) und " "\"vollständige Größe\" einstellen. Anschließend \"Anwenden\" anklicken." -#: ../views/admin.php:225 +#: ../views/admin.php:229 msgid "Pick image from" msgstr "Wähle Bildquelle" -#: ../views/admin.php:228 +#: ../views/admin.php:232 msgid "Featured image" msgstr "Beitragsbild" -#: ../views/admin.php:229 +#: ../views/admin.php:233 msgid "First image on post" msgstr "Erstes Bild im Beitrag" -#: ../views/admin.php:230 +#: ../views/admin.php:234 msgid "Custom field" msgstr "Benutzerdefiniertes Feld" -#: ../views/admin.php:233 +#: ../views/admin.php:237 #, fuzzy msgid "Tell WordPress Popular Posts where it should get thumbnails from" msgstr "Woher kommen die Vorschaubilder?" -#: ../views/admin.php:237 +#: ../views/admin.php:241 msgid "Custom field name" msgstr "Name des benutzerdefiniertes Feldes" -#: ../views/admin.php:243 +#: ../views/admin.php:247 msgid "Resize image from Custom field?" msgstr "Bild aus benutzerdefiniertem Feld skalieren?" -#: ../views/admin.php:246 +#: ../views/admin.php:250 msgid "No, I will upload my own thumbnail" msgstr "Nein, ich lade mein eigenes Vorschaubild hoch" -#: ../views/admin.php:247 +#: ../views/admin.php:251 msgid "Yes" msgstr "Ja" -#: ../views/admin.php:252 +#: ../views/admin.php:256 msgid "Responsive support" msgstr "" -#: ../views/admin.php:255 ../views/admin.php:308 ../views/admin.php:348 -#: ../views/admin.php:393 +#: ../views/admin.php:259 ../views/admin.php:327 ../views/admin.php:367 +#: ../views/admin.php:412 msgid "Enabled" msgstr "Aktiviert" -#: ../views/admin.php:256 ../views/admin.php:307 ../views/admin.php:347 -#: ../views/admin.php:394 +#: ../views/admin.php:260 ../views/admin.php:311 ../views/admin.php:326 +#: ../views/admin.php:366 ../views/admin.php:413 msgid "Disabled" msgstr "Deaktiviert" -#: ../views/admin.php:259 +#: ../views/admin.php:263 msgid "" "If enabled, WordPress Popular Posts will strip height and width attributes " "out of thumbnails' image tags" msgstr "" -#: ../views/admin.php:269 +#: ../views/admin.php:273 #, fuzzy msgid "Empty image cache" msgstr "Cache leeren" -#: ../views/admin.php:270 +#: ../views/admin.php:274 #, fuzzy msgid "Use this button to clear WPP's thumbnails cache" msgstr "" "Nutze diese Schaltfläche, um die Cache-Tabelle von Wordpress Popular Posts " "zu leeren." -#: ../views/admin.php:288 +#: ../views/admin.php:292 msgid "Data" msgstr "Daten" -#: ../views/admin.php:293 +#: ../views/admin.php:297 msgid "Log views from" msgstr "Erfasse Aufrufe" -#: ../views/admin.php:296 +#: ../views/admin.php:300 msgid "Visitors only" msgstr "von jedem außer eingeloggten Benutzern" -#: ../views/admin.php:297 +#: ../views/admin.php:301 msgid "Logged-in users only" msgstr "nur von eingeloggten Benutzern" -#: ../views/admin.php:298 +#: ../views/admin.php:302 msgid "Everyone" msgstr "von jedem" -#: ../views/admin.php:304 +#: ../views/admin.php:308 +msgid "Log limit" +msgstr "" + +#: ../views/admin.php:312 +msgid "Keep data for" +msgstr "" + +#: ../views/admin.php:315 +msgid "day(s)" +msgstr "" + +#: ../views/admin.php:317 +msgid "" +"Data from entries that haven't been viewed within the specified time frame " +"will be automatically discarded" +msgstr "" + +#: ../views/admin.php:323 msgid "Ajaxify widget" msgstr "Widget via Ajax" -#: ../views/admin.php:312 +#: ../views/admin.php:331 msgid "" "If you are using a caching plugin such as WP Super Cache, enabling this " "feature will keep the popular list from being cached by it" @@ -259,11 +277,11 @@ msgstr "" "Falls du ein Cache-Plugin wie z. B. WP Super Cache verwendest, verhindert " "das Aktivieren, dass die Liste nicht gecachet wird und stets aktuell ist." -#: ../views/admin.php:316 +#: ../views/admin.php:335 msgid "WPP Cache Expiry Policy" msgstr "" -#: ../views/admin.php:316 ../views/admin.php:344 ../views/form.php:2 +#: ../views/admin.php:335 ../views/admin.php:363 ../views/form.php:2 #: ../views/form.php:12 ../views/form.php:24 ../views/form.php:34 #: ../views/form.php:40 ../views/form.php:43 ../views/form.php:52 #: ../views/form.php:55 ../views/form.php:63 ../views/form.php:66 @@ -273,57 +291,57 @@ msgstr "" msgid "What is this?" msgstr "Was ist das?" -#: ../views/admin.php:319 +#: ../views/admin.php:338 msgid "Never cache" msgstr "" -#: ../views/admin.php:320 +#: ../views/admin.php:339 msgid "Enable caching" msgstr "" -#: ../views/admin.php:324 +#: ../views/admin.php:343 msgid "" "Sets WPP's cache expiration time. WPP can cache the popular list for a " "specified amount of time. Recommended for large / high traffic sites" msgstr "" -#: ../views/admin.php:328 +#: ../views/admin.php:347 msgid "Refresh cache every" msgstr "" -#: ../views/admin.php:332 +#: ../views/admin.php:351 msgid "Minute(s)" msgstr "" -#: ../views/admin.php:333 +#: ../views/admin.php:352 msgid "Hour(s)" msgstr "Stunde(n)" -#: ../views/admin.php:334 +#: ../views/admin.php:353 msgid "Day(s)" msgstr "Tag(e)" -#: ../views/admin.php:335 +#: ../views/admin.php:354 msgid "Week(s)" msgstr "Woche(n)" -#: ../views/admin.php:336 +#: ../views/admin.php:355 msgid "Month(s)" msgstr "Monat(e)" -#: ../views/admin.php:337 +#: ../views/admin.php:356 msgid "Year(s)" msgstr "Jahr(e)" -#: ../views/admin.php:340 +#: ../views/admin.php:359 msgid "Really? That long?" msgstr "Wirklich? So lang?" -#: ../views/admin.php:344 +#: ../views/admin.php:363 msgid "Data Sampling" msgstr "" -#: ../views/admin.php:352 +#: ../views/admin.php:371 #, php-format msgid "" "By default, WordPress Popular Posts stores in database every single visit " @@ -335,38 +353,38 @@ msgid "" "<a href=\"%2$s\" target=\"_blank\">please read here</a>)" msgstr "" -#: ../views/admin.php:356 +#: ../views/admin.php:375 msgid "Sample Rate" msgstr "" -#: ../views/admin.php:360 +#: ../views/admin.php:379 #, php-format msgid "" "A sampling rate of %d is recommended for large / high traffic sites. For " "lower traffic sites, you should lower the value" msgstr "" -#: ../views/admin.php:375 +#: ../views/admin.php:394 msgid "Miscellaneous" msgstr "Sonstiges" -#: ../views/admin.php:380 +#: ../views/admin.php:399 msgid "Open links in" msgstr "Links öffnen in" -#: ../views/admin.php:383 +#: ../views/admin.php:402 msgid "Current window" msgstr "aktuellem Fenster" -#: ../views/admin.php:384 +#: ../views/admin.php:403 msgid "New tab/window" msgstr "Neuem Tab/Fenster" -#: ../views/admin.php:390 +#: ../views/admin.php:409 msgid "Use plugin's stylesheet" msgstr "Stylesheet des Plugins benutzen" -#: ../views/admin.php:397 +#: ../views/admin.php:416 msgid "" "By default, the plugin includes a stylesheet called wpp.css which you can " "use to style your popular posts listing. If you wish to use your own " @@ -378,7 +396,7 @@ msgstr "" "eigenes Stylesheet verwenden oder die wpp.css nicht im HEAD-Abschnitt " "einbinden willst, deaktiviere die Einbindung." -#: ../views/admin.php:414 +#: ../views/admin.php:433 msgid "" "WordPress Popular Posts maintains data in two separate tables: one for " "storing the most popular entries on a daily basis (from now on, \"cache\"), " @@ -393,87 +411,88 @@ msgstr "" "Tabelle leeren wollen oder sowohl die Datentabelle als auch die Cache-" "Tabelle, nutze die folgenden Schaltflächen." -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Empty cache" msgstr "Cache leeren" -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Use this button to manually clear entries from WPP cache only" msgstr "" "Nutze diese Schaltfläche, um die Cache-Tabelle von Wordpress Popular Posts " "zu leeren." -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Clear all data" msgstr "Alle Daten löschen" -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Use this button to manually clear entries from all WPP data tables" msgstr "" "Nutze diese Schaltfläche, um alle Einträge in der Datentabelle von Wordpress " "Popular Posts zu löschen." -#: ../views/admin.php:423 +#: ../views/admin.php:442 #, php-format msgid "" "With the following parameters you can customize the popular posts list when " -"using either the <a href=\"%1$s\">wpp_get_most_popular() template tag</a> or " +"using either the <a href=\"%1$s\">wpp_get_mostpopular() template tag</a> or " "the <a href=\"%2$s\">[wpp] shortcode</a>." msgstr "" -#: ../views/admin.php:431 +#: ../views/admin.php:450 msgid "Parameter" msgstr "Parameter" -#: ../views/admin.php:432 ../views/admin.php:746 +#: ../views/admin.php:451 ../views/admin.php:765 msgid "What it does " msgstr "Was es macht" -#: ../views/admin.php:433 +#: ../views/admin.php:452 msgid "Possible values" msgstr "Erlaubte Werte" -#: ../views/admin.php:434 +#: ../views/admin.php:453 msgid "Defaults to" msgstr "Voreinstellung" -#: ../views/admin.php:435 ../views/admin.php:748 +#: ../views/admin.php:454 ../views/admin.php:767 msgid "Example" msgstr "Beispiel" -#: ../views/admin.php:441 +#: ../views/admin.php:460 msgid "Sets a heading for the list" msgstr "Bestimmt die Überschrift der Liste" -#: ../views/admin.php:442 ../views/admin.php:449 ../views/admin.php:456 -#: ../views/admin.php:491 ../views/admin.php:498 ../views/admin.php:505 -#: ../views/admin.php:512 ../views/admin.php:603 ../views/admin.php:617 -#: ../views/admin.php:624 +#: ../views/admin.php:461 ../views/admin.php:468 ../views/admin.php:475 +#: ../views/admin.php:510 ../views/admin.php:517 ../views/admin.php:524 +#: ../views/admin.php:531 ../views/admin.php:622 ../views/admin.php:636 +#: ../views/admin.php:643 msgid "Text string" msgstr "Zeichenkette" -#: ../views/admin.php:443 -msgid "Popular Posts" -msgstr "Beliebteste Beiträge" +#: ../views/admin.php:462 ../views/admin.php:518 ../views/admin.php:525 +#: ../views/admin.php:532 +msgid "None" +msgstr "nichts" -#: ../views/admin.php:448 +#: ../views/admin.php:467 msgid "Set the opening tag for the heading of the list" msgstr "Bestimmt den öffnenden Tag der Listenüberschrift" -#: ../views/admin.php:455 +#: ../views/admin.php:474 msgid "Set the closing tag for the heading of the list" msgstr "Bestimmt den schließenden Tag der Listenüberschrift" -#: ../views/admin.php:462 +#: ../views/admin.php:481 msgid "Sets the maximum number of popular posts to be shown on the listing" msgstr "Bestimmt die maximale Anzahl der beliebten Beiträge in der Auflistung" -#: ../views/admin.php:463 ../views/admin.php:519 ../views/admin.php:533 -#: ../views/admin.php:554 ../views/admin.php:561 +#: ../views/admin.php:482 ../views/admin.php:538 ../views/admin.php:552 +#: ../views/admin.php:573 ../views/admin.php:580 msgid "Positive integer" msgstr "Positive Ganzzahl" -#: ../views/admin.php:469 +#: ../views/admin.php:488 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries within " "the time range specified by you" @@ -481,7 +500,7 @@ msgstr "" "Weist WordPress Popular Posts an, die beliebtesten Beiträge innerhalt der " "eingestellten Zeitspanne anzuzeigen." -#: ../views/admin.php:476 +#: ../views/admin.php:495 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries published " "within the time range specified by you" @@ -489,19 +508,19 @@ msgstr "" "Weist WordPress Popular Posts an, die beliebtesten Beiträge innerhalt der " "eingestellten Zeitspanne anzuzeigen." -#: ../views/admin.php:483 +#: ../views/admin.php:502 msgid "Sets the sorting option of the popular posts" msgstr "Bestimmt die Auswahl der Reihenfolge der beliebten Beiträge" -#: ../views/admin.php:484 +#: ../views/admin.php:503 msgid "(for average views per day)" msgstr "(für durchschn. Aufrufe pro Tag)" -#: ../views/admin.php:490 +#: ../views/admin.php:509 msgid "Defines the type of posts to show on the listing" msgstr "Bestimmt die Art der Dokumente, die aufgelistet werden" -#: ../views/admin.php:497 +#: ../views/admin.php:516 msgid "" "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) " "form the listing." @@ -509,11 +528,7 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts die Beiträge und Seiten anhand " "ihrer angegebener ID(s) in der Liste nicht an." -#: ../views/admin.php:499 ../views/admin.php:506 ../views/admin.php:513 -msgid "None" -msgstr "nichts" - -#: ../views/admin.php:504 +#: ../views/admin.php:523 msgid "" "If set, WordPress Popular Posts will retrieve all entries that belong to the " "specified category(ies) ID(s). If a minus sign is used, the category(ies) " @@ -523,7 +538,7 @@ msgstr "" "angegebenen Kategorie-IDs zugeordnet sind, an. Ein Minus-Zeichen vor der ID " "schließt die Beiträge dieser Kategorie aus." -#: ../views/admin.php:511 +#: ../views/admin.php:530 msgid "" "If set, WordPress Popular Posts will retrieve all entries created by " "specified author(s) ID(s)." @@ -531,7 +546,7 @@ msgstr "" "Falls gesetzt, wird WordPress Popular Posts alle Einträge anhand angegebener " "Autor(en)-ID(s) ausgeben." -#: ../views/admin.php:518 +#: ../views/admin.php:537 msgid "" "If set, WordPress Popular Posts will shorten each post title to \"n\" " "characters whenever possible" @@ -539,7 +554,7 @@ msgstr "" "Falls gesetzt, kürzt WordPress Popular Posts jeden Titel, wenn möglich, auf " "\"n\" Zeichen." -#: ../views/admin.php:525 +#: ../views/admin.php:544 msgid "" "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" " "words instead of characters" @@ -547,7 +562,7 @@ msgstr "" "Falls gesetzt, kürzt WordPress Popular Posts jeden Titel, wenn möglich, auf " "\"n\" Wörter anstatt Zeichen." -#: ../views/admin.php:532 +#: ../views/admin.php:551 msgid "" "If set, WordPress Popular Posts will build and include an excerpt of \"n\" " "characters long from the content of each post listed as popular" @@ -555,7 +570,7 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts einen Auszug von \"n\" " "Buchstaben Länge bei jedem Beitrag an." -#: ../views/admin.php:539 +#: ../views/admin.php:558 msgid "" "If set, WordPress Popular Posts will maintaing all styling tags (strong, " "italic, etc) and hyperlinks found in the excerpt" @@ -563,7 +578,7 @@ msgstr "" "Falls gesetzt, behält WordPress Popular Posts die formatierenden Tags (fett, " "kursiv usw.) und die Links im Auszug bei." -#: ../views/admin.php:546 +#: ../views/admin.php:565 msgid "" "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words " "instead of characters" @@ -571,7 +586,7 @@ msgstr "" "Falls gesetzt, kürzt WordPress Popular Posts jeden Auszug, wenn möglich, auf " "\"n\" Wörter anstatt Zeichen." -#: ../views/admin.php:553 +#: ../views/admin.php:572 msgid "" "If set, and if your current server configuration allows it, you will be able " "to display thumbnails of your posts. This attribute sets the width for " @@ -581,7 +596,7 @@ msgstr "" "Anzeige von Vorschaubildern deiner Beiträge möglich. Dieses Attribut " "bestimmt die Breite der Vorschaubilder." -#: ../views/admin.php:560 +#: ../views/admin.php:579 msgid "" "If set, and if your current server configuration allows it, you will be able " "to display thumbnails of your posts. This attribute sets the height for " @@ -591,7 +606,7 @@ msgstr "" "Anzeige von Vorschaubildern deiner Beiträge möglich. Dieses Attribut " "bestimmt die Höhe der Vorschaubilder." -#: ../views/admin.php:567 +#: ../views/admin.php:586 msgid "" "If set, and if the WP-PostRatings plugin is installed and enabled on your " "blog, WordPress Popular Posts will show how your visitors are rating your " @@ -600,7 +615,7 @@ msgstr "" "Falls gesetzt und wenn das Plugin WP-PostRatings in Deinem Blog läuft, zeigt " "WordPress Popular Posts die Bewertungen der Nutzer an." -#: ../views/admin.php:574 +#: ../views/admin.php:593 msgid "" "If set, WordPress Popular Posts will show how many comments each popular " "post has got until now" @@ -608,7 +623,7 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts an, wie viele Kommentare jeder " "Beitrag bis jetzt erhielt." -#: ../views/admin.php:581 +#: ../views/admin.php:600 msgid "" "If set, WordPress Popular Posts will show how many views each popular post " "has got since it was installed" @@ -616,7 +631,7 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts an, wie viele Aufrufe jeder " "Beitrag seit der Installation erhielt." -#: ../views/admin.php:588 +#: ../views/admin.php:607 msgid "" "If set, WordPress Popular Posts will show who published each popular post on " "the list" @@ -624,7 +639,7 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts an, wer welchen Beitrag " "veröffentlicht hat." -#: ../views/admin.php:595 +#: ../views/admin.php:614 msgid "" "If set, WordPress Popular Posts will display the date when each popular post " "on the list was published" @@ -632,58 +647,62 @@ msgstr "" "Falls gesetzt, zeigt WordPress Popular Posts das Veröffentlichungsdatum " "jeden Beitrags in der Liste an." -#: ../views/admin.php:602 +#: ../views/admin.php:621 msgid "Sets the date format" msgstr "Bestimmt das Datumsformat" -#: ../views/admin.php:609 +#: ../views/admin.php:628 msgid "If set, WordPress Popular Posts will display the category" msgstr "Falls gesetzt, zeigt WordPress Popular Posts die Kategorie an" -#: ../views/admin.php:616 +#: ../views/admin.php:635 msgid "Sets the opening tag for the listing" msgstr "Bestimmt das öffnende Tag der Auflistung" -#: ../views/admin.php:623 +#: ../views/admin.php:642 msgid "Sets the closing tag for the listing" msgstr "Bestimmt das schließende Tag der Auflistung" -#: ../views/admin.php:630 +#: ../views/admin.php:649 msgid "Sets the HTML structure of each post" msgstr "Setzt die HTML-Struktur jeden Beitrags" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Text string, custom HTML" msgstr "Zeichenkette, benutzerdefiniertes HTML" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Available Content Tags" msgstr "Verfügbare Content-Tags" -#: ../views/admin.php:631 -msgid "displays thumbnail linked to post/page" -msgstr "zeigt verlinktes Vorschaubild des Beitrags/der Seite an" +#: ../views/admin.php:650 +msgid "" +"displays thumbnail linked to post/page, requires thumbnail_width & " +"thumbnail_height" +msgstr "" -#: ../views/admin.php:631 -msgid "displays thumbnail image without linking to post/page" +#: ../views/admin.php:650 +msgid "" +"displays thumbnail image without linking to post/page, requires " +"thumbnail_width & thumbnail_height" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked post/page title" msgstr "zeigt den verlinkten Titel des Beitrags/der Seiten an" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page excerpt, and requires excerpt_length to be greater than 0" msgstr "" "zeigt den Auszug (excerpt) des Beitrags/der Seite an, erfordert " "excerpt_length größer als 0" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays the default stats tags" msgstr "zeigt die standard­mäßigen Statistik-Tags an" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page current rating, requires WP-PostRatings installed and " "enabled" @@ -691,7 +710,7 @@ msgstr "" "zeigt die aktuelle Bewertung des Beitrags/der Seite an, erfordert das " "installierte und aktivierte Plugin WP-PostRatings" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page current rating as an integer, requires WP-PostRatings " "installed and enabled" @@ -699,42 +718,42 @@ msgstr "" "zeigt die aktuelle Bewertung des Beitrags/der Seite an, erfordert das " "installierte und aktivierte Plugin WP-PostRatings" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "outputs the URL of the post/page" msgstr "gibt die URL des Beitrags/der Seite aus" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page title, no link" msgstr "zeigt den Titel des Beitrags/der Seite an, ohne Link" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked author name, requires stats_author=1" msgstr "zeigt den verlinkten Autoren­namen an, erfordert stats_author=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked category name, requires stats_category=1" msgstr "" "zeigt den verlinkten Kategorien­namen an, erfordert stats_category=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays views count only, no text" msgstr "zeigt nur die Anzahl an, ohne Text" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays comments count only, no text, requires stats_comments=1" msgstr "" "zeigt nur die Anzahl der Kom­men­tare an, ohne Text, erfordert " "stats_comment=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page date, requires stats_date=1" msgstr "" -#: ../views/admin.php:643 +#: ../views/admin.php:662 msgid "What does \"Title\" do?" msgstr "Was macht \"Titel\"?" -#: ../views/admin.php:646 +#: ../views/admin.php:665 msgid "" "It allows you to show a heading for your most popular posts listing. If left " "empty, no heading will be displayed at all." @@ -742,11 +761,11 @@ msgstr "" "Ermöglicht dir, eine Überschrift für die Auflistung anzugeben. Falls leer " "belassen, wird keine Überschrift angezeigt." -#: ../views/admin.php:649 +#: ../views/admin.php:668 msgid "What is Time Range for?" msgstr "Für was steht die Zeitspanne?" -#: ../views/admin.php:651 +#: ../views/admin.php:670 msgid "" "It will tell WordPress Popular Posts to retrieve all posts with most views / " "comments within the selected time range." @@ -754,11 +773,11 @@ msgstr "" "Weist WordPress Popular Posts an, alle Beiträge mit den meisten Aufrufen " "bzw. Kommentaren innerhalb der eingestellten Zeitspanne anzuzeigen." -#: ../views/admin.php:654 +#: ../views/admin.php:673 msgid "What is \"Sort post by\" for?" msgstr "Für was steht \"Sortiere Beiträge nach\"?" -#: ../views/admin.php:656 +#: ../views/admin.php:675 msgid "" "It allows you to decide whether to order your popular posts listing by total " "views, comments, or average views per day." @@ -767,11 +786,11 @@ msgstr "" "der Aufrufe, Kommentare oder durchschnittlichen Aufrufen pro Tag geordnet " "werden." -#: ../views/admin.php:659 +#: ../views/admin.php:678 msgid "What does \"Display post rating\" do?" msgstr "Was macht \"Zeige Bewertung\"?" -#: ../views/admin.php:661 +#: ../views/admin.php:680 msgid "" "If checked, WordPress Popular Posts will show how your readers are rating " "your most popular posts. This feature requires having WP-PostRatings plugin " @@ -781,11 +800,11 @@ msgstr "" "beliebtesten Beiträge bewertet haben. Diese Funktion erfordert die " "Installation und Aktivierung des Plugins WP-PostRatings." -#: ../views/admin.php:664 +#: ../views/admin.php:683 msgid "What does \"Shorten title\" do?" msgstr "Was macht \"Kürze den Titel\"?" -#: ../views/admin.php:666 +#: ../views/admin.php:685 msgid "" "If checked, all posts titles will be shortened to \"n\" characters/words. A " "new \"Shorten title to\" option will appear so you can set it to whatever " @@ -795,11 +814,11 @@ msgstr "" "Auswahl \"Kürze den Titel zu\" wird erscheinen, mit der du die Titellänge " "setzen kannst." -#: ../views/admin.php:669 +#: ../views/admin.php:688 msgid "What does \"Display post excerpt\" do?" msgstr "Was macht \"Zeige Auszug\"?" -#: ../views/admin.php:671 +#: ../views/admin.php:690 msgid "" "If checked, WordPress Popular Posts will also include a small extract of " "your posts in the list. Similarly to the previous option, you will be able " @@ -809,11 +828,11 @@ msgstr "" "Auszug Deines Beitrags in der Liste an. Wie bei der vorhergehenden Auswahl " "ist es dir möglich, die Länge des Auszugs einzustellen." -#: ../views/admin.php:674 +#: ../views/admin.php:693 msgid "What does \"Keep text format and links\" do?" msgstr "Was macht \"Behalte Textformat und Links bei\"?" -#: ../views/admin.php:676 +#: ../views/admin.php:695 msgid "" "If checked, and if the Post Excerpt feature is enabled, WordPress Popular " "Posts will keep the styling tags (eg. bold, italic, etc) that were found in " @@ -823,11 +842,11 @@ msgstr "" "WordPress Popular Posts die formatierenden Tags (z. B. fett, kursiv usw.) im " "Auszug. Auch Links bleiben unverändert." -#: ../views/admin.php:679 +#: ../views/admin.php:698 msgid "What is \"Post type\" for?" msgstr "Für was steht \"Post-Type\"?" -#: ../views/admin.php:681 +#: ../views/admin.php:700 msgid "" "This filter allows you to decide which post types to show on the listing. By " "default, it will retrieve only posts and pages (which should be fine for " @@ -837,11 +856,11 @@ msgstr "" "werden. Per Voreinstellung werden nur Seiten und Beiträge angezeigt (was in " "den meisten Fällen ausreicht)." -#: ../views/admin.php:684 +#: ../views/admin.php:703 msgid "What is \"Category(ies) ID(s)\" for?" msgstr "Für was steht \"Kategorie(n)-ID(s)\"?" -#: ../views/admin.php:686 +#: ../views/admin.php:705 msgid "" "This filter allows you to select which categories should be included or " "excluded from the listing. A negative sign in front of the category ID " @@ -853,11 +872,11 @@ msgstr "" "einer Kategorien-ID schließt Beiträge, die die ID zugewiesen bekamen, von " "der Liste aus. du kannst mehr als eine ID, mit Kommas getrennt, angeben." -#: ../views/admin.php:689 +#: ../views/admin.php:708 msgid "What is \"Author(s) ID(s)\" for?" msgstr "Für was steht \"Autor(en)-ID(s)\"?" -#: ../views/admin.php:691 +#: ../views/admin.php:710 msgid "" "Just like the Category filter, this one lets you filter posts by author ID. " "You can specify more than one ID with a comma separated list." @@ -865,11 +884,11 @@ msgstr "" "Wie beim Kategorienfilter kannst du auch Beiträge nach Autoren filtern. Du " "kannst mehr als eine Autoren-ID, getrennt durch Kommas, angeben." -#: ../views/admin.php:694 +#: ../views/admin.php:713 msgid "What does \"Display post thumbnail\" do?" msgstr "Was macht \"Zeige Vorschaubild\"?" -#: ../views/admin.php:696 +#: ../views/admin.php:715 msgid "" "If checked, WordPress Popular Posts will attempt to retrieve the thumbnail " "of each post. You can set up the source of the thumbnail via Settings - " @@ -879,11 +898,11 @@ msgstr "" "jedem Beitrag darzustellen. Du kannst die Quelle des Vorschaubildes unter " "\"Werkzeuge\" einstellen." -#: ../views/admin.php:699 +#: ../views/admin.php:718 msgid "What does \"Display comment count\" do?" msgstr "Was macht \"Zeige Anzahl Kommentare\"?" -#: ../views/admin.php:701 +#: ../views/admin.php:720 msgid "" "If checked, WordPress Popular Posts will display how many comments each " "popular post has got in the selected Time Range." @@ -891,11 +910,11 @@ msgstr "" "Falls aktiviert, zeigt WordPress Popular Posts an, wie viele Kommentare " "jeder beliebte Beitrag in der eingestellten Zeitspanne erhielt." -#: ../views/admin.php:704 +#: ../views/admin.php:723 msgid "What does \"Display views\" do?" msgstr "Was macht \"Zeige Aufrufe\"?" -#: ../views/admin.php:706 +#: ../views/admin.php:725 msgid "" "If checked, WordPress Popular Posts will show how many pageviews a single " "post has gotten in the selected Time Range." @@ -903,11 +922,11 @@ msgstr "" "Falls aktiviert, zeigt WordPress Popular Posts an, wie viele Seitenaufrufe " "jeder einzelne Beitrag in der eingestellten Zeitspanne erhielt." -#: ../views/admin.php:709 +#: ../views/admin.php:728 msgid "What does \"Display author\" do?" msgstr "Was macht \"Zeige Autor\"?" -#: ../views/admin.php:711 +#: ../views/admin.php:730 msgid "" "If checked, WordPress Popular Posts will display the name of the author of " "each entry listed." @@ -915,11 +934,11 @@ msgstr "" "Falls aktiviert, zeigt WordPress Popular Posts den Autorennamen in jedem " "Listeneintrag an." -#: ../views/admin.php:714 +#: ../views/admin.php:733 msgid "What does \"Display date\" do?" msgstr "Was macht \"Zeige Datum\"?" -#: ../views/admin.php:716 +#: ../views/admin.php:735 msgid "" "If checked, WordPress Popular Posts will display the date when each popular " "posts was published." @@ -927,22 +946,22 @@ msgstr "" "Falls aktiviert, zeigt WordPress Popular Posts das Veröffentlichungsdatum " "jeden Beitrags an." -#: ../views/admin.php:719 +#: ../views/admin.php:738 msgid "What does \"Display category\" do?" msgstr "Was macht \"Zeige Kategorie\"?" -#: ../views/admin.php:721 +#: ../views/admin.php:740 msgid "" "If checked, WordPress Popular Posts will display the category of each post." msgstr "" "Falls aktiviert, zeigt WordPress Popular Posts den Kategorie in jedem " "Listeneintrag an." -#: ../views/admin.php:724 +#: ../views/admin.php:743 msgid "What does \"Use custom HTML Markup\" do?" msgstr "Was macht \"Verwende benutzerdefinierten HTML-Code\"?" -#: ../views/admin.php:726 +#: ../views/admin.php:745 msgid "" "If checked, you will be able to customize the HTML markup of your popular " "posts listing. For example, you can decide whether to wrap your posts in an " @@ -954,11 +973,11 @@ msgstr "" "ungeordneten Liste, geordneten Liste, einem DIV oder was auch immer gesetzt " "werden. Wenn du HTML und CSS kannst, ist diese Auswahl dein Freund." -#: ../views/admin.php:729 +#: ../views/admin.php:748 msgid "What are \"Content Tags\"?" msgstr "Was sind \"Content-Tags\"?" -#: ../views/admin.php:731 +#: ../views/admin.php:750 #, fuzzy, php-format msgid "" "Content Tags are codes to display a variety of items on your popular posts " @@ -974,11 +993,11 @@ msgstr "" "\"Liste der gültigen Parameter von wpp_gewt-mostpopular() und des [wpp]-" "Shortcodes\"." -#: ../views/admin.php:734 +#: ../views/admin.php:753 msgid "What are \"Template Tags\"?" msgstr "Was sind \"Template-Tags\"?" -#: ../views/admin.php:736 +#: ../views/admin.php:755 msgid "" "Template Tags are simply php functions that allow you to perform certain " "actions. For example, WordPress Popular Posts currently supports two " @@ -988,20 +1007,20 @@ msgstr "" "Aktionen ausführen. Zum Beispiel unterstützt WordPress Popular Posts zwei " "verschiedene Template-Tags: wpp_get_mostpopular() und wpp_get_views()." -#: ../views/admin.php:739 +#: ../views/admin.php:758 msgid "What are the template tags that WordPress Popular Posts supports?" msgstr "Welche Template-Tags unterstützt WordPress Popular Posts?" -#: ../views/admin.php:741 +#: ../views/admin.php:760 msgid "" "The following are the template tags supported by WordPress Popular Posts" msgstr "Die folgenden Template-Tags unterstützt WordPress Popular Posts" -#: ../views/admin.php:745 +#: ../views/admin.php:764 msgid "Template tag" msgstr "Template-Tag" -#: ../views/admin.php:754 +#: ../views/admin.php:773 #, fuzzy, php-format msgid "" "Similar to the widget functionality, this tag retrieves the most popular " @@ -1013,14 +1032,14 @@ msgstr "" "Auflistung nach deinen Vorstellungen setzen kannst, aber sie sind sind " "erforderlich." -#: ../views/admin.php:755 +#: ../views/admin.php:774 #, php-format msgid "" "Please refer to the <a href=\"%1$s\">Parameters section</a> for a complete " "list of attributes." msgstr "" -#: ../views/admin.php:760 +#: ../views/admin.php:779 msgid "" "Displays the number of views of a single post. Post ID is required or it " "will return false." @@ -1028,15 +1047,15 @@ msgstr "" "Zeigt die Anzahl der Aufrufe eines einzelnen Beitrags an. Die Post-ID ist " "erforderlich, andersfalls wird false zurückgegeben." -#: ../views/admin.php:761 +#: ../views/admin.php:780 msgid "Post ID" msgstr "Post-ID" -#: ../views/admin.php:768 +#: ../views/admin.php:787 msgid "What are \"shortcodes\"?" msgstr "Was sind \"Shortcodes\"?" -#: ../views/admin.php:770 +#: ../views/admin.php:789 #, php-format msgid "" "Shortcodes are similar to BB Codes, these allow us to call a php function by " @@ -1051,20 +1070,20 @@ msgstr "" "von Beiträgen als auch Seiten ein. Für mehr Informationen über Shortcodes " "besuche <a href=\"%s\" target=\"_blank\">WordPress Shortcode API</a>." -#: ../views/admin.php:778 +#: ../views/admin.php:797 #, php-format msgid "About WordPress Popular Posts %s" msgstr "Über WordPress Popular Posts %s" -#: ../views/admin.php:779 +#: ../views/admin.php:798 msgid "This version includes the following changes" msgstr "Diese Version enthält die folgenden Änderungen" -#: ../views/admin.php:802 +#: ../views/admin.php:815 msgid "Do you like this plugin?" msgstr "Gefällt dir dieses Plugin?" -#: ../views/admin.php:809 +#: ../views/admin.php:822 msgid "" "Each donation motivates me to keep releasing free stuff for the WordPress " "community!" @@ -1072,23 +1091,23 @@ msgstr "" "Jede Spende motiviert mich, der WordPress-Gemeinschaft nützliches Zeugs " "weiterhin kostenlos zur Verfügung zu stellen!" -#: ../views/admin.php:810 +#: ../views/admin.php:823 #, php-format msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!" msgstr "" -#: ../views/admin.php:814 +#: ../views/admin.php:829 msgid "Need help?" msgstr "Brauchen Sie Hilfe?" -#: ../views/admin.php:815 +#: ../views/admin.php:830 #, php-format msgid "" "Visit <a href=\"%s\" target=\"_blank\">the forum</a> for support, questions " "and feedback." msgstr "" -#: ../views/admin.php:816 +#: ../views/admin.php:831 msgid "Let's make this plugin even better!" msgstr "" @@ -1196,10 +1215,6 @@ msgstr "" msgid "Width" msgstr "Breite:" -#: ../views/form.php:91 ../views/form.php:94 -msgid "px" -msgstr "px" - #: ../views/form.php:93 msgid "Height" msgstr "Höhe:" @@ -1256,11 +1271,11 @@ msgstr "Vor / nach Beliebte Beiträge:" msgid "Post HTML Markup" msgstr "Zeige HTML-Code" -#: ../wordpress-popular-posts.php:302 +#: ../wordpress-popular-posts.php:304 msgid "The most Popular Posts on your blog." msgstr "Die beliebtesten Beiträge deines Blogs." -#: ../wordpress-popular-posts.php:467 +#: ../wordpress-popular-posts.php:482 msgid "" "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing " "the <em>id</em> attribute on before_widget (see <a href=\"http://codex." @@ -1268,11 +1283,11 @@ msgid "" "\"nofollow\">register_sidebar</a> for more)." msgstr "" -#: ../wordpress-popular-posts.php:711 +#: ../wordpress-popular-posts.php:726 msgid "Upload" msgstr "Hochladen" -#: ../wordpress-popular-posts.php:1087 +#: ../wordpress-popular-posts.php:1095 #, php-format msgid "" "Your PHP installation is too old. WordPress Popular Posts requires at least " @@ -1284,7 +1299,7 @@ msgstr "" "Kontakt mit deinem Hosting-Provider auf und bitte ihn, PHP auf v%1$s oder " "höher zu aktualisieren." -#: ../wordpress-popular-posts.php:1094 +#: ../wordpress-popular-posts.php:1102 #, php-format msgid "" "Your WordPress version is too old. WordPress Popular Posts requires at least " @@ -1295,7 +1310,7 @@ msgstr "" "benötigt mindestens Version %1$s. Bitte aktualisiere WordPress via Dashboard " "> Aktualisieren." -#: ../wordpress-popular-posts.php:1119 +#: ../wordpress-popular-posts.php:1127 #, php-format msgid "" "<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> has been <strong>deactivated</" @@ -1304,27 +1319,27 @@ msgstr "" "<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> wurde <strong>deaktiviert</" "strong>.</p></div>" -#: ../wordpress-popular-posts.php:1179 +#: ../wordpress-popular-posts.php:1211 msgid "Success! The cache table has been cleared!" msgstr "Erfolg: Die Cache-Tabelle wurde geleert!" -#: ../wordpress-popular-posts.php:1181 +#: ../wordpress-popular-posts.php:1213 msgid "Error: cache table does not exist." msgstr "Fehler: Cache-Tabelle ist nicht vorhanden." -#: ../wordpress-popular-posts.php:1188 +#: ../wordpress-popular-posts.php:1220 msgid "Success! All data have been cleared!" msgstr "Erfolg: Alle Daten wurden gelöscht!" -#: ../wordpress-popular-posts.php:1190 +#: ../wordpress-popular-posts.php:1222 msgid "Error: one or both data tables are missing." msgstr "Fehler: Eine oder beide Tabellen fehlen." -#: ../wordpress-popular-posts.php:1193 ../wordpress-popular-posts.php:1231 +#: ../wordpress-popular-posts.php:1225 ../wordpress-popular-posts.php:1263 msgid "Invalid action." msgstr "Ungültige Aktion." -#: ../wordpress-popular-posts.php:1196 ../wordpress-popular-posts.php:1234 +#: ../wordpress-popular-posts.php:1228 ../wordpress-popular-posts.php:1266 msgid "" "Sorry, you do not have enough permissions to do this. Please contact the " "site administrator for support." @@ -1332,55 +1347,64 @@ msgstr "" "Du hast nicht die erforderlichen Rechte um das zu tun. Bitte wende dich an " "den Administrator für weitere Hilfe." -#: ../wordpress-popular-posts.php:1226 +#: ../wordpress-popular-posts.php:1258 #, fuzzy msgid "Success! All files have been deleted!" msgstr "Erfolg: Alle Daten wurden gelöscht!" -#: ../wordpress-popular-posts.php:1228 +#: ../wordpress-popular-posts.php:1260 msgid "The thumbnail cache is already empty!" msgstr "" -#: ../wordpress-popular-posts.php:1778 +#: ../wordpress-popular-posts.php:1816 msgid "Sorry. No data so far." msgstr "Noch keine Daten vorhanden." -#: ../wordpress-popular-posts.php:2305 +#: ../wordpress-popular-posts.php:2343 #, php-format msgid "1 comment" msgid_plural "%s comments" msgstr[0] "1 Kommentar" msgstr[1] "%s Kommentare" -#: ../wordpress-popular-posts.php:2317 +#: ../wordpress-popular-posts.php:2355 #, php-format msgid "1 view per day" msgid_plural "%s views per day" msgstr[0] "1 Aufruf pro Tag" msgstr[1] "%s Aufrufe pro Tag" -#: ../wordpress-popular-posts.php:2323 +#: ../wordpress-popular-posts.php:2361 #, php-format msgid "1 view" msgid_plural "%s views" msgstr[0] "1 Aufruf" msgstr[1] "%s Aufrufe" -#: ../wordpress-popular-posts.php:2346 +#: ../wordpress-popular-posts.php:2384 #, php-format msgid "by %s" msgstr "von %s" -#: ../wordpress-popular-posts.php:2352 +#: ../wordpress-popular-posts.php:2390 #, php-format msgid "posted on %s" msgstr "veröffentlicht am %s" -#: ../wordpress-popular-posts.php:2360 +#: ../wordpress-popular-posts.php:2398 #, php-format msgid "under %s" msgstr "in %s" +#~ msgid "Popular Posts" +#~ msgstr "Beliebteste Beiträge" + +#~ msgid "displays thumbnail linked to post/page" +#~ msgstr "zeigt verlinktes Vorschaubild des Beitrags/der Seite an" + +#~ msgid "px" +#~ msgstr "px" + #~ msgid "Listing refresh interval" #~ msgstr "Aktualisierungsintervall der Liste" diff --git a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.mo b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.mo index c5c7165cf63203d2ec56cc3a83b895f561dd229d..c19e9a47a11204978071c5920779a06a29620854 100644 Binary files a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.mo and b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.mo differ diff --git a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.po b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.po index ca5f478c7f0f3a6829ac6bbc41ade6dd683b15ee..8ec4a3dae1ad8ced6a996b6dc316620c8997fbf4 100644 --- a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.po +++ b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts-es_ES.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Wordpress Popular Posts\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-24 13:30-0430\n" +"POT-Creation-Date: 2015-08-27 16:19-0430\n" "PO-Revision-Date: \n" "Last-Translator: Héctor Cabrera <hcabrerab@gmail.com>\n" "Language-Team: Héctor Cabrera <hcabrerab@gmail.com>\n" @@ -13,13 +13,13 @@ msgstr "" "X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-KeywordsList: __;_e;_n:1,2\n" "X-Poedit-Basepath: .\n" -"X-Generator: Poedit 1.7.6\n" +"X-Generator: Poedit 1.8.1\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPath-1: ..\n" #: ../views/admin.php:25 ../views/admin.php:34 ../views/admin.php:49 -#: ../views/admin.php:75 +#: ../views/admin.php:79 msgid "Settings saved." msgstr "Configuración guardada." @@ -27,7 +27,7 @@ msgstr "Configuración guardada." msgid "Please provide the name of your custom field." msgstr "Por favor indica el nombre de tu custom field." -#: ../views/admin.php:81 +#: ../views/admin.php:85 msgid "" "Any changes made to WPP's default stylesheet will be lost after every plugin " "update. In order to prevent this from happening, please copy the wpp.css " @@ -39,7 +39,7 @@ msgstr "" "favor copia el archivo wpp.css (ubicado en wp-content/plugins/wordpress-" "popular-posts/style) en la carpeta de tu tema actual." -#: ../views/admin.php:96 +#: ../views/admin.php:100 msgid "" "This operation will delete all entries from WordPress Popular Posts' cache " "table and cannot be undone." @@ -47,11 +47,11 @@ msgstr "" "Esta operaci\\363n borrar\\341 todas las entradas en el cach\\351 de " "WordPress Popular Posts y no se puede deshacer." -#: ../views/admin.php:96 ../views/admin.php:104 ../views/admin.php:112 +#: ../views/admin.php:100 ../views/admin.php:108 ../views/admin.php:116 msgid "Do you want to continue?" msgstr "Deseas continuar?" -#: ../views/admin.php:104 +#: ../views/admin.php:108 msgid "" "This operation will delete all stored info from WordPress Popular Posts' " "data tables and cannot be undone." @@ -59,33 +59,33 @@ msgstr "" "Esta operaci\\363n borrar\\341 toda la informaci\\363n guardada en las " "tablas de WordPress Popular Posts y no puede ser reversado." -#: ../views/admin.php:112 +#: ../views/admin.php:116 msgid "This operation will delete all cached thumbnails and cannot be undone." msgstr "" "Esta operaci\\363n borrar\\341 todas las miniaturas en el cach\\351 y no se " "puede deshacer." -#: ../views/admin.php:146 +#: ../views/admin.php:150 msgid "Stats" msgstr "Estadísticas" -#: ../views/admin.php:147 +#: ../views/admin.php:151 msgid "Tools" msgstr "Herramientas" -#: ../views/admin.php:148 ../views/admin.php:747 +#: ../views/admin.php:152 ../views/admin.php:766 msgid "Parameters" msgstr "Parámetros" -#: ../views/admin.php:149 +#: ../views/admin.php:153 msgid "FAQ" msgstr "FAQ" -#: ../views/admin.php:150 +#: ../views/admin.php:154 msgid "About" msgstr "Acerca de" -#: ../views/admin.php:161 +#: ../views/admin.php:165 msgid "" "Click on each tab to see what are the most popular entries on your blog in " "the last 24 hours, this week, last 30 days or all time since WordPress " @@ -96,65 +96,65 @@ msgstr "" "30 días o de todos los tiempos desde que WordPress Popular Posts fue " "instalado." -#: ../views/admin.php:167 +#: ../views/admin.php:171 msgid "Order by comments" msgstr "Ordenar por comentarios" -#: ../views/admin.php:168 +#: ../views/admin.php:172 msgid "Order by views" msgstr "Ordenar por vistas" -#: ../views/admin.php:169 +#: ../views/admin.php:173 msgid "Order by avg. daily views" msgstr "Ordenar por average de vistas diarias" -#: ../views/admin.php:171 +#: ../views/admin.php:175 msgid "Post type" msgstr "Post type" -#: ../views/admin.php:172 +#: ../views/admin.php:176 msgid "Limit" msgstr "Límite" -#: ../views/admin.php:174 ../views/admin.php:279 ../views/admin.php:366 -#: ../views/admin.php:403 +#: ../views/admin.php:178 ../views/admin.php:283 ../views/admin.php:385 +#: ../views/admin.php:422 msgid "Apply" msgstr "Aplicar" -#: ../views/admin.php:177 ../views/form.php:32 +#: ../views/admin.php:181 ../views/form.php:32 msgid "Display only posts published within the selected Time Range" msgstr "" "Mostrar sólo entradas publicadas en el Rango de Tiempo seleccionado" -#: ../views/admin.php:184 ../views/form.php:26 +#: ../views/admin.php:188 ../views/form.php:26 msgid "Last 24 hours" msgstr "Últimas 24 horas" -#: ../views/admin.php:185 ../views/form.php:27 +#: ../views/admin.php:189 ../views/form.php:27 msgid "Last 7 days" msgstr "Últimos 7 días" -#: ../views/admin.php:186 ../views/form.php:28 +#: ../views/admin.php:190 ../views/form.php:28 msgid "Last 30 days" msgstr "Últimos 30 días" -#: ../views/admin.php:187 ../views/form.php:29 +#: ../views/admin.php:191 ../views/form.php:29 msgid "All-time" msgstr "Todos los tiempos" -#: ../views/admin.php:209 +#: ../views/admin.php:213 msgid "Thumbnails" msgstr "Miniaturas" -#: ../views/admin.php:214 +#: ../views/admin.php:218 msgid "Default thumbnail" msgstr "Miniatura por defecto" -#: ../views/admin.php:219 +#: ../views/admin.php:223 msgid "Upload thumbnail" msgstr "Subir miniatura" -#: ../views/admin.php:221 +#: ../views/admin.php:225 msgid "" "How-to: upload (or select) an image, set Size to Full and click on Upload. " "After it's done, hit on Apply to save changes" @@ -162,58 +162,58 @@ msgstr "" "Tutorial: sube (o selecciona) una imagen, selecciona Tamaño Completo " "y haz clic en Subir. Cuando termine, dale a Aplicar para guardar los cambios" -#: ../views/admin.php:225 +#: ../views/admin.php:229 msgid "Pick image from" msgstr "Seleccionar imagen desde" -#: ../views/admin.php:228 +#: ../views/admin.php:232 msgid "Featured image" msgstr "Imagen destacada" -#: ../views/admin.php:229 +#: ../views/admin.php:233 msgid "First image on post" msgstr "Primera imagen de la entrada" -#: ../views/admin.php:230 +#: ../views/admin.php:234 msgid "Custom field" msgstr "Custom field" -#: ../views/admin.php:233 +#: ../views/admin.php:237 msgid "Tell WordPress Popular Posts where it should get thumbnails from" msgstr "" "Dile a WordPress Popular Posts de dónde debe obtener las miniaturas" -#: ../views/admin.php:237 +#: ../views/admin.php:241 msgid "Custom field name" msgstr "Nombre del custom field" -#: ../views/admin.php:243 +#: ../views/admin.php:247 msgid "Resize image from Custom field?" msgstr "¡Ajustar la imagen del Custom field?" -#: ../views/admin.php:246 +#: ../views/admin.php:250 msgid "No, I will upload my own thumbnail" msgstr "No, subiré mi propia miniatura" -#: ../views/admin.php:247 +#: ../views/admin.php:251 msgid "Yes" msgstr "Sí" -#: ../views/admin.php:252 +#: ../views/admin.php:256 msgid "Responsive support" msgstr "Soporte Responsive" -#: ../views/admin.php:255 ../views/admin.php:308 ../views/admin.php:348 -#: ../views/admin.php:393 +#: ../views/admin.php:259 ../views/admin.php:327 ../views/admin.php:367 +#: ../views/admin.php:412 msgid "Enabled" msgstr "Habilitado" -#: ../views/admin.php:256 ../views/admin.php:307 ../views/admin.php:347 -#: ../views/admin.php:394 +#: ../views/admin.php:260 ../views/admin.php:311 ../views/admin.php:326 +#: ../views/admin.php:366 ../views/admin.php:413 msgid "Disabled" msgstr "Deshabilitado" -#: ../views/admin.php:259 +#: ../views/admin.php:263 msgid "" "If enabled, WordPress Popular Posts will strip height and width attributes " "out of thumbnails' image tags" @@ -221,40 +221,60 @@ msgstr "" "Si se activa, WordPress Popular Posts quitará los atributos height y " "width de las etiquetas image de las miniaturas" -#: ../views/admin.php:269 +#: ../views/admin.php:273 msgid "Empty image cache" msgstr "Vaciar el caché de imágenes" -#: ../views/admin.php:270 +#: ../views/admin.php:274 msgid "Use this button to clear WPP's thumbnails cache" msgstr "" "Utiliza este botón para vaciar el caché de miniaturas de WPP" -#: ../views/admin.php:288 +#: ../views/admin.php:292 msgid "Data" msgstr "Datos" -#: ../views/admin.php:293 +#: ../views/admin.php:297 msgid "Log views from" msgstr "Registrar vistas de" -#: ../views/admin.php:296 +#: ../views/admin.php:300 msgid "Visitors only" msgstr "Sólo visitantes" -#: ../views/admin.php:297 +#: ../views/admin.php:301 msgid "Logged-in users only" msgstr "Sólo usuarios conectados" -#: ../views/admin.php:298 +#: ../views/admin.php:302 msgid "Everyone" msgstr "Todos" -#: ../views/admin.php:304 +#: ../views/admin.php:308 +msgid "Log limit" +msgstr "Límite del registro" + +#: ../views/admin.php:312 +msgid "Keep data for" +msgstr "Guardar datos por" + +#: ../views/admin.php:315 +msgid "day(s)" +msgstr "día(s)" + +#: ../views/admin.php:317 +msgid "" +"Data from entries that haven't been viewed within the specified time frame " +"will be automatically discarded" +msgstr "" +"Los datos de aquellas entradas que no han sido vistas en el tiempo " +"especificado serán automáticamente descartados" + +#: ../views/admin.php:323 msgid "Ajaxify widget" msgstr "Usar Ajax con el widget" -#: ../views/admin.php:312 +#: ../views/admin.php:331 msgid "" "If you are using a caching plugin such as WP Super Cache, enabling this " "feature will keep the popular list from being cached by it" @@ -263,11 +283,11 @@ msgstr "" "habilitar esta característica evitará que la lista de entradas " "populares sea guardada en caché" -#: ../views/admin.php:316 +#: ../views/admin.php:335 msgid "WPP Cache Expiry Policy" msgstr "WPP Política de Expiración del Cache" -#: ../views/admin.php:316 ../views/admin.php:344 ../views/form.php:2 +#: ../views/admin.php:335 ../views/admin.php:363 ../views/form.php:2 #: ../views/form.php:12 ../views/form.php:24 ../views/form.php:34 #: ../views/form.php:40 ../views/form.php:43 ../views/form.php:52 #: ../views/form.php:55 ../views/form.php:63 ../views/form.php:66 @@ -277,15 +297,15 @@ msgstr "WPP Política de Expiración del Cache" msgid "What is this?" msgstr "¿Qué es esto?" -#: ../views/admin.php:319 +#: ../views/admin.php:338 msgid "Never cache" msgstr "Nunca almacenar en caché" -#: ../views/admin.php:320 +#: ../views/admin.php:339 msgid "Enable caching" msgstr "Habilitar caché" -#: ../views/admin.php:324 +#: ../views/admin.php:343 msgid "" "Sets WPP's cache expiration time. WPP can cache the popular list for a " "specified amount of time. Recommended for large / high traffic sites" @@ -295,43 +315,43 @@ msgstr "" "de tiempo especificada. Recomendado para sitios web grandes / de alto " "tráfico" -#: ../views/admin.php:328 +#: ../views/admin.php:347 msgid "Refresh cache every" msgstr "Refrescar el caché cada" -#: ../views/admin.php:332 +#: ../views/admin.php:351 msgid "Minute(s)" msgstr "Minuto(s)" -#: ../views/admin.php:333 +#: ../views/admin.php:352 msgid "Hour(s)" msgstr "Hora(s)" -#: ../views/admin.php:334 +#: ../views/admin.php:353 msgid "Day(s)" msgstr "Día(s)" -#: ../views/admin.php:335 +#: ../views/admin.php:354 msgid "Week(s)" msgstr "Semana(s)" -#: ../views/admin.php:336 +#: ../views/admin.php:355 msgid "Month(s)" msgstr "Mes(es)" -#: ../views/admin.php:337 +#: ../views/admin.php:356 msgid "Year(s)" msgstr "Año(s)" -#: ../views/admin.php:340 +#: ../views/admin.php:359 msgid "Really? That long?" msgstr "¿En serio? ¿Tanto tiempo?" -#: ../views/admin.php:344 +#: ../views/admin.php:363 msgid "Data Sampling" msgstr "Sampleo de Datos" -#: ../views/admin.php:352 +#: ../views/admin.php:371 #, php-format msgid "" "By default, WordPress Popular Posts stores in database every single visit " @@ -352,11 +372,11 @@ msgstr "" "detectadas en ese conjunto de muestras (para más, <a href=\"%2$s\" " "target=\"_blank\">por favor leer acá</a>)" -#: ../views/admin.php:356 +#: ../views/admin.php:375 msgid "Sample Rate" msgstr "Rata de Sampleo" -#: ../views/admin.php:360 +#: ../views/admin.php:379 #, php-format msgid "" "A sampling rate of %d is recommended for large / high traffic sites. For " @@ -366,27 +386,27 @@ msgstr "" "tráfico. Para sitios con menos tráfico, deberías " "disminuir el valor" -#: ../views/admin.php:375 +#: ../views/admin.php:394 msgid "Miscellaneous" msgstr "Misceláneos" -#: ../views/admin.php:380 +#: ../views/admin.php:399 msgid "Open links in" msgstr "Abrir links en" -#: ../views/admin.php:383 +#: ../views/admin.php:402 msgid "Current window" msgstr "Ventana actual" -#: ../views/admin.php:384 +#: ../views/admin.php:403 msgid "New tab/window" msgstr "Nueva pestaña/ventana" -#: ../views/admin.php:390 +#: ../views/admin.php:409 msgid "Use plugin's stylesheet" msgstr "Utilizar la hoja de estilos del plugin" -#: ../views/admin.php:397 +#: ../views/admin.php:416 msgid "" "By default, the plugin includes a stylesheet called wpp.css which you can " "use to style your popular posts listing. If you wish to use your own " @@ -398,7 +418,7 @@ msgstr "" "deseas utilizar tu propia hoja de estilos, o no quieres que wpp.css se " "incluya en el header de tu sitio web, utiliza esto." -#: ../views/admin.php:414 +#: ../views/admin.php:433 msgid "" "WordPress Popular Posts maintains data in two separate tables: one for " "storing the most popular entries on a daily basis (from now on, \"cache\"), " @@ -414,91 +434,91 @@ msgstr "" "tablas históricas y de caché, por favor utiliza los botones de " "abajo." -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Empty cache" msgstr "Vaciar el caché" -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Use this button to manually clear entries from WPP cache only" msgstr "" "Utiliza este botón para vaciar manualmente sólo las entradas " "del caché de WPP" -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Clear all data" msgstr "Eliminar toda la data" -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Use this button to manually clear entries from all WPP data tables" msgstr "" "Utiliza este botón para limpiar manualmente las tablas de datos de WPP" -#: ../views/admin.php:423 +#: ../views/admin.php:442 #, php-format msgid "" "With the following parameters you can customize the popular posts list when " -"using either the <a href=\"%1$s\">wpp_get_most_popular() template tag</a> or " +"using either the <a href=\"%1$s\">wpp_get_mostpopular() template tag</a> or " "the <a href=\"%2$s\">[wpp] shortcode</a>." msgstr "" -"Con los siguientes parámetros puedes personalizar la lista de " -"entradas populares al utilizar tanto el <a href=\"%1$s" -"\">wpp_get_most_popular() template tag</a> como el <a href=\"%2$s\">[wpp] " -"shortcode</a>." +"Con los siguientes parámetros puedes personalizar el listado de " +"entradas populares cuando utilices el <a href=\"%1$s\">template tag " +"wpp_get_mostpopular()</a> o el <a href=\"%2$s\">shortcode [wpp]</a>" -#: ../views/admin.php:431 +#: ../views/admin.php:450 msgid "Parameter" msgstr "Parámetro" -#: ../views/admin.php:432 ../views/admin.php:746 +#: ../views/admin.php:451 ../views/admin.php:765 msgid "What it does " msgstr "Qué hace" -#: ../views/admin.php:433 +#: ../views/admin.php:452 msgid "Possible values" msgstr "Valores posibles" -#: ../views/admin.php:434 +#: ../views/admin.php:453 msgid "Defaults to" msgstr "Por defecto" -#: ../views/admin.php:435 ../views/admin.php:748 +#: ../views/admin.php:454 ../views/admin.php:767 msgid "Example" msgstr "Ejemplo" -#: ../views/admin.php:441 +#: ../views/admin.php:460 msgid "Sets a heading for the list" msgstr "Configura el encabezado de la lista" -#: ../views/admin.php:442 ../views/admin.php:449 ../views/admin.php:456 -#: ../views/admin.php:491 ../views/admin.php:498 ../views/admin.php:505 -#: ../views/admin.php:512 ../views/admin.php:603 ../views/admin.php:617 -#: ../views/admin.php:624 +#: ../views/admin.php:461 ../views/admin.php:468 ../views/admin.php:475 +#: ../views/admin.php:510 ../views/admin.php:517 ../views/admin.php:524 +#: ../views/admin.php:531 ../views/admin.php:622 ../views/admin.php:636 +#: ../views/admin.php:643 msgid "Text string" msgstr "Texto" -#: ../views/admin.php:443 -msgid "Popular Posts" -msgstr "Entradas Populares" +#: ../views/admin.php:462 ../views/admin.php:518 ../views/admin.php:525 +#: ../views/admin.php:532 +msgid "None" +msgstr "Ninguno" -#: ../views/admin.php:448 +#: ../views/admin.php:467 msgid "Set the opening tag for the heading of the list" msgstr "Configura la etiqueta de apertura para el encabezado de la lista" -#: ../views/admin.php:455 +#: ../views/admin.php:474 msgid "Set the closing tag for the heading of the list" msgstr "Configura la etiqueta de cierre para el encabezado de la lista" -#: ../views/admin.php:462 +#: ../views/admin.php:481 msgid "Sets the maximum number of popular posts to be shown on the listing" msgstr "" "Configura el máximo de entradas populares a ser mostradas en la lista" -#: ../views/admin.php:463 ../views/admin.php:519 ../views/admin.php:533 -#: ../views/admin.php:554 ../views/admin.php:561 +#: ../views/admin.php:482 ../views/admin.php:538 ../views/admin.php:552 +#: ../views/admin.php:573 ../views/admin.php:580 msgid "Positive integer" msgstr "Entero positivo" -#: ../views/admin.php:469 +#: ../views/admin.php:488 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries within " "the time range specified by you" @@ -506,7 +526,7 @@ msgstr "" "Le indica a WordPress Popular Posts que debe listar aquellas entradas que " "hayan sido populares dentro del rango de tiempo especificado por ti" -#: ../views/admin.php:476 +#: ../views/admin.php:495 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries published " "within the time range specified by you" @@ -514,19 +534,19 @@ msgstr "" "Le indica a WordPress Popular Posts que debe listar aquellas entradas " "populares publicadas dentro del rango de tiempo especificado por ti" -#: ../views/admin.php:483 +#: ../views/admin.php:502 msgid "Sets the sorting option of the popular posts" msgstr "Configura el ordenado de las entradas populares" -#: ../views/admin.php:484 +#: ../views/admin.php:503 msgid "(for average views per day)" msgstr "(para el porcentaje de vistas por día)" -#: ../views/admin.php:490 +#: ../views/admin.php:509 msgid "Defines the type of posts to show on the listing" msgstr "Define el tipo de entrada a mostrar en el listado" -#: ../views/admin.php:497 +#: ../views/admin.php:516 msgid "" "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) " "form the listing." @@ -534,11 +554,7 @@ msgstr "" "Si se configura, WordPress Popular Posts excluirá todos los IDs de " "las entradas especificadas." -#: ../views/admin.php:499 ../views/admin.php:506 ../views/admin.php:513 -msgid "None" -msgstr "Ninguno" - -#: ../views/admin.php:504 +#: ../views/admin.php:523 msgid "" "If set, WordPress Popular Posts will retrieve all entries that belong to the " "specified category(ies) ID(s). If a minus sign is used, the category(ies) " @@ -548,7 +564,7 @@ msgstr "" "que pertenecen a la(s) categoría(s) especificada(s). Si se usa un " "signo negativo, la(s) categoría(s) será(n) excluída(s)." -#: ../views/admin.php:511 +#: ../views/admin.php:530 msgid "" "If set, WordPress Popular Posts will retrieve all entries created by " "specified author(s) ID(s)." @@ -556,7 +572,7 @@ msgstr "" "Si se configura, WordPress Popular Posts traerá todas las entradas " "creadas por el (los) ID(s) de autor(es) especificado(s)." -#: ../views/admin.php:518 +#: ../views/admin.php:537 msgid "" "If set, WordPress Popular Posts will shorten each post title to \"n\" " "characters whenever possible" @@ -564,7 +580,7 @@ msgstr "" "Si se configura, WordPress Popular Posts acortará cada titulo en \"n" "\" caracteres cuando sea posible" -#: ../views/admin.php:525 +#: ../views/admin.php:544 msgid "" "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" " "words instead of characters" @@ -572,7 +588,7 @@ msgstr "" "Si se pasa el valor 1, WordPress Popular Posts acortará cada titulo " "en \"n\" palabras en vez de caracteres" -#: ../views/admin.php:532 +#: ../views/admin.php:551 msgid "" "If set, WordPress Popular Posts will build and include an excerpt of \"n\" " "characters long from the content of each post listed as popular" @@ -581,7 +597,7 @@ msgstr "" "un extracto de \"n\" caracteres del contenido de cada entrada listada como " "popular" -#: ../views/admin.php:539 +#: ../views/admin.php:558 msgid "" "If set, WordPress Popular Posts will maintaing all styling tags (strong, " "italic, etc) and hyperlinks found in the excerpt" @@ -590,7 +606,7 @@ msgstr "" "etiquetas de estilo (strong, italic, etc) y los hipervínculos " "encontrados en el extracto" -#: ../views/admin.php:546 +#: ../views/admin.php:565 msgid "" "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words " "instead of characters" @@ -598,7 +614,7 @@ msgstr "" "Si se configura, WordPress Popular Posts acortará el resumen en \"n\" " "palabras en vez de caracteres" -#: ../views/admin.php:553 +#: ../views/admin.php:572 msgid "" "If set, and if your current server configuration allows it, you will be able " "to display thumbnails of your posts. This attribute sets the width for " @@ -608,7 +624,7 @@ msgstr "" "permite, podrás mostrar miniaturas de tus entradas. Este atributo " "configura el ancho de tus miniaturas" -#: ../views/admin.php:560 +#: ../views/admin.php:579 msgid "" "If set, and if your current server configuration allows it, you will be able " "to display thumbnails of your posts. This attribute sets the height for " @@ -618,7 +634,7 @@ msgstr "" "permite, podrás mostrar miniaturas de tus entradas. Este atributo " "configura el alto de tus miniaturas" -#: ../views/admin.php:567 +#: ../views/admin.php:586 msgid "" "If set, and if the WP-PostRatings plugin is installed and enabled on your " "blog, WordPress Popular Posts will show how your visitors are rating your " @@ -628,7 +644,7 @@ msgstr "" "habilitado en tu blog, WordPress Popular Posts mostrará como tus " "visitantes han calificado a tus entradas" -#: ../views/admin.php:574 +#: ../views/admin.php:593 msgid "" "If set, WordPress Popular Posts will show how many comments each popular " "post has got until now" @@ -636,7 +652,7 @@ msgstr "" "Si se configura, WordPress Popular Posts mostrará cuántos " "comentarios ha obtenido cada entrada popular hasta ahora" -#: ../views/admin.php:581 +#: ../views/admin.php:600 msgid "" "If set, WordPress Popular Posts will show how many views each popular post " "has got since it was installed" @@ -644,7 +660,7 @@ msgstr "" "Si se configura, WordPress Popular Posts mostrará cuántas " "vistas ha obtenido cada entrada popular desde que el plugin fue instalado" -#: ../views/admin.php:588 +#: ../views/admin.php:607 msgid "" "If set, WordPress Popular Posts will show who published each popular post on " "the list" @@ -652,7 +668,7 @@ msgstr "" "Si se configura, WordPress Popular Posts mostrará quién " "publicó cada entrada popular de la lista" -#: ../views/admin.php:595 +#: ../views/admin.php:614 msgid "" "If set, WordPress Popular Posts will display the date when each popular post " "on the list was published" @@ -660,60 +676,68 @@ msgstr "" "Si se tilda, WordPress Popular Posts mostrará la fecha en la que fue " "publicada cada entrada popular" -#: ../views/admin.php:602 +#: ../views/admin.php:621 msgid "Sets the date format" msgstr "Configura el formato de la fecha" -#: ../views/admin.php:609 +#: ../views/admin.php:628 msgid "If set, WordPress Popular Posts will display the category" msgstr "" "Si se tilda, WordPress Popular Posts mostrará la categoría" -#: ../views/admin.php:616 +#: ../views/admin.php:635 msgid "Sets the opening tag for the listing" msgstr "Configura la etiqueta de apertura del listado" -#: ../views/admin.php:623 +#: ../views/admin.php:642 msgid "Sets the closing tag for the listing" msgstr "Configura la etiqueta de cierre del listado" -#: ../views/admin.php:630 +#: ../views/admin.php:649 msgid "Sets the HTML structure of each post" msgstr "Configura la estructura HTML de cada entrada" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Text string, custom HTML" msgstr "Texto, HTML personalizado" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Available Content Tags" msgstr "Content Tags disponibles" -#: ../views/admin.php:631 -msgid "displays thumbnail linked to post/page" -msgstr "muestra la miniatura vinculada a la entrada/página" +#: ../views/admin.php:650 +msgid "" +"displays thumbnail linked to post/page, requires thumbnail_width & " +"thumbnail_height" +msgstr "" +"muestra la miniatura con un link hacia la entrada/página, requiere " +"thumbnail_width & thumbnail_height" -#: ../views/admin.php:631 -msgid "displays thumbnail image without linking to post/page" -msgstr "muestra la imagen miniatura sin un link hacia la entrada/página" +#: ../views/admin.php:650 +msgid "" +"displays thumbnail image without linking to post/page, requires " +"thumbnail_width & thumbnail_height" +msgstr "" +"muestra la miniatura sin link hacia la entrada/página, requiere " +"thumbnail_width & thumbnail_height" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked post/page title" msgstr "" "muestra el título de la entrada/página con vínculo" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page excerpt, and requires excerpt_length to be greater than 0" msgstr "" "muestra el resumen de la entrada/página, requiere que excerpt_length " "sea mayor a 0" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays the default stats tags" msgstr "muestra el stats tag por defecto" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page current rating, requires WP-PostRatings installed and " "enabled" @@ -721,7 +745,7 @@ msgstr "" "muestra el rating actual de la entrada/página, requiere que WP-" "PostRatings esté instalado y activo" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page current rating as an integer, requires WP-PostRatings " "installed and enabled" @@ -729,44 +753,44 @@ msgstr "" "muestra el rating actual de la entrada/página como un entero, " "requiere que WP-PostRatings esté instalado y activo" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "outputs the URL of the post/page" msgstr "muestra la URL de la entrada/página" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page title, no link" msgstr "" "muestra el título de la entrada/página, sin vínculo" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked author name, requires stats_author=1" msgstr "" "muestra el nombre del autor con vínculo, requiere stats_author=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked category name, requires stats_category=1" msgstr "" "muestra el nombre de la categoría vinculado, requiere stats_category=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays views count only, no text" msgstr "muestra el número de vistas, sin texto adicional" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays comments count only, no text, requires stats_comments=1" msgstr "" "muestra el número de comentarios, sin texto adicional, requiere " "stats_comments=1" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page date, requires stats_date=1" msgstr "muestra la fecha de la entrada/página, requiere stats_date=1" -#: ../views/admin.php:643 +#: ../views/admin.php:662 msgid "What does \"Title\" do?" msgstr "¿Para qué es \"Título\"?" -#: ../views/admin.php:646 +#: ../views/admin.php:665 msgid "" "It allows you to show a heading for your most popular posts listing. If left " "empty, no heading will be displayed at all." @@ -774,11 +798,11 @@ msgstr "" "Te permite mostrar un encabezado para tu lista de entradas populares. Si se " "deja vacío, no se mostrará el encabezado." -#: ../views/admin.php:649 +#: ../views/admin.php:668 msgid "What is Time Range for?" msgstr "¿Para qué es \"Rango de Tiempo\"?" -#: ../views/admin.php:651 +#: ../views/admin.php:670 msgid "" "It will tell WordPress Popular Posts to retrieve all posts with most views / " "comments within the selected time range." @@ -786,11 +810,11 @@ msgstr "" "Le indica a WordPress Popular Posts que muestre las entradas más " "vistas / comentadas en el rango de tiempo seleccionado." -#: ../views/admin.php:654 +#: ../views/admin.php:673 msgid "What is \"Sort post by\" for?" msgstr "¿Para qué es \"Ordenar entradas por\"?" -#: ../views/admin.php:656 +#: ../views/admin.php:675 msgid "" "It allows you to decide whether to order your popular posts listing by total " "views, comments, or average views per day." @@ -798,11 +822,11 @@ msgstr "" "Te permite decidir si ordenar tus entradas populares por la cantidad total " "de vistas, comentarios, o por el porcentaje diario de vistas." -#: ../views/admin.php:659 +#: ../views/admin.php:678 msgid "What does \"Display post rating\" do?" msgstr "¿Qué hace \"Mostrar rating de la entrada\"?" -#: ../views/admin.php:661 +#: ../views/admin.php:680 msgid "" "If checked, WordPress Popular Posts will show how your readers are rating " "your most popular posts. This feature requires having WP-PostRatings plugin " @@ -813,11 +837,11 @@ msgstr "" "característica requiere que el plugin WP-PostRatings esté " "instalado y habilitado en tu blog para que funcione." -#: ../views/admin.php:664 +#: ../views/admin.php:683 msgid "What does \"Shorten title\" do?" msgstr "¿Qué hace \"Acortar título\"?" -#: ../views/admin.php:666 +#: ../views/admin.php:685 msgid "" "If checked, all posts titles will be shortened to \"n\" characters/words. A " "new \"Shorten title to\" option will appear so you can set it to whatever " @@ -827,11 +851,11 @@ msgstr "" "\" caracteres/palabras. Una nueva opción \"Acortar título en\" " "se mostrará para que puedas configurarlo como quieras." -#: ../views/admin.php:669 +#: ../views/admin.php:688 msgid "What does \"Display post excerpt\" do?" msgstr "¿Qué hace \"Mostrar resumen de la entrada\"?" -#: ../views/admin.php:671 +#: ../views/admin.php:690 msgid "" "If checked, WordPress Popular Posts will also include a small extract of " "your posts in the list. Similarly to the previous option, you will be able " @@ -841,11 +865,11 @@ msgstr "" "extracto de tus entradas en la lista. Similar a la opción anterior, " "podrás decidir qué tan largo debe ser el extracto." -#: ../views/admin.php:674 +#: ../views/admin.php:693 msgid "What does \"Keep text format and links\" do?" msgstr "¿Qué hace \"Mantener el formato de texto y links\"?" -#: ../views/admin.php:676 +#: ../views/admin.php:695 msgid "" "If checked, and if the Post Excerpt feature is enabled, WordPress Popular " "Posts will keep the styling tags (eg. bold, italic, etc) that were found in " @@ -856,11 +880,11 @@ msgstr "" "encontraron en el extracto. Los hipervínculos también se " "mantendrán." -#: ../views/admin.php:679 +#: ../views/admin.php:698 msgid "What is \"Post type\" for?" msgstr "¿Para qué es el \"Post type\"?" -#: ../views/admin.php:681 +#: ../views/admin.php:700 msgid "" "This filter allows you to decide which post types to show on the listing. By " "default, it will retrieve only posts and pages (which should be fine for " @@ -870,11 +894,11 @@ msgstr "" "listado. Por defecto, traterá sólo entradas y páginas " "(que es lo que se quiere, en la mayoría de los casos)." -#: ../views/admin.php:684 +#: ../views/admin.php:703 msgid "What is \"Category(ies) ID(s)\" for?" msgstr "¿Para qué es el \"ID(s) de Categoría(s)\"?" -#: ../views/admin.php:686 +#: ../views/admin.php:705 msgid "" "This filter allows you to select which categories should be included or " "excluded from the listing. A negative sign in front of the category ID " @@ -887,11 +911,11 @@ msgstr "" "ejemplo. Puedes especificar más de un ID separándolos con " "comas." -#: ../views/admin.php:689 +#: ../views/admin.php:708 msgid "What is \"Author(s) ID(s)\" for?" msgstr "¿Para qué es el \"ID de Autor(es)\"?" -#: ../views/admin.php:691 +#: ../views/admin.php:710 msgid "" "Just like the Category filter, this one lets you filter posts by author ID. " "You can specify more than one ID with a comma separated list." @@ -900,11 +924,11 @@ msgstr "" "entradas por ID del autor. Puedes especificar más de un ID " "separándolos con comas." -#: ../views/admin.php:694 +#: ../views/admin.php:713 msgid "What does \"Display post thumbnail\" do?" msgstr "¿Qué hace \"Mostrar miniatura de la entrada\"?" -#: ../views/admin.php:696 +#: ../views/admin.php:715 msgid "" "If checked, WordPress Popular Posts will attempt to retrieve the thumbnail " "of each post. You can set up the source of the thumbnail via Settings - " @@ -914,11 +938,11 @@ msgstr "" "miniatura de cada entrada. Puedes configurar la fuente de la miniatura via " "Configuración - Wordpress Popular Posts - Herramientas." -#: ../views/admin.php:699 +#: ../views/admin.php:718 msgid "What does \"Display comment count\" do?" msgstr "¿Qué hace \"Mostrar cantidad de comentarios\"?" -#: ../views/admin.php:701 +#: ../views/admin.php:720 msgid "" "If checked, WordPress Popular Posts will display how many comments each " "popular post has got in the selected Time Range." @@ -927,11 +951,11 @@ msgstr "" "comentarios ha obtenido cada entrada popular dentro del Rango de Tiempo " "seleccionado." -#: ../views/admin.php:704 +#: ../views/admin.php:723 msgid "What does \"Display views\" do?" msgstr "¿Qué hace \"Mostrar vistas\"?" -#: ../views/admin.php:706 +#: ../views/admin.php:725 msgid "" "If checked, WordPress Popular Posts will show how many pageviews a single " "post has gotten in the selected Time Range." @@ -939,11 +963,11 @@ msgstr "" "Si se tilda, WordPress Popular Posts mostrará cuántas vistas " "ha obtenido cada entrada en el Rango de Tiempo seleccionado." -#: ../views/admin.php:709 +#: ../views/admin.php:728 msgid "What does \"Display author\" do?" msgstr "¿Qué hace \"Mostrar autor\"?" -#: ../views/admin.php:711 +#: ../views/admin.php:730 msgid "" "If checked, WordPress Popular Posts will display the name of the author of " "each entry listed." @@ -951,11 +975,11 @@ msgstr "" "Si se tilda, WordPress Popular Posts mostrará el nombre del autor de " "cada entrada listada." -#: ../views/admin.php:714 +#: ../views/admin.php:733 msgid "What does \"Display date\" do?" msgstr "¿Qué hace \"Mostrar fecha\"?" -#: ../views/admin.php:716 +#: ../views/admin.php:735 msgid "" "If checked, WordPress Popular Posts will display the date when each popular " "posts was published." @@ -963,22 +987,22 @@ msgstr "" "Si se tilda, WordPress Popular Posts mostrará la fecha en la que fue " "publicada cada entrada popular." -#: ../views/admin.php:719 +#: ../views/admin.php:738 msgid "What does \"Display category\" do?" msgstr "¿Qué hace \"Mostrar categoría\"?" -#: ../views/admin.php:721 +#: ../views/admin.php:740 msgid "" "If checked, WordPress Popular Posts will display the category of each post." msgstr "" "Si se tilda, WordPress Popular Posts mostrará la categoría de " "cada entrada." -#: ../views/admin.php:724 +#: ../views/admin.php:743 msgid "What does \"Use custom HTML Markup\" do?" msgstr "¿Qué hace \"Utilizar Markup HTML personalizado\"?" -#: ../views/admin.php:726 +#: ../views/admin.php:745 msgid "" "If checked, you will be able to customize the HTML markup of your popular " "posts listing. For example, you can decide whether to wrap your posts in an " @@ -990,11 +1014,11 @@ msgstr "" "en una lista desordenada, una ordenada, dentro de un div, etc. Si sabes " "xHTML/CSS, ¡esto es para ti!" -#: ../views/admin.php:729 +#: ../views/admin.php:748 msgid "What are \"Content Tags\"?" msgstr "¿Qué son los \"Content Tags\"?" -#: ../views/admin.php:731 +#: ../views/admin.php:750 #, php-format msgid "" "Content Tags are codes to display a variety of items on your popular posts " @@ -1009,11 +1033,11 @@ msgstr "" "entrada: extracto de la entrada aquí\". Para ver otras Content Tags, " "ver la sección <a href=\"%s\" target=\"_blank\">Parámetros</a." -#: ../views/admin.php:734 +#: ../views/admin.php:753 msgid "What are \"Template Tags\"?" msgstr "¿Qué son los \"Template Tags\"?" -#: ../views/admin.php:736 +#: ../views/admin.php:755 msgid "" "Template Tags are simply php functions that allow you to perform certain " "actions. For example, WordPress Popular Posts currently supports two " @@ -1023,23 +1047,23 @@ msgstr "" "ciertas acciones. Por ejemplo, WordPress Popular Posts actualmente soporta " "dos template tags diferentes: wpp_get_mostpopular() y wpp_get_views()." -#: ../views/admin.php:739 +#: ../views/admin.php:758 msgid "What are the template tags that WordPress Popular Posts supports?" msgstr "" "¿Cuáles son los Template Tags soportados por WordPress Popular " "Posts?" -#: ../views/admin.php:741 +#: ../views/admin.php:760 msgid "" "The following are the template tags supported by WordPress Popular Posts" msgstr "" "Los siguientes son los template tags soportados por WordPress Popular Posts" -#: ../views/admin.php:745 +#: ../views/admin.php:764 msgid "Template tag" msgstr "Template tag" -#: ../views/admin.php:754 +#: ../views/admin.php:773 #, php-format msgid "" "Similar to the widget functionality, this tag retrieves the most popular " @@ -1051,7 +1075,7 @@ msgstr "" "<a href=\"%1$s\">parámetros</a> para que puedas personalizar el " "listado, pero éstos no son requeridos." -#: ../views/admin.php:755 +#: ../views/admin.php:774 #, php-format msgid "" "Please refer to the <a href=\"%1$s\">Parameters section</a> for a complete " @@ -1060,7 +1084,7 @@ msgstr "" "Por favor ver la <a href=\"%1$s\">sección Parámetros</a> para " "la lista completa de atributos." -#: ../views/admin.php:760 +#: ../views/admin.php:779 msgid "" "Displays the number of views of a single post. Post ID is required or it " "will return false." @@ -1068,15 +1092,15 @@ msgstr "" "Muestra la cantidad de vistas de una entrada. El ID de la entrada es " "requerido, o la función devolverá false." -#: ../views/admin.php:761 +#: ../views/admin.php:780 msgid "Post ID" msgstr "ID de la entrada" -#: ../views/admin.php:768 +#: ../views/admin.php:787 msgid "What are \"shortcodes\"?" msgstr "¿Qué son los \"shortcodes\"?" -#: ../views/admin.php:770 +#: ../views/admin.php:789 #, php-format msgid "" "Shortcodes are similar to BB Codes, these allow us to call a php function by " @@ -1093,20 +1117,20 @@ msgstr "" "información sobre los shortcodes, por favor visita la página " "<a href=\"%s\" target=\"_blank\">WordPress Shortcode API</a>." -#: ../views/admin.php:778 +#: ../views/admin.php:797 #, php-format msgid "About WordPress Popular Posts %s" msgstr "Acerca de WordPress Popular Posts %s" -#: ../views/admin.php:779 +#: ../views/admin.php:798 msgid "This version includes the following changes" msgstr "Esta versión incluye los siguientes cambios" -#: ../views/admin.php:802 +#: ../views/admin.php:815 msgid "Do you like this plugin?" msgstr "¿Te gusta este plugin?" -#: ../views/admin.php:809 +#: ../views/admin.php:822 msgid "" "Each donation motivates me to keep releasing free stuff for the WordPress " "community!" @@ -1114,18 +1138,18 @@ msgstr "" "¡Cada donación me motiva a seguir publicando cosas gratuitas " "para la comunidad de WordPress!" -#: ../views/admin.php:810 +#: ../views/admin.php:823 #, php-format msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!" msgstr "" "¡Puedes <a href=\"%s\" target=\"_blank\">dejar una reseña</a> " "también!" -#: ../views/admin.php:814 +#: ../views/admin.php:829 msgid "Need help?" msgstr "¿Necesitas ayuda?" -#: ../views/admin.php:815 +#: ../views/admin.php:830 #, php-format msgid "" "Visit <a href=\"%s\" target=\"_blank\">the forum</a> for support, questions " @@ -1134,7 +1158,7 @@ msgstr "" "Visita <a href=\"%s\" target=\"_blank\">el foro</a> para obtener soporte, " "hacer preguntas y dejar tu feedback." -#: ../views/admin.php:816 +#: ../views/admin.php:831 msgid "Let's make this plugin even better!" msgstr "¡Hagamos a este plugin inclusive mejor!" @@ -1242,10 +1266,6 @@ msgstr "Configurar el tamaño manualmente" msgid "Width" msgstr "Ancho" -#: ../views/form.php:91 ../views/form.php:94 -msgid "px" -msgstr "px" - #: ../views/form.php:93 msgid "Height" msgstr "Alto" @@ -1302,11 +1322,11 @@ msgstr "Antes / después de las entradas populares" msgid "Post HTML Markup" msgstr "Markup HTML de la Entrada" -#: ../wordpress-popular-posts.php:302 +#: ../wordpress-popular-posts.php:304 msgid "The most Popular Posts on your blog." msgstr "Las entradas más populares en tu blog." -#: ../wordpress-popular-posts.php:467 +#: ../wordpress-popular-posts.php:482 msgid "" "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing " "the <em>id</em> attribute on before_widget (see <a href=\"http://codex." @@ -1318,11 +1338,11 @@ msgstr "" "wordpress.org/Function_Reference/register_sidebar\" target=\"_blank\" rel=" "\"nofollow\">register_sidebar</a> para más información)." -#: ../wordpress-popular-posts.php:711 +#: ../wordpress-popular-posts.php:726 msgid "Upload" msgstr "Subir" -#: ../wordpress-popular-posts.php:1087 +#: ../wordpress-popular-posts.php:1095 #, php-format msgid "" "Your PHP installation is too old. WordPress Popular Posts requires at least " @@ -1334,7 +1354,7 @@ msgstr "" "contacta a tu proveedor de hosting y solicita que se actualice PHP a %1$s o " "mejor." -#: ../wordpress-popular-posts.php:1094 +#: ../wordpress-popular-posts.php:1102 #, php-format msgid "" "Your WordPress version is too old. WordPress Popular Posts requires at least " @@ -1345,7 +1365,7 @@ msgstr "" "Posts requiere al menos la versión %1$s para funcionar correctamente. " "Por favor actualiza tu blog via Escritorio > Actualizaciones." -#: ../wordpress-popular-posts.php:1119 +#: ../wordpress-popular-posts.php:1127 #, php-format msgid "" "<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> has been <strong>deactivated</" @@ -1354,27 +1374,27 @@ msgstr "" "<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> ha sido <strong>desactivado</" "strong>.</p></div>" -#: ../wordpress-popular-posts.php:1179 +#: ../wordpress-popular-posts.php:1211 msgid "Success! The cache table has been cleared!" msgstr "¡Éxito! ¡La tabla caché ha sido borrada!" -#: ../wordpress-popular-posts.php:1181 +#: ../wordpress-popular-posts.php:1213 msgid "Error: cache table does not exist." msgstr "Error: la tabla caché no existe." -#: ../wordpress-popular-posts.php:1188 +#: ../wordpress-popular-posts.php:1220 msgid "Success! All data have been cleared!" msgstr "¡Éxito! ¡Toda la data ha sido borrada!" -#: ../wordpress-popular-posts.php:1190 +#: ../wordpress-popular-posts.php:1222 msgid "Error: one or both data tables are missing." msgstr "Error: una o ambas tablas de datos no existen." -#: ../wordpress-popular-posts.php:1193 ../wordpress-popular-posts.php:1231 +#: ../wordpress-popular-posts.php:1225 ../wordpress-popular-posts.php:1263 msgid "Invalid action." msgstr "Acción inválida." -#: ../wordpress-popular-posts.php:1196 ../wordpress-popular-posts.php:1234 +#: ../wordpress-popular-posts.php:1228 ../wordpress-popular-posts.php:1266 msgid "" "Sorry, you do not have enough permissions to do this. Please contact the " "site administrator for support." @@ -1382,54 +1402,77 @@ msgstr "" "Lo lamento, no tienes permisos suficientes para hacer esto. Por favor " "contacta al administrador del sitio." -#: ../wordpress-popular-posts.php:1226 +#: ../wordpress-popular-posts.php:1258 msgid "Success! All files have been deleted!" msgstr "¡Éxito! ¡Todos los archivos han sido borrados!" -#: ../wordpress-popular-posts.php:1228 +#: ../wordpress-popular-posts.php:1260 msgid "The thumbnail cache is already empty!" msgstr "¡El cache de miniaturas ya está vacío!" -#: ../wordpress-popular-posts.php:1778 +#: ../wordpress-popular-posts.php:1816 msgid "Sorry. No data so far." msgstr "Lo lamentamos. No hay nada que mostrar aún." -#: ../wordpress-popular-posts.php:2305 +#: ../wordpress-popular-posts.php:2343 #, php-format msgid "1 comment" msgid_plural "%s comments" msgstr[0] "1 comentario" msgstr[1] "%s comentarios" -#: ../wordpress-popular-posts.php:2317 +#: ../wordpress-popular-posts.php:2355 #, php-format msgid "1 view per day" msgid_plural "%s views per day" msgstr[0] "1 vista por día" msgstr[1] "%s vistas por día" -#: ../wordpress-popular-posts.php:2323 +#: ../wordpress-popular-posts.php:2361 #, php-format msgid "1 view" msgid_plural "%s views" msgstr[0] "1 vista" msgstr[1] "%s vistas" -#: ../wordpress-popular-posts.php:2346 +#: ../wordpress-popular-posts.php:2384 #, php-format msgid "by %s" msgstr "por %s" -#: ../wordpress-popular-posts.php:2352 +#: ../wordpress-popular-posts.php:2390 #, php-format msgid "posted on %s" msgstr "publicado el %s" -#: ../wordpress-popular-posts.php:2360 +#: ../wordpress-popular-posts.php:2398 #, php-format msgid "under %s" msgstr "bajo %s" +#~ msgid "" +#~ "With the following parameters you can customize the popular posts list " +#~ "when using either the <a href=\"%1$s\">wpp_get_most_popular() template " +#~ "tag</a> or the <a href=\"%2$s\">[wpp] shortcode</a>." +#~ msgstr "" +#~ "Con los siguientes parámetros puedes personalizar la lista de " +#~ "entradas populares al utilizar tanto el <a href=\"%1$s" +#~ "\">wpp_get_most_popular() template tag</a> como el <a href=\"%2$s\">[wpp] " +#~ "shortcode</a>." + +#~ msgid "Popular Posts" +#~ msgstr "Entradas Populares" + +#~ msgid "displays thumbnail linked to post/page" +#~ msgstr "muestra la miniatura vinculada a la entrada/página" + +#~ msgid "displays thumbnail image without linking to post/page" +#~ msgstr "" +#~ "muestra la imagen miniatura sin un link hacia la entrada/página" + +#~ msgid "px" +#~ msgstr "px" + #~ msgid "" #~ "By default, WordPress Popular Posts stores in database every single visit " #~ "your site receives. For small / medium sites this is generally OK, but on " diff --git a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts.pot b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts.pot index b08b950a5047d833884f29d893373813353a991f..99ecdbc805954276b0b74c933f1d39dd3e863ea1 100644 --- a/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts.pot +++ b/wp-content/plugins/wordpress-popular-posts/lang/wordpress-popular-posts.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: Wordpress Popular Posts\n" "Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-popular-posts\n" -"POT-Creation-Date: 2015-06-12 21:35-0430\n" +"POT-Creation-Date: 2015-08-27 16:18-0430\n" "PO-Revision-Date: 2015-04-24 13:30-0430\n" "Last-Translator: Héctor Cabrera <hcabrerab@gmail.com>\n" "Language-Team: Héctor Cabrera <hcabrerab@gmail.com>\n" @@ -23,7 +23,7 @@ msgstr "" "X-Poedit-SearchPath-1: ..\n" #: ../views/admin.php:25 ../views/admin.php:34 ../views/admin.php:49 -#: ../views/admin.php:75 +#: ../views/admin.php:79 msgid "Settings saved." msgstr "" @@ -31,221 +31,239 @@ msgstr "" msgid "Please provide the name of your custom field." msgstr "" -#: ../views/admin.php:81 +#: ../views/admin.php:85 msgid "" "Any changes made to WPP's default stylesheet will be lost after every plugin update. " "In order to prevent this from happening, please copy the wpp.css file (located at wp-" "content/plugins/wordpress-popular-posts/style) into your theme's directory" msgstr "" -#: ../views/admin.php:96 +#: ../views/admin.php:100 msgid "" "This operation will delete all entries from WordPress Popular Posts' cache table and " "cannot be undone." msgstr "" -#: ../views/admin.php:96 ../views/admin.php:104 ../views/admin.php:112 +#: ../views/admin.php:100 ../views/admin.php:108 ../views/admin.php:116 msgid "Do you want to continue?" msgstr "" -#: ../views/admin.php:104 +#: ../views/admin.php:108 msgid "" "This operation will delete all stored info from WordPress Popular Posts' data tables " "and cannot be undone." msgstr "" -#: ../views/admin.php:112 +#: ../views/admin.php:116 msgid "This operation will delete all cached thumbnails and cannot be undone." msgstr "" -#: ../views/admin.php:146 +#: ../views/admin.php:150 msgid "Stats" msgstr "" -#: ../views/admin.php:147 +#: ../views/admin.php:151 msgid "Tools" msgstr "" -#: ../views/admin.php:148 ../views/admin.php:747 +#: ../views/admin.php:152 ../views/admin.php:766 msgid "Parameters" msgstr "" -#: ../views/admin.php:149 +#: ../views/admin.php:153 msgid "FAQ" msgstr "" -#: ../views/admin.php:150 +#: ../views/admin.php:154 msgid "About" msgstr "" -#: ../views/admin.php:161 +#: ../views/admin.php:165 msgid "" "Click on each tab to see what are the most popular entries on your blog in the last 24 " "hours, this week, last 30 days or all time since WordPress Popular Posts was installed." msgstr "" -#: ../views/admin.php:167 +#: ../views/admin.php:171 msgid "Order by comments" msgstr "" -#: ../views/admin.php:168 +#: ../views/admin.php:172 msgid "Order by views" msgstr "" -#: ../views/admin.php:169 +#: ../views/admin.php:173 msgid "Order by avg. daily views" msgstr "" -#: ../views/admin.php:171 +#: ../views/admin.php:175 msgid "Post type" msgstr "" -#: ../views/admin.php:172 +#: ../views/admin.php:176 msgid "Limit" msgstr "" -#: ../views/admin.php:174 ../views/admin.php:279 ../views/admin.php:366 -#: ../views/admin.php:403 +#: ../views/admin.php:178 ../views/admin.php:283 ../views/admin.php:385 +#: ../views/admin.php:422 msgid "Apply" msgstr "" -#: ../views/admin.php:177 ../views/form.php:32 +#: ../views/admin.php:181 ../views/form.php:32 msgid "Display only posts published within the selected Time Range" msgstr "" -#: ../views/admin.php:184 ../views/form.php:26 +#: ../views/admin.php:188 ../views/form.php:26 msgid "Last 24 hours" msgstr "" -#: ../views/admin.php:185 ../views/form.php:27 +#: ../views/admin.php:189 ../views/form.php:27 msgid "Last 7 days" msgstr "" -#: ../views/admin.php:186 ../views/form.php:28 +#: ../views/admin.php:190 ../views/form.php:28 msgid "Last 30 days" msgstr "" -#: ../views/admin.php:187 ../views/form.php:29 +#: ../views/admin.php:191 ../views/form.php:29 msgid "All-time" msgstr "" -#: ../views/admin.php:209 +#: ../views/admin.php:213 msgid "Thumbnails" msgstr "" -#: ../views/admin.php:214 +#: ../views/admin.php:218 msgid "Default thumbnail" msgstr "" -#: ../views/admin.php:219 +#: ../views/admin.php:223 msgid "Upload thumbnail" msgstr "" -#: ../views/admin.php:221 +#: ../views/admin.php:225 msgid "" "How-to: upload (or select) an image, set Size to Full and click on Upload. After it's " "done, hit on Apply to save changes" msgstr "" -#: ../views/admin.php:225 +#: ../views/admin.php:229 msgid "Pick image from" msgstr "" -#: ../views/admin.php:228 +#: ../views/admin.php:232 msgid "Featured image" msgstr "" -#: ../views/admin.php:229 +#: ../views/admin.php:233 msgid "First image on post" msgstr "" -#: ../views/admin.php:230 +#: ../views/admin.php:234 msgid "Custom field" msgstr "" -#: ../views/admin.php:233 +#: ../views/admin.php:237 msgid "Tell WordPress Popular Posts where it should get thumbnails from" msgstr "" -#: ../views/admin.php:237 +#: ../views/admin.php:241 msgid "Custom field name" msgstr "" -#: ../views/admin.php:243 +#: ../views/admin.php:247 msgid "Resize image from Custom field?" msgstr "" -#: ../views/admin.php:246 +#: ../views/admin.php:250 msgid "No, I will upload my own thumbnail" msgstr "" -#: ../views/admin.php:247 +#: ../views/admin.php:251 msgid "Yes" msgstr "" -#: ../views/admin.php:252 +#: ../views/admin.php:256 msgid "Responsive support" msgstr "" -#: ../views/admin.php:255 ../views/admin.php:308 ../views/admin.php:348 -#: ../views/admin.php:393 +#: ../views/admin.php:259 ../views/admin.php:327 ../views/admin.php:367 +#: ../views/admin.php:412 msgid "Enabled" msgstr "" -#: ../views/admin.php:256 ../views/admin.php:307 ../views/admin.php:347 -#: ../views/admin.php:394 +#: ../views/admin.php:260 ../views/admin.php:311 ../views/admin.php:326 +#: ../views/admin.php:366 ../views/admin.php:413 msgid "Disabled" msgstr "" -#: ../views/admin.php:259 +#: ../views/admin.php:263 msgid "" "If enabled, WordPress Popular Posts will strip height and width attributes out of " "thumbnails' image tags" msgstr "" -#: ../views/admin.php:269 +#: ../views/admin.php:273 msgid "Empty image cache" msgstr "" -#: ../views/admin.php:270 +#: ../views/admin.php:274 msgid "Use this button to clear WPP's thumbnails cache" msgstr "" -#: ../views/admin.php:288 +#: ../views/admin.php:292 msgid "Data" msgstr "" -#: ../views/admin.php:293 +#: ../views/admin.php:297 msgid "Log views from" msgstr "" -#: ../views/admin.php:296 +#: ../views/admin.php:300 msgid "Visitors only" msgstr "" -#: ../views/admin.php:297 +#: ../views/admin.php:301 msgid "Logged-in users only" msgstr "" -#: ../views/admin.php:298 +#: ../views/admin.php:302 msgid "Everyone" msgstr "" -#: ../views/admin.php:304 -msgid "Ajaxify widget" +#: ../views/admin.php:308 +msgid "Log limit" msgstr "" #: ../views/admin.php:312 +msgid "Keep data for" +msgstr "" + +#: ../views/admin.php:315 +msgid "day(s)" +msgstr "" + +#: ../views/admin.php:317 +msgid "" +"Data from entries that haven't been viewed within the specified time frame will be " +"automatically discarded" +msgstr "" + +#: ../views/admin.php:323 +msgid "Ajaxify widget" +msgstr "" + +#: ../views/admin.php:331 msgid "" "If you are using a caching plugin such as WP Super Cache, enabling this feature will " "keep the popular list from being cached by it" msgstr "" -#: ../views/admin.php:316 +#: ../views/admin.php:335 msgid "WPP Cache Expiry Policy" msgstr "" -#: ../views/admin.php:316 ../views/admin.php:344 ../views/form.php:2 +#: ../views/admin.php:335 ../views/admin.php:363 ../views/form.php:2 #: ../views/form.php:12 ../views/form.php:24 ../views/form.php:34 ../views/form.php:40 #: ../views/form.php:43 ../views/form.php:52 ../views/form.php:55 ../views/form.php:63 #: ../views/form.php:66 ../views/form.php:73 ../views/form.php:101 ../views/form.php:103 @@ -254,57 +272,57 @@ msgstr "" msgid "What is this?" msgstr "" -#: ../views/admin.php:319 +#: ../views/admin.php:338 msgid "Never cache" msgstr "" -#: ../views/admin.php:320 +#: ../views/admin.php:339 msgid "Enable caching" msgstr "" -#: ../views/admin.php:324 +#: ../views/admin.php:343 msgid "" "Sets WPP's cache expiration time. WPP can cache the popular list for a specified " "amount of time. Recommended for large / high traffic sites" msgstr "" -#: ../views/admin.php:328 +#: ../views/admin.php:347 msgid "Refresh cache every" msgstr "" -#: ../views/admin.php:332 +#: ../views/admin.php:351 msgid "Minute(s)" msgstr "" -#: ../views/admin.php:333 +#: ../views/admin.php:352 msgid "Hour(s)" msgstr "" -#: ../views/admin.php:334 +#: ../views/admin.php:353 msgid "Day(s)" msgstr "" -#: ../views/admin.php:335 +#: ../views/admin.php:354 msgid "Week(s)" msgstr "" -#: ../views/admin.php:336 +#: ../views/admin.php:355 msgid "Month(s)" msgstr "" -#: ../views/admin.php:337 +#: ../views/admin.php:356 msgid "Year(s)" msgstr "" -#: ../views/admin.php:340 +#: ../views/admin.php:359 msgid "Really? That long?" msgstr "" -#: ../views/admin.php:344 +#: ../views/admin.php:363 msgid "Data Sampling" msgstr "" -#: ../views/admin.php:352 +#: ../views/admin.php:371 #, php-format msgid "" "By default, WordPress Popular Posts stores in database every single visit your site " @@ -315,45 +333,45 @@ msgid "" "(for more, <a href=\"%2$s\" target=\"_blank\">please read here</a>)" msgstr "" -#: ../views/admin.php:356 +#: ../views/admin.php:375 msgid "Sample Rate" msgstr "" -#: ../views/admin.php:360 +#: ../views/admin.php:379 #, php-format msgid "" "A sampling rate of %d is recommended for large / high traffic sites. For lower traffic " "sites, you should lower the value" msgstr "" -#: ../views/admin.php:375 +#: ../views/admin.php:394 msgid "Miscellaneous" msgstr "" -#: ../views/admin.php:380 +#: ../views/admin.php:399 msgid "Open links in" msgstr "" -#: ../views/admin.php:383 +#: ../views/admin.php:402 msgid "Current window" msgstr "" -#: ../views/admin.php:384 +#: ../views/admin.php:403 msgid "New tab/window" msgstr "" -#: ../views/admin.php:390 +#: ../views/admin.php:409 msgid "Use plugin's stylesheet" msgstr "" -#: ../views/admin.php:397 +#: ../views/admin.php:416 msgid "" "By default, the plugin includes a stylesheet called wpp.css which you can use to style " "your popular posts listing. If you wish to use your own stylesheet or do not want it " "to have it included in the header section of your site, use this." msgstr "" -#: ../views/admin.php:414 +#: ../views/admin.php:433 msgid "" "WordPress Popular Posts maintains data in two separate tables: one for storing the " "most popular entries on a daily basis (from now on, \"cache\"), and another one to " @@ -362,374 +380,374 @@ msgid "" "tables, please use the buttons below to do so." msgstr "" -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Empty cache" msgstr "" -#: ../views/admin.php:415 +#: ../views/admin.php:434 msgid "Use this button to manually clear entries from WPP cache only" msgstr "" -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Clear all data" msgstr "" -#: ../views/admin.php:416 +#: ../views/admin.php:435 msgid "Use this button to manually clear entries from all WPP data tables" msgstr "" -#: ../views/admin.php:423 +#: ../views/admin.php:442 #, php-format msgid "" "With the following parameters you can customize the popular posts list when using " -"either the <a href=\"%1$s\">wpp_get_most_popular() template tag</a> or the <a href=" +"either the <a href=\"%1$s\">wpp_get_mostpopular() template tag</a> or the <a href=" "\"%2$s\">[wpp] shortcode</a>." msgstr "" -#: ../views/admin.php:431 +#: ../views/admin.php:450 msgid "Parameter" msgstr "" -#: ../views/admin.php:432 ../views/admin.php:746 +#: ../views/admin.php:451 ../views/admin.php:765 msgid "What it does " msgstr "" -#: ../views/admin.php:433 +#: ../views/admin.php:452 msgid "Possible values" msgstr "" -#: ../views/admin.php:434 +#: ../views/admin.php:453 msgid "Defaults to" msgstr "" -#: ../views/admin.php:435 ../views/admin.php:748 +#: ../views/admin.php:454 ../views/admin.php:767 msgid "Example" msgstr "" -#: ../views/admin.php:441 +#: ../views/admin.php:460 msgid "Sets a heading for the list" msgstr "" -#: ../views/admin.php:442 ../views/admin.php:449 ../views/admin.php:456 -#: ../views/admin.php:491 ../views/admin.php:498 ../views/admin.php:505 -#: ../views/admin.php:512 ../views/admin.php:603 ../views/admin.php:617 -#: ../views/admin.php:624 +#: ../views/admin.php:461 ../views/admin.php:468 ../views/admin.php:475 +#: ../views/admin.php:510 ../views/admin.php:517 ../views/admin.php:524 +#: ../views/admin.php:531 ../views/admin.php:622 ../views/admin.php:636 +#: ../views/admin.php:643 msgid "Text string" msgstr "" -#: ../views/admin.php:443 ../views/admin.php:499 ../views/admin.php:506 -#: ../views/admin.php:513 +#: ../views/admin.php:462 ../views/admin.php:518 ../views/admin.php:525 +#: ../views/admin.php:532 msgid "None" msgstr "" -#: ../views/admin.php:448 +#: ../views/admin.php:467 msgid "Set the opening tag for the heading of the list" msgstr "" -#: ../views/admin.php:455 +#: ../views/admin.php:474 msgid "Set the closing tag for the heading of the list" msgstr "" -#: ../views/admin.php:462 +#: ../views/admin.php:481 msgid "Sets the maximum number of popular posts to be shown on the listing" msgstr "" -#: ../views/admin.php:463 ../views/admin.php:519 ../views/admin.php:533 -#: ../views/admin.php:554 ../views/admin.php:561 +#: ../views/admin.php:482 ../views/admin.php:538 ../views/admin.php:552 +#: ../views/admin.php:573 ../views/admin.php:580 msgid "Positive integer" msgstr "" -#: ../views/admin.php:469 +#: ../views/admin.php:488 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries within the time " "range specified by you" msgstr "" -#: ../views/admin.php:476 +#: ../views/admin.php:495 msgid "" "Tells WordPress Popular Posts to retrieve the most popular entries published within " "the time range specified by you" msgstr "" -#: ../views/admin.php:483 +#: ../views/admin.php:502 msgid "Sets the sorting option of the popular posts" msgstr "" -#: ../views/admin.php:484 +#: ../views/admin.php:503 msgid "(for average views per day)" msgstr "" -#: ../views/admin.php:490 +#: ../views/admin.php:509 msgid "Defines the type of posts to show on the listing" msgstr "" -#: ../views/admin.php:497 +#: ../views/admin.php:516 msgid "" "If set, WordPress Popular Posts will exclude the specified post(s) ID(s) form the " "listing." msgstr "" -#: ../views/admin.php:504 +#: ../views/admin.php:523 msgid "" "If set, WordPress Popular Posts will retrieve all entries that belong to the specified " "category(ies) ID(s). If a minus sign is used, the category(ies) will be excluded " "instead." msgstr "" -#: ../views/admin.php:511 +#: ../views/admin.php:530 msgid "" "If set, WordPress Popular Posts will retrieve all entries created by specified " "author(s) ID(s)." msgstr "" -#: ../views/admin.php:518 +#: ../views/admin.php:537 msgid "" "If set, WordPress Popular Posts will shorten each post title to \"n\" characters " "whenever possible" msgstr "" -#: ../views/admin.php:525 +#: ../views/admin.php:544 msgid "" "If set to 1, WordPress Popular Posts will shorten each post title to \"n\" words " "instead of characters" msgstr "" -#: ../views/admin.php:532 +#: ../views/admin.php:551 msgid "" "If set, WordPress Popular Posts will build and include an excerpt of \"n\" characters " "long from the content of each post listed as popular" msgstr "" -#: ../views/admin.php:539 +#: ../views/admin.php:558 msgid "" "If set, WordPress Popular Posts will maintaing all styling tags (strong, italic, etc) " "and hyperlinks found in the excerpt" msgstr "" -#: ../views/admin.php:546 +#: ../views/admin.php:565 msgid "" "If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words instead " "of characters" msgstr "" -#: ../views/admin.php:553 +#: ../views/admin.php:572 msgid "" "If set, and if your current server configuration allows it, you will be able to " "display thumbnails of your posts. This attribute sets the width for thumbnails" msgstr "" -#: ../views/admin.php:560 +#: ../views/admin.php:579 msgid "" "If set, and if your current server configuration allows it, you will be able to " "display thumbnails of your posts. This attribute sets the height for thumbnails" msgstr "" -#: ../views/admin.php:567 +#: ../views/admin.php:586 msgid "" "If set, and if the WP-PostRatings plugin is installed and enabled on your blog, " "WordPress Popular Posts will show how your visitors are rating your entries" msgstr "" -#: ../views/admin.php:574 +#: ../views/admin.php:593 msgid "" "If set, WordPress Popular Posts will show how many comments each popular post has got " "until now" msgstr "" -#: ../views/admin.php:581 +#: ../views/admin.php:600 msgid "" "If set, WordPress Popular Posts will show how many views each popular post has got " "since it was installed" msgstr "" -#: ../views/admin.php:588 +#: ../views/admin.php:607 msgid "" "If set, WordPress Popular Posts will show who published each popular post on the list" msgstr "" -#: ../views/admin.php:595 +#: ../views/admin.php:614 msgid "" "If set, WordPress Popular Posts will display the date when each popular post on the " "list was published" msgstr "" -#: ../views/admin.php:602 +#: ../views/admin.php:621 msgid "Sets the date format" msgstr "" -#: ../views/admin.php:609 +#: ../views/admin.php:628 msgid "If set, WordPress Popular Posts will display the category" msgstr "" -#: ../views/admin.php:616 +#: ../views/admin.php:635 msgid "Sets the opening tag for the listing" msgstr "" -#: ../views/admin.php:623 +#: ../views/admin.php:642 msgid "Sets the closing tag for the listing" msgstr "" -#: ../views/admin.php:630 +#: ../views/admin.php:649 msgid "Sets the HTML structure of each post" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Text string, custom HTML" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "Available Content Tags" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays thumbnail linked to post/page, requires thumbnail_width & thumbnail_height" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays thumbnail image without linking to post/page, requires thumbnail_width & " "thumbnail_height" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked post/page title" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page excerpt, and requires excerpt_length to be greater than 0" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays the default stats tags" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page current rating, requires WP-PostRatings installed and enabled" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "" "displays post/page current rating as an integer, requires WP-PostRatings installed and " "enabled" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "outputs the URL of the post/page" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page title, no link" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked author name, requires stats_author=1" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays linked category name, requires stats_category=1" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays views count only, no text" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays comments count only, no text, requires stats_comments=1" msgstr "" -#: ../views/admin.php:631 +#: ../views/admin.php:650 msgid "displays post/page date, requires stats_date=1" msgstr "" -#: ../views/admin.php:643 +#: ../views/admin.php:662 msgid "What does \"Title\" do?" msgstr "" -#: ../views/admin.php:646 +#: ../views/admin.php:665 msgid "" "It allows you to show a heading for your most popular posts listing. If left empty, no " "heading will be displayed at all." msgstr "" -#: ../views/admin.php:649 +#: ../views/admin.php:668 msgid "What is Time Range for?" msgstr "" -#: ../views/admin.php:651 +#: ../views/admin.php:670 msgid "" "It will tell WordPress Popular Posts to retrieve all posts with most views / comments " "within the selected time range." msgstr "" -#: ../views/admin.php:654 +#: ../views/admin.php:673 msgid "What is \"Sort post by\" for?" msgstr "" -#: ../views/admin.php:656 +#: ../views/admin.php:675 msgid "" "It allows you to decide whether to order your popular posts listing by total views, " "comments, or average views per day." msgstr "" -#: ../views/admin.php:659 +#: ../views/admin.php:678 msgid "What does \"Display post rating\" do?" msgstr "" -#: ../views/admin.php:661 +#: ../views/admin.php:680 msgid "" "If checked, WordPress Popular Posts will show how your readers are rating your most " "popular posts. This feature requires having WP-PostRatings plugin installed and " "enabled on your blog for it to work." msgstr "" -#: ../views/admin.php:664 +#: ../views/admin.php:683 msgid "What does \"Shorten title\" do?" msgstr "" -#: ../views/admin.php:666 +#: ../views/admin.php:685 msgid "" "If checked, all posts titles will be shortened to \"n\" characters/words. A new " "\"Shorten title to\" option will appear so you can set it to whatever you like." msgstr "" -#: ../views/admin.php:669 +#: ../views/admin.php:688 msgid "What does \"Display post excerpt\" do?" msgstr "" -#: ../views/admin.php:671 +#: ../views/admin.php:690 msgid "" "If checked, WordPress Popular Posts will also include a small extract of your posts in " "the list. Similarly to the previous option, you will be able to decide how long the " "post excerpt should be." msgstr "" -#: ../views/admin.php:674 +#: ../views/admin.php:693 msgid "What does \"Keep text format and links\" do?" msgstr "" -#: ../views/admin.php:676 +#: ../views/admin.php:695 msgid "" "If checked, and if the Post Excerpt feature is enabled, WordPress Popular Posts will " "keep the styling tags (eg. bold, italic, etc) that were found in the excerpt. " "Hyperlinks will remain intact, too." msgstr "" -#: ../views/admin.php:679 +#: ../views/admin.php:698 msgid "What is \"Post type\" for?" msgstr "" -#: ../views/admin.php:681 +#: ../views/admin.php:700 msgid "" "This filter allows you to decide which post types to show on the listing. By default, " "it will retrieve only posts and pages (which should be fine for most cases)." msgstr "" -#: ../views/admin.php:684 +#: ../views/admin.php:703 msgid "What is \"Category(ies) ID(s)\" for?" msgstr "" -#: ../views/admin.php:686 +#: ../views/admin.php:705 msgid "" "This filter allows you to select which categories should be included or excluded from " "the listing. A negative sign in front of the category ID number will exclude posts " @@ -737,91 +755,91 @@ msgid "" "comma separated list." msgstr "" -#: ../views/admin.php:689 +#: ../views/admin.php:708 msgid "What is \"Author(s) ID(s)\" for?" msgstr "" -#: ../views/admin.php:691 +#: ../views/admin.php:710 msgid "" "Just like the Category filter, this one lets you filter posts by author ID. You can " "specify more than one ID with a comma separated list." msgstr "" -#: ../views/admin.php:694 +#: ../views/admin.php:713 msgid "What does \"Display post thumbnail\" do?" msgstr "" -#: ../views/admin.php:696 +#: ../views/admin.php:715 msgid "" "If checked, WordPress Popular Posts will attempt to retrieve the thumbnail of each " "post. You can set up the source of the thumbnail via Settings - WordPress Popular " "Posts - Tools." msgstr "" -#: ../views/admin.php:699 +#: ../views/admin.php:718 msgid "What does \"Display comment count\" do?" msgstr "" -#: ../views/admin.php:701 +#: ../views/admin.php:720 msgid "" "If checked, WordPress Popular Posts will display how many comments each popular post " "has got in the selected Time Range." msgstr "" -#: ../views/admin.php:704 +#: ../views/admin.php:723 msgid "What does \"Display views\" do?" msgstr "" -#: ../views/admin.php:706 +#: ../views/admin.php:725 msgid "" "If checked, WordPress Popular Posts will show how many pageviews a single post has " "gotten in the selected Time Range." msgstr "" -#: ../views/admin.php:709 +#: ../views/admin.php:728 msgid "What does \"Display author\" do?" msgstr "" -#: ../views/admin.php:711 +#: ../views/admin.php:730 msgid "" "If checked, WordPress Popular Posts will display the name of the author of each entry " "listed." msgstr "" -#: ../views/admin.php:714 +#: ../views/admin.php:733 msgid "What does \"Display date\" do?" msgstr "" -#: ../views/admin.php:716 +#: ../views/admin.php:735 msgid "" "If checked, WordPress Popular Posts will display the date when each popular posts was " "published." msgstr "" -#: ../views/admin.php:719 +#: ../views/admin.php:738 msgid "What does \"Display category\" do?" msgstr "" -#: ../views/admin.php:721 +#: ../views/admin.php:740 msgid "If checked, WordPress Popular Posts will display the category of each post." msgstr "" -#: ../views/admin.php:724 +#: ../views/admin.php:743 msgid "What does \"Use custom HTML Markup\" do?" msgstr "" -#: ../views/admin.php:726 +#: ../views/admin.php:745 msgid "" "If checked, you will be able to customize the HTML markup of your popular posts " "listing. For example, you can decide whether to wrap your posts in an unordered list, " "an ordered list, a div, etc. If you know xHTML/CSS, this is for you!" msgstr "" -#: ../views/admin.php:729 +#: ../views/admin.php:748 msgid "What are \"Content Tags\"?" msgstr "" -#: ../views/admin.php:731 +#: ../views/admin.php:750 #, php-format msgid "" "Content Tags are codes to display a variety of items on your popular posts custom HTML " @@ -830,30 +848,30 @@ msgid "" "<a href=\"%s\" target=\"_blank\">Parameters</a> section." msgstr "" -#: ../views/admin.php:734 +#: ../views/admin.php:753 msgid "What are \"Template Tags\"?" msgstr "" -#: ../views/admin.php:736 +#: ../views/admin.php:755 msgid "" "Template Tags are simply php functions that allow you to perform certain actions. For " "example, WordPress Popular Posts currently supports two different template tags: " "wpp_get_mostpopular() and wpp_get_views()." msgstr "" -#: ../views/admin.php:739 +#: ../views/admin.php:758 msgid "What are the template tags that WordPress Popular Posts supports?" msgstr "" -#: ../views/admin.php:741 +#: ../views/admin.php:760 msgid "The following are the template tags supported by WordPress Popular Posts" msgstr "" -#: ../views/admin.php:745 +#: ../views/admin.php:764 msgid "Template tag" msgstr "" -#: ../views/admin.php:754 +#: ../views/admin.php:773 #, php-format msgid "" "Similar to the widget functionality, this tag retrieves the most popular posts on your " @@ -861,28 +879,28 @@ msgid "" "your popular listing, but these are not required." msgstr "" -#: ../views/admin.php:755 +#: ../views/admin.php:774 #, php-format msgid "" "Please refer to the <a href=\"%1$s\">Parameters section</a> for a complete list of " "attributes." msgstr "" -#: ../views/admin.php:760 +#: ../views/admin.php:779 msgid "" "Displays the number of views of a single post. Post ID is required or it will return " "false." msgstr "" -#: ../views/admin.php:761 +#: ../views/admin.php:780 msgid "Post ID" msgstr "" -#: ../views/admin.php:768 +#: ../views/admin.php:787 msgid "What are \"shortcodes\"?" msgstr "" -#: ../views/admin.php:770 +#: ../views/admin.php:789 #, php-format msgid "" "Shortcodes are similar to BB Codes, these allow us to call a php function by simply " @@ -892,41 +910,41 @@ msgid "" "\">WordPress Shortcode API</a> page." msgstr "" -#: ../views/admin.php:778 +#: ../views/admin.php:797 #, php-format msgid "About WordPress Popular Posts %s" msgstr "" -#: ../views/admin.php:779 +#: ../views/admin.php:798 msgid "This version includes the following changes" msgstr "" -#: ../views/admin.php:802 +#: ../views/admin.php:815 msgid "Do you like this plugin?" msgstr "" -#: ../views/admin.php:809 +#: ../views/admin.php:822 msgid "" "Each donation motivates me to keep releasing free stuff for the WordPress community!" msgstr "" -#: ../views/admin.php:810 +#: ../views/admin.php:823 #, php-format msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!" msgstr "" -#: ../views/admin.php:814 +#: ../views/admin.php:829 msgid "Need help?" msgstr "" -#: ../views/admin.php:815 +#: ../views/admin.php:830 #, php-format msgid "" "Visit <a href=\"%s\" target=\"_blank\">the forum</a> for support, questions and " "feedback." msgstr "" -#: ../views/admin.php:816 +#: ../views/admin.php:831 msgid "Let's make this plugin even better!" msgstr "" @@ -1090,11 +1108,11 @@ msgstr "" msgid "Post HTML Markup" msgstr "" -#: ../wordpress-popular-posts.php:302 +#: ../wordpress-popular-posts.php:304 msgid "The most Popular Posts on your blog." msgstr "" -#: ../wordpress-popular-posts.php:467 +#: ../wordpress-popular-posts.php:482 msgid "" "Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing the <em>id</" "em> attribute on before_widget (see <a href=\"http://codex.wordpress.org/" @@ -1102,11 +1120,11 @@ msgid "" "\">register_sidebar</a> for more)." msgstr "" -#: ../wordpress-popular-posts.php:711 +#: ../wordpress-popular-posts.php:726 msgid "Upload" msgstr "" -#: ../wordpress-popular-posts.php:1080 +#: ../wordpress-popular-posts.php:1095 #, php-format msgid "" "Your PHP installation is too old. WordPress Popular Posts requires at least PHP " @@ -1114,90 +1132,90 @@ msgid "" "to upgrade PHP to %1$s or higher." msgstr "" -#: ../wordpress-popular-posts.php:1087 +#: ../wordpress-popular-posts.php:1102 #, php-format msgid "" "Your WordPress version is too old. WordPress Popular Posts requires at least WordPress " "version %1$s to function correctly. Please update your blog via Dashboard > Update." msgstr "" -#: ../wordpress-popular-posts.php:1112 +#: ../wordpress-popular-posts.php:1127 #, php-format msgid "" "<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> has been <strong>deactivated</strong>.</" "p></div>" msgstr "" -#: ../wordpress-popular-posts.php:1172 +#: ../wordpress-popular-posts.php:1211 msgid "Success! The cache table has been cleared!" msgstr "" -#: ../wordpress-popular-posts.php:1174 +#: ../wordpress-popular-posts.php:1213 msgid "Error: cache table does not exist." msgstr "" -#: ../wordpress-popular-posts.php:1181 +#: ../wordpress-popular-posts.php:1220 msgid "Success! All data have been cleared!" msgstr "" -#: ../wordpress-popular-posts.php:1183 +#: ../wordpress-popular-posts.php:1222 msgid "Error: one or both data tables are missing." msgstr "" -#: ../wordpress-popular-posts.php:1186 ../wordpress-popular-posts.php:1224 +#: ../wordpress-popular-posts.php:1225 ../wordpress-popular-posts.php:1263 msgid "Invalid action." msgstr "" -#: ../wordpress-popular-posts.php:1189 ../wordpress-popular-posts.php:1227 +#: ../wordpress-popular-posts.php:1228 ../wordpress-popular-posts.php:1266 msgid "" "Sorry, you do not have enough permissions to do this. Please contact the site " "administrator for support." msgstr "" -#: ../wordpress-popular-posts.php:1219 +#: ../wordpress-popular-posts.php:1258 msgid "Success! All files have been deleted!" msgstr "" -#: ../wordpress-popular-posts.php:1221 +#: ../wordpress-popular-posts.php:1260 msgid "The thumbnail cache is already empty!" msgstr "" -#: ../wordpress-popular-posts.php:1771 +#: ../wordpress-popular-posts.php:1816 msgid "Sorry. No data so far." msgstr "" -#: ../wordpress-popular-posts.php:2298 +#: ../wordpress-popular-posts.php:2343 #, php-format msgid "1 comment" msgid_plural "%s comments" msgstr[0] "" msgstr[1] "" -#: ../wordpress-popular-posts.php:2310 +#: ../wordpress-popular-posts.php:2355 #, php-format msgid "1 view per day" msgid_plural "%s views per day" msgstr[0] "" msgstr[1] "" -#: ../wordpress-popular-posts.php:2316 +#: ../wordpress-popular-posts.php:2361 #, php-format msgid "1 view" msgid_plural "%s views" msgstr[0] "" msgstr[1] "" -#: ../wordpress-popular-posts.php:2339 +#: ../wordpress-popular-posts.php:2384 #, php-format msgid "by %s" msgstr "" -#: ../wordpress-popular-posts.php:2345 +#: ../wordpress-popular-posts.php:2390 #, php-format msgid "posted on %s" msgstr "" -#: ../wordpress-popular-posts.php:2353 +#: ../wordpress-popular-posts.php:2398 #, php-format msgid "under %s" msgstr "" diff --git a/wp-content/plugins/wordpress-popular-posts/readme.txt b/wp-content/plugins/wordpress-popular-posts/readme.txt index 584a1af2811328393e8d99ee203a51bfa265b459..ea435234ccbf6113663c24a26eec29735482d737 100644 --- a/wp-content/plugins/wordpress-popular-posts/readme.txt +++ b/wp-content/plugins/wordpress-popular-posts/readme.txt @@ -3,12 +3,12 @@ Contributors: hcabrera Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=hcabrerab%40gmail%2ecom&lc=GB&item_name=WordPress%20Popular%20Posts%20Plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted Tags: popular, posts, widget, popularity, top Requires at least: 3.8 -Tested up to: 4.2.2 -Stable tag: 3.2.3 +Tested up to: 4.3.1 +Stable tag: 3.3.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -WordPress Popular Posts is a highly customizable widget that displays the most popular posts on your blog. +A highly customizable, easy-to-use popular posts widget! == Description == @@ -31,9 +31,6 @@ WordPress Popular Posts is a highly customizable widget that displays the most p * **Localizable** to your own language (*See the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for more info*). * **[WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/) support**. Show your visitors how your readers are rating your posts! -= Notices = -* Starting version 3.0.0, the way plugin tracks views count switched back to [AJAX](http://codex.wordpress.org/AJAX). The reason for this change is to prevent bots / spiders from inflating views count, so if you're using a caching plugin you should clear its cache after installing / upgrading the WordPress Popular Posts plugin so it can track your posts and pages normally. - **WordPress Popular Posts** is now also on [GitHub](https://github.com/cabrerahector/wordpress-popular-posts)! == Installation == @@ -52,101 +49,15 @@ That's it! WordPress Popular Posts can be used in three different ways: -1. As a [widget](http://codex.wordpress.org/WordPress_Widgets), simply drag and drop it into your theme's sidebar and configure it. -2. As a template tag, you can place it anywhere on your theme with [wpp_get_mostpopular()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular). +1. As a [widget](http://codex.wordpress.org/WordPress_Widgets): simply drag and drop it into your theme's sidebar and configure it. +2. As a template tag: you can place it anywhere on your theme with [wpp_get_mostpopular()](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular). 3. Via [shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages), so you can embed it inside a post or a page. Make sure to stop by the **[Wiki](https://github.com/cabrerahector/wordpress-popular-posts/wiki)** as well, you'll find even more info there! == Frequently Asked Questions == -#### I need help with your plugin! What should I do? -First thing to do is read all the online documentation available ([Installation](http://wordpress.org/plugins/wordpress-popular-posts/installation/), [Usage](https://github.com/cabrerahector/wordpress-popular-posts#usage), [Wiki](https://github.com/cabrerahector/wordpress-popular-posts/wiki), and of course this section) as they should address most of the questions you might have about this plugin (and even more info can be found via *wp-admin > Settings > WordPress Popular Posts > FAQ*). - -If you're having problems with WPP, my first suggestion would be try disabling all other plugins and then re-enable each one to make sure there are no conflicts. Also, try switching to a different theme and see if the issue persists. Checking the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) and the [issue tracker](https://github.com/cabrerahector/wordpress-popular-posts/issues) is also a good idea as chances are that someone else has already posted something about it. **Remember:** *read first*. It'll save you (and me) time. - -= -FUNCTIONALITY- = - -= Why WordPress Popular Posts? = -The idea of creating this plugin came from the need to know how many people were actually reading each post. Unfortunately, WordPress doesn't keep views count of your posts anywhere. Because of that, and since I didn't find anything that would suit my needs, I ended up creating WordPress Popular Posts: a highly customizable, easy-to-use WordPress plugin with the ability to keep track of what's popular to showcase it to the visitors! - -= How does the plugin count views / calculate the popularity of posts? = -Since WordPress doesn't store views count (only comments count), this plugin stores that info for you. When you sort your popular posts by *views*, WordPress Popular Posts will retrieve the views count it started caching from the time you first installed this plugin, and then rank the top posts according to the settings you have configured in the plugin. WordPress Popular Posts can also rank the popularity of your posts based on comments count as well. - -= I'm getting "Sorry. No data so far". What's up with that? = -There are a number of reasons that might explain why you are seeing this message: no one has seen or commented on your posts/pages since WordPress Popular Posts activation, you should give it some time; your current theme does not have the [wp_head()](http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks) tag in its <head> section, required by my plugin to keep track of what your visitors are viewing on your site; WordPress Popular Posts was unable to create the necessary DB tables to work, make sure your hosting has granted you permission to create / update / modify tables in the database; if you're using a caching plugin -such as W3 Total Cache- you need to clear its cache once right after installing/upgrading this plugin. - -= My current theme does not support widgets (booooo!). Can I show my most popular posts in any other way? = -Yes, there are other choices: you can use the [wpp shortcode](https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages), which allows you to embed your popular listing directly in the content of your posts and/or pages; or you can use the [wpp_get_mostpopular() template tag](https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular). Both options are highly customizable via parameters, check them out via *wp-admin > Settings > WordPress Popular Posts > Parameters*. - -= WordPress Popular Posts is counting my own visits, why? = -By default the plugin will register every page view from all visitors, including logged-in users. If you don't want WPP to track your own page views, please go to *wp-admin > Settings > WordPress Popular Posts > Tools* and change the "*Log views from*" option from *Everyone* to your preferred choice. - -= How can I use my own HTML markup with your plugin? = -If you're using the widget, simply activate the *Use custom HTML markup* option and set your desired configuration and *Content Tags* (see *wp-admin > Settings > WordPress Popular Posts > Parameters* for more); or if you're using the template tag / shortcode, use the *wpp_start*, *wpp_end* and *post_html* parameters (see *wp-admin > Settings > WordPress Popular Posts > Parameters* for more). - -A more advanced way to customize the HTML markup is via [WordPress filters](http://code.tutsplus.com/articles/the-beginners-guide-to-wordpress-actions-and-filters--wp-27373 "The Beginner's guide to WordPress actions and filters") by hooking into *wpp_custom_html* or *wpp_post*. For details, please check the [Filters page](https://github.com/cabrerahector/wordpress-popular-posts/wiki/3.-Filters) on the Wiki. - -= Where can I find the list of parameters accepted by the wpp_get_mostpopular() template tag / [wpp] shortcode? = -You can find it via *wp-admin > Settings > WordPress Popular Posts > Parameters*. - -= I'm unable to activate the "Display post thumbnail" option. Why? = -Please check that either the [ImageMagick](http://www.php.net/manual/en/intro.imagick.php) or [GD](http://www.php.net/manual/en/intro.image.php) extension is installed and [enabled by your host](http://wordpress.org/support/topic/289778#post-1366038). - -= How does WordPress Popular Posts pick my posts' thumbnails? = -WordPress Popular Posts has three different thumbnail options to choose from available at *wp-admin > Settings > WordPress Popular Posts > Tools*: *Featured Image* (default), *First image on post*, or [*custom field*](http://codex.wordpress.org/Custom_Fields). If no images are found, a default thumbnail will be displayed instead. - -= I'm seeing a "No thumbnail" image, where's my post thumbnail? = -Make sure you have assigned one to your posts (see previous question). - -= Is there any way I can change that ugly "No thumbnail" image for one of my own? = -Fortunately, yes. Go to *wp-admin > Settings > WordPress Popular Posts > Tools* and check under *Thumbnail source*. Ideally, the thumbnail you're going to use should be set already with your desired width and height - however, the uploader will give you other size options as configured by your current theme. - -= I want to have a popular list of my custom post type. How can I do that? = -Simply add your custom post type to the Post Type field in the widget (or if you're using the template tag / shortcode, use the *post_type* parameter). - -= I would like to clear all data gathered by WordPress Popular Posts and start over. How can I do that? = -If you go to *wp-admin > Settings > WordPress Popular Posts > Tools*, you'll find two buttons that should do what you need: **Clear cache** and **Clear all data**. The first one just wipes out what's in cache (Last 24 hours, Last 7 Days, Last 30 Days, etc.), keeping the historical data (All-time) intact. The latter wipes out everything from WordPress Popular Posts data tables - even the historical data. Note that **this cannot be undone** so proceed with caution. - -= Can WordPress Popular Posts run on WordPress Multisite? = -Starting from version 3.0.0, WPP checks for WordPress Multisite. While I have not tested it, WPP should work just fine under WPMU (but if it doesn't, please let me know). - -= -CSS AND STYLESHEETS- = - -= Does your plugin include any CSS stylesheets? = -Yes, *but* there are no predefined styles (well, almost). WordPress Popular Posts will first look into your current theme's folder for the wpp.css file and use it if found so that any custom CSS styles made by you are not overwritten, otherwise will use the one bundled with the plugin. - -= Each time WordPress Popular Posts is updated the wpp.css stylesheet gets reset and I lose all changes I made to it. How can I keep my custom CSS? = -Copy your modified wpp.css file to your theme's folder, otherwise my plugin will use the one bundled with it by default. - -= How can I style my list to look like [insert your desired look here]? = -Since this plugin does not include any predefined designs, it's up to you to style your most popular posts list as you like (you might need to hire someone for this if you don't know HTML/CSS, though). However, I've gathered a few [examples](https://github.com/cabrerahector/wordpress-popular-posts/wiki/6.-Styling-the-list) that should get you started. - -= I want to remove WPP's stylesheet from the header of my theme. How can I do that? = -You can disable the stylesheet via *wp-admin > Settings > WordPress Popular Posts > Tools*. - -= -OTHER STUFF THAT YOU (PROBABLY) WANT TO KNOW- = - -= Does WordPress Popular Posts support other languages than english? = -Yes, check the [Other Notes](http://wordpress.org/plugins/wordpress-popular-posts/other_notes/) section for more information. - -= I want to translate your plugin into my language / help you update a translation. What do I need to do? = -First thing you need to do is get a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) to translate all texts into your language. You'll find several .PO files bundled with the plugin under the *lang* folder. If you're planning to add a new language, check this handy [guide](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/ "Translating WordPress Plugins & Themes"). If you're interested in sharing your translation with others (or just helped update a current translation), please [let me know](http://wordpress.org/support/plugin/wordpress-popular-posts). - -= I want your plugin to have X or Y functionality. Can it be done? = -If it fits the nature of my plugin and it sounds like something other users would like to have too, there's a pretty good chance that I will implement it (and if you can provide some sample code with useful comments, much better). - -= Your plugin seems to conflict with my current Theme / this other Plugin. Can you please help me? = -If the theme/plugin you're talking about is a free one that can be downloaded from somewhere, sure I can try and take a look into it. Premium themes/plugins are out of discussion though, unless you're willing to grant me access to your site (or get me a copy of this theme/plugin) so I can check it out. - -= ETA for your next release? = -Updates will come depending on my work projects (I'm a full-time web developer) and the amount of time I have on my hands. Quick releases will happen only when/if critical bugs are spotted. - -= I posted a question at the Support Forum and got no answer from the developer. Why is that? = -Chances are that your question has been already answered either at the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts), the [Installation section](http://wordpress.org/plugins/wordpress-popular-posts/installation/), the [Wiki](https://github.com/cabrerahector/wordpress-popular-posts/wiki) or even here in the FAQ section, so I've decided not to answer. It could also happen that I'm just busy at the moment and haven't been able to read your post yet, so please be patient. - -= Is there any other way to contact you? = -For the time being, the [Support Forum](http://wordpress.org/support/plugin/wordpress-popular-posts) is the only way to contact me. Please do not use my email to get in touch with me *unless I authorize you to do so*. +The [FAQ section](https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ) is now hosted at [WPP's Github repo](https://github.com/cabrerahector/wordpress-popular-posts/). == Screenshots == @@ -156,6 +67,28 @@ For the time being, the [Support Forum](http://wordpress.org/support/plugin/word 4. WordPress Popular Posts Stats panel. == Changelog == += 3.3.2 = +- Fixes warning message: 'stream does not support seeking in...' +- Removes excerpt HTML encoding. +- Passes widget ID to the instance variable for customization. +- Adds CSS class current. +- Documentation cleanup. +- Other minor bug fixes / improvements. + += 3.3.1 = +- Fixes undefined index notice. +- Makes sure legacy tables are deleted on plugin upgrade. + += 3.3.0 = +- Adds the ability to limit the amount of data logged by WPP (see Settings > WordPress Popular Posts > Tools for more). +- Adds Polylang support (thanks, [@Chouby](https://github.com/Chouby)!) +- Removes post data from DB on deletion. +- Fixes whitespaces from post_type argument (thanks, [@getdave](https://github.com/getdave)!) +- WPP now handles SSL detection for images. +- Removes legacy datacache and datacache_backup tables. +- Adds Settings page advertisement support. +- FAQ section has been moved over to Github. + = 3.2.3 = **If you're using a caching plugin, flushing its cache after installing / upgrading to this version is highly recommended.** @@ -209,250 +142,7 @@ For the time being, the [Support Forum](http://wordpress.org/support/plugin/word * Adds list of available thumbnail sizes to the widget. * Other minor bugfixes and improvements. -= 3.1.1 = -* Adds check for exif extension availability. -* Rolls back check for user's default thumbnail. - -= 3.1.0 = -* Fixes invalid HTML title/alt attributes caused by encoding issues. -* Fixes issue with jQuery not loading properly under certain circumstances. -* Fixes issue with custom excerpts not showing up. -* Fixes undefined notices and removes an unused variable from widget_update(). -* Fixes wrong variable reference in __image_resize(). -* Adds charset to mb_substr when truncating excerpt. -* Sets default logging level to 1 (Everyone). -* Renders the category link with cat-id-[ID] CSS class. -* Replaces getimagesize() with exif_imagetype(). -* Adds notice to move/copy wpp.css stylesheet into theme's directory to keep custom CSS styles across updates. -* Thumbail generation process has been refactored for efficiency. -* Thumbnails are now stored in a custom folder under Uploads. -* Drops support on Japanese and French languages since the translations were outdated. -* Other minor bug fixes and improvements. - -= 3.0.3 = -* Fixes widget not saving 'freshness' setting. -* Adds HTMLentities conversion/deconversion on wpp_get_mostpopular(). -* Improves thumbnail detection. -* Fixes a bug affecting the truncation of excerpts. -* Fixes yet another bug on wpp_get_views(). -* Other minor changes. - -= 3.0.2 = -* Fixes an introduced bug on wpp_get_views(). -* Fixes bug where thumbnail size was cached for multiple instances. -* Adds back stylesheet detection. -* Removes unused widget.js file. -* Other minor bug fixes. - -= 3.0.1 = -* Fixes bug on wpp_get_views. -* Sustitutes WP_DEBUG with custom debugging constant. -* Fixes bug that prevented disabling plugin's stylesheet. - -= 3.0.0 = -* Starting from this version, the way plugin tracks views count switched back to [AJAX](http://codex.wordpress.org/AJAX) to prevent bots / spiders from inflating views count. If you're using a caching plugin you should clear its cache after installing / upgrading the WordPress Popular Posts plugin so it can track your posts and pages normally. -* Plugin refactoring based on [@tikaszvince](https://github.com/tikaszvince)'s work (many thanks, Vince!). -* Added WPML support. -* Added experimental WordPress Multisite support. -* Added bot detection. -* Added ability to filter posts by freshness. -* Added own data caching method. -* Added filters wpp_custom_html, wpp_post. -* Added action wpp_update_views. -* Dropped support on Dutch and Persian languages since the translations were outdated. -* Several other fixes and improvements. - -= 2.3.5 = -* Fixed minor bugs on admin page. -* Fixed query bug preventing some results from being listed. -* Added a check to avoid using the terms tables if not necessary (eg. listing pages only). - -= 2.3.4 = -* Added ability to shorten title/excerpt by number of words. -* Updated excerpt code, don't show it if empty. -* Added ability to set post_type on Stats page. -* Added check for is_preview() to avoid updating views count when editing and previewing a post / page (thanks, Partisk!). -* Added ability to change default thumbnail via admin (thanks for the suggestion, Martin!). -* Fixed bug in query when getting popular posts from category returning no results if it didn't have any post on the top viewed / commented. -* Added function for better handling changes/updates in settings. -* Updated get_summary() to use API functions instead querying directly to DB. -* Updated wpp_print_stylesheet() to get the wpp.css file from the right path (thanks, Martin!). -* Moved translations to lang folder. - -= 2.3.3 = -* Minimum WordPress version requirement changed to 3.3. -* Minimum PHP version requirement changed to 5.2.0. -* Improved Custom HTML feature! It's more flexible now + new Content Tags added: {url}, {text_title}, {author}, {category}, {views}, {comments}!. -* Added ability to exclude posts by ID (similar to the category filter). -* Added ability to enable / disable logging visits from logged-in users. -* Added Category to the Stats Tag settings options. -* Added range parameter to wpp_get_views(). -* Added numeric formatting to the wpp_get_views() function. -* When enabling the Display author option, author's name will link to his/her profile page. -* Fixed bad numeric formatting in Stats showing truncated views count. -* Fixed AJAX update feature (finally!). WPP works properly now when using caching plugins! -* Fixed WP Post Ratings not displaying on the list (and while it works, there are errors coming from the WP Post Ratings plugin itself: http://wordpress.org/support/topic/plugin-wp-postratings-undefined-indexes). -* Improved database queries for speed. -* Fixed bug preventing PostRating to show. -* Removed Timthumb (again) in favor of the updated get_img() function based on Victor Teixeira's vt_resize function. -* Cron now removes from cache all posts that have been trashed or eliminated. -* Added proper numeric formatting for views / comments count. (Thank you for the tip, dimagsv!) -* Added "the title filter fix" that affected some themes. (Thank you, jeremyers1!) -* Added dutch translation. (Thank you, Jeroen!) -* Added german translation. (Thank you, Martin!) - -= 2.3.2 = -* The ability to enable / disable the Ajax Update has been removed. It introduced a random bug that doubled the views count of some posts / pages. Will be added back when a fix is ready. -* Fixed a bug preventing the cat parameter from excluding categories (widget was not affected by this). -* FAQ section (Settings / WordPress Popular Posts / FAQ) updated. -* Added french translation. (Thanks, Le Raconteur!) - -= 2.3.1 = -* Fixed bug caused by the sorter function when there are multiple instances of the widget. -* Added check for new options in the get_popular_posts function. -* Added plugin version check to handle upgrades. -* Fixed bug preventing some site from fetching images from subdomains or external sites. -* Fixed bug that prevented excluding more than one category using the Category filter. - -= 2.3.0 = -* Merged all pages into Settings/WordPress Popular Posts. -* Added new options to the WordPress Popular Posts Stats dashboard. -* Added check for static homepages to avoid printing ajax script there. -* Database queries re-built from scratch for optimization. -* Added the ability to remove / enable plugin's stylesheet from the admin. -* Added the ability to enable / disable ajax update from the admin. -* Added the ability to set thumbnail's source from the admin. -* Timthumb support re-added. -* Added support for custom post type (Thanks, Brad Williams!). -* Improved the category filtering feature. -* Added the ability to get popular posts from given author IDs. - - -= 2.2.1 = -* Quick update to fix error with All-time combined with views breaking the plugin. - -= 2.2.0 = -* Featured Image is generated for the user automatically if not present and if there's an image attached to the post. -* Range feature Today option changed. Replaced with Last 24 hours. -* Category exclusion query simplified. Thanks to almergabor for the suggestion! -* Fixed bug caused by selecting Avg. Views and All-Time that prevented WPP from getting any data from the BD. Thanks Janseo! -* Updated the get_summary function to strip out shortcodes from excerpt as well. -* Fixed bug in the truncate function affecting accented characters. Thanks r3df! -* Fixed bug keeping db tables from being created. Thanks northlake! -* Fixed bug on the shortcode which was showing pages even if turned off. Thanks danpkraus! - -= 2.1.7 = -* Added stylesheet detection. If wpp.css is on theme's folder, will use that instead the one bundled with the plugin. - -= 2.1.6 = -* Added DB character set and collate detection. -* Fixed excerpt translation issue when the qTrans plugin is present. Thanks r3df!. -* Fixed thumbnail dimensions issue. -* Fixed widget page link. -* Fixed widget title encoding bug. -* Fixed deprecated errors on load_plugin_textdomain and add_submenu_page. - -= 2.1.5 = -* Dropped TimThumb support in favor of WordPress's Featured Image function. - -= 2.1.4 = -* Added italian localization. Thanks Gianni! -* Added charset detection. -* Fixed bug preventing HTML View / Visual View on Edit Post page from working. - -= 2.1.1 = -* Fixed bug preventing widget title from being saved. -* Fixed bug affecting blogs with WordPress installed somewhere else than domain's root. -* Added htmlentities to post titles. -* Added default thumbnail image if none is found in the post. - -= 2.1.0 = -* Title special HTML entities bug fixed. -* Thumbnail feature improved! WordPress Popular Posts now supports The Post Thumbnail feature. You can choose whether to select your own thumbnails, or let WordPress Popular Posts create them for you! -* Shortcode bug fixed. Thanks Krokkodriljo! -* Category exclusion feature improved. Thanks raamdev! - -= 2.0.3 = -* Added a Statistics Dashboard to Admin panel so users can view what's popular directly from there. -* Users can now select a different date format. -* get_mostpopular() function deprecated. Replaced with wpp_get_mostpopular(). -* Cache maintenance bug fixed. -* Several UI enhancements were applied to this version. - -= 2.0.2 = -* "Keep text format and links" feature introduced. If selected, formatting tags and hyperlinks won't be removed from excerpt. -* Post title excerpt html entities bug fixed. It was causing the excerpt function to display more characters than the requested by user. -* Several shortcode bugs fixed (range, order_by, do_pattern, pattern_form were not working as expected). - -= 2.0.1 = -* Post title excerpt now includes html entities. Characters like ÅÄÖ should display properly now. -* Post excerpt has been improved. Now it supports the following HTML tags: a, b, i, strong, em. -* Template tag wpp_get_views() added. Retrieves the views count of a single post. -* Template tag get_mostpopular() re-added. Parameter support included. -* Shortcode bug fixed (range was always "daily" no matter what option was being selected by the user). - -= 2.0.0 = -* Plugin rewritten to support Multi-Widget capabilities -* Cache table implemented -* Shortcode support added -* Category exclusion feature added -* Ajax update added - plugin is now compatible with caching plugins such as WP Super Cache -* Thumbnail feature improved - some bugs were fixed, too -* Maintenance page added - -= 1.5.1 = -* Widget bug fixed - -= 1.5.0 = -* Database improvements implemented -* WP-PostRatings support added -* Thumbnail feature added - -= 1.4.6 = -* Bug in get_mostpopular function affected comments on single.php -* "Show pageviews" option bug fixed -* Added "content formatting tags" functionality - -= 1.4.5 = -* Added new localizable strings -* Fixed Admin page coding bug that was affecting the styling of WPP - -= 1.4.4 = -* HTML Markup customizer added -* Removed some unnessesary files - -= 1.4.3 = -* Korean and Swedish are supported - -= 1.4.2 = -* Code snippet bug found - -= 1.4.1 = -* Found database bug affecting only new installations - -= 1.4 = -* Massive code enhancement -* CSS bugs fixed -* Features added: Time Range; author and date (stats tag); separate settings for Widget and Code Snippet - -= 1.3.2 = -* Permalink bug fixed - -= 1.3.1 = -* Admin panel styling bug fixed - -= 1.3 = -* Added an Admin page for a better management of the plugin -* New sorting options (sort posts by comment count, by pageviews, or by average daily views) added - -= 1.2 = -* Added extra functionalities to WordPress Popular Post plugin core - -= 1.1 = -* Fixed comment count bug - -= 1.0 = -* Public release +See [full changelog](https://github.com/cabrerahector/wordpress-popular-posts/blob/master/changelog.md). == Language support == @@ -467,6 +157,3 @@ All translations are community made: people who are nice enough to share their t * Flame graphic by freevector/Vecteezy.com. == Upgrade Notice == - -= 3.2.3 = -If you're using a caching plugin, flushing its cache after upgrading is highly recommended. diff --git a/wp-content/plugins/wordpress-popular-posts/style/admin.css b/wp-content/plugins/wordpress-popular-posts/style/admin.css index 7b2d7ebd79e7b5125200c974e61f005bb17f8214..a3e9cdca9234367a3f638feda002f6cf8d3e8628 100644 --- a/wp-content/plugins/wordpress-popular-posts/style/admin.css +++ b/wp-content/plugins/wordpress-popular-posts/style/admin.css @@ -10,14 +10,16 @@ float:right; margin:0 0 15px 0; padding:10px; - width:230px; + width:250px; background:#f9f9f9; border: 1px solid #ccc; } #wpp_donate { margin-top:15px; } -#wpp_support { clear:right; } +#wpp_advertisement { display:none; } + +#wpp_advertisement, #wpp_support { clear:right; } .clear { float:none; diff --git a/wp-content/plugins/wordpress-popular-posts/style/wpp.css b/wp-content/plugins/wordpress-popular-posts/style/wpp.css index 8107a13773778de52467fc3d951518e9e00cf1f0..9999f6432795ddabbc57c704e582a26b495a5a0d 100644 --- a/wp-content/plugins/wordpress-popular-posts/style/wpp.css +++ b/wp-content/plugins/wordpress-popular-posts/style/wpp.css @@ -21,6 +21,10 @@ Use the following classes to style your popular posts list as you like. clear:both; } + /* Styles for the popular post in view */ + .wpp-list li.current { + } + /* Thumbnail styles */ .wpp-thumbnail { display:inline; diff --git a/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts-readme.pot b/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts-readme.pot new file mode 100644 index 0000000000000000000000000000000000000000..cbd7bb1b20c1709c0daf3a4b81ade87d447e97f3 --- /dev/null +++ b/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts-readme.pot @@ -0,0 +1,422 @@ +msgid "" +msgstr "MIME-Version: 1.0\n" + +#. Name. +msgid "WordPress Popular Posts" +msgstr "" + +#. Short description. +msgid "A highly customizable, easy-to-use popular posts widget!" +msgstr "" + +#. Screenshot description. +msgid "Widgets Control Panel." +msgstr "" + +#. Screenshot description. +msgid "WordPress Popular Posts Widget." +msgstr "" + +#. Screenshot description. +msgid "WordPress Popular Posts Widget on theme's sidebar." +msgstr "" + +#. Screenshot description. +msgid "WordPress Popular Posts Stats panel." +msgstr "" + +#. Found in description header. +msgid "Main Features" +msgstr "" + +#. Found in description header. +msgid "Other Features" +msgstr "" + +#. Found in description list item. +msgid "<strong>Multi-widget capable</strong>. That is, you can have several widgets of WordPress Popular Posts on your blog - each with its own settings!" +msgstr "" + +#. Found in description list item. +msgid "<strong>Time Range</strong> - list those posts of your blog that have been the most popular ones within a specific time range (eg. last 24 hours, last 7 days, last 30 days, etc.)!" +msgstr "" + +#. Found in description list item. +msgid "<strong>Custom Post-type support</strong>. Wanna show other stuff than just posts and pages?" +msgstr "" + +#. Found in description list item. +msgid "Display a <strong>thumbnail</strong> of your posts! (<em>see the <a href=\"http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/\">FAQ section</a> for technical requirements</em>)." +msgstr "" + +#. Found in description list item. +msgid "Use <strong>your own layout</strong>! Control how your most popular posts are shown on your theme." +msgstr "" + +#. Found in description list item. +msgid "<strong>WPML</strong> support!" +msgstr "" + +#. Found in description list item. +msgid "<strong>WordPress Multisite</strong> support!" +msgstr "" + +#. Found in description list item. +msgid "Check the <strong>statistics</strong> on your most popular posts from wp-admin." +msgstr "" + +#. Found in description list item. +msgid "Order your popular list by comments, views (default) or average views per day!" +msgstr "" + +#. Found in description list item. +msgid "<strong>Shortcode support</strong> - use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the <a href=\"http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/\">installation section</a>." +msgstr "" + +#. Found in description list item. +msgid "<strong>Template tags</strong> - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the <em>wpp_get_mostpopular()</em> template tag. Additionally, the <em>wpp_gets_views()</em> template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the <a href=\"http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/\">installation section</a>." +msgstr "" + +#. Found in description list item. +msgid "<strong>Localizable</strong> to your own language (<em>See the <a href=\"http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/\">FAQ section</a> for more info</em>)." +msgstr "" + +#. Found in description list item. +msgid "<strong><a href=\"http://wordpress.org/extend/plugins/wp-postratings/\">WP-PostRatings</a> support</strong>. Show your visitors how your readers are rating your posts!" +msgstr "" + +#. Found in description paragraph. +msgid "WordPress Popular Posts is a highly customizable widget that displays the most popular posts on your blog." +msgstr "" + +#. Found in description paragraph. +msgid "<strong>WordPress Popular Posts</strong> is now also on <a href=\"https://github.com/cabrerahector/wordpress-popular-posts\">GitHub</a>!" +msgstr "" + +#. Found in installation header. +msgid "USAGE" +msgstr "" + +#. Found in installation list item. +msgid "Download the plugin and extract its contents." +msgstr "" + +#. Found in installation list item. +msgid "Upload the <code>wordpress-popular-posts</code> folder to the <code>/wp-content/plugins/</code> directory." +msgstr "" + +#. Found in installation list item. +msgid "Activate <strong>WordPress Popular Posts</strong> plugin through the \"Plugins\" menu in WordPress." +msgstr "" + +#. Found in installation list item. +msgid "In your admin console, go to Appearance > Widgets, drag the WordPress Popular Posts widget to wherever you want it to be and click on Save." +msgstr "" + +#. Found in installation list item. +msgid "If you have a caching plugin installed on your site, flush its cache now so WPP can start tracking your site." +msgstr "" + +#. Found in installation list item. +msgid "Go to Appearance > Editor. On \"Theme Files\", click on <code>header.php</code> and make sure that the <code><?php wp_head(); ?></code> tag is present (should be right before the closing <code></head></code> tag)." +msgstr "" + +#. Found in installation list item. +msgid "(optional, but recommended for large / high traffic sites) Enabling <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#data-sampling\">Data Sampling</a> and/or <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#caching\">Caching</a> is recommended. Check <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance\">here</a> for more." +msgstr "" + +#. Found in installation list item. +msgid "As a <a href=\"http://codex.wordpress.org/WordPress_Widgets\">widget</a>: simply drag and drop it into your theme's sidebar and configure it." +msgstr "" + +#. Found in installation list item. +msgid "As a template tag: you can place it anywhere on your theme with <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/2.-Template-tags#wpp_get_mostpopular\">wpp_get_mostpopular()</a>." +msgstr "" + +#. Found in installation list item. +msgid "Via <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/1.-Using-WPP-on-posts-&-pages\">shortcode</a>, so you can embed it inside a post or a page." +msgstr "" + +#. Found in installation paragraph. +msgid "That's it!" +msgstr "" + +#. Found in installation paragraph. +msgid "WordPress Popular Posts can be used in three different ways:" +msgstr "" + +#. Found in installation paragraph. +msgid "Make sure to stop by the <strong><a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki\">Wiki</a></strong> as well, you'll find even more info there!" +msgstr "" + +#. Found in changelog list item. +msgid "Fixes warning message: 'stream does not support seeking in...'" +msgstr "" + +#. Found in changelog list item. +msgid "Removes excerpt HTML encoding." +msgstr "" + +#. Found in changelog list item. +msgid "Passes widget ID to the instance variable for customization." +msgstr "" + +#. Found in changelog list item. +msgid "Adds CSS class current." +msgstr "" + +#. Found in changelog list item. +msgid "Documentation cleanup." +msgstr "" + +#. Found in changelog list item. +msgid "Other minor bug fixes / improvements." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes undefined index notice." +msgstr "" + +#. Found in changelog list item. +msgid "Makes sure legacy tables are deleted on plugin upgrade." +msgstr "" + +#. Found in changelog list item. +msgid "Adds the ability to limit the amount of data logged by WPP (see Settings > WordPress Popular Posts > Tools for more)." +msgstr "" + +#. Found in changelog list item. +msgid "Adds Polylang support (thanks, <a href=\"https://github.com/Chouby\">@Chouby</a>!)" +msgstr "" + +#. Found in changelog list item. +msgid "Removes post data from DB on deletion." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes whitespaces from post_type argument (thanks, <a href=\"https://github.com/getdave\">@getdave</a>!)" +msgstr "" + +#. Found in changelog list item. +msgid "WPP now handles SSL detection for images." +msgstr "" + +#. Found in changelog list item. +msgid "Removes legacy datacache and datacache_backup tables." +msgstr "" + +#. Found in changelog list item. +msgid "Adds Settings page advertisement support." +msgstr "" + +#. Found in changelog list item. +msgid "FAQ section has been moved over to Github." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes a potential bug that might affect other plugins & themes (thanks @pippinsplugins)." +msgstr "" + +#. Found in changelog list item. +msgid "Defines INNODB as default storage engine." +msgstr "" + +#. Found in changelog list item. +msgid "Adds the wpp-no-data CSS class to style the \"Sorry, no data so far\" message." +msgstr "" + +#. Found in changelog list item. +msgid "Adds a new index to summary table." +msgstr "" + +#. Found in changelog list item. +msgid "Updates plugin's documentation." +msgstr "" + +#. Found in changelog list item. +msgid "Other small bug fixes and improvements." +msgstr "" + +#. Found in changelog list item. +msgid "Moves sampling logic into Javascript (thanks, <a href=\"https://github.com/kurtpayne\">@kurtpayne</a>!)" +msgstr "" + +#. Found in changelog list item. +msgid "Simplifies category filtering logic." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes list sorting issue that some users were experimenting (thanks, sponker!)" +msgstr "" + +#. Found in changelog list item. +msgid "Widget uses stock thumbnails when using predefined size (some conditions apply)." +msgstr "" + +#. Found in changelog list item. +msgid "Adds the ability to enable / disable responsive support for thumbails." +msgstr "" + +#. Found in changelog list item. +msgid "Renames wpp_update_views action hook to wpp_post_update_views, <strong>update your code!</strong>" +msgstr "" + +#. Found in changelog list item. +msgid "Adds wpp_pre_update_views action hook." +msgstr "" + +#. Found in changelog list item. +msgid "Adds filter wpp_render_image." +msgstr "" + +#. Found in changelog list item. +msgid "Drops support for get_mostpopular() template tag." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes empty HTML tags (thumbnail, stats)." +msgstr "" + +#. Found in changelog list item. +msgid "Removes Japanese, French and Norwegian Bokmal translation files from plugin." +msgstr "" + +#. Found in changelog list item. +msgid "Many minor bug fixes / enhancements." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes missing HTML decoding for custom HTML in widget." +msgstr "" + +#. Found in changelog list item. +msgid "Puts LIMIT clause back to the outer query." +msgstr "" + +#. Found in changelog list item. +msgid "Adds check for jQuery." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes invalid parameter in htmlspecialchars()." +msgstr "" + +#. Found in changelog list item. +msgid "Switches AJAX update to POST method." +msgstr "" + +#. Found in changelog list item. +msgid "Removes href attribute from link when popular post is viewed." +msgstr "" + +#. Found in changelog list item. +msgid "Removes unnecesary ORDER BY clause in views/comments subquery." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes Javascript console not working under IE8 (thanks, @<a href=\"https://github.com/raphaelsaunier\">raphaelsaunier</a>!)" +msgstr "" + +#. Found in changelog list item. +msgid "Fixes WPML compatibility bug storing post IDs as 0." +msgstr "" + +#. Found in changelog list item. +msgid "Removes wpp-upload.js since it was no longer in use." +msgstr "" + +#. Found in changelog list item. +msgid "Fixes undefined default thumbnail image (thanks, Lea Cohen!)" +msgstr "" + +#. Found in changelog list item. +msgid "Fixes rating parameter returning false value." +msgstr "" + +#. Found in changelog list item. +msgid "Adds Data Sampling (thanks, @<a href=\"https://github.com/kurtpayne\">kurtpayne</a>!)" +msgstr "" + +#. Found in changelog list item. +msgid "Minor query optimizations." +msgstr "" + +#. Found in changelog list item. +msgid "Adds {date} (thanks, @<a href=\"https://github.com/matsuoshi\">matsuoshi</a>!) and {thumb_img} tags to custom html." +msgstr "" + +#. Found in changelog list item. +msgid "Adds minute time option for caching." +msgstr "" + +#. Found in changelog list item. +msgid "Adds wpp_data_sampling filter." +msgstr "" + +#. Found in changelog list item. +msgid "Removes jQuery's DOM ready hook for AJAX views update." +msgstr "" + +#. Found in changelog list item. +msgid "Adds back missing GROUP BY clause." +msgstr "" + +#. Found in changelog list item. +msgid "Removes unnecesary HTML decoding for custom HTML (thanks, Lea Cohen!)" +msgstr "" + +#. Found in changelog list item. +msgid "Translates category name when WPML is detected." +msgstr "" + +#. Found in changelog list item. +msgid "Adds list of available thumbnail sizes to the widget." +msgstr "" + +#. Found in changelog list item. +msgid "Other minor bugfixes and improvements." +msgstr "" + +#. Found in changelog paragraph. +msgid "<strong>If you're using a caching plugin, flushing its cache after installing / upgrading to this version is highly recommended.</strong>" +msgstr "" + +#. Found in changelog paragraph. +msgid "<strong>If you're using a caching plugin, flushing its cache after installing / upgrading to this version is recommended.</strong>" +msgstr "" + +#. Found in changelog paragraph. +msgid "See <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/blob/master/changelog.md\">full changelog</a>." +msgstr "" + +#. Found in faq paragraph. +msgid "The <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ\">FAQ section</a> is now hosted at <a href=\"https://github.com/cabrerahector/wordpress-popular-posts/\">WPP's Github repo</a>." +msgstr "" + +#. Found in remaining content header. +msgid "Language support" +msgstr "" + +#. Found in remaining content header. +msgid "Credits" +msgstr "" + +#. Found in remaining content list item. +msgid "English (supported by Hector Cabrera)." +msgstr "" + +#. Found in remaining content list item. +msgid "Spanish (supported by Hector Cabrera)." +msgstr "" + +#. Found in remaining content list item. +msgid "German - 86% translated." +msgstr "" + +#. Found in remaining content list item. +msgid "Flame graphic by freevector/Vecteezy.com." +msgstr "" + +#. Found in remaining content paragraph. +msgid "All translations are community made: people who are nice enough to share their translations with me so I can distribute them with the plugin. If you spot an error, or feel like helping improve a translation, please check the <a href=\"http://wordpress.org/plugins/wordpress-popular-posts/faq/\" title=\"FAQ section\">FAQ section</a> for instructions." +msgstr "" \ No newline at end of file diff --git a/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts.pot b/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts.pot new file mode 100644 index 0000000000000000000000000000000000000000..2f2b3832a43dacdbee5c6a831a62be7bf3fda601 --- /dev/null +++ b/wp-content/plugins/wordpress-popular-posts/tmp-wordpress-popular-posts.pot @@ -0,0 +1,1050 @@ +# Copyright (C) 2015 WordPress Popular Posts +# This file is distributed under the same license as the WordPress Popular Posts package. +msgid "" +msgstr "" +"Project-Id-Version: WordPress Popular Posts 3.3.2\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wordpress-popular-" +"posts\n" +"POT-Creation-Date: 2015-11-11 18:51:09+00:00\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" + +#: views/admin.php:25 views/admin.php:34 views/admin.php:49 views/admin.php:79 +msgid "Settings saved." +msgstr "" + +#: views/admin.php:40 +msgid "Please provide the name of your custom field." +msgstr "" + +#: views/admin.php:85 +msgid "" +"Any changes made to WPP's default stylesheet will be lost after every plugin " +"update. In order to prevent this from happening, please copy the wpp.css " +"file (located at wp-content/plugins/wordpress-popular-posts/style) into your " +"theme's directory" +msgstr "" + +#: views/admin.php:100 +msgid "" +"This operation will delete all entries from WordPress Popular Posts' cache " +"table and cannot be undone." +msgstr "" + +#: views/admin.php:100 views/admin.php:108 views/admin.php:116 +msgid "Do you want to continue?" +msgstr "" + +#: views/admin.php:108 +msgid "" +"This operation will delete all stored info from WordPress Popular Posts' " +"data tables and cannot be undone." +msgstr "" + +#: views/admin.php:116 +msgid "This operation will delete all cached thumbnails and cannot be undone." +msgstr "" + +#: views/admin.php:150 +msgid "Stats" +msgstr "" + +#: views/admin.php:151 +msgid "Tools" +msgstr "" + +#: views/admin.php:152 +msgid "Parameters" +msgstr "" + +#: views/admin.php:153 +msgid "FAQ" +msgstr "" + +#: views/admin.php:154 +msgid "About" +msgstr "" + +#: views/admin.php:165 +msgid "" +"Click on each tab to see what are the most popular entries on your blog in " +"the last 24 hours, this week, last 30 days or all time since WordPress " +"Popular Posts was installed." +msgstr "" + +#: views/admin.php:171 +msgid "Order by comments" +msgstr "" + +#: views/admin.php:172 +msgid "Order by views" +msgstr "" + +#: views/admin.php:173 +msgid "Order by avg. daily views" +msgstr "" + +#: views/admin.php:175 +msgid "Post type" +msgstr "" + +#: views/admin.php:176 +msgid "Limit" +msgstr "" + +#: views/admin.php:178 views/admin.php:283 views/admin.php:385 +#: views/admin.php:422 +msgid "Apply" +msgstr "" + +#: views/admin.php:181 views/form.php:32 +msgid "Display only posts published within the selected Time Range" +msgstr "" + +#: views/admin.php:188 views/form.php:26 +msgid "Last 24 hours" +msgstr "" + +#: views/admin.php:189 views/form.php:27 +msgid "Last 7 days" +msgstr "" + +#: views/admin.php:190 views/form.php:28 +msgid "Last 30 days" +msgstr "" + +#: views/admin.php:191 views/form.php:29 +msgid "All-time" +msgstr "" + +#: views/admin.php:213 +msgid "Thumbnails" +msgstr "" + +#: views/admin.php:218 +msgid "Default thumbnail" +msgstr "" + +#: views/admin.php:223 +msgid "Upload thumbnail" +msgstr "" + +#: views/admin.php:225 +msgid "" +"How-to: upload (or select) an image, set Size to Full and click on Upload. " +"After it's done, hit on Apply to save changes" +msgstr "" + +#: views/admin.php:229 +msgid "Pick image from" +msgstr "" + +#: views/admin.php:232 +msgid "Featured image" +msgstr "" + +#: views/admin.php:233 +msgid "First image on post" +msgstr "" + +#: views/admin.php:234 +msgid "Custom field" +msgstr "" + +#: views/admin.php:237 +msgid "Tell WordPress Popular Posts where it should get thumbnails from" +msgstr "" + +#: views/admin.php:241 +msgid "Custom field name" +msgstr "" + +#: views/admin.php:247 +msgid "Resize image from Custom field?" +msgstr "" + +#: views/admin.php:250 +msgid "No, I will upload my own thumbnail" +msgstr "" + +#: views/admin.php:251 +msgid "Yes" +msgstr "" + +#: views/admin.php:256 +msgid "Responsive support" +msgstr "" + +#: views/admin.php:259 views/admin.php:327 views/admin.php:367 +#: views/admin.php:412 +msgid "Enabled" +msgstr "" + +#: views/admin.php:260 views/admin.php:311 views/admin.php:326 +#: views/admin.php:366 views/admin.php:413 +msgid "Disabled" +msgstr "" + +#: views/admin.php:263 +msgid "" +"If enabled, WordPress Popular Posts will strip height and width attributes " +"out of thumbnails' image tags" +msgstr "" + +#: views/admin.php:273 +msgid "Empty image cache" +msgstr "" + +#: views/admin.php:274 +msgid "Use this button to clear WPP's thumbnails cache" +msgstr "" + +#: views/admin.php:292 +msgid "Data" +msgstr "" + +#: views/admin.php:297 +msgid "Log views from" +msgstr "" + +#: views/admin.php:300 +msgid "Visitors only" +msgstr "" + +#: views/admin.php:301 +msgid "Logged-in users only" +msgstr "" + +#: views/admin.php:302 +msgid "Everyone" +msgstr "" + +#: views/admin.php:308 +msgid "Log limit" +msgstr "" + +#: views/admin.php:312 +msgid "Keep data for" +msgstr "" + +#: views/admin.php:315 +msgid "day(s)" +msgstr "" + +#: views/admin.php:317 +msgid "" +"Data from entries that haven't been viewed within the specified time frame " +"will be automatically discarded" +msgstr "" + +#: views/admin.php:323 +msgid "Ajaxify widget" +msgstr "" + +#: views/admin.php:331 +msgid "" +"If you are using a caching plugin such as WP Super Cache, enabling this " +"feature will keep the popular list from being cached by it" +msgstr "" + +#: views/admin.php:335 +msgid "WPP Cache Expiry Policy" +msgstr "" + +#: views/admin.php:335 views/admin.php:363 views/form.php:2 views/form.php:34 +#: views/form.php:40 views/form.php:43 views/form.php:52 views/form.php:125 +msgid "What is this?" +msgstr "" + +#: views/admin.php:338 +msgid "Never cache" +msgstr "" + +#: views/admin.php:339 +msgid "Enable caching" +msgstr "" + +#: views/admin.php:343 +msgid "" +"Sets WPP's cache expiration time. WPP can cache the popular list for a " +"specified amount of time. Recommended for large / high traffic sites" +msgstr "" + +#: views/admin.php:347 +msgid "Refresh cache every" +msgstr "" + +#: views/admin.php:351 +msgid "Minute(s)" +msgstr "" + +#: views/admin.php:352 +msgid "Hour(s)" +msgstr "" + +#: views/admin.php:353 +msgid "Day(s)" +msgstr "" + +#: views/admin.php:354 +msgid "Week(s)" +msgstr "" + +#: views/admin.php:355 +msgid "Month(s)" +msgstr "" + +#: views/admin.php:356 +msgid "Year(s)" +msgstr "" + +#: views/admin.php:359 +msgid "Really? That long?" +msgstr "" + +#: views/admin.php:363 +msgid "Data Sampling" +msgstr "" + +#: views/admin.php:371 +msgid "" +"By default, WordPress Popular Posts stores in database every single visit " +"your site receives. For small / medium sites this is generally OK, but on " +"large / high traffic sites the constant writing to the database may have an " +"impact on performance. With <a href=\"%1$s\" target=\"_blank\">data " +"sampling</a>, WordPress Popular Posts will store only a subset of your " +"traffic and report on the tendencies detected in that sample set (for more, " +"<a href=\"%2$s\" target=\"_blank\">please read here</a>)" +msgstr "" + +#: views/admin.php:375 +msgid "Sample Rate" +msgstr "" + +#: views/admin.php:379 +msgid "" +"A sampling rate of %d is recommended for large / high traffic sites. For " +"lower traffic sites, you should lower the value" +msgstr "" + +#: views/admin.php:394 +msgid "Miscellaneous" +msgstr "" + +#: views/admin.php:399 +msgid "Open links in" +msgstr "" + +#: views/admin.php:402 +msgid "Current window" +msgstr "" + +#: views/admin.php:403 +msgid "New tab/window" +msgstr "" + +#: views/admin.php:409 +msgid "Use plugin's stylesheet" +msgstr "" + +#: views/admin.php:416 +msgid "" +"By default, the plugin includes a stylesheet called wpp.css which you can " +"use to style your popular posts listing. If you wish to use your own " +"stylesheet or do not want it to have it included in the header section of " +"your site, use this." +msgstr "" + +#: views/admin.php:433 +msgid "" +"WordPress Popular Posts maintains data in two separate tables: one for " +"storing the most popular entries on a daily basis (from now on, \"cache\"), " +"and another one to keep the All-time data (from now on, \"historical data\" " +"or just \"data\"). If for some reason you need to clear the cache table, or " +"even both historical and cache tables, please use the buttons below to do so." +msgstr "" + +#: views/admin.php:434 +msgid "Empty cache" +msgstr "" + +#: views/admin.php:434 +msgid "Use this button to manually clear entries from WPP cache only" +msgstr "" + +#: views/admin.php:435 +msgid "Clear all data" +msgstr "" + +#: views/admin.php:435 +msgid "Use this button to manually clear entries from all WPP data tables" +msgstr "" + +#: views/admin.php:442 +msgid "" +"With the following parameters you can customize the popular posts list when " +"using either the <a href=\"%1$s\">wpp_get_mostpopular() template tag</a> or " +"the <a href=\"%2$s\">[wpp] shortcode</a>." +msgstr "" + +#: views/admin.php:450 +msgid "Parameter" +msgstr "" + +#: views/admin.php:451 +msgid "What it does " +msgstr "" + +#: views/admin.php:452 +msgid "Possible values" +msgstr "" + +#: views/admin.php:453 +msgid "Defaults to" +msgstr "" + +#: views/admin.php:454 +msgid "Example" +msgstr "" + +#: views/admin.php:460 +msgid "Sets a heading for the list" +msgstr "" + +#: views/admin.php:461 views/admin.php:468 views/admin.php:475 +#: views/admin.php:510 views/admin.php:517 views/admin.php:524 +#: views/admin.php:531 views/admin.php:622 views/admin.php:636 +#: views/admin.php:643 +msgid "Text string" +msgstr "" + +#: views/admin.php:462 views/admin.php:518 views/admin.php:525 +#: views/admin.php:532 +msgid "None" +msgstr "" + +#: views/admin.php:467 +msgid "Set the opening tag for the heading of the list" +msgstr "" + +#: views/admin.php:474 +msgid "Set the closing tag for the heading of the list" +msgstr "" + +#: views/admin.php:481 +msgid "Sets the maximum number of popular posts to be shown on the listing" +msgstr "" + +#: views/admin.php:482 views/admin.php:538 views/admin.php:552 +#: views/admin.php:573 views/admin.php:580 +msgid "Positive integer" +msgstr "" + +#: views/admin.php:488 +msgid "" +"Tells WordPress Popular Posts to retrieve the most popular entries within " +"the time range specified by you" +msgstr "" + +#: views/admin.php:495 +msgid "" +"Tells WordPress Popular Posts to retrieve the most popular entries published " +"within the time range specified by you" +msgstr "" + +#: views/admin.php:502 +msgid "Sets the sorting option of the popular posts" +msgstr "" + +#: views/admin.php:503 +msgid "(for average views per day)" +msgstr "" + +#: views/admin.php:509 +msgid "Defines the type of posts to show on the listing" +msgstr "" + +#: views/admin.php:516 +msgid "" +"If set, WordPress Popular Posts will exclude the specified post(s) ID(s) " +"form the listing." +msgstr "" + +#: views/admin.php:523 +msgid "" +"If set, WordPress Popular Posts will retrieve all entries that belong to the " +"specified category(ies) ID(s). If a minus sign is used, the category(ies) " +"will be excluded instead." +msgstr "" + +#: views/admin.php:530 +msgid "" +"If set, WordPress Popular Posts will retrieve all entries created by " +"specified author(s) ID(s)." +msgstr "" + +#: views/admin.php:537 +msgid "" +"If set, WordPress Popular Posts will shorten each post title to \"n\" " +"characters whenever possible" +msgstr "" + +#: views/admin.php:544 +msgid "" +"If set to 1, WordPress Popular Posts will shorten each post title to \"n\" " +"words instead of characters" +msgstr "" + +#: views/admin.php:551 +msgid "" +"If set, WordPress Popular Posts will build and include an excerpt of \"n\" " +"characters long from the content of each post listed as popular" +msgstr "" + +#: views/admin.php:558 +msgid "" +"If set, WordPress Popular Posts will maintaing all styling tags (strong, " +"italic, etc) and hyperlinks found in the excerpt" +msgstr "" + +#: views/admin.php:565 +msgid "" +"If set to 1, WordPress Popular Posts will shorten the excerpt to \"n\" words " +"instead of characters" +msgstr "" + +#: views/admin.php:572 +msgid "" +"If set, and if your current server configuration allows it, you will be able " +"to display thumbnails of your posts. This attribute sets the width for " +"thumbnails" +msgstr "" + +#: views/admin.php:579 +msgid "" +"If set, and if your current server configuration allows it, you will be able " +"to display thumbnails of your posts. This attribute sets the height for " +"thumbnails" +msgstr "" + +#: views/admin.php:586 +msgid "" +"If set, and if the WP-PostRatings plugin is installed and enabled on your " +"blog, WordPress Popular Posts will show how your visitors are rating your " +"entries" +msgstr "" + +#: views/admin.php:593 +msgid "" +"If set, WordPress Popular Posts will show how many comments each popular " +"post has got until now" +msgstr "" + +#: views/admin.php:600 +msgid "" +"If set, WordPress Popular Posts will show how many views each popular post " +"has got since it was installed" +msgstr "" + +#: views/admin.php:607 +msgid "" +"If set, WordPress Popular Posts will show who published each popular post on " +"the list" +msgstr "" + +#: views/admin.php:614 +msgid "" +"If set, WordPress Popular Posts will display the date when each popular post " +"on the list was published" +msgstr "" + +#: views/admin.php:621 +msgid "Sets the date format" +msgstr "" + +#: views/admin.php:628 +msgid "If set, WordPress Popular Posts will display the category" +msgstr "" + +#: views/admin.php:635 +msgid "Sets the opening tag for the listing" +msgstr "" + +#: views/admin.php:642 +msgid "Sets the closing tag for the listing" +msgstr "" + +#: views/admin.php:649 +msgid "Sets the HTML structure of each post" +msgstr "" + +#: views/admin.php:650 +msgid "Text string, custom HTML" +msgstr "" + +#: views/admin.php:650 +msgid "Available Content Tags" +msgstr "" + +#: views/admin.php:650 +msgid "" +"displays thumbnail linked to post/page, requires thumbnail_width & " +"thumbnail_height" +msgstr "" + +#: views/admin.php:650 +msgid "" +"displays thumbnail image without linking to post/page, requires " +"thumbnail_width & thumbnail_height" +msgstr "" + +#: views/admin.php:650 +msgid "displays linked post/page title" +msgstr "" + +#: views/admin.php:650 +msgid "" +"displays post/page excerpt, and requires excerpt_length to be greater than 0" +msgstr "" + +#: views/admin.php:650 +msgid "displays the default stats tags" +msgstr "" + +#: views/admin.php:650 +msgid "" +"displays post/page current rating, requires WP-PostRatings installed and " +"enabled" +msgstr "" + +#: views/admin.php:650 +msgid "" +"displays post/page current rating as an integer, requires WP-PostRatings " +"installed and enabled" +msgstr "" + +#: views/admin.php:650 +msgid "outputs the URL of the post/page" +msgstr "" + +#: views/admin.php:650 +msgid "displays post/page title, no link" +msgstr "" + +#: views/admin.php:650 +msgid "displays linked author name, requires stats_author=1" +msgstr "" + +#: views/admin.php:650 +msgid "displays linked category name, requires stats_category=1" +msgstr "" + +#: views/admin.php:650 +msgid "displays views count only, no text" +msgstr "" + +#: views/admin.php:650 +msgid "displays comments count only, no text, requires stats_comments=1" +msgstr "" + +#: views/admin.php:650 +msgid "displays post/page date, requires stats_date=1" +msgstr "" + +#: views/admin.php:663 +msgid "" +"These FAQs are widget specific. For more general FAQs about WordPress " +"Popular Posts, please click <a href=\"%s\" target=\"_blank\">here</a>" +msgstr "" + +#: views/admin.php:665 +msgid "What does \"Title\" do?" +msgstr "" + +#: views/admin.php:668 +msgid "" +"It allows you to show a heading for your most popular posts listing. If left " +"empty, no heading will be displayed at all." +msgstr "" + +#: views/admin.php:671 +msgid "What is \"Post type\" for?" +msgstr "" + +#: views/admin.php:673 +msgid "" +"This filter allows you to decide which post types to show on the listing. By " +"default, it will retrieve only posts and pages (which should be fine for " +"most cases)." +msgstr "" + +#: views/admin.php:676 +msgid "What is \"Category(ies) ID(s)\" for?" +msgstr "" + +#: views/admin.php:678 +msgid "" +"This filter allows you to select which categories should be included or " +"excluded from the listing. A negative sign in front of the category ID " +"number will exclude posts belonging to it from the list, for example. You " +"can specify more than one ID with a comma separated list." +msgstr "" + +#: views/admin.php:681 +msgid "What is \"Author(s) ID(s)\" for?" +msgstr "" + +#: views/admin.php:683 +msgid "" +"Just like the Category filter, this one lets you filter posts by author ID. " +"You can specify more than one ID with a comma separated list." +msgstr "" + +#: views/admin.php:686 +msgid "What does \"Display post rating\" do?" +msgstr "" + +#: views/admin.php:688 +msgid "" +"If checked, WordPress Popular Posts will show how your readers are rating " +"your most popular posts. This feature requires having WP-PostRatings plugin " +"installed and enabled on your blog for it to work." +msgstr "" + +#: views/admin.php:691 +msgid "What does \"Use custom HTML Markup\" do?" +msgstr "" + +#: views/admin.php:693 +msgid "" +"If checked, you will be able to customize the HTML markup of your popular " +"posts listing. For example, you can decide whether to wrap your posts in an " +"unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is " +"for you!" +msgstr "" + +#: views/admin.php:702 +msgid "About WordPress Popular Posts %s" +msgstr "" + +#: views/admin.php:703 +msgid "This version includes the following changes" +msgstr "" + +#: views/admin.php:718 +msgid "Do you like this plugin?" +msgstr "" + +#: views/admin.php:725 +msgid "" +"Each donation motivates me to keep releasing free stuff for the WordPress " +"community!" +msgstr "" + +#: views/admin.php:726 +msgid "You can <a href=\"%s\" target=\"_blank\">leave a review</a>, too!" +msgstr "" + +#: views/admin.php:732 +msgid "Need help?" +msgstr "" + +#: views/admin.php:733 +msgid "" +"Visit <a href=\"%s\" target=\"_blank\">the forum</a> for support, questions " +"and feedback." +msgstr "" + +#: views/admin.php:734 +msgid "Let's make this plugin even better!" +msgstr "" + +#: views/form.php:2 +msgid "Title" +msgstr "" + +#: views/form.php:7 +msgid "Show up to" +msgstr "" + +#: views/form.php:8 +msgid "posts" +msgstr "" + +#: views/form.php:12 +msgid "Sort posts by" +msgstr "" + +#: views/form.php:14 +msgid "Comments" +msgstr "" + +#: views/form.php:15 +msgid "Total views" +msgstr "" + +#: views/form.php:16 +msgid "Avg. daily views" +msgstr "" + +#: views/form.php:22 +msgid "Filters" +msgstr "" + +#: views/form.php:24 +msgid "Time Range" +msgstr "" + +#: views/form.php:34 +msgid "Post type(s)" +msgstr "" + +#: views/form.php:37 +msgid "Post(s) ID(s) to exclude" +msgstr "" + +#: views/form.php:40 +msgid "Category(ies) ID(s)" +msgstr "" + +#: views/form.php:43 +msgid "Author(s) ID(s)" +msgstr "" + +#: views/form.php:48 +msgid "Posts settings" +msgstr "" + +#: views/form.php:52 +msgid "Display post rating" +msgstr "" + +#: views/form.php:55 +msgid "Shorten title" +msgstr "" + +#: views/form.php:58 +msgid "Shorten title to" +msgstr "" + +#: views/form.php:59 views/form.php:69 +msgid "characters" +msgstr "" + +#: views/form.php:60 views/form.php:70 +msgid "words" +msgstr "" + +#: views/form.php:63 +msgid "Display post excerpt" +msgstr "" + +#: views/form.php:66 +msgid "Keep text format and links" +msgstr "" + +#: views/form.php:67 +msgid "Excerpt length" +msgstr "" + +#: views/form.php:73 +msgid "Display post thumbnail" +msgstr "" + +#: views/form.php:76 +msgid "Use predefined size" +msgstr "" + +#: views/form.php:88 +msgid "Set size manually" +msgstr "" + +#: views/form.php:90 +msgid "Width" +msgstr "" + +#: views/form.php:93 +msgid "Height" +msgstr "" + +#: views/form.php:99 +msgid "Stats Tag settings" +msgstr "" + +#: views/form.php:101 +msgid "Display comment count" +msgstr "" + +#: views/form.php:103 +msgid "Display views" +msgstr "" + +#: views/form.php:105 +msgid "Display author" +msgstr "" + +#: views/form.php:107 +msgid "Display date" +msgstr "" + +#: views/form.php:110 +msgid "Date Format" +msgstr "" + +#: views/form.php:112 +msgid "WordPress Date Format" +msgstr "" + +#: views/form.php:119 +msgid "Display category" +msgstr "" + +#: views/form.php:123 +msgid "HTML Markup settings" +msgstr "" + +#: views/form.php:125 +msgid "Use custom HTML Markup" +msgstr "" + +#: views/form.php:128 +msgid "Before / after title" +msgstr "" + +#: views/form.php:131 +msgid "Before / after Popular Posts" +msgstr "" + +#: views/form.php:134 +msgid "Post HTML Markup" +msgstr "" + +#: wordpress-popular-posts.php:304 +msgid "The most Popular Posts on your blog." +msgstr "" + +#: wordpress-popular-posts.php:482 +msgid "" +"Error: cannot ajaxify WordPress Popular Posts on this theme. It's missing " +"the <em>id</em> attribute on before_widget (see <a href=\"http://codex." +"wordpress.org/Function_Reference/register_sidebar\" target=\"_blank\" rel=" +"\"nofollow\">register_sidebar</a> for more)." +msgstr "" + +#: wordpress-popular-posts.php:726 +msgid "Upload" +msgstr "" + +#: wordpress-popular-posts.php:1093 +msgid "" +"Your PHP installation is too old. WordPress Popular Posts requires at least " +"PHP version %1$s to function correctly. Please contact your hosting provider " +"and ask them to upgrade PHP to %1$s or higher." +msgstr "" + +#: wordpress-popular-posts.php:1100 +msgid "" +"Your WordPress version is too old. WordPress Popular Posts requires at least " +"WordPress version %1$s to function correctly. Please update your blog via " +"Dashboard > Update." +msgstr "" + +#: wordpress-popular-posts.php:1125 +msgid "" +"<div class=\"error\"><p>%1$s</p><p><i>%2$s</i> has been <strong>deactivated</" +"strong>.</p></div>" +msgstr "" + +#: wordpress-popular-posts.php:1209 +msgid "Success! The cache table has been cleared!" +msgstr "" + +#: wordpress-popular-posts.php:1211 +msgid "Error: cache table does not exist." +msgstr "" + +#: wordpress-popular-posts.php:1218 +msgid "Success! All data have been cleared!" +msgstr "" + +#: wordpress-popular-posts.php:1220 +msgid "Error: one or both data tables are missing." +msgstr "" + +#: wordpress-popular-posts.php:1223 wordpress-popular-posts.php:1261 +msgid "Invalid action." +msgstr "" + +#: wordpress-popular-posts.php:1226 wordpress-popular-posts.php:1264 +msgid "" +"Sorry, you do not have enough permissions to do this. Please contact the " +"site administrator for support." +msgstr "" + +#: wordpress-popular-posts.php:1256 +msgid "Success! All files have been deleted!" +msgstr "" + +#: wordpress-popular-posts.php:1258 +msgid "The thumbnail cache is already empty!" +msgstr "" + +#: wordpress-popular-posts.php:1818 +msgid "Sorry. No data so far." +msgstr "" + +#: wordpress-popular-posts.php:2345 +msgid "1 comment" +msgid_plural "%s comments" +msgstr[0] "" +msgstr[1] "" + +#: wordpress-popular-posts.php:2357 +msgid "1 view per day" +msgid_plural "%s views per day" +msgstr[0] "" +msgstr[1] "" + +#: wordpress-popular-posts.php:2363 +msgid "1 view" +msgid_plural "%s views" +msgstr[0] "" +msgstr[1] "" + +#: wordpress-popular-posts.php:2386 +msgid "by %s" +msgstr "" + +#: wordpress-popular-posts.php:2392 +msgid "posted on %s" +msgstr "" + +#: wordpress-popular-posts.php:2400 +msgid "under %s" +msgstr "" + +#. Plugin Name of the plugin/theme +msgid "WordPress Popular Posts" +msgstr "" + +#. Plugin URI of the plugin/theme +msgid "http://wordpress.org/extend/plugins/wordpress-popular-posts" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"WordPress Popular Posts is a highly customizable widget that displays the " +"most popular posts on your blog" +msgstr "" + +#. Author of the plugin/theme +msgid "Hector Cabrera" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://cabrerahector.com" +msgstr "" diff --git a/wp-content/plugins/wordpress-popular-posts/views/admin.php b/wp-content/plugins/wordpress-popular-posts/views/admin.php index 23bd486d5cd037cfefa110bc61913e4c2f9adbb3..ee7f540dd942f52aa4abdf2ae0f7e0ed924f1c19 100644 --- a/wp-content/plugins/wordpress-popular-posts/views/admin.php +++ b/wp-content/plugins/wordpress-popular-posts/views/admin.php @@ -53,6 +53,10 @@ if ( isset($_POST['section']) ) { $current = 'tools'; $this->user_settings['tools']['log']['level'] = $_POST['log_option']; + $this->user_settings['tools']['log']['limit'] = $_POST['log_limit']; + $this->user_settings['tools']['log']['expires_after'] = ( $this->__is_numeric($_POST['log_expire_time']) && $_POST['log_expire_time'] > 0 ) + ? $_POST['log_expire_time'] + : $this->default_user_settings['tools']['log']['expires_after']; $this->user_settings['tools']['ajax'] = $_POST['ajax']; // if any of the caching settings was updated, destroy all transients created by the plugin @@ -174,7 +178,7 @@ if (empty($wpp_rand)) { <input type="submit" class="button-secondary action" value="<?php _e("Apply", $this->plugin_slug); ?>" name="" /> <div class="clear"></div> - <label for="stats_freshness"><input type="checkbox" class="checkbox" <?php echo ($this->user_settings['stats']['freshness']) ? 'checked="checked"' : ''; ?> id="stats_freshness" name="stats_freshness" /> <?php _e('Display only posts published within the selected Time Range', 'wordpress-popular-posts'); ?></label> + <label for="stats_freshness"><input type="checkbox" class="checkbox" <?php echo ($this->user_settings['stats']['freshness']) ? 'checked="checked"' : ''; ?> id="stats_freshness" name="stats_freshness" /> <?php _e('Display only posts published within the selected Time Range', $this->plugin_slug); ?></label> </form> </div> </div> @@ -300,6 +304,21 @@ if (empty($wpp_rand)) { <br /> </td> </tr> + <tr valign="top"> + <th scope="row"><label for="log_limit"><?php _e("Log limit", $this->plugin_slug); ?>:</label></th> + <td> + <select name="log_limit" id="log_limit"> + <option <?php if ($this->user_settings['tools']['log']['limit'] == 0) {?>selected="selected"<?php } ?> value="0"><?php _e("Disabled", $this->plugin_slug); ?></option> + <option <?php if ($this->user_settings['tools']['log']['limit'] == 1) {?>selected="selected"<?php } ?> value="1"><?php _e("Keep data for", $this->plugin_slug); ?></option> + </select> + + <label for="log_expire_time"<?php echo ($this->user_settings['tools']['log']['limit'] == 0) ? ' style="display:none;"' : ''; ?>><input type="text" id="log_expire_time" name="log_expire_time" value="<?php echo $this->user_settings['tools']['log']['expires_after']; ?>" size="3" /> <?php _e("day(s)", $this->plugin_slug); ?></label> + + <p class="description"<?php echo ($this->user_settings['tools']['log']['limit'] == 0) ? ' style="display:none;"' : ''; ?>><?php _e("Data from entries that haven't been viewed within the specified time frame will be automatically discarded", $this->plugin_slug); ?>.</p> + + <br<?php echo ($this->user_settings['tools']['log']['limit'] == 1) ? ' style="display:none;"' : ''; ?> /> + </td> + </tr> <tr valign="top"> <th scope="row"><label for="ajax"><?php _e("Ajaxify widget", $this->plugin_slug); ?>:</label></th> <td> @@ -313,7 +332,7 @@ if (empty($wpp_rand)) { </td> </tr> <tr valign="top"> - <th scope="row"><label for="cache"><?php _e("WPP Cache Expiry Policy", $this->plugin_slug); ?>:</label> <small>[<a href="https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#caching" target="_blank" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small></th> + <th scope="row"><label for="cache"><?php _e("WPP Cache Expiry Policy", $this->plugin_slug); ?>:</label> <small>[<a href="https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#caching" target="_blank" title="<?php _e('What is this?', $this->plugin_slug); ?>">?</a>]</small></th> <td> <select name="cache" id="cache"> <option <?php if ( !$this->user_settings['tools']['cache']['active'] ) { ?>selected="selected"<?php } ?> value="0"><?php _e("Never cache", $this->plugin_slug); ?></option> @@ -341,7 +360,7 @@ if (empty($wpp_rand)) { </td> </tr> <tr valign="top"> - <th scope="row"><label for="sampling"><?php _e("Data Sampling", $this->plugin_slug); ?>:</label> <small>[<a href="https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#data-sampling" target="_blank" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small></th> + <th scope="row"><label for="sampling"><?php _e("Data Sampling", $this->plugin_slug); ?>:</label> <small>[<a href="https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance#data-sampling" target="_blank" title="<?php _e('What is this?', $this->plugin_slug); ?>">?</a>]</small></th> <td> <select name="sampling" id="sampling"> <option <?php if ( !$this->user_settings['tools']['sampling']['active'] ) { ?>selected="selected"<?php } ?> value="0"><?php _e("Disabled", $this->plugin_slug); ?></option> @@ -420,7 +439,7 @@ if (empty($wpp_rand)) { <!-- Start params --> <div id="wpp_params" class="wpp_boxes"<?php if ( "params" == $current ) {?> style="display:block;"<?php } ?>> <div> - <p><?php printf( __('With the following parameters you can customize the popular posts list when using either the <a href="%1$s">wpp_get_most_popular() template tag</a> or the <a href="%2$s">[wpp] shortcode</a>.', $this->plugin_slug), + <p><?php printf( __('With the following parameters you can customize the popular posts list when using either the <a href="%1$s">wpp_get_mostpopular() template tag</a> or the <a href="%2$s">[wpp] shortcode</a>.', $this->plugin_slug), admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#template-tags'), admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#shortcode') ); ?></p> @@ -639,43 +658,16 @@ if (empty($wpp_rand)) { <!-- End params --> <!-- Start faq --> - <div id="wpp_faq" class="wpp_boxes"<?php if ( "faq" == $current ) {?> style="display:block;"<?php } ?>> + <div id="wpp_faq" class="wpp_boxes"<?php if ( "faq" == $current ) {?> style="display:block;"<?php } ?>> + + <p><?php echo sprintf( __('These FAQs are widget specific. For more general FAQs about WordPress Popular Posts, please click <a href="%s" target="_blank">here</a>', $this->plugin_slug), 'https://github.com/cabrerahector/wordpress-popular-posts/wiki/5.-FAQ' ); ?>.</p> + <h4 id="widget-title">» <a href="#" rel="q-1"><?php _e('What does "Title" do?', $this->plugin_slug); ?></a></h4> <div class="wpp-ans" id="q-1"> <p><?php _e('It allows you to show a heading for your most popular posts listing. If left empty, no heading will be displayed at all.', $this->plugin_slug); ?></p> </div> - <h4 id="time-range">» <a href="#" rel="q-2"><?php _e('What is Time Range for?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-2"> - <p><?php _e('It will tell WordPress Popular Posts to retrieve all posts with most views / comments within the selected time range.', $this->plugin_slug); ?></p> - </div> - - <h4 id="sorting">» <a href="#" rel="q-3"><?php _e('What is "Sort post by" for?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-3"> - <p><?php _e('It allows you to decide whether to order your popular posts listing by total views, comments, or average views per day.', $this->plugin_slug); ?></p> - </div> - - <h4 id="display-rating">» <a href="#" rel="q-4"><?php _e('What does "Display post rating" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-4"> - <p><?php _e('If checked, WordPress Popular Posts will show how your readers are rating your most popular posts. This feature requires having WP-PostRatings plugin installed and enabled on your blog for it to work.', $this->plugin_slug); ?></p> - </div> - - <h4 id="shorten-title">» <a href="#" rel="q-5"><?php _e('What does "Shorten title" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-5"> - <p><?php _e('If checked, all posts titles will be shortened to "n" characters/words. A new "Shorten title to" option will appear so you can set it to whatever you like.', $this->plugin_slug); ?></p> - </div> - - <h4 id="display-excerpt">» <a href="#" rel="q-6"><?php _e('What does "Display post excerpt" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-6"> - <p><?php _e('If checked, WordPress Popular Posts will also include a small extract of your posts in the list. Similarly to the previous option, you will be able to decide how long the post excerpt should be.', $this->plugin_slug); ?></p> - </div> - - <h4 id="keep-format">» <a href="#" rel="q-7"><?php _e('What does "Keep text format and links" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-7"> - <p><?php _e('If checked, and if the Post Excerpt feature is enabled, WordPress Popular Posts will keep the styling tags (eg. bold, italic, etc) that were found in the excerpt. Hyperlinks will remain intact, too.', $this->plugin_slug); ?></p> - </div> - <h4 id="filter-post-type">» <a href="#" rel="q-8"><?php _e('What is "Post type" for?', $this->plugin_slug); ?></a></h4> <div class="wpp-ans" id="q-8"> <p><?php _e('This filter allows you to decide which post types to show on the listing. By default, it will retrieve only posts and pages (which should be fine for most cases).', $this->plugin_slug); ?></p> @@ -691,84 +683,16 @@ if (empty($wpp_rand)) { <p><?php _e('Just like the Category filter, this one lets you filter posts by author ID. You can specify more than one ID with a comma separated list.', $this->plugin_slug); ?></p> </div> - <h4 id="display-thumb">» <a href="#" rel="q-11"><?php _e('What does "Display post thumbnail" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-11"> - <p><?php _e('If checked, WordPress Popular Posts will attempt to retrieve the thumbnail of each post. You can set up the source of the thumbnail via Settings - WordPress Popular Posts - Tools.', $this->plugin_slug); ?></p> - </div> - - <h4 id="stats-comments">» <a href="#" rel="q-12"><?php _e('What does "Display comment count" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-12"> - <p><?php _e('If checked, WordPress Popular Posts will display how many comments each popular post has got in the selected Time Range.', $this->plugin_slug); ?></p> - </div> - - <h4 id="stats-views">» <a href="#" rel="q-13"><?php _e('What does "Display views" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-13"> - <p><?php _e('If checked, WordPress Popular Posts will show how many pageviews a single post has gotten in the selected Time Range.', $this->plugin_slug); ?></p> - </div> - - <h4 id="stats-author">» <a href="#" rel="q-14"><?php _e('What does "Display author" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-14"> - <p><?php _e('If checked, WordPress Popular Posts will display the name of the author of each entry listed.', $this->plugin_slug); ?></p> - </div> - - <h4 id="stats-date">» <a href="#" rel="q-15"><?php _e('What does "Display date" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-15"> - <p><?php _e('If checked, WordPress Popular Posts will display the date when each popular posts was published.', $this->plugin_slug); ?></p> - </div> - - <h4 id="stats-cat">» <a href="#" rel="q-16"><?php _e('What does "Display category" do?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-16"> - <p><?php _e('If checked, WordPress Popular Posts will display the category of each post.', $this->plugin_slug); ?></p> + <h4 id="display-rating">» <a href="#" rel="q-4"><?php _e('What does "Display post rating" do?', $this->plugin_slug); ?></a></h4> + <div class="wpp-ans" id="q-4"> + <p><?php _e('If checked, WordPress Popular Posts will show how your readers are rating your most popular posts. This feature requires having WP-PostRatings plugin installed and enabled on your blog for it to work.', $this->plugin_slug); ?></p> </div> <h4 id="custom-html-markup">» <a href="#" rel="q-17"><?php _e('What does "Use custom HTML Markup" do?', $this->plugin_slug); ?></a></h4> <div class="wpp-ans" id="q-17"> <p><?php _e('If checked, you will be able to customize the HTML markup of your popular posts listing. For example, you can decide whether to wrap your posts in an unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is for you!', $this->plugin_slug); ?></p> </div> - - <h4>» <a href="#" rel="q-18"><?php _e('What are "Content Tags"?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-18"> - <p><?php echo sprintf( __('Content Tags are codes to display a variety of items on your popular posts custom HTML structure. For example, setting it to "{title}: {summary}" (without the quotes) would display "Post title: excerpt of the post here". For more Content Tags, see the <a href="%s" target="_blank">Parameters</a> section.', $this->plugin_slug), admin_url('options-general.php?page=wordpress-popular-posts&tab=params') ); ?></p> - </div> - - <h4 id="template-tags">» <a href="#" rel="q-19"><?php _e('What are "Template Tags"?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-19"> - <p><?php _e('Template Tags are simply php functions that allow you to perform certain actions. For example, WordPress Popular Posts currently supports two different template tags: wpp_get_mostpopular() and wpp_get_views().', $this->plugin_slug); ?></p> - </div> - - <h4>» <a href="#" rel="q-20"><?php _e('What are the template tags that WordPress Popular Posts supports?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-20"> - <p><?php _e('The following are the template tags supported by WordPress Popular Posts', $this->plugin_slug); ?>:</p> - <table cellspacing="0" class="wp-list-table widefat fixed posts"> - <thead> - <tr> - <th class="manage-column column-title"><?php _e('Template tag', $this->plugin_slug); ?></th> - <th class="manage-column column-title"><?php _e('What it does ', $this->plugin_slug); ?></th> - <th class="manage-column column-title"><?php _e('Parameters', $this->plugin_slug); ?></th> - <th class="manage-column column-title"><?php _e('Example', $this->plugin_slug); ?></th> - </tr> - </thead> - <tbody> - <tr> - <td><strong>wpp_get_mostpopular()</strong></td> - <td><?php printf( __('Similar to the widget functionality, this tag retrieves the most popular posts on your blog. This function also accepts <a href="%1$s">parameters</a> so you can customize your popular listing, but these are not required.', $this->plugin_slug), admin_url('options-general.php?page=wordpress-popular-posts&tab=params') ); ?></td> - <td><?php printf( __('Please refer to the <a href="%1$s">Parameters section</a> for a complete list of attributes.', $this->plugin_slug), admin_url('options-general.php?page=wordpress-popular-posts&tab=params') ); ?></td> - <td><?php wpp_get_mostpopular(); ?><br /><?php wpp_get_mostpopular("range=weekly&limit=7"); ?></td> - </tr> - <tr class="alternate"> - <td><strong>wpp_get_views()</strong></td> - <td><?php _e('Displays the number of views of a single post. Post ID is required or it will return false.', $this->plugin_slug); ?></td> - <td><?php _e('Post ID', $this->plugin_slug); ?>, range ("daily", "weekly", "monthly", "all")</td> - <td><?php echo wpp_get_views($post->ID); ?><br /><?php echo wpp_get_views(15, 'weekly'); ?></td> - </tr> - </tbody> - </table> - </div> - - <h4 id="shortcode">» <a href="#" rel="q-21"><?php _e('What are "shortcodes"?', $this->plugin_slug); ?></a></h4> - <div class="wpp-ans" id="q-21"> - <p><?php echo sprintf( __('Shortcodes are similar to BB Codes, these allow us to call a php function by simply typing something like [shortcode]. With WordPress Popular Posts, the shortcode [wpp] will let you insert a list of the most popular posts in posts content and pages too! For more information about shortcodes, please visit the <a href="%s" target="_blank">WordPress Shortcode API</a> page.', $this->plugin_slug), 'http://codex.wordpress.org/Shortcode_API' ); ?></p> - </div> + </div> <!-- End faq --> @@ -778,15 +702,13 @@ if (empty($wpp_rand)) { <h3><?php echo sprintf( __('About WordPress Popular Posts %s', $this->plugin_slug), $this->version); ?></h3> <p><?php _e( 'This version includes the following changes', $this->plugin_slug ); ?>:</p> - <p><strong>If you're using a caching plugin, flushing its cache after installing / upgrading to this version is strongly recommended.</strong></p> - <ul> - <li>Fixes a potential bug that might affect other plugins & themes (thanks , @<a href="https://github.com/pippinsplugins">pippinsplugins</a>!)</li> - <li>Defines INNODB as default storage engine.</li> - <li>Adds the wpp-no-data CSS class to style the "Sorry, no data so far" message.</li> - <li>Adds a new index to summary table.</li> - <li>Updates plugin's documentation.</li> - <li>Other small bug fixes and improvements.</li> + <li>Fixes warning message: 'stream does not support seeking in...'</li> + <li>Removes excerpt HTML encoding.</li> + <li>Passes widget ID to the instance variable for customization.</li> + <li>Adds CSS class current.</li> + <li>Documentation cleanup.</li> + <li>Other minor bug fixes / improvements.</li> </ul> </div> @@ -804,6 +726,8 @@ if (empty($wpp_rand)) { <p><?php echo sprintf( __('You can <a href="%s" target="_blank">leave a review</a>, too!', $this->plugin_slug), 'https://wordpress.org/support/view/plugin-reviews/wordpress-popular-posts?rate=5#postform' ); ?></p> </div> + <div id="wpp_advertisement" class="wpp_box" style=""></div> + <div id="wpp_support" class="wpp_box" style=""> <h3 style="margin-top:0; text-align:center;"><?php _e('Need help?', $this->plugin_slug); ?></h3> <p><?php echo sprintf( __('Visit <a href="%s" target="_blank">the forum</a> for support, questions and feedback.', $this->plugin_slug), 'https://wordpress.org/support/plugin/wordpress-popular-posts' ); ?></p> diff --git a/wp-content/plugins/wordpress-popular-posts/views/form.php b/wp-content/plugins/wordpress-popular-posts/views/form.php index 30134e085343f047bd2d6d22553f8e1184e93a24..ed07c45ce2b4ee4d789f9f2695493f362e6e15d3 100644 --- a/wp-content/plugins/wordpress-popular-posts/views/form.php +++ b/wp-content/plugins/wordpress-popular-posts/views/form.php @@ -1,5 +1,5 @@ <p> - <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#widget-title'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> <br /> + <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e('Title', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#widget-title'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small> <br /> <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" /> </p> @@ -9,7 +9,7 @@ </p> <p> - <label for="<?php echo $this->get_field_id( 'order_by' ); ?>"><?php _e('Sort posts by', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#sorting'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> <br /> + <label for="<?php echo $this->get_field_id( 'order_by' ); ?>"><?php _e('Sort posts by', 'wordpress-popular-posts'); ?>:</label><br /> <select id="<?php echo $this->get_field_id( 'order_by' ); ?>" name="<?php echo $this->get_field_name( 'order_by' ); ?>" class="widefat"> <option value="comments" <?php if ( 'comments' == $instance['order_by'] ) echo 'selected="selected"'; ?>><?php _e('Comments', 'wordpress-popular-posts'); ?></option> <option value="views" <?php if ( 'views' == $instance['order_by'] ) echo 'selected="selected"'; ?>><?php _e('Total views', 'wordpress-popular-posts'); ?></option> @@ -21,7 +21,7 @@ <legend><strong><?php _e('Filters', 'wordpress-popular-posts'); ?></strong></legend><br /> -<label for="<?php echo $this->get_field_id( 'range' ); ?>"><?php _e('Time Range', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#time-range'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<label for="<?php echo $this->get_field_id( 'range' ); ?>"><?php _e('Time Range', 'wordpress-popular-posts'); ?>:</label><br /> <select id="<?php echo $this->get_field_id( 'range' ); ?>" name="<?php echo $this->get_field_name( 'range' ); ?>" class="widefat" style="margin-bottom:5px;"> <option value="daily" <?php if ( 'daily' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('Last 24 hours', 'wordpress-popular-posts'); ?></option> <option value="weekly" <?php if ( 'weekly' == $instance['range'] ) echo 'selected="selected"'; ?>><?php _e('Last 7 days', 'wordpress-popular-posts'); ?></option> @@ -31,16 +31,16 @@ <input type="checkbox" class="checkbox" <?php echo ($instance['freshness']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'freshness' ); ?>" name="<?php echo $this->get_field_name( 'freshness' ); ?>" /> <label for="<?php echo $this->get_field_id( 'freshness' ); ?>"><small><?php _e('Display only posts published within the selected Time Range', 'wordpress-popular-posts'); ?></small></label><br /><br /> -<label for="<?php echo $this->get_field_id( 'post_type' ); ?>"><?php _e('Post type(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-post-type'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> +<label for="<?php echo $this->get_field_id( 'post_type' ); ?>"><?php _e('Post type(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-post-type'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small> <input type="text" id="<?php echo $this->get_field_id( 'post_type' ); ?>" name="<?php echo $this->get_field_name( 'post_type' ); ?>" value="<?php echo $instance['post_type']; ?>" class="widefat" /><br /><br /> <label for="<?php echo $this->get_field_id( 'pid' ); ?>"><?php _e('Post(s) ID(s) to exclude', 'wordpress-popular-posts'); ?>:</label> <input type="text" id="<?php echo $this->get_field_id( 'pid' ); ?>" name="<?php echo $this->get_field_name( 'pid' ); ?>" value="<?php echo $instance['pid']; ?>" class="widefat" /><br /><br /> -<label for="<?php echo $this->get_field_id( 'cat' ); ?>"><?php _e('Category(ies) ID(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-category'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> +<label for="<?php echo $this->get_field_id( 'cat' ); ?>"><?php _e('Category(ies) ID(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-category'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small> <input type="text" id="<?php echo $this->get_field_id( 'cat' ); ?>" name="<?php echo $this->get_field_name( 'cat' ); ?>" value="<?php echo $instance['cat']; ?>" class="widefat" /><br /><br /> -<label for="<?php echo $this->get_field_id( 'uid' ); ?>"><?php _e('Author(s) ID(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-author'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> +<label for="<?php echo $this->get_field_id( 'uid' ); ?>"><?php _e('Author(s) ID(s)', 'wordpress-popular-posts'); ?>:</label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#filter-author'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small> <input type="text" id="<?php echo $this->get_field_id( 'uid' ); ?>" name="<?php echo $this->get_field_name( 'uid' ); ?>" value="<?php echo $instance['author']; ?>" class="widefat" /><br /><br /> <br /><hr /><br /> @@ -49,10 +49,10 @@ <br /> <div style="display:<?php if ( function_exists('the_ratings_results') ) : ?>block<?php else: ?>none<?php endif; ?>;"> - <input type="checkbox" class="checkbox" <?php echo ($instance['rating']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'rating' ); ?>" name="<?php echo $this->get_field_name( 'rating' ); ?>" /> <label for="<?php echo $this->get_field_id( 'rating' ); ?>"><?php _e('Display post rating', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#display-rating'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> + <input type="checkbox" class="checkbox" <?php echo ($instance['rating']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'rating' ); ?>" name="<?php echo $this->get_field_name( 'rating' ); ?>" /> <label for="<?php echo $this->get_field_id( 'rating' ); ?>"><?php _e('Display post rating', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#display-rating'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small> </div> -<input type="checkbox" class="checkbox" <?php echo ($instance['shorten_title']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>" name="<?php echo $this->get_field_name( 'shorten_title-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>"><?php _e('Shorten title', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#shorten-title'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['shorten_title']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>" name="<?php echo $this->get_field_name( 'shorten_title-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'shorten_title-active' ); ?>"><?php _e('Shorten title', 'wordpress-popular-posts'); ?></label><br /> <div style="display:<?php if ($instance['shorten_title']['active']) : ?>block<?php else: ?>none<?php endif; ?>; width:90%; margin:10px 0; padding:3% 5%; background:#f5f5f5;"> <label for="<?php echo $this->get_field_id( 'shorten_title-length' ); ?>"><?php _e('Shorten title to', 'wordpress-popular-posts'); ?> <input type="text" id="<?php echo $this->get_field_id( 'shorten_title-length' ); ?>" name="<?php echo $this->get_field_name( 'shorten_title-length' ); ?>" value="<?php echo $instance['shorten_title']['length']; ?>" class="widefat" style="width:50px!important" /></label><br /> @@ -60,20 +60,20 @@ <label for="<?php echo $this->get_field_id( 'shorten_title-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'shorten_title-words' ); ?>" value="1" <?php echo (isset($instance['shorten_title']['words']) && $instance['shorten_title']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('words', 'wordpress-popular-posts'); ?></label> </div> -<input type="checkbox" class="checkbox" <?php echo ($instance['post-excerpt']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>"><?php _e('Display post excerpt', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#display-excerpt'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['post-excerpt']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'post-excerpt-active' ); ?>"><?php _e('Display post excerpt', 'wordpress-popular-posts'); ?></label><br /> <div style="display:<?php if ($instance['post-excerpt']['active']) : ?>block<?php else: ?>none<?php endif; ?>; width:90%; margin:10px 0; padding:3% 5%; background:#f5f5f5;"> - <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-format' ); ?>" <?php echo ($instance['post-excerpt']['keep_format']) ? 'checked="checked"' : ''; ?> /> <label for="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>"><?php _e('Keep text format and links', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#keep-format'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /><br /> + <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-format' ); ?>" <?php echo ($instance['post-excerpt']['keep_format']) ? 'checked="checked"' : ''; ?> /> <label for="<?php echo $this->get_field_id( 'post-excerpt-format' ); ?>"><?php _e('Keep text format and links', 'wordpress-popular-posts'); ?></label><br /><br /> <label for="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>"><?php _e('Excerpt length', 'wordpress-popular-posts'); ?>: <input type="text" id="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>" name="<?php echo $this->get_field_name( 'post-excerpt-length' ); ?>" value="<?php echo $instance['post-excerpt']['length']; ?>" class="widefat" style="width:50px!important" /></label><br /> - <label for="<?php echo $this->get_field_id( 'post-excerpt-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="0" <?php echo (!isset($instance['post-excerpt']['words']) || !$instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('characters', 'wordpress-popular-posts'); ?></label><br /> - <label for="<?php echo $this->get_field_id( 'post-excerpt-words' ); ?>"><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="1" <?php echo (isset($instance['post-excerpt']['words']) && $instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('words', 'wordpress-popular-posts'); ?></label> + <label><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="0" <?php echo (!isset($instance['post-excerpt']['words']) || !$instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('characters', 'wordpress-popular-posts'); ?></label><br /> + <label><input type="radio" name="<?php echo $this->get_field_name( 'post-excerpt-words' ); ?>" value="1" <?php echo (isset($instance['post-excerpt']['words']) && $instance['post-excerpt']['words']) ? 'checked="checked"' : ''; ?> /> <?php _e('words', 'wordpress-popular-posts'); ?></label> </div> -<input type="checkbox" class="checkbox" <?php echo ($instance['thumbnail']['active'] && $this->thumbnailing) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>"><?php _e('Display post thumbnail', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#display-thumb'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small> +<input type="checkbox" class="checkbox" <?php echo ($instance['thumbnail']['active'] && $this->thumbnailing) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'thumbnail-active' ); ?>"><?php _e('Display post thumbnail', 'wordpress-popular-posts'); ?></label> <div style="display:<?php if ($instance['thumbnail']['active']) : ?>block<?php else: ?>none<?php endif; ?>; width:90%; margin:10px 0; padding:3% 5%; background:#f5f5f5;"> - <label><input type='radio' id='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' name='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' value='predefined' <?php echo ($instance['thumbnail']['build'] == 'predefined') ? 'checked="checked"' : ''; ?> /><?php _e('Use predefined size', 'wordpress-popular-posts'); ?></label><br /> + <label><input type='radio' id='thumbnail-predefined-size' name='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' value='predefined' <?php echo ($instance['thumbnail']['build'] == 'predefined') ? 'checked="checked"' : ''; ?> /><?php _e('Use predefined size', 'wordpress-popular-posts'); ?></label><br /> <select id="<?php echo $this->get_field_id( 'thumbnail-size' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-size' ); ?>" class="widefat" style="margin:5px 0;"> <?php @@ -85,7 +85,7 @@ <hr /> - <label><input type='radio' id='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' name='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' value='manual' <?php echo ($instance['thumbnail']['build'] == 'manual') ? 'checked="checked"' : ''; ?> /><?php _e('Set size manually', 'wordpress-popular-posts'); ?></label><br /> + <label><input type='radio' id='thumbnail-manual-size' name='<?php echo $this->get_field_name( 'thumbnail-size-source' ); ?>' value='manual' <?php echo ($instance['thumbnail']['build'] == 'manual') ? 'checked="checked"' : ''; ?> /><?php _e('Set size manually', 'wordpress-popular-posts'); ?></label><br /> <label for="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>"><?php _e('Width', 'wordpress-popular-posts'); ?>:</label> <input type="text" id="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-width' ); ?>" value="<?php echo $instance['thumbnail']['width']; ?>" class="widefat" style="margin:3px 0; width:50px!important" <?php echo ($this->thumbnailing) ? '' : 'disabled="disabled"' ?> /> px<br /> @@ -98,13 +98,13 @@ <legend><strong><?php _e('Stats Tag settings', 'wordpress-popular-posts'); ?></strong></legend><br /> -<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['comment_count']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'comment_count' ); ?>" name="<?php echo $this->get_field_name( 'comment_count' ); ?>" /> <label for="<?php echo $this->get_field_id( 'comment_count' ); ?>"><?php _e('Display comment count', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#stats-comments'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['comment_count']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'comment_count' ); ?>" name="<?php echo $this->get_field_name( 'comment_count' ); ?>" /> <label for="<?php echo $this->get_field_id( 'comment_count' ); ?>"><?php _e('Display comment count', 'wordpress-popular-posts'); ?></label><br /> -<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['views']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'views' ); ?>" name="<?php echo $this->get_field_name( 'views' ); ?>" /> <label for="<?php echo $this->get_field_id( 'views' ); ?>"><?php _e('Display views', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#stats-views'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['views']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'views' ); ?>" name="<?php echo $this->get_field_name( 'views' ); ?>" /> <label for="<?php echo $this->get_field_id( 'views' ); ?>"><?php _e('Display views', 'wordpress-popular-posts'); ?></label><br /> -<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['author']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'author' ); ?>" name="<?php echo $this->get_field_name( 'author' ); ?>" /> <label for="<?php echo $this->get_field_id( 'author' ); ?>"><?php _e('Display author', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#stats-author'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['author']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'author' ); ?>" name="<?php echo $this->get_field_name( 'author' ); ?>" /> <label for="<?php echo $this->get_field_id( 'author' ); ?>"><?php _e('Display author', 'wordpress-popular-posts'); ?></label><br /> -<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['date']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'date' ); ?>" name="<?php echo $this->get_field_name( 'date' ); ?>" /> <label for="<?php echo $this->get_field_id( 'date' ); ?>"><?php _e('Display date', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#stats-date'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['date']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'date' ); ?>" name="<?php echo $this->get_field_name( 'date' ); ?>" /> <label for="<?php echo $this->get_field_id( 'date' ); ?>"><?php _e('Display date', 'wordpress-popular-posts'); ?></label><br /> <div style="display:<?php if ($instance['stats_tag']['date']['active']) : ?>block<?php else: ?>none<?php endif; ?>; width:90%; margin:10px 0; padding:3% 5%; background:#f5f5f5;"> <legend><strong><?php _e('Date Format', 'wordpress-popular-posts'); ?></strong></legend><br /> @@ -116,13 +116,13 @@ <label title='d/m/Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='d/m/Y' <?php echo ($instance['stats_tag']['date']['format'] == 'd/m/Y') ? 'checked="checked"' : ''; ?> /><?php echo date_i18n('d/m/Y', time()); ?></label> </div> -<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['category']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'category' ); ?>" name="<?php echo $this->get_field_name( 'category' ); ?>" /> <label for="<?php echo $this->get_field_id( 'category' ); ?>"><?php _e('Display category', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#stats-cat'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['category']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'category' ); ?>" name="<?php echo $this->get_field_name( 'category' ); ?>" /> <label for="<?php echo $this->get_field_id( 'category' ); ?>"><?php _e('Display category', 'wordpress-popular-posts'); ?></label><br /> <br /><hr /><br /> <legend><strong><?php _e('HTML Markup settings', 'wordpress-popular-posts'); ?></strong></legend><br /> -<input type="checkbox" class="checkbox" <?php echo ($instance['markup']['custom_html']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'custom_html' ); ?>" name="<?php echo $this->get_field_name( 'custom_html' ); ?>" /> <label for="<?php echo $this->get_field_id( 'custom_html' ); ?>"><?php _e('Use custom HTML Markup', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#custom-html-markup'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>">?</a>]</small><br /> +<input type="checkbox" class="checkbox" <?php echo ($instance['markup']['custom_html']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'custom_html' ); ?>" name="<?php echo $this->get_field_name( 'custom_html' ); ?>" /> <label for="<?php echo $this->get_field_id( 'custom_html' ); ?>"><?php _e('Use custom HTML Markup', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo admin_url('options-general.php?page=wordpress-popular-posts&tab=faq#custom-html-markup'); ?>" title="<?php _e('What is this?', 'wordpress-popular-posts'); ?>" target="_blank">?</a>]</small><br /> <div style="display:<?php if ($instance['markup']['custom_html']) : ?>block<?php else: ?>none<?php endif; ?>; width:90%; margin:10px 0; padding:3% 5%; background:#f5f5f5;"> <p style="font-size:11px"><label for="<?php echo $this->get_field_id( 'title-start' ); ?>"><?php _e('Before / after title', 'wordpress-popular-posts'); ?>:</label> <br /> diff --git a/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php b/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php index 20dd124de69f01c0c6c772e9622250f3d894630f..c3ea6a5187db6d308668f8c7957d892d553ceb17 100644 --- a/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php +++ b/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php @@ -3,7 +3,7 @@ Plugin Name: WordPress Popular Posts Plugin URI: http://wordpress.org/extend/plugins/wordpress-popular-posts Description: WordPress Popular Posts is a highly customizable widget that displays the most popular posts on your blog -Version: 3.2.3 +Version: 3.3.2 Author: Hector Cabrera Author URI: http://cabrerahector.com Author Email: hcabrerab@gmail.com @@ -61,7 +61,7 @@ if ( !class_exists('WordpressPopularPosts') ) { * @since 1.3.0 * @var string */ - private $version = '3.2.3'; + private $version = '3.3.2'; /** * Plugin identifier. @@ -235,7 +235,9 @@ if ( !class_exists('WordpressPopularPosts') ) { 'responsive' => false ), 'log' => array( - 'level' => 1 + 'level' => 1, + 'limit' => 0, + 'expires_after' => 180 ), 'cache' => array( 'active' => false, @@ -398,16 +400,29 @@ if ( !class_exists('WordpressPopularPosts') ) { // Add shortcode add_shortcode('wpp', array(&$this, 'shortcode')); + + // Purge post data from DB on deletion + add_action( 'admin_init', array($this, 'purge_post_init') ); // Enable data purging at midnight - add_action( 'wpp_cache_event', array($this, 'purge_data') ); - if ( !wp_next_scheduled('wpp_cache_event') ) { - $tomorrow = time() + 86400; - $midnight = mktime(0, 0, 0, - date("m", $tomorrow), - date("d", $tomorrow), - date("Y", $tomorrow)); - wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' ); + if ( 1 == $this->user_settings['tools']['log']['limit'] ) { + + add_action( 'wpp_cache_event', array($this, 'purge_data') ); + if ( !wp_next_scheduled('wpp_cache_event') ) { + $tomorrow = time() + 86400; + $midnight = mktime(0, 0, 0, + date("m", $tomorrow), + date("d", $tomorrow), + date("Y", $tomorrow)); + wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' ); + } + + } else { + // Remove the scheduled event if exists + if ( $timestamp = wp_next_scheduled('wpp_cache_event') ) { + wp_unschedule_event( $timestamp, 'wpp_cache_event' ); + } + } } // end constructor @@ -675,7 +690,7 @@ if ( !class_exists('WordpressPopularPosts') ) { wp_enqueue_script( 'thickbox' ); wp_enqueue_style( 'thickbox' ); wp_enqueue_script( 'media-upload' ); - wp_enqueue_script( $this->plugin_slug .'-admin-script', plugins_url( 'js/admin.js', __FILE__ ), array('jquery'), $this->version ); + wp_enqueue_script( $this->plugin_slug .'-admin-script', plugins_url( 'js/admin.js', __FILE__ ), array('jquery'), $this->version, true ); } } // end register_admin_scripts @@ -986,14 +1001,12 @@ if ( !class_exists('WordpressPopularPosts') ) { $result = $wpdb->query( $sql ); - // Rename old caching table - if ( $result ) { - $result = $wpdb->query( "RENAME TABLE {$prefix}datacache TO {$prefix}datacache_backup;" ); - } - } } + + // Deletes old caching tables, if found + $wpdb->query( "DROP TABLE IF EXISTS {$prefix}datacache, {$prefix}datacache_backup;" ); // Check storage engine $storage_engine_data = $wpdb->get_var("SELECT `ENGINE` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA`='{$wpdb->dbname}' AND `TABLE_NAME`='{$prefix}data';"); @@ -1124,26 +1137,50 @@ if ( !class_exists('WordpressPopularPosts') ) { /*--------------------------------------------------*/ /** - * Purges deleted posts from data/summary tables. + * Purges post from data/summary tables. * - * @since 2.0.0 + * @since 3.3.0 + */ + public function purge_post_init() { + + if ( current_user_can( 'delete_posts' ) ) + add_action( 'delete_post', array( $this, 'purge_post' ), 10 ); + + } // end purge_post_init + + /** + * Purges post from data/summary tables. + * + * @since 3.3.0 * @global object $wpdb + * @return bool */ - public function purge_data() { + public function purge_post( $pID ) { global $wpdb; - if ( $missing = $wpdb->get_results( "SELECT v.postid AS id FROM {$wpdb->prefix}popularpostsdata v WHERE NOT EXISTS (SELECT p.ID FROM {$wpdb->posts} p WHERE v.postid = p.ID);" ) ) { - $to_be_deleted = ''; + if ( $wpdb->get_var( $wpdb->prepare( "SELECT postid FROM {$wpdb->prefix}popularpostsdata WHERE postid = %d", $pID ) ) ) { + // Delete from data table + $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostsdata WHERE postid = %d;", $pID ) ); + // Delete from summary table + $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE postid = %d;", $pID ) ); + } + + return true; + + } // end purge_post - foreach ( $missing as $deleted ) - $to_be_deleted .= $deleted->id . ","; + /** + * Purges old post data from summary table. + * + * @since 2.0.0 + * @global object $wpdb + */ + public function purge_data() { - $to_be_deleted = rtrim( $to_be_deleted, "," ); + global $wpdb; - $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostsdata WHERE postid IN({$to_be_deleted});" ); - $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE postid IN({$to_be_deleted});" ); - } + $wpdb->query( "DELETE FROM {$wpdb->prefix}popularpostssummary WHERE view_date < DATE_SUB('{$this->__curdate()}', INTERVAL {$this->user_settings['tools']['log']['expires_after']} DAY);" ); } // end purge_data @@ -1268,7 +1305,7 @@ if ( !class_exists('WordpressPopularPosts') ) { */ public function print_ajax(){ - if ( $this->current_post_id ) { + if ( 0 != $this->current_post_id ) { ?> <!-- WordPress Popular Posts v<?php echo $this->version; ?> --> <script type="text/javascript">//<![CDATA[ @@ -1357,7 +1394,12 @@ if ( !class_exists('WordpressPopularPosts') ) { // WPML support, get original post/page ID if ( defined('ICL_LANGUAGE_CODE') && function_exists('icl_object_id') ) { global $sitepress; - $id = icl_object_id( $id, get_post_type( $id ), true, $sitepress->get_default_language() ); + if ( isset( $sitepress )) { // avoids a fatal error with Polylang + $id = icl_object_id( $id, get_post_type( $id ), true, $sitepress->get_default_language() ); + } + else if ( function_exists( 'pll_default_language' ) ) { // adds Polylang support + $id = icl_object_id( $id, get_post_type( $id ), true, pll_default_language() ); + } } $now = $this->__now(); @@ -1479,6 +1521,7 @@ if ( !class_exists('WordpressPopularPosts') ) { if ( count($types) > 1 ) { foreach ( $types as $post_type ) { + $post_type = trim($post_type); // required in case user places whitespace between commas $sql_post_types .= "'{$post_type}',"; } @@ -1701,6 +1744,10 @@ if ( !class_exists('WordpressPopularPosts') ) { $this->defaults, $instance ); + + // Pass the widget ID, might come in handy + if ( isset($this->id) ) + $instance['widget_id'] = $this->id; $content = ""; @@ -1768,7 +1815,7 @@ if ( !class_exists('WordpressPopularPosts') ) { // No posts to show if ( !is_array($mostpopular) || empty($mostpopular) ) { - return "<p class=\"wpp-no-data\">".__('Sorry. No data so far.', $this->plugin_slug)."</p>"; + return apply_filters( 'wpp_no_data', "<p class=\"wpp-no-data\">" . __('Sorry. No data so far.', $this->plugin_slug) . "</p>" ); } // Allow WP themers / coders access to raw data @@ -1869,7 +1916,7 @@ if ( !class_exists('WordpressPopularPosts') ) { : ''; $content = - '<li>' + '<li' . ( ( $this->current_post_id == $p->id ) ? ' class="current"' : '' ) . '>' . $thumb . '<a ' . ( ( $this->current_post_id == $p->id ) ? '' : 'href="' . $permalink . '"' ) . ' title="' . esc_attr($title) . '" class="wpp-post-title" target="' . $this->user_settings['tools']['link']['target'] . '">' . $title_sub . '</a> ' . $excerpt . $_stats @@ -2483,33 +2530,36 @@ if ( !class_exists('WordpressPopularPosts') ) { /** @var wpdb $wpdb */ global $wpdb; + + if ( $content = $wpdb->get_var( "SELECT post_content FROM {$wpdb->posts} WHERE ID = {$id};" ) ) { - $content = $wpdb->get_results("SELECT post_content FROM {$wpdb->posts} WHERE ID = " . $id, ARRAY_A); - $count = substr_count($content[0]['post_content'], '<img'); - - // images have been found - // TODO: try to merge these conditions into one IF. - if ($count > 0) { - - preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $content[0]['post_content'], $content_images); - - if (isset($content_images[1][0])) { - $attachment_id = $this->__get_attachment_id($content_images[1][0]); - - // image from Media Library - if ($attachment_id) { - $file_path = get_attached_file($attachment_id); - // There's a file path, so return it - if ( !empty($file_path) ) - return $file_path; - } // external image? - else { - $external_image = $this->__fetch_external_image($id, $content_images[1][0]); - if ( $external_image ) { - return $external_image; + // at least one image has been found + if ( preg_match( '/<img[^>]+>/i', $content, $img ) ) { + + // get img src attribute from the first image found + preg_match( '/(src)="([^"]*)"/i', $img[0], $src_attr ); + + if ( isset($src_attr[2]) && !empty($src_attr[2]) ) { + + // image from Media Library + if ( $attachment_id = $this->__get_attachment_id( $src_attr[2] ) ) { + + $file_path = get_attached_file($attachment_id); + + // There's a file path, so return it + if ( !empty($file_path) ) { + return $file_path; + } + + } // external image? + else { + return $this->__fetch_external_image($id, $src_attr[2]); } + } + } + } } @@ -2536,6 +2586,10 @@ if ( !class_exists('WordpressPopularPosts') ) { if ($error) { $msg = '<!-- ' . $error . ' --> '; } + + if ( is_ssl() ) { + $src = str_ireplace( "http://", "https://", $src ); + } return apply_filters( 'wpp_render_image', $msg . '<img src="' . $src . '" ' . ( false == $this->user_settings['tools']['thumbnail']['responsive'] ? 'width=' . $dimension[0] . ' height=' . $dimension[1] : '' ) . ' title="' . esc_attr($title) . '" alt="' . esc_attr($title) . '" class="' . $class . '" />' ); @@ -2600,29 +2654,38 @@ if ( !class_exists('WordpressPopularPosts') ) { if ( !is_wp_error($response) && in_array(wp_remote_retrieve_response_code($response), $accepted_status_codes) ) { - if ( function_exists('exif_imagetype') ) { - $image_type = exif_imagetype( $url ); - } else { - $image_type = getimagesize( $url ); - $image_type = ( isset($image_type[2]) ) ? $image_type[2] : NULL; - } - - if ( in_array($image_type, array(IMAGETYPE_GIF, IMAGETYPE_JPEG, IMAGETYPE_PNG)) ) { - require_once( ABSPATH . 'wp-admin/includes/file.php' ); - - $url = str_replace( 'https://', 'http://', $url ); - $tmp = download_url( $url ); - - // move file to Uploads - if ( !is_wp_error( $tmp ) && rename($tmp, $full_image_path) ) { - // borrowed from WP - set correct file permissions - $stat = stat( dirname( $full_image_path )); - $perms = $stat['mode'] & 0000644; - @chmod( $full_image_path, $perms ); - - return $full_image_path; + require_once( ABSPATH . 'wp-admin/includes/file.php' ); + $url = str_replace( 'https://', 'http://', $url ); + $tmp = download_url( $url ); + + if ( !is_wp_error( $tmp ) ) { + + if ( function_exists('exif_imagetype') ) { + $image_type = exif_imagetype( $tmp ); + } else { + $image_type = getimagesize( $tmp ); + $image_type = ( isset($image_type[2]) ) ? $image_type[2] : NULL; } + + if ( in_array($image_type, array(IMAGETYPE_GIF, IMAGETYPE_JPEG, IMAGETYPE_PNG)) ) { + + // move file to Uploads + if ( @rename($tmp, $full_image_path) ) { + // borrowed from WP - set correct file permissions + $stat = stat( dirname( $full_image_path )); + $perms = $stat['mode'] & 0000644; + @chmod( $full_image_path, $perms ); + + return $full_image_path; + } + + } + + // remove temp file + @unlink( $tmp ); + } + } return false; @@ -2885,20 +2948,12 @@ if ( !class_exists('WordpressPopularPosts') ) { $string = str_replace( "{stats}", $data['stats'], $string ); } - if ( in_array("{excerpt}", $matches[0]) ) { - $string = str_replace( "{excerpt}", htmlentities($data['summary'], ENT_QUOTES, $this->charset), $string ); - } - - if ( in_array("{summary}", $matches[0]) ) { - $string = str_replace( "{summary}", htmlentities($data['summary'], ENT_QUOTES, $this->charset), $string ); - } - - if ( in_array("{image}", $matches[0]) ) { - $string = str_replace( "{image}", $data['img'], $string ); + if ( in_array("{excerpt}", $matches[0]) || in_array("{summary}", $matches[0]) ) { + $string = str_replace( array("{excerpt}", "{summary}"), $data['summary'], $string ); } - if ( in_array("{thumb}", $matches[0]) ) { - $string = str_replace( "{thumb}", $data['img'], $string ); + if ( in_array("{image}", $matches[0]) || in_array("{thumb}", $matches[0]) ) { + $string = str_replace( array("{image}", "{thumb}"), $data['img'], $string ); } if ( in_array("{thumb_img}", $matches[0]) ) {