Version Description
- Added
latest_tweets_cache_seconds
filter - Added German translations
Download this release
Release Info
Developer | timwhitlock |
Plugin | Latest Tweets Widget |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- lang/README.md +1 -0
- lang/twitter-api-de_DE.mo +0 -0
- lang/twitter-api-de_DE.po +298 -0
- lang/twitter-api-pt_BR.mo +0 -0
- lang/twitter-api-pt_BR.po +80 -80
- lang/twitter-api.pot +74 -75
- lang/update.sh +6 -4
- latest-tweets.php +7 -2
- lib/twitter-api.php +1 -0
- readme.txt +30 -1
lang/README.md
CHANGED
@@ -11,3 +11,4 @@ Messages here are for the admin screens plus common Twitter-related phrases you
|
|
11 |
Many thanks to the following translators:
|
12 |
|
13 |
* **pt_BR** [Leandro Dimitrio](http://wordpress.org/support/profile/leandrodimitrio)
|
|
11 |
Many thanks to the following translators:
|
12 |
|
13 |
* **pt_BR** [Leandro Dimitrio](http://wordpress.org/support/profile/leandrodimitrio)
|
14 |
+
* **de_DE** [Florian Felsing](https://twitter.com/FlorianFelsing)
|
lang/twitter-api-de_DE.mo
ADDED
Binary file
|
lang/twitter-api-de_DE.po
ADDED
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Twitter API Wordpress plugin\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: Fri, 22 Feb 2013 17:50:38 +0000\n"
|
6 |
+
"PO-Revision-Date: Wed, 19 Jun 2013 15:17:13 +0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"Language: German\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
+
"X-Generator: Loco http://localise.biz \n"
|
15 |
+
"X-Loco-Author: Tim Whitlock\n"
|
16 |
+
"X-Loco-Source-Locale: en_GB\n"
|
17 |
+
"X-Loco-Target-Locale: de_DE\n"
|
18 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
+
|
20 |
+
#: Asset admin-fatal-denied
|
21 |
+
msgid "You don't have permission to manage Twitter API settings"
|
22 |
+
msgstr "Dir fehlen die Rechte, um die Twitter API Einstellungen zu verwalten"
|
23 |
+
|
24 |
+
#: Asset admin-notice-authenticated
|
25 |
+
msgid "Authenticated as @%s"
|
26 |
+
msgstr "Authentifiziert als @%s"
|
27 |
+
|
28 |
+
#: Asset admin-notice-unauthed
|
29 |
+
msgid "Plugin not yet authenticated with Twitter"
|
30 |
+
msgstr "Das Plugin wurde noch nicht bei Twitter authentifiziert"
|
31 |
+
|
32 |
+
#: Asset admin-notice-unconfigured
|
33 |
+
msgid "Twitter application not fully configured"
|
34 |
+
msgstr "Die Twitter Anwendung ist nicht vollständig konfiguriert"
|
35 |
+
|
36 |
+
#: Asset error-oauth-empty-key
|
37 |
+
msgid "Key required even if secret is empty"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: Asset error-oauth-invalid-token
|
41 |
+
msgid "Invalid OAuth token"
|
42 |
+
msgstr "Ungültiger OAuth token"
|
43 |
+
|
44 |
+
#: Asset error-twitter-generic
|
45 |
+
msgid "Twitter error #%d"
|
46 |
+
msgstr "Twitter Fehler #%d"
|
47 |
+
|
48 |
+
#: Asset error-twitter-invalid-param
|
49 |
+
msgid "Invalid Twitter parameter"
|
50 |
+
msgstr "Ungültiger Twitter Parameter"
|
51 |
+
|
52 |
+
#: Asset error-twitter-malformed
|
53 |
+
msgid "Malformed response from Twitter"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: Asset error-wordpress-http
|
57 |
+
msgid "Wordpress HTTP request failure"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: Asset hours-ago-singular
|
61 |
+
msgid "About an hour ago"
|
62 |
+
msgid_plural "About %u hours ago"
|
63 |
+
msgstr[0] "Vor ungefähr 1 Stunde"
|
64 |
+
msgstr[1] "Vor ungefähr %u Stunden"
|
65 |
+
|
66 |
+
#: Asset http-status-100
|
67 |
+
msgid "Continue"
|
68 |
+
msgstr "Weiter"
|
69 |
+
|
70 |
+
#: Asset http-status-101
|
71 |
+
msgid "Switching Protocols"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: Asset http-status-200
|
75 |
+
msgid "OK"
|
76 |
+
msgstr "OK"
|
77 |
+
|
78 |
+
#: Asset http-status-201
|
79 |
+
msgid "Created"
|
80 |
+
msgstr "Erstellt"
|
81 |
+
|
82 |
+
#: Asset http-status-202
|
83 |
+
msgid "Accepted"
|
84 |
+
msgstr "Akzeptiert"
|
85 |
+
|
86 |
+
#: Asset http-status-203
|
87 |
+
msgid "Non-Authoritative Information"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: Asset http-status-204
|
91 |
+
msgid "No Content"
|
92 |
+
msgstr "Kein Inhalt"
|
93 |
+
|
94 |
+
#: Asset http-status-205
|
95 |
+
msgid "Reset Content"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: Asset http-status-206
|
99 |
+
msgid "Partial Content"
|
100 |
+
msgstr ""
|
101 |
+
|
102 |
+
#: Asset http-status-300
|
103 |
+
msgid "Multiple Choices"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: Asset http-status-301
|
107 |
+
msgid "Moved Permanently"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: Asset http-status-302
|
111 |
+
msgid "Found"
|
112 |
+
msgstr "Gefunden"
|
113 |
+
|
114 |
+
#: Asset http-status-303
|
115 |
+
msgid "See Other"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: Asset http-status-304
|
119 |
+
msgid "Not Modified"
|
120 |
+
msgstr "Nicht modifiziert"
|
121 |
+
|
122 |
+
#: Asset http-status-305
|
123 |
+
msgid "Use Proxy"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: Asset http-status-307
|
127 |
+
msgid "Temporary Redirect"
|
128 |
+
msgstr ""
|
129 |
+
|
130 |
+
#: Asset http-status-400
|
131 |
+
msgid "Bad Request"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: Asset http-status-401
|
135 |
+
msgid "Authorization Required"
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: Asset http-status-402
|
139 |
+
msgid "Payment Required"
|
140 |
+
msgstr ""
|
141 |
+
|
142 |
+
#: Asset http-status-403
|
143 |
+
msgid "Forbidden"
|
144 |
+
msgstr ""
|
145 |
+
|
146 |
+
#: Asset http-status-404
|
147 |
+
msgid "Not Found"
|
148 |
+
msgstr ""
|
149 |
+
|
150 |
+
#: Asset http-status-405
|
151 |
+
msgid "Method Not Allowed"
|
152 |
+
msgstr ""
|
153 |
+
|
154 |
+
#: Asset http-status-406
|
155 |
+
msgid "Not Acceptable"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: Asset http-status-407
|
159 |
+
msgid "Proxy Authentication Required"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: Asset http-status-408
|
163 |
+
msgid "Request Time-out"
|
164 |
+
msgstr ""
|
165 |
+
|
166 |
+
#: Asset http-status-409
|
167 |
+
msgid "Conflict"
|
168 |
+
msgstr ""
|
169 |
+
|
170 |
+
#: Asset http-status-410
|
171 |
+
msgid "Gone"
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: Asset http-status-411
|
175 |
+
msgid "Length Required"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: Asset http-status-412
|
179 |
+
msgid "Precondition Failed"
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: Asset http-status-413
|
183 |
+
msgid "Request Entity Too Large"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: Asset http-status-414
|
187 |
+
msgid "Request-URI Too Large"
|
188 |
+
msgstr ""
|
189 |
+
|
190 |
+
#: Asset http-status-415
|
191 |
+
msgid "Unsupported Media Type"
|
192 |
+
msgstr ""
|
193 |
+
|
194 |
+
#: Asset http-status-416
|
195 |
+
msgid "Requested range not satisfiable"
|
196 |
+
msgstr ""
|
197 |
+
|
198 |
+
#: Asset http-status-417
|
199 |
+
msgid "Expectation Failed"
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: Asset http-status-429
|
203 |
+
msgid "Twitter API rate limit exceeded"
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: Asset http-status-500
|
207 |
+
msgid "Twitter server error"
|
208 |
+
msgstr "Twitter Server Fehler"
|
209 |
+
|
210 |
+
#: Asset http-status-501
|
211 |
+
msgid "Not Implemented"
|
212 |
+
msgstr "Nicht implementiert"
|
213 |
+
|
214 |
+
#: Asset http-status-502
|
215 |
+
msgid "Twitter is not responding"
|
216 |
+
msgstr "Twitter antwortet nicht"
|
217 |
+
|
218 |
+
#: Asset http-status-503
|
219 |
+
msgid "Twitter is too busy to respond"
|
220 |
+
msgstr ""
|
221 |
+
|
222 |
+
#: Asset http-status-504
|
223 |
+
msgid "Gateway Time-out"
|
224 |
+
msgstr ""
|
225 |
+
|
226 |
+
#: Asset http-status-505
|
227 |
+
msgid "HTTP Version not supported"
|
228 |
+
msgstr "HTTP Version wird nicht unterstützt"
|
229 |
+
|
230 |
+
#: Asset just-now
|
231 |
+
msgid "Just now"
|
232 |
+
msgstr "Gerade eben"
|
233 |
+
|
234 |
+
#: Asset label-details-available-in
|
235 |
+
msgid "These details are available in"
|
236 |
+
msgstr "Diese Informationen findest du in"
|
237 |
+
|
238 |
+
#: Asset label-twitter-api
|
239 |
+
msgid "Twitter API"
|
240 |
+
msgstr "Twitter API"
|
241 |
+
|
242 |
+
#: Asset label-your-twitter-dashboard
|
243 |
+
msgid "your Twitter dashboard"
|
244 |
+
msgstr "deinem Twitter Dashboard"
|
245 |
+
|
246 |
+
#: Asset latest-tweets
|
247 |
+
msgid "Latest Tweets"
|
248 |
+
msgstr "Neueste Tweets"
|
249 |
+
|
250 |
+
#: Asset minutes-ago-singular
|
251 |
+
msgid "%u minute ago"
|
252 |
+
msgid_plural "%u minutes ago"
|
253 |
+
msgstr[0] "Vor 1 Minute"
|
254 |
+
msgstr[1] "Vor %u Minuten"
|
255 |
+
|
256 |
+
#: Asset notice-unconfigured
|
257 |
+
msgid "Twitter application is not fully configured"
|
258 |
+
msgstr "Die Twitter Anwendung ist nicht vollständig konfiguriert"
|
259 |
+
|
260 |
+
#: Asset number-of-tweets
|
261 |
+
msgid "Number of tweets"
|
262 |
+
msgstr "Anzahl an Tweets"
|
263 |
+
|
264 |
+
#: Asset save-settings
|
265 |
+
msgid "Save settings"
|
266 |
+
msgstr "Einstellungen speichern"
|
267 |
+
|
268 |
+
#: Asset show-replies
|
269 |
+
msgid "Show Replies"
|
270 |
+
msgstr "Antworten anzeigen"
|
271 |
+
|
272 |
+
#: Asset show-retweets
|
273 |
+
msgid "Show Retweets"
|
274 |
+
msgstr "Retweets anzeigen"
|
275 |
+
|
276 |
+
#: Asset twitter-api-authentication-settings
|
277 |
+
msgid "Twitter API Authentication Settings"
|
278 |
+
msgstr "Einstellungen zur Twitter API Authentifizierung"
|
279 |
+
|
280 |
+
#: Asset twitter-handle
|
281 |
+
msgid "Twitter handle"
|
282 |
+
msgstr "Twitter Handle"
|
283 |
+
|
284 |
+
#: Asset warning-no-apc
|
285 |
+
msgid "Cannot enable Twitter API cache without APC extension"
|
286 |
+
msgstr "Der Twitter API Cache kann ohne APC Erweiterung nicht aktiviert werden"
|
287 |
+
|
288 |
+
#: Asset warning-unauthed
|
289 |
+
msgid "Twitter client not authenticated"
|
290 |
+
msgstr "Twitter Client nicht authentifiziert"
|
291 |
+
|
292 |
+
#: Asset widget-title
|
293 |
+
msgid "Widget title"
|
294 |
+
msgstr "Titel"
|
295 |
+
|
296 |
+
#: Asset yesterday-at
|
297 |
+
msgid "Yesterday at "
|
298 |
+
msgstr "Gestern um"
|
lang/twitter-api-pt_BR.mo
CHANGED
Binary file
|
lang/twitter-api-pt_BR.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Twitter API Wordpress plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: Fri, 22 Feb 2013 17:50:38 +0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: Portuguese (Brazil)\n"
|
@@ -13,19 +13,49 @@ msgstr ""
|
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Generator: Loco http://localise.biz \n"
|
15 |
"X-Loco-Author: Tim Whitlock\n"
|
16 |
-
"X-Loco-Source-Locale: en_GB\n"
|
17 |
-
"X-Loco-Target-Locale: pt_BR\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
|
20 |
-
#: Asset
|
21 |
-
msgid "
|
22 |
-
msgstr "
|
23 |
|
24 |
-
#: Asset
|
25 |
-
msgid "
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
#: Asset hours-ago-singular
|
31 |
msgid "About an hour ago"
|
@@ -33,10 +63,6 @@ msgid_plural "About %u hours ago"
|
|
33 |
msgstr[0] "Cerca de uma hora atrás"
|
34 |
msgstr[1] "Cerca de %u horas atrás"
|
35 |
|
36 |
-
#: Asset yesterday-at
|
37 |
-
msgid "Yesterday at "
|
38 |
-
msgstr "Ontem às"
|
39 |
-
|
40 |
#: Asset http-status-100
|
41 |
msgid "Continue"
|
42 |
msgstr "Continuar"
|
@@ -201,98 +227,72 @@ msgstr ""
|
|
201 |
msgid "HTTP Version not supported"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: Asset
|
205 |
-
msgid "
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
#: Asset warning-no-apc
|
209 |
-
msgid "Cannot enable Twitter API cache without APC extension"
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: Asset warning-unauthed
|
213 |
-
msgid "Twitter client not authenticated"
|
214 |
-
msgstr ""
|
215 |
-
|
216 |
-
#: Asset error-twitter-invalid-param
|
217 |
-
msgid "Invalid Twitter parameter"
|
218 |
-
msgstr ""
|
219 |
-
|
220 |
-
#: Asset error-twitter-generic
|
221 |
-
msgid "Twitter error #%d"
|
222 |
-
msgstr ""
|
223 |
-
|
224 |
-
#: Asset error-twitter-malformed
|
225 |
-
msgid "Malformed response from Twitter"
|
226 |
-
msgstr ""
|
227 |
-
|
228 |
-
#: Asset error-wordpress-http
|
229 |
-
msgid "Wordpress HTTP request failure"
|
230 |
-
msgstr ""
|
231 |
-
|
232 |
-
#: Asset error-oauth-invalid-token
|
233 |
-
msgid "Invalid OAuth token"
|
234 |
-
msgstr ""
|
235 |
-
|
236 |
-
#: Asset error-oauth-empty-key
|
237 |
-
msgid "Key required even if secret is empty"
|
238 |
-
msgstr ""
|
239 |
-
|
240 |
-
#: Asset twitter-api-authentication-settings
|
241 |
-
msgid "Twitter API Authentication Settings"
|
242 |
-
msgstr ""
|
243 |
|
244 |
#: Asset label-details-available-in
|
245 |
msgid "These details are available in"
|
246 |
msgstr "Detalhes disponíveis em"
|
247 |
|
|
|
|
|
|
|
|
|
248 |
#: Asset label-your-twitter-dashboard
|
249 |
msgid "your Twitter dashboard"
|
250 |
msgstr "seu painel do Twitter"
|
251 |
|
252 |
-
#: Asset
|
253 |
-
msgid "
|
254 |
-
msgstr "
|
255 |
-
|
256 |
-
#: Asset admin-notice-unconfigured
|
257 |
-
msgid "Twitter application not fully configured"
|
258 |
-
msgstr "Aplicação do Twitter não totalmente configurada"
|
259 |
|
260 |
-
#: Asset
|
261 |
-
msgid "
|
262 |
-
|
|
|
|
|
263 |
|
264 |
-
#: Asset
|
265 |
-
msgid "
|
266 |
-
msgstr "
|
267 |
|
268 |
-
#: Asset
|
269 |
-
msgid "
|
270 |
-
msgstr "
|
271 |
|
272 |
#: Asset save-settings
|
273 |
msgid "Save settings"
|
274 |
msgstr "Salvar"
|
275 |
|
276 |
-
#: Asset
|
277 |
-
msgid "
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: Asset
|
281 |
-
msgid "
|
|
|
|
|
|
|
|
|
282 |
msgstr ""
|
283 |
|
284 |
#: Asset twitter-handle
|
285 |
msgid "Twitter handle"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: Asset
|
289 |
-
msgid "
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: Asset
|
293 |
-
msgid "
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: Asset
|
297 |
-
msgid "
|
298 |
msgstr ""
|
|
|
|
|
|
|
|
3 |
"Project-Id-Version: Twitter API Wordpress plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: Fri, 22 Feb 2013 17:50:38 +0000\n"
|
6 |
+
"PO-Revision-Date: Wed, 19 Jun 2013 15:17:13 +0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: Portuguese (Brazil)\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Generator: Loco http://localise.biz \n"
|
15 |
"X-Loco-Author: Tim Whitlock\n"
|
16 |
+
"X-Loco-Source-Locale: en_GB\n"
|
17 |
+
"X-Loco-Target-Locale: pt_BR\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
|
20 |
+
#: Asset admin-fatal-denied
|
21 |
+
msgid "You don't have permission to manage Twitter API settings"
|
22 |
+
msgstr "Você não tem permissão para gerenciar a API do Twitter"
|
23 |
|
24 |
+
#: Asset admin-notice-authenticated
|
25 |
+
msgid "Authenticated as @%s"
|
26 |
+
msgstr "Autenticado como @%s"
|
27 |
+
|
28 |
+
#: Asset admin-notice-unauthed
|
29 |
+
msgid "Plugin not yet authenticated with Twitter"
|
30 |
+
msgstr "Plugin ainda não autenticado com o Twitter"
|
31 |
+
|
32 |
+
#: Asset admin-notice-unconfigured
|
33 |
+
msgid "Twitter application not fully configured"
|
34 |
+
msgstr "Aplicação do Twitter não totalmente configurada"
|
35 |
+
|
36 |
+
#: Asset error-oauth-empty-key
|
37 |
+
msgid "Key required even if secret is empty"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: Asset error-oauth-invalid-token
|
41 |
+
msgid "Invalid OAuth token"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: Asset error-twitter-generic
|
45 |
+
msgid "Twitter error #%d"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: Asset error-twitter-invalid-param
|
49 |
+
msgid "Invalid Twitter parameter"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: Asset error-twitter-malformed
|
53 |
+
msgid "Malformed response from Twitter"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: Asset error-wordpress-http
|
57 |
+
msgid "Wordpress HTTP request failure"
|
58 |
+
msgstr ""
|
59 |
|
60 |
#: Asset hours-ago-singular
|
61 |
msgid "About an hour ago"
|
63 |
msgstr[0] "Cerca de uma hora atrás"
|
64 |
msgstr[1] "Cerca de %u horas atrás"
|
65 |
|
|
|
|
|
|
|
|
|
66 |
#: Asset http-status-100
|
67 |
msgid "Continue"
|
68 |
msgstr "Continuar"
|
227 |
msgid "HTTP Version not supported"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: Asset just-now
|
231 |
+
msgid "Just now"
|
232 |
+
msgstr "Agora mesmo"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
#: Asset label-details-available-in
|
235 |
msgid "These details are available in"
|
236 |
msgstr "Detalhes disponíveis em"
|
237 |
|
238 |
+
#: Asset label-twitter-api
|
239 |
+
msgid "Twitter API"
|
240 |
+
msgstr "API do Twitter"
|
241 |
+
|
242 |
#: Asset label-your-twitter-dashboard
|
243 |
msgid "your Twitter dashboard"
|
244 |
msgstr "seu painel do Twitter"
|
245 |
|
246 |
+
#: Asset latest-tweets
|
247 |
+
msgid "Latest Tweets"
|
248 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
249 |
|
250 |
+
#: Asset minutes-ago-singular
|
251 |
+
msgid "%u minute ago"
|
252 |
+
msgid_plural "%u minutes ago"
|
253 |
+
msgstr[0] "1 minuto atrás"
|
254 |
+
msgstr[1] "%u minutos atrás"
|
255 |
|
256 |
+
#: Asset notice-unconfigured
|
257 |
+
msgid "Twitter application is not fully configured"
|
258 |
+
msgstr ""
|
259 |
|
260 |
+
#: Asset number-of-tweets
|
261 |
+
msgid "Number of tweets"
|
262 |
+
msgstr ""
|
263 |
|
264 |
#: Asset save-settings
|
265 |
msgid "Save settings"
|
266 |
msgstr "Salvar"
|
267 |
|
268 |
+
#: Asset show-replies
|
269 |
+
msgid "Show Replies"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: Asset show-retweets
|
273 |
+
msgid "Show Retweets"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: Asset twitter-api-authentication-settings
|
277 |
+
msgid "Twitter API Authentication Settings"
|
278 |
msgstr ""
|
279 |
|
280 |
#: Asset twitter-handle
|
281 |
msgid "Twitter handle"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: Asset warning-no-apc
|
285 |
+
msgid "Cannot enable Twitter API cache without APC extension"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: Asset warning-unauthed
|
289 |
+
msgid "Twitter client not authenticated"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: Asset widget-title
|
293 |
+
msgid "Widget title"
|
294 |
msgstr ""
|
295 |
+
|
296 |
+
#: Asset yesterday-at
|
297 |
+
msgid "Yesterday at "
|
298 |
+
msgstr "Ontem às"
|
lang/twitter-api.pot
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Project-Id-Version: Twitter API Wordpress plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: Fri, 22 Feb 2013 17:50:38 +0000\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: English (UK)\n"
|
@@ -13,19 +13,48 @@ msgstr ""
|
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Generator: Loco http://localise.biz \n"
|
15 |
"X-Loco-Author: Tim Whitlock\n"
|
16 |
-
"X-Loco-Source-Locale: en_GB\n"
|
17 |
-
"X-Loco-Target-Locale: en_GB\n"
|
18 |
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
|
20 |
-
#: Asset
|
21 |
-
msgid "
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: Asset
|
25 |
-
msgid "
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
#: Asset hours-ago-singular
|
31 |
msgid "About an hour ago"
|
@@ -33,10 +62,6 @@ msgid_plural "About %u hours ago"
|
|
33 |
msgstr[0] ""
|
34 |
msgstr[1] ""
|
35 |
|
36 |
-
#: Asset yesterday-at
|
37 |
-
msgid "Yesterday at "
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
#: Asset http-status-100
|
41 |
msgid "Continue"
|
42 |
msgstr ""
|
@@ -201,98 +226,72 @@ msgstr ""
|
|
201 |
msgid "HTTP Version not supported"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: Asset
|
205 |
-
msgid "
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
#: Asset warning-no-apc
|
209 |
-
msgid "Cannot enable Twitter API cache without APC extension"
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: Asset warning-unauthed
|
213 |
-
msgid "Twitter client not authenticated"
|
214 |
-
msgstr ""
|
215 |
-
|
216 |
-
#: Asset error-twitter-invalid-param
|
217 |
-
msgid "Invalid Twitter parameter"
|
218 |
-
msgstr ""
|
219 |
-
|
220 |
-
#: Asset error-twitter-generic
|
221 |
-
msgid "Twitter error #%d"
|
222 |
-
msgstr ""
|
223 |
-
|
224 |
-
#: Asset error-twitter-malformed
|
225 |
-
msgid "Malformed response from Twitter"
|
226 |
-
msgstr ""
|
227 |
-
|
228 |
-
#: Asset error-wordpress-http
|
229 |
-
msgid "Wordpress HTTP request failure"
|
230 |
-
msgstr ""
|
231 |
-
|
232 |
-
#: Asset error-oauth-invalid-token
|
233 |
-
msgid "Invalid OAuth token"
|
234 |
-
msgstr ""
|
235 |
-
|
236 |
-
#: Asset error-oauth-empty-key
|
237 |
-
msgid "Key required even if secret is empty"
|
238 |
-
msgstr ""
|
239 |
-
|
240 |
-
#: Asset twitter-api-authentication-settings
|
241 |
-
msgid "Twitter API Authentication Settings"
|
242 |
msgstr ""
|
243 |
|
244 |
#: Asset label-details-available-in
|
245 |
msgid "These details are available in"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: Asset label-
|
249 |
-
msgid "
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: Asset
|
253 |
-
msgid "
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: Asset
|
257 |
-
msgid "
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: Asset
|
261 |
-
msgid "
|
262 |
-
|
|
|
|
|
263 |
|
264 |
-
#: Asset
|
265 |
-
msgid "
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: Asset
|
269 |
-
msgid "
|
270 |
msgstr ""
|
271 |
|
272 |
#: Asset save-settings
|
273 |
msgid "Save settings"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: Asset
|
277 |
-
msgid "
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: Asset
|
281 |
-
msgid "
|
|
|
|
|
|
|
|
|
282 |
msgstr ""
|
283 |
|
284 |
#: Asset twitter-handle
|
285 |
msgid "Twitter handle"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: Asset
|
289 |
-
msgid "
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: Asset
|
293 |
-
msgid "
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: Asset
|
297 |
-
msgid "
|
|
|
|
|
|
|
|
|
298 |
msgstr ""
|
3 |
"Project-Id-Version: Twitter API Wordpress plugin\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: Fri, 22 Feb 2013 17:50:38 +0000\n"
|
6 |
+
"PO-Revision-Date: Wed, 19 Jun 2013 15:17:13 +0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: English (UK)\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Generator: Loco http://localise.biz \n"
|
15 |
"X-Loco-Author: Tim Whitlock\n"
|
16 |
+
"X-Loco-Source-Locale: en_GB\n"
|
|
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
|
19 |
+
#: Asset admin-fatal-denied
|
20 |
+
msgid "You don't have permission to manage Twitter API settings"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: Asset admin-notice-authenticated
|
24 |
+
msgid "Authenticated as @%s"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: Asset admin-notice-unauthed
|
28 |
+
msgid "Plugin not yet authenticated with Twitter"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: Asset admin-notice-unconfigured
|
32 |
+
msgid "Twitter application not fully configured"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: Asset error-oauth-empty-key
|
36 |
+
msgid "Key required even if secret is empty"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: Asset error-oauth-invalid-token
|
40 |
+
msgid "Invalid OAuth token"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: Asset error-twitter-generic
|
44 |
+
msgid "Twitter error #%d"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: Asset error-twitter-invalid-param
|
48 |
+
msgid "Invalid Twitter parameter"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: Asset error-twitter-malformed
|
52 |
+
msgid "Malformed response from Twitter"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: Asset error-wordpress-http
|
56 |
+
msgid "Wordpress HTTP request failure"
|
57 |
+
msgstr ""
|
58 |
|
59 |
#: Asset hours-ago-singular
|
60 |
msgid "About an hour ago"
|
62 |
msgstr[0] ""
|
63 |
msgstr[1] ""
|
64 |
|
|
|
|
|
|
|
|
|
65 |
#: Asset http-status-100
|
66 |
msgid "Continue"
|
67 |
msgstr ""
|
226 |
msgid "HTTP Version not supported"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: Asset just-now
|
230 |
+
msgid "Just now"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
msgstr ""
|
232 |
|
233 |
#: Asset label-details-available-in
|
234 |
msgid "These details are available in"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: Asset label-twitter-api
|
238 |
+
msgid "Twitter API"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: Asset label-your-twitter-dashboard
|
242 |
+
msgid "your Twitter dashboard"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: Asset latest-tweets
|
246 |
+
msgid "Latest Tweets"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: Asset minutes-ago-singular
|
250 |
+
msgid "%u minute ago"
|
251 |
+
msgid_plural "%u minutes ago"
|
252 |
+
msgstr[0] ""
|
253 |
+
msgstr[1] ""
|
254 |
|
255 |
+
#: Asset notice-unconfigured
|
256 |
+
msgid "Twitter application is not fully configured"
|
257 |
msgstr ""
|
258 |
|
259 |
+
#: Asset number-of-tweets
|
260 |
+
msgid "Number of tweets"
|
261 |
msgstr ""
|
262 |
|
263 |
#: Asset save-settings
|
264 |
msgid "Save settings"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: Asset show-replies
|
268 |
+
msgid "Show Replies"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: Asset show-retweets
|
272 |
+
msgid "Show Retweets"
|
273 |
+
msgstr ""
|
274 |
+
|
275 |
+
#: Asset twitter-api-authentication-settings
|
276 |
+
msgid "Twitter API Authentication Settings"
|
277 |
msgstr ""
|
278 |
|
279 |
#: Asset twitter-handle
|
280 |
msgid "Twitter handle"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: Asset warning-no-apc
|
284 |
+
msgid "Cannot enable Twitter API cache without APC extension"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: Asset warning-unauthed
|
288 |
+
msgid "Twitter client not authenticated"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: Asset widget-title
|
292 |
+
msgid "Widget title"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: Asset yesterday-at
|
296 |
+
msgid "Yesterday at "
|
297 |
msgstr ""
|
lang/update.sh
CHANGED
@@ -1,21 +1,23 @@
|
|
1 |
#!/bin/bash
|
2 |
#
|
3 |
# Script pulls down latest translations from Loco system.
|
4 |
-
#
|
5 |
#
|
6 |
|
|
|
|
|
7 |
cd "`dirname $0`"
|
8 |
|
9 |
function loco {
|
10 |
if [ "enGB" = "$1$2" ]; then
|
11 |
-
wget "http://localise.biz/api/export/locale/$1-$2.po?key
|
12 |
else
|
13 |
-
wget "http://localise.biz/api/export/locale/$1-$2.po?key
|
14 |
msgfmt "twitter-api-$1_$2.po" -o "twitter-api-$1_$2.mo"
|
15 |
fi
|
16 |
}
|
17 |
|
18 |
loco en GB
|
19 |
loco pt BR
|
20 |
-
|
21 |
|
1 |
#!/bin/bash
|
2 |
#
|
3 |
# Script pulls down latest translations from Loco system.
|
4 |
+
# Note that the API key is reset between releases.
|
5 |
#
|
6 |
|
7 |
+
APIKEY="535225653ef7eb710e53c8e421e335e1";
|
8 |
+
|
9 |
cd "`dirname $0`"
|
10 |
|
11 |
function loco {
|
12 |
if [ "enGB" = "$1$2" ]; then
|
13 |
+
wget "http://localise.biz/api/export/locale/$1-$2.po?key=$APIKEY" -O "twitter-api.pot"
|
14 |
else
|
15 |
+
wget "http://localise.biz/api/export/locale/$1-$2.po?key=$APIKEY" -O "twitter-api-$1_$2.po"
|
16 |
msgfmt "twitter-api-$1_$2.po" -o "twitter-api-$1_$2.mo"
|
17 |
fi
|
18 |
}
|
19 |
|
20 |
loco en GB
|
21 |
loco pt BR
|
22 |
+
loco de DE
|
23 |
|
latest-tweets.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Latest Tweets
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/latest-tweets-widget/
|
5 |
Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
|
6 |
Author: Tim Whitlock
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://timwhitlock.info/
|
9 |
*/
|
10 |
|
@@ -25,7 +25,8 @@ function latest_tweets_render( $screen_name, $count, $rts, $ats ){
|
|
25 |
_twitter_api_init_l10n();
|
26 |
}
|
27 |
// We could cache the rendered HTML right here, but this keeps caching abstracted in library
|
28 |
-
|
|
|
29 |
// Build API params for "statuses/user_timeline" // https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
|
30 |
$trim_user = true;
|
31 |
$include_rts = ! empty($rts);
|
@@ -83,6 +84,10 @@ class Latest_Tweets_Widget extends WP_Widget {
|
|
83 |
|
84 |
/** @see WP_Widget::__construct */
|
85 |
public function __construct( $id_base = false, $name = 'Latest Tweets', $widget_options = array(), $control_options = array() ){
|
|
|
|
|
|
|
|
|
86 |
$this->options = array(
|
87 |
array (
|
88 |
'name' => 'title',
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/latest-tweets-widget/
|
5 |
Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
|
6 |
Author: Tim Whitlock
|
7 |
+
Version: 1.0.8
|
8 |
Author URI: http://timwhitlock.info/
|
9 |
*/
|
10 |
|
25 |
_twitter_api_init_l10n();
|
26 |
}
|
27 |
// We could cache the rendered HTML right here, but this keeps caching abstracted in library
|
28 |
+
$ttl = (int) apply_filters('latest_tweets_cache_seconds', 300 ) and
|
29 |
+
twitter_api_enable_cache( $ttl );
|
30 |
// Build API params for "statuses/user_timeline" // https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
|
31 |
$trim_user = true;
|
32 |
$include_rts = ! empty($rts);
|
84 |
|
85 |
/** @see WP_Widget::__construct */
|
86 |
public function __construct( $id_base = false, $name = 'Latest Tweets', $widget_options = array(), $control_options = array() ){
|
87 |
+
if( ! function_exists('_twitter_api_init_l10n') ){
|
88 |
+
require_once dirname(__FILE__).'/lib/twitter-api.php';
|
89 |
+
}
|
90 |
+
_twitter_api_init_l10n();
|
91 |
$this->options = array(
|
92 |
array (
|
93 |
'name' => 'title',
|
lib/twitter-api.php
CHANGED
@@ -147,6 +147,7 @@ if( is_admin() ){
|
|
147 |
function _twitter_api_init_l10n(){
|
148 |
static $map = array (
|
149 |
'pt_BR' => 'pt_BR',
|
|
|
150 |
);
|
151 |
if( preg_match('/^([a-z]{2})[\-_\s]([a-z]{2})$/i', get_locale(), $r ) ){
|
152 |
$locale = strtolower($r[1]).'_'.strtoupper($r[2]);
|
147 |
function _twitter_api_init_l10n(){
|
148 |
static $map = array (
|
149 |
'pt_BR' => 'pt_BR',
|
150 |
+
'de_DE' => 'de_DE',
|
151 |
);
|
152 |
if( preg_match('/^([a-z]{2})[\-_\s]([a-z]{2})$/i', get_locale(), $r ) ){
|
153 |
$locale = strtolower($r[1]).'_'.strtoupper($r[2]);
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://timwhitlock.info/donate-to-a-project/
|
|
4 |
Tags: twitter, tweets, oauth, api, rest, api, widget, sidebar
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -68,9 +68,17 @@ You can disable SSL verification of twitter.com by adding this to your theme fun
|
|
68 |
`add_filter('https_ssl_verify', '__return_false');`
|
69 |
Do so at your own risk.
|
70 |
|
|
|
|
|
|
|
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
|
|
74 |
= 1.0.7 =
|
75 |
* Allow library coexist across plugins
|
76 |
|
@@ -166,6 +174,27 @@ Here's an **example** of using some of the above in your theme's functions.php f
|
|
166 |
return '<footer><a href="https://twitter.com/me">More from me</a></footer>';
|
167 |
}, 10, 0 );
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
== Credits ==
|
171 |
|
4 |
Tags: twitter, tweets, oauth, api, rest, api, widget, sidebar
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.0.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
68 |
`add_filter('https_ssl_verify', '__return_false');`
|
69 |
Do so at your own risk.
|
70 |
|
71 |
+
== Screenshots ==
|
72 |
+
|
73 |
+
1. Widget screen shows feed options
|
74 |
+
2. Admin screen shows Twitter connect button and OAuth settings
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 1.0.8 =
|
79 |
+
* Added `latest_tweets_cache_seconds` filter
|
80 |
+
* Added German translations
|
81 |
+
|
82 |
= 1.0.7 =
|
83 |
* Allow library coexist across plugins
|
84 |
|
174 |
return '<footer><a href="https://twitter.com/me">More from me</a></footer>';
|
175 |
}, 10, 0 );
|
176 |
|
177 |
+
== Caching ==
|
178 |
+
|
179 |
+
Responses from the Twitter API are cached for 5 minutes by default. This means your new Tweets will not appear on your site in real time.
|
180 |
+
|
181 |
+
This is deliberate not only for performance, but also to avoid Twitter's strict rate limits of 15 requests every 15 minutes.
|
182 |
+
|
183 |
+
You can override the 300 second cache by using the `latest_tweets_cache_seconds` filter in your theme as follows:
|
184 |
+
|
185 |
+
This would extend the cache to 1 minute, which is the lowest value you should consider using on a live site:
|
186 |
+
|
187 |
+
add_filter('latest_tweets_cache_seconds', function( $ttl ){
|
188 |
+
return 60;
|
189 |
+
}, 10, 1 );
|
190 |
+
|
191 |
+
This would disable the cache (not recommended other than for debugging):
|
192 |
+
|
193 |
+
add_filter('latest_tweets_cache_seconds', function( $ttl ){
|
194 |
+
return 0;
|
195 |
+
}, 10, 1 );
|
196 |
+
|
197 |
+
|
198 |
|
199 |
== Credits ==
|
200 |
|