Version Description
Fixed error message caused by last fix causing tweets to repeat.
Download this release
Release Info
Developer | mpntod |
Plugin | Rotating Tweets (Twitter widget and shortcode) |
Version | 0.612 |
Comparing to | |
See all releases |
Code changes from version 0.505 to 0.612
- css/style.css +125 -14
- css/yourstyle-sample.css +9 -0
- js/rotating_tweet.js +87 -2
- js/rotating_tweet.min.js +3 -1
- js/rotating_tweet_admin.js +23 -0
- languages/rotatingtweets-de_DE.mo +0 -0
- languages/rotatingtweets-de_DE.po +329 -0
- languages/rotatingtweets-en_GB.mo +0 -0
- languages/rotatingtweets-en_GB.po +136 -75
- languages/rotatingtweets-es_ES.mo +0 -0
- languages/rotatingtweets-es_ES.po +330 -0
- languages/rotatingtweets-it_IT.mo +0 -0
- languages/rotatingtweets-it_IT.po +330 -0
- languages/rotatingtweets.pot +126 -66
- readme.txt +27 -4
- rotatingtweets.php +345 -87
css/style.css
CHANGED
@@ -1,28 +1,139 @@
|
|
1 |
-
/*
|
2 |
-
|
3 |
-
|
4 |
}
|
5 |
-
p.rtw_meta {
|
6 |
-
font-size:
|
7 |
line-height: normal;
|
8 |
-
margin-bottom: 2%;
|
9 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
/* This sets the style for tweets in articles or posts */
|
11 |
#content .rotatingtweets {
|
12 |
border-top: 1px solid #DDD;
|
13 |
border-bottom: 1px solid #DDD;
|
14 |
margin-bottom: 3%;
|
15 |
}
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/*
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
-
|
26 |
-
|
|
|
27 |
}
|
28 |
*/
|
1 |
+
/* First - sort out the fonts */
|
2 |
+
div.rotatingtweet {
|
3 |
+
font-size: 100%;
|
4 |
}
|
5 |
+
p.rtw_meta,div.rtw_meta,div.rtw_meta_wide,div.rtw_name,div.rtw_id,div.rtw_time_short,div.rtw_rt_meta {
|
6 |
+
font-size: 0.8em;
|
7 |
line-height: normal;
|
|
|
8 |
}
|
9 |
+
div.rtw_wide_block div.rtw_name {
|
10 |
+
font-size: 1.0em;
|
11 |
+
}
|
12 |
+
|
13 |
+
/* Now the icon sizing */
|
14 |
+
div.rtw_icon img {
|
15 |
+
max-width: 2.2em;
|
16 |
+
max-height: 2.2em;
|
17 |
+
}
|
18 |
+
div.rtw_intents img {
|
19 |
+
max-width: 1.2em;
|
20 |
+
max-height: 1.2em;
|
21 |
+
padding: 0;
|
22 |
+
margin: 0;
|
23 |
+
display: inline;
|
24 |
+
}
|
25 |
+
div.rtw_wide_icon img {
|
26 |
+
padding-top: 8%;
|
27 |
+
padding-left: 0;
|
28 |
+
margin-left: 0;
|
29 |
+
}
|
30 |
+
div.rtw_meta img,
|
31 |
+
div.rtw_rt_meta img {
|
32 |
+
vertical-align: middle;
|
33 |
+
}
|
34 |
+
/* The main positioning */
|
35 |
+
.rtw_twitter_icon,
|
36 |
+
.rtw_time_short {
|
37 |
+
float:right;
|
38 |
+
}
|
39 |
+
div.rtw_wide_icon,
|
40 |
+
div.rtw_icon {
|
41 |
+
float:left;
|
42 |
+
padding-right: 0.5em;
|
43 |
+
}
|
44 |
+
div.rtw_wide_icon {
|
45 |
+
display: inline;
|
46 |
+
}
|
47 |
+
.rtw_wide_block .rtw_name,
|
48 |
+
.rtw_wide_block .rtw_id {
|
49 |
+
display: inline;
|
50 |
+
}
|
51 |
+
.rtw_wide_block {
|
52 |
+
padding-left: 58px;
|
53 |
+
}
|
54 |
+
div.rtw_intents {
|
55 |
+
display: inline;
|
56 |
+
float:right;
|
57 |
+
margin-left: 0.5em;
|
58 |
+
}
|
59 |
+
.rotatingtweet p.rtw_main {
|
60 |
+
clear: both;
|
61 |
+
}
|
62 |
+
.rtw_wide_block p.rtw_main,div.rtw_main {
|
63 |
+
clear: none;
|
64 |
+
}
|
65 |
+
|
66 |
/* This sets the style for tweets in articles or posts */
|
67 |
#content .rotatingtweets {
|
68 |
border-top: 1px solid #DDD;
|
69 |
border-bottom: 1px solid #DDD;
|
70 |
margin-bottom: 3%;
|
71 |
}
|
72 |
+
|
73 |
+
/* Now to get the vertical spacing right */
|
74 |
+
#content .rotatingtweet {
|
75 |
+
padding-top: 0.7em;
|
76 |
+
padding-bottom: 0.7em;
|
77 |
}
|
78 |
+
|
79 |
+
#content p.rtw_main,p.rtw_main,div.rtw_main {
|
80 |
+
margin-bottom: 0.6em;
|
81 |
+
}
|
82 |
+
|
83 |
+
#content .rtw_wide p.rtw_main {
|
84 |
+
margin-bottom: 0.35em;
|
85 |
+
}
|
86 |
+
|
87 |
+
|
88 |
+
p.rtw_meta,div.rtw_meta {
|
89 |
+
margin-bottom: 1em;
|
90 |
+
}
|
91 |
+
#sidebar ul li div.rtw_name,div.rtw_name,div.rtw_name a {
|
92 |
+
margin-bottom: 0;
|
93 |
+
padding-bottom: 0;
|
94 |
+
}
|
95 |
+
#sidebar ul li div.rtw_id,div.rtw_id ,div.rtw_id a {
|
96 |
+
margin-top: 0;
|
97 |
+
padding-top: 0;
|
98 |
+
}
|
99 |
+
#sidebar ul li div.rtw_intents {
|
100 |
+
margin-top: 0;
|
101 |
+
padding-top: 0;
|
102 |
+
}
|
103 |
+
div.rtw_rt_meta {
|
104 |
+
margin-top: 0.1em;
|
105 |
+
margin-bottom: 0.1em;
|
106 |
+
padding: 0;
|
107 |
+
}
|
108 |
+
|
109 |
+
/* Twitter fonts */
|
110 |
+
|
111 |
/*
|
112 |
+
.rtw_main {
|
113 |
+
font-family: Georgia,Palatino,serif;
|
114 |
+
}
|
115 |
+
.rtw_meta {
|
116 |
+
font-family: 'Helvetica Neue', Arial, sans-serif;
|
117 |
+
}
|
118 |
+
.rtw_name a
|
119 |
+
{
|
120 |
+
color: #333;
|
121 |
+
}
|
122 |
+
.rtw_id a
|
123 |
+
{
|
124 |
+
color: #999;
|
125 |
+
}
|
126 |
+
.rtw_main a
|
127 |
+
{
|
128 |
+
color: #444;
|
129 |
+
}
|
130 |
+
.rtw_main a,
|
131 |
+
.rtw_id a:hover
|
132 |
+
{
|
133 |
+
text-decoration: none;
|
134 |
}
|
135 |
+
.rtw_main a:hover,
|
136 |
+
{
|
137 |
+
text-decoration: underline;
|
138 |
}
|
139 |
*/
|
css/yourstyle-sample.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Rename this file to yourstyle.css and it will automatically be included in the rotatingtweets CSS by the plug in */
|
2 |
+
/* It shouldn't be overwritten when the plug-in is upgraded! */
|
3 |
+
/* This particular CSS makes a bird appear to the left of your tweets - you can find more birds at https://dev.twitter.com/docs/image-resources */
|
4 |
+
div.rotatingtweet {
|
5 |
+
background-image: url('../images/bird_blue_32.png');
|
6 |
+
background-repeat:no-repeat;
|
7 |
+
background-position:0 2px;
|
8 |
+
padding-left: 38px;
|
9 |
+
}
|
js/rotating_tweet.js
CHANGED
@@ -10,10 +10,15 @@ jQuery(document).ready(function() {
|
|
10 |
var rotate_fx = rotate_id_split[2];
|
11 |
/* If the rotation type has not been set - then set it to scrollUp */
|
12 |
if(rotate_fx == null){rotate_fx = 'scrollUp'};
|
|
|
|
|
|
|
|
|
|
|
13 |
/* Call the rotation */
|
14 |
jQuery(rotate_id).cycle({
|
15 |
pause: 1,
|
16 |
-
height:
|
17 |
timeout: rotate_timeout,
|
18 |
fx: rotate_fx
|
19 |
});
|
@@ -37,7 +42,54 @@ jQuery(document).ready(function() {
|
|
37 |
timeout: rotate_timeout,
|
38 |
fx: rotate_fx
|
39 |
});
|
40 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
/*
|
42 |
jQuery(rotate_id).cycle({
|
43 |
pause: 1,
|
@@ -54,7 +106,40 @@ jQuery(document).ready(function() {
|
|
54 |
});
|
55 |
*/
|
56 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
});
|
|
|
58 |
/* And call the Twitter script while we're at it! */
|
59 |
/* Standard script to call Twitter */
|
60 |
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
|
10 |
var rotate_fx = rotate_id_split[2];
|
11 |
/* If the rotation type has not been set - then set it to scrollUp */
|
12 |
if(rotate_fx == null){rotate_fx = 'scrollUp'};
|
13 |
+
/* If we're displaying an 'official' tweet, reset all the heights */
|
14 |
+
var rt_height_px = 'auto';
|
15 |
+
// var rt_official_child = rotate_id + ' .twitter-tweet';
|
16 |
+
// var rt_official_num = jQuery(rt_official_child).length;
|
17 |
+
// if (rt_official_num > 0) rt_height_px = '211px';
|
18 |
/* Call the rotation */
|
19 |
jQuery(rotate_id).cycle({
|
20 |
pause: 1,
|
21 |
+
height: rt_height_px,
|
22 |
timeout: rotate_timeout,
|
23 |
fx: rotate_fx
|
24 |
});
|
42 |
timeout: rotate_timeout,
|
43 |
fx: rotate_fx
|
44 |
});
|
45 |
+
}
|
46 |
+
/* Only do this if we're showing the official tweets - the first select is the size of the info box at the top of the tweet */
|
47 |
+
var rt_children_id = rotate_id + ' .rtw_info';
|
48 |
+
/* This shows the width of the icon on 'official version 2' - i.e. the one where the whole tweet is indented */
|
49 |
+
var rt_icon_id = rotate_id + ' .rtw_wide_icon a img';
|
50 |
+
/* This shows the width of the block containing the icon on 'official version 2' - i.e. the one where the whole tweet is indented */
|
51 |
+
var rt_block_id = rotate_id + ' .rtw_wide_block';
|
52 |
+
var rt_official_num = jQuery(rt_children_id).length;
|
53 |
+
if(rt_official_num > 0) {
|
54 |
+
/* Now run through and make sure all the boxes are the right size */
|
55 |
+
if(jQuery(rt_icon_id).length > 0) {
|
56 |
+
// console.log('Rotating Tweets container: ' + jQuery(this).width());
|
57 |
+
// console.log('Width of the icon container: ' + jQuery(rt_icon_id).show().width());
|
58 |
+
var rt_icon_width = 0;
|
59 |
+
jQuery(rt_icon_id).each( function() {
|
60 |
+
newiconsize = jQuery(this).width();
|
61 |
+
if(newiconsize>rt_icon_width) {
|
62 |
+
rt_icon_width = newiconsize;
|
63 |
+
}
|
64 |
+
});
|
65 |
+
// console.log('Iconsize: '+rt_icon_width);
|
66 |
+
if(rt_icon_width > 0) {
|
67 |
+
jQuery(rt_block_id).each( function() {
|
68 |
+
jQuery(this).css('padding-left', ( rt_icon_width + 10 ) + 'px');
|
69 |
+
});
|
70 |
+
}
|
71 |
+
}
|
72 |
+
/* Now get the padding-left dimension (if it exists) and subtract it from the max width */
|
73 |
+
// console.log ('leftpadding - text : '+ jQuery(rt_block_id).css('padding-left') + ' and value: ' +parseInt(jQuery(rt_block_id).css('padding-left')));
|
74 |
+
var rt_max_width = jQuery(rotate_id).width();
|
75 |
+
if( typeof jQuery(rt_block_id).css('padding-left') != 'undefined' ) {
|
76 |
+
rt_max_width = rt_max_width - parseInt(jQuery(rt_block_id).css('padding-left'));
|
77 |
+
// console.log('Padding is not undefined');
|
78 |
+
} else {
|
79 |
+
// console.log('Padding IS undefined - leave width unchanged');
|
80 |
+
}
|
81 |
+
// console.log('Rotating Tweets container minus the indent: ' + rt_max_width);
|
82 |
+
/* Go through the tweets - and set the minimum width */
|
83 |
+
jQuery(rt_children_id).each(function() {
|
84 |
+
jQuery(this).width(rt_max_width);
|
85 |
+
});
|
86 |
+
var rt_children_id = rotate_id + ' .rtw_meta';
|
87 |
+
/* Go through the tweets - and set the minimum width */
|
88 |
+
jQuery(rt_children_id).each(function() {
|
89 |
+
jQuery(this).width(rt_max_width);
|
90 |
+
});
|
91 |
+
};
|
92 |
+
|
93 |
/*
|
94 |
jQuery(rotate_id).cycle({
|
95 |
pause: 1,
|
106 |
});
|
107 |
*/
|
108 |
});
|
109 |
+
// Script to show mouseover effects when going over the Twitter intents
|
110 |
+
jQuery('.rtw_intents a').hover(function() {
|
111 |
+
var rtw_src = jQuery(this).find('img').attr('src');
|
112 |
+
var clearOutHovers = /_hover.png$/;
|
113 |
+
jQuery(this).find('img').attr('src',rtw_src.replace(clearOutHovers,".png"));
|
114 |
+
var rtw_src = jQuery(this).find('img').attr('src');
|
115 |
+
var srcReplacePattern = /.png$/;
|
116 |
+
jQuery(this).find('img').attr('src',rtw_src.replace(srcReplacePattern,"_hover.png"));
|
117 |
+
},function() {
|
118 |
+
var rtw_src = jQuery(this).find('img').attr('src');
|
119 |
+
var clearOutHovers = /_hover.png/;
|
120 |
+
jQuery(this).find('img').attr('src',rtw_src.replace(clearOutHovers,".png"));
|
121 |
+
});
|
122 |
+
jQuery('.rtw_wide .rtw_intents').hide();
|
123 |
+
jQuery('.rtw_expand').show();
|
124 |
+
jQuery('.rotatingtweets').has('.rtw_wide').hover(function() {
|
125 |
+
jQuery(this).find('.rtw_intents').show();
|
126 |
+
// jQuery(this).find('.rtw_expand').css('color','blue');
|
127 |
+
},function() {
|
128 |
+
jQuery(this).find('.rtw_intents').hide();
|
129 |
+
// jQuery(this).find('.rtw_expand').css('color','red');
|
130 |
+
});
|
131 |
+
});
|
132 |
+
/*
|
133 |
+
jQuery(window).ready(function() {
|
134 |
+
// Experimenting with resizing the size of the box when using displayed tweets
|
135 |
+
twttr.ready(function(twttr) {
|
136 |
+
jQuery('blockquote').each( function() {
|
137 |
+
console.log(jQuery(this).prop('class'));
|
138 |
+
console.log(jQuery(this).height());
|
139 |
+
});
|
140 |
+
});
|
141 |
});
|
142 |
+
*/
|
143 |
/* And call the Twitter script while we're at it! */
|
144 |
/* Standard script to call Twitter */
|
145 |
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
|
js/rotating_tweet.min.js
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".rotatingtweets").each(function(){var a="#"+this.id,b=a.split("_"),d=b[1],b=b[2];null==b&&(b="scrollUp");jQuery(a).cycle({pause:1,height:
|
|
|
|
|
2 |
!function(a,b,d){var c=a.getElementsByTagName(b)[0];a.getElementById(d)||(a=a.createElement(b),a.id=d,a.src="//platform.twitter.com/widgets.js",c.parentNode.insertBefore(a,c))}(document,"script","twitter-wjs");
|
1 |
+
jQuery(document).ready(function(){jQuery(".rotatingtweets").each(function(){var a="#"+this.id,b=a.split("_"),d=b[1],b=b[2];null==b&&(b="scrollUp");var c="auto";jQuery(a).cycle({pause:1,height:c,timeout:d,fx:b});var e=jQuery(a).height();0==e&&(e=0,jQuery(a+" .rotatingtweet").each(function(){var a=jQuery(this).height();a>e&&(e=a)}),c=e+"px",jQuery(a).cycle("destroy"),jQuery(a).cycle({pause:1,height:c,timeout:d,fx:b}));d=a+" .rtw_info";b=a+" .rtw_wide_icon a img";c=a+" .rtw_wide_block";if(0<jQuery(d).length){if(0<
|
2 |
+
jQuery(b).length){var f=0;jQuery(b).each(function(){newiconsize=jQuery(this).width();newiconsize>f&&(f=newiconsize)});0<f&&jQuery(c).each(function(){jQuery(this).css("padding-left",f+10+"px")})}var g=jQuery(a).width();"undefined"!=typeof jQuery(c).css("padding-left")&&(g-=parseInt(jQuery(c).css("padding-left")));jQuery(d).each(function(){jQuery(this).width(g)});jQuery(a+" .rtw_meta").each(function(){jQuery(this).width(g)})}});jQuery(".rtw_intents a").hover(function(){var a=jQuery(this).find("img").attr("src");
|
3 |
+
jQuery(this).find("img").attr("src",a.replace(/_hover.png$/,".png"));a=jQuery(this).find("img").attr("src");jQuery(this).find("img").attr("src",a.replace(/.png$/,"_hover.png"))},function(){var a=jQuery(this).find("img").attr("src");jQuery(this).find("img").attr("src",a.replace(/_hover.png/,".png"))});jQuery(".rtw_wide .rtw_intents").hide();jQuery(".rtw_expand").show();jQuery(".rotatingtweets").has(".rtw_wide").hover(function(){jQuery(this).find(".rtw_intents").show()},function(){jQuery(this).find(".rtw_intents").hide()})});
|
4 |
!function(a,b,d){var c=a.getElementsByTagName(b)[0];a.getElementById(d)||(a=a.createElement(b),a.id=d,a.src="//platform.twitter.com/widgets.js",c.parentNode.insertBefore(a,c))}(document,"script","twitter-wjs");
|
js/rotating_tweet_admin.js
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Script to cycle the rotating tweets
|
3 |
+
*/
|
4 |
+
jQuery(document).ready(function() {
|
5 |
+
// Script to show or hide display options on start up
|
6 |
+
jQuery('input.rtw_ad_official:checked').each(function() {
|
7 |
+
var response = jQuery(this).attr('value');
|
8 |
+
if( response == 0) {
|
9 |
+
jQuery(this).parent().find('.rtw_ad_tw_det').show('fast');
|
10 |
+
} else {
|
11 |
+
jQuery(this).parent().find('.rtw_ad_tw_det').hide('fast');
|
12 |
+
}
|
13 |
+
});
|
14 |
+
// Script to show or hide display options when box is checked
|
15 |
+
jQuery('.rtw_ad_official').change(function() {
|
16 |
+
var response = jQuery(this).attr('value');
|
17 |
+
if( response == 0) {
|
18 |
+
jQuery(this).parent().find('.rtw_ad_tw_det').show('fast');
|
19 |
+
} else {
|
20 |
+
jQuery(this).parent().find('.rtw_ad_tw_det').hide('fast');
|
21 |
+
}
|
22 |
+
});
|
23 |
+
});
|
languages/rotatingtweets-de_DE.mo
ADDED
Binary file
|
languages/rotatingtweets-de_DE.po
ADDED
@@ -0,0 +1,329 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Rotating Tweets (Twitter widget & shortcode)
|
2 |
+
# This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.505\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
+
"POT-Creation-Date: 2013-01-13 16:00:16+00:00\n"
|
8 |
+
"PO-Revision-Date: 2013-01-13 16:10-0000\n"
|
9 |
+
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: de_DE\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Generator: Poedit 1.5.4\n"
|
17 |
+
|
18 |
+
#: rotatingtweets.php:41
|
19 |
+
msgid "A widget to show tweets for a particular user in rotation."
|
20 |
+
msgstr ""
|
21 |
+
|
22 |
+
#: rotatingtweets.php:132
|
23 |
+
msgid "Title:"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: rotatingtweets.php:133
|
27 |
+
msgid "Twitter name:"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: rotatingtweets.php:134
|
31 |
+
msgid "Include retweets?"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: rotatingtweets.php:135
|
35 |
+
msgid "Exclude replies?"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: rotatingtweets.php:136
|
39 |
+
msgid "How many tweets?"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: rotatingtweets.php:144
|
43 |
+
msgid "Speed"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: rotatingtweets.php:147
|
47 |
+
msgid "Faster (3 seconds)"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: rotatingtweets.php:148
|
51 |
+
msgid "Normal (4 seconds)"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: rotatingtweets.php:149
|
55 |
+
msgid "Slower (5 seconds)"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: rotatingtweets.php:150
|
59 |
+
msgid "Slowest (6 seconds)"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: rotatingtweets.php:151
|
63 |
+
msgid "Ultra slow (20 seconds)"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: rotatingtweets.php:163
|
67 |
+
msgid "Scroll Up"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: rotatingtweets.php:164
|
71 |
+
msgid "Scroll Down"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: rotatingtweets.php:165
|
75 |
+
msgid "Scroll Left"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: rotatingtweets.php:166
|
79 |
+
msgid "Scroll Right"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: rotatingtweets.php:167
|
83 |
+
msgid "Fade"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: rotatingtweets.php:171
|
87 |
+
msgid "Type of rotation"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: rotatingtweets.php:180
|
91 |
+
msgid "Display format"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: rotatingtweets.php:183
|
95 |
+
msgid "Original rotating tweets layout"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: rotatingtweets.php:184
|
99 |
+
msgid ""
|
100 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
101 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: rotatingtweets.php:185
|
105 |
+
msgid ""
|
106 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
107 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: rotatingtweets.php:195
|
111 |
+
msgid "Show tweet details?"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: rotatingtweets.php:198
|
115 |
+
msgid "Time/date of tweet"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: rotatingtweets.php:199
|
119 |
+
msgid "Name of person tweeting"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: rotatingtweets.php:200
|
123 |
+
msgid "Source of tweet"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: rotatingtweets.php:201
|
127 |
+
msgid "'reply · retweet · favorite' links"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: rotatingtweets.php:211
|
131 |
+
msgid "Show follow button?"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: rotatingtweets.php:214
|
135 |
+
msgctxt "Show follow button?"
|
136 |
+
msgid "None"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: rotatingtweets.php:215
|
140 |
+
msgid "Show name and number of followers"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: rotatingtweets.php:216
|
144 |
+
msgid "Show name only"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: rotatingtweets.php:217
|
148 |
+
msgid "Show followers only"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: rotatingtweets.php:218
|
152 |
+
msgid "Show button only"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: rotatingtweets.php:243
|
156 |
+
msgid "less than a second ago"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: rotatingtweets.php:244
|
160 |
+
msgid "%d seconds ago"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: rotatingtweets.php:245
|
164 |
+
msgid "about a minute ago"
|
165 |
+
msgid_plural "about %d minutes ago"
|
166 |
+
msgstr[0] ""
|
167 |
+
msgstr[1] ""
|
168 |
+
|
169 |
+
#: rotatingtweets.php:246 rotatingtweets.php:248
|
170 |
+
msgid "about an hour ago"
|
171 |
+
msgid_plural "about %d hours ago"
|
172 |
+
msgstr[0] ""
|
173 |
+
msgstr[1] ""
|
174 |
+
|
175 |
+
#: rotatingtweets.php:247
|
176 |
+
msgid "yesterday"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: rotatingtweets.php:249
|
180 |
+
msgid "about a day ago"
|
181 |
+
msgid_plural "about %d days ago"
|
182 |
+
msgstr[0] ""
|
183 |
+
msgstr[1] ""
|
184 |
+
|
185 |
+
#: rotatingtweets.php:250
|
186 |
+
msgid "last week"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: rotatingtweets.php:251
|
190 |
+
msgid "about a week ago"
|
191 |
+
msgid_plural "about %d weeks ago"
|
192 |
+
msgstr[0] ""
|
193 |
+
msgstr[1] ""
|
194 |
+
|
195 |
+
#: rotatingtweets.php:252
|
196 |
+
msgid "last month"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: rotatingtweets.php:253
|
200 |
+
msgid "about a month ago"
|
201 |
+
msgid_plural "about %d months ago"
|
202 |
+
msgstr[0] ""
|
203 |
+
msgstr[1] ""
|
204 |
+
|
205 |
+
#: rotatingtweets.php:254
|
206 |
+
msgid "last year"
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: rotatingtweets.php:255
|
210 |
+
msgid "about a year ago"
|
211 |
+
msgid_plural "about %d years ago"
|
212 |
+
msgstr[0] ""
|
213 |
+
msgstr[1] ""
|
214 |
+
|
215 |
+
#: rotatingtweets.php:262
|
216 |
+
msgctxt "abbreviated timestamp in seconds"
|
217 |
+
msgid "%ds"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: rotatingtweets.php:263
|
221 |
+
msgctxt "abbreviated timestamp in minutes"
|
222 |
+
msgid "%dm"
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: rotatingtweets.php:264
|
226 |
+
msgctxt "abbreviated timestamp in hours"
|
227 |
+
msgid "%dh"
|
228 |
+
msgstr ""
|
229 |
+
|
230 |
+
#: rotatingtweets.php:265
|
231 |
+
msgctxt ""
|
232 |
+
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
233 |
+
msgid "j M"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: rotatingtweets.php:266
|
237 |
+
msgctxt ""
|
238 |
+
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
239 |
+
"php"
|
240 |
+
msgid "j M Y"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: rotatingtweets.php:272
|
244 |
+
msgid "reply"
|
245 |
+
msgstr "Antworten"
|
246 |
+
|
247 |
+
#: rotatingtweets.php:273
|
248 |
+
msgid "retweet"
|
249 |
+
msgstr "Retweeten"
|
250 |
+
|
251 |
+
#: rotatingtweets.php:274
|
252 |
+
msgid "favorite"
|
253 |
+
msgstr "Favorisieren"
|
254 |
+
|
255 |
+
#: rotatingtweets.php:538
|
256 |
+
msgid "Problem retrieving data from Twitter"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: rotatingtweets.php:542
|
260 |
+
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: rotatingtweets.php:544 rotatingtweets.php:563
|
264 |
+
msgid "Next attempt to get data will be in %d minute"
|
265 |
+
msgid_plural "Next attempt to get data will be in %d minutes"
|
266 |
+
msgstr[0] ""
|
267 |
+
msgstr[1] ""
|
268 |
+
|
269 |
+
#: rotatingtweets.php:545
|
270 |
+
msgid "Next attempt to get data will be in less than a minute"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: rotatingtweets.php:551
|
274 |
+
msgid "Wordpress error message"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: rotatingtweets.php:554
|
278 |
+
msgid "Please check the Twitter name used in the settings."
|
279 |
+
msgstr ""
|
280 |
+
|
281 |
+
#: rotatingtweets.php:648
|
282 |
+
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: rotatingtweets.php:652
|
286 |
+
msgid "via %s"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
+
#: rotatingtweets.php:663
|
290 |
+
msgid "Twitter"
|
291 |
+
msgstr ""
|
292 |
+
|
293 |
+
#: rotatingtweets.php:672 rotatingtweets.php:688
|
294 |
+
msgid "Retweeted by %s"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: rotatingtweets.php:690
|
298 |
+
msgid "Expand"
|
299 |
+
msgstr "Öffnen"
|
300 |
+
|
301 |
+
#: rotatingtweets.php:702
|
302 |
+
msgid "Problem retrieving data from Twitter."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#: rotatingtweets.php:704
|
306 |
+
msgid "Please check the comments on this page's HTML to understand more."
|
307 |
+
msgstr ""
|
308 |
+
|
309 |
+
#: rotatingtweets.php:724
|
310 |
+
msgid "Follow @%s"
|
311 |
+
msgstr "Folgen @%s"
|
312 |
+
|
313 |
+
#. Plugin Name of the plugin/theme
|
314 |
+
msgid "Rotating Tweets (Twitter widget & shortcode)"
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#. Description of the plugin/theme
|
318 |
+
msgid ""
|
319 |
+
"Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or "
|
320 |
+
"a widget, with a rotating tweets display"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#. Author of the plugin/theme
|
324 |
+
msgid "Martin Tod"
|
325 |
+
msgstr "Martin Tod"
|
326 |
+
|
327 |
+
#. Author URI of the plugin/theme
|
328 |
+
msgid "http://www.martintod.org.uk"
|
329 |
+
msgstr "http://www.martintod.org.uk"
|
languages/rotatingtweets-en_GB.mo
CHANGED
Binary file
|
languages/rotatingtweets-en_GB.po
CHANGED
@@ -4,253 +4,314 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.504\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
"Language-Team: Martin Tod <martin@martintod.org.uk>\n"
|
|
|
11 |
"MIME-Version: 1.0\n"
|
12 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"Plural-Forms: nplurals=2; plural=(n != 1)
|
15 |
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"
|
17 |
|
18 |
#: rotatingtweets.php:41
|
19 |
msgid "A widget to show tweets for a particular user in rotation."
|
20 |
msgstr "A widget to show tweets for a particular user in rotation."
|
21 |
|
22 |
-
#: rotatingtweets.php:
|
23 |
msgid "Title:"
|
24 |
msgstr "Title:"
|
25 |
|
26 |
-
#: rotatingtweets.php:
|
27 |
msgid "Twitter name:"
|
28 |
msgstr "Twitter name:"
|
29 |
|
30 |
-
#: rotatingtweets.php:
|
31 |
msgid "Include retweets?"
|
32 |
msgstr "Include retweets?"
|
33 |
|
34 |
-
#: rotatingtweets.php:
|
35 |
msgid "Exclude replies?"
|
36 |
msgstr "Exclude replies?"
|
37 |
|
38 |
-
#: rotatingtweets.php:
|
39 |
msgid "How many tweets?"
|
40 |
msgstr "How many tweets?"
|
41 |
|
42 |
-
#: rotatingtweets.php:
|
43 |
msgid "Speed"
|
44 |
msgstr "Speed"
|
45 |
|
46 |
-
#: rotatingtweets.php:
|
47 |
msgid "Faster (3 seconds)"
|
48 |
msgstr "Faster (3 seconds)"
|
49 |
|
50 |
-
#: rotatingtweets.php:
|
51 |
msgid "Normal (4 seconds)"
|
52 |
msgstr "Normal (4 seconds)"
|
53 |
|
54 |
-
#: rotatingtweets.php:
|
55 |
msgid "Slower (5 seconds)"
|
56 |
msgstr "Slower (5 seconds)"
|
57 |
|
58 |
-
#: rotatingtweets.php:
|
59 |
msgid "Slowest (6 seconds)"
|
60 |
msgstr "Slowest (6 seconds)"
|
61 |
|
62 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
63 |
msgid "Scroll Up"
|
64 |
msgstr "Scroll Up"
|
65 |
|
66 |
-
#: rotatingtweets.php:
|
67 |
msgid "Scroll Down"
|
68 |
msgstr "Scroll Down"
|
69 |
|
70 |
-
#: rotatingtweets.php:
|
71 |
msgid "Scroll Left"
|
72 |
msgstr "Scroll Left"
|
73 |
|
74 |
-
#: rotatingtweets.php:
|
75 |
msgid "Scroll Right"
|
76 |
msgstr "Scroll Right"
|
77 |
|
78 |
-
#: rotatingtweets.php:
|
79 |
msgid "Fade"
|
80 |
msgstr "Fade"
|
81 |
|
82 |
-
#: rotatingtweets.php:
|
83 |
msgid "Type of rotation"
|
84 |
msgstr "Type of rotation"
|
85 |
|
86 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
msgid "Show tweet details?"
|
88 |
msgstr "Show tweet details?"
|
89 |
|
90 |
-
#: rotatingtweets.php:
|
91 |
msgid "Time/date of tweet"
|
92 |
msgstr "Time/date of tweet"
|
93 |
|
94 |
-
#: rotatingtweets.php:
|
95 |
msgid "Name of person tweeting"
|
96 |
msgstr "Name of person tweeting"
|
97 |
|
98 |
-
#: rotatingtweets.php:
|
99 |
msgid "Source of tweet"
|
100 |
msgstr "Source of tweet"
|
101 |
|
102 |
-
#: rotatingtweets.php:
|
103 |
msgid "'reply · retweet · favorite' links"
|
104 |
msgstr "'reply · retweet · favourite' links"
|
105 |
|
106 |
-
#: rotatingtweets.php:
|
107 |
msgid "Show follow button?"
|
108 |
msgstr "Show follow button?"
|
109 |
|
110 |
-
#: rotatingtweets.php:
|
111 |
msgctxt "Show follow button?"
|
112 |
msgid "None"
|
113 |
msgstr "None"
|
114 |
|
115 |
-
#: rotatingtweets.php:
|
116 |
msgid "Show name and number of followers"
|
117 |
msgstr "Show name and number of followers"
|
118 |
|
119 |
-
#: rotatingtweets.php:
|
120 |
msgid "Show name only"
|
121 |
msgstr "Show name only"
|
122 |
|
123 |
-
#: rotatingtweets.php:
|
124 |
msgid "Show followers only"
|
125 |
msgstr "Show followers only"
|
126 |
|
127 |
-
#: rotatingtweets.php:
|
128 |
msgid "Show button only"
|
129 |
msgstr "Show button only"
|
130 |
|
131 |
-
#: rotatingtweets.php:
|
132 |
msgid "less than a second ago"
|
133 |
msgstr "less than a second ago"
|
134 |
|
135 |
-
#: rotatingtweets.php:
|
136 |
msgid "%d seconds ago"
|
137 |
msgstr "%d seconds ago"
|
138 |
|
139 |
-
#: rotatingtweets.php:
|
140 |
msgid "about a minute ago"
|
141 |
msgid_plural "about %d minutes ago"
|
142 |
msgstr[0] "about a minute ago"
|
143 |
msgstr[1] "about %d minutes ago"
|
144 |
|
145 |
-
#: rotatingtweets.php:
|
146 |
msgid "about an hour ago"
|
147 |
msgid_plural "about %d hours ago"
|
148 |
msgstr[0] "about an hour ago"
|
149 |
msgstr[1] "about %d hours ago"
|
150 |
|
151 |
-
#: rotatingtweets.php:
|
152 |
msgid "yesterday"
|
153 |
msgstr "yesterday"
|
154 |
|
155 |
-
#: rotatingtweets.php:
|
156 |
msgid "about a day ago"
|
157 |
msgid_plural "about %d days ago"
|
158 |
msgstr[0] "about a day ago"
|
159 |
msgstr[1] "about %d days ago"
|
160 |
|
161 |
-
#: rotatingtweets.php:
|
162 |
msgid "last week"
|
163 |
msgstr "last week"
|
164 |
|
165 |
-
#: rotatingtweets.php:
|
166 |
msgid "about a week ago"
|
167 |
msgid_plural "about %d weeks ago"
|
168 |
msgstr[0] "about a week ago"
|
169 |
msgstr[1] "about %d weeks ago"
|
170 |
|
171 |
-
#: rotatingtweets.php:
|
172 |
msgid "last month"
|
173 |
msgstr "last month"
|
174 |
|
175 |
-
#: rotatingtweets.php:
|
176 |
msgid "about a month ago"
|
177 |
msgid_plural "about %d months ago"
|
178 |
msgstr[0] "about a month ago"
|
179 |
msgstr[1] "about %d months ago"
|
180 |
|
181 |
-
#: rotatingtweets.php:
|
182 |
msgid "last year"
|
183 |
msgstr "last year"
|
184 |
|
185 |
-
#: rotatingtweets.php:
|
186 |
msgid "about a year ago"
|
187 |
msgid_plural "about %d years ago"
|
188 |
msgstr[0] "about a year ago"
|
189 |
msgstr[1] "about %d years ago"
|
190 |
|
191 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
msgid "Problem retrieving data from Twitter"
|
193 |
msgstr "Problem retrieving data from Twitter"
|
194 |
|
195 |
-
#: rotatingtweets.php:
|
196 |
-
msgid ""
|
197 |
-
"This website is currently <a href='
|
198 |
-
"limiting/faq'>rate-limited by Twitter</a>."
|
199 |
-
msgstr ""
|
200 |
-
"This website is currently <a href='https://dev.twitter.com/docs/rate-"
|
201 |
-
"limiting/faq'>rate-limited by Twitter</a>."
|
202 |
|
203 |
-
#: rotatingtweets.php:
|
204 |
msgid "Next attempt to get data will be in %d minute"
|
205 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
206 |
msgstr[0] "Next attempt to get data will be in %d minute"
|
207 |
msgstr[1] "Next attempt to get data will be in %d minutes"
|
208 |
|
209 |
-
#: rotatingtweets.php:
|
210 |
msgid "Next attempt to get data will be in less than a minute"
|
211 |
msgstr "Next attempt to get data will be in less than a minute"
|
212 |
|
213 |
-
#: rotatingtweets.php:
|
214 |
msgid "Wordpress error message"
|
215 |
msgstr "Wordpress error message"
|
216 |
|
217 |
-
#: rotatingtweets.php:
|
218 |
msgid "Please check the Twitter name used in the settings."
|
219 |
msgstr "Please check the Twitter name used in the settings."
|
220 |
|
221 |
-
#: rotatingtweets.php:
|
222 |
-
msgid ""
|
223 |
-
"from <a
|
224 |
-
"Twitter</a>"
|
225 |
-
msgstr ""
|
226 |
-
"from <a target='_BLANK' href='http://twitter.com/%1$s' title='%2$s'>%2$s's "
|
227 |
-
"Twitter</a>"
|
228 |
|
229 |
-
#: rotatingtweets.php:
|
230 |
msgid "via %s"
|
231 |
msgstr "via %s"
|
232 |
|
233 |
-
#: rotatingtweets.php:
|
234 |
-
msgid "
|
235 |
-
msgstr "
|
236 |
|
237 |
-
#: rotatingtweets.php:
|
238 |
-
msgid "
|
239 |
-
msgstr "
|
240 |
|
241 |
-
#: rotatingtweets.php:
|
242 |
-
msgid "
|
243 |
-
msgstr "
|
244 |
|
245 |
-
#: rotatingtweets.php:
|
246 |
msgid "Problem retrieving data from Twitter."
|
247 |
msgstr "Problem retrieving data from Twitter."
|
248 |
|
249 |
-
#: rotatingtweets.php:
|
250 |
msgid "Please check the comments on this page's HTML to understand more."
|
251 |
msgstr "Please check the comments on this page's HTML to understand more."
|
252 |
|
253 |
-
#: rotatingtweets.php:
|
254 |
msgid "Follow @%s"
|
255 |
msgstr "Follow @%s"
|
256 |
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.504\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
+
"POT-Creation-Date: 2013-01-13 16:00:16+00:00\n"
|
8 |
+
"PO-Revision-Date: 2013-01-13 16:09-0000\n"
|
9 |
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
"Language-Team: Martin Tod <martin@martintod.org.uk>\n"
|
11 |
+
"Language: en_GB\n"
|
12 |
"MIME-Version: 1.0\n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Generator: Poedit 1.5.4\n"
|
18 |
|
19 |
#: rotatingtweets.php:41
|
20 |
msgid "A widget to show tweets for a particular user in rotation."
|
21 |
msgstr "A widget to show tweets for a particular user in rotation."
|
22 |
|
23 |
+
#: rotatingtweets.php:132
|
24 |
msgid "Title:"
|
25 |
msgstr "Title:"
|
26 |
|
27 |
+
#: rotatingtweets.php:133
|
28 |
msgid "Twitter name:"
|
29 |
msgstr "Twitter name:"
|
30 |
|
31 |
+
#: rotatingtweets.php:134
|
32 |
msgid "Include retweets?"
|
33 |
msgstr "Include retweets?"
|
34 |
|
35 |
+
#: rotatingtweets.php:135
|
36 |
msgid "Exclude replies?"
|
37 |
msgstr "Exclude replies?"
|
38 |
|
39 |
+
#: rotatingtweets.php:136
|
40 |
msgid "How many tweets?"
|
41 |
msgstr "How many tweets?"
|
42 |
|
43 |
+
#: rotatingtweets.php:144
|
44 |
msgid "Speed"
|
45 |
msgstr "Speed"
|
46 |
|
47 |
+
#: rotatingtweets.php:147
|
48 |
msgid "Faster (3 seconds)"
|
49 |
msgstr "Faster (3 seconds)"
|
50 |
|
51 |
+
#: rotatingtweets.php:148
|
52 |
msgid "Normal (4 seconds)"
|
53 |
msgstr "Normal (4 seconds)"
|
54 |
|
55 |
+
#: rotatingtweets.php:149
|
56 |
msgid "Slower (5 seconds)"
|
57 |
msgstr "Slower (5 seconds)"
|
58 |
|
59 |
+
#: rotatingtweets.php:150
|
60 |
msgid "Slowest (6 seconds)"
|
61 |
msgstr "Slowest (6 seconds)"
|
62 |
|
63 |
+
#: rotatingtweets.php:151
|
64 |
+
msgid "Ultra slow (20 seconds)"
|
65 |
+
msgstr "Ultra slow (20 seconds)"
|
66 |
+
|
67 |
+
#: rotatingtweets.php:163
|
68 |
msgid "Scroll Up"
|
69 |
msgstr "Scroll Up"
|
70 |
|
71 |
+
#: rotatingtweets.php:164
|
72 |
msgid "Scroll Down"
|
73 |
msgstr "Scroll Down"
|
74 |
|
75 |
+
#: rotatingtweets.php:165
|
76 |
msgid "Scroll Left"
|
77 |
msgstr "Scroll Left"
|
78 |
|
79 |
+
#: rotatingtweets.php:166
|
80 |
msgid "Scroll Right"
|
81 |
msgstr "Scroll Right"
|
82 |
|
83 |
+
#: rotatingtweets.php:167
|
84 |
msgid "Fade"
|
85 |
msgstr "Fade"
|
86 |
|
87 |
+
#: rotatingtweets.php:171
|
88 |
msgid "Type of rotation"
|
89 |
msgstr "Type of rotation"
|
90 |
|
91 |
+
#: rotatingtweets.php:180
|
92 |
+
msgid "Display format"
|
93 |
+
msgstr "Display format"
|
94 |
+
|
95 |
+
#: rotatingtweets.php:183
|
96 |
+
msgid "Original rotating tweets layout"
|
97 |
+
msgstr "Original rotating tweets layout"
|
98 |
+
|
99 |
+
#: rotatingtweets.php:184
|
100 |
+
msgid ""
|
101 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
102 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
103 |
+
msgstr ""
|
104 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
105 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
106 |
+
|
107 |
+
#: rotatingtweets.php:185
|
108 |
+
msgid ""
|
109 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
110 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
111 |
+
msgstr ""
|
112 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
113 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
114 |
+
|
115 |
+
#: rotatingtweets.php:195
|
116 |
msgid "Show tweet details?"
|
117 |
msgstr "Show tweet details?"
|
118 |
|
119 |
+
#: rotatingtweets.php:198
|
120 |
msgid "Time/date of tweet"
|
121 |
msgstr "Time/date of tweet"
|
122 |
|
123 |
+
#: rotatingtweets.php:199
|
124 |
msgid "Name of person tweeting"
|
125 |
msgstr "Name of person tweeting"
|
126 |
|
127 |
+
#: rotatingtweets.php:200
|
128 |
msgid "Source of tweet"
|
129 |
msgstr "Source of tweet"
|
130 |
|
131 |
+
#: rotatingtweets.php:201
|
132 |
msgid "'reply · retweet · favorite' links"
|
133 |
msgstr "'reply · retweet · favourite' links"
|
134 |
|
135 |
+
#: rotatingtweets.php:211
|
136 |
msgid "Show follow button?"
|
137 |
msgstr "Show follow button?"
|
138 |
|
139 |
+
#: rotatingtweets.php:214
|
140 |
msgctxt "Show follow button?"
|
141 |
msgid "None"
|
142 |
msgstr "None"
|
143 |
|
144 |
+
#: rotatingtweets.php:215
|
145 |
msgid "Show name and number of followers"
|
146 |
msgstr "Show name and number of followers"
|
147 |
|
148 |
+
#: rotatingtweets.php:216
|
149 |
msgid "Show name only"
|
150 |
msgstr "Show name only"
|
151 |
|
152 |
+
#: rotatingtweets.php:217
|
153 |
msgid "Show followers only"
|
154 |
msgstr "Show followers only"
|
155 |
|
156 |
+
#: rotatingtweets.php:218
|
157 |
msgid "Show button only"
|
158 |
msgstr "Show button only"
|
159 |
|
160 |
+
#: rotatingtweets.php:243
|
161 |
msgid "less than a second ago"
|
162 |
msgstr "less than a second ago"
|
163 |
|
164 |
+
#: rotatingtweets.php:244
|
165 |
msgid "%d seconds ago"
|
166 |
msgstr "%d seconds ago"
|
167 |
|
168 |
+
#: rotatingtweets.php:245
|
169 |
msgid "about a minute ago"
|
170 |
msgid_plural "about %d minutes ago"
|
171 |
msgstr[0] "about a minute ago"
|
172 |
msgstr[1] "about %d minutes ago"
|
173 |
|
174 |
+
#: rotatingtweets.php:246 rotatingtweets.php:248
|
175 |
msgid "about an hour ago"
|
176 |
msgid_plural "about %d hours ago"
|
177 |
msgstr[0] "about an hour ago"
|
178 |
msgstr[1] "about %d hours ago"
|
179 |
|
180 |
+
#: rotatingtweets.php:247
|
181 |
msgid "yesterday"
|
182 |
msgstr "yesterday"
|
183 |
|
184 |
+
#: rotatingtweets.php:249
|
185 |
msgid "about a day ago"
|
186 |
msgid_plural "about %d days ago"
|
187 |
msgstr[0] "about a day ago"
|
188 |
msgstr[1] "about %d days ago"
|
189 |
|
190 |
+
#: rotatingtweets.php:250
|
191 |
msgid "last week"
|
192 |
msgstr "last week"
|
193 |
|
194 |
+
#: rotatingtweets.php:251
|
195 |
msgid "about a week ago"
|
196 |
msgid_plural "about %d weeks ago"
|
197 |
msgstr[0] "about a week ago"
|
198 |
msgstr[1] "about %d weeks ago"
|
199 |
|
200 |
+
#: rotatingtweets.php:252
|
201 |
msgid "last month"
|
202 |
msgstr "last month"
|
203 |
|
204 |
+
#: rotatingtweets.php:253
|
205 |
msgid "about a month ago"
|
206 |
msgid_plural "about %d months ago"
|
207 |
msgstr[0] "about a month ago"
|
208 |
msgstr[1] "about %d months ago"
|
209 |
|
210 |
+
#: rotatingtweets.php:254
|
211 |
msgid "last year"
|
212 |
msgstr "last year"
|
213 |
|
214 |
+
#: rotatingtweets.php:255
|
215 |
msgid "about a year ago"
|
216 |
msgid_plural "about %d years ago"
|
217 |
msgstr[0] "about a year ago"
|
218 |
msgstr[1] "about %d years ago"
|
219 |
|
220 |
+
#: rotatingtweets.php:262
|
221 |
+
msgctxt "abbreviated timestamp in seconds"
|
222 |
+
msgid "%ds"
|
223 |
+
msgstr "%ds"
|
224 |
+
|
225 |
+
#: rotatingtweets.php:263
|
226 |
+
msgctxt "abbreviated timestamp in minutes"
|
227 |
+
msgid "%dm"
|
228 |
+
msgstr "%dm"
|
229 |
+
|
230 |
+
#: rotatingtweets.php:264
|
231 |
+
msgctxt "abbreviated timestamp in hours"
|
232 |
+
msgid "%dh"
|
233 |
+
msgstr "%dh"
|
234 |
+
|
235 |
+
#: rotatingtweets.php:265
|
236 |
+
msgctxt ""
|
237 |
+
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
238 |
+
msgid "j M"
|
239 |
+
msgstr "j M"
|
240 |
+
|
241 |
+
#: rotatingtweets.php:266
|
242 |
+
msgctxt ""
|
243 |
+
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
244 |
+
"php"
|
245 |
+
msgid "j M Y"
|
246 |
+
msgstr "j M Y"
|
247 |
+
|
248 |
+
#: rotatingtweets.php:272
|
249 |
+
msgid "reply"
|
250 |
+
msgstr "reply"
|
251 |
+
|
252 |
+
#: rotatingtweets.php:273
|
253 |
+
msgid "retweet"
|
254 |
+
msgstr "retweet"
|
255 |
+
|
256 |
+
#: rotatingtweets.php:274
|
257 |
+
msgid "favorite"
|
258 |
+
msgstr "favourite"
|
259 |
+
|
260 |
+
#: rotatingtweets.php:538
|
261 |
msgid "Problem retrieving data from Twitter"
|
262 |
msgstr "Problem retrieving data from Twitter"
|
263 |
|
264 |
+
#: rotatingtweets.php:542
|
265 |
+
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
266 |
+
msgstr "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
|
|
|
|
|
|
|
|
267 |
|
268 |
+
#: rotatingtweets.php:544 rotatingtweets.php:563
|
269 |
msgid "Next attempt to get data will be in %d minute"
|
270 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
271 |
msgstr[0] "Next attempt to get data will be in %d minute"
|
272 |
msgstr[1] "Next attempt to get data will be in %d minutes"
|
273 |
|
274 |
+
#: rotatingtweets.php:545
|
275 |
msgid "Next attempt to get data will be in less than a minute"
|
276 |
msgstr "Next attempt to get data will be in less than a minute"
|
277 |
|
278 |
+
#: rotatingtweets.php:551
|
279 |
msgid "Wordpress error message"
|
280 |
msgstr "Wordpress error message"
|
281 |
|
282 |
+
#: rotatingtweets.php:554
|
283 |
msgid "Please check the Twitter name used in the settings."
|
284 |
msgstr "Please check the Twitter name used in the settings."
|
285 |
|
286 |
+
#: rotatingtweets.php:648
|
287 |
+
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
288 |
+
msgstr "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
|
|
|
|
|
|
|
|
289 |
|
290 |
+
#: rotatingtweets.php:652
|
291 |
msgid "via %s"
|
292 |
msgstr "via %s"
|
293 |
|
294 |
+
#: rotatingtweets.php:663
|
295 |
+
msgid "Twitter"
|
296 |
+
msgstr "Twitter"
|
297 |
|
298 |
+
#: rotatingtweets.php:672 rotatingtweets.php:688
|
299 |
+
msgid "Retweeted by %s"
|
300 |
+
msgstr "Retweeted by %s"
|
301 |
|
302 |
+
#: rotatingtweets.php:690
|
303 |
+
msgid "Expand"
|
304 |
+
msgstr "Expand"
|
305 |
|
306 |
+
#: rotatingtweets.php:702
|
307 |
msgid "Problem retrieving data from Twitter."
|
308 |
msgstr "Problem retrieving data from Twitter."
|
309 |
|
310 |
+
#: rotatingtweets.php:704
|
311 |
msgid "Please check the comments on this page's HTML to understand more."
|
312 |
msgstr "Please check the comments on this page's HTML to understand more."
|
313 |
|
314 |
+
#: rotatingtweets.php:724
|
315 |
msgid "Follow @%s"
|
316 |
msgstr "Follow @%s"
|
317 |
|
languages/rotatingtweets-es_ES.mo
ADDED
Binary file
|
languages/rotatingtweets-es_ES.po
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Rotating Tweets (Twitter widget & shortcode)
|
2 |
+
# This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
+
"POT-Creation-Date: 2013-01-13 16:00:16+00:00\n"
|
8 |
+
"PO-Revision-Date: 2013-01-13 16:10-0000\n"
|
9 |
+
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: es_ES\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Generator: Poedit 1.5.4\n"
|
18 |
+
|
19 |
+
#: rotatingtweets.php:41
|
20 |
+
msgid "A widget to show tweets for a particular user in rotation."
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: rotatingtweets.php:132
|
24 |
+
msgid "Title:"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: rotatingtweets.php:133
|
28 |
+
msgid "Twitter name:"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: rotatingtweets.php:134
|
32 |
+
msgid "Include retweets?"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: rotatingtweets.php:135
|
36 |
+
msgid "Exclude replies?"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: rotatingtweets.php:136
|
40 |
+
msgid "How many tweets?"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: rotatingtweets.php:144
|
44 |
+
msgid "Speed"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: rotatingtweets.php:147
|
48 |
+
msgid "Faster (3 seconds)"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: rotatingtweets.php:148
|
52 |
+
msgid "Normal (4 seconds)"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: rotatingtweets.php:149
|
56 |
+
msgid "Slower (5 seconds)"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: rotatingtweets.php:150
|
60 |
+
msgid "Slowest (6 seconds)"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: rotatingtweets.php:151
|
64 |
+
msgid "Ultra slow (20 seconds)"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: rotatingtweets.php:163
|
68 |
+
msgid "Scroll Up"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: rotatingtweets.php:164
|
72 |
+
msgid "Scroll Down"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: rotatingtweets.php:165
|
76 |
+
msgid "Scroll Left"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: rotatingtweets.php:166
|
80 |
+
msgid "Scroll Right"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: rotatingtweets.php:167
|
84 |
+
msgid "Fade"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: rotatingtweets.php:171
|
88 |
+
msgid "Type of rotation"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: rotatingtweets.php:180
|
92 |
+
msgid "Display format"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: rotatingtweets.php:183
|
96 |
+
msgid "Original rotating tweets layout"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: rotatingtweets.php:184
|
100 |
+
msgid ""
|
101 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
102 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: rotatingtweets.php:185
|
106 |
+
msgid ""
|
107 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
108 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: rotatingtweets.php:195
|
112 |
+
msgid "Show tweet details?"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: rotatingtweets.php:198
|
116 |
+
msgid "Time/date of tweet"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: rotatingtweets.php:199
|
120 |
+
msgid "Name of person tweeting"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: rotatingtweets.php:200
|
124 |
+
msgid "Source of tweet"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: rotatingtweets.php:201
|
128 |
+
msgid "'reply · retweet · favorite' links"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: rotatingtweets.php:211
|
132 |
+
msgid "Show follow button?"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: rotatingtweets.php:214
|
136 |
+
msgctxt "Show follow button?"
|
137 |
+
msgid "None"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: rotatingtweets.php:215
|
141 |
+
msgid "Show name and number of followers"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: rotatingtweets.php:216
|
145 |
+
msgid "Show name only"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: rotatingtweets.php:217
|
149 |
+
msgid "Show followers only"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: rotatingtweets.php:218
|
153 |
+
msgid "Show button only"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: rotatingtweets.php:243
|
157 |
+
msgid "less than a second ago"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: rotatingtweets.php:244
|
161 |
+
msgid "%d seconds ago"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: rotatingtweets.php:245
|
165 |
+
msgid "about a minute ago"
|
166 |
+
msgid_plural "about %d minutes ago"
|
167 |
+
msgstr[0] ""
|
168 |
+
msgstr[1] ""
|
169 |
+
|
170 |
+
#: rotatingtweets.php:246 rotatingtweets.php:248
|
171 |
+
msgid "about an hour ago"
|
172 |
+
msgid_plural "about %d hours ago"
|
173 |
+
msgstr[0] ""
|
174 |
+
msgstr[1] ""
|
175 |
+
|
176 |
+
#: rotatingtweets.php:247
|
177 |
+
msgid "yesterday"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: rotatingtweets.php:249
|
181 |
+
msgid "about a day ago"
|
182 |
+
msgid_plural "about %d days ago"
|
183 |
+
msgstr[0] ""
|
184 |
+
msgstr[1] ""
|
185 |
+
|
186 |
+
#: rotatingtweets.php:250
|
187 |
+
msgid "last week"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: rotatingtweets.php:251
|
191 |
+
msgid "about a week ago"
|
192 |
+
msgid_plural "about %d weeks ago"
|
193 |
+
msgstr[0] ""
|
194 |
+
msgstr[1] ""
|
195 |
+
|
196 |
+
#: rotatingtweets.php:252
|
197 |
+
msgid "last month"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: rotatingtweets.php:253
|
201 |
+
msgid "about a month ago"
|
202 |
+
msgid_plural "about %d months ago"
|
203 |
+
msgstr[0] ""
|
204 |
+
msgstr[1] ""
|
205 |
+
|
206 |
+
#: rotatingtweets.php:254
|
207 |
+
msgid "last year"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: rotatingtweets.php:255
|
211 |
+
msgid "about a year ago"
|
212 |
+
msgid_plural "about %d years ago"
|
213 |
+
msgstr[0] ""
|
214 |
+
msgstr[1] ""
|
215 |
+
|
216 |
+
#: rotatingtweets.php:262
|
217 |
+
msgctxt "abbreviated timestamp in seconds"
|
218 |
+
msgid "%ds"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: rotatingtweets.php:263
|
222 |
+
msgctxt "abbreviated timestamp in minutes"
|
223 |
+
msgid "%dm"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: rotatingtweets.php:264
|
227 |
+
msgctxt "abbreviated timestamp in hours"
|
228 |
+
msgid "%dh"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: rotatingtweets.php:265
|
232 |
+
msgctxt ""
|
233 |
+
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
234 |
+
msgid "j M"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: rotatingtweets.php:266
|
238 |
+
msgctxt ""
|
239 |
+
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
240 |
+
"php"
|
241 |
+
msgid "j M Y"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: rotatingtweets.php:272
|
245 |
+
msgid "reply"
|
246 |
+
msgstr "Responder"
|
247 |
+
|
248 |
+
#: rotatingtweets.php:273
|
249 |
+
msgid "retweet"
|
250 |
+
msgstr "Retwittear"
|
251 |
+
|
252 |
+
#: rotatingtweets.php:274
|
253 |
+
msgid "favorite"
|
254 |
+
msgstr "Favorito"
|
255 |
+
|
256 |
+
#: rotatingtweets.php:538
|
257 |
+
msgid "Problem retrieving data from Twitter"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: rotatingtweets.php:542
|
261 |
+
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: rotatingtweets.php:544 rotatingtweets.php:563
|
265 |
+
msgid "Next attempt to get data will be in %d minute"
|
266 |
+
msgid_plural "Next attempt to get data will be in %d minutes"
|
267 |
+
msgstr[0] ""
|
268 |
+
msgstr[1] ""
|
269 |
+
|
270 |
+
#: rotatingtweets.php:545
|
271 |
+
msgid "Next attempt to get data will be in less than a minute"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: rotatingtweets.php:551
|
275 |
+
msgid "Wordpress error message"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: rotatingtweets.php:554
|
279 |
+
msgid "Please check the Twitter name used in the settings."
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: rotatingtweets.php:648
|
283 |
+
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: rotatingtweets.php:652
|
287 |
+
msgid "via %s"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: rotatingtweets.php:663
|
291 |
+
msgid "Twitter"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: rotatingtweets.php:672 rotatingtweets.php:688
|
295 |
+
msgid "Retweeted by %s"
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: rotatingtweets.php:690
|
299 |
+
msgid "Expand"
|
300 |
+
msgstr "Abrir"
|
301 |
+
|
302 |
+
#: rotatingtweets.php:702
|
303 |
+
msgid "Problem retrieving data from Twitter."
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: rotatingtweets.php:704
|
307 |
+
msgid "Please check the comments on this page's HTML to understand more."
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: rotatingtweets.php:724
|
311 |
+
msgid "Follow @%s"
|
312 |
+
msgstr "Seguir a @%s"
|
313 |
+
|
314 |
+
#. Plugin Name of the plugin/theme
|
315 |
+
msgid "Rotating Tweets (Twitter widget & shortcode)"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#. Description of the plugin/theme
|
319 |
+
msgid ""
|
320 |
+
"Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or "
|
321 |
+
"a widget, with a rotating tweets display"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#. Author of the plugin/theme
|
325 |
+
msgid "Martin Tod"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#. Author URI of the plugin/theme
|
329 |
+
msgid "http://www.martintod.org.uk"
|
330 |
+
msgstr ""
|
languages/rotatingtweets-it_IT.mo
ADDED
Binary file
|
languages/rotatingtweets-it_IT.po
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2012 Rotating Tweets (Twitter widget & shortcode)
|
2 |
+
# This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.600\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
+
"POT-Creation-Date: 2013-01-13 16:00:16+00:00\n"
|
8 |
+
"PO-Revision-Date: 2013-01-13 16:11-0000\n"
|
9 |
+
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
+
"Language-Team: \n"
|
11 |
+
"Language: Italian\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Generator: Poedit 1.5.4\n"
|
18 |
+
|
19 |
+
#: rotatingtweets.php:41
|
20 |
+
msgid "A widget to show tweets for a particular user in rotation."
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: rotatingtweets.php:132
|
24 |
+
msgid "Title:"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: rotatingtweets.php:133
|
28 |
+
msgid "Twitter name:"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: rotatingtweets.php:134
|
32 |
+
msgid "Include retweets?"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: rotatingtweets.php:135
|
36 |
+
msgid "Exclude replies?"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: rotatingtweets.php:136
|
40 |
+
msgid "How many tweets?"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: rotatingtweets.php:144
|
44 |
+
msgid "Speed"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: rotatingtweets.php:147
|
48 |
+
msgid "Faster (3 seconds)"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: rotatingtweets.php:148
|
52 |
+
msgid "Normal (4 seconds)"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: rotatingtweets.php:149
|
56 |
+
msgid "Slower (5 seconds)"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: rotatingtweets.php:150
|
60 |
+
msgid "Slowest (6 seconds)"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: rotatingtweets.php:151
|
64 |
+
msgid "Ultra slow (20 seconds)"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: rotatingtweets.php:163
|
68 |
+
msgid "Scroll Up"
|
69 |
+
msgstr ""
|
70 |
+
|
71 |
+
#: rotatingtweets.php:164
|
72 |
+
msgid "Scroll Down"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: rotatingtweets.php:165
|
76 |
+
msgid "Scroll Left"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: rotatingtweets.php:166
|
80 |
+
msgid "Scroll Right"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: rotatingtweets.php:167
|
84 |
+
msgid "Fade"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: rotatingtweets.php:171
|
88 |
+
msgid "Type of rotation"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: rotatingtweets.php:180
|
92 |
+
msgid "Display format"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: rotatingtweets.php:183
|
96 |
+
msgid "Original rotating tweets layout"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: rotatingtweets.php:184
|
100 |
+
msgid ""
|
101 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
102 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: rotatingtweets.php:185
|
106 |
+
msgid ""
|
107 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
108 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: rotatingtweets.php:195
|
112 |
+
msgid "Show tweet details?"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: rotatingtweets.php:198
|
116 |
+
msgid "Time/date of tweet"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: rotatingtweets.php:199
|
120 |
+
msgid "Name of person tweeting"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: rotatingtweets.php:200
|
124 |
+
msgid "Source of tweet"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: rotatingtweets.php:201
|
128 |
+
msgid "'reply · retweet · favorite' links"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: rotatingtweets.php:211
|
132 |
+
msgid "Show follow button?"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: rotatingtweets.php:214
|
136 |
+
msgctxt "Show follow button?"
|
137 |
+
msgid "None"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: rotatingtweets.php:215
|
141 |
+
msgid "Show name and number of followers"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: rotatingtweets.php:216
|
145 |
+
msgid "Show name only"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: rotatingtweets.php:217
|
149 |
+
msgid "Show followers only"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: rotatingtweets.php:218
|
153 |
+
msgid "Show button only"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: rotatingtweets.php:243
|
157 |
+
msgid "less than a second ago"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: rotatingtweets.php:244
|
161 |
+
msgid "%d seconds ago"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: rotatingtweets.php:245
|
165 |
+
msgid "about a minute ago"
|
166 |
+
msgid_plural "about %d minutes ago"
|
167 |
+
msgstr[0] ""
|
168 |
+
msgstr[1] ""
|
169 |
+
|
170 |
+
#: rotatingtweets.php:246 rotatingtweets.php:248
|
171 |
+
msgid "about an hour ago"
|
172 |
+
msgid_plural "about %d hours ago"
|
173 |
+
msgstr[0] ""
|
174 |
+
msgstr[1] ""
|
175 |
+
|
176 |
+
#: rotatingtweets.php:247
|
177 |
+
msgid "yesterday"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: rotatingtweets.php:249
|
181 |
+
msgid "about a day ago"
|
182 |
+
msgid_plural "about %d days ago"
|
183 |
+
msgstr[0] ""
|
184 |
+
msgstr[1] ""
|
185 |
+
|
186 |
+
#: rotatingtweets.php:250
|
187 |
+
msgid "last week"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: rotatingtweets.php:251
|
191 |
+
msgid "about a week ago"
|
192 |
+
msgid_plural "about %d weeks ago"
|
193 |
+
msgstr[0] ""
|
194 |
+
msgstr[1] ""
|
195 |
+
|
196 |
+
#: rotatingtweets.php:252
|
197 |
+
msgid "last month"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: rotatingtweets.php:253
|
201 |
+
msgid "about a month ago"
|
202 |
+
msgid_plural "about %d months ago"
|
203 |
+
msgstr[0] ""
|
204 |
+
msgstr[1] ""
|
205 |
+
|
206 |
+
#: rotatingtweets.php:254
|
207 |
+
msgid "last year"
|
208 |
+
msgstr ""
|
209 |
+
|
210 |
+
#: rotatingtweets.php:255
|
211 |
+
msgid "about a year ago"
|
212 |
+
msgid_plural "about %d years ago"
|
213 |
+
msgstr[0] ""
|
214 |
+
msgstr[1] ""
|
215 |
+
|
216 |
+
#: rotatingtweets.php:262
|
217 |
+
msgctxt "abbreviated timestamp in seconds"
|
218 |
+
msgid "%ds"
|
219 |
+
msgstr ""
|
220 |
+
|
221 |
+
#: rotatingtweets.php:263
|
222 |
+
msgctxt "abbreviated timestamp in minutes"
|
223 |
+
msgid "%dm"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: rotatingtweets.php:264
|
227 |
+
msgctxt "abbreviated timestamp in hours"
|
228 |
+
msgid "%dh"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: rotatingtweets.php:265
|
232 |
+
msgctxt ""
|
233 |
+
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
234 |
+
msgid "j M"
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: rotatingtweets.php:266
|
238 |
+
msgctxt ""
|
239 |
+
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
240 |
+
"php"
|
241 |
+
msgid "j M Y"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: rotatingtweets.php:272
|
245 |
+
msgid "reply"
|
246 |
+
msgstr "Risposta"
|
247 |
+
|
248 |
+
#: rotatingtweets.php:273
|
249 |
+
msgid "retweet"
|
250 |
+
msgstr "Retweet"
|
251 |
+
|
252 |
+
#: rotatingtweets.php:274
|
253 |
+
msgid "favorite"
|
254 |
+
msgstr "Preferiti"
|
255 |
+
|
256 |
+
#: rotatingtweets.php:538
|
257 |
+
msgid "Problem retrieving data from Twitter"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: rotatingtweets.php:542
|
261 |
+
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: rotatingtweets.php:544 rotatingtweets.php:563
|
265 |
+
msgid "Next attempt to get data will be in %d minute"
|
266 |
+
msgid_plural "Next attempt to get data will be in %d minutes"
|
267 |
+
msgstr[0] ""
|
268 |
+
msgstr[1] ""
|
269 |
+
|
270 |
+
#: rotatingtweets.php:545
|
271 |
+
msgid "Next attempt to get data will be in less than a minute"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: rotatingtweets.php:551
|
275 |
+
msgid "Wordpress error message"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: rotatingtweets.php:554
|
279 |
+
msgid "Please check the Twitter name used in the settings."
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: rotatingtweets.php:648
|
283 |
+
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: rotatingtweets.php:652
|
287 |
+
msgid "via %s"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: rotatingtweets.php:663
|
291 |
+
msgid "Twitter"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: rotatingtweets.php:672 rotatingtweets.php:688
|
295 |
+
msgid "Retweeted by %s"
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: rotatingtweets.php:690
|
299 |
+
msgid "Expand"
|
300 |
+
msgstr "Espandi"
|
301 |
+
|
302 |
+
#: rotatingtweets.php:702
|
303 |
+
msgid "Problem retrieving data from Twitter."
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: rotatingtweets.php:704
|
307 |
+
msgid "Please check the comments on this page's HTML to understand more."
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: rotatingtweets.php:724
|
311 |
+
msgid "Follow @%s"
|
312 |
+
msgstr "Segui @%s"
|
313 |
+
|
314 |
+
#. Plugin Name of the plugin/theme
|
315 |
+
msgid "Rotating Tweets (Twitter widget & shortcode)"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#. Description of the plugin/theme
|
319 |
+
msgid ""
|
320 |
+
"Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or "
|
321 |
+
"a widget, with a rotating tweets display"
|
322 |
+
msgstr ""
|
323 |
+
|
324 |
+
#. Author of the plugin/theme
|
325 |
+
msgid "Martin Tod"
|
326 |
+
msgstr ""
|
327 |
+
|
328 |
+
#. Author URI of the plugin/theme
|
329 |
+
msgid "http://www.martintod.org.uk"
|
330 |
+
msgstr ""
|
languages/rotatingtweets.pot
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
@@ -16,234 +16,294 @@ msgstr ""
|
|
16 |
msgid "A widget to show tweets for a particular user in rotation."
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: rotatingtweets.php:
|
20 |
msgid "Title:"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: rotatingtweets.php:
|
24 |
msgid "Twitter name:"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: rotatingtweets.php:
|
28 |
msgid "Include retweets?"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: rotatingtweets.php:
|
32 |
msgid "Exclude replies?"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: rotatingtweets.php:
|
36 |
msgid "How many tweets?"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: rotatingtweets.php:
|
40 |
msgid "Speed"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: rotatingtweets.php:
|
44 |
msgid "Faster (3 seconds)"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: rotatingtweets.php:
|
48 |
msgid "Normal (4 seconds)"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: rotatingtweets.php:
|
52 |
msgid "Slower (5 seconds)"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: rotatingtweets.php:
|
56 |
msgid "Slowest (6 seconds)"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
60 |
msgid "Scroll Up"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: rotatingtweets.php:
|
64 |
msgid "Scroll Down"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: rotatingtweets.php:
|
68 |
msgid "Scroll Left"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: rotatingtweets.php:
|
72 |
msgid "Scroll Right"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: rotatingtweets.php:
|
76 |
msgid "Fade"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: rotatingtweets.php:
|
80 |
msgid "Type of rotation"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
msgid "Show tweet details?"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: rotatingtweets.php:
|
88 |
msgid "Time/date of tweet"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: rotatingtweets.php:
|
92 |
msgid "Name of person tweeting"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: rotatingtweets.php:
|
96 |
msgid "Source of tweet"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: rotatingtweets.php:
|
100 |
msgid "'reply · retweet · favorite' links"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: rotatingtweets.php:
|
104 |
msgid "Show follow button?"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: rotatingtweets.php:
|
108 |
msgctxt "Show follow button?"
|
109 |
msgid "None"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: rotatingtweets.php:
|
113 |
msgid "Show name and number of followers"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: rotatingtweets.php:
|
117 |
msgid "Show name only"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: rotatingtweets.php:
|
121 |
msgid "Show followers only"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: rotatingtweets.php:
|
125 |
msgid "Show button only"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: rotatingtweets.php:
|
129 |
msgid "less than a second ago"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: rotatingtweets.php:
|
133 |
msgid "%d seconds ago"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: rotatingtweets.php:
|
137 |
msgid "about a minute ago"
|
138 |
msgid_plural "about %d minutes ago"
|
139 |
msgstr[0] ""
|
140 |
msgstr[1] ""
|
141 |
|
142 |
-
#: rotatingtweets.php:
|
143 |
msgid "about an hour ago"
|
144 |
msgid_plural "about %d hours ago"
|
145 |
msgstr[0] ""
|
146 |
msgstr[1] ""
|
147 |
|
148 |
-
#: rotatingtweets.php:
|
149 |
msgid "yesterday"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: rotatingtweets.php:
|
153 |
msgid "about a day ago"
|
154 |
msgid_plural "about %d days ago"
|
155 |
msgstr[0] ""
|
156 |
msgstr[1] ""
|
157 |
|
158 |
-
#: rotatingtweets.php:
|
159 |
msgid "last week"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: rotatingtweets.php:
|
163 |
msgid "about a week ago"
|
164 |
msgid_plural "about %d weeks ago"
|
165 |
msgstr[0] ""
|
166 |
msgstr[1] ""
|
167 |
|
168 |
-
#: rotatingtweets.php:
|
169 |
msgid "last month"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: rotatingtweets.php:
|
173 |
msgid "about a month ago"
|
174 |
msgid_plural "about %d months ago"
|
175 |
msgstr[0] ""
|
176 |
msgstr[1] ""
|
177 |
|
178 |
-
#: rotatingtweets.php:
|
179 |
msgid "last year"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: rotatingtweets.php:
|
183 |
msgid "about a year ago"
|
184 |
msgid_plural "about %d years ago"
|
185 |
msgstr[0] ""
|
186 |
msgstr[1] ""
|
187 |
|
188 |
-
#: rotatingtweets.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
msgid "Problem retrieving data from Twitter"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: rotatingtweets.php:
|
193 |
-
msgid ""
|
194 |
-
"This website is currently <a href='https://dev.twitter.com/docs/rate-"
|
195 |
-
"limiting/faq'>rate-limited by Twitter</a>."
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: rotatingtweets.php:
|
199 |
msgid "Next attempt to get data will be in %d minute"
|
200 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
201 |
msgstr[0] ""
|
202 |
msgstr[1] ""
|
203 |
|
204 |
-
#: rotatingtweets.php:
|
205 |
msgid "Next attempt to get data will be in less than a minute"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: rotatingtweets.php:
|
209 |
msgid "Wordpress error message"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: rotatingtweets.php:
|
213 |
msgid "Please check the Twitter name used in the settings."
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: rotatingtweets.php:
|
217 |
-
msgid ""
|
218 |
-
"from <a target='_BLANK' href='http://twitter.com/%1$s' title='%2$s'>%2$s's "
|
219 |
-
"Twitter</a>"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: rotatingtweets.php:
|
223 |
msgid "via %s"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: rotatingtweets.php:
|
227 |
-
msgid "
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: rotatingtweets.php:
|
231 |
-
msgid "
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: rotatingtweets.php:
|
235 |
-
msgid "
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: rotatingtweets.php:
|
239 |
msgid "Problem retrieving data from Twitter."
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: rotatingtweets.php:
|
243 |
msgid "Please check the comments on this page's HTML to understand more."
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: rotatingtweets.php:
|
247 |
msgid "Follow @%s"
|
248 |
msgstr ""
|
249 |
|
1 |
+
# Copyright (C) 2013 Rotating Tweets (Twitter widget & shortcode)
|
2 |
# This file is distributed under the same license as the Rotating Tweets (Twitter widget & shortcode) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Rotating Tweets (Twitter widget & shortcode) 0.610\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/rotatingtweets\n"
|
7 |
+
"POT-Creation-Date: 2013-01-13 16:00:16+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
16 |
msgid "A widget to show tweets for a particular user in rotation."
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: rotatingtweets.php:132
|
20 |
msgid "Title:"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: rotatingtweets.php:133
|
24 |
msgid "Twitter name:"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: rotatingtweets.php:134
|
28 |
msgid "Include retweets?"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: rotatingtweets.php:135
|
32 |
msgid "Exclude replies?"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: rotatingtweets.php:136
|
36 |
msgid "How many tweets?"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: rotatingtweets.php:144
|
40 |
msgid "Speed"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: rotatingtweets.php:147
|
44 |
msgid "Faster (3 seconds)"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: rotatingtweets.php:148
|
48 |
msgid "Normal (4 seconds)"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: rotatingtweets.php:149
|
52 |
msgid "Slower (5 seconds)"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: rotatingtweets.php:150
|
56 |
msgid "Slowest (6 seconds)"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: rotatingtweets.php:151
|
60 |
+
msgid "Ultra slow (20 seconds)"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: rotatingtweets.php:163
|
64 |
msgid "Scroll Up"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: rotatingtweets.php:164
|
68 |
msgid "Scroll Down"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: rotatingtweets.php:165
|
72 |
msgid "Scroll Left"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: rotatingtweets.php:166
|
76 |
msgid "Scroll Right"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: rotatingtweets.php:167
|
80 |
msgid "Fade"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: rotatingtweets.php:171
|
84 |
msgid "Type of rotation"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: rotatingtweets.php:180
|
88 |
+
msgid "Display format"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: rotatingtweets.php:183
|
92 |
+
msgid "Original rotating tweets layout"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: rotatingtweets.php:184
|
96 |
+
msgid ""
|
97 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
98 |
+
"guidelines'>Official Twitter guidelines</a> (regular)"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: rotatingtweets.php:185
|
102 |
+
msgid ""
|
103 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
104 |
+
"guidelines'>Official Twitter guidelines</a> (wide)"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: rotatingtweets.php:195
|
108 |
msgid "Show tweet details?"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: rotatingtweets.php:198
|
112 |
msgid "Time/date of tweet"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: rotatingtweets.php:199
|
116 |
msgid "Name of person tweeting"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: rotatingtweets.php:200
|
120 |
msgid "Source of tweet"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: rotatingtweets.php:201
|
124 |
msgid "'reply · retweet · favorite' links"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: rotatingtweets.php:211
|
128 |
msgid "Show follow button?"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: rotatingtweets.php:214
|
132 |
msgctxt "Show follow button?"
|
133 |
msgid "None"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: rotatingtweets.php:215
|
137 |
msgid "Show name and number of followers"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: rotatingtweets.php:216
|
141 |
msgid "Show name only"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: rotatingtweets.php:217
|
145 |
msgid "Show followers only"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: rotatingtweets.php:218
|
149 |
msgid "Show button only"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: rotatingtweets.php:243
|
153 |
msgid "less than a second ago"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: rotatingtweets.php:244
|
157 |
msgid "%d seconds ago"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: rotatingtweets.php:245
|
161 |
msgid "about a minute ago"
|
162 |
msgid_plural "about %d minutes ago"
|
163 |
msgstr[0] ""
|
164 |
msgstr[1] ""
|
165 |
|
166 |
+
#: rotatingtweets.php:246 rotatingtweets.php:248
|
167 |
msgid "about an hour ago"
|
168 |
msgid_plural "about %d hours ago"
|
169 |
msgstr[0] ""
|
170 |
msgstr[1] ""
|
171 |
|
172 |
+
#: rotatingtweets.php:247
|
173 |
msgid "yesterday"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: rotatingtweets.php:249
|
177 |
msgid "about a day ago"
|
178 |
msgid_plural "about %d days ago"
|
179 |
msgstr[0] ""
|
180 |
msgstr[1] ""
|
181 |
|
182 |
+
#: rotatingtweets.php:250
|
183 |
msgid "last week"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: rotatingtweets.php:251
|
187 |
msgid "about a week ago"
|
188 |
msgid_plural "about %d weeks ago"
|
189 |
msgstr[0] ""
|
190 |
msgstr[1] ""
|
191 |
|
192 |
+
#: rotatingtweets.php:252
|
193 |
msgid "last month"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: rotatingtweets.php:253
|
197 |
msgid "about a month ago"
|
198 |
msgid_plural "about %d months ago"
|
199 |
msgstr[0] ""
|
200 |
msgstr[1] ""
|
201 |
|
202 |
+
#: rotatingtweets.php:254
|
203 |
msgid "last year"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: rotatingtweets.php:255
|
207 |
msgid "about a year ago"
|
208 |
msgid_plural "about %d years ago"
|
209 |
msgstr[0] ""
|
210 |
msgstr[1] ""
|
211 |
|
212 |
+
#: rotatingtweets.php:262
|
213 |
+
msgctxt "abbreviated timestamp in seconds"
|
214 |
+
msgid "%ds"
|
215 |
+
msgstr ""
|
216 |
+
|
217 |
+
#: rotatingtweets.php:263
|
218 |
+
msgctxt "abbreviated timestamp in minutes"
|
219 |
+
msgid "%dm"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: rotatingtweets.php:264
|
223 |
+
msgctxt "abbreviated timestamp in hours"
|
224 |
+
msgid "%dh"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: rotatingtweets.php:265
|
228 |
+
msgctxt ""
|
229 |
+
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
230 |
+
msgid "j M"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: rotatingtweets.php:266
|
234 |
+
msgctxt ""
|
235 |
+
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
236 |
+
"php"
|
237 |
+
msgid "j M Y"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: rotatingtweets.php:272
|
241 |
+
msgid "reply"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: rotatingtweets.php:273
|
245 |
+
msgid "retweet"
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: rotatingtweets.php:274
|
249 |
+
msgid "favorite"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: rotatingtweets.php:538
|
253 |
msgid "Problem retrieving data from Twitter"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: rotatingtweets.php:542
|
257 |
+
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
|
|
|
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: rotatingtweets.php:544 rotatingtweets.php:563
|
261 |
msgid "Next attempt to get data will be in %d minute"
|
262 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
263 |
msgstr[0] ""
|
264 |
msgstr[1] ""
|
265 |
|
266 |
+
#: rotatingtweets.php:545
|
267 |
msgid "Next attempt to get data will be in less than a minute"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: rotatingtweets.php:551
|
271 |
msgid "Wordpress error message"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: rotatingtweets.php:554
|
275 |
msgid "Please check the Twitter name used in the settings."
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: rotatingtweets.php:648
|
279 |
+
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
|
|
|
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: rotatingtweets.php:652
|
283 |
msgid "via %s"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: rotatingtweets.php:663
|
287 |
+
msgid "Twitter"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: rotatingtweets.php:672 rotatingtweets.php:688
|
291 |
+
msgid "Retweeted by %s"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: rotatingtweets.php:690
|
295 |
+
msgid "Expand"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: rotatingtweets.php:702
|
299 |
msgid "Problem retrieving data from Twitter."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: rotatingtweets.php:704
|
303 |
msgid "Please check the comments on this page's HTML to understand more."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: rotatingtweets.php:724
|
307 |
msgid "Follow @%s"
|
308 |
msgstr ""
|
309 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: mpntod
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
|
5 |
Requires at least: 2.6
|
6 |
-
Tested up to: 3.
|
7 |
-
Stable tag: 0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -52,6 +52,7 @@ Possible variables for the shortcode include:
|
|
52 |
* `show_meta_via` = `'0'` or `'1'` - show how each tweet was posted - optional - default is `'1'`
|
53 |
* `show_meta_reply_retweet_favorite` = `'0'` or `'1'` - show 'reply', 'retweet' and 'favorite' buttons - optional - default is `'0'`
|
54 |
* `rotation_type` = any of the options listed on the [jQuery.cycle website](http://jquery.malsup.com/cycle/browser.html) - default is `'scrollUp'`
|
|
|
55 |
|
56 |
although the only one you *have* to have is `screen_name`.
|
57 |
|
@@ -59,11 +60,33 @@ although the only one you *have* to have is `screen_name`.
|
|
59 |
= How often does the plug-in call Twitter =
|
60 |
In most cases, each use (or "instance") of this plug-in gets data from Twitter every 2 minutes. The exception is when two or more instances share the same settings (screen name etc.), in which case they share the same data rather than each calling it separately.
|
61 |
|
|
|
|
|
|
|
62 |
== Upgrade notice ==
|
63 |
-
= 0.
|
64 |
-
|
65 |
|
66 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
= 0.505 =
|
68 |
Minimised Javascript. Set-up for I18n.
|
69 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
|
5 |
Requires at least: 2.6
|
6 |
+
Tested up to: 3.5
|
7 |
+
Stable tag: 0.612
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
52 |
* `show_meta_via` = `'0'` or `'1'` - show how each tweet was posted - optional - default is `'1'`
|
53 |
* `show_meta_reply_retweet_favorite` = `'0'` or `'1'` - show 'reply', 'retweet' and 'favorite' buttons - optional - default is `'0'`
|
54 |
* `rotation_type` = any of the options listed on the [jQuery.cycle website](http://jquery.malsup.com/cycle/browser.html) - default is `'scrollUp'`
|
55 |
+
* `url_length` = sets the length that the URL should be trimmed to...
|
56 |
|
57 |
although the only one you *have* to have is `screen_name`.
|
58 |
|
60 |
= How often does the plug-in call Twitter =
|
61 |
In most cases, each use (or "instance") of this plug-in gets data from Twitter every 2 minutes. The exception is when two or more instances share the same settings (screen name etc.), in which case they share the same data rather than each calling it separately.
|
62 |
|
63 |
+
= How can I add a Twitter bird to the left of my tweets? =
|
64 |
+
You can do this by going to the `rotatingtweets/css` directory and renaming `yourstyle-sample.css` to `yourstyle.css`. This displays a Twitter bird to the left of your tweets. Any CSS you put into `yourstyle.css` won't be overwritten when the plug-in is upgraded to the latest version.
|
65 |
+
|
66 |
== Upgrade notice ==
|
67 |
+
= 0.611 =
|
68 |
+
Now includes options consistent with Twitter display options and options to allow for different length URLs
|
69 |
|
70 |
== Changelog ==
|
71 |
+
= 0.612 =
|
72 |
+
Fixed error message caused by last fix causing tweets to repeat.
|
73 |
+
|
74 |
+
= 0.611 =
|
75 |
+
Finally ran with debug and removed all the error messages.
|
76 |
+
|
77 |
+
= 0.610 =
|
78 |
+
Starts to add options to allow for different length URLs
|
79 |
+
|
80 |
+
= 0.602 =
|
81 |
+
Fixes bug with Javascript
|
82 |
+
|
83 |
+
= 0.601 =
|
84 |
+
Fixes problem with stylesheet
|
85 |
+
|
86 |
+
= 0.600 =
|
87 |
+
Now includes options consistent with Twitter display options
|
88 |
+
Tidied up code.
|
89 |
+
|
90 |
= 0.505 =
|
91 |
Minimised Javascript. Set-up for I18n.
|
92 |
|
rotatingtweets.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
-
Version: 0.
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
@@ -40,19 +40,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
40 |
function rotatingtweets_Widget() {
|
41 |
parent::WP_Widget(false, $name = 'Rotating Tweets',array('description'=>__('A widget to show tweets for a particular user in rotation.','rotatingtweets')));
|
42 |
if ( is_active_widget( false, false, $this->id_base ) )
|
43 |
-
|
44 |
-
# Get Stylesheet
|
45 |
-
$style = get_stylesheet();
|
46 |
-
switch ($style):
|
47 |
-
case 'zeebizzcard':
|
48 |
-
wp_enqueue_script( 'rotating_tweet', plugins_url('js/rotating_tweet.min.js', __FILE__),array('jquery','zee_jquery-cycle'),FALSE,FALSE );
|
49 |
-
break;
|
50 |
-
default:
|
51 |
-
wp_enqueue_script( 'jquery-cycle', plugins_url('js/jquery.cycle.all.min.js', __FILE__),array('jquery'),FALSE,FALSE );
|
52 |
-
wp_enqueue_script( 'rotating_tweet', plugins_url('js/rotating_tweet.min.js', __FILE__),array('jquery','jquery-cycle'),FALSE,FALSE );
|
53 |
-
break;
|
54 |
-
endswitch;
|
55 |
-
wp_enqueue_style( 'rotating_tweet', plugins_url('css/style.css', __FILE__));
|
56 |
}
|
57 |
|
58 |
/** @see WP_Widget::widget */
|
@@ -70,6 +58,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
70 |
$newargs['show_meta_via'] = !$instance['tw_hide_meta_via'];
|
71 |
$newargs['rotation_type'] = $instance['tw_rotation_type'];
|
72 |
$newargs['show_meta_reply_retweet_favorite'] = $instance['tw_show_meta_reply_retweet_favorite'];
|
|
|
73 |
switch($newargs['show_follow']) {
|
74 |
case 2:
|
75 |
$newargs['no_show_count'] = TRUE;
|
@@ -96,7 +85,6 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
96 |
echo $before_title . $title . $after_title;
|
97 |
rotating_tweets_display($tweets,$newargs,TRUE);
|
98 |
echo $after_widget;
|
99 |
-
# echo "<!-- ";print_r($newargs);echo " -->";
|
100 |
?>
|
101 |
<?php
|
102 |
}
|
@@ -115,6 +103,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
115 |
$instance['tw_hide_meta_timestamp'] = !$new_instance['tw_show_meta_timestamp'];
|
116 |
$instance['tw_hide_meta_screen_name'] = !$new_instance['tw_show_meta_screen_name'];
|
117 |
$instance['tw_hide_meta_via'] = !$new_instance['tw_show_meta_via'];
|
|
|
118 |
$instance['tw_show_meta_reply_retweet_favorite'] = absint($new_instance['tw_show_meta_reply_retweet_favorite']);
|
119 |
$instance['tw_timeout'] = max(min(intval($new_instance['tw_timeout']/1000)*1000,6000),3000);
|
120 |
return $instance;
|
@@ -122,7 +111,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
122 |
|
123 |
/** @see WP_Widget::form */
|
124 |
function form($instance) {
|
125 |
-
|
126 |
$tw_screen_name = esc_attr(trim($instance['tw_screen_name']));
|
127 |
$tw_rotation_type = $instance['tw_rotation_type'];
|
128 |
if(empty($tw_rotation_type)) $tw_rotation_type = 'scrollUp';
|
@@ -130,6 +119,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
130 |
$tw_exclude_replies = absint($instance['tw_exclude_replies']);
|
131 |
$tw_tweet_count = intval($instance['tw_tweet_count']);
|
132 |
$tw_show_follow = absint($instance['tw_show_follow']);
|
|
|
133 |
$metaoption['tw_show_meta_timestamp'] = !$instance['tw_hide_meta_timestamp'];
|
134 |
$metaoption['tw_show_meta_screen_name'] = !$instance['tw_hide_meta_screen_name'];
|
135 |
$metaoption['tw_show_meta_via'] = !$instance['tw_hide_meta_via'];
|
@@ -145,7 +135,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
145 |
<p><input id="<?php echo $this->get_field_id('tw_exclude_replies'); ?>" name="<?php echo $this->get_field_name('tw_exclude_replies'); ?>" type="checkbox" value="1" <?php if($tw_exclude_replies==1): ?>checked="checked" <?php endif; ?>/><label for="<?php echo $this->get_field_id('tw_exclude_replies'); ?>"> <?php _e('Exclude replies?','rotatingtweets'); ?></label></p>
|
146 |
<p><label for="<?php echo $this->get_field_id('tw_tweet_count'); ?>"><?php _e('How many tweets?','rotatingtweets'); ?> <select id="<?php echo $this->get_field_id('tw_tweet_count'); ?>" name="<?php echo $this->get_field_name('tw_tweet_count');?>">
|
147 |
<?php
|
148 |
-
for ($i=1; $i<
|
149 |
echo "\n\t<option value='$i' ";
|
150 |
if($tw_tweet_count==$i): ?>selected="selected" <?php endif;
|
151 |
echo ">$i</option>";
|
@@ -157,7 +147,8 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
157 |
"3000" => __("Faster (3 seconds)",'rotatingtweets'),
|
158 |
"4000" => __("Normal (4 seconds)",'rotatingtweets'),
|
159 |
"5000" => __("Slower (5 seconds)",'rotatingtweets'),
|
160 |
-
"6000" => __("Slowest (6 seconds)",'rotatingtweets')
|
|
|
161 |
);
|
162 |
foreach ($timeoutoptions as $val => $words) {
|
163 |
echo "\n\t<option value='$val' ";
|
@@ -186,8 +177,23 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
186 |
}
|
187 |
?></select></label></p>
|
188 |
<?php /* Ask about which Tweet details to show */ ?>
|
189 |
-
<p><?php _e('
|
190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
$tweet_detail_options = array(
|
192 |
'tw_show_meta_timestamp' => __('Time/date of tweet','rotatingtweets'),
|
193 |
'tw_show_meta_screen_name' => __('Name of person tweeting','rotatingtweets'),
|
@@ -201,7 +207,7 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
201 |
<input id="<?php echo $this->get_field_id($field); ?>" name="<?php echo $this->get_field_name($field); ?>" type="checkbox" value="1" <?php if($metaoption[$field]==1): ?>checked="checked" <?php endif; ?>/><label for="<?php echo $this->get_field_id($field); ?>"> <?php echo $text; ?></label>
|
202 |
<?php
|
203 |
$tw_br = "<br />";
|
204 |
-
endforeach; ?></p>
|
205 |
<p><?php _e('Show follow button?','rotatingtweets'); ?></p>
|
206 |
<?php
|
207 |
$showfollowoptions = array (
|
@@ -215,14 +221,22 @@ class rotatingtweets_Widget extends WP_Widget {
|
|
215 |
foreach ($showfollowoptions as $val => $html) {
|
216 |
echo "<input type='radio' value='$val' id='".$this->get_field_id('tw_tweet_count_'.$val)."' name= '".$this->get_field_name('tw_show_follow')."'";
|
217 |
if($tw_show_follow==$val): ?> checked="checked" <?php endif;
|
218 |
-
echo "><label for
|
219 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}
|
221 |
} // class rotatingtweets_Widget
|
222 |
|
223 |
// register rotatingtweets_Widget widget
|
224 |
add_action('widgets_init', create_function('', 'return register_widget("rotatingtweets_Widget");'));
|
225 |
|
|
|
226 |
function rotatingtweets_contextualtime($small_ts, $large_ts=false) {
|
227 |
if(!$large_ts) $large_ts = time();
|
228 |
$n = $large_ts - $small_ts;
|
@@ -241,9 +255,88 @@ function rotatingtweets_contextualtime($small_ts, $large_ts=false) {
|
|
241 |
if($n >= (60*60*24*7*4*12)){$years=round($n/(60*60*24*7*52)) ;return sprintf(_n('about a year ago','about %d years ago',$years,'rotatingtweets'),$years);}
|
242 |
return false;
|
243 |
}
|
244 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
# Processes the shortcode
|
246 |
-
function
|
247 |
// $atts ::= twitter_id,include_rts,exclude_replies, $tweet_count,$show_follow
|
248 |
/**
|
249 |
Possible values for get_cforms_entries()
|
@@ -268,14 +361,21 @@ function rotatingtweets_display( $atts, $content=null, $code="" ) {
|
|
268 |
'show_meta_screen_name' => TRUE,
|
269 |
'show_meta_via' => TRUE,
|
270 |
'show_meta_reply_retweet_favorite' => FALSE,
|
271 |
-
'rotation_type' => 'scrollUp'
|
|
|
|
|
|
|
272 |
), $atts ) ;
|
273 |
extract($args);
|
|
|
|
|
|
|
|
|
274 |
$tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies);
|
275 |
-
$returnstring = rotating_tweets_display($tweets,$args
|
276 |
return $returnstring;
|
277 |
}
|
278 |
-
add_shortcode( 'rotatingtweets', '
|
279 |
|
280 |
# Get the latest data from Twitter (or from a cache if it's been less than 2 minutes since the last load)
|
281 |
function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_replies) {
|
@@ -283,7 +383,6 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
283 |
$cache_delay = 120;
|
284 |
if($tw_include_rts != 1) $tw_include_rts = 0;
|
285 |
if($tw_exclude_replies != 1) $tw_exclude_replies = 0;
|
286 |
-
# $tw_tweet_count = max(1,intval($tw_tweet_count));
|
287 |
# Get the option strong
|
288 |
$stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
|
289 |
$optionname = "rotatingtweets-cache";
|
@@ -296,9 +395,9 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
296 |
else:
|
297 |
# Clears the cache and forces a reload
|
298 |
$timegap = $cache_delay + 1;
|
299 |
-
|
300 |
endif;
|
301 |
-
|
302 |
if($timegap > $cache_delay):
|
303 |
$callstring = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=".urlencode($tw_screen_name)."&include_entities=1&count=70&include_rts=".$tw_include_rts."&exclude_replies=".$tw_exclude_replies;
|
304 |
$twitterdata = wp_remote_request($callstring);
|
@@ -308,6 +407,7 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
308 |
set_transient('rotatingtweets_wp_error',$twitterdata->get_error_messages(), 120);
|
309 |
endif;
|
310 |
endif;
|
|
|
311 |
if(!empty($twitterjson->errors)):
|
312 |
# If there's an error, reset the cache timer to make sure we don't hit Twitter too hard and get rate limited.
|
313 |
$option[$stringname]['datetime']=time();
|
@@ -347,6 +447,56 @@ function rotatingtweets_get_rate_data() {
|
|
347 |
endif;
|
348 |
}
|
349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
# This function is used for debugging what happens when the site is rate-limited - best not used otherwise!
|
351 |
function rotatingtweets_trigger_rate_limiting() {
|
352 |
$callstring = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter";
|
@@ -360,8 +510,29 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
360 |
unset($result);
|
361 |
$tweet_count = max(1,intval($args['tweet_count']));
|
362 |
$timeout = max(intval($args['timeout']),0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
363 |
# Check that the rotation type is valid. If not, leave it as 'scrollUp'
|
364 |
$rotation_type = 'scrollUp';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
# All the valid rotations - if people to use one that looks weird, that's their business!
|
366 |
$possibleRotations = array('blindX','blindY','blindZ','cover','curtainX','curtainY','fade','fadeZoom','growX','growY','none','scrollUp','scrollDown','scrollLeft','scrollRight','scrollHorz','scrollVert','shuffle','slideX','slideY','toss','turnUp','turnDown','turnLeft','turnRight','uncover','wipe','zoom');
|
367 |
foreach($possibleRotations as $possibleRotation):
|
@@ -375,8 +546,8 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
375 |
$rate = rotatingtweets_get_rate_data();
|
376 |
# Check if the problem is rate limiting
|
377 |
if($rate && $rate->remaining_hits == 0):
|
378 |
-
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". __(
|
379 |
-
$waittimevalue = intval(($rate->reset_time_in_seconds
|
380 |
$waittime = sprintf(_n('Next attempt to get data will be in %d minute','Next attempt to get data will be in %d minutes',$waittimevalue,'rotatingtweets'),$waittimevalue);
|
381 |
if($waittimevalue == 0) $waittime = __("Next attempt to get data will be in less than a minute",'rotatingtweets');
|
382 |
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>{$waittime}.</p></div>";
|
@@ -391,53 +562,89 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
391 |
endif;
|
392 |
else:
|
393 |
$tweet_counter = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
foreach($json as $twitter_object):
|
395 |
$tweet_counter++;
|
396 |
if($tweet_counter <= $tweet_count):
|
397 |
-
if($tweet_counter == 1):
|
398 |
$result .= "\n\t<div class = 'rotatingtweet'>";
|
399 |
else:
|
400 |
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'>";
|
401 |
endif;
|
|
|
402 |
$main_text = $twitter_object->text;
|
403 |
if(!empty($main_text)):
|
404 |
$user = $twitter_object->user;
|
|
|
405 |
# Now the substitutions
|
406 |
$entities = $twitter_object->entities;
|
407 |
# Fix up retweets, links, hashtags and use names
|
408 |
unset($before);
|
409 |
unset($after);
|
|
|
410 |
# First clean up the retweets
|
411 |
-
$
|
|
|
|
|
|
|
|
|
412 |
if(!empty($rt_data)):
|
413 |
$rt_user = $rt_data->user;
|
414 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
415 |
$before[] = "*@".$rt_user->screen_name."*i";
|
416 |
-
$after[] =
|
417 |
$entities = $rt_data->entities;
|
418 |
endif;
|
419 |
# First the user mentions
|
420 |
-
$
|
|
|
|
|
|
|
|
|
421 |
if(!empty($user_mentions)):
|
422 |
foreach($user_mentions as $user_mention):
|
423 |
$before[] = "*@".$user_mention->screen_name."*i";
|
424 |
-
$after[] =
|
425 |
endforeach;
|
426 |
# Clearing up duplicates to avoid strange result (possibly risky?)
|
427 |
$before = array_unique($before);
|
428 |
$after = array_unique($after);
|
429 |
endif;
|
430 |
# Now the URLs
|
431 |
-
$
|
|
|
|
|
|
|
|
|
432 |
if(!empty($urls)):
|
433 |
foreach($urls as $url):
|
434 |
$before[] = "*".$url->url."*";
|
435 |
$displayurl = $url->display_url;
|
436 |
-
if(strlen($displayurl)
|
|
|
|
|
|
|
|
|
437 |
$after[] = "<a href='".$url->url."' title='".$url->expanded_url."'>".esc_html($displayurl)."</a>";
|
438 |
endforeach;
|
439 |
endif;
|
440 |
-
$
|
|
|
|
|
|
|
|
|
441 |
if(!empty($media)):
|
442 |
foreach($media as $medium):
|
443 |
$before[] = "*".$medium->url."*";
|
@@ -449,35 +656,71 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
449 |
$before[]="%#(\w+)%";
|
450 |
$after[]='<a href="http://search.twitter.com/search?q=%23$1" title="#$1">#$1</a>';
|
451 |
$main_text = preg_replace($before,$after,$main_text);
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
if(
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
$
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
if(!empty($meta)) $
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
$result .= "\n\t\t<
|
480 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
else:
|
482 |
$result .= "\n\t\t<p class='rtw_main'>".__("Problem retrieving data from Twitter.",'rotatingtweets')."</p></div>";
|
483 |
$result .= "<!-- rotatingtweets plugin was unable to parse this data: ".print_r($json,TRUE)." -->";
|
@@ -498,27 +741,13 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
498 |
endif;
|
499 |
*/
|
500 |
if($args['show_follow'] && !empty($user->screen_name)):
|
501 |
-
|
502 |
-
$rtlocale = strtolower(get_locale());
|
503 |
-
$rtlocaleMain = explode('_',$rtlocale);
|
504 |
-
$possibleOptions = array ('id','da','ru','msa','ja','no','ur','nl','fa','hi','de','ko','sv','tr','fr','it','en','fil','pt','he','zh-tw','fi','pl','ar','es','hu','th','zh-cn'); // Source https://api.twitter.com/1/help/languages.xml
|
505 |
-
if(in_array($rtlocale,$possibleOptions)):
|
506 |
-
$twitterlocale = $rtlocale;
|
507 |
-
elseif(in_array($rtlocaleMain[0],$possibleOptions)):
|
508 |
-
$twitterlocale = $rtlocaleMain[0];
|
509 |
-
else:
|
510 |
-
# Default
|
511 |
-
$twitterlocale = 'en';
|
512 |
-
endif;
|
513 |
if($args['no_show_count']) $shortenvariables = ' data-show-count="false"';
|
514 |
if($args['no_show_screen_name']) $shortenvariables .= ' data-show-screen-name="false"';
|
515 |
$followUserText = sprintf(__('Follow @%s','rotatingtweets'),$user->screen_name);
|
516 |
-
$result .= "\n<div class='follow-button'><a href='http://twitter.com/".$user->screen_name."' class='twitter-follow-button'{$shortenvariables} title='".$followUserText."' data-lang='{$twitterlocale}'>".$followUserText."</a></div>";
|
517 |
endif;
|
518 |
-
|
519 |
-
wp_enqueue_script( 'jquery-cycle', plugins_url('js/jquery.cycle.all.js', __FILE__),array('jquery'),FALSE,FALSE );
|
520 |
-
wp_enqueue_script( 'rotating_tweet', plugins_url('js/rotating_tweet.js', __FILE__),array('jquery','jquery-cycle'),FALSE,FALSE );
|
521 |
-
wp_enqueue_style( 'rotating_tweet', plugins_url('css/style.css', __FILE__));
|
522 |
if($print) echo $result;
|
523 |
return($result);
|
524 |
}
|
@@ -527,4 +756,33 @@ function rotatingtweets_init() {
|
|
527 |
load_plugin_textdomain( 'rotatingtweets', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
528 |
}
|
529 |
add_action('plugins_loaded', 'rotatingtweets_init');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
530 |
?>
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
+
Version: 0.612
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
40 |
function rotatingtweets_Widget() {
|
41 |
parent::WP_Widget(false, $name = 'Rotating Tweets',array('description'=>__('A widget to show tweets for a particular user in rotation.','rotatingtweets')));
|
42 |
if ( is_active_widget( false, false, $this->id_base ) )
|
43 |
+
rotatingtweets_enqueue_scripts();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
/** @see WP_Widget::widget */
|
58 |
$newargs['show_meta_via'] = !$instance['tw_hide_meta_via'];
|
59 |
$newargs['rotation_type'] = $instance['tw_rotation_type'];
|
60 |
$newargs['show_meta_reply_retweet_favorite'] = $instance['tw_show_meta_reply_retweet_favorite'];
|
61 |
+
$newargs['official_format'] = $instance['tw_official_format'];
|
62 |
switch($newargs['show_follow']) {
|
63 |
case 2:
|
64 |
$newargs['no_show_count'] = TRUE;
|
85 |
echo $before_title . $title . $after_title;
|
86 |
rotating_tweets_display($tweets,$newargs,TRUE);
|
87 |
echo $after_widget;
|
|
|
88 |
?>
|
89 |
<?php
|
90 |
}
|
103 |
$instance['tw_hide_meta_timestamp'] = !$new_instance['tw_show_meta_timestamp'];
|
104 |
$instance['tw_hide_meta_screen_name'] = !$new_instance['tw_show_meta_screen_name'];
|
105 |
$instance['tw_hide_meta_via'] = !$new_instance['tw_show_meta_via'];
|
106 |
+
$instance['tw_official_format'] = absint($new_instance['tw_official_format']);
|
107 |
$instance['tw_show_meta_reply_retweet_favorite'] = absint($new_instance['tw_show_meta_reply_retweet_favorite']);
|
108 |
$instance['tw_timeout'] = max(min(intval($new_instance['tw_timeout']/1000)*1000,6000),3000);
|
109 |
return $instance;
|
111 |
|
112 |
/** @see WP_Widget::form */
|
113 |
function form($instance) {
|
114 |
+
$title = esc_attr($instance['title']);
|
115 |
$tw_screen_name = esc_attr(trim($instance['tw_screen_name']));
|
116 |
$tw_rotation_type = $instance['tw_rotation_type'];
|
117 |
if(empty($tw_rotation_type)) $tw_rotation_type = 'scrollUp';
|
119 |
$tw_exclude_replies = absint($instance['tw_exclude_replies']);
|
120 |
$tw_tweet_count = intval($instance['tw_tweet_count']);
|
121 |
$tw_show_follow = absint($instance['tw_show_follow']);
|
122 |
+
$tw_official_format = absint($instance['tw_official_format']);
|
123 |
$metaoption['tw_show_meta_timestamp'] = !$instance['tw_hide_meta_timestamp'];
|
124 |
$metaoption['tw_show_meta_screen_name'] = !$instance['tw_hide_meta_screen_name'];
|
125 |
$metaoption['tw_show_meta_via'] = !$instance['tw_hide_meta_via'];
|
135 |
<p><input id="<?php echo $this->get_field_id('tw_exclude_replies'); ?>" name="<?php echo $this->get_field_name('tw_exclude_replies'); ?>" type="checkbox" value="1" <?php if($tw_exclude_replies==1): ?>checked="checked" <?php endif; ?>/><label for="<?php echo $this->get_field_id('tw_exclude_replies'); ?>"> <?php _e('Exclude replies?','rotatingtweets'); ?></label></p>
|
136 |
<p><label for="<?php echo $this->get_field_id('tw_tweet_count'); ?>"><?php _e('How many tweets?','rotatingtweets'); ?> <select id="<?php echo $this->get_field_id('tw_tweet_count'); ?>" name="<?php echo $this->get_field_name('tw_tweet_count');?>">
|
137 |
<?php
|
138 |
+
for ($i=1; $i<31; $i++) {
|
139 |
echo "\n\t<option value='$i' ";
|
140 |
if($tw_tweet_count==$i): ?>selected="selected" <?php endif;
|
141 |
echo ">$i</option>";
|
147 |
"3000" => __("Faster (3 seconds)",'rotatingtweets'),
|
148 |
"4000" => __("Normal (4 seconds)",'rotatingtweets'),
|
149 |
"5000" => __("Slower (5 seconds)",'rotatingtweets'),
|
150 |
+
"6000" => __("Slowest (6 seconds)",'rotatingtweets'),
|
151 |
+
"20000" => __("Ultra slow (20 seconds)",'rotatingtweets'),
|
152 |
);
|
153 |
foreach ($timeoutoptions as $val => $words) {
|
154 |
echo "\n\t<option value='$val' ";
|
177 |
}
|
178 |
?></select></label></p>
|
179 |
<?php /* Ask about which Tweet details to show */ ?>
|
180 |
+
<p><?php _e('Display format','rotatingtweets'); ?></p>
|
181 |
+
<?php
|
182 |
+
$officialoptions = array (
|
183 |
+
0 => __('Original rotating tweets layout','rotatingtweets'),
|
184 |
+
1 => __("<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Official Twitter guidelines</a> (regular)",'rotatingtweets'),
|
185 |
+
2 => __("<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Official Twitter guidelines</a> (wide)",'rotatingtweets'),
|
186 |
+
);
|
187 |
+
foreach ($officialoptions as $val => $html) {
|
188 |
+
echo "<input type='radio' value='$val' id='".$this->get_field_id('tw_official_format_'.$val)."' name= '".$this->get_field_name('tw_official_format')."'";
|
189 |
+
if($tw_official_format==$val): ?> checked="checked" <?php endif;
|
190 |
+
echo " class='rtw_ad_official'><label for='".$this->get_field_id('tw_official_format_'.$val)."'> $html</label><br />";
|
191 |
+
};
|
192 |
+
unset($hideStr);
|
193 |
+
if($tw_official_format > 0) $hideStr = ' style = "display:none;" ';
|
194 |
+
?>
|
195 |
+
<p /><div class='rtw_ad_tw_det' <?=$hideStr;?>><p><?php _e('Show tweet details?','rotatingtweets'); ?></p><p>
|
196 |
+
<?php
|
197 |
$tweet_detail_options = array(
|
198 |
'tw_show_meta_timestamp' => __('Time/date of tweet','rotatingtweets'),
|
199 |
'tw_show_meta_screen_name' => __('Name of person tweeting','rotatingtweets'),
|
207 |
<input id="<?php echo $this->get_field_id($field); ?>" name="<?php echo $this->get_field_name($field); ?>" type="checkbox" value="1" <?php if($metaoption[$field]==1): ?>checked="checked" <?php endif; ?>/><label for="<?php echo $this->get_field_id($field); ?>"> <?php echo $text; ?></label>
|
208 |
<?php
|
209 |
$tw_br = "<br />";
|
210 |
+
endforeach; ?></p></div>
|
211 |
<p><?php _e('Show follow button?','rotatingtweets'); ?></p>
|
212 |
<?php
|
213 |
$showfollowoptions = array (
|
221 |
foreach ($showfollowoptions as $val => $html) {
|
222 |
echo "<input type='radio' value='$val' id='".$this->get_field_id('tw_tweet_count_'.$val)."' name= '".$this->get_field_name('tw_show_follow')."'";
|
223 |
if($tw_show_follow==$val): ?> checked="checked" <?php endif;
|
224 |
+
echo "><label for='".$this->get_field_id('tw_tweet_count_'.$val)."'> $html</label><br />";
|
225 |
}
|
226 |
+
# This is an appalling hack to deal with the problem that jQuery gets broken when people hit save - as per http://lists.automattic.com/pipermail/wp-hackers/2011-March/037997.html - but it works!
|
227 |
+
// echo "<script type='text/javascript' src='".plugins_url('js/rotating_tweet_admin.js', __FILE__)."'></script>";
|
228 |
+
echo "\n<script type='text/javascript'>\n";
|
229 |
+
$rtw_admin_script_original = file_get_contents(plugin_dir_path(__FILE__).'js/rotating_tweet_admin.js');
|
230 |
+
$rtw_admin_script_final = str_replace('.rtw_ad_official','[name="'.$this->get_field_name('tw_official_format').'"]',$rtw_admin_script_original);
|
231 |
+
echo $rtw_admin_script_final;
|
232 |
+
echo "\n</script>";
|
233 |
}
|
234 |
} // class rotatingtweets_Widget
|
235 |
|
236 |
// register rotatingtweets_Widget widget
|
237 |
add_action('widgets_init', create_function('', 'return register_widget("rotatingtweets_Widget");'));
|
238 |
|
239 |
+
# Converts Tweet timestamp into a time description
|
240 |
function rotatingtweets_contextualtime($small_ts, $large_ts=false) {
|
241 |
if(!$large_ts) $large_ts = time();
|
242 |
$n = $large_ts - $small_ts;
|
255 |
if($n >= (60*60*24*7*4*12)){$years=round($n/(60*60*24*7*52)) ;return sprintf(_n('about a year ago','about %d years ago',$years,'rotatingtweets'),$years);}
|
256 |
return false;
|
257 |
}
|
258 |
+
# Converts Tweet timestamp into a short time description - as specified by Twitter
|
259 |
+
function rotatingtweets_contextualtime_short($small_ts, $large_ts=false) {
|
260 |
+
if(!$large_ts) $large_ts = time();
|
261 |
+
$n = $large_ts - $small_ts;
|
262 |
+
if($n < (60)) return sprintf(_x('%ds','abbreviated timestamp in seconds','rotatingtweets'),$n);
|
263 |
+
if($n < (60*60)) { $minutes = round($n/60); return sprintf(_x('%dm','abbreviated timestamp in minutes','rotatingtweets'),$minutes); }
|
264 |
+
if($n < (60*60*24)) { $hours = round($n/(60*60)); return sprintf(_x('%dh','abbreviated timestamp in hours','rotatingtweets'),$hours); }
|
265 |
+
if($n < (60*60*24*364)) return date(_x('j M','short date format as per http://uk.php.net/manual/en/function.date.php','rotatingtweets'),$small_ts);
|
266 |
+
return date(_x('j M Y','slightly longer date format as per http://uk.php.net/manual/en/function.date.php','rotatingtweets'),$small_ts);
|
267 |
+
}
|
268 |
+
# Get reply,retweet,favorite intents - either words-only (option 0) or icons only (option 1) or both (option 2)
|
269 |
+
function rotatingtweets_intents($twitter_object,$lang, $icons = 1) {
|
270 |
+
$addstring = array();
|
271 |
+
$types = array (
|
272 |
+
array ( 'link'=>'https://twitter.com/intent/tweet?in_reply_to=', 'icon'=>'images/reply.png', 'text' => __('reply', 'rotatingtweets')),
|
273 |
+
array ( 'link'=>'https://twitter.com/intent/retweet?tweet_id=', 'icon'=>'images/retweet.png', 'text' => __('retweet', 'rotatingtweets')),
|
274 |
+
array ( 'link'=>'https://twitter.com/intent/favorite?tweet_id=', 'icon'=>'images/favorite.png', 'text' => __('favorite', 'rotatingtweets'))
|
275 |
+
);
|
276 |
+
foreach($types as $type) {
|
277 |
+
$string = "\n\t\t\t<a href='".$type['link'].$twitter_object->id_str."' title='{$type['text']}' lang='{$lang}'>";
|
278 |
+
switch($icons) {
|
279 |
+
case 2:
|
280 |
+
$addstring[] = $string."<img src='".plugins_url($type['icon'],__FILE__)."' width='16' height='16' alt='{$type['text']}' /> {$type['text']}</a>";
|
281 |
+
$glue = ' ';
|
282 |
+
break;
|
283 |
+
case 1:
|
284 |
+
$addstring[] = $string."<img src='".plugins_url($type['icon'],__FILE__)."' width='16' height='16' alt='{$type['text']}' /></a>";
|
285 |
+
$glue = '';
|
286 |
+
break;
|
287 |
+
case 0:
|
288 |
+
default:
|
289 |
+
$addstring[] = $string.$type['text'].'</a>';
|
290 |
+
$glue = ' · ';
|
291 |
+
break;
|
292 |
+
}
|
293 |
+
}
|
294 |
+
$string = implode($glue,$addstring);
|
295 |
+
return($string);
|
296 |
+
}
|
297 |
+
// Produces a link to someone's name, icon or screen name (or to the text of your choice) using the 'intent' format for linking
|
298 |
+
function rotatingtweets_user_intent($person,$lang,$linkcontent) {
|
299 |
+
$return = "<a href='https://twitter.com/intent/user?user_id={$person->id}' title='{$person->name}' lang='{$lang}'>";
|
300 |
+
switch($linkcontent){
|
301 |
+
case 'icon':
|
302 |
+
$return .= "<img src='{$person->profile_image_url}' alt='{$person->name}' /></a>";
|
303 |
+
break;
|
304 |
+
case 'name':
|
305 |
+
$return .= $person->name."</a>";
|
306 |
+
break;
|
307 |
+
case 'screen_name':
|
308 |
+
$return .= "@".$person->screen_name."</a>";
|
309 |
+
break;
|
310 |
+
default:
|
311 |
+
$return .= $linkcontent."</a>";
|
312 |
+
break;
|
313 |
+
}
|
314 |
+
return ($return);
|
315 |
+
}
|
316 |
+
// Produces a linked timestamp for including in the tweet
|
317 |
+
function rotatingtweets_timestamp_link($twitter_object,$timetype = 'default') {
|
318 |
+
$string = '<a target="_blank" href="https://twitter.com/twitterapi/status/'.$twitter_object->id_str.'">';
|
319 |
+
$tweettimestamp = strtotime($twitter_object->created_at);
|
320 |
+
switch($timetype) {
|
321 |
+
case 'short':
|
322 |
+
$string .= rotatingtweets_contextualtime_short($tweettimestamp);
|
323 |
+
break;
|
324 |
+
case 'long':
|
325 |
+
$string .= date_i18n(get_option('time_format'),$tweettimestamp)." · ".date_i18n(get_option('date_format') ,$tweettimestamp);
|
326 |
+
break;
|
327 |
+
default:
|
328 |
+
$string .= ucfirst(rotatingtweets_contextualtime($tweettimestamp));
|
329 |
+
break;
|
330 |
+
}
|
331 |
+
$string .= '</a>';
|
332 |
+
return ($string);
|
333 |
+
}
|
334 |
+
# Wraps the shortcode
|
335 |
+
function rotatingtweets_display($atts) {
|
336 |
+
rotatingtweets_display_shortcode($atts,null,'',TRUE);
|
337 |
+
};
|
338 |
# Processes the shortcode
|
339 |
+
function rotatingtweets_display_shortcode( $atts, $content=null, $code="", $print=FALSE ) {
|
340 |
// $atts ::= twitter_id,include_rts,exclude_replies, $tweet_count,$show_follow
|
341 |
/**
|
342 |
Possible values for get_cforms_entries()
|
361 |
'show_meta_screen_name' => TRUE,
|
362 |
'show_meta_via' => TRUE,
|
363 |
'show_meta_reply_retweet_favorite' => FALSE,
|
364 |
+
'rotation_type' => 'scrollUp',
|
365 |
+
'official_format' => FALSE,
|
366 |
+
'url_length' => 29,
|
367 |
+
'ratelimit' => FALSE
|
368 |
), $atts ) ;
|
369 |
extract($args);
|
370 |
+
# Enables you to trigger rate limiting to test the plug-in - not recommended!
|
371 |
+
if($ratelimit) rotatingtweets_trigger_rate_limiting();
|
372 |
+
# Makes sure the scripts are listed
|
373 |
+
rotatingtweets_enqueue_scripts();
|
374 |
$tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies);
|
375 |
+
$returnstring = rotating_tweets_display($tweets,$args,$print);
|
376 |
return $returnstring;
|
377 |
}
|
378 |
+
add_shortcode( 'rotatingtweets', 'rotatingtweets_display_shortcode' );
|
379 |
|
380 |
# Get the latest data from Twitter (or from a cache if it's been less than 2 minutes since the last load)
|
381 |
function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_replies) {
|
383 |
$cache_delay = 120;
|
384 |
if($tw_include_rts != 1) $tw_include_rts = 0;
|
385 |
if($tw_exclude_replies != 1) $tw_exclude_replies = 0;
|
|
|
386 |
# Get the option strong
|
387 |
$stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
|
388 |
$optionname = "rotatingtweets-cache";
|
395 |
else:
|
396 |
# Clears the cache and forces a reload
|
397 |
$timegap = $cache_delay + 1;
|
398 |
+
$option=array();
|
399 |
endif;
|
400 |
+
# Checks if it is time to call Twitter directly yet or if it should use the cache
|
401 |
if($timegap > $cache_delay):
|
402 |
$callstring = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=".urlencode($tw_screen_name)."&include_entities=1&count=70&include_rts=".$tw_include_rts."&exclude_replies=".$tw_exclude_replies;
|
403 |
$twitterdata = wp_remote_request($callstring);
|
407 |
set_transient('rotatingtweets_wp_error',$twitterdata->get_error_messages(), 120);
|
408 |
endif;
|
409 |
endif;
|
410 |
+
# Checks for errors in the reply
|
411 |
if(!empty($twitterjson->errors)):
|
412 |
# If there's an error, reset the cache timer to make sure we don't hit Twitter too hard and get rate limited.
|
413 |
$option[$stringname]['datetime']=time();
|
447 |
endif;
|
448 |
}
|
449 |
|
450 |
+
# Gets the language options
|
451 |
+
# Once a day finds out what language options Twitter has. If there's any issue, pushes back the next attempt by another day.
|
452 |
+
function rotatingtweets_get_twitter_language() {
|
453 |
+
$cache_delay = 60*60*24;
|
454 |
+
$fallback = array ('id','da','ru','msa','ja','no','ur','nl','fa','hi','de','ko','sv','tr','fr','it','en','fil','pt','he','zh-tw','fi','pl','ar','es','hu','th','zh-cn');
|
455 |
+
$optionname = 'rotatingtweets-twitter-languages';
|
456 |
+
$option = get_option($optionname);
|
457 |
+
# Attempt to deal with 'Cannot use string offset as an array' error
|
458 |
+
if(is_array($option)):
|
459 |
+
$latest_languages = $option['languages'];
|
460 |
+
$latest_date = $option['datetime'];
|
461 |
+
$timegap = time()-$latest_date;
|
462 |
+
else:
|
463 |
+
$latest_languages = $fallback;
|
464 |
+
$timegap = $cache_delay + 1;
|
465 |
+
$option['languages'] = $fallback;
|
466 |
+
$option['datetime'] = time();
|
467 |
+
endif;
|
468 |
+
if($timegap > $cache_delay):
|
469 |
+
$callstring = "https://api.twitter.com/1/help/languages.json";
|
470 |
+
$twitterdata = wp_remote_request($callstring);
|
471 |
+
if(!is_wp_error($twitterdata)):
|
472 |
+
$twitterjson = json_decode($twitterdata['body']);
|
473 |
+
if(!empty($twitterjson->errors)||!empty($twitterjson->error)):
|
474 |
+
# If there's an error, reset the cache timer to make sure we don't hit Twitter too hard and get rate limited.
|
475 |
+
$option['datetime']=time();
|
476 |
+
update_option($optionname,$option);
|
477 |
+
else:
|
478 |
+
# If there's regular data, then update the cache and return the data
|
479 |
+
$latest_languages = array();
|
480 |
+
if(is_array($twitterjson)):
|
481 |
+
foreach($twitterjson as $langarray):
|
482 |
+
$latest_languages[] = $langarray->code;
|
483 |
+
endforeach;
|
484 |
+
endif;
|
485 |
+
if(!empty($latest_languages)):
|
486 |
+
$option['languages']=$latest_languages;
|
487 |
+
$option['datetime']=time();
|
488 |
+
update_option($optionname,$option);
|
489 |
+
endif;
|
490 |
+
endif;
|
491 |
+
else:
|
492 |
+
$option['datetime']=time();
|
493 |
+
update_option($optionname,$option);
|
494 |
+
endif;
|
495 |
+
endif;
|
496 |
+
if(empty($latest_languages)) $latest_languages = $fallback;
|
497 |
+
return($latest_languages);
|
498 |
+
}
|
499 |
+
|
500 |
# This function is used for debugging what happens when the site is rate-limited - best not used otherwise!
|
501 |
function rotatingtweets_trigger_rate_limiting() {
|
502 |
$callstring = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=twitter";
|
510 |
unset($result);
|
511 |
$tweet_count = max(1,intval($args['tweet_count']));
|
512 |
$timeout = max(intval($args['timeout']),0);
|
513 |
+
$defaulturllength = 29;
|
514 |
+
if(isset($args['url_length'])):
|
515 |
+
$urllength = intval($args['url_length']);
|
516 |
+
if($urllength < 1):
|
517 |
+
$urllength = $defaulturllength;
|
518 |
+
endif;
|
519 |
+
else:
|
520 |
+
$urllength = $defaulturllength;
|
521 |
+
endif;
|
522 |
# Check that the rotation type is valid. If not, leave it as 'scrollUp'
|
523 |
$rotation_type = 'scrollUp';
|
524 |
+
# Get Twitter language string
|
525 |
+
$rtlocale = strtolower(get_locale());
|
526 |
+
$rtlocaleMain = explode('_',$rtlocale);
|
527 |
+
$possibleOptions = rotatingtweets_get_twitter_language();
|
528 |
+
if(in_array($rtlocale,$possibleOptions)):
|
529 |
+
$twitterlocale = $rtlocale;
|
530 |
+
elseif(in_array($rtlocaleMain[0],$possibleOptions)):
|
531 |
+
$twitterlocale = $rtlocaleMain[0];
|
532 |
+
else:
|
533 |
+
# Default
|
534 |
+
$twitterlocale = 'en';
|
535 |
+
endif;
|
536 |
# All the valid rotations - if people to use one that looks weird, that's their business!
|
537 |
$possibleRotations = array('blindX','blindY','blindZ','cover','curtainX','curtainY','fade','fadeZoom','growX','growY','none','scrollUp','scrollDown','scrollLeft','scrollRight','scrollHorz','scrollVert','shuffle','slideX','slideY','toss','turnUp','turnDown','turnLeft','turnRight','uncover','wipe','zoom');
|
538 |
foreach($possibleRotations as $possibleRotation):
|
546 |
$rate = rotatingtweets_get_rate_data();
|
547 |
# Check if the problem is rate limiting
|
548 |
if($rate && $rate->remaining_hits == 0):
|
549 |
+
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>". sprintf(__('This website is currently <a href=\'%s\'>rate-limited by Twitter</a>.','rotatingtweets'),'https://dev.twitter.com/docs/rate-limiting-faq') . "</p></div>";
|
550 |
+
$waittimevalue = intval(($rate->reset_time_in_seconds - time())/60);
|
551 |
$waittime = sprintf(_n('Next attempt to get data will be in %d minute','Next attempt to get data will be in %d minutes',$waittimevalue,'rotatingtweets'),$waittimevalue);
|
552 |
if($waittimevalue == 0) $waittime = __("Next attempt to get data will be in less than a minute",'rotatingtweets');
|
553 |
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'><p class='rtw_main'>{$waittime}.</p></div>";
|
562 |
endif;
|
563 |
else:
|
564 |
$tweet_counter = 0;
|
565 |
+
$rate = rotatingtweets_get_rate_data();
|
566 |
+
# Check if the problem is rate limiting
|
567 |
+
if($rate && $rate->remaining_hits == 0):
|
568 |
+
$waittimevalue = intval(($rate->reset_time_in_seconds - time())/60);
|
569 |
+
$result .= "<!-- Rate limited -- ";
|
570 |
+
$result .= sprintf(_n('Next attempt to get data will be in %d minute','Next attempt to get data will be in %d minutes',$waittimevalue,'rotatingtweets'),$waittimevalue)." -->";
|
571 |
+
endif;
|
572 |
foreach($json as $twitter_object):
|
573 |
$tweet_counter++;
|
574 |
if($tweet_counter <= $tweet_count):
|
575 |
+
if($tweet_counter == 1 ):
|
576 |
$result .= "\n\t<div class = 'rotatingtweet'>";
|
577 |
else:
|
578 |
$result .= "\n\t<div class = 'rotatingtweet' style='display:none'>";
|
579 |
endif;
|
580 |
+
# Now to process the text
|
581 |
$main_text = $twitter_object->text;
|
582 |
if(!empty($main_text)):
|
583 |
$user = $twitter_object->user;
|
584 |
+
$tweetuser = $user;
|
585 |
# Now the substitutions
|
586 |
$entities = $twitter_object->entities;
|
587 |
# Fix up retweets, links, hashtags and use names
|
588 |
unset($before);
|
589 |
unset($after);
|
590 |
+
unset($retweeter);
|
591 |
# First clean up the retweets
|
592 |
+
if(isset($twitter_object->retweeted_status)):
|
593 |
+
$rt_data = $twitter_object->retweeted_status;
|
594 |
+
else:
|
595 |
+
unset($rt_data);
|
596 |
+
endif;
|
597 |
if(!empty($rt_data)):
|
598 |
$rt_user = $rt_data->user;
|
599 |
+
if($args['official_format']):
|
600 |
+
$main_text = $rt_data->text;
|
601 |
+
$retweeter = $user;
|
602 |
+
$tweetuser = $rt_user;
|
603 |
+
else:
|
604 |
+
$main_text = "RT @".$rt_user->screen_name . " " . $rt_data->text;
|
605 |
+
endif;
|
606 |
$before[] = "*@".$rt_user->screen_name."*i";
|
607 |
+
$after[] = rotatingtweets_user_intent($rt_user,$twitterlocale,'screen_name');
|
608 |
$entities = $rt_data->entities;
|
609 |
endif;
|
610 |
# First the user mentions
|
611 |
+
if(isset($entities->user_mentions)):
|
612 |
+
$user_mentions = $entities->user_mentions;
|
613 |
+
else:
|
614 |
+
unset($user_mentions);
|
615 |
+
endif;
|
616 |
if(!empty($user_mentions)):
|
617 |
foreach($user_mentions as $user_mention):
|
618 |
$before[] = "*@".$user_mention->screen_name."*i";
|
619 |
+
$after[] = rotatingtweets_user_intent($user_mention,$twitterlocale,'screen_name');
|
620 |
endforeach;
|
621 |
# Clearing up duplicates to avoid strange result (possibly risky?)
|
622 |
$before = array_unique($before);
|
623 |
$after = array_unique($after);
|
624 |
endif;
|
625 |
# Now the URLs
|
626 |
+
if(isset($entities->urls)):
|
627 |
+
$urls = $entities->urls;
|
628 |
+
else:
|
629 |
+
unset($urls);
|
630 |
+
endif;
|
631 |
if(!empty($urls)):
|
632 |
foreach($urls as $url):
|
633 |
$before[] = "*".$url->url."*";
|
634 |
$displayurl = $url->display_url;
|
635 |
+
if(strlen($displayurl)>$urllength):
|
636 |
+
# PHP sometimes has a really hard time with unicode characters - this one removes the ellipsis
|
637 |
+
$displayurl = str_replace(json_decode('"\u2026"'),"",$displayurl);
|
638 |
+
$displayurl = substr($displayurl,0,$urllength)."…";
|
639 |
+
endif;
|
640 |
$after[] = "<a href='".$url->url."' title='".$url->expanded_url."'>".esc_html($displayurl)."</a>";
|
641 |
endforeach;
|
642 |
endif;
|
643 |
+
if(isset($entities->media)):
|
644 |
+
$media = $entities->media;
|
645 |
+
else:
|
646 |
+
unset($media);
|
647 |
+
endif;
|
648 |
if(!empty($media)):
|
649 |
foreach($media as $medium):
|
650 |
$before[] = "*".$medium->url."*";
|
656 |
$before[]="%#(\w+)%";
|
657 |
$after[]='<a href="http://search.twitter.com/search?q=%23$1" title="#$1">#$1</a>';
|
658 |
$main_text = preg_replace($before,$after,$main_text);
|
659 |
+
|
660 |
+
# Now for the meta text
|
661 |
+
switch ($args['official_format']) {
|
662 |
+
case 0:
|
663 |
+
# This is the original Rotating Tweets display routine
|
664 |
+
$result .= "\n\t\t<p class='rtw_main'>$main_text</p>";
|
665 |
+
unset($meta);
|
666 |
+
if($args['show_meta_timestamp']):
|
667 |
+
$meta .= rotatingtweets_timestamp_link($twitter_object,'default');
|
668 |
+
endif;
|
669 |
+
if($args['show_meta_screen_name']):
|
670 |
+
if(!empty($meta)) $meta .= ' ';
|
671 |
+
$meta .= sprintf(__('from <a href=\'%1$s\' title=\'%2$s\'>%2$s\'s Twitter</a>','rotatingtweets'),'https://twitter.com/intent/user?user_id='.$user->id,$user->name);
|
672 |
+
endif;
|
673 |
+
if($args['show_meta_via']):
|
674 |
+
if(!empty($meta)) $meta .= ' ';
|
675 |
+
$meta .=sprintf(__("via %s",'rotatingtweets'),$twitter_object->source);
|
676 |
+
endif;
|
677 |
+
if($args['show_meta_reply_retweet_favorite']):
|
678 |
+
if(!empty($meta)) $meta .= ' · ';
|
679 |
+
$meta .= rotatingtweets_intents($twitter_object,$twitterlocale, 0);
|
680 |
+
endif;
|
681 |
+
if(!empty($meta)) $result .= "\n\t\t<p class='rtw_meta'>".ucfirst($meta)."</p>";
|
682 |
+
break;
|
683 |
+
case 1:
|
684 |
+
# This is an attempt to replicate the original Tweet
|
685 |
+
$result .= "\n\t<div class='rtw_info'>";
|
686 |
+
$result .= "\n\t\t<div class='rtw_twitter_icon'><img src='".plugins_url('images/bird_16_blue.png', __FILE__)."' alt='".__('Twitter','rotatingtweets')."' /></a></div>";
|
687 |
+
$result .= "\n\t\t<div class='rtw_icon'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'icon')."</div>";
|
688 |
+
$result .= "\n\t\t<div class='rtw_name'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'name')."</div>";
|
689 |
+
$result .= "\n\t\t<div class='rtw_id'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'screen_name')."</div>";
|
690 |
+
$result .= "\n\t</div>";
|
691 |
+
$result .= "\n\t<p class='rtw_main'>".$main_text."</p>";
|
692 |
+
$result .= "\n\t<div class='rtw_meta'><div class='rtw_intents'>".rotatingtweets_intents($twitter_object,$twitterlocale, 1).'</div>';
|
693 |
+
$result .= rotatingtweets_timestamp_link($twitter_object,'long');
|
694 |
+
if(isset($retweeter)) {
|
695 |
+
$result .= " · ".rotatingtweets_user_intent($retweeter,$twitterlocale,sprintf(__('Retweeted by %s','rotatingtweets'),$retweeter->name));
|
696 |
+
}
|
697 |
+
$result .= "\n</div>";
|
698 |
+
break;
|
699 |
+
case 2:
|
700 |
+
# This is a slightly adjusted version of the original tweet - designed for wide boxes - consistent with Twitter guidelines
|
701 |
+
$result .= "\n\t\t<div class='rtw_wide'>";
|
702 |
+
$result .= "\n\t\t<div class='rtw_wide_icon'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'icon')."</div>";
|
703 |
+
$result .= "\n\t\t<div class='rtw_wide_block'><div class='rtw_info'>";
|
704 |
+
$result .= "\n\t\t\t<div class='rtw_time_short'>".rotatingtweets_timestamp_link($twitter_object,'short').'</a></div>';
|
705 |
+
$result .= "\n\t\t\t<div class='rtw_name'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'name')."</div>";
|
706 |
+
$result .= "\n\t\t\t<div class='rtw_id'>".rotatingtweets_user_intent($tweetuser,$twitterlocale,'screen_name')."</div>";
|
707 |
+
$result .= "\n\t\t</div>";
|
708 |
+
$result .= "\n\t\t<p class='rtw_main'>".$main_text."</p>";
|
709 |
+
// $result .= "\n\t\t<div class='rtw_meta'><div class='rtw_intents'>".rotatingtweets_intents($twitter_object,$twitterlocale, 1).'</div>';
|
710 |
+
if(isset($retweeter)) {
|
711 |
+
$result .= "\n\t\t<div class='rtw_rt_meta'>".rotatingtweets_user_intent($retweeter,$twitterlocale,"<img src='".plugins_url('images/retweet_on.png',__FILE__)."' width='16' height='16' alt='".sprintf(__('Retweeted by %s','rotatingtweets'),$retweeter->name)."' />".sprintf(__('Retweeted by %s','rotatingtweets'),$retweeter->name))."</div>";
|
712 |
+
}
|
713 |
+
$result .= "\n\t\t<div class='rtw_meta'><span class='rtw_expand' style='display:none;'>".__('Expand','rotatingtweets')."</span><span class='rtw_intents'>".rotatingtweets_intents($twitter_object,$twitterlocale, 2).'</span>';
|
714 |
+
$result .= "</div></div></div>";
|
715 |
+
break;
|
716 |
+
case 3:
|
717 |
+
# This one uses the twitter standard approach for embedding via their javascript API - unfortunately I can't work out how to make it work with the rotating tweet javascript! If anyone can work out how to calculate the height of a oEmbed Twitter tweet, I will be very grateful! :-)
|
718 |
+
$result .= '<blockquote class="twitter-tweet">';
|
719 |
+
$result .= "<p>".$main_text."</p>";
|
720 |
+
$result .= '— '.$user->name.' (@'.$user->screen_name.') <a href="https://twitter.com/twitterapi/status/'.$twitter_object->id_str.'" data-datetime="'.date('c',strtotime($twitter_object->created_at)).'">'.date_i18n(get_option('date_format') ,strtotime($twitter_object->created_at)).'</a>';
|
721 |
+
$result .= '</blockquote>';
|
722 |
+
break;
|
723 |
+
}
|
724 |
else:
|
725 |
$result .= "\n\t\t<p class='rtw_main'>".__("Problem retrieving data from Twitter.",'rotatingtweets')."</p></div>";
|
726 |
$result .= "<!-- rotatingtweets plugin was unable to parse this data: ".print_r($json,TRUE)." -->";
|
741 |
endif;
|
742 |
*/
|
743 |
if($args['show_follow'] && !empty($user->screen_name)):
|
744 |
+
$shortenvariables = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
745 |
if($args['no_show_count']) $shortenvariables = ' data-show-count="false"';
|
746 |
if($args['no_show_screen_name']) $shortenvariables .= ' data-show-screen-name="false"';
|
747 |
$followUserText = sprintf(__('Follow @%s','rotatingtweets'),$user->screen_name);
|
748 |
+
$result .= "\n<div class='rtw_follow follow-button'><a href='http://twitter.com/".$user->screen_name."' class='twitter-follow-button'{$shortenvariables} title='".$followUserText."' data-lang='{$twitterlocale}'>".$followUserText."</a></div>";
|
749 |
endif;
|
750 |
+
rotatingtweets_enqueue_scripts();
|
|
|
|
|
|
|
751 |
if($print) echo $result;
|
752 |
return($result);
|
753 |
}
|
756 |
load_plugin_textdomain( 'rotatingtweets', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
757 |
}
|
758 |
add_action('plugins_loaded', 'rotatingtweets_init');
|
759 |
+
|
760 |
+
function rotatingtweets_enqueue_scripts() {
|
761 |
+
wp_enqueue_script( 'jquery' );
|
762 |
+
# Get Stylesheet
|
763 |
+
$style = get_stylesheet();
|
764 |
+
switch ($style):
|
765 |
+
case 'zeebizzcard':
|
766 |
+
// case 'zeeStyle':
|
767 |
+
wp_dequeue_script( 'zee_jquery-cycle');
|
768 |
+
wp_enqueue_script( 'zee_jquery-cycle', plugins_url('js/jquery.cycle.all.min.js', __FILE__),array('jquery'),FALSE,FALSE );
|
769 |
+
wp_enqueue_script( 'rotating_tweet', plugins_url('js/rotating_tweet.js', __FILE__),array('jquery','zee_jquery-cycle'),FALSE,FALSE );
|
770 |
+
break;
|
771 |
+
default:
|
772 |
+
wp_enqueue_script( 'jquery-cycle', plugins_url('js/jquery.cycle.all.min.js', __FILE__),array('jquery'),FALSE,FALSE );
|
773 |
+
wp_enqueue_script( 'rotating_tweet', plugins_url('js/rotating_tweet.js', __FILE__),array('jquery','jquery-cycle'),FALSE,FALSE );
|
774 |
+
break;
|
775 |
+
endswitch;
|
776 |
+
wp_enqueue_style( 'rotating_tweet', plugins_url('css/style.css', __FILE__));
|
777 |
+
if(file_exists( plugin_dir_path(__FILE__).'css/yourstyle.css' )):
|
778 |
+
wp_enqueue_style( 'rotating_tweet_yourstyle', plugins_url('css/yourstyle.css', __FILE__));
|
779 |
+
endif;
|
780 |
+
}
|
781 |
+
|
782 |
+
function rotatingtweets_enqueue_admin_scripts($hook) {
|
783 |
+
if( 'widgets.php' != $hook ) return;
|
784 |
+
wp_enqueue_script( 'jquery' );
|
785 |
+
wp_enqueue_script( 'rotating_tweet_admin', plugins_url('js/rotating_tweet_admin.js', __FILE__),array('jquery'),FALSE,FALSE );
|
786 |
+
}
|
787 |
+
add_action( 'admin_enqueue_scripts', 'rotatingtweets_enqueue_admin_scripts' );
|
788 |
?>
|