Version Description
- Remove the settings link from the plugin line on the plugins page
- Add a link to manage widgets to the plugin line on the plugins page
- Make date string translatable
Download this release
Release Info
Developer | aaroncampbell |
Plugin | Twitter Widget Pro |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- languages/twitter-widget-pro-it_IT.mo +0 -0
- languages/twitter-widget-pro-it_IT.po +34 -33
- languages/twitter-widget-pro.pot +7 -3
- readme.txt +6 -1
- upgrade.html +4 -1
- wp-twitter-widget.php +6 -17
languages/twitter-widget-pro-it_IT.mo
CHANGED
Binary file
|
languages/twitter-widget-pro-it_IT.po
CHANGED
@@ -6,8 +6,8 @@ msgid ""
|
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: Twitter Widget Pro in italiano\n"
|
8 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
|
9 |
-
"POT-Creation-Date: 2009-
|
10 |
-
"PO-Revision-Date: 2009-
|
11 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
12 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
13 |
"MIME-Version: 1.0\n"
|
@@ -22,7 +22,6 @@ msgid "Follow a Twitter Feed"
|
|
22 |
msgstr "Segui un feed di Twitter"
|
23 |
|
24 |
#: wp-twitter-widget.php:46
|
25 |
-
#: wp-twitter-widget.php:449
|
26 |
msgid "Twitter Widget Pro"
|
27 |
msgstr "Twitter Widget Pro"
|
28 |
|
@@ -141,6 +140,10 @@ msgstr "Risposta da Twitter non valida."
|
|
141 |
msgid "Could not connect to Twitter"
|
142 |
msgstr "Non é stato possibile connettersi a Twitter"
|
143 |
|
|
|
|
|
|
|
|
|
144 |
#: wp-twitter-widget.php:372
|
145 |
#, php-format
|
146 |
msgid "about %s year ago"
|
@@ -191,34 +194,32 @@ msgstr[0] "circa %s secondo fa"
|
|
191 |
msgstr[1] "circa %s secondi fa"
|
192 |
|
193 |
#: wp-twitter-widget.php:465
|
194 |
-
msgid "
|
195 |
-
msgstr "
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
msgid "Update Options »"
|
219 |
-
msgstr "Aggiorna le opzioni »"
|
220 |
-
|
221 |
-
|
222 |
-
msgid "Settings"
|
223 |
-
msgstr "Impostazioni"
|
224 |
|
6 |
msgstr ""
|
7 |
"Project-Id-Version: Twitter Widget Pro in italiano\n"
|
8 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
|
9 |
+
"POT-Creation-Date: 2009-10-28 17:58+0000\n"
|
10 |
+
"PO-Revision-Date: 2009-10-28 20:45+0100\n"
|
11 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
12 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
13 |
"MIME-Version: 1.0\n"
|
22 |
msgstr "Segui un feed di Twitter"
|
23 |
|
24 |
#: wp-twitter-widget.php:46
|
|
|
25 |
msgid "Twitter Widget Pro"
|
26 |
msgstr "Twitter Widget Pro"
|
27 |
|
140 |
msgid "Could not connect to Twitter"
|
141 |
msgstr "Non é stato possibile connettersi a Twitter"
|
142 |
|
143 |
+
#: wp-twitter-widget.php:361
|
144 |
+
msgid "h:i:s A F d, Y"
|
145 |
+
msgstr "H:i:s F d Y"
|
146 |
+
|
147 |
#: wp-twitter-widget.php:372
|
148 |
#, php-format
|
149 |
msgid "about %s year ago"
|
194 |
msgstr[1] "circa %s secondi fa"
|
195 |
|
196 |
#: wp-twitter-widget.php:465
|
197 |
+
msgid "Manage Widgets"
|
198 |
+
msgstr "Gestione widget"
|
199 |
+
|
200 |
+
#~ msgid "Twitter Widget Pro Options"
|
201 |
+
#~ msgstr "Opzioni Twitter Widget Pro"
|
202 |
+
#~ msgid "Click for Help!"
|
203 |
+
#~ msgstr "Supporto!"
|
204 |
+
#~ msgid "System Information:"
|
205 |
+
#~ msgstr "Informazioni sul sistema:"
|
206 |
+
#~ msgid "I agree to send anonymous system information"
|
207 |
+
#~ msgstr "Acconsento l'invio di informazioni anonime sul mio sistema"
|
208 |
+
#~ msgid ""
|
209 |
+
#~ "You can help by sending anonymous system information that will help "
|
210 |
+
#~ "Xavisys make better decisions about new features."
|
211 |
+
#~ msgstr ""
|
212 |
+
#~ "L'invio di informazioni anonime sul sistema sarà di aiuto a Xavisys in "
|
213 |
+
#~ "modo tale che possa sviluppare al meglio il plugin."
|
214 |
+
#~ msgid ""
|
215 |
+
#~ "The information will be sent anonymously, but a unique identifier will be "
|
216 |
+
#~ "sent to prevent duplicate entries from the same installation."
|
217 |
+
#~ msgstr ""
|
218 |
+
#~ "Le informazioni verrano inviate in forma anonima. Un identificatore unico "
|
219 |
+
#~ "sarà comunque inviato affinché non siano presi in considerazione i "
|
220 |
+
#~ "duplicati provenienti dalla stessa installazione."
|
221 |
+
#~ msgid "Update Options »"
|
222 |
+
#~ msgstr "Aggiorna le opzioni »"
|
223 |
+
#~ msgid "Settings"
|
224 |
+
#~ msgstr "Impostazioni"
|
|
|
|
|
225 |
|
languages/twitter-widget-pro.pot
CHANGED
@@ -7,7 +7,7 @@ msgid ""
|
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: PACKAGE VERSION\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
|
10 |
-
"POT-Creation-Date: 2009-10-
|
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -141,6 +141,10 @@ msgstr ""
|
|
141 |
msgid "Could not connect to Twitter"
|
142 |
msgstr ""
|
143 |
|
|
|
|
|
|
|
|
|
144 |
#: wp-twitter-widget.php:372
|
145 |
#, php-format
|
146 |
msgid "about %s year ago"
|
@@ -190,6 +194,6 @@ msgid_plural "about %s seconds ago"
|
|
190 |
msgstr[0] ""
|
191 |
msgstr[1] ""
|
192 |
|
193 |
-
#: wp-twitter-widget.php:
|
194 |
-
msgid "
|
195 |
msgstr ""
|
7 |
msgstr ""
|
8 |
"Project-Id-Version: PACKAGE VERSION\n"
|
9 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
|
10 |
+
"POT-Creation-Date: 2009-10-28 17:58+0000\n"
|
11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
141 |
msgid "Could not connect to Twitter"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: wp-twitter-widget.php:361
|
145 |
+
msgid "h:i:s A F d, Y"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
#: wp-twitter-widget.php:372
|
149 |
#, php-format
|
150 |
msgid "about %s year ago"
|
194 |
msgstr[0] ""
|
195 |
msgstr[1] ""
|
196 |
|
197 |
+
#: wp-twitter-widget.php:465
|
198 |
+
msgid "Manage Widgets"
|
199 |
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%4
|
|
4 |
Tags: twitter, widget, feed
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 2.9
|
7 |
-
Stable tag: 2.0.
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
|
10 |
|
@@ -50,6 +50,11 @@ No. This error occurs because the plugin requires PHP 5 and you're running PHP
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
|
|
|
|
53 |
= 2.0.4 =
|
54 |
* Added twitterwidget-title and twitterwidget-rss classes to the title and rss links for separate styling
|
55 |
* Removed the optional anonymous statistics collection. Nothing is ever collected anymore.
|
4 |
Tags: twitter, widget, feed
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 2.9
|
7 |
+
Stable tag: 2.0.5
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
|
10 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 2.0.5 =
|
54 |
+
* Remove the settings link from the plugin line on the plugins page
|
55 |
+
* Add a link to manage widgets to the plugin line on the plugins page
|
56 |
+
* Make date string translatable
|
57 |
+
|
58 |
= 2.0.4 =
|
59 |
* Added twitterwidget-title and twitterwidget-rss classes to the title and rss links for separate styling
|
60 |
* Removed the optional anonymous statistics collection. Nothing is ever collected anymore.
|
upgrade.html
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
<p><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a></p>
|
2 |
<ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
|
3 |
-
<li>2.0.
|
|
|
|
|
|
|
4 |
<li style="color:red; font-weight:bold;">2.0+: Now requires WordPress 2.8 and still requires PHP 5+</li>
|
5 |
</ul>
|
1 |
<p><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a></p>
|
2 |
<ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
|
3 |
+
<li>2.0.5: Make date string translatable</li>
|
4 |
+
<li>2.0.5: Changed the settings link (make non-functional in 2.0.4) to a "Manage Widgets" link</li>
|
5 |
+
<li>2.0.4: Removed the optional anonymous statistics collection. Nothing is ever collected anymore.</li>
|
6 |
+
<li>2.0.4: Added twitterwidget-title and twitterwidget-rss classes to the title and rss links for separate styling</li>
|
7 |
<li style="color:red; font-weight:bold;">2.0+: Now requires WordPress 2.8 and still requires PHP 5+</li>
|
8 |
</ul>
|
wp-twitter-widget.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Twitter Widget Pro
|
4 |
* Plugin URI: http://xavisys.com/wordpress-twitter-widget/
|
5 |
* Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://xavisys.com/
|
9 |
* Text Domain: twitter-widget-pro
|
@@ -358,7 +358,7 @@ replyTo;
|
|
358 |
$since = time() - $startTimestamp;
|
359 |
|
360 |
if ($max != '-1' && $since >= $max) {
|
361 |
-
return date_i18n('h:i:s A F d, Y', $startTimestamp);
|
362 |
}
|
363 |
|
364 |
foreach ( $chunks as $key => $seconds ) {
|
@@ -409,13 +409,6 @@ class wpTwitterWidget
|
|
409 |
*/
|
410 |
private $_settings;
|
411 |
|
412 |
-
/**
|
413 |
-
* Plugin file to test against on plugins page
|
414 |
-
*
|
415 |
-
* @var string
|
416 |
-
*/
|
417 |
-
private $_pluginBasename;
|
418 |
-
|
419 |
/**
|
420 |
* Repository base url
|
421 |
*
|
@@ -434,7 +427,7 @@ class wpTwitterWidget
|
|
434 |
add_filter( 'widget_twitter_content', array($this, 'linkUrls') );
|
435 |
add_filter( 'widget_twitter_content', array($this, 'linkHashtags') );
|
436 |
add_filter( 'widget_twitter_content', 'convert_chars' );
|
437 |
-
add_filter( 'plugin_action_links', array($this, '
|
438 |
add_action ( 'in_plugin_update_message-'.plugin_basename ( __FILE__ ) , array ( $this , '_changelog' ), null, 2 );
|
439 |
}
|
440 |
|
@@ -466,14 +459,10 @@ class wpTwitterWidget
|
|
466 |
profileImage;
|
467 |
}
|
468 |
|
469 |
-
public function
|
470 |
-
if (
|
471 |
-
$this->_pluginBasename = plugin_basename(__FILE__);
|
472 |
-
}
|
473 |
-
|
474 |
-
if ( $file == $this->_pluginBasename ) {
|
475 |
// Add settings link to our plugin
|
476 |
-
$link = '<a href="
|
477 |
array_unshift( $links, $link );
|
478 |
}
|
479 |
return $links;
|
3 |
* Plugin Name: Twitter Widget Pro
|
4 |
* Plugin URI: http://xavisys.com/wordpress-twitter-widget/
|
5 |
* Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
|
6 |
+
* Version: 2.0.5
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://xavisys.com/
|
9 |
* Text Domain: twitter-widget-pro
|
358 |
$since = time() - $startTimestamp;
|
359 |
|
360 |
if ($max != '-1' && $since >= $max) {
|
361 |
+
return date_i18n(__('h:i:s A F d, Y', 'twitter-widget-pro'), $startTimestamp);
|
362 |
}
|
363 |
|
364 |
foreach ( $chunks as $key => $seconds ) {
|
409 |
*/
|
410 |
private $_settings;
|
411 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
/**
|
413 |
* Repository base url
|
414 |
*
|
427 |
add_filter( 'widget_twitter_content', array($this, 'linkUrls') );
|
428 |
add_filter( 'widget_twitter_content', array($this, 'linkHashtags') );
|
429 |
add_filter( 'widget_twitter_content', 'convert_chars' );
|
430 |
+
add_filter( 'plugin_action_links', array($this, 'addWidgetLink'), 10, 2 );
|
431 |
add_action ( 'in_plugin_update_message-'.plugin_basename ( __FILE__ ) , array ( $this , '_changelog' ), null, 2 );
|
432 |
}
|
433 |
|
459 |
profileImage;
|
460 |
}
|
461 |
|
462 |
+
public function addWidgetLink( $links, $file ){
|
463 |
+
if ( $file == plugin_basename(__FILE__) ) {
|
|
|
|
|
|
|
|
|
464 |
// Add settings link to our plugin
|
465 |
+
$link = '<a href="widgets.php">' . __('Manage Widgets', 'twitter-widget-pro') . '</a>';
|
466 |
array_unshift( $links, $link );
|
467 |
}
|
468 |
return $links;
|