Version Description
- Fixing tweet height JavaScript bug & completing of Spanish translation
=
Download this release
Release Info
Developer | mpntod |
Plugin | Rotating Tweets (Twitter widget and shortcode) |
Version | 1.7.11 |
Comparing to | |
See all releases |
Code changes from version 1.7.10 to 1.7.11
- css/style.css +2 -2
- js/rotating_tweet.js +2 -2
- js/rotatingtweets_v2.js +1 -0
- languages/rotatingtweets-es_ES.mo +0 -0
- languages/rotatingtweets-es_ES.po +217 -192
- readme.txt +8 -4
- rotatingtweets.php +34 -12
css/style.css
CHANGED
@@ -31,7 +31,7 @@ div.rtw_icon img {
|
|
31 |
max-width: 2.2em;
|
32 |
max-height: 2.2em;
|
33 |
}
|
34 |
-
div.rtw_intents img {
|
35 |
max-width: 1.2em;
|
36 |
max-height: 1.2em;
|
37 |
padding: 0;
|
@@ -72,7 +72,7 @@ div.rtw_intents {
|
|
72 |
float:right;
|
73 |
margin-left: 0.5em;
|
74 |
}
|
75 |
-
div.rtw_intents a {
|
76 |
display: inline;
|
77 |
}
|
78 |
div.rtw_timestamp {
|
31 |
max-width: 2.2em;
|
32 |
max-height: 2.2em;
|
33 |
}
|
34 |
+
div.rtw_intents a img,span.rtw_intents a img {
|
35 |
max-width: 1.2em;
|
36 |
max-height: 1.2em;
|
37 |
padding: 0;
|
72 |
float:right;
|
73 |
margin-left: 0.5em;
|
74 |
}
|
75 |
+
div.rtw_intents a,span.rtw_intents a {
|
76 |
display: inline;
|
77 |
}
|
78 |
div.rtw_timestamp {
|
js/rotating_tweet.js
CHANGED
@@ -96,8 +96,8 @@ jQuery(document).ready(function() {
|
|
96 |
}
|
97 |
});
|
98 |
rt_height = rt_height + 20;
|
99 |
-
|
100 |
-
rotate_vars.
|
101 |
if(rotate_wp_debug) {
|
102 |
console.log('Resetting height to rt_height_px '+rt_height_px);
|
103 |
}
|
96 |
}
|
97 |
});
|
98 |
rt_height = rt_height + 20;
|
99 |
+
rt_height_px = rt_height + 'px';
|
100 |
+
rotate_vars.height = rt_height_px;
|
101 |
if(rotate_wp_debug) {
|
102 |
console.log('Resetting height to rt_height_px '+rt_height_px);
|
103 |
}
|
js/rotatingtweets_v2.js
CHANGED
@@ -79,6 +79,7 @@ jQuery(document).ready(function() {
|
|
79 |
jQuery('.rtw_intents a').hover(function() {
|
80 |
rtw_src = jQuery(this).find('img').attr('src');
|
81 |
jQuery(this).find('img').attr('src',rtw_src.replace(clearOutHovers,".png"));
|
|
|
82 |
jQuery(this).find('img').attr('src',rtw_src.replace(srcReplacePattern,"_hover.png"));
|
83 |
},function() {
|
84 |
rtw_src = jQuery(this).find('img').attr('src');
|
79 |
jQuery('.rtw_intents a').hover(function() {
|
80 |
rtw_src = jQuery(this).find('img').attr('src');
|
81 |
jQuery(this).find('img').attr('src',rtw_src.replace(clearOutHovers,".png"));
|
82 |
+
rtw_src = jQuery(this).find('img').attr('src');
|
83 |
jQuery(this).find('img').attr('src',rtw_src.replace(srcReplacePattern,"_hover.png"));
|
84 |
},function() {
|
85 |
rtw_src = jQuery(this).find('img').attr('src');
|
languages/rotatingtweets-es_ES.mo
CHANGED
Binary file
|
languages/rotatingtweets-es_ES.po
CHANGED
@@ -5,7 +5,7 @@ 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-10-12 19:57:13+00:00\n"
|
8 |
-
"PO-Revision-Date:
|
9 |
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: es_ES\n"
|
@@ -14,256 +14,257 @@ msgstr ""
|
|
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.
|
18 |
|
19 |
#: rotatingtweets.php:41
|
20 |
msgid "A widget to show tweets for a particular user in rotation."
|
21 |
-
msgstr ""
|
22 |
|
23 |
#: rotatingtweets.php:192
|
24 |
msgid "Title:"
|
25 |
-
msgstr ""
|
26 |
|
27 |
#: rotatingtweets.php:204
|
28 |
msgid "Twitter name:"
|
29 |
-
msgstr ""
|
30 |
|
31 |
#: rotatingtweets.php:205
|
32 |
msgid "Search:"
|
33 |
-
msgstr ""
|
34 |
|
35 |
#: rotatingtweets.php:206
|
36 |
msgid "List Tag:"
|
37 |
-
msgstr ""
|
38 |
|
39 |
#: rotatingtweets.php:207
|
40 |
msgid "Type of Tweets?"
|
41 |
-
msgstr ""
|
42 |
|
43 |
#: rotatingtweets.php:210
|
44 |
msgid "User timeline (default)"
|
45 |
-
msgstr ""
|
46 |
|
47 |
#: rotatingtweets.php:211
|
48 |
msgid "Favorites"
|
49 |
-
msgstr ""
|
50 |
|
51 |
#: rotatingtweets.php:212
|
52 |
msgid "Search"
|
53 |
-
msgstr ""
|
54 |
|
55 |
#: rotatingtweets.php:213
|
56 |
msgid "List"
|
57 |
-
msgstr ""
|
58 |
|
59 |
#: rotatingtweets.php:221
|
60 |
msgid "Include retweets?"
|
61 |
-
msgstr ""
|
62 |
|
63 |
#: rotatingtweets.php:222
|
64 |
msgid "Exclude replies?"
|
65 |
-
msgstr ""
|
66 |
|
67 |
#: rotatingtweets.php:223
|
68 |
msgid "Open all links in new window or tab?"
|
69 |
-
msgstr ""
|
70 |
|
71 |
#: rotatingtweets.php:224
|
72 |
msgid "How many tweets?"
|
73 |
-
msgstr ""
|
74 |
|
75 |
#: rotatingtweets.php:232
|
76 |
msgid "Speed"
|
77 |
-
msgstr ""
|
78 |
|
79 |
#: rotatingtweets.php:235
|
80 |
msgid "Faster (3 seconds)"
|
81 |
-
msgstr ""
|
82 |
|
83 |
#: rotatingtweets.php:236
|
84 |
msgid "Normal (4 seconds)"
|
85 |
-
msgstr ""
|
86 |
|
87 |
#: rotatingtweets.php:237
|
88 |
msgid "Slower (5 seconds)"
|
89 |
-
msgstr ""
|
90 |
|
91 |
#: rotatingtweets.php:238
|
92 |
msgid "Slowest (6 seconds)"
|
93 |
-
msgstr ""
|
94 |
|
95 |
#: rotatingtweets.php:239
|
96 |
msgid "Ultra slow (20 seconds)"
|
97 |
-
msgstr ""
|
98 |
|
99 |
#: rotatingtweets.php:253
|
100 |
msgid "Type of rotation"
|
101 |
-
msgstr ""
|
102 |
|
103 |
#: rotatingtweets.php:262
|
104 |
msgid "Display format"
|
105 |
-
msgstr ""
|
106 |
|
107 |
#: rotatingtweets.php:265
|
108 |
msgid "Original rotating tweets layout"
|
109 |
-
msgstr ""
|
110 |
|
111 |
#: rotatingtweets.php:266
|
112 |
msgid ""
|
113 |
-
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
114 |
-
"
|
115 |
msgstr ""
|
|
|
|
|
116 |
|
117 |
#: rotatingtweets.php:267
|
118 |
msgid ""
|
119 |
-
"<a target='_blank' href='https://dev.twitter.com/terms/display-"
|
120 |
-
"
|
121 |
msgstr ""
|
|
|
|
|
122 |
|
123 |
#: rotatingtweets.php:277
|
124 |
msgid "Show tweet details?"
|
125 |
-
msgstr ""
|
126 |
|
127 |
#: rotatingtweets.php:280
|
128 |
msgid "Time/date of tweet"
|
129 |
-
msgstr ""
|
130 |
|
131 |
#: rotatingtweets.php:281
|
132 |
msgid "Name of person tweeting"
|
133 |
-
msgstr ""
|
134 |
|
135 |
#: rotatingtweets.php:282
|
136 |
msgid "Source of tweet"
|
137 |
-
msgstr ""
|
138 |
|
139 |
#: rotatingtweets.php:283
|
140 |
msgid "'reply · retweet · favorite' links"
|
141 |
-
msgstr ""
|
142 |
|
143 |
#: rotatingtweets.php:294
|
144 |
msgid "Show follow button?"
|
145 |
-
msgstr ""
|
146 |
|
147 |
#: rotatingtweets.php:297
|
148 |
msgctxt "Show follow button?"
|
149 |
msgid "None"
|
150 |
-
msgstr ""
|
151 |
|
152 |
#: rotatingtweets.php:298
|
153 |
msgid "Show name and number of followers"
|
154 |
-
msgstr ""
|
155 |
|
156 |
#: rotatingtweets.php:299
|
157 |
msgid "Show name only"
|
158 |
-
msgstr ""
|
159 |
|
160 |
#: rotatingtweets.php:300
|
161 |
msgid "Show followers only"
|
162 |
-
msgstr ""
|
163 |
|
164 |
#: rotatingtweets.php:301
|
165 |
msgid "Show button only"
|
166 |
-
msgstr ""
|
167 |
|
168 |
#: rotatingtweets.php:329
|
169 |
msgid "less than a second ago"
|
170 |
-
msgstr ""
|
171 |
|
172 |
#: rotatingtweets.php:330
|
173 |
msgid "%d seconds ago"
|
174 |
-
msgstr ""
|
175 |
|
176 |
#: rotatingtweets.php:331
|
177 |
msgid "about a minute ago"
|
178 |
msgid_plural "about %d minutes ago"
|
179 |
-
msgstr[0] ""
|
180 |
-
msgstr[1] ""
|
181 |
|
182 |
#: rotatingtweets.php:332 rotatingtweets.php:334
|
183 |
msgid "about an hour ago"
|
184 |
msgid_plural "about %d hours ago"
|
185 |
-
msgstr[0] ""
|
186 |
-
msgstr[1] ""
|
187 |
|
188 |
#: rotatingtweets.php:333
|
189 |
msgid "yesterday"
|
190 |
-
msgstr ""
|
191 |
|
192 |
#: rotatingtweets.php:335
|
193 |
msgid "about a day ago"
|
194 |
msgid_plural "about %d days ago"
|
195 |
-
msgstr[0] ""
|
196 |
-
msgstr[1] ""
|
197 |
|
198 |
#: rotatingtweets.php:336
|
199 |
msgid "last week"
|
200 |
-
msgstr ""
|
201 |
|
202 |
#: rotatingtweets.php:337
|
203 |
msgid "about a week ago"
|
204 |
msgid_plural "about %d weeks ago"
|
205 |
-
msgstr[0] ""
|
206 |
-
msgstr[1] ""
|
207 |
|
208 |
#: rotatingtweets.php:338
|
209 |
msgid "last month"
|
210 |
-
msgstr ""
|
211 |
|
212 |
#: rotatingtweets.php:339
|
213 |
msgid "about a month ago"
|
214 |
msgid_plural "about %d months ago"
|
215 |
-
msgstr[0] ""
|
216 |
-
msgstr[1] ""
|
217 |
|
218 |
#: rotatingtweets.php:340
|
219 |
msgid "last year"
|
220 |
-
msgstr ""
|
221 |
|
222 |
#: rotatingtweets.php:341
|
223 |
msgid "about a year ago"
|
224 |
msgid_plural "about %d years ago"
|
225 |
-
msgstr[0] ""
|
226 |
-
msgstr[1] ""
|
227 |
|
228 |
#: rotatingtweets.php:348
|
229 |
msgctxt "abbreviated timestamp in seconds"
|
230 |
msgid "%ds"
|
231 |
-
msgstr ""
|
232 |
|
233 |
#: rotatingtweets.php:349
|
234 |
msgctxt "abbreviated timestamp in minutes"
|
235 |
msgid "%dm"
|
236 |
-
msgstr ""
|
237 |
|
238 |
#: rotatingtweets.php:350
|
239 |
msgctxt "abbreviated timestamp in hours"
|
240 |
msgid "%dh"
|
241 |
-
msgstr ""
|
242 |
|
243 |
#: rotatingtweets.php:351
|
244 |
-
msgctxt ""
|
245 |
-
"short date format as per http://uk.php.net/manual/en/function.date.php"
|
246 |
msgid "j M"
|
247 |
-
msgstr ""
|
248 |
|
249 |
#: rotatingtweets.php:352
|
250 |
-
msgctxt ""
|
251 |
-
"slightly longer date format as per http://uk.php.net/manual/en/function.date."
|
252 |
-
"php"
|
253 |
msgid "j M Y"
|
254 |
-
msgstr ""
|
255 |
|
256 |
#: rotatingtweets.php:358
|
257 |
msgid "reply"
|
258 |
-
msgstr "
|
259 |
|
260 |
#: rotatingtweets.php:359
|
261 |
msgid "retweet"
|
262 |
-
msgstr "
|
263 |
|
264 |
#: rotatingtweets.php:360
|
265 |
msgid "favorite"
|
266 |
-
msgstr "
|
267 |
|
268 |
#: rotatingtweets.php:401 rotatingtweets.php:1593
|
269 |
msgid "Follow @%s"
|
@@ -271,340 +272,362 @@ msgstr "Seguir a @%s"
|
|
271 |
|
272 |
#: rotatingtweets.php:402 rotatingtweets.php:1456
|
273 |
msgid "Twitter"
|
274 |
-
msgstr ""
|
275 |
|
276 |
#: rotatingtweets.php:478
|
277 |
msgid "next"
|
278 |
-
msgstr ""
|
279 |
|
280 |
#: rotatingtweets.php:479
|
281 |
msgid "prev"
|
282 |
-
msgstr ""
|
283 |
|
284 |
#: rotatingtweets.php:515
|
285 |
msgid ""
|
286 |
-
"Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The "
|
287 |
-
"
|
288 |
-
"are needed for Rotating Tweets to continue working."
|
289 |
msgstr ""
|
|
|
|
|
|
|
290 |
|
291 |
#: rotatingtweets.php:520
|
292 |
msgid ""
|
293 |
-
"Please update <a href=\"%1$s\">your settings for Rotating Tweets</a>. "
|
294 |
-
"
|
295 |
-
"details you have given."
|
296 |
msgstr ""
|
|
|
|
|
297 |
|
298 |
#: rotatingtweets.php:528 rotatingtweets.php:534
|
299 |
msgid "Rotating Tweets: Twitter API settings"
|
300 |
-
msgstr ""
|
301 |
|
302 |
#: rotatingtweets.php:536
|
303 |
msgid "You do not have sufficient permissions to access this page."
|
304 |
-
msgstr ""
|
305 |
|
306 |
#: rotatingtweets.php:538
|
307 |
msgid ""
|
308 |
-
"<p>Twitter <a href=\"%s\">has changed</a> the way that they allow people to "
|
309 |
-
"
|
310 |
-
"
|
311 |
-
"from Twitter:</p>"
|
312 |
msgstr ""
|
|
|
|
|
|
|
313 |
|
314 |
#: rotatingtweets.php:539
|
315 |
msgid ""
|
316 |
-
"<h3>Step 1:</h3><p>Go to the <a href=\"%s\">My applications page</a> on the "
|
317 |
-
"
|
318 |
-
"
|
319 |
msgstr ""
|
|
|
|
|
|
|
320 |
|
321 |
#: rotatingtweets.php:540
|
322 |
msgid ""
|
323 |
-
"<h3>Step 2:</h3><p>If you don't already have a suitable 'application' that "
|
324 |
-
"
|
325 |
-
"
|
326 |
-
"
|
327 |
-
"p><p>You don't need a Callback URL.</p>"
|
328 |
msgstr ""
|
|
|
|
|
|
|
|
|
329 |
|
330 |
#: rotatingtweets.php:541
|
331 |
msgid ""
|
332 |
-
"<h3>Step 3:</h3><p>After clicking <strong>Create your Twitter application</"
|
333 |
-
"
|
334 |
-
"strong>.</p>"
|
335 |
msgstr ""
|
|
|
|
|
336 |
|
337 |
#: rotatingtweets.php:542
|
338 |
msgid ""
|
339 |
-
"<h3>Step 4:</h3><p>Copy the <strong>Consumer key</strong>, <strong>Consumer "
|
340 |
-
"
|
341 |
-
"
|
342 |
-
"p>"
|
343 |
msgstr ""
|
|
|
|
|
|
|
344 |
|
345 |
#: rotatingtweets.php:543
|
346 |
msgid "<h3>Step 5:</h3><p>Click on <strong>Save Changes</strong>."
|
347 |
-
msgstr ""
|
348 |
|
349 |
#: rotatingtweets.php:544
|
350 |
msgid ""
|
351 |
-
"<h3>If there are any problems:</h3><p>If there are any problems, you should "
|
352 |
-
"
|
353 |
-
"should help diagnose the problem.</p>"
|
354 |
msgstr ""
|
|
|
|
|
355 |
|
356 |
#: rotatingtweets.php:546
|
357 |
msgid ""
|
358 |
-
"If you are getting problems with \"rate limiting\", try changing the first "
|
359 |
-
"
|
360 |
-
"before trying to get new data from Twitter."
|
361 |
msgstr ""
|
|
|
|
|
|
|
362 |
|
363 |
#: rotatingtweets.php:548
|
364 |
msgid ""
|
365 |
-
"If you are getting time-out problems, try changing the second connection "
|
366 |
-
"
|
367 |
-
"Twitter before timing out."
|
368 |
msgstr ""
|
|
|
|
|
|
|
369 |
|
370 |
#: rotatingtweets.php:550
|
371 |
msgid ""
|
372 |
-
"If the error message references SSL, try changing the \"Verify SSL "
|
373 |
-
"
|
374 |
msgstr ""
|
|
|
|
|
375 |
|
376 |
#: rotatingtweets.php:552
|
377 |
msgid "<h3>Getting information from more than one Twitter account</h3>"
|
378 |
-
msgstr ""
|
379 |
|
380 |
#: rotatingtweets.php:553
|
381 |
msgid ""
|
382 |
-
"<p>Even though you are only entering one set of Twitter API data, Rotating "
|
383 |
-
"
|
384 |
-
"a variety of different Twitter accounts.</p>"
|
385 |
msgstr ""
|
|
|
|
|
|
|
386 |
|
387 |
#: rotatingtweets.php:557
|
388 |
msgid "Save Changes"
|
389 |
-
msgstr ""
|
390 |
|
391 |
#: rotatingtweets.php:565
|
392 |
msgid "Twitter API Settings"
|
393 |
-
msgstr ""
|
394 |
|
395 |
#: rotatingtweets.php:566
|
396 |
msgid "Twitter API Consumer Key"
|
397 |
-
msgstr ""
|
398 |
|
399 |
#: rotatingtweets.php:567
|
400 |
msgid "Twitter API Consumer Secret"
|
401 |
-
msgstr ""
|
402 |
|
403 |
#: rotatingtweets.php:568
|
404 |
msgid "Twitter API Access Token"
|
405 |
-
msgstr ""
|
406 |
|
407 |
#: rotatingtweets.php:569
|
408 |
msgid "Twitter API Access Token Secret"
|
409 |
-
msgstr ""
|
410 |
|
411 |
#: rotatingtweets.php:571
|
412 |
msgid "Connection Settings"
|
413 |
-
msgstr ""
|
414 |
|
415 |
#: rotatingtweets.php:572
|
416 |
-
msgid ""
|
417 |
-
"
|
418 |
-
msgstr ""
|
419 |
|
420 |
#: rotatingtweets.php:573
|
421 |
-
msgid ""
|
422 |
-
"When connecting to Twitter, how long should Rotating Tweets wait before "
|
423 |
-
"timing out?"
|
424 |
msgstr ""
|
|
|
|
|
425 |
|
426 |
#: rotatingtweets.php:574
|
427 |
msgid "Verify SSL connection to Twitter"
|
428 |
-
msgstr ""
|
429 |
|
430 |
#: rotatingtweets.php:576
|
431 |
msgid "JavaScript Settings"
|
432 |
-
msgstr ""
|
433 |
|
434 |
#: rotatingtweets.php:577
|
435 |
msgid "Version of JQuery Cycle"
|
436 |
-
msgstr ""
|
437 |
|
438 |
#: rotatingtweets.php:578
|
439 |
msgid "Where to load Rotating Tweets JavaScript"
|
440 |
-
msgstr ""
|
441 |
|
442 |
#: rotatingtweets.php:599
|
443 |
msgctxt "Verify SSL connection to Twitter"
|
444 |
msgid "Yes"
|
445 |
-
msgstr ""
|
446 |
|
447 |
#: rotatingtweets.php:600
|
448 |
msgctxt "Verify SSL connection to Twitter"
|
449 |
msgid "No"
|
450 |
-
msgstr ""
|
451 |
|
452 |
#: rotatingtweets.php:616
|
453 |
msgctxt "Connection timeout"
|
454 |
msgid "1 second"
|
455 |
-
msgstr ""
|
456 |
|
457 |
#: rotatingtweets.php:617
|
458 |
msgctxt "Connection timeout"
|
459 |
msgid "3 seconds (default)"
|
460 |
-
msgstr ""
|
461 |
|
462 |
#: rotatingtweets.php:618
|
463 |
msgctxt "Connection timeout"
|
464 |
msgid "5 seconds"
|
465 |
-
msgstr ""
|
466 |
|
467 |
#: rotatingtweets.php:619
|
468 |
msgctxt "Connection timeout"
|
469 |
msgid "7 seconds"
|
470 |
-
msgstr ""
|
471 |
|
472 |
#: rotatingtweets.php:620
|
473 |
msgctxt "Connection timeout"
|
474 |
msgid "20 seconds"
|
475 |
-
msgstr ""
|
476 |
|
477 |
#: rotatingtweets.php:637
|
478 |
msgctxt "Cache Delay"
|
479 |
msgid "1 minute"
|
480 |
-
msgstr ""
|
481 |
|
482 |
#: rotatingtweets.php:638
|
483 |
msgctxt "Cache Delay"
|
484 |
msgid "2 minutes (default)"
|
485 |
-
msgstr ""
|
486 |
|
487 |
#: rotatingtweets.php:639
|
488 |
msgctxt "Cache Delay"
|
489 |
msgid "5 minutes"
|
490 |
-
msgstr ""
|
491 |
|
492 |
#: rotatingtweets.php:640
|
493 |
msgctxt "Cache Delay"
|
494 |
msgid "1 hour"
|
495 |
-
msgstr ""
|
496 |
|
497 |
#: rotatingtweets.php:641
|
498 |
msgctxt "Cache Delay"
|
499 |
msgid "24 hours"
|
500 |
-
msgstr ""
|
501 |
|
502 |
#: rotatingtweets.php:658
|
503 |
msgctxt "Version of JQuery Cycle"
|
504 |
msgid "Version 1 (default)"
|
505 |
-
msgstr ""
|
506 |
|
507 |
#: rotatingtweets.php:659
|
508 |
msgctxt "Version of JQuery Cycle"
|
509 |
msgid "Version 2 (beta)"
|
510 |
-
msgstr ""
|
511 |
|
512 |
#: rotatingtweets.php:676
|
513 |
msgctxt "Location of JavaScript"
|
514 |
msgid "Load in header (default)"
|
515 |
-
msgstr ""
|
516 |
|
517 |
#: rotatingtweets.php:677
|
518 |
msgctxt "Location of JavaScript"
|
519 |
msgid "Load in footer"
|
520 |
-
msgstr ""
|
521 |
|
522 |
#: rotatingtweets.php:712
|
523 |
msgid "Error: Twitter API Consumer Key not correctly formatted."
|
524 |
-
msgstr ""
|
525 |
|
526 |
#: rotatingtweets.php:719
|
527 |
msgid "Error: Twitter API Consumer Secret not correctly formatted."
|
528 |
-
msgstr ""
|
529 |
|
530 |
#: rotatingtweets.php:726
|
531 |
msgid "Error: Twitter API Access Token not correctly formatted."
|
532 |
-
msgstr ""
|
533 |
|
534 |
#: rotatingtweets.php:733
|
535 |
msgid "Error: Twitter API Access Token Secret not correctly formatted."
|
536 |
-
msgstr ""
|
537 |
|
538 |
#: rotatingtweets.php:773
|
539 |
msgid ""
|
540 |
-
"Error message received from Twitter: %1$s. <a href=\"%2$s\">Please check "
|
541 |
-
"
|
542 |
msgstr ""
|
|
|
|
|
543 |
|
544 |
#: rotatingtweets.php:775
|
545 |
-
msgid ""
|
546 |
-
"
|
547 |
-
"settings."
|
548 |
-
msgstr ""
|
549 |
|
550 |
#: rotatingtweets.php:1227
|
551 |
msgid "Problem retrieving data from Twitter"
|
552 |
-
msgstr ""
|
553 |
|
554 |
#: rotatingtweets.php:1229
|
555 |
msgid "%3$s error code: %1$s - %2$s"
|
556 |
-
msgstr ""
|
557 |
|
558 |
#: rotatingtweets.php:1235
|
559 |
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
560 |
-
msgstr ""
|
561 |
|
562 |
#: rotatingtweets.php:1237
|
563 |
msgid "Next attempt to get data will be in %d minute"
|
564 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
565 |
-
msgstr[0] ""
|
566 |
-
msgstr[1] ""
|
567 |
|
568 |
#: rotatingtweets.php:1238
|
569 |
msgid "Next attempt to get data will be in less than a minute"
|
570 |
-
msgstr ""
|
571 |
|
572 |
#: rotatingtweets.php:1243
|
573 |
msgid "Please check your <a href='%s'>Rotating Tweets settings</a>."
|
574 |
-
msgstr ""
|
575 |
|
576 |
#: rotatingtweets.php:1246
|
577 |
-
msgid ""
|
578 |
-
"Please check the Twitter screen name or list slug in the widget or shortcode."
|
579 |
msgstr ""
|
|
|
580 |
|
581 |
#: rotatingtweets.php:1251 rotatingtweets.php:1257
|
582 |
msgid ""
|
583 |
-
"Please check the Twitter name in the widget or shortcode, <a "
|
584 |
-
"
|
585 |
-
"status</a>."
|
586 |
msgstr ""
|
|
|
|
|
587 |
|
588 |
#: rotatingtweets.php:1254
|
589 |
msgid "Please check your PHP and server settings."
|
590 |
-
msgstr ""
|
591 |
|
592 |
#: rotatingtweets.php:1263
|
593 |
msgid "No Tweet results for search <a href=\"%2$s\"><strong>%1$s</strong></a>"
|
594 |
-
msgstr ""
|
595 |
|
596 |
-
#: rotatingtweets.php:1435 rotatingtweets.php:1505 rotatingtweets.php:1522
|
597 |
-
#: rotatingtweets.php:1547
|
598 |
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
599 |
-
msgstr ""
|
600 |
|
601 |
#: rotatingtweets.php:1439 rotatingtweets.php:1526 rotatingtweets.php:1551
|
602 |
msgid "via %s"
|
603 |
-
msgstr ""
|
604 |
|
605 |
#: rotatingtweets.php:1465 rotatingtweets.php:1486
|
606 |
msgid "Retweeted by %s"
|
607 |
-
msgstr "
|
608 |
|
609 |
#: rotatingtweets.php:1488
|
610 |
msgid "Expand"
|
@@ -612,50 +635,52 @@ msgstr "Abrir"
|
|
612 |
|
613 |
#: rotatingtweets.php:1567
|
614 |
msgid "Problem retrieving data from Twitter."
|
615 |
-
msgstr ""
|
616 |
|
617 |
#: rotatingtweets.php:1569
|
618 |
msgid "Please check the comments on this page's HTML to understand more."
|
619 |
-
msgstr ""
|
620 |
|
621 |
#: rotatingtweets.php:1612 rotatingtweets.php:1625
|
622 |
msgid "Scroll Up"
|
623 |
-
msgstr ""
|
624 |
|
625 |
#: rotatingtweets.php:1613 rotatingtweets.php:1626
|
626 |
msgid "Scroll Down"
|
627 |
-
msgstr ""
|
628 |
|
629 |
#: rotatingtweets.php:1614 rotatingtweets.php:1627
|
630 |
msgid "Scroll Left"
|
631 |
-
msgstr ""
|
632 |
|
633 |
#: rotatingtweets.php:1615 rotatingtweets.php:1628
|
634 |
msgid "Scroll Right"
|
635 |
-
msgstr ""
|
636 |
|
637 |
#: rotatingtweets.php:1616 rotatingtweets.php:1629
|
638 |
msgid "Fade"
|
639 |
-
msgstr ""
|
640 |
|
641 |
#: rotatingtweets.php:1617
|
642 |
msgid "Carousel"
|
643 |
-
msgstr ""
|
644 |
|
645 |
#. Plugin Name of the plugin/theme
|
646 |
msgid "Rotating Tweets (Twitter widget & shortcode)"
|
647 |
-
msgstr ""
|
648 |
|
649 |
#. Description of the plugin/theme
|
650 |
msgid ""
|
651 |
-
"Replaces a shortcode such as [rotatingtweets "
|
652 |
-
"
|
653 |
msgstr ""
|
|
|
|
|
654 |
|
655 |
#. Author of the plugin/theme
|
656 |
msgid "Martin Tod"
|
657 |
-
msgstr ""
|
658 |
|
659 |
#. Author URI of the plugin/theme
|
660 |
msgid "http://www.martintod.org.uk"
|
661 |
-
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-10-12 19:57:13+00:00\n"
|
8 |
+
"PO-Revision-Date: 2015-03-11 12:44+0100\n"
|
9 |
"Last-Translator: Martin Tod <martin@martintod.org.uk>\n"
|
10 |
"Language-Team: \n"
|
11 |
"Language: es_ES\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.7.4\n"
|
18 |
|
19 |
#: rotatingtweets.php:41
|
20 |
msgid "A widget to show tweets for a particular user in rotation."
|
21 |
+
msgstr "Un widget para mostrar la sucesión de los tuits de un usuario en particular."
|
22 |
|
23 |
#: rotatingtweets.php:192
|
24 |
msgid "Title:"
|
25 |
+
msgstr "Título:"
|
26 |
|
27 |
#: rotatingtweets.php:204
|
28 |
msgid "Twitter name:"
|
29 |
+
msgstr "Nombre de Twitter:"
|
30 |
|
31 |
#: rotatingtweets.php:205
|
32 |
msgid "Search:"
|
33 |
+
msgstr "Búsqueda:"
|
34 |
|
35 |
#: rotatingtweets.php:206
|
36 |
msgid "List Tag:"
|
37 |
+
msgstr "Lista de Etiquetas:"
|
38 |
|
39 |
#: rotatingtweets.php:207
|
40 |
msgid "Type of Tweets?"
|
41 |
+
msgstr "¿Tipo de Tuits?"
|
42 |
|
43 |
#: rotatingtweets.php:210
|
44 |
msgid "User timeline (default)"
|
45 |
+
msgstr "Línea de tiempo del usuario (por defecto)"
|
46 |
|
47 |
#: rotatingtweets.php:211
|
48 |
msgid "Favorites"
|
49 |
+
msgstr "Favoritos"
|
50 |
|
51 |
#: rotatingtweets.php:212
|
52 |
msgid "Search"
|
53 |
+
msgstr "Buscar"
|
54 |
|
55 |
#: rotatingtweets.php:213
|
56 |
msgid "List"
|
57 |
+
msgstr "Listar"
|
58 |
|
59 |
#: rotatingtweets.php:221
|
60 |
msgid "Include retweets?"
|
61 |
+
msgstr "¿Incluir retuits?"
|
62 |
|
63 |
#: rotatingtweets.php:222
|
64 |
msgid "Exclude replies?"
|
65 |
+
msgstr "¿Excluir respuestas?"
|
66 |
|
67 |
#: rotatingtweets.php:223
|
68 |
msgid "Open all links in new window or tab?"
|
69 |
+
msgstr "¿Abrir todos los enlaces en una nueva ventana o pestaña?"
|
70 |
|
71 |
#: rotatingtweets.php:224
|
72 |
msgid "How many tweets?"
|
73 |
+
msgstr "¿Cuántos tuits?"
|
74 |
|
75 |
#: rotatingtweets.php:232
|
76 |
msgid "Speed"
|
77 |
+
msgstr "Velocidad"
|
78 |
|
79 |
#: rotatingtweets.php:235
|
80 |
msgid "Faster (3 seconds)"
|
81 |
+
msgstr "Rápido (3 segundos)"
|
82 |
|
83 |
#: rotatingtweets.php:236
|
84 |
msgid "Normal (4 seconds)"
|
85 |
+
msgstr "Normal (4 segundos)"
|
86 |
|
87 |
#: rotatingtweets.php:237
|
88 |
msgid "Slower (5 seconds)"
|
89 |
+
msgstr "Lento (5 segundos)"
|
90 |
|
91 |
#: rotatingtweets.php:238
|
92 |
msgid "Slowest (6 seconds)"
|
93 |
+
msgstr "Más lento (7 segundos)"
|
94 |
|
95 |
#: rotatingtweets.php:239
|
96 |
msgid "Ultra slow (20 seconds)"
|
97 |
+
msgstr "Muy lento (20 segundos)"
|
98 |
|
99 |
#: rotatingtweets.php:253
|
100 |
msgid "Type of rotation"
|
101 |
+
msgstr "Tipo de rotación"
|
102 |
|
103 |
#: rotatingtweets.php:262
|
104 |
msgid "Display format"
|
105 |
+
msgstr "Formato de visualización"
|
106 |
|
107 |
#: rotatingtweets.php:265
|
108 |
msgid "Original rotating tweets layout"
|
109 |
+
msgstr "Diseño original de la sucesión de tuits"
|
110 |
|
111 |
#: rotatingtweets.php:266
|
112 |
msgid ""
|
113 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Official Twitter guidelines</a> "
|
114 |
+
"(regular)"
|
115 |
msgstr ""
|
116 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Directrices oficiales de "
|
117 |
+
"Twitter</a> (normal)"
|
118 |
|
119 |
#: rotatingtweets.php:267
|
120 |
msgid ""
|
121 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Official Twitter guidelines</a> "
|
122 |
+
"(wide)"
|
123 |
msgstr ""
|
124 |
+
"<a target='_blank' href='https://dev.twitter.com/terms/display-guidelines'>Directrices oficiales de "
|
125 |
+
"Twitter</a> (extenso)"
|
126 |
|
127 |
#: rotatingtweets.php:277
|
128 |
msgid "Show tweet details?"
|
129 |
+
msgstr "¿Mostrar detalles del tuit?"
|
130 |
|
131 |
#: rotatingtweets.php:280
|
132 |
msgid "Time/date of tweet"
|
133 |
+
msgstr "Hora/fecha del tuit"
|
134 |
|
135 |
#: rotatingtweets.php:281
|
136 |
msgid "Name of person tweeting"
|
137 |
+
msgstr "Nombre de la persona tuiteando"
|
138 |
|
139 |
#: rotatingtweets.php:282
|
140 |
msgid "Source of tweet"
|
141 |
+
msgstr "Fuente del tuit"
|
142 |
|
143 |
#: rotatingtweets.php:283
|
144 |
msgid "'reply · retweet · favorite' links"
|
145 |
+
msgstr "'responder · retuitear · favorito' enlaces"
|
146 |
|
147 |
#: rotatingtweets.php:294
|
148 |
msgid "Show follow button?"
|
149 |
+
msgstr "¿Mostrar botón de segir?"
|
150 |
|
151 |
#: rotatingtweets.php:297
|
152 |
msgctxt "Show follow button?"
|
153 |
msgid "None"
|
154 |
+
msgstr "No"
|
155 |
|
156 |
#: rotatingtweets.php:298
|
157 |
msgid "Show name and number of followers"
|
158 |
+
msgstr "Ver nombre y número de seguidores"
|
159 |
|
160 |
#: rotatingtweets.php:299
|
161 |
msgid "Show name only"
|
162 |
+
msgstr "Mostrar sólo nombre"
|
163 |
|
164 |
#: rotatingtweets.php:300
|
165 |
msgid "Show followers only"
|
166 |
+
msgstr "Mostrar sólo seguidores"
|
167 |
|
168 |
#: rotatingtweets.php:301
|
169 |
msgid "Show button only"
|
170 |
+
msgstr "Mostrar botón sólo"
|
171 |
|
172 |
#: rotatingtweets.php:329
|
173 |
msgid "less than a second ago"
|
174 |
+
msgstr "hace menos de un segundo"
|
175 |
|
176 |
#: rotatingtweets.php:330
|
177 |
msgid "%d seconds ago"
|
178 |
+
msgstr "hace %d segundos"
|
179 |
|
180 |
#: rotatingtweets.php:331
|
181 |
msgid "about a minute ago"
|
182 |
msgid_plural "about %d minutes ago"
|
183 |
+
msgstr[0] "hace alrededor de un minuto"
|
184 |
+
msgstr[1] "hace alrededor de %d minutos"
|
185 |
|
186 |
#: rotatingtweets.php:332 rotatingtweets.php:334
|
187 |
msgid "about an hour ago"
|
188 |
msgid_plural "about %d hours ago"
|
189 |
+
msgstr[0] "hace alrededor de una hora"
|
190 |
+
msgstr[1] "hace alrededor de %d horas"
|
191 |
|
192 |
#: rotatingtweets.php:333
|
193 |
msgid "yesterday"
|
194 |
+
msgstr "ayer"
|
195 |
|
196 |
#: rotatingtweets.php:335
|
197 |
msgid "about a day ago"
|
198 |
msgid_plural "about %d days ago"
|
199 |
+
msgstr[0] "hace alrededor de un día"
|
200 |
+
msgstr[1] "hace alrededor de %d días"
|
201 |
|
202 |
#: rotatingtweets.php:336
|
203 |
msgid "last week"
|
204 |
+
msgstr "la semana pasada"
|
205 |
|
206 |
#: rotatingtweets.php:337
|
207 |
msgid "about a week ago"
|
208 |
msgid_plural "about %d weeks ago"
|
209 |
+
msgstr[0] "hace alrededor de una semana"
|
210 |
+
msgstr[1] "hace alrededor de %d semanas"
|
211 |
|
212 |
#: rotatingtweets.php:338
|
213 |
msgid "last month"
|
214 |
+
msgstr "el mes pasado"
|
215 |
|
216 |
#: rotatingtweets.php:339
|
217 |
msgid "about a month ago"
|
218 |
msgid_plural "about %d months ago"
|
219 |
+
msgstr[0] "hace alrededor de un mes"
|
220 |
+
msgstr[1] "hace alrededor de %d meses"
|
221 |
|
222 |
#: rotatingtweets.php:340
|
223 |
msgid "last year"
|
224 |
+
msgstr "el año pasado"
|
225 |
|
226 |
#: rotatingtweets.php:341
|
227 |
msgid "about a year ago"
|
228 |
msgid_plural "about %d years ago"
|
229 |
+
msgstr[0] "hace alrededor de un año"
|
230 |
+
msgstr[1] "hace alrededor de %d años"
|
231 |
|
232 |
#: rotatingtweets.php:348
|
233 |
msgctxt "abbreviated timestamp in seconds"
|
234 |
msgid "%ds"
|
235 |
+
msgstr "%ds"
|
236 |
|
237 |
#: rotatingtweets.php:349
|
238 |
msgctxt "abbreviated timestamp in minutes"
|
239 |
msgid "%dm"
|
240 |
+
msgstr "%dm"
|
241 |
|
242 |
#: rotatingtweets.php:350
|
243 |
msgctxt "abbreviated timestamp in hours"
|
244 |
msgid "%dh"
|
245 |
+
msgstr "%dh"
|
246 |
|
247 |
#: rotatingtweets.php:351
|
248 |
+
msgctxt "short date format as per http://uk.php.net/manual/en/function.date.php"
|
|
|
249 |
msgid "j M"
|
250 |
+
msgstr "j F"
|
251 |
|
252 |
#: rotatingtweets.php:352
|
253 |
+
msgctxt "slightly longer date format as per http://uk.php.net/manual/en/function.date.php"
|
|
|
|
|
254 |
msgid "j M Y"
|
255 |
+
msgstr "j F, Y"
|
256 |
|
257 |
#: rotatingtweets.php:358
|
258 |
msgid "reply"
|
259 |
+
msgstr "responder"
|
260 |
|
261 |
#: rotatingtweets.php:359
|
262 |
msgid "retweet"
|
263 |
+
msgstr "retuitear"
|
264 |
|
265 |
#: rotatingtweets.php:360
|
266 |
msgid "favorite"
|
267 |
+
msgstr "favorito"
|
268 |
|
269 |
#: rotatingtweets.php:401 rotatingtweets.php:1593
|
270 |
msgid "Follow @%s"
|
272 |
|
273 |
#: rotatingtweets.php:402 rotatingtweets.php:1456
|
274 |
msgid "Twitter"
|
275 |
+
msgstr "Twitter"
|
276 |
|
277 |
#: rotatingtweets.php:478
|
278 |
msgid "next"
|
279 |
+
msgstr "siguiente"
|
280 |
|
281 |
#: rotatingtweets.php:479
|
282 |
msgid "prev"
|
283 |
+
msgstr "anterior"
|
284 |
|
285 |
#: rotatingtweets.php:515
|
286 |
msgid ""
|
287 |
+
"Please update <a href=\"%2$s\">your settings for Rotating Tweets</a>. The Twitter API <a href=\"%1$s"
|
288 |
+
"\">changed on June 11, 2013</a> and new settings are needed for Rotating Tweets to continue working."
|
|
|
289 |
msgstr ""
|
290 |
+
"Por favor, actualice <a href=\"%2$s\">su configuración de Rotating Tweets</a>. La API de Twitter <a href="
|
291 |
+
"\"%1$s\">cambió el 11 de junio 2013 </a> y es necesaria una nueva configuración para que Rotating Tweets "
|
292 |
+
"siga funcionando."
|
293 |
|
294 |
#: rotatingtweets.php:520
|
295 |
msgid ""
|
296 |
+
"Please update <a href=\"%1$s\">your settings for Rotating Tweets</a>. Currently Rotating Tweets cannot "
|
297 |
+
"authenticate you with Twitter using the details you have given."
|
|
|
298 |
msgstr ""
|
299 |
+
"Por favor, actualice <a href=\"%1$s\">su configuración de Rotating Tweets</a>. Actualmente Rotating Tweets "
|
300 |
+
"no puede autenticarse con Twitter mediante los datos que usted ha proporcionado."
|
301 |
|
302 |
#: rotatingtweets.php:528 rotatingtweets.php:534
|
303 |
msgid "Rotating Tweets: Twitter API settings"
|
304 |
+
msgstr "Rotating Tweets: Configuración de la API de Twitter"
|
305 |
|
306 |
#: rotatingtweets.php:536
|
307 |
msgid "You do not have sufficient permissions to access this page."
|
308 |
+
msgstr "No tiene sufucientes permisos para acceder a esta página."
|
309 |
|
310 |
#: rotatingtweets.php:538
|
311 |
msgid ""
|
312 |
+
"<p>Twitter <a href=\"%s\">has changed</a> the way that they allow people to use the information in their "
|
313 |
+
"tweets.</p><p>You need to take the following steps to make sure that Rotating Tweets can access the "
|
314 |
+
"information it needs from Twitter:</p>"
|
|
|
315 |
msgstr ""
|
316 |
+
"<p>Twitter <a href=\"%s\">ha cambiado</a> la forma en que permite a la gente a utilizar la información en "
|
317 |
+
"sus tuits.</ p><p>Es necesario seguir los siguientes pasos para asegurarse de que Rotating Tweets puede "
|
318 |
+
"acceder a la información que necesita de Twitter:</ p>"
|
319 |
|
320 |
#: rotatingtweets.php:539
|
321 |
msgid ""
|
322 |
+
"<h3>Step 1:</h3><p>Go to the <a href=\"%s\">My applications page</a> on the Twitter website to set up your "
|
323 |
+
"website as a new Twitter 'application'. You may need to log-in using your Twitter user name and password.</"
|
324 |
+
"p>"
|
325 |
msgstr ""
|
326 |
+
"<h3>Paso 1: </h3><p>Ir a la página de <a href=\"%s\">Mis aplicaciones</a> en el sitio web de Twitter para "
|
327 |
+
"configurar su página como una nueva \"aplicación\" de Twitter. Tendrá que iniciar una sesión con su nombre "
|
328 |
+
"de usuario y contraseña de Twitter.</p>"
|
329 |
|
330 |
#: rotatingtweets.php:540
|
331 |
msgid ""
|
332 |
+
"<h3>Step 2:</h3><p>If you don't already have a suitable 'application' that you can use for your website, "
|
333 |
+
"set one up on the <a href=\"%s\">Create an Application page</a>.</p> <p>It's normally best to use the name, "
|
334 |
+
"description and website URL of the website where you plan to use Rotating Tweets.</p><p>You don't need a "
|
335 |
+
"Callback URL.</p>"
|
|
|
336 |
msgstr ""
|
337 |
+
"<h3>Paso 2: </h3><p>Si usted no tiene ya una \"aplicación\" adecuada que pueda utilizar para su sitio web, "
|
338 |
+
"cree una en la <a href=\"%s\">página de Creación de Aplicaciones</a>.</p> <p> Normalmente es mejor utilizar "
|
339 |
+
"el nombre, descripción y URL del sitio web en el que quiera utilizar RotatingTweets.</p><p>No es necesaria "
|
340 |
+
"una 'Callback URL'.</p>"
|
341 |
|
342 |
#: rotatingtweets.php:541
|
343 |
msgid ""
|
344 |
+
"<h3>Step 3:</h3><p>After clicking <strong>Create your Twitter application</strong>, on the following page, "
|
345 |
+
"click on <strong>Create my access token</strong>.</p>"
|
|
|
346 |
msgstr ""
|
347 |
+
"<h3>Paso 3: </h3><p>Después de hacer clic en <strong>Create your Twitter application</strong>, en la "
|
348 |
+
"siguiente página, haga clic en <strong>Create my access token</strong>.</p>"
|
349 |
|
350 |
#: rotatingtweets.php:542
|
351 |
msgid ""
|
352 |
+
"<h3>Step 4:</h3><p>Copy the <strong>Consumer key</strong>, <strong>Consumer secret</strong>, <strong>Access "
|
353 |
+
"token</strong> and <strong>Access token secret</strong> from your Twitter application page into the "
|
354 |
+
"settings below.</p>"
|
|
|
355 |
msgstr ""
|
356 |
+
"<h3>Paso 4:</h3><p>Copie las <strong>Consumer Key</strong>, <strong>Consumer Secret</strong>, "
|
357 |
+
"<strong>Access Token</strong> y <strong>Access Token Secret</strong> de su página de la aplicación de "
|
358 |
+
"Twitter en la siguiente configuración.</ p>"
|
359 |
|
360 |
#: rotatingtweets.php:543
|
361 |
msgid "<h3>Step 5:</h3><p>Click on <strong>Save Changes</strong>."
|
362 |
+
msgstr "<h3>Paso 5:</h3><p>Haga clic en <strong>Save Changes</strong>."
|
363 |
|
364 |
#: rotatingtweets.php:544
|
365 |
msgid ""
|
366 |
+
"<h3>If there are any problems:</h3><p>If there are any problems, you should get an error message from "
|
367 |
+
"Twitter displayed as a \"rotating tweet\" which should help diagnose the problem.</p>"
|
|
|
368 |
msgstr ""
|
369 |
+
"<h3>Si hay algún problema:</h3><p>Si hay algún problema, debe obtener un mensaje de error de Twitter "
|
370 |
+
"mostrado como un \"rotating tweet\", que debería ayudar a diagnosticar el problema.</p>"
|
371 |
|
372 |
#: rotatingtweets.php:546
|
373 |
msgid ""
|
374 |
+
"If you are getting problems with \"rate limiting\", try changing the first connection setting below to "
|
375 |
+
"increase the time that Rotating Tweets waits before trying to get new data from Twitter."
|
|
|
376 |
msgstr ""
|
377 |
+
"Si está teniendo problemas con la \"limitación de velocidad\", pruebe a cambiar el primer ajuste de "
|
378 |
+
"conexión siguiente para aumentar el tiempo que Rotating Tweets espera antes de tratar de obtener nuevos "
|
379 |
+
"datos de Twitter."
|
380 |
|
381 |
#: rotatingtweets.php:548
|
382 |
msgid ""
|
383 |
+
"If you are getting time-out problems, try changing the second connection setting below to increase how long "
|
384 |
+
"Rotating Tweets waits when connecting to Twitter before timing out."
|
|
|
385 |
msgstr ""
|
386 |
+
"Si está teniendo problemas con el tiempo de espera, intente cambiar el segundo ajuste de conexión siguiente "
|
387 |
+
"para aumentar el tiempo que Rotating Tweets espera cuando se conecta a Twitter antes de agotar el tiempo de "
|
388 |
+
"espera."
|
389 |
|
390 |
#: rotatingtweets.php:550
|
391 |
msgid ""
|
392 |
+
"If the error message references SSL, try changing the \"Verify SSL connection to Twitter\" setting below to "
|
393 |
+
"\"No\"."
|
394 |
msgstr ""
|
395 |
+
"Si el mensaje de error hace referencia al SSL, intente cambiar el ajuste \"Verificar la conexión SSL a "
|
396 |
+
"Twitter\" siguiente a \"No\"."
|
397 |
|
398 |
#: rotatingtweets.php:552
|
399 |
msgid "<h3>Getting information from more than one Twitter account</h3>"
|
400 |
+
msgstr "<h3>Obteniendo información de más de una cuenta de Twitter</h3>"
|
401 |
|
402 |
#: rotatingtweets.php:553
|
403 |
msgid ""
|
404 |
+
"<p>Even though you are only entering one set of Twitter API data, Rotating Tweets will continue to support "
|
405 |
+
"multiple widgets and shortcodes pulling from a variety of different Twitter accounts.</p>"
|
|
|
406 |
msgstr ""
|
407 |
+
"<p>A pesar de que sólo está introduciendo una serie de datos de la API de Twitter, Rotating Tweets "
|
408 |
+
"continuará apoyando múltiples widgets y códigos cortos que tiran de una variedad de diferentes cuentas de "
|
409 |
+
"Twitter.</p>"
|
410 |
|
411 |
#: rotatingtweets.php:557
|
412 |
msgid "Save Changes"
|
413 |
+
msgstr "Guardar cambios"
|
414 |
|
415 |
#: rotatingtweets.php:565
|
416 |
msgid "Twitter API Settings"
|
417 |
+
msgstr "Configuración de la API de Twitter"
|
418 |
|
419 |
#: rotatingtweets.php:566
|
420 |
msgid "Twitter API Consumer Key"
|
421 |
+
msgstr "\"Consumer Key\" de la API de Twitter"
|
422 |
|
423 |
#: rotatingtweets.php:567
|
424 |
msgid "Twitter API Consumer Secret"
|
425 |
+
msgstr "\"Consumer Secret\" de la API de Twitter"
|
426 |
|
427 |
#: rotatingtweets.php:568
|
428 |
msgid "Twitter API Access Token"
|
429 |
+
msgstr "\"Access Token\" de la API de Twitter"
|
430 |
|
431 |
#: rotatingtweets.php:569
|
432 |
msgid "Twitter API Access Token Secret"
|
433 |
+
msgstr "\"Access Token Secret\" de la API de Twitter"
|
434 |
|
435 |
#: rotatingtweets.php:571
|
436 |
msgid "Connection Settings"
|
437 |
+
msgstr "Configuración de la conexión"
|
438 |
|
439 |
#: rotatingtweets.php:572
|
440 |
+
msgid "How often should Rotating Tweets try to get the latest tweets from Twitter?"
|
441 |
+
msgstr "¿Con qué frecuencia debería Rotating Tweets tratar de obtener los últimos tuits de Twitter?"
|
|
|
442 |
|
443 |
#: rotatingtweets.php:573
|
444 |
+
msgid "When connecting to Twitter, how long should Rotating Tweets wait before timing out?"
|
|
|
|
|
445 |
msgstr ""
|
446 |
+
"Cuando se conecta a Twitter, ¿cuánto tiempo debe esperar Rotating Tweets antes de que se agote el tiempo "
|
447 |
+
"espera?"
|
448 |
|
449 |
#: rotatingtweets.php:574
|
450 |
msgid "Verify SSL connection to Twitter"
|
451 |
+
msgstr "Verificar la conexión SSL a Twitter"
|
452 |
|
453 |
#: rotatingtweets.php:576
|
454 |
msgid "JavaScript Settings"
|
455 |
+
msgstr "Configuración de JavaScript"
|
456 |
|
457 |
#: rotatingtweets.php:577
|
458 |
msgid "Version of JQuery Cycle"
|
459 |
+
msgstr "Versión del Ciclo jQuery"
|
460 |
|
461 |
#: rotatingtweets.php:578
|
462 |
msgid "Where to load Rotating Tweets JavaScript"
|
463 |
+
msgstr "Dónde carga el JavaScript de Rotating Tweets"
|
464 |
|
465 |
#: rotatingtweets.php:599
|
466 |
msgctxt "Verify SSL connection to Twitter"
|
467 |
msgid "Yes"
|
468 |
+
msgstr "Sí"
|
469 |
|
470 |
#: rotatingtweets.php:600
|
471 |
msgctxt "Verify SSL connection to Twitter"
|
472 |
msgid "No"
|
473 |
+
msgstr "No"
|
474 |
|
475 |
#: rotatingtweets.php:616
|
476 |
msgctxt "Connection timeout"
|
477 |
msgid "1 second"
|
478 |
+
msgstr "1 segundo"
|
479 |
|
480 |
#: rotatingtweets.php:617
|
481 |
msgctxt "Connection timeout"
|
482 |
msgid "3 seconds (default)"
|
483 |
+
msgstr "3 segundos (por defecto)"
|
484 |
|
485 |
#: rotatingtweets.php:618
|
486 |
msgctxt "Connection timeout"
|
487 |
msgid "5 seconds"
|
488 |
+
msgstr "5 segundos"
|
489 |
|
490 |
#: rotatingtweets.php:619
|
491 |
msgctxt "Connection timeout"
|
492 |
msgid "7 seconds"
|
493 |
+
msgstr "7 segundos"
|
494 |
|
495 |
#: rotatingtweets.php:620
|
496 |
msgctxt "Connection timeout"
|
497 |
msgid "20 seconds"
|
498 |
+
msgstr "20 segundos"
|
499 |
|
500 |
#: rotatingtweets.php:637
|
501 |
msgctxt "Cache Delay"
|
502 |
msgid "1 minute"
|
503 |
+
msgstr "1 minuto"
|
504 |
|
505 |
#: rotatingtweets.php:638
|
506 |
msgctxt "Cache Delay"
|
507 |
msgid "2 minutes (default)"
|
508 |
+
msgstr "2 minutos (por defecto)"
|
509 |
|
510 |
#: rotatingtweets.php:639
|
511 |
msgctxt "Cache Delay"
|
512 |
msgid "5 minutes"
|
513 |
+
msgstr "5 minutos"
|
514 |
|
515 |
#: rotatingtweets.php:640
|
516 |
msgctxt "Cache Delay"
|
517 |
msgid "1 hour"
|
518 |
+
msgstr "1 hora"
|
519 |
|
520 |
#: rotatingtweets.php:641
|
521 |
msgctxt "Cache Delay"
|
522 |
msgid "24 hours"
|
523 |
+
msgstr "24 horas"
|
524 |
|
525 |
#: rotatingtweets.php:658
|
526 |
msgctxt "Version of JQuery Cycle"
|
527 |
msgid "Version 1 (default)"
|
528 |
+
msgstr "Versión 1 (por defecto)"
|
529 |
|
530 |
#: rotatingtweets.php:659
|
531 |
msgctxt "Version of JQuery Cycle"
|
532 |
msgid "Version 2 (beta)"
|
533 |
+
msgstr "Versión 2 (beta)"
|
534 |
|
535 |
#: rotatingtweets.php:676
|
536 |
msgctxt "Location of JavaScript"
|
537 |
msgid "Load in header (default)"
|
538 |
+
msgstr "Cargar en la cabecera"
|
539 |
|
540 |
#: rotatingtweets.php:677
|
541 |
msgctxt "Location of JavaScript"
|
542 |
msgid "Load in footer"
|
543 |
+
msgstr "Cargar en el pie"
|
544 |
|
545 |
#: rotatingtweets.php:712
|
546 |
msgid "Error: Twitter API Consumer Key not correctly formatted."
|
547 |
+
msgstr "Error: La \"Consumer Key\" de la API de Twitter no tiene el formato correcto."
|
548 |
|
549 |
#: rotatingtweets.php:719
|
550 |
msgid "Error: Twitter API Consumer Secret not correctly formatted."
|
551 |
+
msgstr "Error: La \"Consumer Secret\" de la API de Twitter no tiene el formato correcto."
|
552 |
|
553 |
#: rotatingtweets.php:726
|
554 |
msgid "Error: Twitter API Access Token not correctly formatted."
|
555 |
+
msgstr "Error: El \"Access Token\" de la API de Twitter no tiene el formato correcto."
|
556 |
|
557 |
#: rotatingtweets.php:733
|
558 |
msgid "Error: Twitter API Access Token Secret not correctly formatted."
|
559 |
+
msgstr "Error: El \"Access Token Secret\" de la API de Twitter no tiene el formato correcto."
|
560 |
|
561 |
#: rotatingtweets.php:773
|
562 |
msgid ""
|
563 |
+
"Error message received from Twitter: %1$s. <a href=\"%2$s\">Please check your API key, secret, token and "
|
564 |
+
"secret token on the Twitter website</a>."
|
565 |
msgstr ""
|
566 |
+
"Mensaje de error recibido de Twitter: %1$s. <a href=\"%2$s\">Por favor, confirme su API Key, Secret, Token "
|
567 |
+
"y Token Secret en el sitio web de Twitter</a>."
|
568 |
|
569 |
#: rotatingtweets.php:775
|
570 |
+
msgid "Error message received from Wordpress: %1$s. Please check your connection settings."
|
571 |
+
msgstr "Mensaje de error recibido de Wordpress: %1$s. Por favor, compruebe la configuración de su conexión."
|
|
|
|
|
572 |
|
573 |
#: rotatingtweets.php:1227
|
574 |
msgid "Problem retrieving data from Twitter"
|
575 |
+
msgstr "Problema recuperando datos de Twitter"
|
576 |
|
577 |
#: rotatingtweets.php:1229
|
578 |
msgid "%3$s error code: %1$s - %2$s"
|
579 |
+
msgstr "%3$s código de error: %1$s - %2$s"
|
580 |
|
581 |
#: rotatingtweets.php:1235
|
582 |
msgid "This website is currently <a href='%s'>rate-limited by Twitter</a>."
|
583 |
+
msgstr "Este sitio web tiene actualmente <a href='%s'>una tasa limitada por Twitter</a>."
|
584 |
|
585 |
#: rotatingtweets.php:1237
|
586 |
msgid "Next attempt to get data will be in %d minute"
|
587 |
msgid_plural "Next attempt to get data will be in %d minutes"
|
588 |
+
msgstr[0] "Próximo intento para obtener datos en %d minuto"
|
589 |
+
msgstr[1] "Próximo intento para obtener datos en %d minutos"
|
590 |
|
591 |
#: rotatingtweets.php:1238
|
592 |
msgid "Next attempt to get data will be in less than a minute"
|
593 |
+
msgstr "Próximo intento para obtener datos en menos de un minuto"
|
594 |
|
595 |
#: rotatingtweets.php:1243
|
596 |
msgid "Please check your <a href='%s'>Rotating Tweets settings</a>."
|
597 |
+
msgstr "Por favor, compruebe su <a href='%s'>configuración de Rotating Tweets</a>."
|
598 |
|
599 |
#: rotatingtweets.php:1246
|
600 |
+
msgid "Please check the Twitter screen name or list slug in the widget or shortcode."
|
|
|
601 |
msgstr ""
|
602 |
+
"Por favor, compruebe el nombre de usuario de Twitter o lista de slugs en el widget o en el código corto."
|
603 |
|
604 |
#: rotatingtweets.php:1251 rotatingtweets.php:1257
|
605 |
msgid ""
|
606 |
+
"Please check the Twitter name in the widget or shortcode, <a href='%2$s'>Rotating Tweets settings</a> or "
|
607 |
+
"the <a href='%1$s'>Twitter API status</a>."
|
|
|
608 |
msgstr ""
|
609 |
+
"Por favor, compruebe el nombre de Twitter en el widget o en código corto, <a href='%2$s'>Configuración de "
|
610 |
+
"Rotating Tweets</a> o el <a href='%1$s'>estado de la API de Twitter</a>."
|
611 |
|
612 |
#: rotatingtweets.php:1254
|
613 |
msgid "Please check your PHP and server settings."
|
614 |
+
msgstr "Por favor, compruebe sus configuraciones de PHP y de servidor"
|
615 |
|
616 |
#: rotatingtweets.php:1263
|
617 |
msgid "No Tweet results for search <a href=\"%2$s\"><strong>%1$s</strong></a>"
|
618 |
+
msgstr "No hay resultados de tuits para la búsqueda <a href=\"%2$s\"><strong>%1$s</strong></a>"
|
619 |
|
620 |
+
#: rotatingtweets.php:1435 rotatingtweets.php:1505 rotatingtweets.php:1522 rotatingtweets.php:1547
|
|
|
621 |
msgid "from <a href='%1$s' title='%2$s'>%2$s's Twitter</a>"
|
622 |
+
msgstr "del <a href='%1$s' title='%2$s'>Twitter de %2$s</a>"
|
623 |
|
624 |
#: rotatingtweets.php:1439 rotatingtweets.php:1526 rotatingtweets.php:1551
|
625 |
msgid "via %s"
|
626 |
+
msgstr "vía %s"
|
627 |
|
628 |
#: rotatingtweets.php:1465 rotatingtweets.php:1486
|
629 |
msgid "Retweeted by %s"
|
630 |
+
msgstr "Retuiteado por %s"
|
631 |
|
632 |
#: rotatingtweets.php:1488
|
633 |
msgid "Expand"
|
635 |
|
636 |
#: rotatingtweets.php:1567
|
637 |
msgid "Problem retrieving data from Twitter."
|
638 |
+
msgstr "Problema recuperando datos de Twitter."
|
639 |
|
640 |
#: rotatingtweets.php:1569
|
641 |
msgid "Please check the comments on this page's HTML to understand more."
|
642 |
+
msgstr "Por favor, consulte los comentarios en esta página HTML para saber más."
|
643 |
|
644 |
#: rotatingtweets.php:1612 rotatingtweets.php:1625
|
645 |
msgid "Scroll Up"
|
646 |
+
msgstr "Desplazar hacia arriba"
|
647 |
|
648 |
#: rotatingtweets.php:1613 rotatingtweets.php:1626
|
649 |
msgid "Scroll Down"
|
650 |
+
msgstr "Desplazar hacia abajo"
|
651 |
|
652 |
#: rotatingtweets.php:1614 rotatingtweets.php:1627
|
653 |
msgid "Scroll Left"
|
654 |
+
msgstr "Desplazar hacia la izquierda"
|
655 |
|
656 |
#: rotatingtweets.php:1615 rotatingtweets.php:1628
|
657 |
msgid "Scroll Right"
|
658 |
+
msgstr "Desplazar hacia la derecha"
|
659 |
|
660 |
#: rotatingtweets.php:1616 rotatingtweets.php:1629
|
661 |
msgid "Fade"
|
662 |
+
msgstr "Desvanecer"
|
663 |
|
664 |
#: rotatingtweets.php:1617
|
665 |
msgid "Carousel"
|
666 |
+
msgstr "Carrusel"
|
667 |
|
668 |
#. Plugin Name of the plugin/theme
|
669 |
msgid "Rotating Tweets (Twitter widget & shortcode)"
|
670 |
+
msgstr "Rotating Tweets (widget y código corto de Twitter)"
|
671 |
|
672 |
#. Description of the plugin/theme
|
673 |
msgid ""
|
674 |
+
"Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating "
|
675 |
+
"tweets display"
|
676 |
msgstr ""
|
677 |
+
"Sustituye un código corto como [rotatingtweets screen_name='your_twitter_name'], o un widget, por una "
|
678 |
+
"visualización rotativa de tuits"
|
679 |
|
680 |
#. Author of the plugin/theme
|
681 |
msgid "Martin Tod"
|
682 |
+
msgstr "Martin Tod"
|
683 |
|
684 |
#. Author URI of the plugin/theme
|
685 |
msgid "http://www.martintod.org.uk"
|
686 |
+
msgstr "http://www.martintod.org.uk"
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -30,7 +30,7 @@ Currently the following languages are available:
|
|
30 |
* British English *(complete - mainly changing 'favorite' to 'favourite'!)*
|
31 |
* Brazilian Portuguese *(complete - many thanks to Wilmerson Felipe for his help on this)*
|
32 |
* German *(almost complete - many thanks to Nils Kroneberg for his help on this)*
|
33 |
-
* Spanish *(
|
34 |
* Italian *(complete - many thanks to [Mattia Migliorini](https://profiles.wordpress.org/deshack/) at [deshack](http://deshack.net/) for his help on this)*
|
35 |
* Dutch *(public facing translation complete - many thanks to Natasja Weijer for her help on this)*
|
36 |
* French *(almost complete - many thanks to [Alexandre Trudel](http://wordpress.org/support/profile/alexandretrudel) for his help on this)*
|
@@ -182,10 +182,14 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
|
|
182 |
You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
|
183 |
|
184 |
== Upgrade notice ==
|
185 |
-
= 1.7.
|
186 |
-
*
|
187 |
|
188 |
== Changelog ==
|
|
|
|
|
|
|
|
|
189 |
= 1.7.10 =
|
190 |
* Move to using HTML5 custom data attributes and `data()` functions to transfer variable values to version 1 of JavaScript - including 'speed' variable
|
191 |
* Addition of 'pager' via `show_meta_pager` and `show_meta_pager_blob` variables
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 1.7.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
30 |
* British English *(complete - mainly changing 'favorite' to 'favourite'!)*
|
31 |
* Brazilian Portuguese *(complete - many thanks to Wilmerson Felipe for his help on this)*
|
32 |
* German *(almost complete - many thanks to Nils Kroneberg for his help on this)*
|
33 |
+
* Spanish *(complete - many thanks to Alberto Lario for his help on this)*
|
34 |
* Italian *(complete - many thanks to [Mattia Migliorini](https://profiles.wordpress.org/deshack/) at [deshack](http://deshack.net/) for his help on this)*
|
35 |
* Dutch *(public facing translation complete - many thanks to Natasja Weijer for her help on this)*
|
36 |
* French *(almost complete - many thanks to [Alexandre Trudel](http://wordpress.org/support/profile/alexandretrudel) for his help on this)*
|
182 |
You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
|
183 |
|
184 |
== Upgrade notice ==
|
185 |
+
= 1.7.11 =
|
186 |
+
* Fixing tweet height JavaScript bug & completing of Spanish translation
|
187 |
|
188 |
== Changelog ==
|
189 |
+
= 1.7.11 =
|
190 |
+
* Completion of Spanish translation - many thanks to Alberto Lario for his help on this
|
191 |
+
* Fixing tweet height JavaScript bug
|
192 |
+
|
193 |
= 1.7.10 =
|
194 |
* Move to using HTML5 custom data attributes and `data()` functions to transfer variable values to version 1 of JavaScript - including 'speed' variable
|
195 |
* Addition of 'pager' via `show_meta_pager` and `show_meta_pager_blob` variables
|
rotatingtweets.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
-
Version: 1.7.
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
@@ -1010,14 +1010,6 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
1010 |
$tw_search = trim($tw_search);
|
1011 |
endif;
|
1012 |
$cache_delay = rotatingtweets_get_cache_delay();
|
1013 |
-
/*
|
1014 |
-
$cacheoption = get_option('rotatingtweets-api-settings');
|
1015 |
-
if(!isset($cacheoption['cache_delay'])):
|
1016 |
-
$cache_delay = 120;
|
1017 |
-
else:
|
1018 |
-
$cache_delay = max(60,intval($cacheoption['cache_delay']));
|
1019 |
-
endif;
|
1020 |
-
*/
|
1021 |
if($tw_include_rts != 1) $tw_include_rts = 0;
|
1022 |
if($tw_exclude_replies != 1) $tw_exclude_replies = 0;
|
1023 |
|
@@ -1031,10 +1023,7 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
1031 |
} else {
|
1032 |
$stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
|
1033 |
}
|
1034 |
-
// $optionname = "rotatingtweets-cache";
|
1035 |
-
// $option = delete_option($optionname);
|
1036 |
$transientname = substr('rtc-'.sanitize_file_name($stringname),0,45);
|
1037 |
-
// $transientname = str_replace(array('#','_'),'-',$transientname);
|
1038 |
$option = rotatingtweets_get_transient($transientname);
|
1039 |
|
1040 |
if(WP_DEBUG && !$option):
|
@@ -1142,6 +1131,13 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
1142 |
endif;
|
1143 |
if(is_array($twitterjson) && isset($twitterjson[0] )) $firstentry = $twitterjson[0];
|
1144 |
if(!empty($firstentry['text'])):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1145 |
$latest_json = rotatingtweets_shrink_json($twitterjson);
|
1146 |
$option[$stringname]['json']=$latest_json;
|
1147 |
$option[$stringname]['datetime']=time();
|
@@ -1159,6 +1155,32 @@ function rotatingtweets_get_tweets($tw_screen_name,$tw_include_rts,$tw_exclude_r
|
|
1159 |
return;
|
1160 |
endif;
|
1161 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1162 |
function rotatingtweets_shrink_json($json) {
|
1163 |
$return = array();
|
1164 |
foreach($json as $item):
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
+
Version: 1.7.11
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
1010 |
$tw_search = trim($tw_search);
|
1011 |
endif;
|
1012 |
$cache_delay = rotatingtweets_get_cache_delay();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1013 |
if($tw_include_rts != 1) $tw_include_rts = 0;
|
1014 |
if($tw_exclude_replies != 1) $tw_exclude_replies = 0;
|
1015 |
|
1023 |
} else {
|
1024 |
$stringname = $tw_screen_name.$tw_include_rts.$tw_exclude_replies;
|
1025 |
}
|
|
|
|
|
1026 |
$transientname = substr('rtc-'.sanitize_file_name($stringname),0,45);
|
|
|
1027 |
$option = rotatingtweets_get_transient($transientname);
|
1028 |
|
1029 |
if(WP_DEBUG && !$option):
|
1131 |
endif;
|
1132 |
if(is_array($twitterjson) && isset($twitterjson[0] )) $firstentry = $twitterjson[0];
|
1133 |
if(!empty($firstentry['text'])):
|
1134 |
+
$number_returned_tweets = count($twitterjson);
|
1135 |
+
if(WP_DEBUG) echo "<!-- ".$number_returned_tweets." tweets returned -->";
|
1136 |
+
if($number_returned_tweets < 40 && is_array($latest_json) && count($latest_json)>0 ):
|
1137 |
+
if(WP_DEBUG) echo "<!-- ".count($latest_json)." tweets in cache -->";
|
1138 |
+
$twitterjson = rotatingtweet_combine_jsons($twitterjson,$latest_json);
|
1139 |
+
if(WP_DEBUG) echo "<!-- ".count($twitterjson)." tweets in merged json -->";
|
1140 |
+
endif;
|
1141 |
$latest_json = rotatingtweets_shrink_json($twitterjson);
|
1142 |
$option[$stringname]['json']=$latest_json;
|
1143 |
$option[$stringname]['datetime']=time();
|
1155 |
return;
|
1156 |
endif;
|
1157 |
}
|
1158 |
+
function rotatingtweet_combine_jsons($a,$b) {
|
1159 |
+
$tweet_keys = array();
|
1160 |
+
foreach($a as $item) {
|
1161 |
+
$tweet_keys[] = $item['id_str'];
|
1162 |
+
}
|
1163 |
+
foreach($b as $item) {
|
1164 |
+
if( !empty($item['id_str']) && !in_array($item['id_str'],$tweet_keys) ):
|
1165 |
+
$a[]=$item;
|
1166 |
+
endif;
|
1167 |
+
}
|
1168 |
+
return rotatingtweets_sort_json($a);
|
1169 |
+
}
|
1170 |
+
function rotatingtweets_sort_json($a) {
|
1171 |
+
$sort_json = array();
|
1172 |
+
$return_json = array();
|
1173 |
+
foreach($a as $number => $item) {
|
1174 |
+
if(strtotime($item['created_at'])>0):
|
1175 |
+
$sort_json[$number] = strtotime($item['created_at']);
|
1176 |
+
endif;
|
1177 |
+
}
|
1178 |
+
arsort($sort_json);
|
1179 |
+
foreach($sort_json as $number => $item) {
|
1180 |
+
$return_json[] = $a[$number];
|
1181 |
+
}
|
1182 |
+
return $return_json;
|
1183 |
+
}
|
1184 |
function rotatingtweets_shrink_json($json) {
|
1185 |
$return = array();
|
1186 |
foreach($json as $item):
|