Plugin Directory

Changeset 224824


Ignore:
Timestamp:
04/03/2010 03:30:20 PM (16 years ago)
Author:
Ikki24
Message:

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.
Location:
wordpress-popular-posts
Files:
25 added
7 edited

Legend:

Unmodified
Added
Removed
  • wordpress-popular-posts/trunk/maintenance.php

    r196906 r224824  
    11<?php
     2    if (basename($_SERVER['SCRIPT_NAME']) == basename(__FILE__)) exit('Please do not load this page directly');
     3   
    24    $rand = md5(uniqid(rand(), true));
    35   
     
    7072   
    7173</script>
    72 <div id="wpp_wrapper">
     74<div class="wrap">
     75    <div id="icon-options-general" class="icon32"><br /></div>
    7376    <h2 id="wmpp-title">Wordpress Popular Posts</h2>
    7477   
     
    302305                        </tr>
    303306                        <tr>
     307                            <td><strong>stats_date_format</strong></td>
     308                            <td><?php _e('Sets the date format', 'wordpress-popular-posts'); ?></td>
     309                            <td><?php _e('Text string', 'wordpress-popular-posts'); ?></td>
     310                            <td align="center">0</td>
     311                            <td>stats_date_format='F j, Y'</td>
     312                        </tr>
     313                        <tr>
    304314                            <td><strong>wpp_start</strong></td>
    305315                            <td><?php _e('Sets the opening tag for the listing', 'wordpress-popular-posts'); ?></td>
     
    352362                <table cellpadding="5" cellspacing="1">
    353363                    <tr>
    354                         <td valign="top" width="140"><input type="button" name="wpp-reset-cache" id="wpp-reset-cache" value="<?php _e("Empty cache", "wordpress-popular-posts"); ?>" onclick="confirm_reset_cache()" /></td>
    355                         <td><label for="wpp-reset-cache"><small><?php _e('Use this button to manually clear entries from WPP cache only'); ?></small></label></td>
     364                        <td valign="top" width="140"><input type="button" name="wpp-reset-cache" id="wpp-reset-cache" class="button-secondary" value="<?php _e("Empty cache", "wordpress-popular-posts"); ?>" onclick="confirm_reset_cache()" /></td>
     365                        <td><label for="wpp-reset-cache"><small><?php _e('Use this button to manually clear entries from WPP cache only', 'wordpress-popular-posts'); ?></small></label></td>
    356366                    </tr>
    357367                    <tr>
     
    359369                    </tr>
    360370                    <tr>
    361                         <td valign="top"><input type="button" name="wpp-reset-all" id="wpp-reset-all" value="<?php _e("Clear all data", "wordpress-popular-posts"); ?>" onclick="confirm_reset_all()" /></td>
    362                         <td><label for="wpp-reset-all"><small><?php _e('Use this button to manually clear entries from all WPP data tables'); ?></small></label></td>
     371                        <td valign="top"><input type="button" name="wpp-reset-all" id="wpp-reset-all" class="button-secondary" value="<?php _e("Clear all data", "wordpress-popular-posts"); ?>" onclick="confirm_reset_all()" /></td>
     372                        <td><label for="wpp-reset-all"><small><?php _e('Use this button to manually clear entries from all WPP data tables', 'wordpress-popular-posts'); ?></small></label></td>
    363373                    </tr>
    364374                </table>
  • wordpress-popular-posts/trunk/readme.txt

    r196906 r224824  
    44Tags: popular, posts, widget, seo, wordpress
    55Requires at least: 2.8
    6 Tested up to: 2.9.1
    7 Stable tag: 2.0.2
     6Tested up to: 2.9.2
     7Stable tag: 2.0.3
    88
    99With Wordpress Popular Posts, you can show your visitors what are the most popular entries on your blog.
     
    1111== Description ==
    1212
    13 Wordpress Popular Posts  is a sidebar widget that displays the most popular posts on your blog. You can use it as a template tag, too!
     13Wordpress Popular Posts is a highly customizable sidebar widget that displays the most popular posts on your blog. You can use it as a template tag, too!
    1414
    1515**IMPORTANT ANNOUNCEMENT:** from **version 2.0** and on, **Wordpress Popular Posts** requires at least **Wordpress 2.8** in order to function correctly. If you are not running Wordpress 2.8 or can't update your blog right now, please don't upgrade to/install version 2.x!
     
    1919**What's new**
    2020
     21* From version 2.0.3 and on, Wordpress Popular Posts will include a **Dashboard panel** where you can monitor what are the most popular posts on your site directly from your wp-admin area!
    2122* Wordpress Popular Posts is now **multi-widget** capable! Install multiple instances of Wordpress Popular Posts on your sidebars, each with its own unique settings!
    2223* **Shortcode support!** - from version 2.0, you can showcase your most popular posts on pages, too!
    23 * **[WP-Cache](http://wordpress.org/extend/plugins/wp-cache/)** and **[WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)** are now supported! From version 2.0 and on, Wordpress Popular Posts is fully compatible with **caching plugins**!
     24* From version 2.0.0 and on, Wordpress Popular Posts is **fully compatible with caching plugins** such as [WP-Cache](http://wordpress.org/extend/plugins/wp-cache/) and [WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)!
    2425* **Category exclusion** - Want to exclude certain categories from the listing? Use the *Exclude Category* option!
    25 * **[WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/)** support added!  Show your visitors how your readers are rating your posts!
    26 * **Database improvements** - Wordpress Popular Posts will now use a lot less space to cache your most popular posts!
    27 * **Template tags** - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the **get_mostpopular()** template tag. Additionally, a *new* tag has been included on this release: **wpp_gets_views()**. For usage and instructions, please refer to the [instalation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/).
    28 * Use **your own layout**! Control how your most popular posts are shown on your templates.
    29 * You can now include a **thumbnail** of your posts! (*see the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for technical requirements*)
     26* **Automatic maintenance** - Wordpress Popular Posts will wipe out from its cache automatically all those posts that have not been viewed more than 30 days from the current date, keeping the popular ones on the list! This ensures that your cache table will remain as compact as possible! (You can also clear it manually if you like, [look here for instructions](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/)!).
     27* **Template tags** - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the **wpp_get_mostpopular()** template tag. Additionally, a *new* tag has been included on this release: **wpp_gets_views()**. For usage and instructions, please refer to the [instalation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/).
    3028
    3129**Other features**
    3230
    33 * Post excerpts feature is also available!
    34 * *Wordpress Popular Posts is localized*! Languages included on this release: *English* (default) and *Spanish*. Wanna help with translations? See the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for more!
     31* Use **your own layout**! Control how your most popular posts are shown on your theme.
     32* *Wordpress Popular Posts can be localized*! Languages included on this release: *English* (default) and *Spanish*. Wanna know how to translate Wordpress Popular Posts into your language? See the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for more!
    3533* *Time Range* - list your most popular posts within a specific time range (eg. today's popular posts, this week's popular posts, etc.)!
    36 * Wordpress popular posts is highly customizable. You can set its title (or leave it blank if you don't want to use any), decide how many entries to show, whether to display or not comments count and/or pageviews for each entry listed, etc.
     34* Include a **thumbnail** of your posts! (*see the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for technical requirements*)
     35* [WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/) support added!  Show your visitors how your readers are rating your posts!
     36* Wanna show your readers a sneak peak of your most popular entries? Wordpress Popular Posts can include excerpts, too!
    3737* List your posts either by **comment count**, **views** or **average daily views**. Sorted by **comment count** by default.
    3838* You can also list those pages of your blog (About, Services, Archives, etc.) that are getting a lot of attention from your readers. Enabled by default.
     
    44443. Activate **Wordpress Popular Posts** plugin through the 'Plugins' menu in WordPress.
    45454. In your admin console, go to Appeareance > Widgets, drag the Wordpress Popular Posts widget to wherever you want it to be and click on Save.
     465. (optional) Go to Appeareance > Editor. On "Theme Files", click on `header.php` and make sure that the `<?php wp_head(); ?>` tag is present (should be right before the closing `</head>` tag).
    4647
    4748That's it!
     
    5758`[wpp attribute='value']`
    5859
     60
    5961= Template Tags =
    6062
    61 ***get_mostpopular()***
    62 
    63 Due to the fact that some themes are not widget-ready, or that some blog users don't like widgets at all, there's another choice: the **get_mostpopular** template tag. With it, you can embed the most popular posts of your blog on your site's sidebar without using a widget. This function also accepts parameters (optional) so you can customize the look and feel of the listing.
     63
     64***wpp_get_mostpopular***
     65
     66Due to the fact that some themes are not widget-ready, or that some blog users don't like widgets at all, there's another choice: the **wpp_get_mostpopular** template tag. With it, you can embed the most popular posts of your blog on your site's sidebar without using a widget. This function also accepts parameters (optional) so you can customize the look and feel of the listing.
    6467
    6568**Usage:**
     
    6770Without any parameters:
    6871
    69 `<?php get_mostpopular(); ?>`
     72`<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular(); ?>`
     73
    7074
    7175Using parameters:
    7276
    73 `<?php get_mostpopular("range=weekly&order_by=comments"); ?>`
    74 
    75 For a complete list of parameters (also known as "attributes"), please check your wp-admin > Settings > Wordpress Popular Posts page.
     77
     78`<?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("range=weekly&order_by=comments"); ?>`
     79
     80
     81For a complete list of parameters (also known as "attributes"), please check your *wp-admin > Settings > Wordpress Popular Posts* page.
     82
    7683
    7784***wpp_get_views()***
    7885
    79 The **wpp_get_views** template tag retrieves the views count of a single post since the plugin was installed. It only accepts one parameter: the post ID (eg. wpp_get_views(15)). If no parameter is passed to the function, it will return false.
     86The **wpp_get_views** template tag retrieves the views count of a single post since the plugin was installed. It only accepts one parameter: the post ID (eg. wpp_get_views(15)). If the function doesn't get passed a post ID when called, it'll return false instead.
    8087
    8188**Usage:**
     
    8693
    8794* *I'm getting "Sorry. No data so far". What's up with that?*
    88 Chances are that no one has seen your posts / pages yet. If you're logged in into wp-admin, your views are not counted since you're the site's administrator. Additionally, if you're a previous user of Wordpress Popular Posts you might want to check [this thread](http://wordpress.org/support/topic/352693#post-1361288) for a more detailed explanation.
     95Chances are that no one has seen your posts / pages yet. Also, if you're logged in into wp-admin, your views are not counted since you're the site's administrator. Additionally, if you're a previous user of Wordpress Popular Posts you might want to check [this thread](http://wordpress.org/support/topic/352693#post-1361288) for a more detailed explanation. By the way, your theme has the [wp_header()](http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks) tag in its &lt;head&gt; section, right?
    8996
    9097* *I'm unable to activate the "Display post thumbnail" option. Why?*
    91 You should check that: your host is running **PHP 4.3+**; the **GD library** is installed and enabled by your host; your "wordpress-popular-posts/scripts/cache" directory **exists** and is **writable**; there are images on your posts.
     98You should check that: your host is running **PHP 4.3 or higher**; the **GD library** is installed and [enabled by your host](http://wordpress.org/support/topic/289778#post-1366038); your "wordpress-popular-posts/scripts/cache" directory **exists** and is **writable**; there are images on your posts.
    9299
    93100* *Can I embed my most popular posts in any other ways than via sidebar widgets?*
    94101Yes. You have two other ways to achieve this: via **shortcode** (so you can embed it directly on your posts / pages), or via **template tag**.
    95102
    96 * *What are the parameters that the get_popularpost() template tag accepts?*
     103* *What are the parameters that the wpp_get_mostpopular() template tag accepts?*
    97104You can find a complete list of parameters via wp-admin > Settings > Wordpress Popular Posts under the section "What attributes does Wordpress Popular Posts shortcode [wpp] have?".
    98105
     106* *I would like to clear Wordpress Popular Posts cache and start over. How can I do that?*
     107If you go to *wp-admin > Settings > Wordpress Popular Posts*, 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, keeping the historical data intact (All-time). The latter, wipes out everything from Wordpress Popular Posts data tables - even the historical data. Note that this **cannot be undone**.
     108
    99109* *Does your plugin include any css stylesheets?*
    100 Yes, *but* there are no predefined styles (well, almost). It's there for you to style your most popular posts list as you like. You might need an expert for that if you don't know html/css, though.
     110Yes, *but* there are no predefined styles (well, almost). It's there for you to style your most popular posts list as you like. You might need a hand for that if you don't know html/css, though.
    101111
    102112* *Would you help me style my list, please?*
     
    107117
    108118* *I want to translate your plugin into my language / help you update a PO file. What do I need to do?*
    109 There's a PO file included with Wordpress Popular Posts. If your language is not already supported by my plugin, you can use a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) to translate all definitions into your language. If you want to, you can send me your resulting PO and MO files to yo at soyunduro dot com so I can include them on the next release of my plugin.
     119There's a PO file included with Wordpress Popular Posts. If your language is not already supported by my plugin, you can use a [gettext](http://www.gnu.org/software/gettext/) editor like [Poedit](http://www.poedit.net/) to translate all definitions into your language. If you want to, you can send me your resulting PO and MO files to *yo at soyunduro dot com* so I can include them on the next release of my plugin.
    110120
    111121* *Help! I'm having some issues with your plugin! What should I do?*
    112 Please don't, and read my words carefully, don't use my email address to contact me for support. It would be better for me and others using this plugin if you posted your questions on the [Wordpress Popular Posts Support forums](http://wordpress.org/tags/wordpress-popular-posts?forum_id=10). It'll surely be helpful for other users running into similar issues!
     122Please don't, and read my words carefully, don't use my email address to contact me for support. It would be better for me and others using this plugin if you posted your questions on the [Wordpress Popular Posts Support forums](http://wordpress.org/tags/wordpress-popular-posts?forum_id=10). It'll surely be helpful for other people running into similar issues!
    113123
    114124== Screenshots ==
     
    1171272. Wordpress Popular Posts Widget.
    1181283. Wordpress Popular Posts Widget on Kubrik Theme's sidebar.
     1294. Wordpress Popular Posts Stats panel.
    119130
    120131== Changelog ==
     132= 2.0.3 =
     133* Added a Statistics Dashboard to Admin panel so users can view what's popular directly from there.
     134* Users can now select a different date format.
     135* get_mostpopular() function deprecated. Replaced with wpp_get_mostpopular().
     136* Cache maintenance bug fixed.
     137* Several UI enhancements were applied to this version.
    121138
    122139= 2.0.2 =
     
    126143
    127144= 2.0.1 =
    128 * Post title excerpt now includes html entities. Characters like &Aring;&Auml;&Ouml; should display properly now.
    129 * Post excerpt has been improved. Now it supports the following HTML tags: &lt;a&gt;&lt;b&gt;&lt;i&gt;&lt;strong&gt;&lt;em&gt;.
     145* Post title excerpt now includes html entities. Characters like ÅÄÖ should display properly now.
     146* Post excerpt has been improved. Now it supports the following HTML tags: <a><b><i><strong><em>.
    130147* Template tag wpp_get_views() added. Retrieves the views count of a single post.
    131148* Template tag get_mostpopular() re-added. Parameter support included.
  • wordpress-popular-posts/trunk/wordpress-popular-posts-es_ES.po

    r196376 r224824  
    33"Project-Id-Version: Wordpress Popular Posts\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2010-01-21 15:15-0430\n"
     5"POT-Creation-Date: 2010-04-03 10:54-0400\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Héctor Cabrera <admin@rauru.com>\n"
     7"Last-Translator: Héctor Cabrera <yo@soyunduro.com>\n"
    88"Language-Team: Héctor Cabrera <[email protected]>\n"
    99"MIME-Version: 1.0\n"
     
    1717"X-Poedit-SearchPath-0: .\n"
    1818
    19 #: maintenance.php:56
     19#: maintenance.php:58
    2020msgid "This operation will delete all entries from Wordpress Popular Posts' cache table and cannot be undone."
    2121msgstr "Esta operaci&oacute;n eliminar&aacute; todas las entradas del cache de Wordpress Popular Posts y no puede revertirse."
    2222
    23 #: maintenance.php:56
    24 #: maintenance.php:64
     23#: maintenance.php:58
     24#: maintenance.php:66
    2525msgid "Do you want to continue?"
    2626msgstr "&iquest;Quieres continuar?"
    2727
    28 #: maintenance.php:64
     28#: maintenance.php:66
    2929msgid "This operation will delete all stored info from Wordpress Popular Posts' data tables and cannot be undone."
    3030msgstr "Esta operaci&oacute;n eliminar&aacute; toda la informaci&oacute;n almacenada de las tablas de data de Wordpress Popular Posts y no puede revertirse."
    3131
    32 #: maintenance.php:75
     32#: maintenance.php:78
    3333msgid "Whoa! What just happened in here?!"
    3434msgstr "&iexcl;Whoa! &iquest;Qu&eacute; pas&oacute; aqu&iacute;?"
    3535
    36 #: maintenance.php:76
     36#: maintenance.php:79
    3737msgid "Previous users of Wordpress Popular Posts will remember that earlier versions of my plugin used to display a Settings page over here. However, from version 2.0 and on things will be slightly different."
    3838msgstr "Los usuarios previos de Wordpress Popular Posts recordar&aacute;n que versiones anteriores de mi plugin mostraba una p&aacute;gina de Configuraci&oacute;n aqu&iacute;. Sin embargo, desde la versi&oacute;n 2.0 en adelante las cosas ser&aacute;n algo diferentes."
    3939
    40 #: maintenance.php:77
     40#: maintenance.php:80
    4141msgid "Wordpress Popular Posts has gone multi-widget so now you'll be able to install multiple instances of my plugin on your sidebars, each with its own unique settings! Because of that, having a General Settings page to handle all instances is simply not a good idea. Fear not, my friend, since you still can set each instance's configuration via"
    4242msgstr "Wordpress Popular Posts ahora es multi-widget, podr&aacute;s instalar m&uacute;ltiples instancias de mi plugin en tus barras laterales, &iexcl;cada una con su configuraci&oacute;n propia! Por ello, tener una p&aacute;gina de Configuraci&oacute;n General para manejar todas las instancias no es una buena idea. No temas, amigo m&iacute;o, ya que puedes manejar la configuraci&oacute;n de cada instancia a trav&eacute;s de la secci&oacute;n"
    4343
    44 #: maintenance.php:77
     44#: maintenance.php:80
    4545msgid "Widgets page"
    4646msgstr "Widgets"
    4747
    48 #: maintenance.php:81
     48#: maintenance.php:84
    4949msgid "Help"
    5050msgstr "Ayuda"
    5151
    52 #: maintenance.php:82
     52#: maintenance.php:85
    5353msgid "What does \"Include pages\" do?"
    5454msgstr "&iquest;Qu&eacute; hace \"Incluir p&aacute;ginas\"?"
    5555
    56 #: maintenance.php:84
     56#: maintenance.php:87
    5757msgid "If checked, Wordpress Popular Posts will also list the most viewed pages on your blog. Enabled by default."
    5858msgstr "Si de tilda, Wordpress Popular Posts tambi&eacute;n listar&aacute; las p&aacute;ginas m&aacute;s populares en tu blog. Habilitado por defecto."
    5959
    60 #: maintenance.php:86
     60#: maintenance.php:89
    6161msgid "What does \"Display post rating\" do?"
    6262msgstr "&iquest;Qu&eacute; hace \"Mostrar rating del post\"?"
    6363
    64 #: maintenance.php:88
     64#: maintenance.php:91
    6565msgid "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. Disabled by default."
    6666msgstr "Si se tilda, Wordpress Popular Posts mostrar&aacute; como tus lectores est&aacute;n calificando tus posts m&aacute;s populares. Esta funcionalidad requiere que el plugin WP-PostRatings est&eacute; instalado y activado en tu blog para que funcione. Deshabilitado por defecto."
    6767
    68 #: maintenance.php:90
     68#: maintenance.php:93
    6969msgid "What does \"Shorten title output\" do?"
    7070msgstr "&iquest;Qu&eacute; hace \"Acortar t&iacute;tulos\"?"
    7171
    72 #: maintenance.php:92
     72#: maintenance.php:95
    7373msgid "If checked, all posts titles will be shortened to \"n\" characters. A new \"Shorten title to\" option will appear so you can set it to whatever you like. Disabled by default."
    7474msgstr "Si se tilda, todos los t&iacute;tulos de posts se acortar&aacute; \"n\" caracteres. Una nueva opci&oacute;n, \"Acortar t&iacute;tulo a\" aparecer&aacute; para que puedas configurarlo como gustes. Desactivado por defecto."
    7575
    76 #: maintenance.php:94
     76#: maintenance.php:97
    7777msgid "What does \"Display post excerpt\" do?"
    7878msgstr "&iquest;Qu&eacute; hace \"Mostrar extracto del post\"?"
    7979
    80 #: maintenance.php:96
     80#: maintenance.php:99
    8181msgid "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. Disabled by default."
    8282msgstr "Si se tilda, Wordpress Popular Posts tambi&eacute;n incluir&aacute; un peque&ntilde;o extracto de tus posts en la lista. Similarmente a la opci&oacute;n anterior, podr&aacute;s decidir qu&eacute; tan largo debe ser el extracto. Desactivado por defecto."
    8383
    84 #: maintenance.php:98
     84#: maintenance.php:101
     85msgid "What does \"Keep text format and links\" do?"
     86msgstr "&iquest;Qu&eacute; hace \"Mantener formato de texto y links\"?"
     87
     88#: maintenance.php:103
     89msgid "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."
     90msgstr "Si se tilda, y si Mostrar Extracto del Post est&aacute; habilitado, Wordpress Popular Posts mantendr&aacute; las etiquetas de estilo (ejem. bold, italic, etc) que se encontraron en el extracto. Los hiperv&iacute;nculos se mantendr&aacute;n intactos tambi&eacute;n."
     91
     92#: maintenance.php:105
    8593msgid "What does \"Exclude Categories\" do?"
    8694msgstr "&iquest;Qu&eacute; hace \"Excluir Categor&iacute;as\"?"
    8795
    88 #: maintenance.php:100
     96#: maintenance.php:107
    8997msgid "If checked, Wordpress Popular Posts will exclude from the listing all those entries that belong to specific categories. When entering more than one Category ID, you need to use commas to separate them (eg. 1,5,12 - no spaces!). Disabled by default."
    9098msgstr "Si se tilda, Wordpress Popular Posts excluir&aacute; del listado todas aquellas entradas pertenecientes a categor&iacute;as espec&iacute;ficas. Cuando se ingresa m&aacute;s de un ID de Categor&iacute;a, necesitas utilizar comas para separarlas (ejem. 1,5,12 - &excl;sin espacios!). Deshabilitado por defecto."
    9199
    92 #: maintenance.php:102
     100#: maintenance.php:109
    93101msgid "What does \"Display post thumbnail\" do?"
    94102msgstr "&iquest;Qu&eacute; hace \"Mostrar miniatura\"?"
    95103
    96 #: maintenance.php:104
     104#: maintenance.php:111
    97105msgid "If checked, Wordpress Popular Posts will attempt to find the very first image of each post in the listing and turn it into a thumbnail. Note that for this option to work you must check that: your current web host is running PHP 4.3+ or higher and the GD Library is installed and enabled; also that your \"wordpress-popular-posts/scripts/cache\" directory exists and is writable. Disabled by default."
    98106msgstr "Si se tilda, Wordpress Popular Posts intentar&aacute; encontrar la primera imagen de cada post para convertirla en una miniatura (thumbnail). Nota que para que esta opci&oacute;n funcione debes verificar que: tu host est&aacute; corre bajo PHP 4.3+ o mejor y que la librer&iacute;a GD est&aacute; instalada y habilitada; tambi&eacute; que tu carpeta \"wordpress-popular-posts/scripts/cache\" existe is es escribible. Desactivada por defecto."
    99107
    100 #: maintenance.php:106
     108#: maintenance.php:113
    101109msgid "What does \"Display comment count\" do?"
    102110msgstr "&iquest;Qu&eacute; hace \"Mostrar comentarios\"?"
    103111
    104 #: maintenance.php:108
     112#: maintenance.php:115
    105113msgid "If checked, Wordpress Popular Posts will display how many comments each popular post has got until now. Enabled by default."
    106114msgstr "Si se tilda, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntos comentarios ha obtenido cada post popular hasta ahora. Habilitado por defecto."
    107115
    108 #: maintenance.php:110
     116#: maintenance.php:117
    109117msgid "What does \"Display views\" do?"
    110118msgstr "&iquest;Qu&eacute; hace \"Mostrar vistas\"?"
    111119
    112 #: maintenance.php:112
     120#: maintenance.php:119
    113121msgid "If checked, Wordpress Popular Posts will show how many pageviews a single post has gotten so far since this plugin was installed. Disabled by default."
    114122msgstr "Si se tilda, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntas vistas ha obtenido un post desde la instalaci&oacute;n de este plugin. Deshabilitado por defecto."
    115123
    116 #: maintenance.php:114
     124#: maintenance.php:121
    117125msgid "What does \"Display author\" do?"
    118126msgstr "&iquest;Qu&eacute; hace \"Mostrar autor\"?"
    119127
    120 #: maintenance.php:116
     128#: maintenance.php:123
    121129msgid "If checked, Wordpress Popular Posts will display the name of the author of each entry listed. Disabled by default."
    122130msgstr "Si se tilda, Wordpress Popular Posts mostrar&aacute; el nombre del autor de cada entrada listada. Deshabilitado por defecto."
    123131
    124 #: maintenance.php:118
     132#: maintenance.php:125
    125133msgid "What does \"Display date\" do?"
    126134msgstr "&iquest;Qu&eacute; hace \"Mostrar fecha\"?"
    127135
    128 #: maintenance.php:120
     136#: maintenance.php:127
    129137msgid "If checked, Wordpress Popular Posts will display the date when each popular posts was published. Disabled by default."
    130138msgstr "Si se tilda, Wordpress Popular Posts mostrar&aacute; la fecha en que cada post popular fue publicado. Deshabilitado por defecto."
    131139
    132 #: maintenance.php:122
     140#: maintenance.php:129
    133141msgid "What does \"Use custom HTML Markup\" do?"
    134142msgstr "&iquest;Qu&eacute; hace \"Utilizar Markup HTML personalizado\"?"
    135143
    136 #: maintenance.php:124
     144#: maintenance.php:131
    137145msgid "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! Disabled by default."
    138146msgstr "Si se tilda, podr&aacute;s personalizar el markup HTML (la estructura HTML) del listado de tus posts. Por ejemplo, puedes decidir si tus posts estar&aacute;n dentro de una lista desordenada (ul), una lista ordenada (ol), un div, etc. Si sabes xHTML/CSS, &iexcl;esto es para t&iacute;!"
    139147
    140 #: maintenance.php:126
     148#: maintenance.php:133
    141149msgid "What does \"Use content formatting tags\" do?"
    142150msgstr "&iquest;Qu&eacute; hace \"Utilizar etiquetas de contenido\"?"
    143151
    144 #: maintenance.php:128
     152#: maintenance.php:135
    145153msgid "If checked, you can decide the order of the items displayed on each entry. For example, setting it to \"{title}: {summary}\" (without the quotes) would display \"Post title: excerpt of the post here\". Available tags: {image}, {title}, {summary}, {stats} and {rating}. Disabled by default."
    146154msgstr "Si se tilda, puedes decidir el orden de los items mostrados en cada entrada. Por ejemplo, configurarlo como \"{title}: {summary}\" (sin las comillas) mostrar&iacute;a \"T&iacute;tulo del post: extracto del post aqu&iacute;\". Etiquetas disponibles: {image}, {title}, {summary}, {stats} y {rating}. Deshabilitado por defecto."
    147155
    148 #: maintenance.php:130
     156#: maintenance.php:137
    149157msgid "What are \"Template Tags\"?"
    150158msgstr "&iquest;Qu&eacute; son los \"Template Tags\"?"
    151159
    152 #: maintenance.php:132
     160#: maintenance.php:139
    153161msgid "Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: get_mostpopular() and wpp_get_views()."
    154162msgstr "Los Template Tags son simplemente funciones php que te permiten realizar ciertas acciones. Por ejemplo, Wordpress Popular Posts actualmante soporte dos template tags diferentes: get_mostpopular y wpp_get_views()."
    155163
    156 #: maintenance.php:134
     164#: maintenance.php:141
    157165msgid "What are the template tags that Wordpress Popular Posts supports?"
    158166msgstr "&iquest;Cu&aacute;les template tags soporta Wordpress Popular Posts?"
    159167
    160 #: maintenance.php:136
     168#: maintenance.php:143
    161169msgid "The following are the template tags supported by Wordpress Popular Posts:"
    162170msgstr "Los siguientes son los template tags soportados por Wordpress Popular Posts:"
    163171
    164 #: maintenance.php:139
     172#: maintenance.php:146
    165173msgid "Template tag"
    166174msgstr "Template tag"
    167175
    168 #: maintenance.php:140
    169 #: maintenance.php:168
     176#: maintenance.php:147
     177#: maintenance.php:175
    170178msgid "What it does "
    171179msgstr "Qu&eacute; hace"
    172180
    173 #: maintenance.php:141
     181#: maintenance.php:148
    174182msgid "Parameters"
    175183msgstr "Par&aacute;metros"
    176184
    177 #: maintenance.php:142
    178 #: maintenance.php:170
     185#: maintenance.php:149
     186#: maintenance.php:178
    179187msgid "Example"
    180188msgstr "Ejemplo"
    181189
    182 #: maintenance.php:146
     190#: maintenance.php:153
    183191msgid "Similar to the widget functionality, this tag retrieves the most popular posts on your blog. While it can be customized via parameters, these are not needed for it to work."
    184192msgstr "Al igual que la funcionalidad tipo widget, este tag obtiene los posts m&aacute;s populares de tu blog. Puede ser personalizado via par&aacute;metros, pero no son necesarios para que funcione."
    185193
    186 #: maintenance.php:147
     194#: maintenance.php:154
    187195msgid "Please refer to \"What attributes does Wordpress Popular Posts shortcode [wpp] have?\""
    188196msgstr "Favor leer \"&iquest;Cu&aacute;les template tags soporta Wordpress Popular Posts?\""
    189197
    190 #: maintenance.php:152
     198#: maintenance.php:159
    191199msgid "Displays the number of views of a single post. Post ID required, or it will return false."
    192200msgstr "Muestra el n&uacute;mero de vistas de un post. Se requiere el ID del post, o la funci&oacute;n retornar&aacute; falso."
    193201
    194 #: maintenance.php:153
     202#: maintenance.php:160
    195203msgid "Post ID"
    196204msgstr "ID del Post"
    197205
    198 #: maintenance.php:158
     206#: maintenance.php:165
    199207msgid "What are \"shortcodes\"?"
    200208msgstr "&iquest;Qu&eacute; son los \"shortcodes\"?"
    201209
    202 #: maintenance.php:160
     210#: maintenance.php:167
    203211msgid "Shortcodes are hooks that 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"
    204212msgstr "Los shortcodes son hooks que nos permiten llamar a una funci&oacute;n php simplemente escribiendo algo como [shortcode]. Con Wordpress Popular Posts, el shortcode [wpp] te permitir&aacute; insertar una lista de los posts m&aacute;s populares en p&aacute;ginas y en los contenidos de los posts. Para m&aacute;s informaci&oacute; visita"
    205213
    206 #: maintenance.php:162
     214#: maintenance.php:169
    207215msgid "What attributes does Wordpress Popular Posts shortcode [wpp] have?"
    208216msgstr "&iquest;Qu&eacute; atributos tiene el shortcode [wpp] de Wordpress Popular Posts?"
    209217
    210 #: maintenance.php:164
     218#: maintenance.php:171
    211219msgid "There are a number of attributes Wordpress Popular Posts currently supports:"
    212220msgstr "Hay un n&uacute;mero de atributos que Wordpress Popular Posts actualmente soporta:"
    213221
    214 #: maintenance.php:167
     222#: maintenance.php:174
    215223msgid "Attributes"
    216224msgstr "Atributos"
    217225
    218 #: maintenance.php:169
     226#: maintenance.php:176
    219227msgid "Possible values"
    220228msgstr "Valores Posibles"
    221229
    222 #: maintenance.php:174
     230#: maintenance.php:177
     231msgid "Defaults to"
     232msgstr "Por defecto"
     233
     234#: maintenance.php:182
    223235msgid "Sets a heading for the list"
    224236msgstr "Setea el encabezado de la lista"
    225237
    226 #: maintenance.php:175
    227 #: maintenance.php:181
    228 #: maintenance.php:187
    229 #: maintenance.php:229
    230 #: maintenance.php:277
    231 #: maintenance.php:283
    232 #: maintenance.php:289
    233 #: maintenance.php:295
     238#: maintenance.php:183
     239#: maintenance.php:190
     240#: maintenance.php:197
     241#: maintenance.php:253
     242#: maintenance.php:309
     243#: maintenance.php:316
     244#: maintenance.php:323
     245#: maintenance.php:330
     246#: maintenance.php:337
    234247msgid "Text string"
    235248msgstr "Cadena de texto"
    236249
    237 #: maintenance.php:180
     250#: maintenance.php:184
     251#: wordpress-popular-posts.php:181
     252msgid "Popular Posts"
     253msgstr "Entradas Populares"
     254
     255#: maintenance.php:189
    238256msgid "Set the opening tag for the heading of the list"
    239257msgstr "Setea la etiqueta html de apertura del encabezado de la lista"
    240258
    241 #: maintenance.php:186
     259#: maintenance.php:196
    242260msgid "Set the closing tag for the heading of the list"
    243261msgstr "Setea la etiqueta de cierre del encabezado de la lista"
    244262
    245 #: maintenance.php:192
     263#: maintenance.php:203
    246264msgid "Sets the maximum number of popular posts to be shown on the listing"
    247265msgstr "Setea el n&uacute;mero m&aacute;ximo de posts populares a mostrarse en la lista"
    248266
    249 #: maintenance.php:193
    250 #: maintenance.php:217
    251 #: maintenance.php:223
    252 #: maintenance.php:235
    253 #: maintenance.php:241
     267#: maintenance.php:204
     268#: maintenance.php:232
     269#: maintenance.php:239
     270#: maintenance.php:260
     271#: maintenance.php:267
    254272msgid "Positive integer"
    255273msgstr "Entero positivo"
    256274
    257 #: maintenance.php:198
     275#: maintenance.php:210
    258276msgid "Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you"
    259277msgstr "Le dice a Wordpress Popular Posts que debe traer los posts m&aacute;s populares que est&eacute;n dentro del tiempo especificado por t&iacute;."
    260278
    261 #: maintenance.php:204
     279#: maintenance.php:217
    262280msgid "Sets the sorting option of the popular posts"
    263281msgstr "Setea el valor por el cual deben ordenarse los posts populares"
    264282
    265 #: maintenance.php:205
     283#: maintenance.php:218
    266284msgid "(for average views per day)"
    267285msgstr "(vistas promedio por d&iacute;a)"
    268286
    269 #: maintenance.php:210
     287#: maintenance.php:224
    270288msgid "Tells Wordpress Popular Posts whether to consider or not pages while building the popular list"
    271289msgstr "Le dice a Wordpress Popular Posts si debe considerar o no las p&aacute;ginas mientras construye la lista popular"
    272290
    273 #: maintenance.php:216
     291#: maintenance.php:231
    274292msgid "If set, Wordpress Popular Posts will shorten each post title to \"n\" characters whenever possible"
    275293msgstr "Si se setea, Wordpress Popular Posts acortar&aacute; cada t&iacute;tulo a \"n\" caracteres cuando sea posible"
    276294
    277 #: maintenance.php:222
     295#: maintenance.php:238
    278296msgid "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" characters long from the content of each post listed as popular"
    279297msgstr "Si se setea, Wordpress Popular Posts construir&aacute; e insertar&aacute; un extracto de \"n\" caracteres de largo del contenido de cada post listado como popular"
    280298
    281 #: maintenance.php:228
     299#: maintenance.php:245
     300msgid "If set, Wordpress Popular Posts will maintaing all styling tags (strong, italic, etc) and hyperlinks found in the excerpt"
     301msgstr "Si se setea, Wordpress Popular Posts mantendr&aacute; las etiquetas de formato (strong, italic, etc) y los hiperv&iacute;nculos encontrados en el extracto"
     302
     303#: maintenance.php:252
    282304msgid "If set, Wordpress Popular Posts will exclude all entries that belong to the specified category(ies)."
    283305msgstr "Si se setea, Wordpress Popular Posts excluir&aacute; todas las entradas que pertenezcan a las categor&iacute;as especificadas."
    284306
    285 #: maintenance.php:234
     307#: maintenance.php:254
     308msgid "None"
     309msgstr "Ninguno"
     310
     311#: maintenance.php:259
    286312msgid "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"
    287313msgstr "Si se setea, y si la configuraci&oacute;n actual de tu servidor lo permite, podr&aacute;s mostrar miniaturas (thumbnails) de tus posts. Este atributo setea el ancho de las miniaturas"
    288314
    289 #: maintenance.php:240
     315#: maintenance.php:266
    290316msgid "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"
    291317msgstr "Si se setea, y si la configuraci&oacute;n actual de tu servidor lo permite, podr&aacute;s mostrar miniaturas (thumbnails) de tus posts. Este atributo setea el alto de las miniaturas"
    292318
    293 #: maintenance.php:246
     319#: maintenance.php:273
    294320msgid "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"
    295321msgstr "Si se setea, y si el plugin WP-PostRatings est&aacute; instalado y activo en tu blog, Wordpress Popular Posts mostrar&aacute; c&oacute;mo tus visitantes califican tus entradas"
    296322
    297 #: maintenance.php:252
     323#: maintenance.php:280
    298324msgid "If set, Wordpress Popular Posts will show how many comments each popular post has got until now"
    299325msgstr "Si se setea, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntos comentarios ha obtenido cada post popular hasta ahora"
    300326
    301 #: maintenance.php:258
     327#: maintenance.php:287
    302328msgid "If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed"
    303329msgstr "Si se setea, Wordpress Popular Posts mostrar&aacute; cu&aacute;ntas vistas ha obtenido cada post popular desde que se instal&oacute; el plugin"
    304330
    305 #: maintenance.php:264
     331#: maintenance.php:294
    306332msgid "If set, Wordpress Popular Posts will show who published each popular post on the list"
    307333msgstr "Si se setea, Wordpress Popular Posts mostrar&aacute; qui&eacute;n public&oacute; cada uno de los posts populares de la lista"
    308334
    309 #: maintenance.php:270
     335#: maintenance.php:301
    310336msgid "If set, Wordpress Popular Posts will when each popular post on the list was published"
    311 msgstr "Si se setea, Wordpress Popular Posts mostra&aacute; cuando fue publicado cada post en la lista"
    312 
    313 #: maintenance.php:276
     337msgstr "Si se setea, Wordpress Popular Posts mostrar&aacute; cuando fue publicado cada post en la lista"
     338
     339#: maintenance.php:308
     340msgid "Sets the date format"
     341msgstr "Setea el formato de la fecha"
     342
     343#: maintenance.php:315
    314344msgid "Sets the opening tag for the listing"
    315345msgstr "Setea la etiqueta de apertura de la lista"
    316346
    317 #: maintenance.php:282
     347#: maintenance.php:322
    318348msgid "Sets the closing tag for the listing"
    319349msgstr "Setea la etiqueta de cierre de la lista"
    320350
    321 #: maintenance.php:288
     351#: maintenance.php:329
    322352msgid "Sets the opening tag for each item on the list"
    323353msgstr "Setea la etiqueta de apertura de cada item en la lista"
    324354
    325 #: maintenance.php:294
     355#: maintenance.php:336
    326356msgid "Sets the closing tag for each item on the list"
    327357msgstr "Setea la etiqueta de cierre de cada item en la lista"
    328358
    329 #: maintenance.php:300
     359#: maintenance.php:343
    330360msgid "If set, this option will allow you to decide the order of the contents within each item on the list."
    331361msgstr "Si se setea, esta opci&oacute;n te permitir&aacute; decidir el orden de los contenidos de cada item en la lista"
    332362
    333 #: maintenance.php:306
     363#: maintenance.php:350
    334364msgid "If set, you can decide the order of each content inside a single item on the list. For example, setting it to \"{title}: {summary}\" would output something like \"Your Post Title: summary here\""
    335365msgstr "Si se setea, puedes decidir el orden de los contenidos de cada item en la lista. Por ejemplo, configurarlo como \"{title}: {summary}\" mostrar&iacute;a algo como \"Tu t&iacute;tulo: extracto del post aqu&iacute;\" "
    336366
    337 #: maintenance.php:307
     367#: maintenance.php:351
    338368msgid "Available tags"
    339369msgstr "Etiquetas disponibles"
    340370
    341 #: maintenance.php:315
     371#: maintenance.php:360
    342372msgid "Maintenance Settings"
    343373msgstr "Opciones de Mantenimiento"
    344374
    345 #: maintenance.php:316
     375#: maintenance.php:361
    346376msgid "Wordpress Popular Posts keeps historical data of your most popular entries for up to 30 days. 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."
    347377msgstr "Wordpress Popular Posts guarda data hist&oacute;rica de tus posts m&aacute;s populares por hasta 30 d&iacute;as. Si por alguna raz&oacute;n necesitas limpiar el cache, o inclusive tanto el cache como la tabla hist&oacute;rica, por favor utiliza los botones de abajo."
    348378
    349 #: maintenance.php:319
     379#: maintenance.php:364
    350380msgid "Empty cache"
    351381msgstr "Vaciar cache"
    352382
    353 #: maintenance.php:320
     383#: maintenance.php:365
    354384msgid "Use this button to manually clear entries from WPP cache only"
    355385msgstr "Utiliza este bot&oacute;n para limpiar manualmente todas las entradas del cache de Wordpress Popular Posts"
    356386
    357 #: maintenance.php:326
     387#: maintenance.php:371
    358388msgid "Clear all data"
    359389msgstr "Eliminar toda la data"
    360390
    361 #: maintenance.php:327
     391#: maintenance.php:372
    362392msgid "Use this button to manually clear entries from all WPP data tables"
    363393msgstr "Utiliza este bot&oacute;n para limpiar toda la data de Wordpress Popular Posts"
    364394
    365 #: maintenance.php:335
     395#: maintenance.php:380
    366396msgid "Do you like this plugin?"
    367397msgstr "&iquest;Te gusta este plugin?"
    368398
    369 #: maintenance.php:335
     399#: maintenance.php:380
    370400msgid "Rate Wordpress Popular Posts!"
    371401msgstr "&iexcl;Califica Wordpress Popular Posts!"
    372402
    373 #: maintenance.php:335
     403#: maintenance.php:380
    374404msgid "Rate it 5"
    375405msgstr "&iexcl;Dale un 5"
    376406
    377 #: maintenance.php:335
     407#: maintenance.php:380
    378408msgid "on the official Plugin Directory!"
    379409msgstr "en el directorio oficial de plugins!"
    380410
    381 #: maintenance.php:336
     411#: maintenance.php:381
    382412msgid "Do you love this plugin?"
    383413msgstr "&iquest;Te encanta este plugin?"
    384414
    385 #: maintenance.php:336
    386 #: maintenance.php:337
     415#: maintenance.php:381
     416#: maintenance.php:382
    387417msgid "Buy me a beer!"
    388418msgstr "&iexcl;C&oacute;mprame una cerveza!"
    389419
    390 #: maintenance.php:336
     420#: maintenance.php:381
    391421msgid "Each donation motivates me to keep releasing free stuff for the Wordpress community!"
    392422msgstr "&iexcl;Cada donativo me motiva a seguir contribuyendo con la comunidad Wordpress!"
    393423
    394 #: wordpress-popular-posts.php:160
    395 msgid "Popular Posts"
    396 msgstr "Entradas Populares"
    397 
    398 #: wordpress-popular-posts.php:209
     424#: stats.php:90
     425msgid "Click on each tab to see what are the most popular entries on your blog today, this week, last 30 days or all time since Wordpress Popular Posts was installed."
     426msgstr "Haga clic en cada pesta&ntilde;a para ver cu&aacute;les son las entradas m&aacute;s populares en su blog hoy, esta semana, en los &uacute;ltimos 30 d&iacute;s o desde que se instal&oacute; Wordpress Popular Posts."
     427
     428#: stats.php:92
     429#: wordpress-popular-posts.php:240
     430msgid "Today"
     431msgstr "Hoy"
     432
     433#: stats.php:93
     434msgid "Weekly"
     435msgstr "Semanalmente"
     436
     437#: stats.php:94
     438msgid "Monthly"
     439msgstr "Mensualmente"
     440
     441#: stats.php:95
     442#: wordpress-popular-posts.php:243
     443msgid "All-time"
     444msgstr "Todos"
     445
     446#: stats.php:122
     447msgid "See statistics also in"
     448msgstr "Ver estad&iacute;sticas en"
     449
     450#: wordpress-popular-posts.php:234
    399451msgid "Title:"
    400452msgstr "T&iacute;tulo:"
    401453
    402 #: wordpress-popular-posts.php:211
     454#: wordpress-popular-posts.php:236
    403455msgid "Show up to:"
    404456msgstr "Mostrar hasta:"
    405457
    406 #: wordpress-popular-posts.php:212
     458#: wordpress-popular-posts.php:237
    407459msgid "posts"
    408460msgstr "posts"
    409461
    410 #: wordpress-popular-posts.php:213
     462#: wordpress-popular-posts.php:238
    411463msgid "Time Range:"
    412464msgstr "Rango de tiempo:"
    413465
    414 #: wordpress-popular-posts.php:215
    415 msgid "Today"
    416 msgstr "Hoy"
    417 
    418 #: wordpress-popular-posts.php:216
     466#: wordpress-popular-posts.php:241
    419467msgid "Last 7 days"
    420468msgstr "&Uacute;ltimos 7 d&iacute;as"
    421469
    422 #: wordpress-popular-posts.php:217
     470#: wordpress-popular-posts.php:242
    423471msgid "Last 30 days"
    424472msgstr "&Uacute;ltimos 30 d&iacute;as"
    425473
    426 #: wordpress-popular-posts.php:218
    427 msgid "All-time"
    428 msgstr "Todos"
    429 
    430 #: wordpress-popular-posts.php:221
     474#: wordpress-popular-posts.php:246
    431475msgid "Sort posts by:"
    432476msgstr "Ordernar posts por:"
    433477
    434 #: wordpress-popular-posts.php:223
     478#: wordpress-popular-posts.php:248
    435479msgid "Comments"
    436480msgstr "Comentarios"
    437481
    438 #: wordpress-popular-posts.php:224
     482#: wordpress-popular-posts.php:249
    439483msgid "Total views"
    440484msgstr "Vistas"
    441485
    442 #: wordpress-popular-posts.php:225
     486#: wordpress-popular-posts.php:250
    443487msgid "Avg. daily views"
    444488msgstr "Vistas por d&iacute;a"
    445489
    446 #: wordpress-popular-posts.php:228
     490#: wordpress-popular-posts.php:253
    447491msgid "Include pages"
    448492msgstr "Incluir p&aacute;ginas"
    449493
    450 #: wordpress-popular-posts.php:230
     494#: wordpress-popular-posts.php:255
    451495msgid "Display post rating"
    452496msgstr "Mostrar calificaci&oacute;n del post"
    453497
    454 #: wordpress-popular-posts.php:232
     498#: wordpress-popular-posts.php:257
    455499msgid "Shorten title output"
    456500msgstr "Acortar t&iacute;tulo"
    457501
    458 #: wordpress-popular-posts.php:234
     502#: wordpress-popular-posts.php:259
    459503msgid "Shorten title to"
    460504msgstr "acortar t&iacute;tulo a"
    461505
    462 #: wordpress-popular-posts.php:234
    463 #: wordpress-popular-posts.php:238
     506#: wordpress-popular-posts.php:259
     507#: wordpress-popular-posts.php:266
    464508msgid "characters"
    465509msgstr "caracteres"
    466510
    467 #: wordpress-popular-posts.php:236
     511#: wordpress-popular-posts.php:261
    468512msgid "Display post excerpt"
    469513msgstr "Mostrar extracto del post"
    470514
    471 #: wordpress-popular-posts.php:238
     515#: wordpress-popular-posts.php:264
     516msgid "Excerpt Properties"
     517msgstr "Propiedades del extracto"
     518
     519#: wordpress-popular-posts.php:265
     520msgid "Keep text format and links"
     521msgstr "Mantener formato de texto y links"
     522
     523#: wordpress-popular-posts.php:266
    472524msgid "Excerpt length:"
    473525msgstr "Longitud del extracto:"
    474526
    475 #: wordpress-popular-posts.php:241
     527#: wordpress-popular-posts.php:270
    476528msgid "Exclude categories"
    477529msgstr "Excluir categor&iacute;as"
    478530
    479 #: wordpress-popular-posts.php:243
    480 msgid "ID(s) to exclude (comma separated, no spaces):"
    481 msgstr "ID(s) a excluir (separado por comas, sin espacios):"
    482 
    483 #: wordpress-popular-posts.php:246
     531#: wordpress-popular-posts.php:273
     532msgid "Categories to exclude"
     533msgstr "Categor&iacute;as a excluir"
     534
     535#: wordpress-popular-posts.php:274
     536msgid "ID(s) (comma separated, no spaces):"
     537msgstr "ID(s) (separado por comas, sin espacios):"
     538
     539#: wordpress-popular-posts.php:279
    484540msgid "Display post thumbnail"
    485541msgstr "Mostrar miniatura"
    486542
    487 #: wordpress-popular-posts.php:248
     543#: wordpress-popular-posts.php:282
     544msgid "Thumbnail Dimensions"
     545msgstr "Dimensiones de la Miniatura"
     546
     547#: wordpress-popular-posts.php:283
    488548msgid "Width:"
    489549msgstr "Ancho:"
    490550
    491 #: wordpress-popular-posts.php:249
    492 #: wordpress-popular-posts.php:251
     551#: wordpress-popular-posts.php:284
     552#: wordpress-popular-posts.php:286
    493553msgid "px"
    494554msgstr "px"
    495555
    496 #: wordpress-popular-posts.php:250
     556#: wordpress-popular-posts.php:285
    497557msgid "Height:"
    498558msgstr "Alto:"
    499559
    500 #: wordpress-popular-posts.php:255
     560#: wordpress-popular-posts.php:291
    501561msgid "Stats Tag settings"
    502 msgstr "Configuraci&oacute;m del Stats Tag"
    503 
    504 #: wordpress-popular-posts.php:256
     562msgstr "Configuraci&oacute;n del Stats Tag"
     563
     564#: wordpress-popular-posts.php:292
    505565msgid "Display comment count"
    506566msgstr "Mostrar comentarios"
    507567
    508 #: wordpress-popular-posts.php:257
     568#: wordpress-popular-posts.php:293
    509569msgid "Display views"
    510570msgstr "Mostrar vistas"
    511571
    512 #: wordpress-popular-posts.php:258
     572#: wordpress-popular-posts.php:294
    513573msgid "Display author"
    514574msgstr "Mostrar autor"
    515575
    516 #: wordpress-popular-posts.php:259
     576#: wordpress-popular-posts.php:295
    517577msgid "Display date"
    518578msgstr "Mostrar fecha"
    519579
    520 #: wordpress-popular-posts.php:263
     580#: wordpress-popular-posts.php:298
     581msgid "Date Format"
     582msgstr "Formato de la fecha"
     583
     584#: wordpress-popular-posts.php:308
    521585msgid "HTML Markup settings"
    522586msgstr "Configuraci&oacute;n del Markup HTML"
    523587
    524 #: wordpress-popular-posts.php:264
     588#: wordpress-popular-posts.php:309
    525589msgid "Use custom HTML Markup"
    526590msgstr "Utilizar Markup HTML personalizado"
    527591
    528 #: wordpress-popular-posts.php:265
     592#: wordpress-popular-posts.php:312
    529593msgid "Before / after title:"
    530594msgstr "Antes / despu&eacute;s del t&iacute;tulo:"
    531595
    532 #: wordpress-popular-posts.php:267
     596#: wordpress-popular-posts.php:314
    533597msgid "Before / after Popular Posts:"
    534598msgstr "Antes / despu&eacute;s de los Post Populares:"
    535599
    536 #: wordpress-popular-posts.php:269
     600#: wordpress-popular-posts.php:316
    537601msgid "Before / after each post:"
    538602msgstr "Antes / despu&eacute;s de cada post:"
    539603
    540 #: wordpress-popular-posts.php:272
     604#: wordpress-popular-posts.php:320
    541605msgid "Use content formatting tags"
    542606msgstr "Utilizar etiquetas de contenido"
    543607
    544 #: wordpress-popular-posts.php:273
     608#: wordpress-popular-posts.php:323
    545609msgid "Content format:"
    546610msgstr "Formato del contenido:"
    547611
    548 #: wordpress-popular-posts.php:331
     612#: wordpress-popular-posts.php:382
    549613msgid "Success! The cache table has been cleared!"
    550614msgstr "&excl;Eacute;xito! &excl;El cache ha sido vaciado!"
    551615
    552 #: wordpress-popular-posts.php:333
     616#: wordpress-popular-posts.php:384
    553617msgid "Error: cache table does not exist."
    554618msgstr "Error: la tabla cache no existe."
    555619
    556 #: wordpress-popular-posts.php:339
     620#: wordpress-popular-posts.php:390
    557621msgid "Success! All data have been cleared!"
    558622msgstr "&excl;Eacute;xito! &excl;Toda la data ha sido eliminada!"
    559623
    560 #: wordpress-popular-posts.php:341
     624#: wordpress-popular-posts.php:392
    561625msgid "Error: one or both data tables are missing."
    562626msgstr "Error: una o ambas tablas de datos no existen."
    563627
    564 #: wordpress-popular-posts.php:344
     628#: wordpress-popular-posts.php:395
    565629msgid "Invalid action."
    566630msgstr "Acci&oacute;n inv&aacute;lida."
    567631
    568 #: wordpress-popular-posts.php:347
     632#: wordpress-popular-posts.php:398
    569633msgid "Sorry, you do not have enough permissions to do this. Please contact the site administrator for support."
    570634msgstr "Lo lamento, no tienes suficientes permisos para hacer esto. Por favor contacta al administrador del sitio."
    571635
    572 #: wordpress-popular-posts.php:513
     636#: wordpress-popular-posts.php:564
    573637msgid "Sorry. No data so far."
    574638msgstr "Lo lamento, no hay informaci&oacute;n a&uacute;n."
    575639
    576 #: wordpress-popular-posts.php:552
     640#: wordpress-popular-posts.php:605
    577641msgid " comment(s)"
    578642msgstr "comentario(s)"
    579643
    580 #: wordpress-popular-posts.php:555
     644#: wordpress-popular-posts.php:608
    581645msgid " view(s)"
    582646msgstr "vista(s)"
    583647
    584 #: wordpress-popular-posts.php:560
     648#: wordpress-popular-posts.php:613
    585649msgid " view(s) per day"
    586650msgstr "vista(s) por d&iacute;a"
    587651
    588 #: wordpress-popular-posts.php:865
     652#: wordpress-popular-posts.php:626
     653#: wordpress-popular-posts.php:628
     654msgid "by"
     655msgstr "por"
     656
     657#: wordpress-popular-posts.php:633
     658#: wordpress-popular-posts.php:635
     659msgid "posted on"
     660msgstr "publicado el"
     661
     662#: wordpress-popular-posts.php:921
    589663msgid "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires at least version 2.8 to function correctly. Please update your blog via Tools &gt; Upgrade."
    590664msgstr "Tu versi&oacute;n de Wordpress es muy antigua. El plugin Wordpress Popular Posts requiere al menos la versi&oacute;n 2.8 para funcionar correctamente. Por favor actualiza tu blog via Herramientas &gt; Actualizar."
    591665
     666#: wordpress-popular-posts.php:1037
     667msgid "Wordpress Popular Posts Stats"
     668msgstr "Estad&iacute;sticas de Wordpress Popular Posts"
     669
  • wordpress-popular-posts/trunk/wordpress-popular-posts.php

    r207603 r224824  
    22/*
    33Plugin Name: Wordpress Popular Posts
    4 Plugin URI: http://wordpress.org/extend/plugins/wordpress-popular-posts/
    5 Description: Retrieves the most active entries of your blog and displays them with your own formatting (<em>optional</em>). Use it as a widget or place it in your templates using  <strong>&lt;?php get_mostpopular(); ?&gt;</strong>
    6 Version: 2.0.2
     4Plugin URI: http://wordpress.org/extend/plugins/wordpress-popular-posts
     5Description: Showcases your most popular posts to your visitors on your blog's sidebar. Use Wordpress Popular Posts as a widget or place it anywhere on your theme using  <strong>&lt;?php wpp_get_mostpopular(); ?&gt;</strong>
     6Version: 2.0.3
    77Author: H&eacute;ctor Cabrera
    8 Author URI: http://wordpress.org/extend/plugins/wordpress-popular-posts/
     8Author URI: http://wordpress.org/extend/plugins/wordpress-popular-posts
     9License: GPL2
    910*/
     11
     12if (basename($_SERVER['SCRIPT_NAME']) == basename(__FILE__)) exit('Please do not load this page directly');
    1013
    1114/**
     
    2629    class WordpressPopularPosts extends WP_Widget {
    2730        // plugin global variables
    28         var $version = "2.0.2";
     31        var $version = "2.0.3";
    2932        var $qTrans = false;
    3033        var $postRating = false;
     
    6972           
    7073            // cache maintenance schedule
    71             register_activation_hook(__FILE__, array(&$this, 'wpp_cache_schedule'));
     74            register_deactivation_hook(__FILE__, array(&$this, 'wpp_deactivation'));           
    7275            add_action('wpp_cache_event', array(&$this, 'wpp_cache_maintenance'));
    73             register_deactivation_hook(__FILE__, array(&$this, 'wpp_deactivation'));
     76            if (!wp_next_scheduled('wpp_cache_event')) {
     77                $tomorrow = time() + 86400;
     78                $midnight  = mktime(0, 0, 0,
     79                    date("m", $tomorrow),
     80                    date("d", $tomorrow),
     81                    date("Y", $tomorrow));
     82                wp_schedule_event( $midnight, 'daily', 'wpp_cache_event' );
     83            }
    7484           
    7585            // Wordpress version check
     
    90100                add_shortcode('WPP', array(&$this, 'wpp_shortcode'));
    91101            }
    92         }       
     102           
     103            // set version
     104            $wpp_ver = get_option('wpp_ver');
     105            if (!$wp_ver) add_option('wpp_ver', $this->version);
     106           
     107            // add stats page
     108            add_action('admin_menu', array(&$this, 'wpp_stats'));
     109        }
    93110
    94111        // builds Wordpress Popular Posts' widgets
    95112        function widget($args, $instance) {
    96113            extract($args);
     114            echo "<!-- Wordpress Popular Posts Plugin v". $this->version ." [W] [".$instance['range']."] -->"."\n";
    97115            echo $before_widget;
    98116           
     
    108126            echo $this->get_popular_posts($instance, false);
    109127            echo $after_widget;
     128            echo "<!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
    110129        }
    111130
     
    141160            $instance['stats_tag']['views'] = $new_instance['views'];
    142161            $instance['stats_tag']['author'] = $new_instance['author'];
    143             $instance['stats_tag']['date'] = $new_instance['date'];
     162            $instance['stats_tag']['date']['active'] = $new_instance['date'];
     163            $instance['stats_tag']['date']['format'] = empty($new_instance['date_format']) ? 'F j, Y' : $new_instance['date_format'];
    144164            $instance['markup']['custom_html'] = $new_instance['custom_html'];
    145165            $instance['markup']['wpp-start'] = empty($new_instance['wpp-start']) ? '&lt;ul&gt;' : htmlspecialchars( $new_instance['wpp-start'], ENT_QUOTES );
     
    187207                    'views' => false,
    188208                    'author' => false,
    189                     'date' => false
     209                    'date' => array(
     210                        'active' => false,
     211                        'format' => 'F j, Y'
     212                    )
    190213                ),
    191214                'markup' => array(
     
    238261            <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
    239262            <?php if ($instance['post-excerpt']['active']) : ?>
    240             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
    241             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>"><?php _e('Excerpt length:', 'wordpress-popular-posts'); ?> <input 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:30px!important" /> <?php _e('characters', 'wordpress-popular-posts'); ?></label><br /><br />           
    242             <?php endif; ?>
    243            
     263            <fieldset class="widefat">
     264                <legend><?php _e('Excerpt Properties', 'wordpress-popular-posts'); ?></legend>
     265                &nbsp;&nbsp;<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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
     266                &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'post-excerpt-length' ); ?>"><?php _e('Excerpt length:', 'wordpress-popular-posts'); ?> <input 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:30px!important" /> <?php _e('characters', 'wordpress-popular-posts'); ?></label>
     267            </fieldset>
     268            <br />
     269            <?php endif; ?>           
    244270            <input type="checkbox" class="checkbox" <?php echo ($instance['exclude-cats']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'exclude-cats' ); ?>" name="<?php echo $this->get_field_name( 'exclude-cats' ); ?>" /> <label for="<?php echo $this->get_field_id( 'exclude-cats' ); ?>"><?php _e('Exclude categories', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
    245271            <?php if ($instance['exclude-cats']['active']) : ?>
    246             <label for="<?php echo $this->get_field_id( 'excluded' ); ?>"><?php _e('ID(s) to exclude (comma separated, no spaces):', 'wordpress-popular-posts'); ?></label><br /><input id="<?php echo $this->get_field_id( 'excluded' ); ?>" name="<?php echo $this->get_field_name( 'excluded' ); ?>" value="<?php echo $instance['exclude-cats']['cats']; ?>" class="widefat" /><br /><br />
     272            <fieldset class="widefat">
     273                <legend><?php _e('Categories to exclude', 'wordpress-popular-posts'); ?></legend>
     274                &nbsp;&nbsp;<label for="<?php echo $this->get_field_id( 'excluded' ); ?>"><?php _e('ID(s) (comma separated, no spaces):', 'wordpress-popular-posts'); ?></label><br />&nbsp;&nbsp;<input id="<?php echo $this->get_field_id( 'excluded' ); ?>" name="<?php echo $this->get_field_name( 'excluded' ); ?>" value="<?php echo $instance['exclude-cats']['cats']; ?>" class="widefat" style="width:150px" /><br /><br />
     275            </fieldset>
     276            <br />
    247277            <?php endif; ?>
    248278           
    249279            <input type="checkbox" class="checkbox" <?php echo ($instance['thumbnail']['active']) ? '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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
    250280            <?php if($instance['thumbnail']['active']) : ?>
    251             <label for="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php _e('Width:', 'wordpress-popular-posts'); ?></label>
    252             <input 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="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?> <br />
    253             <label for="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php _e('Height:', 'wordpress-popular-posts'); ?></label>
    254             <input id="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-height' ); ?>" value="<?php echo $instance['thumbnail']['height']; ?>"  class="widefat" style="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?><br />
     281            <fieldset class="widefat">
     282                <legend><?php _e('Thumbnail Dimensions', 'wordpress-popular-posts'); ?></legend>
     283                    <label for="<?php echo $this->get_field_id( 'thumbnail-width' ); ?>">&nbsp;&nbsp;<?php _e('Width:', 'wordpress-popular-posts'); ?></label>
     284                    <input 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="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?> <br />
     285                    <label for="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>">&nbsp;&nbsp;<?php _e('Height:', 'wordpress-popular-posts'); ?></label>
     286                    <input id="<?php echo $this->get_field_id( 'thumbnail-height' ); ?>" name="<?php echo $this->get_field_name( 'thumbnail-height' ); ?>" value="<?php echo $instance['thumbnail']['height']; ?>"  class="widefat" style="width:30px!important" <?php echo ($this->thumb) ? '' : 'disabled="disabled"' ?> /> <?php _e('px', 'wordpress-popular-posts'); ?><br />
     287            </fieldset>
    255288            <?php endif; ?>
    256289            <br />
     
    260293                <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />           
    261294                <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />           
    262                 <input type="checkbox" class="checkbox" <?php echo ($instance['stats_tag']['date']) ? '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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small>           
     295                <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small>
     296                <?php if ($instance['stats_tag']['date']['active']) : ?>                   
     297                    <fieldset class="widefat">
     298                        <legend><?php _e('Date Format', 'wordpress-popular-posts'); ?></legend>
     299                        <label title='F j, Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='F j, Y' <?php echo ($instance['stats_tag']['date']['format'] == 'F j, Y') ? 'checked="checked"' : ''; ?> /><?php echo date('F j, Y', time()); ?></label><br />
     300                        <label title='Y/m/d'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='Y/m/d' <?php echo ($instance['stats_tag']['date']['format'] == 'Y/m/d') ? 'checked="checked"' : ''; ?> /><?php echo date('Y/m/d', time()); ?></label><br />
     301                        <label title='m/d/Y'><input type='radio' name='<?php echo $this->get_field_name( 'date_format' ); ?>' value='m/d/Y' <?php echo ($instance['stats_tag']['date']['format'] == 'm/d/Y') ? 'checked="checked"' : ''; ?> /><?php echo date('m/d/Y', time()); ?></label><br />
     302                        <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('d/m/Y', time()); ?></label><br />
     303                    </fieldset>
     304                <?php endif; ?>
    263305            </fieldset>
    264306            <br /><br />
    265307            <fieldset style="width:214px; padding:5px;"  class="widefat">
    266308                <legend><?php _e('HTML Markup settings', 'wordpress-popular-posts'); ?></legend>
    267                 <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br /><br />
     309                <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 bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
     310                <?php if ($instance['markup']['custom_html']) : ?>
     311                <br />
    268312                <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 />
    269313                <input type="text" id="<?php echo $this->get_field_id( 'title-start' ); ?>" name="<?php echo $this->get_field_name( 'title-start' ); ?>" value="<?php echo $instance['markup']['title-start']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /> <input type="text" id="<?php echo $this->get_field_id( 'title-end' ); ?>" name="<?php echo $this->get_field_name( 'title-end' ); ?>" value="<?php echo $instance['markup']['title-end']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /></p>
     
    273317                <input type="text" id="<?php echo $this->get_field_id( 'post-start' ); ?>" name="<?php echo $this->get_field_name( 'post-start' ); ?>" value="<?php echo $instance['markup']['post-start']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /> <input type="text" id="<?php echo $this->get_field_id( 'post-end' ); ?>" name="<?php echo $this->get_field_name( 'post-end' ); ?>" value="<?php echo $instance['markup']['post-end']; ?>" class="widefat" style="width:80px!important" <?php echo ($instance['markup']['custom_html']) ? '' : 'disabled="disabled"' ?> /></p>
    274318                <hr />
    275                 <input type="checkbox" class="checkbox" <?php echo ($instance['markup']['pattern']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'pattern_active' ); ?>" name="<?php echo $this->get_field_name( 'pattern_active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'pattern_active' ); ?>"><?php _e('Use content formatting tags', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br /><br />
     319                <?php endif; ?>
     320                <input type="checkbox" class="checkbox" <?php echo ($instance['markup']['pattern']['active']) ? 'checked="checked"' : ''; ?> id="<?php echo $this->get_field_id( 'pattern_active' ); ?>" name="<?php echo $this->get_field_name( 'pattern_active' ); ?>" /> <label for="<?php echo $this->get_field_id( 'pattern_active' ); ?>"><?php _e('Use content formatting tags', 'wordpress-popular-posts'); ?></label> <small>[<a href="<?php echo bloginfo('url'); ?>/wp-admin/options-general.php?page=wordpress-popular-posts/wordpress-popular-posts.php">?</a>]</small><br />
     321                <?php if ($instance['markup']['pattern']['active']) : ?>
     322                <br />
    276323                <p style="font-size:11px"><label for="<?php echo $this->get_field_id( 'pattern_form' ); ?>"><?php _e('Content format:', 'wordpress-popular-posts'); ?></label>
    277324                <input type="text" id="<?php echo $this->get_field_id( 'pattern_form' ); ?>" name="<?php echo $this->get_field_name( 'pattern_form' ); ?>" value="<?php echo $instance['markup']['pattern']['form']; ?>" style="width:204px" <?php echo ($instance['markup']['pattern']['active']) ? '' : 'disabled="disabled"' ?> /></p>
     325                <?php endif; ?>
    278326            </fieldset>
    279327            <?php // end form   
     
    482530                }
    483531            }
    484             if ( $instance['stats_tag']['date'] ) {
     532            if ( $instance['stats_tag']['date']['active'] ) {
    485533                if ( $fields != ', ' ) {
    486534                    $fields .= ", $wpdb->posts.post_date_gmt AS 'date_gmt'";
     
    514562           
    515563            if ( !is_array($mostpopular) || empty($mostpopular) ) {
    516                 $content .= "<p>".__('Sorry. No data so far.', 'wordpress-popular-posts')."</p>";
     564                $content .= "<p>".__('Sorry. No data so far.', 'wordpress-popular-posts')."</p>"."\n";
    517565            } else {
    518566                if ($instance['markup']['custom_html']) {
    519                     $content .= "\n" . htmlspecialchars_decode($instance['markup']['wpp-start'], ENT_QUOTES) . "<!-- Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
     567                    $content .= htmlspecialchars_decode($instance['markup']['wpp-start'], ENT_QUOTES) ."\n";
    520568                } else {
    521                     $content .= "\n"."<ul><!-- Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
    522                 }
    523                 //$stat_count = 0;
     569                    $content .= "<ul>" . "\n";
     570                }
    524571               
    525572                foreach ($mostpopular as $wppost) {                 
     
    535582                   
    536583                    $tit = stripslashes($tit);
     584                    $title_attr = $tit;
    537585                   
    538586                    if ( $instance['shorten_title']['active'] && (strlen($tit) > $instance['shorten_title']['length'])) {
     
    561609                        if ($instance['order_by'] == 'views') {
    562610                            $pageviews = (int) $wppost->pageviews;
    563                         } else if ($instance['order_by'] == 'avg' && $instance['range'] != 'daily') {                           
     611                        } else if ($instance['order_by'] == 'avg') {
    564612                            $pageviews = ceil($wppost->avg_views);
    565                             $views_text = __(' view(s) per day', 'wordpress-popular-posts');
     613                            if ($instance['range'] != 'daily') $views_text = __(' view(s) per day', 'wordpress-popular-posts');
    566614                        } else {
    567615                            $pageviews = (int) $wppost->pageviews;
     
    576624                    if ( $instance['stats_tag']['author'] ) {
    577625                        if ($post_stats != "") {
    578                             $post_stats .= " | by <span class=\"wpp-author\">".$wppost->display_name."</span>";
     626                            $post_stats .= " | ".__('by', 'wordpress-popular-posts')." <span class=\"wpp-author\">".$wppost->display_name."</span>";
    579627                        } else {                   
    580                             $post_stats .= "by <span class=\"wpp-author\">".$wppost->display_name."</span>";
     628                            $post_stats .= __('by', 'wordpress-popular-posts')." <span class=\"wpp-author\">".$wppost->display_name."</span>";
    581629                        }
    582630                    }
    583                     if ( $instance['stats_tag']['date'] ) {
     631                    if ( $instance['stats_tag']['date']['active'] ) {
    584632                        if ($post_stats != "") {
    585                             $post_stats .= " | <span class=\"wpp-date\">posted on ".date("F, j",strtotime($wppost->date_gmt))."</span>";
     633                            $post_stats .= " | <span class=\"wpp-date\">".__('posted on', 'wordpress-popular-posts')." ".date($instance['stats_tag']['date']['format'], strtotime($wppost->date_gmt))."</span>";
    586634                        } else {                   
    587                             $post_stats .= "<span class=\"wpp-date\">posted on ".date("F, j",strtotime($wppost->date_gmt))."</span>";
     635                            $post_stats .= "<span class=\"wpp-date\">".__('posted on', 'wordpress-popular-posts')." ".date($instance['stats_tag']['date']['format'], strtotime($wppost->date_gmt))."</span>";
    588636                        }
    589637                    }
     
    600648                            $thumb = "";
    601649                        } else {
    602                             $thumb = "<a href=\"".get_permalink($wppost->ID)."\" title=\"". htmlspecialchars(stripslashes($tit)) ."\"><img src=\"". $this->pluginDir . "/scripts/timthumb.php?src=". $img[1] ."&amp;h=".$instance['thumbnail']['height']."&amp;w=".$instance['thumbnail']['width']."&amp;zc=1\" alt=\"".$wppost->post_title."\" border=\"0\" class=\"wpp-thumbnail\" width=\"".$instance['thumbnail']['width']."\" height=\"".$instance['thumbnail']['height']."\" "."/></a>";
     650                            $thumb = "<a href=\"".get_permalink($wppost->ID)."\" title=\"". htmlspecialchars($title_attr) ."\"><img src=\"". $this->pluginDir . "/scripts/timthumb.php?src=". $img[1] ."&amp;h=".$instance['thumbnail']['height']."&amp;w=".$instance['thumbnail']['width']."&amp;zc=1\" alt=\"".$wppost->post_title."\" border=\"0\" class=\"wpp-thumbnail\" width=\"".$instance['thumbnail']['width']."\" height=\"".$instance['thumbnail']['height']."\" "."/></a>";
    603651                        }
    604652                                               
     
    613661                   
    614662                    $data = array(
    615                         'title' => '<a href="'.get_permalink($wppost->ID).'" title="'. htmlspecialchars(stripslashes($tit)) .'">'. htmlspecialchars_decode($post_title) .'</a>',
     663                        'title' => '<a href="'.get_permalink($wppost->ID).'" title="'. htmlspecialchars($title_attr) .'">'. htmlspecialchars_decode($post_title) .'</a>',
    616664                        'summary' => $post_content,
    617665                        'stats' => $stats,
     
    625673                            $content .= htmlspecialchars_decode($instance['markup']['post-start'], ENT_QUOTES) . $this->format_content($instance['markup']['pattern']['form'], $data, $instance['rating']) . htmlspecialchars_decode($instance['markup']['post-end'], ENT_QUOTES) . "\n";
    626674                        } else {
    627                             $content .= htmlspecialchars_decode($instance['markup']['post-start'], ENT_QUOTES) . $thumb . '<a href="'.get_permalink($wppost->ID).'" title="'. htmlspecialchars(stripslashes($tit)) .'">'. htmlspecialchars_decode($post_title) .'</a>'.$post_content.' '. $stats . $rating . htmlspecialchars_decode($instance['markup']['post-end'], ENT_QUOTES) . "\n";
     675                            $content .= htmlspecialchars_decode($instance['markup']['post-start'], ENT_QUOTES) . $thumb . '<a href="'.get_permalink($wppost->ID).'" title="'. htmlspecialchars($title_attr) .'">'. htmlspecialchars_decode($post_title) .'</a>'.$post_content.' '. $stats . $rating . htmlspecialchars_decode($instance['markup']['post-end'], ENT_QUOTES) . "\n";
    628676                        }
    629677                    } else {
    630                         $content .= '<li>'. $thumb .'<a href="'. get_permalink($wppost->ID) .'" title="'. htmlspecialchars(stripslashes($tit)) .'">'. htmlspecialchars_decode($post_title) .'</a>'. $post_content .' '. $stats . $rating .'</li>' . "\n";
     678                        $content .= '<li>'. $thumb .'<a href="'. get_permalink($wppost->ID) .'" title="'. htmlspecialchars($title_attr) .'">'. htmlspecialchars_decode($post_title) .'</a>'. $post_content .' '. $stats . $rating .'</li>' . "\n";
    631679                    }
    632680                }           
    633681               
    634682                if ($instance['markup']['custom_html']) {
    635                     $content .= htmlspecialchars_decode($instance['markup']['wpp-end'], ENT_QUOTES) . "<!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
     683                    $content .= htmlspecialchars_decode($instance['markup']['wpp-end'], ENT_QUOTES) ."\n";
    636684                } else {
    637                     $content .= "\n"."</ul><!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
     685                    $content .= "\n"."</ul>"."\n";
    638686                }
    639687               
     
    653701           
    654702            if (empty($result[0]['post_excerpt'])) {
    655                 // no custom excerpt defined, how lazy of you!
    656                
     703                // no custom excerpt defined, how lazy of you!             
    657704                $result = $wpdb->get_results("SELECT post_content FROM $wpdb->posts WHERE ID = " . $id, ARRAY_A);
    658705                $excerpt = preg_replace("/\[caption.*\[\/caption\]/", "", $result[0]['post_content']);
     
    662709            }
    663710           
     711            $excerpt = preg_replace("/<object[0-9 a-z_?*=\":\-\/\.#\,\\n\\r\\t]+/smi", "", $excerpt);
     712           
    664713            if ($instance['post-excerpt']['keep_format']) {
    665714                $excerpt = strip_tags($excerpt, '<a><b><i><strong><em>');
     
    685734           
    686735            $source = strip_tags($raw[0]["post_content"], "<img>");
     736            $source = preg_replace("/<object[0-9 a-z_?*=\":\-\/\.#\,\\n\\r\\t]+/smi", "", $source); // remove Flash
    687737       
    688738            $count = substr_count($source, '<img');         
     
    745795       
    746796        // code seen at http://www.gsdesign.ro/blog/cut-html-string-without-breaking-the-tags/
    747         // slightly modified by Hector Cabrera
    748797        // Since 2.0.1
    749798        /**
    750         * Truncates text.
    751         *
    752         * Cuts a string to the length of $length and replaces the last characters
    753         * with the ending if the text is longer than length.
    754         *
    755         * @param string  $text String to truncate.
    756         * @param integer $length Length of returned string, including ellipsis.
    757         * @param string  $ending Ending to be appended to the trimmed string.
    758         * @param boolean $exact If false, $text will not be cut mid-word
    759         * @param boolean $considerHtml If true, HTML tags would be handled correctly
    760         * @return string Trimmed string.
    761         */     
     799         * Truncates text.
     800         *
     801         * Cuts a string to the length of $length and replaces the last characters
     802         * with the ending if the text is longer than length.
     803         *
     804         * @param string  $text String to truncate.
     805         * @param integer $length Length of returned string, including ellipsis.
     806         * @param string  $ending Ending to be appended to the trimmed string.
     807         * @param boolean $exact If false, $text will not be cut mid-word
     808         * @param boolean $considerHtml If true, HTML tags would be handled correctly
     809         * @return string Trimmed string.
     810         */     
    762811        function truncate($text, $length = 100, $ending = '...', $exact = true, $considerHtml = false) {
    763812            if ($considerHtml) {
     
    827876                    return $text;
    828877                } else {
    829                     $truncate = substr($text, 0, $length - strlen($ending));                   
    830                     //$truncate = substr($text, 0, $length); // modified by Hector Cabrera
     878                    $truncate = substr($text, 0, $length - strlen($ending));
    831879                }
    832880            }
     
    876924       
    877925        // cache maintenance
    878         function wpp_cache_schedule() {
    879             $tomorrow = time() + 86400;
    880             $midnight  = mktime(0, 0, 0,
    881                 date("m", $tomorrow),
    882                 date("d", $tomorrow),
    883                 date("Y", $tomorrow));
    884             wp_schedule_event($midnight, 'daily', 'wpp_cache_event');
    885         }
    886        
    887926        function wpp_cache_maintenance() {
    888927            global $wpdb;
    889             $wpdb->query("DELETE FROM ".$wpdb->prefix."popularpostscache WHERE day < DATE_SUB(CURDATE(), INTERVAL 30 DAY);");
     928            $wpdb->query("DELETE FROM ".$wpdb->prefix."popularpostsdatacache WHERE day < DATE_SUB(CURDATE(), INTERVAL 30 DAY);");
    890929        }
    891930       
     
    915954                'stats_views' => false,
    916955                'stats_author' => false,
    917                 'stats_date' => false,             
     956                'stats_date' => false,
     957                'stats_date_format' => 'F j, Y',
    918958                'wpp_start' => '<ul>',
    919959                'wpp_end' => '</ul>',
     
    928968            // possible values for "Time Range" and "Order by"
    929969            $range_values = array("daily", "weekly", "monthly", "all");
    930             $order_by_values = array("comments", "views", "avg");           
     970            $order_by_values = array("comments", "views", "avg");
    931971           
    932972            $shortcode_ops = array(
     
    959999                    'views' => empty($stats_views) ? false : $stats_views,
    9601000                    'author' => empty($stats_author) ? false : $stats_author,
    961                     'date' => empty($stats_date) ? false : $stats_date
     1001                    'date' => array(
     1002                        'active' => empty($stats_date) ? false : $stats_date,
     1003                        'format' => empty($stats_date_format) ? 'F j, Y' : $stats_date_format
     1004                    )
    9621005                ),
    9631006                'markup' => array(
     
    9761019            );
    9771020           
     1021            echo "<!-- Wordpress Popular Posts Plugin v". $this->version ." [SC] [".$shortcode_ops['range']."] -->"."\n";
     1022           
    9781023            // is there a title defined by user?
    9791024            if (!empty($header) && !empty($header_start) && !empty($header_end)) {
     
    9841029            echo $this->get_popular_posts($shortcode_ops, false);
    9851030           
    986         }
     1031            echo "<!-- End Wordpress Popular Posts Plugin v". $this->version ." -->"."\n";
     1032        }
     1033       
     1034        // stats page
     1035        // Since 2.0.3
     1036        function wpp_stats() {
     1037            if ( function_exists('add_submenu_page') ) add_submenu_page('index.php', __('Wordpress Popular Posts Stats'), __('Wordpress Popular Posts Stats'), 'manage_options', 'wpp-stats-display', array(&$this, 'wpp_stats_display'));
     1038        }
     1039       
     1040        function wpp_stats_display() {
     1041            require (dirname(__FILE__) . '/stats.php');
     1042        }
    9871043    }
    9881044}
     
    10131069
    10141070// gets popular posts
    1015 function get_mostpopular($args = NULL) {
     1071// Since 2.0.3
     1072function wpp_get_mostpopular($args = NULL) {
    10161073
    10171074    if (is_null($args)) {
     
    10231080}
    10241081
    1025 
     1082// gets popular posts
    10261083/**
    1027  * Wordpress Popular Posts 2.0.2 Changelog.
     1084 * Deprecated in 2.0.3.
     1085 * Use wpp_get_mostpopular instead.
    10281086 */
     1087function get_mostpopular($args = NULL) {
     1088    return wpp_get_mostpopular($args);
     1089}
     1090
     1091
     1092/**
     1093 * Wordpress Popular Posts 2.0.3 Changelog.
     1094 */
    10291095
    10301096/*
    1031  = 2.0.2 =
    1032 * "Keep text format and links" feature introduced. If selected, formatting tags and hyperlinks won't be removed from excerpt.
    1033 * Post title excerpt html entities bug fixed. It was causing the excerpt function to display more characters than the requested by user.
    1034 * Several shortcode bugs fixed (range, order_by, do_pattern, pattern_form were not working).
     1097 = 2.0.3 =
     1098 * Several UI enhancements were applied to this version.
     1099 * Added a Dashboard to Admin panel so users can view what's popular directly from there.
     1100 * Users can now select a different date format.
     1101 * get_mostpopular() function deprecated. Replaced with wpp_get_mostpopular().
     1102 * Cache maintenance bug fixed.
    10351103*/
  • wordpress-popular-posts/trunk/wordpress-popular-posts.po

    r196376 r224824  
    33"Project-Id-Version: Wordpress Popular Posts\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2010-01-21 15:15-0430\n"
     5"POT-Creation-Date: 2010-04-03 10:54-0400\n"
    66"PO-Revision-Date: \n"
    7 "Last-Translator: Héctor Cabrera <admin@rauru.com>\n"
     7"Last-Translator: Héctor Cabrera <yo@soyunduro.com>\n"
    88"Language-Team: Héctor Cabrera <[email protected]>\n"
    99"MIME-Version: 1.0\n"
     
    1717"X-Poedit-SearchPath-0: .\n"
    1818
    19 #: maintenance.php:56
     19#: maintenance.php:58
    2020msgid "This operation will delete all entries from Wordpress Popular Posts' cache table and cannot be undone."
    2121msgstr ""
    2222
    23 #: maintenance.php:56
    24 #: maintenance.php:64
     23#: maintenance.php:58
     24#: maintenance.php:66
    2525msgid "Do you want to continue?"
    2626msgstr ""
    2727
    28 #: maintenance.php:64
     28#: maintenance.php:66
    2929msgid "This operation will delete all stored info from Wordpress Popular Posts' data tables and cannot be undone."
    3030msgstr ""
    3131
    32 #: maintenance.php:75
     32#: maintenance.php:78
    3333msgid "Whoa! What just happened in here?!"
    3434msgstr ""
    3535
    36 #: maintenance.php:76
     36#: maintenance.php:79
    3737msgid "Previous users of Wordpress Popular Posts will remember that earlier versions of my plugin used to display a Settings page over here. However, from version 2.0 and on things will be slightly different."
    3838msgstr ""
    3939
    40 #: maintenance.php:77
     40#: maintenance.php:80
    4141msgid "Wordpress Popular Posts has gone multi-widget so now you'll be able to install multiple instances of my plugin on your sidebars, each with its own unique settings! Because of that, having a General Settings page to handle all instances is simply not a good idea. Fear not, my friend, since you still can set each instance's configuration via"
    4242msgstr ""
    4343
    44 #: maintenance.php:77
     44#: maintenance.php:80
    4545msgid "Widgets page"
    4646msgstr ""
    4747
    48 #: maintenance.php:81
     48#: maintenance.php:84
    4949msgid "Help"
    5050msgstr ""
    5151
    52 #: maintenance.php:82
     52#: maintenance.php:85
    5353msgid "What does \"Include pages\" do?"
    5454msgstr ""
    5555
    56 #: maintenance.php:84
     56#: maintenance.php:87
    5757msgid "If checked, Wordpress Popular Posts will also list the most viewed pages on your blog. Enabled by default."
    5858msgstr ""
    5959
    60 #: maintenance.php:86
     60#: maintenance.php:89
    6161msgid "What does \"Display post rating\" do?"
    6262msgstr ""
    6363
    64 #: maintenance.php:88
     64#: maintenance.php:91
    6565msgid "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. Disabled by default."
    6666msgstr ""
    6767
    68 #: maintenance.php:90
     68#: maintenance.php:93
    6969msgid "What does \"Shorten title output\" do?"
    7070msgstr ""
    7171
    72 #: maintenance.php:92
     72#: maintenance.php:95
    7373msgid "If checked, all posts titles will be shortened to \"n\" characters. A new \"Shorten title to\" option will appear so you can set it to whatever you like. Disabled by default."
    7474msgstr ""
    7575
    76 #: maintenance.php:94
     76#: maintenance.php:97
    7777msgid "What does \"Display post excerpt\" do?"
    7878msgstr ""
    7979
    80 #: maintenance.php:96
     80#: maintenance.php:99
    8181msgid "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. Disabled by default."
    8282msgstr ""
    8383
    84 #: maintenance.php:98
     84#: maintenance.php:101
     85msgid "What does \"Keep text format and links\" do?"
     86msgstr ""
     87
     88#: maintenance.php:103
     89msgid "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."
     90msgstr ""
     91
     92#: maintenance.php:105
    8593msgid "What does \"Exclude Categories\" do?"
    8694msgstr ""
    8795
    88 #: maintenance.php:100
     96#: maintenance.php:107
    8997msgid "If checked, Wordpress Popular Posts will exclude from the listing all those entries that belong to specific categories. When entering more than one Category ID, you need to use commas to separate them (eg. 1,5,12 - no spaces!). Disabled by default."
    9098msgstr ""
    9199
    92 #: maintenance.php:102
     100#: maintenance.php:109
    93101msgid "What does \"Display post thumbnail\" do?"
    94102msgstr ""
    95103
    96 #: maintenance.php:104
     104#: maintenance.php:111
    97105msgid "If checked, Wordpress Popular Posts will attempt to find the very first image of each post in the listing and turn it into a thumbnail. Note that for this option to work you must check that: your current web host is running PHP 4.3+ or higher and the GD Library is installed and enabled; also that your \"wordpress-popular-posts/scripts/cache\" directory exists and is writable. Disabled by default."
    98106msgstr ""
    99107
    100 #: maintenance.php:106
     108#: maintenance.php:113
    101109msgid "What does \"Display comment count\" do?"
    102110msgstr ""
    103111
    104 #: maintenance.php:108
     112#: maintenance.php:115
    105113msgid "If checked, Wordpress Popular Posts will display how many comments each popular post has got until now. Enabled by default."
    106114msgstr ""
    107115
    108 #: maintenance.php:110
     116#: maintenance.php:117
    109117msgid "What does \"Display views\" do?"
    110118msgstr ""
    111119
    112 #: maintenance.php:112
     120#: maintenance.php:119
    113121msgid "If checked, Wordpress Popular Posts will show how many pageviews a single post has gotten so far since this plugin was installed. Disabled by default."
    114122msgstr ""
    115123
    116 #: maintenance.php:114
     124#: maintenance.php:121
    117125msgid "What does \"Display author\" do?"
    118126msgstr ""
    119127
    120 #: maintenance.php:116
     128#: maintenance.php:123
    121129msgid "If checked, Wordpress Popular Posts will display the name of the author of each entry listed. Disabled by default."
    122130msgstr ""
    123131
    124 #: maintenance.php:118
     132#: maintenance.php:125
    125133msgid "What does \"Display date\" do?"
    126134msgstr ""
    127135
    128 #: maintenance.php:120
     136#: maintenance.php:127
    129137msgid "If checked, Wordpress Popular Posts will display the date when each popular posts was published. Disabled by default."
    130138msgstr ""
    131139
    132 #: maintenance.php:122
     140#: maintenance.php:129
    133141msgid "What does \"Use custom HTML Markup\" do?"
    134142msgstr ""
    135143
    136 #: maintenance.php:124
     144#: maintenance.php:131
    137145msgid "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! Disabled by default."
    138146msgstr ""
    139147
    140 #: maintenance.php:126
     148#: maintenance.php:133
    141149msgid "What does \"Use content formatting tags\" do?"
    142150msgstr ""
    143151
    144 #: maintenance.php:128
     152#: maintenance.php:135
    145153msgid "If checked, you can decide the order of the items displayed on each entry. For example, setting it to \"{title}: {summary}\" (without the quotes) would display \"Post title: excerpt of the post here\". Available tags: {image}, {title}, {summary}, {stats} and {rating}. Disabled by default."
    146154msgstr ""
    147155
    148 #: maintenance.php:130
     156#: maintenance.php:137
    149157msgid "What are \"Template Tags\"?"
    150158msgstr ""
    151159
    152 #: maintenance.php:132
     160#: maintenance.php:139
    153161msgid "Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: get_mostpopular() and wpp_get_views()."
    154162msgstr ""
    155163
    156 #: maintenance.php:134
     164#: maintenance.php:141
    157165msgid "What are the template tags that Wordpress Popular Posts supports?"
    158166msgstr ""
    159167
    160 #: maintenance.php:136
     168#: maintenance.php:143
    161169msgid "The following are the template tags supported by Wordpress Popular Posts:"
    162170msgstr ""
    163171
    164 #: maintenance.php:139
     172#: maintenance.php:146
    165173msgid "Template tag"
    166174msgstr ""
    167175
    168 #: maintenance.php:140
    169 #: maintenance.php:168
     176#: maintenance.php:147
     177#: maintenance.php:175
    170178msgid "What it does "
    171179msgstr ""
    172180
    173 #: maintenance.php:141
     181#: maintenance.php:148
    174182msgid "Parameters"
    175183msgstr ""
    176184
    177 #: maintenance.php:142
    178 #: maintenance.php:170
     185#: maintenance.php:149
     186#: maintenance.php:178
    179187msgid "Example"
    180188msgstr ""
    181189
    182 #: maintenance.php:146
     190#: maintenance.php:153
    183191msgid "Similar to the widget functionality, this tag retrieves the most popular posts on your blog. While it can be customized via parameters, these are not needed for it to work."
    184192msgstr ""
    185193
    186 #: maintenance.php:147
     194#: maintenance.php:154
    187195msgid "Please refer to \"What attributes does Wordpress Popular Posts shortcode [wpp] have?\""
    188196msgstr ""
    189197
    190 #: maintenance.php:152
     198#: maintenance.php:159
    191199msgid "Displays the number of views of a single post. Post ID required, or it will return false."
    192200msgstr ""
    193201
    194 #: maintenance.php:153
     202#: maintenance.php:160
    195203msgid "Post ID"
    196204msgstr ""
    197205
    198 #: maintenance.php:158
     206#: maintenance.php:165
    199207msgid "What are \"shortcodes\"?"
    200208msgstr ""
    201209
    202 #: maintenance.php:160
     210#: maintenance.php:167
    203211msgid "Shortcodes are hooks that 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"
    204212msgstr ""
    205213
    206 #: maintenance.php:162
     214#: maintenance.php:169
    207215msgid "What attributes does Wordpress Popular Posts shortcode [wpp] have?"
    208216msgstr ""
    209217
    210 #: maintenance.php:164
     218#: maintenance.php:171
    211219msgid "There are a number of attributes Wordpress Popular Posts currently supports:"
    212220msgstr ""
    213221
    214 #: maintenance.php:167
     222#: maintenance.php:174
    215223msgid "Attributes"
    216224msgstr ""
    217225
    218 #: maintenance.php:169
     226#: maintenance.php:176
    219227msgid "Possible values"
    220228msgstr ""
    221229
    222 #: maintenance.php:174
     230#: maintenance.php:177
     231msgid "Defaults to"
     232msgstr ""
     233
     234#: maintenance.php:182
    223235msgid "Sets a heading for the list"
    224236msgstr ""
    225237
    226 #: maintenance.php:175
    227 #: maintenance.php:181
    228 #: maintenance.php:187
    229 #: maintenance.php:229
    230 #: maintenance.php:277
    231 #: maintenance.php:283
    232 #: maintenance.php:289
    233 #: maintenance.php:295
     238#: maintenance.php:183
     239#: maintenance.php:190
     240#: maintenance.php:197
     241#: maintenance.php:253
     242#: maintenance.php:309
     243#: maintenance.php:316
     244#: maintenance.php:323
     245#: maintenance.php:330
     246#: maintenance.php:337
    234247msgid "Text string"
    235248msgstr ""
    236249
    237 #: maintenance.php:180
     250#: maintenance.php:184
     251#: wordpress-popular-posts.php:181
     252msgid "Popular Posts"
     253msgstr ""
     254
     255#: maintenance.php:189
    238256msgid "Set the opening tag for the heading of the list"
    239257msgstr ""
    240258
    241 #: maintenance.php:186
     259#: maintenance.php:196
    242260msgid "Set the closing tag for the heading of the list"
    243261msgstr ""
    244262
    245 #: maintenance.php:192
     263#: maintenance.php:203
    246264msgid "Sets the maximum number of popular posts to be shown on the listing"
    247265msgstr ""
    248266
    249 #: maintenance.php:193
     267#: maintenance.php:204
     268#: maintenance.php:232
     269#: maintenance.php:239
     270#: maintenance.php:260
     271#: maintenance.php:267
     272msgid "Positive integer"
     273msgstr ""
     274
     275#: maintenance.php:210
     276msgid "Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you"
     277msgstr ""
     278
    250279#: maintenance.php:217
    251 #: maintenance.php:223
    252 #: maintenance.php:235
    253 #: maintenance.php:241
    254 msgid "Positive integer"
    255 msgstr ""
    256 
    257 #: maintenance.php:198
    258 msgid "Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you"
    259 msgstr ""
    260 
    261 #: maintenance.php:204
    262280msgid "Sets the sorting option of the popular posts"
    263281msgstr ""
    264282
    265 #: maintenance.php:205
     283#: maintenance.php:218
    266284msgid "(for average views per day)"
    267285msgstr ""
    268286
    269 #: maintenance.php:210
     287#: maintenance.php:224
    270288msgid "Tells Wordpress Popular Posts whether to consider or not pages while building the popular list"
    271289msgstr ""
    272290
    273 #: maintenance.php:216
     291#: maintenance.php:231
    274292msgid "If set, Wordpress Popular Posts will shorten each post title to \"n\" characters whenever possible"
    275293msgstr ""
    276294
    277 #: maintenance.php:222
     295#: maintenance.php:238
    278296msgid "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" characters long from the content of each post listed as popular"
    279297msgstr ""
    280298
    281 #: maintenance.php:228
     299#: maintenance.php:245
     300msgid "If set, Wordpress Popular Posts will maintaing all styling tags (strong, italic, etc) and hyperlinks found in the excerpt"
     301msgstr ""
     302
     303#: maintenance.php:252
    282304msgid "If set, Wordpress Popular Posts will exclude all entries that belong to the specified category(ies)."
    283305msgstr ""
    284306
    285 #: maintenance.php:234
     307#: maintenance.php:254
     308msgid "None"
     309msgstr ""
     310
     311#: maintenance.php:259
    286312msgid "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"
    287313msgstr ""
    288314
    289 #: maintenance.php:240
     315#: maintenance.php:266
    290316msgid "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"
    291317msgstr ""
    292318
    293 #: maintenance.php:246
     319#: maintenance.php:273
    294320msgid "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"
    295321msgstr ""
    296322
    297 #: maintenance.php:252
     323#: maintenance.php:280
    298324msgid "If set, Wordpress Popular Posts will show how many comments each popular post has got until now"
    299325msgstr ""
    300326
    301 #: maintenance.php:258
     327#: maintenance.php:287
    302328msgid "If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed"
    303329msgstr ""
    304330
    305 #: maintenance.php:264
     331#: maintenance.php:294
    306332msgid "If set, Wordpress Popular Posts will show who published each popular post on the list"
    307333msgstr ""
    308334
    309 #: maintenance.php:270
     335#: maintenance.php:301
    310336msgid "If set, Wordpress Popular Posts will when each popular post on the list was published"
    311337msgstr ""
    312338
    313 #: maintenance.php:276
     339#: maintenance.php:308
     340msgid "Sets the date format"
     341msgstr ""
     342
     343#: maintenance.php:315
    314344msgid "Sets the opening tag for the listing"
    315345msgstr ""
    316346
    317 #: maintenance.php:282
     347#: maintenance.php:322
    318348msgid "Sets the closing tag for the listing"
    319349msgstr ""
    320350
    321 #: maintenance.php:288
     351#: maintenance.php:329
    322352msgid "Sets the opening tag for each item on the list"
    323353msgstr ""
    324354
    325 #: maintenance.php:294
     355#: maintenance.php:336
    326356msgid "Sets the closing tag for each item on the list"
    327357msgstr ""
    328358
    329 #: maintenance.php:300
     359#: maintenance.php:343
    330360msgid "If set, this option will allow you to decide the order of the contents within each item on the list."
    331361msgstr ""
    332362
    333 #: maintenance.php:306
     363#: maintenance.php:350
    334364msgid "If set, you can decide the order of each content inside a single item on the list. For example, setting it to \"{title}: {summary}\" would output something like \"Your Post Title: summary here\""
    335365msgstr ""
    336366
    337 #: maintenance.php:307
     367#: maintenance.php:351
    338368msgid "Available tags"
    339369msgstr ""
    340370
    341 #: maintenance.php:315
     371#: maintenance.php:360
    342372msgid "Maintenance Settings"
    343373msgstr ""
    344374
    345 #: maintenance.php:316
     375#: maintenance.php:361
    346376msgid "Wordpress Popular Posts keeps historical data of your most popular entries for up to 30 days. 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."
    347377msgstr ""
    348378
    349 #: maintenance.php:319
     379#: maintenance.php:364
    350380msgid "Empty cache"
    351381msgstr ""
    352382
    353 #: maintenance.php:320
     383#: maintenance.php:365
    354384msgid "Use this button to manually clear entries from WPP cache only"
    355385msgstr ""
    356386
    357 #: maintenance.php:326
     387#: maintenance.php:371
    358388msgid "Clear all data"
    359389msgstr ""
    360390
    361 #: maintenance.php:327
     391#: maintenance.php:372
    362392msgid "Use this button to manually clear entries from all WPP data tables"
    363393msgstr ""
    364394
    365 #: maintenance.php:335
     395#: maintenance.php:380
    366396msgid "Do you like this plugin?"
    367397msgstr ""
    368398
    369 #: maintenance.php:335
     399#: maintenance.php:380
    370400msgid "Rate Wordpress Popular Posts!"
    371401msgstr ""
    372402
    373 #: maintenance.php:335
     403#: maintenance.php:380
    374404msgid "Rate it 5"
    375405msgstr ""
    376406
    377 #: maintenance.php:335
     407#: maintenance.php:380
    378408msgid "on the official Plugin Directory!"
    379409msgstr ""
    380410
    381 #: maintenance.php:336
     411#: maintenance.php:381
    382412msgid "Do you love this plugin?"
    383413msgstr ""
    384414
    385 #: maintenance.php:336
    386 #: maintenance.php:337
     415#: maintenance.php:381
     416#: maintenance.php:382
    387417msgid "Buy me a beer!"
    388418msgstr ""
    389419
    390 #: maintenance.php:336
     420#: maintenance.php:381
    391421msgid "Each donation motivates me to keep releasing free stuff for the Wordpress community!"
    392422msgstr ""
    393423
    394 #: wordpress-popular-posts.php:160
    395 msgid "Popular Posts"
    396 msgstr ""
    397 
    398 #: wordpress-popular-posts.php:209
     424#: stats.php:90
     425msgid "Click on each tab to see what are the most popular entries on your blog today, this week, last 30 days or all time since Wordpress Popular Posts was installed."
     426msgstr ""
     427
     428#: stats.php:92
     429#: wordpress-popular-posts.php:240
     430msgid "Today"
     431msgstr ""
     432
     433#: stats.php:93
     434msgid "Weekly"
     435msgstr ""
     436
     437#: stats.php:94
     438msgid "Monthly"
     439msgstr ""
     440
     441#: stats.php:95
     442#: wordpress-popular-posts.php:243
     443msgid "All-time"
     444msgstr ""
     445
     446#: stats.php:122
     447msgid "See statistics also in"
     448msgstr ""
     449
     450#: wordpress-popular-posts.php:234
    399451msgid "Title:"
    400452msgstr ""
    401453
    402 #: wordpress-popular-posts.php:211
     454#: wordpress-popular-posts.php:236
    403455msgid "Show up to:"
    404456msgstr ""
    405457
    406 #: wordpress-popular-posts.php:212
     458#: wordpress-popular-posts.php:237
    407459msgid "posts"
    408460msgstr ""
    409461
    410 #: wordpress-popular-posts.php:213
     462#: wordpress-popular-posts.php:238
    411463msgid "Time Range:"
    412464msgstr ""
    413465
    414 #: wordpress-popular-posts.php:215
    415 msgid "Today"
    416 msgstr ""
    417 
    418 #: wordpress-popular-posts.php:216
     466#: wordpress-popular-posts.php:241
    419467msgid "Last 7 days"
    420468msgstr ""
    421469
    422 #: wordpress-popular-posts.php:217
     470#: wordpress-popular-posts.php:242
    423471msgid "Last 30 days"
    424472msgstr ""
    425473
    426 #: wordpress-popular-posts.php:218
    427 msgid "All-time"
    428 msgstr ""
    429 
    430 #: wordpress-popular-posts.php:221
     474#: wordpress-popular-posts.php:246
    431475msgid "Sort posts by:"
    432476msgstr ""
    433477
    434 #: wordpress-popular-posts.php:223
     478#: wordpress-popular-posts.php:248
    435479msgid "Comments"
    436480msgstr ""
    437481
    438 #: wordpress-popular-posts.php:224
     482#: wordpress-popular-posts.php:249
    439483msgid "Total views"
    440484msgstr ""
    441485
    442 #: wordpress-popular-posts.php:225
     486#: wordpress-popular-posts.php:250
    443487msgid "Avg. daily views"
    444488msgstr ""
    445489
    446 #: wordpress-popular-posts.php:228
     490#: wordpress-popular-posts.php:253
    447491msgid "Include pages"
    448492msgstr ""
    449493
    450 #: wordpress-popular-posts.php:230
     494#: wordpress-popular-posts.php:255
    451495msgid "Display post rating"
    452496msgstr ""
    453497
    454 #: wordpress-popular-posts.php:232
     498#: wordpress-popular-posts.php:257
    455499msgid "Shorten title output"
    456500msgstr ""
    457501
    458 #: wordpress-popular-posts.php:234
     502#: wordpress-popular-posts.php:259
    459503msgid "Shorten title to"
    460504msgstr ""
    461505
    462 #: wordpress-popular-posts.php:234
    463 #: wordpress-popular-posts.php:238
     506#: wordpress-popular-posts.php:259
     507#: wordpress-popular-posts.php:266
    464508msgid "characters"
    465509msgstr ""
    466510
    467 #: wordpress-popular-posts.php:236
     511#: wordpress-popular-posts.php:261
    468512msgid "Display post excerpt"
    469513msgstr ""
    470514
    471 #: wordpress-popular-posts.php:238
     515#: wordpress-popular-posts.php:264
     516msgid "Excerpt Properties"
     517msgstr ""
     518
     519#: wordpress-popular-posts.php:265
     520msgid "Keep text format and links"
     521msgstr ""
     522
     523#: wordpress-popular-posts.php:266
    472524msgid "Excerpt length:"
    473525msgstr ""
    474526
    475 #: wordpress-popular-posts.php:241
     527#: wordpress-popular-posts.php:270
    476528msgid "Exclude categories"
    477529msgstr ""
    478530
    479 #: wordpress-popular-posts.php:243
    480 msgid "ID(s) to exclude (comma separated, no spaces):"
    481 msgstr ""
    482 
    483 #: wordpress-popular-posts.php:246
     531#: wordpress-popular-posts.php:273
     532msgid "Categories to exclude"
     533msgstr ""
     534
     535#: wordpress-popular-posts.php:274
     536msgid "ID(s) (comma separated, no spaces):"
     537msgstr ""
     538
     539#: wordpress-popular-posts.php:279
    484540msgid "Display post thumbnail"
    485541msgstr ""
    486542
    487 #: wordpress-popular-posts.php:248
     543#: wordpress-popular-posts.php:282
     544msgid "Thumbnail Dimensions"
     545msgstr ""
     546
     547#: wordpress-popular-posts.php:283
    488548msgid "Width:"
    489549msgstr ""
    490550
    491 #: wordpress-popular-posts.php:249
    492 #: wordpress-popular-posts.php:251
     551#: wordpress-popular-posts.php:284
     552#: wordpress-popular-posts.php:286
    493553msgid "px"
    494554msgstr ""
    495555
    496 #: wordpress-popular-posts.php:250
     556#: wordpress-popular-posts.php:285
    497557msgid "Height:"
    498558msgstr ""
    499559
    500 #: wordpress-popular-posts.php:255
     560#: wordpress-popular-posts.php:291
    501561msgid "Stats Tag settings"
    502562msgstr ""
    503563
    504 #: wordpress-popular-posts.php:256
     564#: wordpress-popular-posts.php:292
    505565msgid "Display comment count"
    506566msgstr ""
    507567
    508 #: wordpress-popular-posts.php:257
     568#: wordpress-popular-posts.php:293
    509569msgid "Display views"
    510570msgstr ""
    511571
    512 #: wordpress-popular-posts.php:258
     572#: wordpress-popular-posts.php:294
    513573msgid "Display author"
    514574msgstr ""
    515575
    516 #: wordpress-popular-posts.php:259
     576#: wordpress-popular-posts.php:295
    517577msgid "Display date"
    518578msgstr ""
    519579
    520 #: wordpress-popular-posts.php:263
     580#: wordpress-popular-posts.php:298
     581msgid "Date Format"
     582msgstr ""
     583
     584#: wordpress-popular-posts.php:308
    521585msgid "HTML Markup settings"
    522586msgstr ""
    523587
    524 #: wordpress-popular-posts.php:264
     588#: wordpress-popular-posts.php:309
    525589msgid "Use custom HTML Markup"
    526590msgstr ""
    527591
    528 #: wordpress-popular-posts.php:265
     592#: wordpress-popular-posts.php:312
    529593msgid "Before / after title:"
    530594msgstr ""
    531595
    532 #: wordpress-popular-posts.php:267
     596#: wordpress-popular-posts.php:314
    533597msgid "Before / after Popular Posts:"
    534598msgstr ""
    535599
    536 #: wordpress-popular-posts.php:269
     600#: wordpress-popular-posts.php:316
    537601msgid "Before / after each post:"
    538602msgstr ""
    539603
    540 #: wordpress-popular-posts.php:272
     604#: wordpress-popular-posts.php:320
    541605msgid "Use content formatting tags"
    542606msgstr ""
    543607
    544 #: wordpress-popular-posts.php:273
     608#: wordpress-popular-posts.php:323
    545609msgid "Content format:"
    546610msgstr ""
    547611
    548 #: wordpress-popular-posts.php:331
     612#: wordpress-popular-posts.php:382
    549613msgid "Success! The cache table has been cleared!"
    550614msgstr ""
    551615
    552 #: wordpress-popular-posts.php:333
     616#: wordpress-popular-posts.php:384
    553617msgid "Error: cache table does not exist."
    554618msgstr ""
    555619
    556 #: wordpress-popular-posts.php:339
     620#: wordpress-popular-posts.php:390
    557621msgid "Success! All data have been cleared!"
    558622msgstr ""
    559623
    560 #: wordpress-popular-posts.php:341
     624#: wordpress-popular-posts.php:392
    561625msgid "Error: one or both data tables are missing."
    562626msgstr ""
    563627
    564 #: wordpress-popular-posts.php:344
     628#: wordpress-popular-posts.php:395
    565629msgid "Invalid action."
    566630msgstr ""
    567631
    568 #: wordpress-popular-posts.php:347
     632#: wordpress-popular-posts.php:398
    569633msgid "Sorry, you do not have enough permissions to do this. Please contact the site administrator for support."
    570634msgstr ""
    571635
    572 #: wordpress-popular-posts.php:513
     636#: wordpress-popular-posts.php:564
    573637msgid "Sorry. No data so far."
    574638msgstr ""
    575639
    576 #: wordpress-popular-posts.php:552
     640#: wordpress-popular-posts.php:605
    577641msgid " comment(s)"
    578642msgstr ""
    579643
    580 #: wordpress-popular-posts.php:555
     644#: wordpress-popular-posts.php:608
    581645msgid " view(s)"
    582646msgstr ""
    583647
    584 #: wordpress-popular-posts.php:560
     648#: wordpress-popular-posts.php:613
    585649msgid " view(s) per day"
    586650msgstr ""
    587651
    588 #: wordpress-popular-posts.php:865
     652#: wordpress-popular-posts.php:626
     653#: wordpress-popular-posts.php:628
     654msgid "by"
     655msgstr ""
     656
     657#: wordpress-popular-posts.php:633
     658#: wordpress-popular-posts.php:635
     659msgid "posted on"
     660msgstr ""
     661
     662#: wordpress-popular-posts.php:921
    589663msgid "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires at least version 2.8 to function correctly. Please update your blog via Tools &gt; Upgrade."
    590664msgstr ""
    591665
     666#: wordpress-popular-posts.php:1037
     667msgid "Wordpress Popular Posts Stats"
     668msgstr ""
     669
Note: See TracChangeset for help on using the changeset viewer.