Commit eb7f81fc authored by lucha's avatar lucha

[auto] Plugin: wordpress-popular-posts 3.3.2

parent 226dcd72
(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) {
......
......@@ -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;
......
......@@ -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;
......
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 &gt; 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 &gt; Editor. On \"Theme Files\", click on <code>header.php</code> and make sure that the <code>&lt;?php wp_head(); ?&gt;</code> tag is present (should be right before the closing <code>&lt;/head&gt;</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-&amp;-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 &gt; WordPress Popular Posts &gt; 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 &amp; 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment