WP to Twitter - Version 2.9.0

Version Description

  • Revamp roles and capabilities management
  • Add filter: wpt_max_tweet_length; returns array with max Tweet lengths. Default array( 'with_media'=>119, 'without_media' => 137 );
  • Bug fix: When a Tweet was truncated due to long raw text, truncation would be 5 chars too aggressive.
  • Changed base capability from 'update_core' to 'manage_options' for multi-site admins
  • Post to Twitter function returns false on all errors, rather than just Twitter errors.
  • Removed upgrade cycles for versions more than 2 1/2 years old.
  • Add "Tweet Now" button to send a Tweet without saving post.
  • Add Tweet Scheduler button for WP Tweets PRO users; set time and date and schedule from post without saving.
  • Language update: Italian
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 WP to Twitter
Version 2.9.0
Comparing to
See all releases

Code changes from version 2.8.9 to 2.9.0

css/post-styles.css CHANGED
@@ -27,6 +27,7 @@
27
  #side-sortables .free .wptab { min-height: 9em; }
28
  #notes p { font-size: 1.3em; line-height: 1.5; }
29
  #side-sortables .free #notes p { font-size: 1em; }
 
30
 
31
  .wpt-support { clear: both; }
32
  .wpt-options .tabs { margin: 0; padding: 0 2px; position: relative; top: 3px; }
@@ -34,7 +35,12 @@
34
  .wpt-options .tabs a { display: inline-block; padding: 4px; border-radius: 4px 4px 0 0; border: 1px solid #ccc; background: #f3f3f3; }
35
  .wpt-options .tabs a.active { border-bottom: 1px solid #fefefe; background: #fefefe; }
36
 
37
- .toggle-btn-group { margin: 0 auto; content: ""; display: table; clear: both; }
 
 
 
 
 
38
 
39
  .toggle-btn-group label {
40
  padding: .25em;
@@ -49,7 +55,9 @@
49
 
50
  .toggle-btn-group input[type="radio"]:checked+label {
51
  background-color: #ddd;
52
- border: #000 1px solid;
 
 
53
  }
54
 
55
  .toggle-btn-group label:hover,
27
  #side-sortables .free .wptab { min-height: 9em; }
28
  #notes p { font-size: 1.3em; line-height: 1.5; }
29
  #side-sortables .free #notes p { font-size: 1em; }
30
+ button.time div { vertical-align: text-bottom; }
31
 
32
  .wpt-support { clear: both; }
33
  .wpt-options .tabs { margin: 0; padding: 0 2px; position: relative; top: 3px; }
35
  .wpt-options .tabs a { display: inline-block; padding: 4px; border-radius: 4px 4px 0 0; border: 1px solid #ccc; background: #f3f3f3; }
36
  .wpt-options .tabs a.active { border-bottom: 1px solid #fefefe; background: #fefefe; }
37
 
38
+ .wpt_log, #jts { padding: .5em; }
39
+ #jts { background: #f6f6f6; color: #333; }
40
+
41
+ .tweet-buttons { padding: .75em 12px; margin: -10px -12px 10px; background: #f6f6f6; }
42
+
43
+ .toggle-btn-group { margin: .25em auto .5em; content: ""; display: table; clear: both; }
44
 
45
  .toggle-btn-group label {
46
  padding: .25em;
55
 
56
  .toggle-btn-group input[type="radio"]:checked+label {
57
  background-color: #ddd;
58
+ border: #666 1px solid;
59
+ text-decoration: underline;
60
+ cursor: text;
61
  }
62
 
63
  .toggle-btn-group label:hover,
js/ajax.js ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function ($) {
2
+ $(function() {
3
+ $( '.wpt_log, #jts' ).hide();
4
+ $( 'button.time' ).on( "click", function(e) {
5
+ e.preventDefault();
6
+ if ( $( '#jts' ).is( ":visible" ) ) {
7
+ $( '#jts' ).hide( 250 );
8
+ $( 'button.schedule' ).attr( 'disabled', 'disabled' );
9
+ } else {
10
+ $( '#jts' ).show( 250 );
11
+ $( '#wpt_date').focus();
12
+ $( 'button.schedule' ).removeAttr( 'disabled' );
13
+ }
14
+ }
15
+ );
16
+ $( 'button.tweet' ).on( 'click', function(e) {
17
+ e.preventDefault();
18
+ var text = $( '#jtw' ).val();
19
+ var date = $( '#jts .date' ).val();
20
+ var time = $( '#jts .time' ).val();
21
+ var tweet_action = ( $(this).attr( 'data-action' ) === 'tweet' ) ? 'tweet' : 'schedule'
22
+ var data = {
23
+ 'action': wpt_data.action,
24
+ 'tweet_post_id': wpt_data.post_ID,
25
+ 'tweet_text': text,
26
+ 'tweet_schedule': date + ' ' + time,
27
+ 'tweet_action': tweet_action,
28
+ };
29
+ $.post( ajaxurl, data, function( response ) {
30
+ $( '.wpt_log' ).text( response ).show( 500 );
31
+ });
32
+ });
33
+ });
34
+ }(jQuery));
js/tabs.js CHANGED
@@ -11,5 +11,18 @@ jQuery(document).ready(function($){
11
  $('.wpt-settings .wptab').not(target).hide();
12
  $(target).show();
13
  });
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  });
11
  $('.wpt-settings .wptab').not(target).hide();
12
  $(target).show();
13
  });
14
+ };
15
+ var permissions = $('.wpt-permissions .wptab').length;
16
+ $('.wpt-permissions .tabs a[href="#'+firstPerm+'"]').addClass('active');
17
+ if ( permissions > 1 ) {
18
+ $('.wpt-permissions .wptab').not('#'+firstPerm).hide();
19
+ $('.wpt-permissions .tabs a').on('click',function(e) {
20
+ e.preventDefault();
21
+ $('.wpt-permissions .tabs a').removeClass('active');
22
+ $(this).addClass('active');
23
+ var target = $(this).attr('href');
24
+ $('.wpt-permissions .wptab').not(target).hide();
25
+ $(target).show();
26
+ });
27
+ };
28
  });
lang/wp-to-twitter-it_IT.mo CHANGED
Binary file
lang/wp-to-twitter-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the WP to Twitter package.
3
  msgid ""
4
  msgstr ""
5
- "PO-Revision-Date: 2013-08-07 15:26:04+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
@@ -10,602 +10,674 @@ msgstr ""
10
  "X-Generator: GlotPress/0.1\n"
11
  "Project-Id-Version: WP to Twitter\n"
12
 
13
- #: wp-to-twitter-oauth.php:224
14
- msgid "Your application name cannot include the word \"Twitter.\""
15
- msgstr "Il nome della tua applicazione non può contenere \"Twitter\"."
 
 
 
 
 
 
 
 
16
 
17
- #: wp-to-twitter-oauth.php:229
18
- msgid "<em>Do NOT create your access token yet.</em>"
19
- msgstr "<em>NON creare ancora il tuo token di accesso.</em>"
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  #: wp-to-twitter-oauth.php:233
22
- msgid "Return to the Details tab and create your access token."
23
- msgstr "Vai alla scheda Dettagli e crea il tuo token di accesso."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
- #: wp-to-twitter.php:326
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  msgid "304 Not Modified: There was no new data to return"
27
  msgstr "304 Non Modificato: nessun nuovo dato da restituire"
28
 
29
- #: wp-to-twitter.php:345
30
  msgid "422 Unprocessable Entity: The image uploaded could not be processed.."
31
  msgstr "422 Entità Non Processabile: l'immagine inviata non può essere analizzata."
32
 
33
- #: wp-to-twitter.php:1076
34
- msgid "WP Tweets PRO 1.5.2 allows you to select Twitter accounts. <a href=\"%s\">Log in and download now!</a>"
35
- msgstr "WP Tweets PRO 1.5.2 ti consente di selezionare i tuoi account Twitter. <a href=\"%s\">Accedi e scarica ora!</a>"
36
-
37
- #: wp-to-twitter.php:1078
38
  msgid "Upgrade to WP Tweets PRO to select Twitter accounts! <a href=\"%s\">Upgrade now!</a>"
39
  msgstr "Aggiorna a WP Tweets PRO per selezionare i tuoi account Twitter! <a href=\"%s\">Aggiorna ora!</a>"
40
 
41
- #: wp-to-twitter.php:1109
42
  msgid "Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 characters. Template Tags: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, or <code>#blog#</code>."
43
  msgstr "I tweet devono contenere al massimo 140 caratteri; Twitter conteggia le URL come 22 o 23 caratteri. Tag: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, oppure <code>#blog#</code>."
44
 
45
- #: wp-to-twitter.php:1499
46
- msgid "Tweet Status"
47
- msgstr "Stato del tweet"
48
-
49
- #: wpt-feed.php:149
50
  msgid "Twitter returned an invalid response. It is probably down."
51
  msgstr "Twitter ha restituito una risposta non valida. Probabilmente è fuori servizio."
52
 
53
- #: wpt-widget.php:50
54
  msgid "Display a list of your latest tweets."
55
  msgstr "Mostra una lista dei tuoi ultimi tweet."
56
 
57
- #: wpt-widget.php:59
58
  msgid "WP to Twitter - Latest Tweets"
59
  msgstr "WP to Twitter - Ultimi tweet"
60
 
61
- #: wpt-widget.php:121
62
  msgid "<a href=\"%3$s\">about %1$s ago</a> via %2$s"
63
  msgstr "<a href=\"%3$s\">circa %1$s fa</a> attraverso %2$s"
64
 
65
- #: wpt-widget.php:123
66
  msgid "<a href=\"%2$s\">about %1$s ago</a>"
67
  msgstr "<a href=\"%2$s\">circa %1$s fa</a>"
68
 
69
- #: wpt-widget.php:179
70
  msgid "Title"
71
  msgstr "Titolo"
72
 
73
- #: wpt-widget.php:184
74
  msgid "Twitter Username"
75
  msgstr "Nome utente di Twitter"
76
 
77
- #: wpt-widget.php:189
78
  msgid "Number of Tweets to Show"
79
  msgstr "Numero di tweet da visualizzare"
80
 
81
- #: wpt-widget.php:195
82
  msgid "Hide @ Replies"
83
  msgstr "Nascondi risposte @"
84
 
85
- #: wpt-widget.php:200
86
  msgid "Include Retweets"
87
  msgstr "Includi i retweet"
88
 
89
- #: wpt-widget.php:205
90
  msgid "Parse links"
91
  msgstr "Analizza link"
92
 
93
- #: wpt-widget.php:210
94
  msgid "Parse @mentions"
95
  msgstr "Analizza @mentions"
96
 
97
- #: wpt-widget.php:215
98
  msgid "Parse #hashtags"
99
  msgstr "Analizza #hashtags"
100
 
101
- #: wpt-widget.php:220
102
  msgid "Include Reply/Retweet/Favorite Links"
103
  msgstr "Includi Risposte/Retweet/Link preferiti"
104
 
105
- #: wpt-widget.php:225
106
  msgid "Include Tweet source"
107
  msgstr "Includi sorgente tweet"
108
 
109
- #: wp-to-twitter-manager.php:178
110
  msgid "Error:"
111
  msgstr "Errore:"
112
 
113
- #: wp-to-twitter-manager.php:643
114
  msgid "No Analytics"
115
  msgstr "Nessun Analytics"
116
 
117
- #: wp-to-twitter-manager.php:792
118
- msgid "Allow users to post to their own Twitter accounts"
119
- msgstr "Consenti agli utenti di postare nei rispetti account Twitter"
120
-
121
- #: wp-to-twitter-manager.php:793
122
- msgid "Set a timer to send your Tweet minutes or hours after you publish"
123
- msgstr "Imposta una temporizzazione per inviare i tuoi tweet minuti o ore dopo la pubblicazione"
124
-
125
- #: wp-to-twitter-manager.php:794
126
- msgid "Automatically re-send Tweets after publishing"
127
- msgstr "Re-invia automaticamente i tweet dopo la pubblicazione"
128
-
129
- #: wp-to-twitter-manager.php:795
130
  msgid "Send Tweets for approved comments"
131
  msgstr "Invia tweet per i commenti approvati"
132
 
133
- #: wp-to-twitter.php:64
134
  msgid "The current version of WP Tweets PRO is <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Upgrade for best compatibility!</a>"
135
  msgstr "La versione attuale di WP Tweets PRO è <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Aggiorna per avere la migliore compatibilità!</a>"
136
 
137
- #: wp-to-twitter.php:86
138
  msgid "Tweeting of comments has been moved to <a href=\"%1$s\">WP Tweets PRO</a>. You will need to upgrade in order to Tweet comments. <a href=\"%2$s\">Dismiss</a>"
139
  msgstr "Il tweet dei commenti è ora disponibile solo per <a href=\"%1$s\">WP Tweets PRO</a>. Devi effettuare l'aggiornamento per tweettare i commenti. <a href=\"%2$s\">Rinuncia</a>"
140
 
141
- #: wp-to-twitter.php:1010
142
  msgid "Tweeting %s edits is disabled."
143
  msgstr "Il tweet delle modifiche al %s è disabilitato,"
144
 
145
- #: wp-to-twitter.php:1454
146
  msgid "I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with WordPress! <a href='%s'>Dismiss</a>"
147
  msgstr "Spero che <strong>WP to Twitter</strong> ti sia piaciuto! Dai un'occhiata a <a href='%s'>upgrading to WP Tweets PRO</a> per tweettare in modo avanzato con WordPress! <a href='%s'>Rinuncia</a>"
148
 
149
  msgid "Posts a Tweet when you update your WordPress blog or post to your blogroll, using your URL shortening service. Rich in features for customizing and promoting your Tweets."
150
  msgstr "Invia un Tweet quando aggiorni il tuo blog WordPress o pubblichi sul tuo blogroll, usando il tuo servizio di accorciamento URL. Ricco di funzionalità per la personalizzazione e promozione dei tuoi tweet."
151
 
152
- #: wp-to-twitter-shorteners.php:378
153
  msgid "Your jotURL account details"
154
  msgstr "Dati del tuo account jotURL"
155
 
156
- #: wp-to-twitter-shorteners.php:382
157
  msgid "Your jotURL public <abbr title='application programming interface'>API</abbr> key:"
158
  msgstr "La tua chiave pubblica per le <abbr title='application programming interface'>API</abbr> di jotURL:"
159
 
160
- #: wp-to-twitter-shorteners.php:383
161
  msgid "Your jotURL private <abbr title='application programming interface'>API</abbr> key:"
162
  msgstr "La tua chiave privata per le <abbr title='application programming interface'>API</abbr> di jotURL:"
163
 
164
- #: wp-to-twitter-shorteners.php:384
165
  msgid "Parameters to add to the long URL (before shortening):"
166
  msgstr "Parametri da aggiungere alla URL lunga (prima di accorciarla):"
167
 
168
- #: wp-to-twitter-shorteners.php:384
169
  msgid "Parameters to add to the short URL (after shortening):"
170
  msgstr "Parametri da aggiungere alla URL breve (dopo averla accorciata):"
171
 
172
- #: wp-to-twitter-shorteners.php:385
173
  msgid "View your jotURL public and private API key"
174
  msgstr "Visualizza la tua chiave pubblica e privata per le API di jotURL"
175
 
176
- #: wp-to-twitter-shorteners.php:388
177
  msgid "Save jotURL settings"
178
  msgstr "Salva le impostazioni per jotURL"
179
 
180
- #: wp-to-twitter-shorteners.php:388
181
  msgid "Clear jotURL settings"
182
  msgstr "Cancella le impostazioni di jotURL"
183
 
184
- #: wp-to-twitter-shorteners.php:389
185
  msgid "A jotURL public and private API key is required to shorten URLs via the jotURL API and WP to Twitter."
186
  msgstr "Una chiave pubblica e privata per le API di jotURL è richiesta per accorciare le URL tramite le API di jotURL e WP to Twitter."
187
 
188
- #: wp-to-twitter-shorteners.php:484
189
  msgid "jotURL private API Key Updated. "
190
  msgstr "La tua chiave privata per le API di jotURL è stata aggiornata."
191
 
192
- #: wp-to-twitter-shorteners.php:487
193
  msgid "jotURL private API Key deleted. You cannot use the jotURL API without a private API key. "
194
  msgstr "Chiave privata per le API di jotURL cancellata. Non puoi usare le API di jotURL senza una chiave privata."
195
 
196
- #: wp-to-twitter-shorteners.php:489
197
  msgid "jotURL private API Key not added - <a href='https://www.joturl.com/reserved/api.html'>get one here</a>! A private API key is required to use the jotURL URL shortening service. "
198
  msgstr "Chiave privata per le API di jotURL non aggiunta - <a href='https://www.joturl.com/reserved/api.html'>recuperane una qua</a>! Una chiave privata è richiesta per usare il servizio di accorciamento URL di jotURL."
199
 
200
- #: wp-to-twitter-shorteners.php:493
201
  msgid "jotURL public API Key Updated. "
202
  msgstr "Chiave pubblica per le API di jotURL aggiornata."
203
 
204
- #: wp-to-twitter-shorteners.php:496
205
  msgid "jotURL public API Key deleted. You cannot use the jotURL API without providing your public API Key. "
206
  msgstr "Chiave pubblica per le API di jotURL cancellata. Non puoi usare le API di jotURL senza fornire la tua chiave pubblica per le API."
207
 
208
- #: wp-to-twitter-shorteners.php:498
209
  msgid "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/api.html'>get one here</a>! "
210
  msgstr "Chiave pubblica per le API di jorURL non aggiunta - <a href='https://www.joturl.com/reserved/api.html'>recuperane una qua</a>! "
211
 
212
- #: wp-to-twitter-shorteners.php:504
213
  msgid "Long URL parameters added. "
214
  msgstr "Parametri aggiunti per l'URL lungo."
215
 
216
- #: wp-to-twitter-shorteners.php:507
217
  msgid "Long URL parameters deleted. "
218
  msgstr "Parametri cancellati per l'URL lungo."
219
 
220
- #: wp-to-twitter-shorteners.php:513
221
  msgid "Short URL parameters added. "
222
  msgstr "Parametri aggiunti per l'URL breve."
223
 
224
- #: wp-to-twitter-shorteners.php:516
225
  msgid "Short URL parameters deleted. "
226
  msgstr "Parametri cancellati per l'URL breve."
227
 
228
- #: wp-to-twitter-shorteners.php:530
229
  msgid "You must add your jotURL public and private API key in order to shorten URLs with jotURL."
230
  msgstr "Devi aggiungere la tua chiave pubblica e privata per le API di jotURL per accorciare le URL tramite il servizio di jotURL."
231
 
232
- #: wp-to-twitter-manager.php:530
233
  msgid "Tags"
234
  msgstr "Tag"
235
 
236
- #: wp-to-twitter-manager.php:546
237
  msgid "Template Tag Settings"
238
  msgstr "Impostazioni Template Tag"
239
 
240
- #: wp-to-twitter-manager.php:548
241
  msgid "Extracted from the post. If you use the 'Excerpt' field, it will be used instead."
242
  msgstr "Estratto dall'articolo. Sarà utilizzato in alternativa se si utilizza il campo 'Riassunto'."
243
 
244
- #: wp-to-twitter-manager.php:591
245
  msgid "Template tag priority order"
246
  msgstr "Ordine di priorità dei Template Tag"
247
 
248
- #: wp-to-twitter-manager.php:592
249
  msgid "The order in which items will be abbreviated or removed from your Tweet if the Tweet is too long to send to Twitter."
250
  msgstr "L'ordine in cui gli elementi saranno abbreviati o rimossi dal tuo Tweet se quest'ultimo è troppo lungo per essere inviata a Twitter."
251
 
252
- #: wp-to-twitter-manager.php:647
253
  msgid "Author Settings"
254
  msgstr "Impostazioni autore"
255
 
256
- #: wp-to-twitter-manager.php:652
257
  msgid "Authors can add their username in their user profile. With the free edition of WP to Twitter, it adds an @reference to the author. The @reference is placed using the <code>#account#</code> shortcode, which will pick up the main account if the user account isn't configured."
258
  msgstr "Gli autori possono indicare il loro nome utente nel proprio profilo. La versione free di WP to Twitter aggiunge un @reference all'autore. @reference può essere inserito con lo shortcode <code>#account#</code> che preleverà il nome dell'account principale se l'account utente non è configurato."
259
 
260
- #: wp-to-twitter-manager.php:656
261
  msgid "Permissions"
262
  msgstr "Permessi"
263
 
264
- #: wp-to-twitter-manager.php:691
265
  msgid "Error Messages and Debugging"
266
  msgstr "Messaggi di errore e di Debug"
267
 
268
- #: wp-to-twitter-manager.php:812
269
  msgid "<code>#cat_desc#</code>: custom value from the category description field"
270
  msgstr "<code>#cat_desc#</code>: valore personalizzato per il campo di descrizione della categoria"
271
 
272
- #: wp-to-twitter-manager.php:819
273
  msgid "<code>#@#</code>: the twitter @reference for the author or blank, if not set"
274
  msgstr "<code>#@#</code>: @reference di Twitter per l'autore o vuoto se non settato"
275
 
276
- #: wp-to-twitter-oauth.php:184
277
- msgid "Connection Problems? Try <a href='#wpt_http'>switching to <code>http</code> queries</a>."
278
- msgstr "Problemi di connessione? Prova ad usare <a href='#wpt_http'>il protocollo <code>http</code></a>."
279
-
280
- #: wp-to-twitter-oauth.php:280
281
  msgid "<strong>Troubleshooting tip:</strong> Connected, but getting a error that your Authentication credentials are missing or incorrect? Check that your Access token has read and write permission. If not, you'll need to create a new token. <a href=\"http://www.joedolson.com/articles/wp-to-twitter/support-2/#q1\">Read the FAQ</a>"
282
  msgstr "<strong>Suggerimento per la risoluzione dei problemi:</strong> Sei connesso ma ricevi un messaggio di errore che dice che le tue credenziali di accesso sono mancanti o incorrette? Controlla che il token di accesso abbia permessi di lettura/scrittura. Se non è così devi creare un nuovo token. <a href=\"http://www.joedolson.com/articles/wp-to-twitter/support-2/#q1\">Leggi le FAQ</a>"
283
 
284
- #: wp-to-twitter-oauth.php:306 wp-to-twitter-oauth.php:312
285
  msgid "Twitter's server time: "
286
  msgstr "Ora del server di Twitter"
287
 
288
- #: wp-to-twitter.php:73
289
- msgid "WP to Twitter requires WordPress 3.1.4 or a more recent version <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Please update WordPress to continue using WP to Twitter with all features!</a>"
290
- msgstr "WP to Twitter richiede WordPress 3.1.4 o una versione più recente <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Aggiorna WordPress per usare tutte le funzionalità di WP to Twitter!</a>"
291
-
292
- #: wp-to-twitter.php:336
293
- msgid "403 Forbidden: The request is understood, but it has been refused by Twitter. Reasons: Too many Tweets in a short time or the same Tweet was submitted twice, among others. Not an error from WP to Twitter."
294
- msgstr "403 Proibito: La richiesta è corretta ma è stata rifiutata da Twitter. Motivazioni: troppi Twewt in un breve lasso di tempo o il medesimo Tweet è stato inviato 2 volte. Questo non è un errore del plugin WP to Twitter."
295
-
296
- #: wp-to-twitter.php:1377
297
  msgid "Upgrade"
298
  msgstr "Passa alla versione PRO"
299
 
300
- #: wp-to-twitter-manager.php:535
301
  msgid "Use tag slug as hashtag value"
302
  msgstr "Usa il tag slug come valore hashtag"
303
 
304
- #: wp-to-twitter-manager.php:177
305
- msgid "WP to Twitter failed to connect with Twitter. Try <a href=\"#wpt_http\">switching to an HTTP connection</a>."
306
- msgstr "WP to Twitter ha fallito nel connettersi a Twitter. Prova <a href=\"#wpt_http\">a passare ad una connessione di tipo HTTP</a>."
307
-
308
- #: wp-to-twitter-shorteners.php:548
309
  msgid "Choose a short URL service (account settings below)"
310
  msgstr "Scegli un servizio di accorciamento delle URL (impostazioni dell'account di seguito)"
311
 
312
- #: wp-to-twitter-shorteners.php:554
313
  msgid "YOURLS (on this server)"
314
  msgstr "YOURLS (su questo server)"
315
 
316
- #: wp-to-twitter-shorteners.php:555
317
  msgid "YOURLS (on a remote server)"
318
  msgstr "YOURLS (sul server remoto)"
319
 
320
- #: wpt-functions.php:264
321
  msgid "Thank you for supporting the continuing development of this plug-in! I'll get back to you as soon as I can. Please ensure that you can receive email at <code>%s</code>."
322
  msgstr "Grazie per supportare il proseguimento dello sviluppo di questo plug-in! Mi farò vivo appena possibile. Per favore, assicurati che tu possa ricevere le email a <code>%s</code>."
323
 
324
- #: wpt-functions.php:266
325
  msgid "Thanks for using WP to Twitter. Please ensure that you can receive email at <code>%s</code>."
326
  msgstr "Grazie per l'uso di WP to Twitter. Per favore assicurati di poter ricevere email a <code>%s</code>."
327
 
328
- #: wpt-functions.php:285
329
  msgid "Reply to:"
330
  msgstr "Rispondi a:"
331
 
332
- #: wp-to-twitter-manager.php:672
333
  msgid "The lowest user group that can add their Twitter information"
334
  msgstr "Il gruppo di livello più basso che può aggiungere le proprie informazioni di Twitter"
335
 
336
- #: wp-to-twitter-manager.php:677
337
  msgid "The lowest user group that can see the Custom Tweet options when posting"
338
  msgstr "Il gruppo di livello più basso che può vedere l'opzione Tweet personalizzato quando scrive un articolo"
339
 
340
- #: wp-to-twitter-manager.php:682
341
  msgid "The lowest user group that can toggle the Tweet/Don't Tweet option"
342
  msgstr "Il gruppo di livello più basso che può attivare o disattivare l'opzione Inviare/Non inviare Tweet"
343
 
344
- #: wp-to-twitter-manager.php:687
345
  msgid "The lowest user group that can send Twitter updates"
346
  msgstr "Il gruppo di livello più basso che può inviare aggiornamenti su Twitter"
347
 
348
- #: wp-to-twitter-manager.php:816
349
  msgid "<code>#author#</code>: the post author (@reference if available, otherwise display name)"
350
  msgstr "<code>#author#</code>: l'autore dell'articolo (@account se disponibile, il nome da visualizzare altrimenti)"
351
 
352
- #: wp-to-twitter-manager.php:817
353
  msgid "<code>#displayname#</code>: post author's display name"
354
  msgstr "<code>#displayname#</code>: Il nome da visualizzare per l'autore dell'articolo"
355
 
356
- #: wp-to-twitter.php:291
357
  msgid "This tweet was blank and could not be sent to Twitter."
358
  msgstr "Questo tweet è vuoto e non può essere inviato a Twitter."
359
 
360
- #: wp-to-twitter.php:339
361
  msgid "404 Not Found: The URI requested is invalid or the resource requested does not exist."
362
  msgstr "404 Not Found: L'URI richiesto non è valido o la risorsa richiesta non esiste."
363
 
364
- #: wp-to-twitter.php:342
365
  msgid "406 Not Acceptable: Invalid Format Specified."
366
  msgstr "406 Not Acceptable: Il formato specificato non è valido."
367
 
368
- #: wp-to-twitter.php:348
369
  msgid "429 Too Many Requests: You have exceeded your rate limits."
370
  msgstr "429 Too Many Requests: Hai raggiunto la tua quota limite."
371
 
372
- #: wp-to-twitter.php:360
373
  msgid "504 Gateway Timeout: The Twitter servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later."
374
  msgstr "504 Gateway Timeout: I server di Twitter funzionano ma la richiesta non è stata soddisfatta a causa di qualche errore. Per favore, riprova in seguito."
375
 
376
- #: wp-to-twitter.php:1028
377
  msgid "Your prepended Tweet text; not part of your template."
378
  msgstr "Testo inserito all'inizio dei tuoi Tweet (non fa parte dei tuo modello)."
379
 
380
- #: wp-to-twitter.php:1031
381
  msgid "Your appended Tweet text; not part of your template."
382
  msgstr "Testo inserito alla fine dei tuoi Tweet (non fa parte dei tuo modello)."
383
 
384
- #: wp-to-twitter.php:1130
385
  msgid "Your role does not have the ability to Post Tweets from this site."
386
  msgstr "Il tuo ruolo non permette di inviare Tweet da questo sito."
387
 
388
- #: wp-to-twitter.php:1275
389
  msgid "Hide account name in Tweets"
390
  msgstr "Nascondi il nome dell'account nei Tweet"
391
 
392
- #: wp-to-twitter.php:1276
393
  msgid "Do not display my account in the #account# template tag."
394
  msgstr "Non visualizzare il mio account nel template #account#."
395
 
396
- #: wpt-functions.php:288
397
  msgid "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</span>"
398
  msgstr "Io ho letto <a href=\"%1$s\">le FAQ di questo plug-in</a> <span>(obbligatorio)</span>"
399
 
400
- #: wpt-functions.php:291
401
  msgid "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
402
  msgstr "Io ho <a href=\"%1$s\"> fatto una donazione per supportare questo plugin</a>"
403
 
404
- #: wpt-functions.php:294
405
  msgid "Support Request:"
406
  msgstr "Richiesta di supporto:"
407
 
408
- #: wp-to-twitter-manager.php:485
409
- msgid "Settings for type \"%1$s\""
410
- msgstr "Impostazioni per il tipo \"%1$s\""
411
-
412
- #: wp-to-twitter-manager.php:488
413
  msgid "Update when %1$s %2$s is published"
414
  msgstr "Aggiorna quando %1$s %2$s è pubblicato"
415
 
416
- #: wp-to-twitter-manager.php:488
417
- msgid "Text for new %1$s updates"
418
- msgstr "Testo per nuovo %1$s aggiornato"
419
-
420
- #: wp-to-twitter-manager.php:492
421
  msgid "Update when %1$s %2$s is edited"
422
  msgstr "Aggiorna quando %1$s %2$s è modificato"
423
 
424
- #: wp-to-twitter-manager.php:492
425
- msgid "Text for %1$s editing updates"
426
- msgstr "Testo per %1$s aggiornato"
427
-
428
- #: wp-to-twitter-oauth.php:217
429
  msgid "Your server timezone (should be UTC,GMT,Europe/London or equivalent):"
430
  msgstr "Il fuso orario del tuo server (dovrebbe essere UTC,GMT,Europe/London o equivalente):"
431
 
432
- #: wp-to-twitter-shorteners.php:558
433
  msgid "Use Twitter Friendly Links."
434
  msgstr "Utilizza Link in formato gradito a Twitter."
435
 
436
- #: wp-to-twitter-shorteners.php:332
437
  msgid "View your Bit.ly username and API key"
438
  msgstr "Visualizza il tuo username di Bit.ly e la API key"
439
 
440
- #: wp-to-twitter-shorteners.php:394
441
  msgid "Your shortener does not require any account settings."
442
  msgstr "Il tuo accorciatore di URL non richiede alcuna impostazione."
443
 
444
- #: wp-to-twitter.php:317
445
  msgid "Your Twitter application does not have read and write permissions. Go to <a href=\"%s\">your Twitter apps</a> to modify these settings."
446
  msgstr "La tua applicazione Twitter non ha i permessi di lettura e scrittura. Vai alle <a href=\"%s\">tue applicazioni Twitter</a> per modificare queste impostazioni."
447
 
448
- #: wp-to-twitter.php:1152
449
  msgid "Failed Tweets"
450
  msgstr "Tweet falliti"
451
 
452
- #: wp-to-twitter.php:1167
453
  msgid "No failed tweets on this post."
454
  msgstr "Non ci sono tweet falliti in questo articolo."
455
 
456
- #: wp-to-twitter-manager.php:789
457
- msgid "Upgrade to <strong>WP Tweets PRO</strong> for more options!"
458
- msgstr "Aggiorna a <strong>WP Tweets PRO</strong> per avere più opzioni!"
459
-
460
- #: wp-to-twitter-manager.php:822
461
  msgid "<code>#reference#</code>: Used only in co-tweeting. @reference to main account when posted to author account, @reference to author account in post to main account."
462
  msgstr "<code>#reference#</code>: Usato solo nel co-tweeting. @riferisce all'account principale quando è inviato all'account dell'autore, @riferisce all'account dell'autore per i post all'account principale."
463
 
464
- #: wp-to-twitter-oauth.php:284
465
  msgid "WP to Twitter could not contact Twitter's remote server. Here is the error triggered: "
466
  msgstr "WP to Twitter non è riuscito a contattare i server di Twitter. Questo è l'errore ottenuto:"
467
 
468
- #: wp-to-twitter.php:276
469
  msgid "This account is not authorized to post to Twitter."
470
  msgstr "Questo account non è autorizzato per inviare messaggi su Twitter."
471
 
472
- #: wp-to-twitter.php:285
473
  msgid "This tweet is identical to another Tweet recently sent to this account."
474
  msgstr "Questo tweet è identico ad un altro tweet recentemente inviato a questo account."
475
 
476
- #: wp-to-twitter-shorteners.php:298
477
  msgid "(optional)"
478
  msgstr "(facoltativo)"
479
 
480
- #: wp-to-twitter-manager.php:603
481
  msgid "Do not post Tweets by default (editing only)"
482
  msgstr "Di default non inviare i Tweet (solo modifica)"
483
 
484
- #: wp-to-twitter-manager.php:814
485
  msgid "<code>#modified#</code>: the post modified date"
486
  msgstr "<code>#modified#</code>: la data di modifica del post"
487
 
488
- #: wp-to-twitter-oauth.php:282
489
  msgid "Your time stamps are more than 5 minutes apart. Your server could lose its connection with Twitter."
490
  msgstr "Il tuo orario ha più di 5 minuti di differenza con Twitter e pertanto il tuo server potrebbe perdere la connessione con i loro."
491
 
492
- #: wp-to-twitter-manager.php:650
493
  msgid "Authors have individual Twitter accounts"
494
  msgstr "Gli autori hanno degli account personali su Twitter"
495
 
496
- #: wp-to-twitter-manager.php:693
497
- msgid "Disable global URL shortener error messages."
498
- msgstr "Disattiva i messaggi di errore globali generati accorciando la URL."
499
-
500
- #: wp-to-twitter-manager.php:694
501
- msgid "Disable global Twitter API error messages."
502
- msgstr "Disattiva i messaggi di errore globali API Twitter."
503
-
504
- #: wp-to-twitter-manager.php:696
505
  msgid "Get Debugging Data for OAuth Connection"
506
  msgstr "Ottieni i dati di Debugging per la connessione OAuth"
507
 
508
- #: wp-to-twitter-manager.php:698
509
- msgid "Switch to <code>http</code> connection. (Default is https)"
510
- msgstr "Passa alla connessione <code>http</code>. (Quella di default è https)"
511
-
512
- #: wp-to-twitter-manager.php:700
513
  msgid "I made a donation, so stop whinging at me, please."
514
  msgstr "Ho effettuato una donazione."
515
 
516
- #: wp-to-twitter-manager.php:714
517
- msgid "Limit Updating Categories"
518
- msgstr "Limite aggiornamento categorie"
519
-
520
- #: wp-to-twitter-manager.php:717
521
- msgid "If no categories are checked, limiting by category will be ignored, and all categories will be Tweeted."
522
- msgstr "Se non ci sono categorie selezionate il blocco di alcune sarà ignorato e tutte le categorie verranno prese in considerazione per i Tweet."
523
-
524
- #: wp-to-twitter-manager.php:718
525
- msgid "<em>Category limits are disabled.</em>"
526
- msgstr "<em>Le limitazioni alle categorie non sono attive.</em>"
527
-
528
- #: wp-to-twitter-manager.php:727
529
  msgid "Get Plug-in Support"
530
  msgstr "Ottieni supporto per il plugin"
531
 
532
- #: wp-to-twitter-manager.php:738
533
  msgid "Check Support"
534
  msgstr "Verifica assistenza"
535
 
536
- #: wp-to-twitter-manager.php:738
537
  msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
538
  msgstr "Utilizzare nel caso in cui il tuo server supporti le query di <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter</a> per Twitter e per le API di accorciamento URL. Questo test invierà a Twitter un aggiornamento dello stato e accorcerà la URL utilizzando il metodo da te selezionato."
539
 
540
- #: wp-to-twitter-manager.php:756
541
  msgid "Support WP to Twitter"
542
  msgstr "Supporta WP to Twitter"
543
 
544
- #: wp-to-twitter-manager.php:758
545
  msgid "WP to Twitter Support"
546
  msgstr "Assistenza WP to Twitter"
547
 
548
- #: wp-to-twitter-manager.php:766 wp-to-twitter.php:1119 wp-to-twitter.php:1121
549
  msgid "Get Support"
550
  msgstr "Ottieni assistenza"
551
 
552
- #: wp-to-twitter-manager.php:769
553
- msgid "<a href=\"http://www.joedolson.com/donate.php\">Make a donation today!</a> Every donation counts - donate $2, $10, or $100 and help me keep this plug-in running!"
554
- msgstr "<a href=\"http://www.joedolson.com/donate.php\">Fai una donazione oggi!</a> Ogni donazione conta - dona $2, $10, o $100 e aiutami a mantenere attivo questo plug-in!"
555
-
556
- #: wp-to-twitter-manager.php:787
557
  msgid "Upgrade Now!"
558
  msgstr "Aggiorna ora!"
559
 
560
- #: wp-to-twitter-manager.php:790
561
- msgid "Extra features with the PRO upgrade:"
562
- msgstr "Funzionalità extra che avrai con WP Tweets PRO:"
563
-
564
- #: wp-to-twitter-manager.php:804
565
  msgid "Shortcodes"
566
  msgstr "Codici brevi"
567
 
568
- #: wp-to-twitter-manager.php:806
569
  msgid "Available in post update templates:"
570
  msgstr "Disponibili nei template di aggiornamento del post:"
571
 
572
- #: wp-to-twitter-manager.php:808
573
  msgid "<code>#title#</code>: the title of your blog post"
574
  msgstr "<code>#title#</code>: il titolo del tuo post"
575
 
576
- #: wp-to-twitter-manager.php:809
577
  msgid "<code>#blog#</code>: the title of your blog"
578
  msgstr "<code>#blog#</code>: il titolo del tuo blog"
579
 
580
- #: wp-to-twitter-manager.php:810
581
  msgid "<code>#post#</code>: a short excerpt of the post content"
582
  msgstr "<code>#post#</code>: un breve riassunto dei contenuti del post"
583
 
584
- #: wp-to-twitter-manager.php:811
585
  msgid "<code>#category#</code>: the first selected category for the post"
586
  msgstr "<code>#category#</code>: la prima categoria selezionata per il post"
587
 
588
- #: wp-to-twitter-manager.php:813
589
  msgid "<code>#date#</code>: the post date"
590
  msgstr "<code>#date#</code>: la data del post"
591
 
592
- #: wp-to-twitter-manager.php:815
593
  msgid "<code>#url#</code>: the post URL"
594
  msgstr "<code>#url#</code>: l'URL del post"
595
 
596
- #: wp-to-twitter-manager.php:818
597
  msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
598
  msgstr "<code>#account#</code>: il riferimento Twitter @ per l'account (o per l'autore, previa attivazione ed impostazione.)"
599
 
600
- #: wp-to-twitter-manager.php:820
601
  msgid "<code>#tags#</code>: your tags modified into hashtags. See options in the Advanced Settings section, below."
602
  msgstr "<code>#tags#</code>: i tuoi tag modificati in hashtag. Vedi le opzioni nelle Impostazioni Avanzate più in basso."
603
 
604
- #: wp-to-twitter-manager.php:825
605
  msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
606
  msgstr "Hai la possibilità di potere creare degli shortcode personalizzati grazie ai campi personalizzati di WordPress. Utilizza le doppie parentesi quadre per avvolgere il nome del tuo campo personalizzato per aggiungere il valore di quel dato campo al tuo stato di aggiornamento. Esempio: <code>[[custom_field]]</code></p>"
607
 
608
- #: wp-to-twitter-oauth.php:115
609
  msgid "WP to Twitter was unable to establish a connection to Twitter."
610
  msgstr "WP to Twitter non è riuscito a stabilire una connessione con Twitter."
611
 
@@ -613,244 +685,204 @@ msgstr "WP to Twitter non è riuscito a stabilire una connessione con Twitter."
613
  msgid "There was an error querying Twitter's servers"
614
  msgstr "C'è stato un errore nell'interrogare i server di Twitter"
615
 
616
- #: wp-to-twitter-oauth.php:209 wp-to-twitter-oauth.php:211
617
  msgid "Connect to Twitter"
618
  msgstr "Collegati a Twitter"
619
 
620
- #: wp-to-twitter-oauth.php:214
621
  msgid "WP to Twitter Set-up"
622
  msgstr "Impostazioni WP to Twitter"
623
 
624
- #: wp-to-twitter-oauth.php:215 wp-to-twitter-oauth.php:306
625
- #: wp-to-twitter-oauth.php:311
626
  msgid "Your server time:"
627
  msgstr "Ora del tuo server:"
628
 
629
- #: wp-to-twitter-oauth.php:215
630
  msgid "Twitter's time:"
631
  msgstr "Orario di Twitter:"
632
 
633
- #: wp-to-twitter-oauth.php:215
634
  msgid "If these timestamps are not within 5 minutes of each other, your server will not connect to Twitter."
635
  msgstr "Se questi orari non sono distanti al più 5 minuti l'uno dall'altro, il tuo server non sarà in grado di connettersi a Twitter."
636
 
637
- #: wp-to-twitter-oauth.php:221
638
  msgid "1. Register this site as an application on "
639
  msgstr "1. Registra questo sito come una applicazione sulla "
640
 
641
- #: wp-to-twitter-oauth.php:221
642
  msgid "Twitter's application registration page"
643
  msgstr "pagina di registrazione applicazione Twitter"
644
 
645
- #: wp-to-twitter-oauth.php:223
646
  msgid "If you're not currently logged in to Twitter, log-in to the account you want associated with this site"
647
  msgstr "Se non sei ancora loggato in Twitter, effettua il login nell'account che vuoi associare al sito"
648
 
649
- #: wp-to-twitter-oauth.php:225
650
  msgid "Your Application Description can be anything."
651
  msgstr "La descrizione dell'applicazione (Application Description) può essere qualsiasi cosa."
652
 
653
- #: wp-to-twitter-oauth.php:226
654
  msgid "The WebSite and Callback URL should be "
655
  msgstr "Il sito web ed il Callback URL dovrebbere essere "
656
 
657
- #: wp-to-twitter-oauth.php:228
658
  msgid "Agree to the Developer Rules of the Road and continue."
659
  msgstr "Acconsenti a Developer Rules of the Road e prosegui."
660
 
661
- #: wp-to-twitter-oauth.php:229
662
- msgid "2. Switch to the \"Settings\" tab in Twitter apps"
663
- msgstr "2. Passa alla scheda \"Impostazioni\" (\"Settings\") nelle app di Twitter"
664
-
665
- #: wp-to-twitter-oauth.php:231
666
  msgid "Select \"Read and Write\" for the Application Type"
667
  msgstr "Seleziona \"Read and Write\" per il tipo di applicazione"
668
 
669
- #: wp-to-twitter-oauth.php:232
670
  msgid "Update the application settings"
671
  msgstr "Aggiorna impostazioni applicazione"
672
 
673
- #: wp-to-twitter-oauth.php:235
674
- msgid "Once you have registered your site as an application, you will be provided with four keys."
675
- msgstr "Una volta registrato il tuo sito come applicazione, ti saranno fornite quattro chiavi."
676
-
677
- #: wp-to-twitter-oauth.php:236
678
- msgid "3. Copy and paste your consumer key and consumer secret into the fields below"
679
- msgstr "3. Copia ed incolla nei campi qui sotto la tua consumer key ed il consumer secret"
680
-
681
- #: wp-to-twitter-oauth.php:239
682
- msgid "Twitter Consumer Key"
683
- msgstr "Twitter Consumer Key"
684
-
685
- #: wp-to-twitter-oauth.php:243
686
- msgid "Twitter Consumer Secret"
687
- msgstr "Twitter Consumer Secret"
688
-
689
- #: wp-to-twitter-oauth.php:247
690
  msgid "4. Copy and paste your Access Token and Access Token Secret into the fields below"
691
  msgstr "4. Copia ed incolla nei campi qui sotto il tuo token di accesso e secret"
692
 
693
- #: wp-to-twitter-oauth.php:248
694
  msgid "If the Access level for your Access Token is not \"<em>Read and write</em>\", you must return to step 2 and generate a new Access Token."
695
  msgstr "Se il livello di accesso per il tuo token di accesso non è \"<em>Lettura e Scrittura</em>\", devi ritornare al passo 2 e generare un nuovo token di accesso."
696
 
697
- #: wp-to-twitter-oauth.php:251
698
  msgid "Access Token"
699
  msgstr "Token d'accesso"
700
 
701
- #: wp-to-twitter-oauth.php:255
702
  msgid "Access Token Secret"
703
- msgstr "Token d'accesso - Secret"
704
 
705
- #: wp-to-twitter-oauth.php:274
706
  msgid "Disconnect Your WordPress and Twitter Account"
707
  msgstr "Scollega il tuo account WordPress e Twitter"
708
 
709
- #: wp-to-twitter-oauth.php:278
710
  msgid "Disconnect your WordPress and Twitter Account"
711
  msgstr "Disconnetti il tuo account WordPress e Twitter"
712
 
713
- #: wp-to-twitter-oauth.php:288
714
  msgid "Disconnect from Twitter"
715
  msgstr "Disconnettiti da Twitter"
716
 
717
- #: wp-to-twitter-oauth.php:294
718
  msgid "Twitter Username "
719
  msgstr "Nome utente Twitter"
720
 
721
- #: wp-to-twitter-oauth.php:295
722
  msgid "Consumer Key "
723
  msgstr "Consumer Key "
724
 
725
- #: wp-to-twitter-oauth.php:296
726
  msgid "Consumer Secret "
727
  msgstr "Consumer Secret "
728
 
729
- #: wp-to-twitter-oauth.php:297
730
  msgid "Access Token "
731
  msgstr "Token d'accesso"
732
 
733
- #: wp-to-twitter-oauth.php:298
734
  msgid "Access Token Secret "
735
- msgstr "Token d'accesso - Secret"
736
-
737
- #: wp-to-twitter.php:43
738
- msgid "WP to Twitter requires PHP version 5 or above. Please upgrade PHP to run WP to Twitter."
739
- msgstr "WP to Twitter richiede una versione pari a o maggiore di PHP 5. Per favore aggiorna la tua versione di PHP per poter utilizzare WP to Twitter."
740
 
741
  #: wp-to-twitter-oauth.php:200
742
  msgid "Twitter requires authentication by OAuth. You will need to <a href='%s'>update your settings</a> to complete installation of WP to Twitter."
743
  msgstr "Twitter necessita una autentificazione via OAuth. Aggiorna le tue <a href='%s'>impostazioni</a> per completare l'installazione di WP to Twitter."
744
 
745
- #: wp-to-twitter.php:322
746
  msgid "200 OK: Success!"
747
  msgstr "200 OK: Successo!"
748
 
749
- #: wp-to-twitter.php:329
750
  msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
751
  msgstr "400 Bad Request: La richiesta non é valida. L'utilizzo di questo codice é relativo al limite delle chiamate."
752
 
753
- #: wp-to-twitter.php:332
754
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
755
  msgstr "401 Unauthorized: quando mancano oppure sono inesatte le credenziali per l'autentificazione."
756
 
757
- #: wp-to-twitter.php:351
758
  msgid "500 Internal Server Error: Something is broken at Twitter."
759
  msgstr "500 Internal Server Error: problemi interni a Twitter."
760
 
761
- #: wp-to-twitter.php:357
762
  msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests - Please try again later."
763
  msgstr "503 Service Unavailable: i server di Twitter funzionano, ma sono sommersi di richieste. Prova più tardi."
764
 
765
- #: wp-to-twitter.php:354
766
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
767
  msgstr "502 Bad Gateway: Twitter é down oppure sotto aggiornamento."
768
 
769
- #: wp-to-twitter.php:397
770
  msgid "No Twitter OAuth connection found."
771
  msgstr "Non è stata trovata la connessione a Twitter OAuth."
772
 
773
- #: wp-to-twitter.php:1138
774
  msgid "Previous Tweets"
775
  msgstr "Tweet precedenti"
776
 
777
- #: wp-to-twitter.php:1023
778
  msgid "Custom Twitter Post"
779
  msgstr "Messaggio personalizzato Twitter"
780
 
781
- #: wp-to-twitter.php:1034
782
  msgid "Your template:"
783
  msgstr "Il tuo template:"
784
 
785
- #: wp-to-twitter.php:1038
786
  msgid "YOURLS Custom Keyword"
787
  msgstr "YOURLS - Custom Keyword"
788
 
789
- #: wp-to-twitter.php:1119
790
  msgid "Upgrade to WP Tweets Pro"
791
  msgstr "Aggiorna a WP Tweets Pro"
792
 
793
- #: wp-to-twitter.php:1049
794
  msgid "Don't Tweet this post."
795
  msgstr "Non segnalare a Twitter questo articolo."
796
 
797
- #: wp-to-twitter.php:1049
798
  msgid "Tweet this post."
799
  msgstr "Segnala a Twitter questo articolo."
800
 
801
- #: wp-to-twitter.php:1097
802
  msgid "Access to customizing WP to Twitter values is not allowed for your user role."
803
  msgstr "L'accesso alla personalizzazione dei valori per WP to Twitter non è permessa ad utenti col tuo ruolo."
804
 
805
- #: wp-to-twitter.php:1196
806
  msgid "Characters left: "
807
  msgstr "Caratteri mancanti:"
808
 
809
- #: wp-to-twitter.php:1261
810
  msgid "WP Tweets User Settings"
811
  msgstr "Impostazioni utente di WP Tweets"
812
 
813
- #: wp-to-twitter.php:1265
814
  msgid "Use My Twitter Username"
815
  msgstr "Utilizza il mio nome utente Twitter"
816
 
817
- #: wp-to-twitter.php:1266
818
  msgid "Tweet my posts with an @ reference to my username."
819
  msgstr "Segnala i miei articoli con un riferimento @ correlato al mio nome utente."
820
 
821
- #: wp-to-twitter.php:1267
822
  msgid "Tweet my posts with an @ reference to both my username and to the main site username."
823
  msgstr "Segnala i miei articoli con un riferimento @ correlato tanto al mio nome utente per il sito principale quanto al mio nome utente."
824
 
825
- #: wp-to-twitter.php:1271
826
  msgid "Your Twitter Username"
827
  msgstr "Nome utente Twitter"
828
 
829
- #: wp-to-twitter.php:1272
830
  msgid "Enter your own Twitter username."
831
  msgstr "Inserisci il tuo nome utente Twitter"
832
 
833
- #: wp-to-twitter.php:1329
834
- msgid "Check off categories to tweet"
835
- msgstr "Togli la spunta alle categorie per le quali inviare i tweet"
836
-
837
- #: wp-to-twitter.php:1333
838
- msgid "Do not tweet posts in checked categories (Reverses default behavior)"
839
- msgstr "Non inviare i tweet per le categorie selezionate (Inverte il comportamento di default)"
840
-
841
- #: wp-to-twitter.php:1350
842
- msgid "Limits are exclusive. If a post is in one category which should be posted and one category that should not, it will not be posted."
843
- msgstr "I limiti sono esclusivi. Se un post è in una categoria che dovrebbe essere inviata ed una che non lo dovrebbe, il Tweet non verrà inviato."
844
-
845
- #: wp-to-twitter.php:1353
846
- msgid "Set Categories"
847
- msgstr "Imposta le categorie"
848
-
849
- #: wp-to-twitter.php:1376
850
  msgid "Settings"
851
  msgstr "Impostazioni"
852
 
853
- #: wp-to-twitter.php:1414
854
  msgid "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href=\"%1$s\">changelog</a> before upgrading."
855
  msgstr "<br /><strong>Nota:</strong> Leggi il <a class=\"thickbox\" href=\"%1$s\">changelog</a> prima di aggiornare."
856
 
@@ -866,438 +898,394 @@ msgstr "Joseph Dolson"
866
  msgid "http://www.joedolson.com/"
867
  msgstr "http://www.joedolson.com/"
868
 
869
- #: wpt-functions.php:258
870
  msgid "Please read the FAQ and other Help documents before making a support request."
871
  msgstr "Leggi le FAQ e le documentazioni di aiuto prima di inviare una richiesta di supporto."
872
 
873
- #: wpt-functions.php:260
874
  msgid "Please describe your problem. I'm not psychic."
875
  msgstr "Descrivi il tuo problema. Grazie."
876
 
877
- #: wpt-functions.php:280
878
  msgid "<strong>Please note</strong>: I do keep records of those who have donated, but if your donation came from somebody other than your account at this web site, you must note this in your message."
879
  msgstr "<strong>Nota</strong>: sebbene conservi un elenco dei donatori e la tua donazione provenisse da un nome differente da quello indicato nel tuo account, ti invito a indicarlo nel tuo messaggio."
880
 
881
- #: wpt-functions.php:297
882
  msgid "Send Support Request"
883
  msgstr "Invia richiesta supporto"
884
 
885
- #: wpt-functions.php:300
886
  msgid "The following additional information will be sent with your support request:"
887
  msgstr "Le seguenti informazioni saranno inviate insieme alla tua richiesta:"
888
 
889
- #: wp-to-twitter-manager.php:41
890
- msgid "No error information is available for your shortener."
891
- msgstr "Nessuna informazione di errore disponibile per il servizio di accorciamento URL da te scelto."
892
-
893
- #: wp-to-twitter-manager.php:43
894
  msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
895
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di contattare il servizio per gli URL brevi da te selezionato.</strong></li>"
896
 
897
- #: wp-to-twitter-manager.php:46
898
  msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
899
  msgstr "<li><strong>WP to Twitter ha contattato con successo il servizio per gli URL brevi da te selezionato.</strong> Il seguente link dovrebbe puntare alla homepage del tuo blog:"
900
 
901
- #: wp-to-twitter-manager.php:54
902
  msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
903
  msgstr "<li><strong>WP to Twitter ha inviato con successo l'aggiornamento dello stato a Twitter.</strong></li>"
904
 
905
- #: wp-to-twitter-manager.php:57
906
  msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
907
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di inviare l'aggiornamento a Twitter.</strong></li>"
908
 
909
- #: wp-to-twitter-manager.php:61
910
  msgid "You have not connected WordPress to Twitter."
911
  msgstr "Non hai connesso WordPress a Twitter."
912
 
913
- #: wp-to-twitter-manager.php:65
914
  msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
915
  msgstr "<li class=\"error\"><strong>Pare che il tuo server non supporti le funzioni richieste affinché WP to Twitter possa funzionare correttamente.</strong> Puoi comunque provare ugualmente - queste verifiche non sono perfette - garantisco i risultati.</li>"
916
 
917
- #: wp-to-twitter-manager.php:69
918
  msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
919
  msgstr "<li><strong>WP to Twitter funziona correttamente per il tuo server.</strong></li>"
920
 
921
- #: wp-to-twitter-manager.php:87
922
- msgid "WP to Twitter Errors Cleared"
923
- msgstr "Gli errori WP to Twitter sono stati azzerati"
924
-
925
- #: wp-to-twitter-manager.php:170
926
  msgid "WP to Twitter is now connected with Twitter."
927
  msgstr "WP to Twitter é ora connesso a Twitter."
928
 
929
- #: wp-to-twitter-manager.php:185
930
  msgid "OAuth Authentication Data Cleared."
931
  msgstr "I dati della autentificazione OAuth sono stati svuotati."
932
 
933
- #: wp-to-twitter-manager.php:192
934
  msgid "OAuth Authentication Failed. Your server time is not in sync with the Twitter servers. Talk to your hosting service to see what can be done."
935
  msgstr "Autentificazione OAuth fallita. L'ora del tuo sever non é sicronizzata con i server di Twitter. Comunica il problema al tuo fornitore di hosting."
936
 
937
- #: wp-to-twitter-manager.php:199
938
  msgid "OAuth Authentication response not understood."
939
  msgstr "Risposta Autentificazione OAuth non valida."
940
 
941
- #: wp-to-twitter-manager.php:376
942
  msgid "WP to Twitter Advanced Options Updated"
943
  msgstr "Le opzioni avanzate di WP to Twitter sono state aggiornate"
944
 
945
- #: wp-to-twitter-shorteners.php:526
946
  msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
947
  msgstr "E' necessario che tu inserisca i dati per il login e la chiave API di Bit.ly in modo da potere accorciare le URL con Bit.ly."
948
 
949
- #: wp-to-twitter-shorteners.php:534
950
  msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
951
  msgstr "E' necessario che tu inserisca il tuo URL remoto a YOURLS, il login e la password in modo da potere accorciare le URL attraverso la tua installazione remota di YOURLS."
952
 
953
- #: wp-to-twitter-shorteners.php:538
954
  msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
955
  msgstr "E' necessario che tu inserisca il percorso al server del tuo YOURLS in modo da potere accorciare le URL attraverso la tua installazione remota di YOURLS."
956
 
957
- #: wp-to-twitter-manager.php:394
958
  msgid "WP to Twitter Options Updated"
959
  msgstr "Le opzioni di WP to Twitter sono state aggiornate"
960
 
961
- #: wp-to-twitter-manager.php:403
962
- msgid "Category limits updated."
963
- msgstr "I limiti per la categoria sono stati aggiornati."
964
-
965
- #: wp-to-twitter-manager.php:407
966
- msgid "Category limits unset."
967
- msgstr "Le limitazioni alle categorie non sono state impostate."
968
-
969
- #: wp-to-twitter-shorteners.php:406
970
  msgid "YOURLS password updated. "
971
  msgstr "La password di YOURLS é stata aggiornata."
972
 
973
- #: wp-to-twitter-shorteners.php:409
974
  msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
975
  msgstr "La tua password di YOURLS é stata cancellata. Non potrai utilizzare il tuo account remoto YOURLS per la creazione di URL brevi."
976
 
977
- #: wp-to-twitter-shorteners.php:411
978
  msgid "Failed to save your YOURLS password! "
979
  msgstr "Non é stato possibile salvare la tua password di YOURLS!"
980
 
981
- #: wp-to-twitter-shorteners.php:415
982
  msgid "YOURLS username added. "
983
  msgstr "Il nome utente YOURLS é stato aggiunto."
984
 
985
- #: wp-to-twitter-shorteners.php:419
986
  msgid "YOURLS API url added. "
987
  msgstr "L'url alla API YOURLS é stato aggiunto. "
988
 
989
- #: wp-to-twitter-shorteners.php:422
990
  msgid "YOURLS API url removed. "
991
  msgstr "L'url alla API YOURLS é stato rimosso. "
992
 
993
- #: wp-to-twitter-shorteners.php:427
994
  msgid "YOURLS local server path added. "
995
  msgstr "Il percorso al server locale di YOURLS é stato aggiunto. "
996
 
997
- #: wp-to-twitter-shorteners.php:429
998
  msgid "The path to your YOURLS installation is not correct. "
999
  msgstr "Il percorso alla tua installazione di YOURLS non é corretto. "
1000
 
1001
- #: wp-to-twitter-shorteners.php:433
1002
  msgid "YOURLS local server path removed. "
1003
  msgstr "Il percorso al server locale di YOURLS é stato rimosso. "
1004
 
1005
- #: wp-to-twitter-shorteners.php:438
1006
  msgid "YOURLS will use Post ID for short URL slug."
1007
  msgstr "YOURLS utilizzerà Post ID per lo slug degli URL brevi."
1008
 
1009
- #: wp-to-twitter-shorteners.php:440
1010
  msgid "YOURLS will use your custom keyword for short URL slug."
1011
  msgstr "YOURLS utilizzerà la tua keyword personalizzata per lo slug degli URL brevi."
1012
 
1013
- #: wp-to-twitter-shorteners.php:444
1014
  msgid "YOURLS will not use Post ID for the short URL slug."
1015
  msgstr "YOURLS non utilizzerà Post ID per lo slug degli URL brevi."
1016
 
1017
- #: wp-to-twitter-shorteners.php:452
1018
  msgid "Su.pr API Key and Username Updated"
1019
  msgstr "La chiave API ed il nome utente di Su.pr sono stati aggiornati"
1020
 
1021
- #: wp-to-twitter-shorteners.php:456
1022
  msgid "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. "
1023
  msgstr "La chiave API ed il nome utente di Su.pr sono stati cancellati. Gli URL di Su.pr creati da WP to Twitter non saranno più associati al tuo account. "
1024
 
1025
- #: wp-to-twitter-shorteners.php:458
1026
  msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
1027
  msgstr "Non é stata inserita la chiave API di Su.pr - <a href='http://su.pr/'>vai qui</a>! "
1028
 
1029
- #: wp-to-twitter-shorteners.php:464
1030
  msgid "Bit.ly API Key Updated."
1031
  msgstr "La chiave API di Bit.ly é stata aggiornata."
1032
 
1033
- #: wp-to-twitter-shorteners.php:467
1034
  msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
1035
  msgstr "La chiave API di Bit.ly é stata cancellata. Non puoi utilizzare la API di Bit.ly senza la chiave API. "
1036
 
1037
- #: wp-to-twitter-shorteners.php:469
1038
  msgid "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</a>! An API key is required to use the Bit.ly URL shortening service."
1039
  msgstr "La chiave API di Bit.ly non é stata aggiunta - <a href='http://bit.ly/account/'>vai qui</a>! E' necessaria una chiave API affinché il servizio di URL brevi Bit.ly di possa funzionare."
1040
 
1041
- #: wp-to-twitter-shorteners.php:473
1042
  msgid " Bit.ly User Login Updated."
1043
  msgstr " Il login utente per Bit.ly é stato aggiornato."
1044
 
1045
- #: wp-to-twitter-shorteners.php:476
1046
  msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
1047
  msgstr "Sono stati cancellati i dati per il login utente Bit.ly. Non puoi utilizzare la API di Bit.ly senza fornire il tuo nome utente. "
1048
 
1049
- #: wp-to-twitter-shorteners.php:478
1050
  msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
1051
  msgstr "Non sono stati inseriti i dati per il login a Bit.ly - <a href='http://bit.ly/account/'>vai qui</a>! "
1052
 
1053
- #: wp-to-twitter-manager.php:427
1054
  msgid "<p>One or more of your last posts has failed to send a status update to Twitter. The Tweet has been saved, and you can re-Tweet it at your leisure.</p>"
1055
  msgstr "<p>Uno o più dei tuoi ultimi post ha fallito nell'inviare la richiesta di aggiornamento di stato a Twitter. Il Tweet comunque è stato salvato e puoi inviarlo nuovamente quando ti è più comodo.</p>"
1056
 
1057
- #: wp-to-twitter-manager.php:433
1058
- msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
1059
- msgstr "Non é stato possibile contattare i server di Twitter per comunicare il tuo <strong>nuovo link</strong>. Prova a compiere manualmente l'operazione."
1060
-
1061
- #: wp-to-twitter-manager.php:436
1062
  msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues.</p>"
1063
  msgstr "<p>La richiesta alle API per il servizio di accorciamento delle URL è fallita e quindi la tua URL non è stata accorciata. La URL lunga è stata usata per il tuo Tweet. Contatta il tuo servizio di accorciamento URL per verificare se ci sono problemi.</p>"
1064
 
1065
- #: wp-to-twitter-manager.php:442
1066
  msgid "Clear 'WP to Twitter' Error Messages"
1067
  msgstr "Svuota i messaggiodi errore 'WP to Twitter'"
1068
 
1069
- #: wp-to-twitter-manager.php:448
1070
  msgid "WP to Twitter Options"
1071
  msgstr "Opzioni WP to Twitter"
1072
 
1073
- #: wp-to-twitter-manager.php:461
1074
- msgid "Basic Settings"
1075
- msgstr "Impostazioni di base"
1076
-
1077
- #: wp-to-twitter-manager.php:467 wp-to-twitter-manager.php:511
1078
- msgid "Save WP->Twitter Options"
1079
- msgstr "Salva le opzioni WP->Twitter"
1080
-
1081
- #: wp-to-twitter-manager.php:500
1082
- msgid "Settings for Links"
1083
- msgstr "Impostazioni link"
1084
-
1085
- #: wp-to-twitter-manager.php:503
1086
  msgid "Update Twitter when you post a Blogroll link"
1087
  msgstr "Aggiorna Twitter quando viene aggiunto un nuovo link al blogroll"
1088
 
1089
- #: wp-to-twitter-manager.php:504
1090
  msgid "Text for new link updates:"
1091
  msgstr "Testo per gli aggiornamenti di un nuovo link:"
1092
 
1093
- #: wp-to-twitter-manager.php:504
1094
  msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
1095
  msgstr "Shortcode disponibili: <code>#url#</code>, <code>#title#</code> e <code>#description#</code>."
1096
 
1097
- #: wp-to-twitter-shorteners.php:550
1098
  msgid "Don't shorten URLs."
1099
  msgstr "Non usare gli URL brevi"
1100
 
1101
- #: wp-to-twitter-shorteners.php:294
1102
  msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
1103
  msgstr "Impostazione account per il servizio di accorciamento di <abbr title=\"Uniform Resource Locator\">URL</abbr>"
1104
 
1105
- #: wp-to-twitter-shorteners.php:298
1106
  msgid "Your Su.pr account details"
1107
  msgstr "Dati account Su.pr"
1108
 
1109
- #: wp-to-twitter-shorteners.php:303
1110
  msgid "Your Su.pr Username:"
1111
  msgstr "Nome utente Su.pr:"
1112
 
1113
- #: wp-to-twitter-shorteners.php:307
1114
  msgid "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
1115
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Su.pr:"
1116
 
1117
- #: wp-to-twitter-shorteners.php:314
1118
  msgid "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</a>!<br />You'll need an API key in order to associate the URLs you create with your Su.pr account."
1119
  msgstr "Non hai ancora un account oppure una chiave API Su.pr? <a href='http://su.pr/'>Vai qui</a>!<br />E' necessaria una chiave API in modo tale da potere associare gli URL da te creati con il tuo account di Su.pr."
1120
 
1121
- #: wp-to-twitter-shorteners.php:320
1122
  msgid "Your Bit.ly account details"
1123
  msgstr "Dati account Bit.ly"
1124
 
1125
- #: wp-to-twitter-shorteners.php:325
1126
  msgid "Your Bit.ly username:"
1127
  msgstr "Nome utente Bit.ly:"
1128
 
1129
- #: wp-to-twitter-shorteners.php:329
1130
  msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
1131
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Bit.ly:"
1132
 
1133
- #: wp-to-twitter-shorteners.php:337
1134
  msgid "Save Bit.ly API Key"
1135
  msgstr "Salva la chiave API di Bit.ly"
1136
 
1137
- #: wp-to-twitter-shorteners.php:337
1138
  msgid "Clear Bit.ly API Key"
1139
  msgstr "Svuota la chiave API di Bit.ly"
1140
 
1141
- #: wp-to-twitter-shorteners.php:337
1142
  msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
1143
  msgstr "E' necessario il nome utente e la chiave API di Bit.ly per potere rendere brevi gli URL via la API di Bit.ly e WP to Twitter."
1144
 
1145
- #: wp-to-twitter-shorteners.php:343
1146
  msgid "Your YOURLS account details"
1147
  msgstr "I dettagli del tuo account YOURLS"
1148
 
1149
- #: wp-to-twitter-shorteners.php:348
1150
  msgid "Path to your YOURLS config file (Local installations)"
1151
  msgstr "Percorso al file di configurazione YOURLS (installazioni locali)"
1152
 
1153
- #: wp-to-twitter-shorteners.php:349 wp-to-twitter-shorteners.php:353
1154
  msgid "Example:"
1155
  msgstr "Esempio:"
1156
 
1157
- #: wp-to-twitter-shorteners.php:352
1158
  msgid "URI to the YOURLS API (Remote installations)"
1159
  msgstr "URI alla API di YOURLS (installazioni remote)"
1160
 
1161
- #: wp-to-twitter-shorteners.php:356
1162
  msgid "Your YOURLS username:"
1163
  msgstr "Nome utente YOURLS:"
1164
 
1165
- #: wp-to-twitter-shorteners.php:360
1166
  msgid "Your YOURLS password:"
1167
  msgstr "Password YOURLS:"
1168
 
1169
- #: wp-to-twitter-shorteners.php:360
1170
  msgid "<em>Saved</em>"
1171
  msgstr "<em>Salvato</em>"
1172
 
1173
- #: wp-to-twitter-shorteners.php:364
1174
  msgid "Post ID for YOURLS url slug."
1175
  msgstr "ID post per lo slug degli url di YOURLS."
1176
 
1177
- #: wp-to-twitter-shorteners.php:365
1178
  msgid "Custom keyword for YOURLS url slug."
1179
  msgstr "Keyword personalizzata per lo slug degli url di YOURLS."
1180
 
1181
- #: wp-to-twitter-shorteners.php:366
1182
  msgid "Default: sequential URL numbering."
1183
  msgstr "Predefinito: numerazione sequenziale URL."
1184
 
1185
- #: wp-to-twitter-shorteners.php:372
1186
  msgid "Save YOURLS Account Info"
1187
  msgstr "Salva le info account di YOURLS"
1188
 
1189
- #: wp-to-twitter-shorteners.php:372
1190
  msgid "Clear YOURLS password"
1191
  msgstr "Svuota la password di YOURLS"
1192
 
1193
- #: wp-to-twitter-shorteners.php:372
1194
  msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
1195
  msgstr "Nome utente e password sono necessari per accorciare le URL attraverso le API di YOURLS e di WP to Twitter."
1196
 
1197
- #: wp-to-twitter-manager.php:522
1198
  msgid "Advanced Settings"
1199
  msgstr "Impostazioni avanzate"
1200
 
1201
- #: wp-to-twitter-manager.php:527 wp-to-twitter-manager.php:706
1202
- msgid "Save Advanced WP->Twitter Options"
1203
- msgstr "Salva avanzate WP->Opzioni Twitter"
1204
-
1205
- #: wp-to-twitter-manager.php:532
1206
  msgid "Strip nonalphanumeric characters from tags"
1207
  msgstr "Rimuovi i caratteri non alfanumerici dai tag"
1208
 
1209
- #: wp-to-twitter-manager.php:538
1210
  msgid "Spaces in tags replaced with:"
1211
  msgstr "Sostituisci gli spazi trai tag con:"
1212
 
1213
- #: wp-to-twitter-manager.php:541
1214
  msgid "Maximum number of tags to include:"
1215
  msgstr "Numero massimo di tag da includere:"
1216
 
1217
- #: wp-to-twitter-manager.php:542
1218
  msgid "Maximum length in characters for included tags:"
1219
  msgstr "Lunghezza massima in caratteri per i tag inclusi:"
1220
 
1221
- #: wp-to-twitter-manager.php:548
1222
  msgid "Length of post excerpt (in characters):"
1223
  msgstr "Lunghezza riassunto messaggi (in caratteri)"
1224
 
1225
- #: wp-to-twitter-manager.php:551
1226
  msgid "WP to Twitter Date Formatting:"
1227
  msgstr "Formattazione data WP to Twitter:"
1228
 
1229
- #: wp-to-twitter-manager.php:551
1230
  msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
1231
  msgstr "Predefinito dalle impostazioni generali. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Info formattazione data</a>."
1232
 
1233
- #: wp-to-twitter-manager.php:555
1234
  msgid "Custom text before all Tweets:"
1235
  msgstr "Testo personalizzato prima di tutti i messaggi:"
1236
 
1237
- #: wp-to-twitter-manager.php:558
1238
  msgid "Custom text after all Tweets:"
1239
  msgstr "Testo personalizzato dopo tutti i messaggi:"
1240
 
1241
- #: wp-to-twitter-manager.php:561
1242
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
1243
  msgstr "Campo personalizzato per inserire una URL alternativa da accorciare e inviare a Twitter:"
1244
 
1245
- #: wp-to-twitter-manager.php:598
1246
  msgid "Special Cases when WordPress should send a Tweet"
1247
  msgstr "Casi particolari nei quali WordPress dovrebbe inviare un messaggio"
1248
 
1249
- #: wp-to-twitter-manager.php:601
1250
  msgid "Do not post Tweets by default"
1251
  msgstr "Di default non inviare i Tweet"
1252
 
1253
- #: wp-to-twitter-manager.php:607
1254
  msgid "Allow status updates from Quick Edit"
1255
  msgstr "Permetti aggiornamenti stato via Quick Edit"
1256
 
1257
- #: wp-to-twitter-manager.php:612
1258
- msgid "Delaying tweets with WP Tweets PRO moves Tweeting to an publishing-independent action."
1259
- msgstr "Ritardare i tweet con WP Tweets PRO sposta i Tweet verso un'azione di pubblicazione indipendente."
1260
-
1261
- #: wp-to-twitter-manager.php:619
1262
- msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
1263
- msgstr "Invio degli aggiornamenti di Twitter via punti di pubblicazione remoti (Email o client XMLRPC)"
1264
-
1265
- #: wp-to-twitter-manager.php:624
1266
  msgid "Google Analytics Settings"
1267
  msgstr "Impostazioni Google Analytics"
1268
 
1269
- #: wp-to-twitter-manager.php:625
1270
  msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
1271
  msgstr "Puoi tracciare la risposta da Twitter utilizzando Google Analytics definendo qui l'identificatore. Puoi definire un identificatore statico oppure uno dinamico. Gli identificatori statici non mutano da post a post mentre quelli dinamici derivano dalle informazioni di maggior rilievo appartenenti a quel post specifico. Gli identificatori dinamici ti permetteranno di analizzare le tue statistiche attraverso una variabile aggiuntiva."
1272
 
1273
- #: wp-to-twitter-manager.php:628
1274
  msgid "Use a Static Identifier with WP-to-Twitter"
1275
  msgstr "Utilizza un identificatore statico per WP-to-Twitter"
1276
 
1277
- #: wp-to-twitter-manager.php:629
1278
  msgid "Static Campaign identifier for Google Analytics:"
1279
  msgstr "Identificatore statico Google Analytics:"
1280
 
1281
- #: wp-to-twitter-manager.php:633
1282
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
1283
  msgstr "Utilizza un identificatore dinamico per Google Analytics e WP-to-Twitter"
1284
 
1285
- #: wp-to-twitter-manager.php:634
1286
  msgid "What dynamic identifier would you like to use?"
1287
  msgstr "Quale identificatore dinamico desideri utilizzare?"
1288
 
1289
- #: wp-to-twitter-manager.php:636
1290
  msgid "Category"
1291
  msgstr "Categoria"
1292
 
1293
- #: wp-to-twitter-manager.php:637
1294
  msgid "Post ID"
1295
  msgstr "ID post"
1296
 
1297
- #: wp-to-twitter-manager.php:638
1298
  msgid "Post Title"
1299
  msgstr "Titolo post"
1300
 
1301
- #: wp-to-twitter-manager.php:639
1302
  msgid "Author"
1303
  msgstr "Autore"
2
  # This file is distributed under the same license as the WP to Twitter package.
3
  msgid ""
4
  msgstr ""
5
+ "PO-Revision-Date: 2014-07-03 19:22:58+0000\n"
6
  "MIME-Version: 1.0\n"
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
10
  "X-Generator: GlotPress/0.1\n"
11
  "Project-Id-Version: WP to Twitter\n"
12
 
13
+ #: wp-to-twitter-manager.php:61
14
+ msgid "No error message was returned."
15
+ msgstr "Non è stato restituito alcun messaggio di errore."
16
+
17
+ #: wp-to-twitter-manager.php:186
18
+ msgid "WP to Twitter failed to connect with Twitter."
19
+ msgstr "WP to Twitter ha fallito la connession a Twitter."
20
+
21
+ #: wp-to-twitter-manager.php:420
22
+ msgid "Last Tweet"
23
+ msgstr "Ultimo Tweet"
24
 
25
+ #: wp-to-twitter-manager.php:428
26
+ msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually."
27
+ msgstr "Sono spiacente ma non sono stato in grado di contattare i server di Twitter per inviare il tuo <strong>new collegamento</strong>! Purtroppo devi inviarlo manualmente."
28
+
29
+ #: wp-to-twitter-manager.php:721
30
+ msgid "Disable Twitter Feed Stylesheet"
31
+ msgstr ""
32
+
33
+ #: wp-to-twitter-oauth.php:184
34
+ msgid "Connection Problems? If you're getting an SSL related error, you'll need to contact your host."
35
+ msgstr "Problemi di connessione? Se stai ottenendo un errore relativo ad SSL devi contattare il tuo servizio di hosting."
36
+
37
+ #: wp-to-twitter-oauth.php:228
38
+ msgid "2. Switch to the \"Permissions\" tab in Twitter apps"
39
+ msgstr ""
40
 
41
  #: wp-to-twitter-oauth.php:233
42
+ msgid "3. Switch to the API Keys tab and regenerate your API keys, then create your access token."
43
+ msgstr ""
44
+
45
+ #: wp-to-twitter-oauth.php:235
46
+ msgid "Copy your API key and API secret from the top section."
47
+ msgstr "Copia la tua API Key e il tuo API secret dalla sezione in alto."
48
+
49
+ #: wp-to-twitter-oauth.php:236
50
+ msgid "Copy your Access token and Access token secret from the bottom section."
51
+ msgstr "Copia il tuo Token d'accesso ed il tuo Token d'accesso segreto dalla sezione in basso."
52
+
53
+ #: wp-to-twitter-oauth.php:242
54
+ msgid "API Key"
55
+ msgstr "Chiave per le API"
56
+
57
+ #: wp-to-twitter-oauth.php:246
58
+ msgid "API Secret"
59
+ msgstr "API Secret"
60
+
61
+ #: wp-to-twitter.php:254
62
+ msgid "Twitter requires all Tweets to be unique."
63
+ msgstr "Twitter richiede che tutti i Tweet siano unici."
64
+
65
+ #: wp-to-twitter.php:318
66
+ msgid "403 Forbidden: The request is understood, but has been refused by Twitter. Possible reasons: too many Tweets, same Tweet submitted twice, Tweet longer than 140 characters."
67
+ msgstr "403 Forbidden: La richiesta è stata compresa, ma è stata rigettata da Twitter. Le possibili cause sono: troppi Tweet, lo stesso Tweet inviato due volte, Tweet più lungo di 140 caratteri."
68
+
69
+ #: wp-to-twitter.php:374
70
+ msgid "Tweet sent successfully."
71
+ msgstr "Tweet inviato con successo."
72
+
73
+ #: wpt-functions.php:360
74
+ msgid "Sorry! I couldn't send that message. Here's the text of your message:"
75
+ msgstr "Sono spiacente ma non ho potuto inviare il messaggio. Questo è il testo del messaggio:"
76
+
77
+ #: wp-to-twitter-manager.php:505
78
+ msgid "These categories are currently <strong>excluded</strong> by the deprecated WP to Twitter category filters."
79
+ msgstr "Queste categorie sono attualmente <strong>escluse</strong> dagli obsoleti filtri di categoria di WP to Twitter."
80
+
81
+ #: wp-to-twitter-manager.php:507
82
+ msgid "These categories are currently <strong>allowed</strong> by the deprecated WP to Twitter category filters."
83
+ msgstr "Queste categorie sono attualmente <strong>consentite</strong> dagli obsoleti filtri di categoria di WP to Twitter."
84
+
85
+ #: wp-to-twitter-manager.php:516
86
+ msgid "<a href=\"%s\">Upgrade to WP Tweets PRO</a> to filter posts in all custom post types on any taxonomy."
87
+ msgstr "<a href=\"%s\">Aggiorna a WP Tweets PRO</a> per filtrare gli articoli in tutti i tipi personalizzati di articoli su qualsiasi tassonomia."
88
+
89
+ #: wp-to-twitter-manager.php:518
90
+ msgid "Updating the WP Tweets PRO taxonomy filters will overwrite your old category filters."
91
+ msgstr "Effettuare l'aggiornamento dei filtri per la tassonomia di WP Tweets PRO sovrascriverà i tuoi vecchi filtri per la categoria."
92
+
93
+ #: wp-to-twitter-manager.php:465
94
+ msgid "Status Update Templates"
95
+ msgstr ""
96
+
97
+ #: wp-to-twitter-manager.php:780
98
+ msgid "<a href=\"http://www.joedolson.com/donate.php\">Make a donation today!</a><br />Every donation matters - donate $5, $20, or $100 today!"
99
+ msgstr "<a href=\"http://www.joedolson.com/donate.php\">Fai una donazione oggi!</a><br />Ogni donazione è importante - dona $5, $20, o $100 oggi!"
100
+
101
+ #: wp-to-twitter-manager.php:805
102
+ msgid "Authors can post to their own Twitter accounts"
103
+ msgstr "Gli utenti della categoria Autori possono inviare ai loro account Twitter"
104
+
105
+ #: wp-to-twitter-manager.php:806
106
+ msgid "Delay Tweets minutes or hours after you publish"
107
+ msgstr "Ritarda i Tweet di minuti od ore dopo la pubblicazione"
108
+
109
+ #: wp-to-twitter-manager.php:809
110
+ msgid "Filter Tweets by category, tag, or custom taxonomy"
111
+ msgstr "Filtra i Tweet in base alla categoria, ai tag, od alla tassonomia personalizzata"
112
+
113
+ #: wpt-widget.php:50
114
+ msgid "Error: "
115
+ msgstr "Errore: "
116
+
117
+ #: wp-to-twitter-manager.php:470 wp-to-twitter-manager.php:553
118
+ msgid "Save WP to Twitter Options"
119
+ msgstr "Salva le opzioin di WP to Twitter"
120
+
121
+ #: wp-to-twitter-manager.php:526
122
+ msgid "Template for new %1$s updates"
123
+ msgstr "Template per nuovi %1$s aggiornamenti"
124
+
125
+ #: wp-to-twitter-manager.php:530
126
+ msgid "Template for %1$s editing updates"
127
+ msgstr ""
128
+
129
+ #: wp-to-twitter-manager.php:485 wp-to-twitter-manager.php:541
130
+ msgid "Links"
131
+ msgstr "Collegamenti"
132
+
133
+ #: wp-to-twitter-manager.php:570 wp-to-twitter-manager.php:729
134
+ msgid "Save Advanced WP to Twitter Options"
135
+ msgstr "Salva le opzioni avanzate di WP to Twitter"
136
+
137
+ #: wp-to-twitter-manager.php:802
138
+ msgid "Upgrade to <strong>WP Tweets PRO</strong>!"
139
+ msgstr "Aggiorna a <strong>WP Tweets PRO</strong>!"
140
+
141
+ #: wp-to-twitter-manager.php:803
142
+ msgid "Bonuses in the PRO upgrade:"
143
+ msgstr "Bonus derivanti dall'upgrade alla versione PRO:"
144
 
145
+ #: wp-to-twitter-manager.php:807
146
+ msgid "Automatically schedule Tweets to post again later"
147
+ msgstr "Programma l'invio dei Tweet da inviare nuovamente più tardi"
148
+
149
+ #: wp-to-twitter.php:1087
150
+ msgid "WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href=\"%s\">Log in and download now!</a>"
151
+ msgstr "WP Tweets PRO 1.5.2+ ti consente di scegliere gli account Twitter. <a href=\"%s\">Effettua il login e scaricalo ora!</a>"
152
+
153
+ #: wp-to-twitter.php:1185
154
+ msgid "Delete Tweet History"
155
+ msgstr "Elimina lo storico dei Tweet"
156
+
157
+ #: wpt-functions.php:378
158
+ msgid "If you're having trouble with WP to Twitter, please try to answer these questions in your message:"
159
+ msgstr "Se stati avendo problemi con WP to Twitter per favore prova a rispondere a queste domande nel tuo messaggio:"
160
+
161
+ #: wpt-functions.php:381
162
+ msgid "Did this error happen only once, or repeatedly?"
163
+ msgstr "Questo errore è capitato una sola volta o si ripete?"
164
+
165
+ #: wpt-functions.php:382
166
+ msgid "What was the Tweet, or an example Tweet, that produced this error?"
167
+ msgstr "Quale è stato il Tweet, o l'esempio di Tweet, che ha causato l'errore?"
168
+
169
+ #: wpt-functions.php:383
170
+ msgid "If there was an error message from WP to Twitter, what was it?"
171
+ msgstr "Se c'era un messaggio di errore da WP to Twitter, quale era?"
172
+
173
+ #: wpt-functions.php:384
174
+ msgid "What is the template you're using for your Tweets?"
175
+ msgstr "Quale è il template che stai usando per i tuoi Tweet?"
176
+
177
+ #: wp-to-twitter-oauth.php:223
178
+ msgid "Your application name cannot include the word \"Twitter.\""
179
+ msgstr "Il nome della tua applicazione non può contenere \"Twitter\"."
180
+
181
+ #: wp-to-twitter.php:308
182
  msgid "304 Not Modified: There was no new data to return"
183
  msgstr "304 Non Modificato: nessun nuovo dato da restituire"
184
 
185
+ #: wp-to-twitter.php:327
186
  msgid "422 Unprocessable Entity: The image uploaded could not be processed.."
187
  msgstr "422 Entità Non Processabile: l'immagine inviata non può essere analizzata."
188
 
189
+ #: wp-to-twitter.php:1089
 
 
 
 
190
  msgid "Upgrade to WP Tweets PRO to select Twitter accounts! <a href=\"%s\">Upgrade now!</a>"
191
  msgstr "Aggiorna a WP Tweets PRO per selezionare i tuoi account Twitter! <a href=\"%s\">Aggiorna ora!</a>"
192
 
193
+ #: wp-to-twitter.php:1121
194
  msgid "Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 characters. Template Tags: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, or <code>#blog#</code>."
195
  msgstr "I tweet devono contenere al massimo 140 caratteri; Twitter conteggia le URL come 22 o 23 caratteri. Tag: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, oppure <code>#blog#</code>."
196
 
197
+ #: wpt-feed.php:163
 
 
 
 
198
  msgid "Twitter returned an invalid response. It is probably down."
199
  msgstr "Twitter ha restituito una risposta non valida. Probabilmente è fuori servizio."
200
 
201
+ #: wpt-widget.php:140
202
  msgid "Display a list of your latest tweets."
203
  msgstr "Mostra una lista dei tuoi ultimi tweet."
204
 
205
+ #: wpt-widget.php:148
206
  msgid "WP to Twitter - Latest Tweets"
207
  msgstr "WP to Twitter - Ultimi tweet"
208
 
209
+ #: wpt-widget.php:87
210
  msgid "<a href=\"%3$s\">about %1$s ago</a> via %2$s"
211
  msgstr "<a href=\"%3$s\">circa %1$s fa</a> attraverso %2$s"
212
 
213
+ #: wpt-widget.php:89
214
  msgid "<a href=\"%2$s\">about %1$s ago</a>"
215
  msgstr "<a href=\"%2$s\">circa %1$s fa</a>"
216
 
217
+ #: wpt-widget.php:203
218
  msgid "Title"
219
  msgstr "Titolo"
220
 
221
+ #: wpt-widget.php:208
222
  msgid "Twitter Username"
223
  msgstr "Nome utente di Twitter"
224
 
225
+ #: wpt-widget.php:213
226
  msgid "Number of Tweets to Show"
227
  msgstr "Numero di tweet da visualizzare"
228
 
229
+ #: wpt-widget.php:219
230
  msgid "Hide @ Replies"
231
  msgstr "Nascondi risposte @"
232
 
233
+ #: wpt-widget.php:224
234
  msgid "Include Retweets"
235
  msgstr "Includi i retweet"
236
 
237
+ #: wpt-widget.php:229
238
  msgid "Parse links"
239
  msgstr "Analizza link"
240
 
241
+ #: wpt-widget.php:234
242
  msgid "Parse @mentions"
243
  msgstr "Analizza @mentions"
244
 
245
+ #: wpt-widget.php:239
246
  msgid "Parse #hashtags"
247
  msgstr "Analizza #hashtags"
248
 
249
+ #: wpt-widget.php:244
250
  msgid "Include Reply/Retweet/Favorite Links"
251
  msgstr "Includi Risposte/Retweet/Link preferiti"
252
 
253
+ #: wpt-widget.php:249
254
  msgid "Include Tweet source"
255
  msgstr "Includi sorgente tweet"
256
 
257
+ #: wp-to-twitter-manager.php:187
258
  msgid "Error:"
259
  msgstr "Errore:"
260
 
261
+ #: wp-to-twitter-manager.php:671
262
  msgid "No Analytics"
263
  msgstr "Nessun Analytics"
264
 
265
+ #: wp-to-twitter-manager.php:808
 
 
 
 
 
 
 
 
 
 
 
 
266
  msgid "Send Tweets for approved comments"
267
  msgstr "Invia tweet per i commenti approvati"
268
 
269
+ #: wp-to-twitter.php:59
270
  msgid "The current version of WP Tweets PRO is <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Upgrade for best compatibility!</a>"
271
  msgstr "La versione attuale di WP Tweets PRO è <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Aggiorna per avere la migliore compatibilità!</a>"
272
 
273
+ #: wp-to-twitter.php:70
274
  msgid "Tweeting of comments has been moved to <a href=\"%1$s\">WP Tweets PRO</a>. You will need to upgrade in order to Tweet comments. <a href=\"%2$s\">Dismiss</a>"
275
  msgstr "Il tweet dei commenti è ora disponibile solo per <a href=\"%1$s\">WP Tweets PRO</a>. Devi effettuare l'aggiornamento per tweettare i commenti. <a href=\"%2$s\">Rinuncia</a>"
276
 
277
+ #: wp-to-twitter.php:1023
278
  msgid "Tweeting %s edits is disabled."
279
  msgstr "Il tweet delle modifiche al %s è disabilitato,"
280
 
281
+ #: wp-to-twitter.php:1489
282
  msgid "I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with WordPress! <a href='%s'>Dismiss</a>"
283
  msgstr "Spero che <strong>WP to Twitter</strong> ti sia piaciuto! Dai un'occhiata a <a href='%s'>upgrading to WP Tweets PRO</a> per tweettare in modo avanzato con WordPress! <a href='%s'>Rinuncia</a>"
284
 
285
  msgid "Posts a Tweet when you update your WordPress blog or post to your blogroll, using your URL shortening service. Rich in features for customizing and promoting your Tweets."
286
  msgstr "Invia un Tweet quando aggiorni il tuo blog WordPress o pubblichi sul tuo blogroll, usando il tuo servizio di accorciamento URL. Ricco di funzionalità per la personalizzazione e promozione dei tuoi tweet."
287
 
288
+ #: wp-to-twitter-shorteners.php:380
289
  msgid "Your jotURL account details"
290
  msgstr "Dati del tuo account jotURL"
291
 
292
+ #: wp-to-twitter-shorteners.php:384
293
  msgid "Your jotURL public <abbr title='application programming interface'>API</abbr> key:"
294
  msgstr "La tua chiave pubblica per le <abbr title='application programming interface'>API</abbr> di jotURL:"
295
 
296
+ #: wp-to-twitter-shorteners.php:385
297
  msgid "Your jotURL private <abbr title='application programming interface'>API</abbr> key:"
298
  msgstr "La tua chiave privata per le <abbr title='application programming interface'>API</abbr> di jotURL:"
299
 
300
+ #: wp-to-twitter-shorteners.php:386
301
  msgid "Parameters to add to the long URL (before shortening):"
302
  msgstr "Parametri da aggiungere alla URL lunga (prima di accorciarla):"
303
 
304
+ #: wp-to-twitter-shorteners.php:386
305
  msgid "Parameters to add to the short URL (after shortening):"
306
  msgstr "Parametri da aggiungere alla URL breve (dopo averla accorciata):"
307
 
308
+ #: wp-to-twitter-shorteners.php:387
309
  msgid "View your jotURL public and private API key"
310
  msgstr "Visualizza la tua chiave pubblica e privata per le API di jotURL"
311
 
312
+ #: wp-to-twitter-shorteners.php:390
313
  msgid "Save jotURL settings"
314
  msgstr "Salva le impostazioni per jotURL"
315
 
316
+ #: wp-to-twitter-shorteners.php:390
317
  msgid "Clear jotURL settings"
318
  msgstr "Cancella le impostazioni di jotURL"
319
 
320
+ #: wp-to-twitter-shorteners.php:391
321
  msgid "A jotURL public and private API key is required to shorten URLs via the jotURL API and WP to Twitter."
322
  msgstr "Una chiave pubblica e privata per le API di jotURL è richiesta per accorciare le URL tramite le API di jotURL e WP to Twitter."
323
 
324
+ #: wp-to-twitter-shorteners.php:486
325
  msgid "jotURL private API Key Updated. "
326
  msgstr "La tua chiave privata per le API di jotURL è stata aggiornata."
327
 
328
+ #: wp-to-twitter-shorteners.php:489
329
  msgid "jotURL private API Key deleted. You cannot use the jotURL API without a private API key. "
330
  msgstr "Chiave privata per le API di jotURL cancellata. Non puoi usare le API di jotURL senza una chiave privata."
331
 
332
+ #: wp-to-twitter-shorteners.php:491
333
  msgid "jotURL private API Key not added - <a href='https://www.joturl.com/reserved/api.html'>get one here</a>! A private API key is required to use the jotURL URL shortening service. "
334
  msgstr "Chiave privata per le API di jotURL non aggiunta - <a href='https://www.joturl.com/reserved/api.html'>recuperane una qua</a>! Una chiave privata è richiesta per usare il servizio di accorciamento URL di jotURL."
335
 
336
+ #: wp-to-twitter-shorteners.php:495
337
  msgid "jotURL public API Key Updated. "
338
  msgstr "Chiave pubblica per le API di jotURL aggiornata."
339
 
340
+ #: wp-to-twitter-shorteners.php:498
341
  msgid "jotURL public API Key deleted. You cannot use the jotURL API without providing your public API Key. "
342
  msgstr "Chiave pubblica per le API di jotURL cancellata. Non puoi usare le API di jotURL senza fornire la tua chiave pubblica per le API."
343
 
344
+ #: wp-to-twitter-shorteners.php:500
345
  msgid "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/api.html'>get one here</a>! "
346
  msgstr "Chiave pubblica per le API di jorURL non aggiunta - <a href='https://www.joturl.com/reserved/api.html'>recuperane una qua</a>! "
347
 
348
+ #: wp-to-twitter-shorteners.php:506
349
  msgid "Long URL parameters added. "
350
  msgstr "Parametri aggiunti per l'URL lungo."
351
 
352
+ #: wp-to-twitter-shorteners.php:509
353
  msgid "Long URL parameters deleted. "
354
  msgstr "Parametri cancellati per l'URL lungo."
355
 
356
+ #: wp-to-twitter-shorteners.php:515
357
  msgid "Short URL parameters added. "
358
  msgstr "Parametri aggiunti per l'URL breve."
359
 
360
+ #: wp-to-twitter-shorteners.php:518
361
  msgid "Short URL parameters deleted. "
362
  msgstr "Parametri cancellati per l'URL breve."
363
 
364
+ #: wp-to-twitter-shorteners.php:532
365
  msgid "You must add your jotURL public and private API key in order to shorten URLs with jotURL."
366
  msgstr "Devi aggiungere la tua chiave pubblica e privata per le API di jotURL per accorciare le URL tramite il servizio di jotURL."
367
 
368
+ #: wp-to-twitter-manager.php:573
369
  msgid "Tags"
370
  msgstr "Tag"
371
 
372
+ #: wp-to-twitter-manager.php:589
373
  msgid "Template Tag Settings"
374
  msgstr "Impostazioni Template Tag"
375
 
376
+ #: wp-to-twitter-manager.php:591
377
  msgid "Extracted from the post. If you use the 'Excerpt' field, it will be used instead."
378
  msgstr "Estratto dall'articolo. Sarà utilizzato in alternativa se si utilizza il campo 'Riassunto'."
379
 
380
+ #: wp-to-twitter-manager.php:634
381
  msgid "Template tag priority order"
382
  msgstr "Ordine di priorità dei Template Tag"
383
 
384
+ #: wp-to-twitter-manager.php:635
385
  msgid "The order in which items will be abbreviated or removed from your Tweet if the Tweet is too long to send to Twitter."
386
  msgstr "L'ordine in cui gli elementi saranno abbreviati o rimossi dal tuo Tweet se quest'ultimo è troppo lungo per essere inviata a Twitter."
387
 
388
+ #: wp-to-twitter-manager.php:675
389
  msgid "Author Settings"
390
  msgstr "Impostazioni autore"
391
 
392
+ #: wp-to-twitter-manager.php:680
393
  msgid "Authors can add their username in their user profile. With the free edition of WP to Twitter, it adds an @reference to the author. The @reference is placed using the <code>#account#</code> shortcode, which will pick up the main account if the user account isn't configured."
394
  msgstr "Gli autori possono indicare il loro nome utente nel proprio profilo. La versione free di WP to Twitter aggiunge un @reference all'autore. @reference può essere inserito con lo shortcode <code>#account#</code> che preleverà il nome dell'account principale se l'account utente non è configurato."
395
 
396
+ #: wp-to-twitter-manager.php:684
397
  msgid "Permissions"
398
  msgstr "Permessi"
399
 
400
+ #: wp-to-twitter-manager.php:719
401
  msgid "Error Messages and Debugging"
402
  msgstr "Messaggi di errore e di Debug"
403
 
404
+ #: wp-to-twitter-manager.php:832
405
  msgid "<code>#cat_desc#</code>: custom value from the category description field"
406
  msgstr "<code>#cat_desc#</code>: valore personalizzato per il campo di descrizione della categoria"
407
 
408
+ #: wp-to-twitter-manager.php:839
409
  msgid "<code>#@#</code>: the twitter @reference for the author or blank, if not set"
410
  msgstr "<code>#@#</code>: @reference di Twitter per l'autore o vuoto se non settato"
411
 
412
+ #: wp-to-twitter-oauth.php:283
 
 
 
 
413
  msgid "<strong>Troubleshooting tip:</strong> Connected, but getting a error that your Authentication credentials are missing or incorrect? Check that your Access token has read and write permission. If not, you'll need to create a new token. <a href=\"http://www.joedolson.com/articles/wp-to-twitter/support-2/#q1\">Read the FAQ</a>"
414
  msgstr "<strong>Suggerimento per la risoluzione dei problemi:</strong> Sei connesso ma ricevi un messaggio di errore che dice che le tue credenziali di accesso sono mancanti o incorrette? Controlla che il token di accesso abbia permessi di lettura/scrittura. Se non è così devi creare un nuovo token. <a href=\"http://www.joedolson.com/articles/wp-to-twitter/support-2/#q1\">Leggi le FAQ</a>"
415
 
416
+ #: wp-to-twitter-oauth.php:310 wp-to-twitter-oauth.php:316
417
  msgid "Twitter's server time: "
418
  msgstr "Ora del server di Twitter"
419
 
420
+ #: wp-to-twitter.php:1375
 
 
 
 
 
 
 
 
421
  msgid "Upgrade"
422
  msgstr "Passa alla versione PRO"
423
 
424
+ #: wp-to-twitter-manager.php:578
425
  msgid "Use tag slug as hashtag value"
426
  msgstr "Usa il tag slug come valore hashtag"
427
 
428
+ #: wp-to-twitter-shorteners.php:550
 
 
 
 
429
  msgid "Choose a short URL service (account settings below)"
430
  msgstr "Scegli un servizio di accorciamento delle URL (impostazioni dell'account di seguito)"
431
 
432
+ #: wp-to-twitter-shorteners.php:556
433
  msgid "YOURLS (on this server)"
434
  msgstr "YOURLS (su questo server)"
435
 
436
+ #: wp-to-twitter-shorteners.php:557
437
  msgid "YOURLS (on a remote server)"
438
  msgstr "YOURLS (sul server remoto)"
439
 
440
+ #: wpt-functions.php:355
441
  msgid "Thank you for supporting the continuing development of this plug-in! I'll get back to you as soon as I can. Please ensure that you can receive email at <code>%s</code>."
442
  msgstr "Grazie per supportare il proseguimento dello sviluppo di questo plug-in! Mi farò vivo appena possibile. Per favore, assicurati che tu possa ricevere le email a <code>%s</code>."
443
 
444
+ #: wpt-functions.php:357
445
  msgid "Thanks for using WP to Twitter. Please ensure that you can receive email at <code>%s</code>."
446
  msgstr "Grazie per l'uso di WP to Twitter. Per favore assicurati di poter ricevere email a <code>%s</code>."
447
 
448
+ #: wpt-functions.php:389
449
  msgid "Reply to:"
450
  msgstr "Rispondi a:"
451
 
452
+ #: wp-to-twitter-manager.php:700
453
  msgid "The lowest user group that can add their Twitter information"
454
  msgstr "Il gruppo di livello più basso che può aggiungere le proprie informazioni di Twitter"
455
 
456
+ #: wp-to-twitter-manager.php:705
457
  msgid "The lowest user group that can see the Custom Tweet options when posting"
458
  msgstr "Il gruppo di livello più basso che può vedere l'opzione Tweet personalizzato quando scrive un articolo"
459
 
460
+ #: wp-to-twitter-manager.php:710
461
  msgid "The lowest user group that can toggle the Tweet/Don't Tweet option"
462
  msgstr "Il gruppo di livello più basso che può attivare o disattivare l'opzione Inviare/Non inviare Tweet"
463
 
464
+ #: wp-to-twitter-manager.php:715
465
  msgid "The lowest user group that can send Twitter updates"
466
  msgstr "Il gruppo di livello più basso che può inviare aggiornamenti su Twitter"
467
 
468
+ #: wp-to-twitter-manager.php:836
469
  msgid "<code>#author#</code>: the post author (@reference if available, otherwise display name)"
470
  msgstr "<code>#author#</code>: l'autore dell'articolo (@account se disponibile, il nome da visualizzare altrimenti)"
471
 
472
+ #: wp-to-twitter-manager.php:837
473
  msgid "<code>#displayname#</code>: post author's display name"
474
  msgstr "<code>#displayname#</code>: Il nome da visualizzare per l'autore dell'articolo"
475
 
476
+ #: wp-to-twitter.php:262
477
  msgid "This tweet was blank and could not be sent to Twitter."
478
  msgstr "Questo tweet è vuoto e non può essere inviato a Twitter."
479
 
480
+ #: wp-to-twitter.php:321
481
  msgid "404 Not Found: The URI requested is invalid or the resource requested does not exist."
482
  msgstr "404 Not Found: L'URI richiesto non è valido o la risorsa richiesta non esiste."
483
 
484
+ #: wp-to-twitter.php:324
485
  msgid "406 Not Acceptable: Invalid Format Specified."
486
  msgstr "406 Not Acceptable: Il formato specificato non è valido."
487
 
488
+ #: wp-to-twitter.php:330
489
  msgid "429 Too Many Requests: You have exceeded your rate limits."
490
  msgstr "429 Too Many Requests: Hai raggiunto la tua quota limite."
491
 
492
+ #: wp-to-twitter.php:342
493
  msgid "504 Gateway Timeout: The Twitter servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later."
494
  msgstr "504 Gateway Timeout: I server di Twitter funzionano ma la richiesta non è stata soddisfatta a causa di qualche errore. Per favore, riprova in seguito."
495
 
496
+ #: wp-to-twitter.php:1037
497
  msgid "Your prepended Tweet text; not part of your template."
498
  msgstr "Testo inserito all'inizio dei tuoi Tweet (non fa parte dei tuo modello)."
499
 
500
+ #: wp-to-twitter.php:1040
501
  msgid "Your appended Tweet text; not part of your template."
502
  msgstr "Testo inserito alla fine dei tuoi Tweet (non fa parte dei tuo modello)."
503
 
504
+ #: wp-to-twitter.php:1140
505
  msgid "Your role does not have the ability to Post Tweets from this site."
506
  msgstr "Il tuo ruolo non permette di inviare Tweet da questo sito."
507
 
508
+ #: wp-to-twitter.php:1309
509
  msgid "Hide account name in Tweets"
510
  msgstr "Nascondi il nome dell'account nei Tweet"
511
 
512
+ #: wp-to-twitter.php:1310
513
  msgid "Do not display my account in the #account# template tag."
514
  msgstr "Non visualizzare il mio account nel template #account#."
515
 
516
+ #: wpt-functions.php:392
517
  msgid "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</span>"
518
  msgstr "Io ho letto <a href=\"%1$s\">le FAQ di questo plug-in</a> <span>(obbligatorio)</span>"
519
 
520
+ #: wpt-functions.php:395
521
  msgid "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>"
522
  msgstr "Io ho <a href=\"%1$s\"> fatto una donazione per supportare questo plugin</a>"
523
 
524
+ #: wpt-functions.php:398
525
  msgid "Support Request:"
526
  msgstr "Richiesta di supporto:"
527
 
528
+ #: wp-to-twitter-manager.php:526
 
 
 
 
529
  msgid "Update when %1$s %2$s is published"
530
  msgstr "Aggiorna quando %1$s %2$s è pubblicato"
531
 
532
+ #: wp-to-twitter-manager.php:530
 
 
 
 
533
  msgid "Update when %1$s %2$s is edited"
534
  msgstr "Aggiorna quando %1$s %2$s è modificato"
535
 
536
+ #: wp-to-twitter-oauth.php:218
 
 
 
 
537
  msgid "Your server timezone (should be UTC,GMT,Europe/London or equivalent):"
538
  msgstr "Il fuso orario del tuo server (dovrebbe essere UTC,GMT,Europe/London o equivalente):"
539
 
540
+ #: wp-to-twitter-shorteners.php:560
541
  msgid "Use Twitter Friendly Links."
542
  msgstr "Utilizza Link in formato gradito a Twitter."
543
 
544
+ #: wp-to-twitter-shorteners.php:334
545
  msgid "View your Bit.ly username and API key"
546
  msgstr "Visualizza il tuo username di Bit.ly e la API key"
547
 
548
+ #: wp-to-twitter-shorteners.php:396
549
  msgid "Your shortener does not require any account settings."
550
  msgstr "Il tuo accorciatore di URL non richiede alcuna impostazione."
551
 
552
+ #: wp-to-twitter.php:299
553
  msgid "Your Twitter application does not have read and write permissions. Go to <a href=\"%s\">your Twitter apps</a> to modify these settings."
554
  msgstr "La tua applicazione Twitter non ha i permessi di lettura e scrittura. Vai alle <a href=\"%s\">tue applicazioni Twitter</a> per modificare queste impostazioni."
555
 
556
+ #: wp-to-twitter.php:1164
557
  msgid "Failed Tweets"
558
  msgstr "Tweet falliti"
559
 
560
+ #: wp-to-twitter.php:1179
561
  msgid "No failed tweets on this post."
562
  msgstr "Non ci sono tweet falliti in questo articolo."
563
 
564
+ #: wp-to-twitter-manager.php:842
 
 
 
 
565
  msgid "<code>#reference#</code>: Used only in co-tweeting. @reference to main account when posted to author account, @reference to author account in post to main account."
566
  msgstr "<code>#reference#</code>: Usato solo nel co-tweeting. @riferisce all'account principale quando è inviato all'account dell'autore, @riferisce all'account dell'autore per i post all'account principale."
567
 
568
+ #: wp-to-twitter-oauth.php:287
569
  msgid "WP to Twitter could not contact Twitter's remote server. Here is the error triggered: "
570
  msgstr "WP to Twitter non è riuscito a contattare i server di Twitter. Questo è l'errore ottenuto:"
571
 
572
+ #: wp-to-twitter.php:243
573
  msgid "This account is not authorized to post to Twitter."
574
  msgstr "Questo account non è autorizzato per inviare messaggi su Twitter."
575
 
576
+ #: wp-to-twitter.php:254
577
  msgid "This tweet is identical to another Tweet recently sent to this account."
578
  msgstr "Questo tweet è identico ad un altro tweet recentemente inviato a questo account."
579
 
580
+ #: wp-to-twitter-shorteners.php:300
581
  msgid "(optional)"
582
  msgstr "(facoltativo)"
583
 
584
+ #: wp-to-twitter-manager.php:646
585
  msgid "Do not post Tweets by default (editing only)"
586
  msgstr "Di default non inviare i Tweet (solo modifica)"
587
 
588
+ #: wp-to-twitter-manager.php:834
589
  msgid "<code>#modified#</code>: the post modified date"
590
  msgstr "<code>#modified#</code>: la data di modifica del post"
591
 
592
+ #: wp-to-twitter-oauth.php:285
593
  msgid "Your time stamps are more than 5 minutes apart. Your server could lose its connection with Twitter."
594
  msgstr "Il tuo orario ha più di 5 minuti di differenza con Twitter e pertanto il tuo server potrebbe perdere la connessione con i loro."
595
 
596
+ #: wp-to-twitter-manager.php:678
597
  msgid "Authors have individual Twitter accounts"
598
  msgstr "Gli autori hanno degli account personali su Twitter"
599
 
600
+ #: wp-to-twitter-manager.php:722
 
 
 
 
 
 
 
 
601
  msgid "Get Debugging Data for OAuth Connection"
602
  msgstr "Ottieni i dati di Debugging per la connessione OAuth"
603
 
604
+ #: wp-to-twitter-manager.php:723
 
 
 
 
605
  msgid "I made a donation, so stop whinging at me, please."
606
  msgstr "Ho effettuato una donazione."
607
 
608
+ #: wp-to-twitter-manager.php:738
 
 
 
 
 
 
 
 
 
 
 
 
609
  msgid "Get Plug-in Support"
610
  msgstr "Ottieni supporto per il plugin"
611
 
612
+ #: wp-to-twitter-manager.php:749
613
  msgid "Check Support"
614
  msgstr "Verifica assistenza"
615
 
616
+ #: wp-to-twitter-manager.php:749
617
  msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
618
  msgstr "Utilizzare nel caso in cui il tuo server supporti le query di <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter</a> per Twitter e per le API di accorciamento URL. Questo test invierà a Twitter un aggiornamento dello stato e accorcerà la URL utilizzando il metodo da te selezionato."
619
 
620
+ #: wp-to-twitter-manager.php:768
621
  msgid "Support WP to Twitter"
622
  msgstr "Supporta WP to Twitter"
623
 
624
+ #: wp-to-twitter-manager.php:770
625
  msgid "WP to Twitter Support"
626
  msgstr "Assistenza WP to Twitter"
627
 
628
+ #: wp-to-twitter-manager.php:778 wp-to-twitter.php:1131 wp-to-twitter.php:1133
629
  msgid "Get Support"
630
  msgstr "Ottieni assistenza"
631
 
632
+ #: wp-to-twitter-manager.php:800
 
 
 
 
633
  msgid "Upgrade Now!"
634
  msgstr "Aggiorna ora!"
635
 
636
+ #: wp-to-twitter-manager.php:824
 
 
 
 
637
  msgid "Shortcodes"
638
  msgstr "Codici brevi"
639
 
640
+ #: wp-to-twitter-manager.php:826
641
  msgid "Available in post update templates:"
642
  msgstr "Disponibili nei template di aggiornamento del post:"
643
 
644
+ #: wp-to-twitter-manager.php:828
645
  msgid "<code>#title#</code>: the title of your blog post"
646
  msgstr "<code>#title#</code>: il titolo del tuo post"
647
 
648
+ #: wp-to-twitter-manager.php:829
649
  msgid "<code>#blog#</code>: the title of your blog"
650
  msgstr "<code>#blog#</code>: il titolo del tuo blog"
651
 
652
+ #: wp-to-twitter-manager.php:830
653
  msgid "<code>#post#</code>: a short excerpt of the post content"
654
  msgstr "<code>#post#</code>: un breve riassunto dei contenuti del post"
655
 
656
+ #: wp-to-twitter-manager.php:831
657
  msgid "<code>#category#</code>: the first selected category for the post"
658
  msgstr "<code>#category#</code>: la prima categoria selezionata per il post"
659
 
660
+ #: wp-to-twitter-manager.php:833
661
  msgid "<code>#date#</code>: the post date"
662
  msgstr "<code>#date#</code>: la data del post"
663
 
664
+ #: wp-to-twitter-manager.php:835
665
  msgid "<code>#url#</code>: the post URL"
666
  msgstr "<code>#url#</code>: l'URL del post"
667
 
668
+ #: wp-to-twitter-manager.php:838
669
  msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
670
  msgstr "<code>#account#</code>: il riferimento Twitter @ per l'account (o per l'autore, previa attivazione ed impostazione.)"
671
 
672
+ #: wp-to-twitter-manager.php:840
673
  msgid "<code>#tags#</code>: your tags modified into hashtags. See options in the Advanced Settings section, below."
674
  msgstr "<code>#tags#</code>: i tuoi tag modificati in hashtag. Vedi le opzioni nelle Impostazioni Avanzate più in basso."
675
 
676
+ #: wp-to-twitter-manager.php:845
677
  msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
678
  msgstr "Hai la possibilità di potere creare degli shortcode personalizzati grazie ai campi personalizzati di WordPress. Utilizza le doppie parentesi quadre per avvolgere il nome del tuo campo personalizzato per aggiungere il valore di quel dato campo al tuo stato di aggiornamento. Esempio: <code>[[custom_field]]</code></p>"
679
 
680
+ #: wp-to-twitter-oauth.php:114
681
  msgid "WP to Twitter was unable to establish a connection to Twitter."
682
  msgstr "WP to Twitter non è riuscito a stabilire una connessione con Twitter."
683
 
685
  msgid "There was an error querying Twitter's servers"
686
  msgstr "C'è stato un errore nell'interrogare i server di Twitter"
687
 
688
+ #: wp-to-twitter-oauth.php:209 wp-to-twitter-oauth.php:212
689
  msgid "Connect to Twitter"
690
  msgstr "Collegati a Twitter"
691
 
692
+ #: wp-to-twitter-oauth.php:215
693
  msgid "WP to Twitter Set-up"
694
  msgstr "Impostazioni WP to Twitter"
695
 
696
+ #: wp-to-twitter-oauth.php:216 wp-to-twitter-oauth.php:310
697
+ #: wp-to-twitter-oauth.php:315
698
  msgid "Your server time:"
699
  msgstr "Ora del tuo server:"
700
 
701
+ #: wp-to-twitter-oauth.php:216
702
  msgid "Twitter's time:"
703
  msgstr "Orario di Twitter:"
704
 
705
+ #: wp-to-twitter-oauth.php:216
706
  msgid "If these timestamps are not within 5 minutes of each other, your server will not connect to Twitter."
707
  msgstr "Se questi orari non sono distanti al più 5 minuti l'uno dall'altro, il tuo server non sarà in grado di connettersi a Twitter."
708
 
709
+ #: wp-to-twitter-oauth.php:220
710
  msgid "1. Register this site as an application on "
711
  msgstr "1. Registra questo sito come una applicazione sulla "
712
 
713
+ #: wp-to-twitter-oauth.php:220
714
  msgid "Twitter's application registration page"
715
  msgstr "pagina di registrazione applicazione Twitter"
716
 
717
+ #: wp-to-twitter-oauth.php:222
718
  msgid "If you're not currently logged in to Twitter, log-in to the account you want associated with this site"
719
  msgstr "Se non sei ancora loggato in Twitter, effettua il login nell'account che vuoi associare al sito"
720
 
721
+ #: wp-to-twitter-oauth.php:224
722
  msgid "Your Application Description can be anything."
723
  msgstr "La descrizione dell'applicazione (Application Description) può essere qualsiasi cosa."
724
 
725
+ #: wp-to-twitter-oauth.php:225
726
  msgid "The WebSite and Callback URL should be "
727
  msgstr "Il sito web ed il Callback URL dovrebbere essere "
728
 
729
+ #: wp-to-twitter-oauth.php:227
730
  msgid "Agree to the Developer Rules of the Road and continue."
731
  msgstr "Acconsenti a Developer Rules of the Road e prosegui."
732
 
733
+ #: wp-to-twitter-oauth.php:230
 
 
 
 
734
  msgid "Select \"Read and Write\" for the Application Type"
735
  msgstr "Seleziona \"Read and Write\" per il tipo di applicazione"
736
 
737
+ #: wp-to-twitter-oauth.php:231
738
  msgid "Update the application settings"
739
  msgstr "Aggiorna impostazioni applicazione"
740
 
741
+ #: wp-to-twitter-oauth.php:250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
742
  msgid "4. Copy and paste your Access Token and Access Token Secret into the fields below"
743
  msgstr "4. Copia ed incolla nei campi qui sotto il tuo token di accesso e secret"
744
 
745
+ #: wp-to-twitter-oauth.php:251
746
  msgid "If the Access level for your Access Token is not \"<em>Read and write</em>\", you must return to step 2 and generate a new Access Token."
747
  msgstr "Se il livello di accesso per il tuo token di accesso non è \"<em>Lettura e Scrittura</em>\", devi ritornare al passo 2 e generare un nuovo token di accesso."
748
 
749
+ #: wp-to-twitter-oauth.php:254
750
  msgid "Access Token"
751
  msgstr "Token d'accesso"
752
 
753
+ #: wp-to-twitter-oauth.php:258
754
  msgid "Access Token Secret"
755
+ msgstr "Token d'accesso segreto"
756
 
757
+ #: wp-to-twitter-oauth.php:277
758
  msgid "Disconnect Your WordPress and Twitter Account"
759
  msgstr "Scollega il tuo account WordPress e Twitter"
760
 
761
+ #: wp-to-twitter-oauth.php:281
762
  msgid "Disconnect your WordPress and Twitter Account"
763
  msgstr "Disconnetti il tuo account WordPress e Twitter"
764
 
765
+ #: wp-to-twitter-oauth.php:292
766
  msgid "Disconnect from Twitter"
767
  msgstr "Disconnettiti da Twitter"
768
 
769
+ #: wp-to-twitter-oauth.php:298
770
  msgid "Twitter Username "
771
  msgstr "Nome utente Twitter"
772
 
773
+ #: wp-to-twitter-oauth.php:299
774
  msgid "Consumer Key "
775
  msgstr "Consumer Key "
776
 
777
+ #: wp-to-twitter-oauth.php:300
778
  msgid "Consumer Secret "
779
  msgstr "Consumer Secret "
780
 
781
+ #: wp-to-twitter-oauth.php:301
782
  msgid "Access Token "
783
  msgstr "Token d'accesso"
784
 
785
+ #: wp-to-twitter-oauth.php:302
786
  msgid "Access Token Secret "
787
+ msgstr "Token d'accesso segreto"
 
 
 
 
788
 
789
  #: wp-to-twitter-oauth.php:200
790
  msgid "Twitter requires authentication by OAuth. You will need to <a href='%s'>update your settings</a> to complete installation of WP to Twitter."
791
  msgstr "Twitter necessita una autentificazione via OAuth. Aggiorna le tue <a href='%s'>impostazioni</a> per completare l'installazione di WP to Twitter."
792
 
793
+ #: wp-to-twitter.php:304
794
  msgid "200 OK: Success!"
795
  msgstr "200 OK: Successo!"
796
 
797
+ #: wp-to-twitter.php:311
798
  msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
799
  msgstr "400 Bad Request: La richiesta non é valida. L'utilizzo di questo codice é relativo al limite delle chiamate."
800
 
801
+ #: wp-to-twitter.php:314
802
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
803
  msgstr "401 Unauthorized: quando mancano oppure sono inesatte le credenziali per l'autentificazione."
804
 
805
+ #: wp-to-twitter.php:333
806
  msgid "500 Internal Server Error: Something is broken at Twitter."
807
  msgstr "500 Internal Server Error: problemi interni a Twitter."
808
 
809
+ #: wp-to-twitter.php:339
810
  msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests - Please try again later."
811
  msgstr "503 Service Unavailable: i server di Twitter funzionano, ma sono sommersi di richieste. Prova più tardi."
812
 
813
+ #: wp-to-twitter.php:336
814
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
815
  msgstr "502 Bad Gateway: Twitter é down oppure sotto aggiornamento."
816
 
817
+ #: wp-to-twitter.php:378
818
  msgid "No Twitter OAuth connection found."
819
  msgstr "Non è stata trovata la connessione a Twitter OAuth."
820
 
821
+ #: wp-to-twitter.php:1148
822
  msgid "Previous Tweets"
823
  msgstr "Tweet precedenti"
824
 
825
+ #: wp-to-twitter.php:1032
826
  msgid "Custom Twitter Post"
827
  msgstr "Messaggio personalizzato Twitter"
828
 
829
+ #: wp-to-twitter.php:1043
830
  msgid "Your template:"
831
  msgstr "Il tuo template:"
832
 
833
+ #: wp-to-twitter.php:1047
834
  msgid "YOURLS Custom Keyword"
835
  msgstr "YOURLS - Custom Keyword"
836
 
837
+ #: wp-to-twitter.php:1131
838
  msgid "Upgrade to WP Tweets Pro"
839
  msgstr "Aggiorna a WP Tweets Pro"
840
 
841
+ #: wp-to-twitter.php:1058
842
  msgid "Don't Tweet this post."
843
  msgstr "Non segnalare a Twitter questo articolo."
844
 
845
+ #: wp-to-twitter.php:1058
846
  msgid "Tweet this post."
847
  msgstr "Segnala a Twitter questo articolo."
848
 
849
+ #: wp-to-twitter.php:1109
850
  msgid "Access to customizing WP to Twitter values is not allowed for your user role."
851
  msgstr "L'accesso alla personalizzazione dei valori per WP to Twitter non è permessa ad utenti col tuo ruolo."
852
 
853
+ #: wp-to-twitter.php:1226
854
  msgid "Characters left: "
855
  msgstr "Caratteri mancanti:"
856
 
857
+ #: wp-to-twitter.php:1295
858
  msgid "WP Tweets User Settings"
859
  msgstr "Impostazioni utente di WP Tweets"
860
 
861
+ #: wp-to-twitter.php:1299
862
  msgid "Use My Twitter Username"
863
  msgstr "Utilizza il mio nome utente Twitter"
864
 
865
+ #: wp-to-twitter.php:1300
866
  msgid "Tweet my posts with an @ reference to my username."
867
  msgstr "Segnala i miei articoli con un riferimento @ correlato al mio nome utente."
868
 
869
+ #: wp-to-twitter.php:1301
870
  msgid "Tweet my posts with an @ reference to both my username and to the main site username."
871
  msgstr "Segnala i miei articoli con un riferimento @ correlato tanto al mio nome utente per il sito principale quanto al mio nome utente."
872
 
873
+ #: wp-to-twitter.php:1305
874
  msgid "Your Twitter Username"
875
  msgstr "Nome utente Twitter"
876
 
877
+ #: wp-to-twitter.php:1306
878
  msgid "Enter your own Twitter username."
879
  msgstr "Inserisci il tuo nome utente Twitter"
880
 
881
+ #: wp-to-twitter.php:1374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
882
  msgid "Settings"
883
  msgstr "Impostazioni"
884
 
885
+ #: wp-to-twitter.php:1401
886
  msgid "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href=\"%1$s\">changelog</a> before upgrading."
887
  msgstr "<br /><strong>Nota:</strong> Leggi il <a class=\"thickbox\" href=\"%1$s\">changelog</a> prima di aggiornare."
888
 
898
  msgid "http://www.joedolson.com/"
899
  msgstr "http://www.joedolson.com/"
900
 
901
+ #: wpt-functions.php:348
902
  msgid "Please read the FAQ and other Help documents before making a support request."
903
  msgstr "Leggi le FAQ e le documentazioni di aiuto prima di inviare una richiesta di supporto."
904
 
905
+ #: wpt-functions.php:350
906
  msgid "Please describe your problem. I'm not psychic."
907
  msgstr "Descrivi il tuo problema. Grazie."
908
 
909
+ #: wpt-functions.php:374
910
  msgid "<strong>Please note</strong>: I do keep records of those who have donated, but if your donation came from somebody other than your account at this web site, you must note this in your message."
911
  msgstr "<strong>Nota</strong>: sebbene conservi un elenco dei donatori e la tua donazione provenisse da un nome differente da quello indicato nel tuo account, ti invito a indicarlo nel tuo messaggio."
912
 
913
+ #: wpt-functions.php:401
914
  msgid "Send Support Request"
915
  msgstr "Invia richiesta supporto"
916
 
917
+ #: wpt-functions.php:404
918
  msgid "The following additional information will be sent with your support request:"
919
  msgstr "Le seguenti informazioni saranno inviate insieme alla tua richiesta:"
920
 
921
+ #: wp-to-twitter-manager.php:57
 
 
 
 
922
  msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
923
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di contattare il servizio per gli URL brevi da te selezionato.</strong></li>"
924
 
925
+ #: wp-to-twitter-manager.php:64
926
  msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
927
  msgstr "<li><strong>WP to Twitter ha contattato con successo il servizio per gli URL brevi da te selezionato.</strong> Il seguente link dovrebbe puntare alla homepage del tuo blog:"
928
 
929
+ #: wp-to-twitter-manager.php:72
930
  msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
931
  msgstr "<li><strong>WP to Twitter ha inviato con successo l'aggiornamento dello stato a Twitter.</strong></li>"
932
 
933
+ #: wp-to-twitter-manager.php:75
934
  msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
935
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di inviare l'aggiornamento a Twitter.</strong></li>"
936
 
937
+ #: wp-to-twitter-manager.php:79
938
  msgid "You have not connected WordPress to Twitter."
939
  msgstr "Non hai connesso WordPress a Twitter."
940
 
941
+ #: wp-to-twitter-manager.php:83
942
  msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
943
  msgstr "<li class=\"error\"><strong>Pare che il tuo server non supporti le funzioni richieste affinché WP to Twitter possa funzionare correttamente.</strong> Puoi comunque provare ugualmente - queste verifiche non sono perfette - garantisco i risultati.</li>"
944
 
945
+ #: wp-to-twitter-manager.php:87
946
  msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
947
  msgstr "<li><strong>WP to Twitter funziona correttamente per il tuo server.</strong></li>"
948
 
949
+ #: wp-to-twitter-manager.php:180
 
 
 
 
950
  msgid "WP to Twitter is now connected with Twitter."
951
  msgstr "WP to Twitter é ora connesso a Twitter."
952
 
953
+ #: wp-to-twitter-manager.php:193
954
  msgid "OAuth Authentication Data Cleared."
955
  msgstr "I dati della autentificazione OAuth sono stati svuotati."
956
 
957
+ #: wp-to-twitter-manager.php:199
958
  msgid "OAuth Authentication Failed. Your server time is not in sync with the Twitter servers. Talk to your hosting service to see what can be done."
959
  msgstr "Autentificazione OAuth fallita. L'ora del tuo sever non é sicronizzata con i server di Twitter. Comunica il problema al tuo fornitore di hosting."
960
 
961
+ #: wp-to-twitter-manager.php:205
962
  msgid "OAuth Authentication response not understood."
963
  msgstr "Risposta Autentificazione OAuth non valida."
964
 
965
+ #: wp-to-twitter-manager.php:377
966
  msgid "WP to Twitter Advanced Options Updated"
967
  msgstr "Le opzioni avanzate di WP to Twitter sono state aggiornate"
968
 
969
+ #: wp-to-twitter-shorteners.php:528
970
  msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
971
  msgstr "E' necessario che tu inserisca i dati per il login e la chiave API di Bit.ly in modo da potere accorciare le URL con Bit.ly."
972
 
973
+ #: wp-to-twitter-shorteners.php:536
974
  msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
975
  msgstr "E' necessario che tu inserisca il tuo URL remoto a YOURLS, il login e la password in modo da potere accorciare le URL attraverso la tua installazione remota di YOURLS."
976
 
977
+ #: wp-to-twitter-shorteners.php:540
978
  msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
979
  msgstr "E' necessario che tu inserisca il percorso al server del tuo YOURLS in modo da potere accorciare le URL attraverso la tua installazione remota di YOURLS."
980
 
981
+ #: wp-to-twitter-manager.php:396
982
  msgid "WP to Twitter Options Updated"
983
  msgstr "Le opzioni di WP to Twitter sono state aggiornate"
984
 
985
+ #: wp-to-twitter-shorteners.php:408
 
 
 
 
 
 
 
 
986
  msgid "YOURLS password updated. "
987
  msgstr "La password di YOURLS é stata aggiornata."
988
 
989
+ #: wp-to-twitter-shorteners.php:411
990
  msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
991
  msgstr "La tua password di YOURLS é stata cancellata. Non potrai utilizzare il tuo account remoto YOURLS per la creazione di URL brevi."
992
 
993
+ #: wp-to-twitter-shorteners.php:413
994
  msgid "Failed to save your YOURLS password! "
995
  msgstr "Non é stato possibile salvare la tua password di YOURLS!"
996
 
997
+ #: wp-to-twitter-shorteners.php:417
998
  msgid "YOURLS username added. "
999
  msgstr "Il nome utente YOURLS é stato aggiunto."
1000
 
1001
+ #: wp-to-twitter-shorteners.php:421
1002
  msgid "YOURLS API url added. "
1003
  msgstr "L'url alla API YOURLS é stato aggiunto. "
1004
 
1005
+ #: wp-to-twitter-shorteners.php:424
1006
  msgid "YOURLS API url removed. "
1007
  msgstr "L'url alla API YOURLS é stato rimosso. "
1008
 
1009
+ #: wp-to-twitter-shorteners.php:429
1010
  msgid "YOURLS local server path added. "
1011
  msgstr "Il percorso al server locale di YOURLS é stato aggiunto. "
1012
 
1013
+ #: wp-to-twitter-shorteners.php:431
1014
  msgid "The path to your YOURLS installation is not correct. "
1015
  msgstr "Il percorso alla tua installazione di YOURLS non é corretto. "
1016
 
1017
+ #: wp-to-twitter-shorteners.php:435
1018
  msgid "YOURLS local server path removed. "
1019
  msgstr "Il percorso al server locale di YOURLS é stato rimosso. "
1020
 
1021
+ #: wp-to-twitter-shorteners.php:440
1022
  msgid "YOURLS will use Post ID for short URL slug."
1023
  msgstr "YOURLS utilizzerà Post ID per lo slug degli URL brevi."
1024
 
1025
+ #: wp-to-twitter-shorteners.php:442
1026
  msgid "YOURLS will use your custom keyword for short URL slug."
1027
  msgstr "YOURLS utilizzerà la tua keyword personalizzata per lo slug degli URL brevi."
1028
 
1029
+ #: wp-to-twitter-shorteners.php:446
1030
  msgid "YOURLS will not use Post ID for the short URL slug."
1031
  msgstr "YOURLS non utilizzerà Post ID per lo slug degli URL brevi."
1032
 
1033
+ #: wp-to-twitter-shorteners.php:454
1034
  msgid "Su.pr API Key and Username Updated"
1035
  msgstr "La chiave API ed il nome utente di Su.pr sono stati aggiornati"
1036
 
1037
+ #: wp-to-twitter-shorteners.php:458
1038
  msgid "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. "
1039
  msgstr "La chiave API ed il nome utente di Su.pr sono stati cancellati. Gli URL di Su.pr creati da WP to Twitter non saranno più associati al tuo account. "
1040
 
1041
+ #: wp-to-twitter-shorteners.php:460
1042
  msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
1043
  msgstr "Non é stata inserita la chiave API di Su.pr - <a href='http://su.pr/'>vai qui</a>! "
1044
 
1045
+ #: wp-to-twitter-shorteners.php:466
1046
  msgid "Bit.ly API Key Updated."
1047
  msgstr "La chiave API di Bit.ly é stata aggiornata."
1048
 
1049
+ #: wp-to-twitter-shorteners.php:469
1050
  msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
1051
  msgstr "La chiave API di Bit.ly é stata cancellata. Non puoi utilizzare la API di Bit.ly senza la chiave API. "
1052
 
1053
+ #: wp-to-twitter-shorteners.php:471
1054
  msgid "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</a>! An API key is required to use the Bit.ly URL shortening service."
1055
  msgstr "La chiave API di Bit.ly non é stata aggiunta - <a href='http://bit.ly/account/'>vai qui</a>! E' necessaria una chiave API affinché il servizio di URL brevi Bit.ly di possa funzionare."
1056
 
1057
+ #: wp-to-twitter-shorteners.php:475
1058
  msgid " Bit.ly User Login Updated."
1059
  msgstr " Il login utente per Bit.ly é stato aggiornato."
1060
 
1061
+ #: wp-to-twitter-shorteners.php:478
1062
  msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
1063
  msgstr "Sono stati cancellati i dati per il login utente Bit.ly. Non puoi utilizzare la API di Bit.ly senza fornire il tuo nome utente. "
1064
 
1065
+ #: wp-to-twitter-shorteners.php:480
1066
  msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
1067
  msgstr "Non sono stati inseriti i dati per il login a Bit.ly - <a href='http://bit.ly/account/'>vai qui</a>! "
1068
 
1069
+ #: wp-to-twitter-manager.php:425
1070
  msgid "<p>One or more of your last posts has failed to send a status update to Twitter. The Tweet has been saved, and you can re-Tweet it at your leisure.</p>"
1071
  msgstr "<p>Uno o più dei tuoi ultimi post ha fallito nell'inviare la richiesta di aggiornamento di stato a Twitter. Il Tweet comunque è stato salvato e puoi inviarlo nuovamente quando ti è più comodo.</p>"
1072
 
1073
+ #: wp-to-twitter-manager.php:431
 
 
 
 
1074
  msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues.</p>"
1075
  msgstr "<p>La richiesta alle API per il servizio di accorciamento delle URL è fallita e quindi la tua URL non è stata accorciata. La URL lunga è stata usata per il tuo Tweet. Contatta il tuo servizio di accorciamento URL per verificare se ci sono problemi.</p>"
1076
 
1077
+ #: wp-to-twitter-manager.php:437
1078
  msgid "Clear 'WP to Twitter' Error Messages"
1079
  msgstr "Svuota i messaggiodi errore 'WP to Twitter'"
1080
 
1081
+ #: wp-to-twitter-manager.php:443
1082
  msgid "WP to Twitter Options"
1083
  msgstr "Opzioni WP to Twitter"
1084
 
1085
+ #: wp-to-twitter-manager.php:544
 
 
 
 
 
 
 
 
 
 
 
 
1086
  msgid "Update Twitter when you post a Blogroll link"
1087
  msgstr "Aggiorna Twitter quando viene aggiunto un nuovo link al blogroll"
1088
 
1089
+ #: wp-to-twitter-manager.php:545
1090
  msgid "Text for new link updates:"
1091
  msgstr "Testo per gli aggiornamenti di un nuovo link:"
1092
 
1093
+ #: wp-to-twitter-manager.php:545
1094
  msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
1095
  msgstr "Shortcode disponibili: <code>#url#</code>, <code>#title#</code> e <code>#description#</code>."
1096
 
1097
+ #: wp-to-twitter-shorteners.php:552
1098
  msgid "Don't shorten URLs."
1099
  msgstr "Non usare gli URL brevi"
1100
 
1101
+ #: wp-to-twitter-shorteners.php:296
1102
  msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
1103
  msgstr "Impostazione account per il servizio di accorciamento di <abbr title=\"Uniform Resource Locator\">URL</abbr>"
1104
 
1105
+ #: wp-to-twitter-shorteners.php:300
1106
  msgid "Your Su.pr account details"
1107
  msgstr "Dati account Su.pr"
1108
 
1109
+ #: wp-to-twitter-shorteners.php:305
1110
  msgid "Your Su.pr Username:"
1111
  msgstr "Nome utente Su.pr:"
1112
 
1113
+ #: wp-to-twitter-shorteners.php:309
1114
  msgid "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
1115
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Su.pr:"
1116
 
1117
+ #: wp-to-twitter-shorteners.php:316
1118
  msgid "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</a>!<br />You'll need an API key in order to associate the URLs you create with your Su.pr account."
1119
  msgstr "Non hai ancora un account oppure una chiave API Su.pr? <a href='http://su.pr/'>Vai qui</a>!<br />E' necessaria una chiave API in modo tale da potere associare gli URL da te creati con il tuo account di Su.pr."
1120
 
1121
+ #: wp-to-twitter-shorteners.php:322
1122
  msgid "Your Bit.ly account details"
1123
  msgstr "Dati account Bit.ly"
1124
 
1125
+ #: wp-to-twitter-shorteners.php:327
1126
  msgid "Your Bit.ly username:"
1127
  msgstr "Nome utente Bit.ly:"
1128
 
1129
+ #: wp-to-twitter-shorteners.php:331
1130
  msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
1131
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Bit.ly:"
1132
 
1133
+ #: wp-to-twitter-shorteners.php:339
1134
  msgid "Save Bit.ly API Key"
1135
  msgstr "Salva la chiave API di Bit.ly"
1136
 
1137
+ #: wp-to-twitter-shorteners.php:339
1138
  msgid "Clear Bit.ly API Key"
1139
  msgstr "Svuota la chiave API di Bit.ly"
1140
 
1141
+ #: wp-to-twitter-shorteners.php:339
1142
  msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
1143
  msgstr "E' necessario il nome utente e la chiave API di Bit.ly per potere rendere brevi gli URL via la API di Bit.ly e WP to Twitter."
1144
 
1145
+ #: wp-to-twitter-shorteners.php:345
1146
  msgid "Your YOURLS account details"
1147
  msgstr "I dettagli del tuo account YOURLS"
1148
 
1149
+ #: wp-to-twitter-shorteners.php:350
1150
  msgid "Path to your YOURLS config file (Local installations)"
1151
  msgstr "Percorso al file di configurazione YOURLS (installazioni locali)"
1152
 
1153
+ #: wp-to-twitter-shorteners.php:351 wp-to-twitter-shorteners.php:355
1154
  msgid "Example:"
1155
  msgstr "Esempio:"
1156
 
1157
+ #: wp-to-twitter-shorteners.php:354
1158
  msgid "URI to the YOURLS API (Remote installations)"
1159
  msgstr "URI alla API di YOURLS (installazioni remote)"
1160
 
1161
+ #: wp-to-twitter-shorteners.php:358
1162
  msgid "Your YOURLS username:"
1163
  msgstr "Nome utente YOURLS:"
1164
 
1165
+ #: wp-to-twitter-shorteners.php:362
1166
  msgid "Your YOURLS password:"
1167
  msgstr "Password YOURLS:"
1168
 
1169
+ #: wp-to-twitter-shorteners.php:362
1170
  msgid "<em>Saved</em>"
1171
  msgstr "<em>Salvato</em>"
1172
 
1173
+ #: wp-to-twitter-shorteners.php:366
1174
  msgid "Post ID for YOURLS url slug."
1175
  msgstr "ID post per lo slug degli url di YOURLS."
1176
 
1177
+ #: wp-to-twitter-shorteners.php:367
1178
  msgid "Custom keyword for YOURLS url slug."
1179
  msgstr "Keyword personalizzata per lo slug degli url di YOURLS."
1180
 
1181
+ #: wp-to-twitter-shorteners.php:368
1182
  msgid "Default: sequential URL numbering."
1183
  msgstr "Predefinito: numerazione sequenziale URL."
1184
 
1185
+ #: wp-to-twitter-shorteners.php:374
1186
  msgid "Save YOURLS Account Info"
1187
  msgstr "Salva le info account di YOURLS"
1188
 
1189
+ #: wp-to-twitter-shorteners.php:374
1190
  msgid "Clear YOURLS password"
1191
  msgstr "Svuota la password di YOURLS"
1192
 
1193
+ #: wp-to-twitter-shorteners.php:374
1194
  msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
1195
  msgstr "Nome utente e password sono necessari per accorciare le URL attraverso le API di YOURLS e di WP to Twitter."
1196
 
1197
+ #: wp-to-twitter-manager.php:565
1198
  msgid "Advanced Settings"
1199
  msgstr "Impostazioni avanzate"
1200
 
1201
+ #: wp-to-twitter-manager.php:575
 
 
 
 
1202
  msgid "Strip nonalphanumeric characters from tags"
1203
  msgstr "Rimuovi i caratteri non alfanumerici dai tag"
1204
 
1205
+ #: wp-to-twitter-manager.php:581
1206
  msgid "Spaces in tags replaced with:"
1207
  msgstr "Sostituisci gli spazi trai tag con:"
1208
 
1209
+ #: wp-to-twitter-manager.php:584
1210
  msgid "Maximum number of tags to include:"
1211
  msgstr "Numero massimo di tag da includere:"
1212
 
1213
+ #: wp-to-twitter-manager.php:585
1214
  msgid "Maximum length in characters for included tags:"
1215
  msgstr "Lunghezza massima in caratteri per i tag inclusi:"
1216
 
1217
+ #: wp-to-twitter-manager.php:591
1218
  msgid "Length of post excerpt (in characters):"
1219
  msgstr "Lunghezza riassunto messaggi (in caratteri)"
1220
 
1221
+ #: wp-to-twitter-manager.php:594
1222
  msgid "WP to Twitter Date Formatting:"
1223
  msgstr "Formattazione data WP to Twitter:"
1224
 
1225
+ #: wp-to-twitter-manager.php:594
1226
  msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
1227
  msgstr "Predefinito dalle impostazioni generali. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Info formattazione data</a>."
1228
 
1229
+ #: wp-to-twitter-manager.php:598
1230
  msgid "Custom text before all Tweets:"
1231
  msgstr "Testo personalizzato prima di tutti i messaggi:"
1232
 
1233
+ #: wp-to-twitter-manager.php:601
1234
  msgid "Custom text after all Tweets:"
1235
  msgstr "Testo personalizzato dopo tutti i messaggi:"
1236
 
1237
+ #: wp-to-twitter-manager.php:604
1238
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
1239
  msgstr "Campo personalizzato per inserire una URL alternativa da accorciare e inviare a Twitter:"
1240
 
1241
+ #: wp-to-twitter-manager.php:641
1242
  msgid "Special Cases when WordPress should send a Tweet"
1243
  msgstr "Casi particolari nei quali WordPress dovrebbe inviare un messaggio"
1244
 
1245
+ #: wp-to-twitter-manager.php:644
1246
  msgid "Do not post Tweets by default"
1247
  msgstr "Di default non inviare i Tweet"
1248
 
1249
+ #: wp-to-twitter-manager.php:648
1250
  msgid "Allow status updates from Quick Edit"
1251
  msgstr "Permetti aggiornamenti stato via Quick Edit"
1252
 
1253
+ #: wp-to-twitter-manager.php:652
 
 
 
 
 
 
 
 
1254
  msgid "Google Analytics Settings"
1255
  msgstr "Impostazioni Google Analytics"
1256
 
1257
+ #: wp-to-twitter-manager.php:653
1258
  msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
1259
  msgstr "Puoi tracciare la risposta da Twitter utilizzando Google Analytics definendo qui l'identificatore. Puoi definire un identificatore statico oppure uno dinamico. Gli identificatori statici non mutano da post a post mentre quelli dinamici derivano dalle informazioni di maggior rilievo appartenenti a quel post specifico. Gli identificatori dinamici ti permetteranno di analizzare le tue statistiche attraverso una variabile aggiuntiva."
1260
 
1261
+ #: wp-to-twitter-manager.php:656
1262
  msgid "Use a Static Identifier with WP-to-Twitter"
1263
  msgstr "Utilizza un identificatore statico per WP-to-Twitter"
1264
 
1265
+ #: wp-to-twitter-manager.php:657
1266
  msgid "Static Campaign identifier for Google Analytics:"
1267
  msgstr "Identificatore statico Google Analytics:"
1268
 
1269
+ #: wp-to-twitter-manager.php:661
1270
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
1271
  msgstr "Utilizza un identificatore dinamico per Google Analytics e WP-to-Twitter"
1272
 
1273
+ #: wp-to-twitter-manager.php:662
1274
  msgid "What dynamic identifier would you like to use?"
1275
  msgstr "Quale identificatore dinamico desideri utilizzare?"
1276
 
1277
+ #: wp-to-twitter-manager.php:664
1278
  msgid "Category"
1279
  msgstr "Categoria"
1280
 
1281
+ #: wp-to-twitter-manager.php:665
1282
  msgid "Post ID"
1283
  msgstr "ID post"
1284
 
1285
+ #: wp-to-twitter-manager.php:666
1286
  msgid "Post Title"
1287
  msgstr "Titolo post"
1288
 
1289
+ #: wp-to-twitter-manager.php:667
1290
  msgid "Author"
1291
  msgstr "Autore"
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links
5
- Requires at least: 3.6.1
6
- Tested up to: 3.9.1
7
  License: GPLv2 or later
8
- Stable tag: 2.8.8
9
 
10
  Auto-posts a Twitter update when you update your WordPress blog or blogroll, with your chosen URL shortening service.
11
 
@@ -17,7 +17,7 @@ Shorten URLs using a variety of popular URL shorteners, or leave Twitter to do i
17
 
18
  Use WP to Twitter display a feed of recent Tweets. Display Tweets from any account by entering that account's Twitter ID!
19
 
20
- [Upgrade to WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for Tweet scheduling, automatic re-tweeting, and more!
21
 
22
  WP to Twitter supports a customizable Tweet template for updating or editing posts and pages, supports custom post types, and allows you to write a custom Tweet for each post, using custom template tags to generate the Tweet copy.
23
 
@@ -28,7 +28,7 @@ More features:
28
  * Support for Google Analytics
29
  * Support for XMLRPC remote clients
30
 
31
- Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for extra features, including:
32
 
33
  * Each author can set up their own Twitter account
34
  * Time delayed Tweeting
@@ -36,7 +36,7 @@ Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) for
36
  * Co-Tweet to site and author Twitter accounts
37
  * Preview and Tweet comments
38
  * Filter Tweets by taxonomy (categories, tags, or custom taxonomies)
39
- * [...and more!](http://www.joedolson.com/articles/wp-tweets-pro/)
40
 
41
  Want to stay up to date on WP to Twitter? [Follow me on Twitter!](https://twitter.com/joedolson)
42
 
@@ -45,15 +45,27 @@ Translations:
45
  Visit the [WP to Twitter translations page](http://translate.joedolson.com/projects/wp-to-twitter) to see how complete these are.
46
 
47
  Languages available (in order of completeness):
48
- Dutch, Russian, French, Italian, Danish, Catalan, Portuguese, Spanish, Chinese, Japanese, Romanian, Estonian, German, Swedish, Irish, Ukrainian, Lithuanian, Belarusian, Turkish, Persian
49
 
50
  Translating my plug-ins is always appreciated. Visit <a href="http://translate.joedolson.com">my translations site</a> to start getting your language into shape!
51
 
52
  == Changelog ==
53
 
54
- = 2.9.0 [Forthcoming] =
55
 
56
- * Will revamp roles & capabilities model for WP to Twitter
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  = 2.8.9 =
59
 
@@ -446,7 +458,7 @@ Translating my plug-ins is always appreciated. Visit <a href="http://translate.j
446
  * Significant re-write of underlying code.
447
  * Redesign of settings pages.
448
  * Significant text revisions.
449
- * Release of [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/), a pro upgrade to WP to Twitter.
450
 
451
  = 2.3.18 =
452
 
@@ -985,19 +997,21 @@ Translating my plug-ins is always appreciated. Visit <a href="http://translate.j
985
 
986
  = Where are your Frequently Asked Questions? Why aren't they here? =
987
 
988
- Right here: [WP to Twitter FAQ](http://www.joedolson.com/articles/wp-to-twitter/support-2/). I don't maintain them here because I would prefer to only maintain one copy. This is better for everybody, since the responses are much more likely to be up to date!
989
 
990
  = How can I help you make WP to Twitter a better plug-in? =
991
 
992
- Writing and maintaining a plug-in is a lot of work. You can help me by providing detailed support requests (which saves me time), or by providing financial support, either via my [plug-in donations page](http://www.joedolson.com/donate.php) or by [upgrading to WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/). Believe me, any small donation really makes a difference!
993
 
994
  == Screenshots ==
995
 
996
  1. WP to Twitter OAuth settings.
997
- 2. WP to Twitter custom Tweet settings.
998
- 3. WP Tweets PRO settings.
999
- 4. Twitter Feed
 
 
1000
 
1001
  == Upgrade Notice ==
1002
 
1003
- * 2.8.6 - Miscellaneous bug fixes.
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links
5
+ Requires at least: 3.7.0
6
+ Tested up to: 3.9.2
7
  License: GPLv2 or later
8
+ Stable tag: 2.8.9
9
 
10
  Auto-posts a Twitter update when you update your WordPress blog or blogroll, with your chosen URL shortening service.
11
 
17
 
18
  Use WP to Twitter display a feed of recent Tweets. Display Tweets from any account by entering that account's Twitter ID!
19
 
20
+ [Upgrade to WP Tweets Pro](http://www.joedolson.com/wp-tweets-pro/) for Tweet scheduling, automatic re-tweeting, and more!
21
 
22
  WP to Twitter supports a customizable Tweet template for updating or editing posts and pages, supports custom post types, and allows you to write a custom Tweet for each post, using custom template tags to generate the Tweet copy.
23
 
28
  * Support for Google Analytics
29
  * Support for XMLRPC remote clients
30
 
31
+ Upgrade to [WP Tweets Pro](http://www.joedolson.com/wp-tweets-pro/) for extra features, including:
32
 
33
  * Each author can set up their own Twitter account
34
  * Time delayed Tweeting
36
  * Co-Tweet to site and author Twitter accounts
37
  * Preview and Tweet comments
38
  * Filter Tweets by taxonomy (categories, tags, or custom taxonomies)
39
+ * [...and more!](http://www.joedolson.com/wp-tweets-pro/)
40
 
41
  Want to stay up to date on WP to Twitter? [Follow me on Twitter!](https://twitter.com/joedolson)
42
 
45
  Visit the [WP to Twitter translations page](http://translate.joedolson.com/projects/wp-to-twitter) to see how complete these are.
46
 
47
  Languages available (in order of completeness):
48
+ Dutch, Italian, Russian, French, Danish, Catalan, Portuguese, Spanish, Chinese, Japanese, Romanian, Estonian, German, Swedish, Irish, Ukrainian, Lithuanian, Belarusian, Turkish, Persian
49
 
50
  Translating my plug-ins is always appreciated. Visit <a href="http://translate.joedolson.com">my translations site</a> to start getting your language into shape!
51
 
52
  == Changelog ==
53
 
54
+ = Future =
55
 
56
+ * Add regex filter to detect URLs typed into Tweet fields for counting/shortening purposes. [todo]
57
+
58
+ = 2.9.0 =
59
+
60
+ * Revamp roles and capabilities management
61
+ * Add filter: wpt_max_tweet_length; returns array with max Tweet lengths. Default array( 'with_media'=>119, 'without_media' => 137 );
62
+ * Bug fix: When a Tweet was truncated due to long raw text, truncation would be 5 chars too aggressive.
63
+ * Changed base capability from 'update_core' to 'manage_options' for multi-site admins
64
+ * Post to Twitter function returns false on all errors, rather than just Twitter errors.
65
+ * Removed upgrade cycles for versions more than 2 1/2 years old.
66
+ * Add "Tweet Now" button to send a Tweet without saving post.
67
+ * Add Tweet Scheduler button for WP Tweets PRO users; set time and date and schedule from post without saving.
68
+ * Language update: Italian
69
 
70
  = 2.8.9 =
71
 
458
  * Significant re-write of underlying code.
459
  * Redesign of settings pages.
460
  * Significant text revisions.
461
+ * Release of [WP Tweets Pro](http://www.joedolson.com/wp-tweets-pro/), a pro upgrade to WP to Twitter.
462
 
463
  = 2.3.18 =
464
 
997
 
998
  = Where are your Frequently Asked Questions? Why aren't they here? =
999
 
1000
+ Right here: [WP to Twitter FAQ](http://www.joedolson.com/wp-to-twitter/support-2/). I don't maintain them here because I would prefer to only maintain one copy. This is better for everybody, since the responses are much more likely to be up to date!
1001
 
1002
  = How can I help you make WP to Twitter a better plug-in? =
1003
 
1004
+ Writing and maintaining a plug-in is a lot of work. You can help me by providing detailed support requests (which saves me time), or by providing financial support, either via my [plug-in donations page](http://www.joedolson.com/donate.php) or by [upgrading to WP Tweets Pro](http://www.joedolson.com/wp-tweets-pro/). Believe me, any small donation really makes a difference!
1005
 
1006
  == Screenshots ==
1007
 
1008
  1. WP to Twitter OAuth settings.
1009
+ 2. WP to Twitter post meta box settings.
1010
+ 3. WP to Twitter post meta box with WP Tweets PRO.
1011
+ 4. WP Tweets PRO settings.
1012
+ 5. Twitter Feed
1013
+ 6. Settings
1014
 
1015
  == Upgrade Notice ==
1016
 
1017
+ * 2.9.0 - Permissions re-vamp; support for custom roles; Add "Tweet Now" button.
styles.css CHANGED
@@ -5,8 +5,6 @@ legend { padding: 6px; background: #f3f3f3; width: 100%; border-radius: 3px 0 0
5
  #wp-to-twitter .resources {background: url(images/logo.png) 50% 5px no-repeat; padding-top: 70px; text-align: center;}
6
  #wp-to-twitter .resources form {margin: 0;}
7
  .settings {margin: 25px 0;background: #fff;padding: 10px;border: 1px solid #000;}
8
- #wp-to-twitter ul {list-style-type: disc;margin-left: 2em;font-size: 1em;}
9
- #wp-to-twitter li {line-height: 1.2;}
10
  #wp-to-twitter .inside em {color: #f33;}
11
  #wp-to-twitter .button-side { position: absolute; top: 0; right: 10px;}
12
  #wp-to-twitter .tokens label { width: 13em; display: block; float: left; margin-top:5px;}
@@ -24,12 +22,15 @@ label[for="wpt_license_key"] { font-size: 1.3em; }
24
  #wp-to-twitter .wpt-upgrade { background: crimson; color: #fff; text-shadow: #000 0 1px 0; border-radius: 2px 2px 0 0; }
25
  .wp-tweets-pro .widefat input[type=text] { width: 100%; }
26
 
27
- .wpt-settings .tabs { margin: 0!important; padding: 0 4px; position: relative; top: 1px; }
28
- .wpt-settings .tabs li { display: inline; margin: 0 auto; line-height: 1; }
29
- .wpt-settings .tabs a { display: inline-block; padding: 4px 8px; border-radius: 4px 4px 0 0; border: 1px solid #ccc; background: #f3f3f3; }
30
- .wpt-settings .tabs a.active { border-bottom: 1px solid #fefefe; background: #fefefe; }
31
- .wpt-settings .wptab { background: #fff; padding: 0 12px; margin-bottom: 10px; min-height: 200px; border: 1px solid #ccc; }
32
- .wpt-settings input[type=text] { font-size: 1.3em; padding: 4px; margin: 0 0 4px; }
 
 
 
33
 
34
  .wpt-terms li{ padding: 2px!important; border-radius: 3px; }
35
  .tweet { background: #070 url(images/Ok.png) right 50% no-repeat; color: #fff; }
5
  #wp-to-twitter .resources {background: url(images/logo.png) 50% 5px no-repeat; padding-top: 70px; text-align: center;}
6
  #wp-to-twitter .resources form {margin: 0;}
7
  .settings {margin: 25px 0;background: #fff;padding: 10px;border: 1px solid #000;}
 
 
8
  #wp-to-twitter .inside em {color: #f33;}
9
  #wp-to-twitter .button-side { position: absolute; top: 0; right: 10px;}
10
  #wp-to-twitter .tokens label { width: 13em; display: block; float: left; margin-top:5px;}
22
  #wp-to-twitter .wpt-upgrade { background: crimson; color: #fff; text-shadow: #000 0 1px 0; border-radius: 2px 2px 0 0; }
23
  .wp-tweets-pro .widefat input[type=text] { width: 100%; }
24
 
25
+ #wpt_settings_page .tabs { margin: 0!important; padding: 0 4px; position: relative; top: 1px; }
26
+ #wpt_settings_page .tabs li { display: inline; margin: 0 auto; line-height: 1; }
27
+ #wpt_settings_page .tabs a { display: inline-block; padding: 4px 8px; border-radius: 4px 4px 0 0; border: 1px solid #ccc; background: #f3f3f3; }
28
+ #wpt_settings_page .tabs a.active { border-bottom: 1px solid #fefefe; background: #fefefe; }
29
+ #wpt_settings_page .wptab { background: #fff; padding: 0 12px; margin-bottom: 10px; min-height: 200px; border: 1px solid #ccc; }
30
+ #wpt_settings_page input[type=text] { font-size: 1.3em; padding: 4px; margin: 0 0 4px; }
31
+
32
+ .wpt-permissions .wptab { padding: 10px; min-height: 160px !important; }
33
+ .wpt-permissions legend { background: none; }
34
 
35
  .wpt-terms li{ padding: 2px!important; border-radius: 3px; }
36
  .tweet { background: #070 url(images/Ok.png) right 50% no-repeat; color: #fff; }
wp-to-twitter-manager.php CHANGED
@@ -129,20 +129,18 @@ function wpt_update_settings() {
129
  update_option('jd_max_tags',3);
130
  update_option('jd_max_characters',15);
131
  update_option('jd_replace_character','');
132
- update_option('wtt_user_permissions','administrator');
133
  $administrator = get_role('administrator');
134
  $administrator->add_cap('wpt_twitter_oauth');
135
  $administrator->add_cap('wpt_twitter_custom');
136
  $administrator->add_cap('wpt_twitter_switch');
137
  $administrator->add_cap('wpt_can_tweet');
 
138
  $editor = get_role('editor');
139
  if ( is_object( $editor ) ) { $editor->add_cap('wpt_can_tweet'); }
140
  $author = get_role('author');
141
  if ( is_object( $author ) ) { $author->add_cap('wpt_can_tweet'); }
142
  $contributor = get_role('contributor');
143
  if ( is_object( $contributor ) ) { $contributor->add_cap('wpt_can_tweet'); }
144
- update_option('wpt_can_tweet','contributor');
145
- update_option('wtt_show_custom_tweet','administrator');
146
 
147
  update_option( 'jd_twit_remote', '0' );
148
  update_option( 'jd_post_excerpt', 30 );
@@ -238,133 +236,25 @@ function wpt_update_settings() {
238
 
239
  update_option( 'twitter-analytics-campaign', $_POST['twitter-analytics-campaign'] );
240
  update_option( 'jd_individual_twitter_users', ( isset( $_POST['jd_individual_twitter_users'] )? $_POST['jd_individual_twitter_users']:0 ) );
241
- $wtt_user_permissions = $_POST['wtt_user_permissions'];
242
- $prev = get_option('wtt_user_permissions');
243
- if ( $wtt_user_permissions != $prev ) {
244
- $subscriber = get_role('subscriber'); $subscriber->remove_cap('wpt_twitter_oauth');
245
- $contributor = get_role('contributor'); $contributor->remove_cap('wpt_twitter_oauth');
246
- $author = get_role('author'); $author->remove_cap('wpt_twitter_oauth');
247
- $editor = get_role('editor'); $editor->remove_cap('wpt_twitter_oauth');
248
- switch ( $wtt_user_permissions ) {
249
- case 'subscriber':
250
- if ( is_object( $subscriber ) ) {
251
- $subscriber->add_cap('wpt_twitter_oauth'); $contributor->add_cap('wpt_twitter_oauth'); $author->add_cap('wpt_twitter_oauth'); $editor->add_cap('wpt_twitter_oauth'); break;
252
- }
253
- case 'contributor':
254
- if ( is_object( $contributor ) ) {
255
- $contributor->add_cap('wpt_twitter_oauth'); $author->add_cap('wpt_twitter_oauth'); $editor->add_cap('wpt_twitter_oauth'); break;
256
- }
257
- case 'author':
258
- if ( is_object( $author ) ) {
259
- $author->add_cap('wpt_twitter_oauth'); $editor->add_cap('wpt_twitter_oauth'); break;
260
- }
261
- case 'editor':
262
- if ( is_object( $editor ) ) {
263
- $editor->add_cap('wpt_twitter_oauth'); break;
264
- }
265
- default:
266
- $role = get_role( $wtt_user_permissions );
267
- $role->add_cap('wpt_twitter_oauth');
268
- break;
269
- }
270
- }
271
- update_option( 'wtt_user_permissions',$wtt_user_permissions);
272
 
273
- $wtt_show_custom_tweet = $_POST['wtt_show_custom_tweet'];
274
- $prev = get_option('wtt_show_custom_tweet');
275
- if ( $wtt_show_custom_tweet != $prev ) {
276
- $subscriber = get_role('subscriber'); $subscriber->remove_cap('wpt_twitter_custom');
277
- $contributor = get_role('contributor'); $contributor->remove_cap('wpt_twitter_custom');
278
- $author = get_role('author'); $author->remove_cap('wpt_twitter_custom');
279
- $editor = get_role('editor'); $editor->remove_cap('wpt_twitter_custom');
280
- switch ( $wtt_show_custom_tweet ) {
281
- case 'subscriber':
282
- if ( is_object( $subscriber ) ) {
283
- $subscriber->add_cap('wpt_twitter_custom'); $contributor->add_cap('wpt_twitter_custom'); $author->add_cap('wpt_twitter_custom'); $editor->add_cap('wpt_twitter_custom'); break;
284
- }
285
- case 'contributor':
286
- if ( is_object( $contributor ) ) {
287
- $contributor->add_cap('wpt_twitter_custom'); $author->add_cap('wpt_twitter_custom'); $editor->add_cap('wpt_twitter_custom'); break;
288
- }
289
- case 'author':
290
- if ( is_object( $author ) ) {
291
- $author->add_cap('wpt_twitter_custom'); $editor->add_cap('wpt_twitter_custom'); break;
292
- }
293
- case 'editor':
294
- if ( is_object( $editor ) ) {
295
- $editor->add_cap('wpt_twitter_custom'); break;
296
- }
297
- default:
298
- $role = get_role( $wtt_show_custom_tweet );
299
- $role->add_cap('wpt_twitter_custom');
300
- break;
301
- }
302
- }
303
- update_option( 'wtt_show_custom_tweet',$wtt_show_custom_tweet);
304
 
305
- $wpt_twitter_switch = $_POST['wpt_twitter_switch'];
306
- $prev = get_option('wpt_twitter_switch');
307
- if ( $wpt_twitter_switch != $prev ) {
308
- $subscriber = get_role('subscriber'); $subscriber->remove_cap('wpt_twitter_switch');
309
- $contributor = get_role('contributor'); $contributor->remove_cap('wpt_twitter_switch');
310
- $author = get_role('author'); $author->remove_cap('wpt_twitter_switch');
311
- $editor = get_role('editor'); $editor->remove_cap('wpt_twitter_switch');
312
- switch ( $wpt_twitter_switch ) {
313
- case 'subscriber':
314
- if ( is_object( $subscriber ) ) {
315
- $subscriber->add_cap('wpt_twitter_switch'); $contributor->add_cap('wpt_twitter_switch'); $author->add_cap('wpt_twitter_switch'); $editor->add_cap('wpt_twitter_switch'); break;
316
- }
317
- case 'contributor':
318
- if ( is_object( $contributor ) ) {
319
- $contributor->add_cap('wpt_twitter_switch'); $author->add_cap('wpt_twitter_switch'); $editor->add_cap('wpt_twitter_switch'); break;
320
- }
321
- case 'author':
322
- if ( is_object( $author ) ) {
323
- $author->add_cap('wpt_twitter_switch'); $editor->add_cap('wpt_twitter_switch'); break;
324
- }
325
- case 'editor':
326
- if ( is_object( $editor ) ) {
327
- $editor->add_cap('wpt_twitter_switch'); break;
328
  }
329
- default:
330
- $role = get_role( $wpt_twitter_switch );
331
- $role->add_cap('wpt_twitter_switch');
332
- break;
333
  }
334
  }
335
- update_option( 'wpt_twitter_switch',$wpt_twitter_switch);
336
 
337
- $wpt_can_tweet = $_POST['wpt_can_tweet'];
338
- $prev = get_option('wpt_can_tweet');
339
- if ( $wpt_can_tweet != $prev ) {
340
- $subscriber = get_role('subscriber'); $subscriber->remove_cap('wpt_can_tweet');
341
- $contributor = get_role('contributor'); $contributor->remove_cap('wpt_can_tweet');
342
- $author = get_role('author'); $author->remove_cap('wpt_can_tweet');
343
- $editor = get_role('editor'); $editor->remove_cap('wpt_can_tweet');
344
- switch ( $wpt_can_tweet ) {
345
- case 'subscriber':
346
- if ( is_object( $subscriber ) ) {
347
- $subscriber->add_cap('wpt_can_tweet'); $contributor->add_cap('wpt_can_tweet'); $author->add_cap('wpt_can_tweet'); $editor->add_cap('wpt_can_tweet'); break;
348
- }
349
- case 'contributor':
350
- if ( is_object( $contributor ) ) {
351
- $contributor->add_cap('wpt_can_tweet'); $author->add_cap('wpt_can_tweet'); $editor->add_cap('wpt_can_tweet'); break;
352
- }
353
- case 'author':
354
- if ( is_object( $author ) ) {
355
- $author->add_cap('wpt_can_tweet'); $editor->add_cap('wpt_can_tweet'); break;
356
- }
357
- case 'editor':
358
- if ( is_object( $editor ) ) {
359
- $editor->add_cap('wpt_can_tweet'); break;
360
- }
361
- default:
362
- $role = get_role( $wpt_can_tweet );
363
- $role->add_cap('wpt_can_tweet');
364
- break;
365
- }
366
- }
367
- update_option( 'wpt_can_tweet',$wpt_can_tweet);
368
  update_option( 'wpt_permit_feed_styles', ( isset( $_POST['wpt_permit_feed_styles'] ) ) ? 1 : 0 );
369
  update_option( 'wp_debug_oauth' , ( isset( $_POST['wp_debug_oauth'] ) )? 1 : 0 );
370
  update_option( 'jd_donations' , ( isset( $_POST['jd_donations'] ) )? 1 : 0 );
@@ -507,7 +397,7 @@ function wpt_update_settings() {
507
  }
508
  echo "</ul>";
509
  if ( !function_exists( 'wpt_pro_exists' ) ) {
510
- printf( __('<a href="%s">Upgrade to WP Tweets PRO</a> to filter posts in all custom post types on any taxonomy.','wp-to-twitter' ), "https://www.joedolson.com/articles/wp-tweets-pro/" );
511
  } else {
512
  _e( 'Updating the WP Tweets PRO taxonomy filters will overwrite your old category filters.','wp-to-twitter' );
513
  }
@@ -674,41 +564,47 @@ function wpt_update_settings() {
674
  <p id="jd_individual_twitter_users_label"><?php _e('Authors can add their username in their user profile. With the free edition of WP to Twitter, it adds an @reference to the author. The @reference is placed using the <code>#account#</code> shortcode, which will pick up the main account if the user account isn\'t configured.', 'wp-to-twitter'); ?>
675
  </p>
676
  </fieldset>
 
677
  <fieldset>
678
  <legend><?php _e('Permissions','wp-to-twitter'); ?></legend>
679
- <?php
 
 
 
 
 
 
 
680
  global $wp_roles;
681
  $roles = $wp_roles->get_names();
682
- $roles = array_map( 'translate_user_role', $roles );
683
- $options = $permissions = $switcher = $can_tweet = '';
 
 
 
 
 
 
684
  foreach ( $roles as $role=>$rolename ) {
685
- $permissions .= ($role !='subscriber')?"<option value='$role'".wtt_option_selected(get_option('wtt_user_permissions'),$role,'option').">$rolename</option>\n":'';
686
- $options .= ($role !='subscriber')?"<option value='$role'".wtt_option_selected(get_option('wtt_show_custom_tweet'),$role,'option').">$rolename</option>\n":'';
687
- $switcher .= ($role !='subscriber')?"<option value='$role'".wtt_option_selected(get_option('wpt_twitter_switch'),$role,'option').">$rolename</option>\n":'';
688
- $can_tweet .= ($role !='subscriber')?"<option value='$role'".wtt_option_selected(get_option('wpt_can_tweet'),$role,'option').">$rolename</option>\n":'';
 
 
 
 
 
 
689
  }
690
- ?>
691
- <p>
692
- <select id="wtt_user_permissions" name="wtt_user_permissions">
693
- <?php echo $permissions; ?>
694
- </select> <label for="wtt_user_permissions"><?php _e('The lowest user group that can add their Twitter information','wp-to-twitter'); ?></label>
695
- </p>
696
- <p>
697
- <select id="wtt_show_custom_tweet" name="wtt_show_custom_tweet">
698
- <?php echo $options; ?>
699
- </select> <label for="wtt_show_custom_tweet"><?php _e('The lowest user group that can see the Custom Tweet options when posting','wp-to-twitter'); ?></label>
700
- </p>
701
- <p>
702
- <select id="wpt_twitter_switch" name="wpt_twitter_switch">
703
- <?php echo $switcher; ?>
704
- </select> <label for="wpt_twitter_switch"><?php _e('The lowest user group that can toggle the Tweet/Don\'t Tweet option','wp-to-twitter'); ?></label>
705
- </p>
706
- <p>
707
- <select id="wpt_can_tweet" name="wpt_can_tweet">
708
- <?php echo $can_tweet; ?>
709
- </select> <label for="wpt_can_tweet"><?php _e('The lowest user group that can send Twitter updates','wp-to-twitter'); ?></label>
710
- </p>
711
  </fieldset>
 
712
  <fieldset>
713
  <legend><?php _e('Error Messages and Debugging','wp-to-twitter'); ?></legend>
714
  <ul>
@@ -740,7 +636,7 @@ function wpt_update_settings() {
740
  <input type="hidden" name="submit-type" value="check-support" />
741
  <?php $nonce = wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, false).wp_referer_field(false); echo "<div>$nonce</div>"; ?>
742
  <p>
743
- <input type="submit" name="submit" value="<?php _e('Check Support','wp-to-twitter'); ?>" class="button-primary" /> <?php _e('Check whether your server supports <a href="http://www.joedolson.com/articles/wp-to-twitter/">WP to Twitter\'s</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods.','wp-to-twitter'); ?>
744
  </p>
745
  </fieldset>
746
  </form>
@@ -768,8 +664,8 @@ function wpt_sidebar() {
768
  <a href="https://twitter.com/intent/follow?screen_name=joedolson" class="twitter-follow-button" data-size="small" data-related="joedolson">Follow @joedolson</a>
769
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
770
  </p>
771
- <?php if ( function_exists( 'wpt_pro_exists' ) ) { $support_url = admin_url('admin.php?page=wp-tweets-pro'); } else { $support = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); } ?>
772
- <a href="<?php echo $support_url; ?>#get-support"><?php _e("Get Support",'wp-to-twitter'); ?></a> &bull; <a href="https://www.joedolson.com/articles/wp-content/uploads/wp-tweets-pro-users-guide-1.6.0.pdf"><?php _e( 'Read the Manual', 'wp-to-twitter' ); ?></a>
773
  <?php if ( get_option('jd_donations') != 1 && !function_exists( 'wpt_pro_exists' ) ) { ?>
774
  <p><?php _e('<a href="http://www.joedolson.com/donate.php">Make a donation today!</a><br />Every donation matters - donate $5, $20, or $100 today!','wp-to-twitter'); ?></p>
775
  <div class='donations'>
@@ -793,14 +689,14 @@ function wpt_sidebar() {
793
  <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
794
  <h3 class='wpt-upgrade hndle'><span><strong><?php _e('Upgrade Now!','wp-to-twitter'); ?></strong></span></h3>
795
  <div class="inside purchase">
796
- <strong><a href="http://www.joedolson.com/articles/wp-tweets-pro/"><?php _e('Upgrade to <strong>WP Tweets PRO</strong>!','wp-to-twitter'); ?></a></strong>
797
  <p><?php _e('Bonuses in the PRO upgrade:','wp-to-twitter'); ?></p>
798
  <ul>
799
- <li><?php _e('Authors can post to their own Twitter accounts','wp-to-twitter'); ?></li>
800
- <li><?php _e('Delay Tweets minutes or hours after you publish','wp-to-twitter'); ?></li>
801
- <li><?php _e('Automatically schedule Tweets to post again later','wp-to-twitter'); ?></li>
802
- <li><?php _e('Send Tweets for approved comments','wp-to-twitter'); ?></li>
803
- <li><?php _e('Filter Tweets by category, tag, or custom taxonomy','wp-to-twitter'); ?></li>
804
  </ul>
805
 
806
  </div>
129
  update_option('jd_max_tags',3);
130
  update_option('jd_max_characters',15);
131
  update_option('jd_replace_character','');
 
132
  $administrator = get_role('administrator');
133
  $administrator->add_cap('wpt_twitter_oauth');
134
  $administrator->add_cap('wpt_twitter_custom');
135
  $administrator->add_cap('wpt_twitter_switch');
136
  $administrator->add_cap('wpt_can_tweet');
137
+ $administrator->add_cap('wpt_tweet_now');
138
  $editor = get_role('editor');
139
  if ( is_object( $editor ) ) { $editor->add_cap('wpt_can_tweet'); }
140
  $author = get_role('author');
141
  if ( is_object( $author ) ) { $author->add_cap('wpt_can_tweet'); }
142
  $contributor = get_role('contributor');
143
  if ( is_object( $contributor ) ) { $contributor->add_cap('wpt_can_tweet'); }
 
 
144
 
145
  update_option( 'jd_twit_remote', '0' );
146
  update_option( 'jd_post_excerpt', 30 );
236
 
237
  update_option( 'twitter-analytics-campaign', $_POST['twitter-analytics-campaign'] );
238
  update_option( 'jd_individual_twitter_users', ( isset( $_POST['jd_individual_twitter_users'] )? $_POST['jd_individual_twitter_users']:0 ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
 
241
+ if ( isset($_POST['wpt_caps'] ) ) {
242
+ $perms = $_POST['wpt_caps'];
243
+ $caps = array( 'wpt_twitter_oauth', 'wpt_twitter_custom', 'wpt_twitter_switch', 'wpt_can_tweet', 'wpt_tweet_now' );
244
+ foreach ( $perms as $key => $value ) {
245
+ $role = get_role( $key );
246
+ if ( is_object( $role ) ) {
247
+ foreach( $caps as $v ) {
248
+ if ( isset($value[$v]) ) {
249
+ $role->add_cap( $v );
250
+ } else {
251
+ $role->remove_cap( $v );
252
+ }
 
 
 
 
 
 
 
 
 
 
 
253
  }
254
+ }
 
 
 
255
  }
256
  }
 
257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  update_option( 'wpt_permit_feed_styles', ( isset( $_POST['wpt_permit_feed_styles'] ) ) ? 1 : 0 );
259
  update_option( 'wp_debug_oauth' , ( isset( $_POST['wp_debug_oauth'] ) )? 1 : 0 );
260
  update_option( 'jd_donations' , ( isset( $_POST['jd_donations'] ) )? 1 : 0 );
397
  }
398
  echo "</ul>";
399
  if ( !function_exists( 'wpt_pro_exists' ) ) {
400
+ printf( __('<a href="%s">Upgrade to WP Tweets PRO</a> to filter posts in all custom post types on any taxonomy.','wp-to-twitter' ), "https://www.joedolson.com/wp-tweets-pro/" );
401
  } else {
402
  _e( 'Updating the WP Tweets PRO taxonomy filters will overwrite your old category filters.','wp-to-twitter' );
403
  }
564
  <p id="jd_individual_twitter_users_label"><?php _e('Authors can add their username in their user profile. With the free edition of WP to Twitter, it adds an @reference to the author. The @reference is placed using the <code>#account#</code> shortcode, which will pick up the main account if the user account isn\'t configured.', 'wp-to-twitter'); ?>
565
  </p>
566
  </fieldset>
567
+ <div class='wpt-permissions'>
568
  <fieldset>
569
  <legend><?php _e('Permissions','wp-to-twitter'); ?></legend>
570
+ <?php
571
+ function wpt_check_caps($role,$cap) {
572
+ $role = get_role($role);
573
+ if ( $role->has_cap($cap) ) { return " checked='checked'"; }
574
+ }
575
+ function wpt_cap_checkbox( $role, $cap, $name ) {
576
+ return "<li><input type='checkbox' id='wpt_caps_{$role}_$cap' name='wpt_caps[$role][$cap]' value='on'".wpt_check_caps($role,$cap)." /> <label for='wpt_caps_{$role}_$cap'>$name</label></li>";
577
+ }
578
  global $wp_roles;
579
  $roles = $wp_roles->get_names();
580
+ $caps = array(
581
+ 'wpt_can_tweet'=>__( 'Can send Tweets','wp-to-twitter' ),
582
+ 'wpt_twitter_custom'=>__( 'See Custom Tweet Field when creating a Post','wp-to-twitter' ),
583
+ 'wpt_twitter_switch'=>__( 'Toggle the Tweet/Don\'t Tweet option','wp-to-twitter' ),
584
+ 'wpt_tweet_now'=>__( 'Can see Tweet Now button','wp-to-twitter' ),
585
+ 'wpt_twitter_oauth'=>__( 'Add Twitter Information to User Profile','wp-to-twitter' )
586
+ );
587
+ $role_tabs = $role_container = '';
588
  foreach ( $roles as $role=>$rolename ) {
589
+ if ( $role == 'administrator' ) continue;
590
+ $role_tabs .= "<li><a href='#wpt_$role'>$rolename</a></li>\n";
591
+ $role_container .= "<div class='wptab wpt_$role' id='wpt_$role' aria-live='assertive'><fieldset id='wpt_$role' class='roles'><legend>$rolename</legend>";
592
+ $role_container .= "<input type='hidden' value='none' name='wpt_caps[".$role."][none]' />
593
+ <ul class='wpt-settings checkboxes'>";
594
+ foreach( $caps as $cap=>$name ) {
595
+ $role_container .= wpt_cap_checkbox( $role, $cap,$name );
596
+ }
597
+ $role_container .= "
598
+ </ul></fieldset></div>\n";
599
  }
600
+ echo "
601
+ <ul class='tabs'>
602
+ $role_tabs
603
+ </ul>
604
+ $role_container";
605
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
606
  </fieldset>
607
+ </div>
608
  <fieldset>
609
  <legend><?php _e('Error Messages and Debugging','wp-to-twitter'); ?></legend>
610
  <ul>
636
  <input type="hidden" name="submit-type" value="check-support" />
637
  <?php $nonce = wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, false).wp_referer_field(false); echo "<div>$nonce</div>"; ?>
638
  <p>
639
+ <input type="submit" name="submit" value="<?php _e('Check Support','wp-to-twitter'); ?>" class="button-primary" /> <?php _e('Check whether your server supports <a href="http://www.joedolson.com/wp-to-twitter/">WP to Twitter\'s</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods.','wp-to-twitter'); ?>
640
  </p>
641
  </fieldset>
642
  </form>
664
  <a href="https://twitter.com/intent/follow?screen_name=joedolson" class="twitter-follow-button" data-size="small" data-related="joedolson">Follow @joedolson</a>
665
  <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
666
  </p>
667
+ <?php if ( function_exists( 'wpt_pro_exists' ) ) { $support_url = admin_url('admin.php?page=wp-tweets-pro'); } else { $support_url = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); } ?>
668
+ <a href="<?php echo $support_url; ?>#get-support"><?php _e("Get Support",'wp-to-twitter'); ?></a> &bull; <a href="https://www.joedolson.com/wp-content/uploads/wp-tweets-pro-users-guide-1.6.0.pdf"><?php _e( 'Read the Manual', 'wp-to-twitter' ); ?></a>
669
  <?php if ( get_option('jd_donations') != 1 && !function_exists( 'wpt_pro_exists' ) ) { ?>
670
  <p><?php _e('<a href="http://www.joedolson.com/donate.php">Make a donation today!</a><br />Every donation matters - donate $5, $20, or $100 today!','wp-to-twitter'); ?></p>
671
  <div class='donations'>
689
  <div class="handlediv"><span class="screen-reader-text">Click to toggle</span></div>
690
  <h3 class='wpt-upgrade hndle'><span><strong><?php _e('Upgrade Now!','wp-to-twitter'); ?></strong></span></h3>
691
  <div class="inside purchase">
692
+ <strong><a href="http://www.joedolson.com/wp-tweets-pro/"><?php _e('Upgrade to <strong>WP Tweets PRO</strong>!','wp-to-twitter'); ?></a></strong>
693
  <p><?php _e('Bonuses in the PRO upgrade:','wp-to-twitter'); ?></p>
694
  <ul>
695
+ <li><?php _e( 'Authors can post to their own Twitter accounts','wp-to-twitter' ); ?></li>
696
+ <li><?php _e( 'Delay Tweets minutes or hours after you publish','wp-to-twitter' ); ?></li>
697
+ <li><?php _e( 'Automatically schedule Tweets to post again later','wp-to-twitter' ); ?></li>
698
+ <li><?php _e( 'Send Tweets for approved comments','wp-to-twitter' ); ?></li>
699
+ <li><?php _e( 'Filter Tweets by category, tag, or custom taxonomy','wp-to-twitter' ); ?></li>
700
  </ul>
701
 
702
  </div>
wp-to-twitter-oauth.php CHANGED
@@ -41,7 +41,7 @@ if ( !$auth ) {
41
  if ( !empty( $ack ) && !empty( $acs ) && !empty( $ot ) && !empty( $ots ) ) {
42
  require_once( plugin_dir_path(__FILE__).'wpt_twitter_oauth.php' );
43
  $connection = new jd_TwitterOAuth( $ack,$acs,$ot,$ots );
44
- $connection->useragent = 'WP to Twitter http://www.joedolson.com/articles/wp-to-twitter';
45
  return $connection;
46
  } else {
47
  return false;
@@ -282,7 +282,7 @@ $nonce = ( !$auth )?wp_nonce_field('wp-to-twitter-nonce', '_wpnonce', true, fals
282
  } else {
283
  $submit = '<input type="checkbox" name="oauth_settings" value="wtt_twitter_disconnect" id="disconnect" /> <label for="disconnect">'.__('Disconnect your WordPress and Twitter Account','wp-to-twitter').'</label>';
284
  }
285
- $warning = ( get_option('wpt_authentication_missing') )?'<p>'.__('<strong>Troubleshooting tip:</strong> Connected, but getting a error that your Authentication credentials are missing or incorrect? Check that your Access token has read and write permission. If not, you\'ll need to create a new token. <a href="http://www.joedolson.com/articles/wp-to-twitter/support-2/#q1">Read the FAQ</a>','wp-to-twitter').'</p>':'';
286
  if ( !is_wp_error( $response ) ) {
287
  $diff = ( abs( time() - strtotime($response['headers']['date']) ) > 300 )?'<p> '.__( 'Your time stamps are more than 5 minutes apart. Your server could lose its connection with Twitter.','wp-to-twitter').'</p>':'';
288
  } else {
41
  if ( !empty( $ack ) && !empty( $acs ) && !empty( $ot ) && !empty( $ots ) ) {
42
  require_once( plugin_dir_path(__FILE__).'wpt_twitter_oauth.php' );
43
  $connection = new jd_TwitterOAuth( $ack,$acs,$ot,$ots );
44
+ $connection->useragent = 'WP to Twitter http://www.joedolson.com/wp-to-twitter';
45
  return $connection;
46
  } else {
47
  return false;
282
  } else {
283
  $submit = '<input type="checkbox" name="oauth_settings" value="wtt_twitter_disconnect" id="disconnect" /> <label for="disconnect">'.__('Disconnect your WordPress and Twitter Account','wp-to-twitter').'</label>';
284
  }
285
+ $warning = ( get_option('wpt_authentication_missing') )?'<p>'.__('<strong>Troubleshooting tip:</strong> Connected, but getting a error that your Authentication credentials are missing or incorrect? Check that your Access token has read and write permission. If not, you\'ll need to create a new token. <a href="http://www.joedolson.com/wp-to-twitter/support-2/#q1">Read the FAQ</a>','wp-to-twitter').'</p>':'';
286
  if ( !is_wp_error( $response ) ) {
287
  $diff = ( abs( time() - strtotime($response['headers']['date']) ) > 300 )?'<p> '.__( 'Your time stamps are more than 5 minutes apart. Your server could lose its connection with Twitter.','wp-to-twitter').'</p>':'';
288
  } else {
wp-to-twitter.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
  Plugin Name: WP to Twitter
4
- Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/
5
- Description: Posts a Tweet when you update your WordPress blog or post to your blogroll, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
- Version: 2.8.9
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
@@ -48,7 +48,7 @@ require_once( plugin_dir_path(__FILE__).'/wpt-feed.php' );
48
  require_once( plugin_dir_path(__FILE__).'/wpt-widget.php' );
49
 
50
  global $wpt_version;
51
- $wpt_version = "2.8.9";
52
  $plugin_dir = basename(dirname(__FILE__));
53
  load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
54
 
@@ -56,18 +56,18 @@ function wpt_pro_compatibility() {
56
  global $wptp_version;
57
  $current_wptp_version = '1.7.0';
58
  if ( version_compare( $wptp_version, $current_wptp_version, '<' ) ) {
59
- echo "<div class='error notice'><p class='upgrade'>".sprintf( __('The current version of WP Tweets PRO is <strong>%s</strong>. <a href="http://www.joedolson.com/articles/account/">Update for best compatibility!</a>','wp-to-twitter'), $current_wptp_version )."</p></div>";
60
  }
61
  }
62
 
63
- $wpt_donate_url = "http://www.joedolson.com/articles/wp-tweets-pro/";
64
 
65
  function wpt_commments_removed() {
66
  if ( isset($_GET['dismiss']) ) {
67
  update_option( 'wpt_dismissed', 'true' );
68
  }
69
  if ( get_option( 'comment-published-update' ) == 1 && !function_exists( 'wpt_pro_exists' ) && get_option( 'wpt_dismissed' ) != 'true' ) {
70
- $update_notice = sprintf( __('Tweeting of comments has been moved to <a href="%1$s">WP Tweets PRO</a>. You will need to upgrade in order to Tweet comments. <a href="%2$s">Dismiss</a>'), 'http://www.joedolson.com/articles/wp-tweets-pro/', admin_url( "options-general.php?page=wp-to-twitter/wp-to-twitter.php&dismiss=true" ) );
71
  if ( is_admin() ) {
72
  echo "<div class='updated'><p>".($update_notice)."</p></div>";
73
  }
@@ -96,67 +96,10 @@ function wptotwitter_activate() {
96
  global $wpt_version;
97
  $prev_version = get_option( 'wp_to_twitter_version' );
98
  // this is a switch to plan for future versions
99
- $upgrade = version_compare( $prev_version, "2.3.1","<" );
100
- if ($upgrade) {
101
- $array =
102
- array(
103
- 'post'=> array(
104
- 'post-published-update'=>get_option('newpost-published-update'),
105
- 'post-published-text'=>get_option('newpost-published-text'),
106
- 'post-edited-update'=>get_option('oldpost-edited-update'),
107
- 'post-edited-text'=>get_option('oldpost-edited-text')
108
- ),
109
- 'page'=> array(
110
- 'post-published-update'=>get_option('jd_twit_pages'),
111
- 'post-published-text'=>get_option('newpage-published-text'),
112
- 'post-edited-update'=>get_option('jd_twit_edited_pages'),
113
- 'post-edited-text'=>get_option('oldpage-edited-text')
114
- )
115
- );
116
- add_option( 'wpt_post_types', $array );
117
- add_option( 'comment-published-update', 0 );
118
- add_option( 'comment-published-text', 'New comment on #title# #url#' );
119
- delete_option('newpost-published-update');
120
- delete_option('newpost-published-text');
121
- delete_option('oldpost-edited-update');
122
- delete_option('oldpost-edited-text');
123
- delete_option('newpage-published-text');
124
- delete_option('oldpage-edited-text');
125
- delete_option( 'newpost-published-showlink' );
126
- delete_option( 'oldpost-edited-showlink' );
127
- delete_option( 'jd_twit_pages' );
128
- delete_option( 'jd_twit_edited_pages' );
129
- delete_option( 'jd_twit_postie' );
130
- }
131
- $upgrade = version_compare( $prev_version, "2.3.3","<" );
132
- if ( $upgrade ) {
133
- delete_option( 'jd_twit_quickpress' );
134
- }
135
- $upgrade = version_compare( $prev_version, "2.3.4","<" );
136
- if ( $upgrade ) {
137
- add_option( 'wpt_inline_edits', '0' );
138
- }
139
- $upgrade = version_compare( $prev_version, "2.3.15","<" );
140
- if ( $upgrade ) {
141
- $use = get_option( 'use_tags_as_hashtags' );
142
- if ( $use == 1 ) {
143
- $wpt_settings = get_option( 'wpt_post_types' );
144
- $post_types = get_post_types( '', 'names' );
145
- foreach ( $post_types as $type ) {
146
- if ( isset($wpt_settings[$type]) ) {
147
- $t1 = $wpt_settings[$type]['post-published-text'].' #tags#';
148
- $t2 = $wpt_settings[$type]['post-edited-text'].' #tags#';
149
- $wpt_settings[$type]['post-published-text'] = $t1;
150
- $wpt_settings[$type]['post-edited-text'] = $t2;
151
- }
152
- }
153
- update_option('wpt_post_types',$wpt_settings );
154
- }
155
- delete_option( 'use_tags_as_hashtags' );
156
- }
157
  $upgrade = version_compare( $prev_version, "2.4.0","<" );
158
  if ( $upgrade ) {
159
- $perms = get_option('wtt_user_permissions');
160
  switch( $perms ) {
161
  case 'read':$update = 'subscriber'; break;
162
  case 'edit_posts':$update = 'contributor'; break;
@@ -169,11 +112,10 @@ function wptotwitter_activate() {
169
  }
170
  $upgrade = version_compare( $prev_version, "2.4.1","<" );
171
  if ( $upgrade ) {
172
- $subscriber = get_role('subscriber');
173
- $contributor = get_role('contributor');
174
- $author = get_role('author');
175
- $editor = get_role('editor');
176
- $administrator = get_role('administrator');
177
  $administrator->add_cap('wpt_twitter_oauth');
178
  $administrator->add_cap('wpt_twitter_custom');
179
  $administrator->add_cap('wpt_twitter_switch'); // can toggle tweet/don't tweet
@@ -206,7 +148,6 @@ function wptotwitter_activate() {
206
  }
207
  $upgrade = version_compare( $prev_version, "2.4.13","<" );
208
  if ( $upgrade ) {
209
- $administrator = get_role('administrator');
210
  $administrator->add_cap('wpt_can_tweet');
211
  $editor = get_role('editor');
212
  if ( is_object( $editor ) ) { $editor->add_cap('wpt_can_tweet'); }
@@ -216,6 +157,10 @@ function wptotwitter_activate() {
216
  if ( is_object( $contributor ) ) { $contributor->add_cap('wpt_can_tweet'); }
217
  update_option('wpt_can_tweet','contributor');
218
  }
 
 
 
 
219
  update_option( 'wp_to_twitter_version',$wpt_version );
220
  }
221
 
@@ -243,26 +188,26 @@ function jd_doTwitterAPIPost( $twit, $auth=false, $id=false, $media=false ) {
243
  $error = __('This account is not authorized to post to Twitter.','wp-to-twitter' );
244
  wpt_saves_error( $id, $auth, $twit, $error, '401', time() );
245
  wpt_set_log( 'wpt_status_message', $id, $error );
246
- return true;
247
  } // exit silently if not authorized
248
  $check = ( !$auth ) ? get_option('jd_last_tweet') : get_user_meta( $auth, 'wpt_last_tweet', true ); // get user's last tweet
249
  // prevent duplicate Tweets
250
  if ( $check == $twit ) {
251
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
252
- wpt_mail( "Matched: tweet identical: #$id","This Tweet: $twit; Check Tweet: $check; $auth, $id" ); // DEBUG
253
  }
254
  $error = __( 'This tweet is identical to another Tweet recently sent to this account.','wp-to-twitter' ).' '.__( 'Twitter requires all Tweets to be unique.', 'wp-to-twitter' );
255
  wpt_saves_error( $id, $auth, $twit, $error, '403', time() );
256
  wpt_set_log( 'wpt_status_message', $id, $error );
257
- return true;
258
  } else if ( $twit == '' || !$twit ) {
259
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
260
- wpt_mail( "Tweet check: empty sentence: #$id","$twit, $auth, $id"); // DEBUG
261
  }
262
  $error = __('This tweet was blank and could not be sent to Twitter.','wp-tweets-pro');
263
  wpt_saves_error( $id, $auth, $twit, $error, '403', time() );
264
  wpt_set_log( 'wpt_status_message', $id, $error );
265
- return true;
266
  } else {
267
  // must be designated as media and have a valid attachment
268
  $attachment = ( $media ) ? wpt_post_attachment( $id ) : false;
@@ -276,7 +221,7 @@ function jd_doTwitterAPIPost( $twit, $auth=false, $id=false, $media=false ) {
276
  }
277
  }
278
  // support for HTTP deprecated as of 1/14/2014 -- https://dev.twitter.com/discussions/24239
279
- $api = ( $media && $attachment )?"https://api.twitter.com/1.1/statuses/update_with_media.json":"https://api.twitter.com/1.1/statuses/update.json";
280
  if ( wtt_oauth_test( $auth ) && ( $connection = wtt_oauth_connection( $auth ) ) ) {
281
  if ( $media && $attachment ) {
282
  $connection->media( $api, array( 'status' => $twit, 'source' => 'wp-to-twitter', 'include_entities' => 'true', 'id'=>$id, 'auth'=>$auth ) );
@@ -293,7 +238,7 @@ function jd_doTwitterAPIPost( $twit, $auth=false, $id=false, $media=false ) {
293
  $http_code = ( $connection ) ? $connection->http_code : 'failed';
294
  }
295
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
296
- wpt_mail( 'Twitter Connection', print_r( $connection, 1 ) );
297
  }
298
  if ( $connection ) {
299
  if ( isset( $connection->http_header['x-access-level'] ) && $connection->http_header['x-access-level'] == 'read' ) { $supplement = sprintf( __('Your Twitter application does not have read and write permissions. Go to <a href="%s">your Twitter apps</a> to modify these settings.','wp-to-twitter'), 'https://dev.twitter.com/apps/' ); } else { $supplement = ''; }
@@ -396,7 +341,8 @@ function wpt_is_ssl( $url ) {
396
 
397
  function jd_truncate_tweet( $tweet, $post, $post_ID, $retweet=false, $ref=false ) {
398
  // media file occupies 22 characters, need to account for in shortening.
399
- $tweet_length = ( wpt_post_with_media( $post_ID ) ) ? 117 : 139;
 
400
  $tweet = trim( custom_shortcodes( $tweet, $post_ID ) );
401
  $shrink = ( $post['shortUrl'] != '' )?$post['shortUrl']:apply_filters( 'wptt_shorten_link', $post['postLink'], $post['postTitle'], $post_ID, false );
402
  // generate all template variable values
@@ -563,8 +509,8 @@ function jd_truncate_tweet( $tweet, $post, $post_ID, $retweet=false, $ref=false
563
  // 1) removes URL 2) checks length of remainder 3) Replaces URL
564
  if ( mb_strlen( fake_normalize( $post_tweet ) ) > $tweet_length + 1 ) {
565
  $temp = str_ireplace( $thisposturl, '#url#', $post_tweet );
566
- if ( mb_strlen( fake_normalize( $temp ) ) > ( ( $tweet_length + 1 ) - $tco) && $temp != $post_tweet ) {
567
- $post_tweet = trim(mb_substr( $temp,0,( ( $tweet_length + 1 ) -$tco),$encoding ));
568
  // it's possible to trim off the #url# part in this process. If that happens, put it back.
569
  $sub_sentence = (strpos( $tweet, '#url#' )===false )?$post_tweet:$post_tweet .' '. $thisposturl;
570
  $post_tweet = ( strpos( $post_tweet,'#url#' ) === false )?$sub_sentence:str_ireplace( '#url#',$thisposturl,$post_tweet );
@@ -600,6 +546,7 @@ function jd_post_info( $post_ID ) {
600
  $values['id'] = $post_ID;
601
  // get post author
602
  $values['postinfo'] = $post;
 
603
  $values['authId'] = $post->post_author;
604
  $postdate = $post->post_date;
605
  $altformat = "Y-m-d H:i:s";
@@ -675,7 +622,6 @@ function wpt_post_with_media( $post_ID, $post_info=array() ) {
675
  }
676
  }
677
  return apply_filters( 'wpt_upload_media', $return, $post_ID );
678
-
679
  }
680
 
681
  function wpt_category_limit( $post_type, $post_info, $post_ID ) {
@@ -1002,19 +948,33 @@ function jd_add_twitter_inner_box( $post ) {
1002
  $failed_tweets = get_post_meta( $post_id, '_wpt_failed' );
1003
  $tweet = esc_attr( stripcslashes( get_post_meta( $post_id, '_jd_twitter', true ) ) );
1004
  $tweet = apply_filters( 'wpt_user_text', $tweet, $status );
1005
- $jd_template = ( $status == 'publish' )?$options[$type]['post-edited-text']:$options[$type]['post-published-text'];
1006
 
1007
  if ( $status == 'publish' && $options[$type]['post-edited-update'] != 1 ) {
1008
  $tweet_status = sprintf(__('Tweeting %s edits is disabled.','wp-to-twitter'), $type );
1009
  }
1010
 
1011
- if ( current_user_can('update_core') && function_exists( 'wpt_pro_exists' ) ) {
1012
  wpt_pro_compatibility();
1013
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1014
  if ( $tweet_status != '' ) { echo "<p class='disabled'>$tweet_status</p>"; }
1015
- if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can('update_core') ) { ?>
1016
  <p class='jtw'>
1017
- <label for="jtw"><?php _e("Custom Twitter Post", 'wp-to-twitter', 'wp-to-twitter') ?></label><br /><textarea class="attachmentlinks" name="_jd_twitter" id="jtw" rows="2" cols="60"><?php echo esc_attr( $tweet ); ?></textarea>
1018
  </p>
1019
  <?php
1020
  $jd_expanded = $jd_template;
@@ -1036,19 +996,17 @@ function jd_add_twitter_inner_box( $post ) {
1036
  <input type="hidden" name='_jd_twitter' value='<?php echo esc_attr($tweet); ?>' />
1037
  <?php
1038
  }
1039
- if ( current_user_can( 'wpt_twitter_switch' ) || current_user_can('update_core') ) {
1040
  // "no" means 'Don't Tweet' (is checked)
1041
  $nochecked = ( $jd_tweet_this == 'no' )?' checked="checked"':'';
1042
  $yeschecked = ( $jd_tweet_this == 'yes' )?' checked="checked"':'';
1043
  ?>
1044
- <p><input type="radio" name="_jd_tweet_this" value="no" id="jtn"<?php echo $nochecked; ?> /> <label for="jtn"><?php _e("Don't Tweet this post.", 'wp-to-twitter'); ?></label> <input type="radio" name="_jd_tweet_this" value="yes" id="jty"<?php echo $yeschecked; ?> /> <label for="jty"><?php _e("Tweet this post.", 'wp-to-twitter'); ?></label></p>
1045
  <?php
1046
- } else {
1047
- ?>
1048
  <input type='hidden' name='_jd_tweet_this' value='<?php echo $jd_tweet_this; ?>' />
1049
  <?php
1050
- }
1051
- ?>
1052
  <div class='wpt-options'>
1053
  <?php
1054
  if ( $is_pro == 'pro' ) { $pro_active = " class='active'"; $free_active = ''; } else { $free_active = " class='active'"; $pro_active = ''; }
@@ -1070,9 +1028,9 @@ function jd_add_twitter_inner_box( $post ) {
1070
  } else {
1071
  echo "<p>";
1072
  if ( function_exists( 'wpt_pro_exists' ) ) {
1073
- printf( __( 'WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href="%s">Log in and download now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/account/' );
1074
  } else {
1075
- printf( __( 'Upgrade to WP Tweets PRO to select Twitter accounts! <a href="%s">Upgrade now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/articles/wp-tweets-pro/' );
1076
  }
1077
  echo "</p>";
1078
  }
@@ -1081,16 +1039,16 @@ function jd_add_twitter_inner_box( $post ) {
1081
  }
1082
  ?>
1083
  <div class='wptab' id='custom'><?php
1084
- if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true && ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) ) {
1085
  wpt_schedule_values( $post_id );
1086
  do_action( 'wpt_custom_tab', $post_id, 'visible' );
1087
  } else {
1088
- printf( "<p>".__( 'Upgrade to WP Tweets PRO to configure options! <a href="%s">Upgrade now!</a>'."</p>", 'wp-to-twitter' ), 'http://www.joedolson.com/articles/wp-tweets-pro/' );
1089
  }
1090
  ?></div>
1091
  <?php
1092
  /* WPT PRO */
1093
- if ( !current_user_can( 'wpt_twitter_custom' ) && !current_user_can( 'update_core' ) ) { ?>
1094
  <div class='wptab' id='custom'>
1095
  <p><?php _e('Access to customizing WP to Twitter values is not allowed for your user role.','wp-to-twitter'); ?></p>
1096
  <?php
@@ -1101,7 +1059,7 @@ function jd_add_twitter_inner_box( $post ) {
1101
  </div>
1102
  <?php
1103
  }
1104
- if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) { ?>
1105
  <div class='wptab' id='notes'>
1106
  <p>
1107
  <?php _e("Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 characters. Template Tags: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, or <code>#blog#</code>.", 'wp-to-twitter');
@@ -1114,7 +1072,7 @@ function jd_add_twitter_inner_box( $post ) {
1114
  </div>
1115
  <p class="wpt-support">
1116
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
1117
- <a target="_blank" href="<?php echo admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); ?>#get-support"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &bull; <strong><a target="__blank" href="<?php echo $wpt_donate_url; ?>"><?php _e('Upgrade to WP Tweets Pro', 'wp-to-twitter', 'wp-to-twitter') ?></a></strong> &raquo;
1118
  <?php } else { ?>
1119
  <a target="_blank" href="<?php echo admin_url('admin.php?page=wp-tweets-pro'); ?>#get-support"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &raquo;
1120
  <?php } ?>
@@ -1174,20 +1132,55 @@ function wpt_show_tweets( $previous_tweets, $failed_tweets ) {
1174
  }
1175
  }
1176
 
 
1177
  function wpt_admin_scripts( $hook ) {
1178
  global $current_screen;
1179
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1180
  wp_enqueue_script( 'charCount', plugins_url( 'wp-to-twitter/js/jquery.charcount.js'), array('jquery') );
1181
  }
 
 
 
 
1182
  //echo $current_screen->id;
1183
  if ( $current_screen->id == 'settings_page_wp-to-twitter/wp-to-twitter' || $current_screen->id == 'toplevel_page_wp-tweets-pro' ) {
1184
- wp_register_script( 'wpt.tabs', plugins_url( 'js/tabs.js', __FILE__ ), array( 'jquery' ) );
1185
- wp_enqueue_script( 'wpt.tabs' );
1186
  wp_localize_script( 'wpt.tabs', 'firstItem', 'wpt_post' );
 
1187
  wp_enqueue_script( 'dashboard' );
1188
  }
1189
  }
1190
- add_action( 'admin_enqueue_scripts', 'wpt_admin_scripts', 10, 1 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1191
 
1192
  function wpt_admin_script( $hook ) {
1193
  global $current_screen;
@@ -1269,7 +1262,7 @@ function post_jd_twitter( $id ) {
1269
  function jd_twitter_profile() {
1270
  global $user_ID;
1271
  get_currentuserinfo();
1272
- if ( current_user_can( 'wpt_twitter_oauth' ) || current_user_can('update_core') ) {
1273
  $user_edit = ( isset($_GET['user_id']) )?(int) $_GET['user_id']:$user_ID;
1274
 
1275
  $is_enabled = get_user_meta( $user_edit, 'wp-to-twitter-enable-user',true );
@@ -1468,7 +1461,7 @@ wpt_dismiss_promotion();
1468
  add_action( 'admin_notices', 'wpt_promotion_notice' );
1469
  function wpt_promotion_notice() {
1470
  if ( current_user_can( 'activate_plugins' ) && get_option( 'wpt_promotion_scheduled' ) == 2 && get_option( 'jd_donations' ) != 1 ) {
1471
- $upgrade = "http://www.joedolson.com/articles/wp-tweets-pro/";
1472
  $dismiss = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php&dismiss=promotion');
1473
  echo "<div class='updated fade'><p>".sprintf( __("I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with WordPress! <a href='%s'>Dismiss</a>",'wp-to-twitter'), $upgrade, $dismiss )."</p></div>";
1474
  }
1
  <?php
2
  /*
3
  Plugin Name: WP to Twitter
4
+ Plugin URI: http://www.joedolson.com/wp-to-twitter/
5
+ Description: Posts a Tweet when you update your WordPress blog or post a link, using your URL shortening service. Rich in features for customizing and promoting your Tweets.
6
+ Version: 2.9.0
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
48
  require_once( plugin_dir_path(__FILE__).'/wpt-widget.php' );
49
 
50
  global $wpt_version;
51
+ $wpt_version = "2.9.0";
52
  $plugin_dir = basename(dirname(__FILE__));
53
  load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' );
54
 
56
  global $wptp_version;
57
  $current_wptp_version = '1.7.0';
58
  if ( version_compare( $wptp_version, $current_wptp_version, '<' ) ) {
59
+ echo "<div class='error notice'><p class='upgrade'>".sprintf( __('The current version of WP Tweets PRO is <strong>%s</strong>. <a href="http://www.joedolson.com/account/">Update for best compatibility!</a>','wp-to-twitter'), $current_wptp_version )."</p></div>";
60
  }
61
  }
62
 
63
+ $wpt_donate_url = "http://www.joedolson.com/wp-tweets-pro/";
64
 
65
  function wpt_commments_removed() {
66
  if ( isset($_GET['dismiss']) ) {
67
  update_option( 'wpt_dismissed', 'true' );
68
  }
69
  if ( get_option( 'comment-published-update' ) == 1 && !function_exists( 'wpt_pro_exists' ) && get_option( 'wpt_dismissed' ) != 'true' ) {
70
+ $update_notice = sprintf( __('Tweeting of comments has been moved to <a href="%1$s">WP Tweets PRO</a>. You will need to upgrade in order to Tweet comments. <a href="%2$s">Dismiss</a>'), 'http://www.joedolson.com/wp-tweets-pro/', admin_url( "options-general.php?page=wp-to-twitter/wp-to-twitter.php&dismiss=true" ) );
71
  if ( is_admin() ) {
72
  echo "<div class='updated'><p>".($update_notice)."</p></div>";
73
  }
96
  global $wpt_version;
97
  $prev_version = get_option( 'wp_to_twitter_version' );
98
  // this is a switch to plan for future versions
99
+ $administrator = get_role('administrator');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
100
  $upgrade = version_compare( $prev_version, "2.4.0","<" );
101
  if ( $upgrade ) {
102
+ $perms = get_option( 'wtt_user_permissions' );
103
  switch( $perms ) {
104
  case 'read':$update = 'subscriber'; break;
105
  case 'edit_posts':$update = 'contributor'; break;
112
  }
113
  $upgrade = version_compare( $prev_version, "2.4.1","<" );
114
  if ( $upgrade ) {
115
+ $subscriber = get_role( 'subscriber' );
116
+ $contributor = get_role( 'contributor' );
117
+ $author = get_role( 'author' );
118
+ $editor = get_role( 'editor' );
 
119
  $administrator->add_cap('wpt_twitter_oauth');
120
  $administrator->add_cap('wpt_twitter_custom');
121
  $administrator->add_cap('wpt_twitter_switch'); // can toggle tweet/don't tweet
148
  }
149
  $upgrade = version_compare( $prev_version, "2.4.13","<" );
150
  if ( $upgrade ) {
 
151
  $administrator->add_cap('wpt_can_tweet');
152
  $editor = get_role('editor');
153
  if ( is_object( $editor ) ) { $editor->add_cap('wpt_can_tweet'); }
157
  if ( is_object( $contributor ) ) { $contributor->add_cap('wpt_can_tweet'); }
158
  update_option('wpt_can_tweet','contributor');
159
  }
160
+ $upgrade = version_compare( $prev_version, "2.9.0", "<" );
161
+ if ( $upgrade ) {
162
+ $administrator->add_cap( 'wpt_tweet_now' );
163
+ }
164
  update_option( 'wp_to_twitter_version',$wpt_version );
165
  }
166
 
188
  $error = __('This account is not authorized to post to Twitter.','wp-to-twitter' );
189
  wpt_saves_error( $id, $auth, $twit, $error, '401', time() );
190
  wpt_set_log( 'wpt_status_message', $id, $error );
191
+ return false;
192
  } // exit silently if not authorized
193
  $check = ( !$auth ) ? get_option('jd_last_tweet') : get_user_meta( $auth, 'wpt_last_tweet', true ); // get user's last tweet
194
  // prevent duplicate Tweets
195
  if ( $check == $twit ) {
196
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
197
+ wpt_mail( "Matched: tweet identical: #$id","This Tweet: $twit; Check Tweet: $check; $auth, $id, $media" ); // DEBUG
198
  }
199
  $error = __( 'This tweet is identical to another Tweet recently sent to this account.','wp-to-twitter' ).' '.__( 'Twitter requires all Tweets to be unique.', 'wp-to-twitter' );
200
  wpt_saves_error( $id, $auth, $twit, $error, '403', time() );
201
  wpt_set_log( 'wpt_status_message', $id, $error );
202
+ return false;
203
  } else if ( $twit == '' || !$twit ) {
204
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
205
+ wpt_mail( "Tweet check: empty sentence: #$id","$twit, $auth, $id, $media"); // DEBUG
206
  }
207
  $error = __('This tweet was blank and could not be sent to Twitter.','wp-tweets-pro');
208
  wpt_saves_error( $id, $auth, $twit, $error, '403', time() );
209
  wpt_set_log( 'wpt_status_message', $id, $error );
210
+ return false;
211
  } else {
212
  // must be designated as media and have a valid attachment
213
  $attachment = ( $media ) ? wpt_post_attachment( $id ) : false;
221
  }
222
  }
223
  // support for HTTP deprecated as of 1/14/2014 -- https://dev.twitter.com/discussions/24239
224
+ $api = ( $media && $attachment ) ? "https://api.twitter.com/1.1/statuses/update_with_media.json":"https://api.twitter.com/1.1/statuses/update.json";
225
  if ( wtt_oauth_test( $auth ) && ( $connection = wtt_oauth_connection( $auth ) ) ) {
226
  if ( $media && $attachment ) {
227
  $connection->media( $api, array( 'status' => $twit, 'source' => 'wp-to-twitter', 'include_entities' => 'true', 'id'=>$id, 'auth'=>$auth ) );
238
  $http_code = ( $connection ) ? $connection->http_code : 'failed';
239
  }
240
  if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {
241
+ wpt_mail( 'Twitter Connection', print_r( $connection, 1 )." - $twit, $auth, $id, $media" );
242
  }
243
  if ( $connection ) {
244
  if ( isset( $connection->http_header['x-access-level'] ) && $connection->http_header['x-access-level'] == 'read' ) { $supplement = sprintf( __('Your Twitter application does not have read and write permissions. Go to <a href="%s">your Twitter apps</a> to modify these settings.','wp-to-twitter'), 'https://dev.twitter.com/apps/' ); } else { $supplement = ''; }
341
 
342
  function jd_truncate_tweet( $tweet, $post, $post_ID, $retweet=false, $ref=false ) {
343
  // media file occupies 22 characters, need to account for in shortening.
344
+ $maxlength = apply_filters( 'wpt_max_tweet_length', array( 'with_media' => 117, 'without_media' => 139 ) );
345
+ $tweet_length = ( wpt_post_with_media( $post_ID ) ) ? $maxlength['with_media'] : $maxlength['without_media'];
346
  $tweet = trim( custom_shortcodes( $tweet, $post_ID ) );
347
  $shrink = ( $post['shortUrl'] != '' )?$post['shortUrl']:apply_filters( 'wptt_shorten_link', $post['postLink'], $post['postTitle'], $post_ID, false );
348
  // generate all template variable values
509
  // 1) removes URL 2) checks length of remainder 3) Replaces URL
510
  if ( mb_strlen( fake_normalize( $post_tweet ) ) > $tweet_length + 1 ) {
511
  $temp = str_ireplace( $thisposturl, '#url#', $post_tweet );
512
+ if ( mb_strlen( fake_normalize( $temp ) ) > ( ( $tweet_length + 1 ) - ( $tco - strlen('#url#') ) ) && $temp != $post_tweet ) {
513
+ $post_tweet = trim( mb_substr( $temp, 0, ( ( $tweet_length + 1 ) - ( $tco - strlen('#url#') ) ), $encoding ) );
514
  // it's possible to trim off the #url# part in this process. If that happens, put it back.
515
  $sub_sentence = (strpos( $tweet, '#url#' )===false )?$post_tweet:$post_tweet .' '. $thisposturl;
516
  $post_tweet = ( strpos( $post_tweet,'#url#' ) === false )?$sub_sentence:str_ireplace( '#url#',$thisposturl,$post_tweet );
546
  $values['id'] = $post_ID;
547
  // get post author
548
  $values['postinfo'] = $post;
549
+ $values['postContent'] = $post->post_content;
550
  $values['authId'] = $post->post_author;
551
  $postdate = $post->post_date;
552
  $altformat = "Y-m-d H:i:s";
622
  }
623
  }
624
  return apply_filters( 'wpt_upload_media', $return, $post_ID );
 
625
  }
626
 
627
  function wpt_category_limit( $post_type, $post_info, $post_ID ) {
948
  $failed_tweets = get_post_meta( $post_id, '_wpt_failed' );
949
  $tweet = esc_attr( stripcslashes( get_post_meta( $post_id, '_jd_twitter', true ) ) );
950
  $tweet = apply_filters( 'wpt_user_text', $tweet, $status );
951
+ $jd_template = ( $status == 'publish' )? $options[$type]['post-edited-text'] : $options[$type]['post-published-text'];
952
 
953
  if ( $status == 'publish' && $options[$type]['post-edited-update'] != 1 ) {
954
  $tweet_status = sprintf(__('Tweeting %s edits is disabled.','wp-to-twitter'), $type );
955
  }
956
 
957
+ if ( current_user_can( 'manage_options' ) && function_exists( 'wpt_pro_exists' ) ) {
958
  wpt_pro_compatibility();
959
  }
960
+ if ( $status == 'publish' && ( current_user_can( 'wpt_tweet_now' ) || current_user_can( 'manage_options' ) ) ) { ?>
961
+ <div class='tweet-buttons'>
962
+ <button class='tweet button-primary' data-action='tweet'><?php _e( 'Tweet Now', 'wp-to-twitter' ); ?></button>
963
+ <?php if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() ) { ?>
964
+ <button class='tweet schedule button-secondary' data-action='schedule' disabled><?php _e( 'Schedule', 'wp-to-twitter' ); ?></button>
965
+ <button class='time button-secondary'><div class="dashicons dashicons-clock"><span class="screen-reader-text"><?php _e( 'Set Date/Time','wp-to-twitter' ); ?></span></div></button>
966
+ <div id="jts">
967
+ <label for='wpt_date'><?php _e( 'Date', 'wp-to-twitter' ); ?></label> <input type='date' value='<?php echo date( 'Y-m-d', current_time( 'timestamp' ) ); ?>' class='date' name='wpt_datetime' id='wpt_date' /><br />
968
+ <label for='wpt_time'><?php _e( 'Time', 'wp-to-twitter' ); ?></label> <input type='text' value='<?php echo date_i18n( 'h:s a', current_time( 'timestamp' )+3600 ); ?>' class='time' name='wpt_datetime' id='wpt_time' />
969
+ </div>
970
+ <?php } ?>
971
+ <div class='wpt_log' aria-live='assertive'></div>
972
+ </div>
973
+ <?php }
974
  if ( $tweet_status != '' ) { echo "<p class='disabled'>$tweet_status</p>"; }
975
+ if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'manage_options' ) ) { ?>
976
  <p class='jtw'>
977
+ <label for="jtw"><?php _e( "Custom Twitter Post", 'wp-to-twitter', 'wp-to-twitter' ) ?></label><br /><textarea class="attachmentlinks" name="_jd_twitter" id="jtw" rows="2" cols="60"><?php echo esc_attr( $tweet ); ?></textarea>
978
  </p>
979
  <?php
980
  $jd_expanded = $jd_template;
996
  <input type="hidden" name='_jd_twitter' value='<?php echo esc_attr($tweet); ?>' />
997
  <?php
998
  }
999
+ if ( current_user_can( 'wpt_twitter_switch' ) || current_user_can('manage_options') ) {
1000
  // "no" means 'Don't Tweet' (is checked)
1001
  $nochecked = ( $jd_tweet_this == 'no' )?' checked="checked"':'';
1002
  $yeschecked = ( $jd_tweet_this == 'yes' )?' checked="checked"':'';
1003
  ?>
1004
+ <p class='toggle-btn-group'><input type="radio" name="_jd_tweet_this" value="no" id="jtn"<?php echo $nochecked; ?> /><label for="jtn"><?php _e("Don't Tweet post.", 'wp-to-twitter'); ?></label> <input type="radio" name="_jd_tweet_this" value="yes" id="jty"<?php echo $yeschecked; ?> /> <label for="jty"><?php _e("Tweet post.", 'wp-to-twitter'); ?></label></p>
1005
  <?php
1006
+ } else { ?>
 
1007
  <input type='hidden' name='_jd_tweet_this' value='<?php echo $jd_tweet_this; ?>' />
1008
  <?php
1009
+ } ?>
 
1010
  <div class='wpt-options'>
1011
  <?php
1012
  if ( $is_pro == 'pro' ) { $pro_active = " class='active'"; $free_active = ''; } else { $free_active = " class='active'"; $pro_active = ''; }
1028
  } else {
1029
  echo "<p>";
1030
  if ( function_exists( 'wpt_pro_exists' ) ) {
1031
+ printf( __( 'WP Tweets PRO 1.5.2+ allows you to select Twitter accounts. <a href="%s">Log in and download now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/account/' );
1032
  } else {
1033
+ printf( __( 'Upgrade to WP Tweets PRO to select Twitter accounts! <a href="%s">Upgrade now!</a>', 'wp-to-twitter' ), 'http://www.joedolson.com/wp-tweets-pro/' );
1034
  }
1035
  echo "</p>";
1036
  }
1039
  }
1040
  ?>
1041
  <div class='wptab' id='custom'><?php
1042
+ if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true && ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'manage_options' ) ) ) {
1043
  wpt_schedule_values( $post_id );
1044
  do_action( 'wpt_custom_tab', $post_id, 'visible' );
1045
  } else {
1046
+ printf( "<p>".__( 'Upgrade to WP Tweets PRO to configure options! <a href="%s">Upgrade now!</a>'."</p>", 'wp-to-twitter' ), 'http://www.joedolson.com/wp-tweets-pro/' );
1047
  }
1048
  ?></div>
1049
  <?php
1050
  /* WPT PRO */
1051
+ if ( !current_user_can( 'wpt_twitter_custom' ) && !current_user_can( 'manage_options' ) ) { ?>
1052
  <div class='wptab' id='custom'>
1053
  <p><?php _e('Access to customizing WP to Twitter values is not allowed for your user role.','wp-to-twitter'); ?></p>
1054
  <?php
1059
  </div>
1060
  <?php
1061
  }
1062
+ if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'manage_options' ) ) { ?>
1063
  <div class='wptab' id='notes'>
1064
  <p>
1065
  <?php _e("Tweets must be less than 140 characters; Twitter counts URLs as 22 or 23 characters. Template Tags: <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#modified#</code>, <code>#author#</code>, <code>#account#</code>, <code>#tags#</code>, or <code>#blog#</code>.", 'wp-to-twitter');
1072
  </div>
1073
  <p class="wpt-support">
1074
  <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?>
1075
+ <a target="_blank" href="<?php echo admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); ?>#get-support"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &bull; <strong><a target="__blank" href="<?php echo $wpt_donate_url; ?>"><?php _e('Go Premium', 'wp-to-twitter', 'wp-to-twitter') ?></a></strong> &raquo;
1076
  <?php } else { ?>
1077
  <a target="_blank" href="<?php echo admin_url('admin.php?page=wp-tweets-pro'); ?>#get-support"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &raquo;
1078
  <?php } ?>
1132
  }
1133
  }
1134
 
1135
+ add_action( 'admin_enqueue_scripts', 'wpt_admin_scripts', 10, 1 );
1136
  function wpt_admin_scripts( $hook ) {
1137
  global $current_screen;
1138
  if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) {
1139
  wp_enqueue_script( 'charCount', plugins_url( 'wp-to-twitter/js/jquery.charcount.js'), array('jquery') );
1140
  }
1141
+ if ( $current_screen->base == 'post' && isset( $_GET['post'] ) && ( current_user_can( 'wpt_tweet_now' ) || current_user_can( 'manage_options' ) ) ) {
1142
+ wp_enqueue_script( 'wpt.ajax', plugins_url( 'js/ajax.js', __FILE__ ), array( 'jquery' ) );
1143
+ wp_localize_script( 'wpt.ajax', 'wpt_data', array( 'post_ID'=>(int) $_GET['post'], 'action'=>'wpt_tweet' ) );
1144
+ }
1145
  //echo $current_screen->id;
1146
  if ( $current_screen->id == 'settings_page_wp-to-twitter/wp-to-twitter' || $current_screen->id == 'toplevel_page_wp-tweets-pro' ) {
1147
+ wp_enqueue_script( 'wpt.tabs', plugins_url( 'js/tabs.js', __FILE__ ), array( 'jquery' ) );
 
1148
  wp_localize_script( 'wpt.tabs', 'firstItem', 'wpt_post' );
1149
+ wp_localize_script( 'wpt.tabs', 'firstPerm', 'wpt_editor' );
1150
  wp_enqueue_script( 'dashboard' );
1151
  }
1152
  }
1153
+
1154
+ add_action( 'wp_ajax_wpt_tweet', 'wpt_ajax_tweet' );
1155
+ function wpt_ajax_tweet() {
1156
+ $action = ( $_POST['tweet_action'] == 'tweet' ) ? 'tweet' : 'schedule';
1157
+ $current_user = wp_get_current_user();
1158
+ if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() ) {
1159
+ $auth = $user_ID = $current_user->ID;
1160
+ } else {
1161
+ $auth = false;
1162
+ $user_ID = $current_user->ID;
1163
+ }
1164
+ $options = get_option( 'wpt_post_types' );
1165
+ $post_ID = intval( $_POST['tweet_post_id'] );
1166
+ $type = get_post_type( $post_ID );
1167
+ $default = ( isset( $options[$type]['post-edited-text'] ) ) ? $options[$type]['post-edited-text'] : '';
1168
+ $sentence = ( isset( $_POST['tweet_text'] ) && trim( $_POST['tweet_text'] ) != '' ) ? $_POST['tweet_text'] : $default;
1169
+ $sentence = jd_truncate_tweet( $sentence, jd_post_info( $post_ID ), $post_ID, false, $user_ID );
1170
+ $schedule = ( isset( $_POST['tweet_schedule'] ) ) ? strtotime( $_POST['tweet_schedule'] ) : rand( 60,240 );
1171
+ $print_schedule = date_i18n( get_option( 'date_format' ).' @ '.get_option( 'time_format' ), $schedule );
1172
+ $offset = ( 60 * 60 * get_option( 'gmt_offset' ) );
1173
+ $schedule = $schedule - $offset;
1174
+ switch ( $action ) {
1175
+ case 'tweet' : $return = jd_doTwitterAPIPost( $sentence, $auth, $post_ID ); break;
1176
+ case 'schedule' : $return = wp_schedule_single_event( $schedule, 'wpt_schedule_tweet_action', array( 'id'=>$auth, 'sentence'=>$sentence, 'rt'=>0, 'post_id'=>$post_ID ) );
1177
+ default: $return = false;
1178
+ }
1179
+ $return = ( $action == 'tweet' ) ? wpt_log( 'wpt_status_message', $post_ID ) : "Tweet scheduled: '$sentence' for $print_schedule";
1180
+ echo $return;
1181
+ die;
1182
+ }
1183
+
1184
 
1185
  function wpt_admin_script( $hook ) {
1186
  global $current_screen;
1262
  function jd_twitter_profile() {
1263
  global $user_ID;
1264
  get_currentuserinfo();
1265
+ if ( current_user_can( 'wpt_twitter_oauth' ) || current_user_can('manage_options') ) {
1266
  $user_edit = ( isset($_GET['user_id']) )?(int) $_GET['user_id']:$user_ID;
1267
 
1268
  $is_enabled = get_user_meta( $user_edit, 'wp-to-twitter-enable-user',true );
1461
  add_action( 'admin_notices', 'wpt_promotion_notice' );
1462
  function wpt_promotion_notice() {
1463
  if ( current_user_can( 'activate_plugins' ) && get_option( 'wpt_promotion_scheduled' ) == 2 && get_option( 'jd_donations' ) != 1 ) {
1464
+ $upgrade = "http://www.joedolson.com/wp-tweets-pro/";
1465
  $dismiss = admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php&dismiss=promotion');
1466
  echo "<div class='updated fade'><p>".sprintf( __("I hope you've enjoyed <strong>WP to Twitter</strong>! Take a look at <a href='%s'>upgrading to WP Tweets PRO</a> for advanced Tweeting with WordPress! <a href='%s'>Dismiss</a>",'wp-to-twitter'), $upgrade, $dismiss )."</p></div>";
1467
  }
wpt-functions.php CHANGED
@@ -60,7 +60,7 @@ function is_valid_url( $url ) {
60
  // Fetch a remote page. Input url, return content
61
  function jd_fetch_url( $url, $method='GET', $body='', $headers='', $return='body' ) {
62
  $request = new WP_Http;
63
- $result = $request->request( $url , array( 'method'=>$method, 'body'=>$body, 'headers'=>$headers, 'sslverify'=>false, 'user-agent'=>'WP to Twitter/http://www.joedolson.com/articles/wp-to-twitter/' ) );
64
  // Success?
65
  if ( !is_wp_error( $result ) && isset( $result['body'] ) ) {
66
  if ( $result['response']['code'] == 200 ) {
@@ -233,7 +233,7 @@ function wpt_date_compare( $early,$late ) {
233
  * @param type $post_ID The post ID
234
  * @return An Attachment ID.
235
  */
236
- function wpt_post_attachment($post_ID) {
237
  if ( has_post_thumbnail( $post_ID ) ) {
238
  $attachment = get_post_thumbnail_id( $post_ID );
239
  return $attachment;
@@ -260,8 +260,13 @@ global $current_user, $wpt_version;
260
  get_currentuserinfo();
261
  $request = '';
262
  // send fields for WP to Twitter
263
- $license = ( get_option('wpt_license_key') != '' )?get_option('wpt_license_key'):'none';
264
- $license = "License Key: ".$license;
 
 
 
 
 
265
 
266
  $version = $wpt_version;
267
  $wtt_twitter_username = get_option('wtt_twitter_username');
@@ -275,20 +280,12 @@ get_currentuserinfo();
275
  $php_version = phpversion();
276
 
277
  // theme data
278
- if ( function_exists( 'wp_get_theme' ) ) {
279
  $theme = wp_get_theme();
280
- $theme_name = $theme->Name;
281
- $theme_uri = $theme->ThemeURI;
282
- $theme_parent = $theme->Template;
283
- $theme_version = $theme->Version;
284
- } else {
285
- $theme_path = get_stylesheet_directory().'/style.css';
286
- $theme = get_theme_data($theme_path);
287
- $theme_name = $theme['Name'];
288
- $theme_uri = $theme['ThemeURI'];
289
- $theme_parent = $theme['Template'];
290
- $theme_version = $theme['Version'];
291
- }
292
  // plugin data
293
  $plugins = get_plugins();
294
  $plugins_string = '';
@@ -363,7 +360,7 @@ $plugins_string
363
  echo "<div class='message updated'><p>".sprintf(__("Thanks for using WP to Twitter. Please ensure that you can receive email at <code>%s</code>.",'wp-to-twitter'),$current_user->user_email)."</p></div>";
364
  }
365
  } else {
366
- echo "<div class='message error'><p>".__( "Sorry! I couldn't send that message. Here's the text of your request:", 'my-calendar' )."</p><p>".sprintf( __('<a href="%s">Contact me here</a>, instead</p>','wp-to-twitter'), 'https://www.joedolson.com/articles/contact/')."<pre>$request</pre></div>";
367
  }
368
  }
369
  }
@@ -395,7 +392,7 @@ $plugins_string
395
  <code>".__('Reply to:','wp-to-twitter')." \"$current_user->display_name\" &lt;$current_user->user_email&gt;</code>
396
  </p>
397
  <p>
398
- <input type='checkbox' name='has_read_faq' id='has_read_faq' value='on' required='required' aria-required='true' /> <label for='has_read_faq'>".sprintf(__('I have read <a href="%1$s">the FAQ for this plug-in</a> <span>(required)</span>','wp-to-twitter'),'http://www.joedolson.com/articles/wp-to-twitter/support-2/')."
399
  </p>
400
  <p>
401
  <input type='checkbox' name='has_donated' id='has_donated' value='on' $checked /> <label for='has_donated'>".sprintf(__('I have <a href="%1$s">made a donation to help support this plug-in</a>','wp-to-twitter'),'http://www.joedolson.com/donate.php')."</label>
60
  // Fetch a remote page. Input url, return content
61
  function jd_fetch_url( $url, $method='GET', $body='', $headers='', $return='body' ) {
62
  $request = new WP_Http;
63
+ $result = $request->request( $url , array( 'method'=>$method, 'body'=>$body, 'headers'=>$headers, 'sslverify'=>false, 'user-agent'=>'WP to Twitter/http://www.joedolson.com/wp-to-twitter/' ) );
64
  // Success?
65
  if ( !is_wp_error( $result ) && isset( $result['body'] ) ) {
66
  if ( $result['response']['code'] == 200 ) {
233
  * @param type $post_ID The post ID
234
  * @return An Attachment ID.
235
  */
236
+ function wpt_post_attachment( $post_ID ) {
237
  if ( has_post_thumbnail( $post_ID ) ) {
238
  $attachment = get_post_thumbnail_id( $post_ID );
239
  return $attachment;
260
  get_currentuserinfo();
261
  $request = '';
262
  // send fields for WP to Twitter
263
+ $license = ( get_option('wpt_license_key') != '' ) ? get_option('wpt_license_key') : 'none';
264
+ if ( $license != '' ) {
265
+ $valid = ( get_option( 'wpt_license_valid' ) == 'true' ) ? ' (valid)' : ' (invalid)' ;
266
+ } else {
267
+ $valid = '';
268
+ }
269
+ $license = "License Key: ".$license.$valid;
270
 
271
  $version = $wpt_version;
272
  $wtt_twitter_username = get_option('wtt_twitter_username');
280
  $php_version = phpversion();
281
 
282
  // theme data
 
283
  $theme = wp_get_theme();
284
+ $theme_name = $theme->Name;
285
+ $theme_uri = $theme->ThemeURI;
286
+ $theme_parent = $theme->Template;
287
+ $theme_version = $theme->Version;
288
+
 
 
 
 
 
 
 
289
  // plugin data
290
  $plugins = get_plugins();
291
  $plugins_string = '';
360
  echo "<div class='message updated'><p>".sprintf(__("Thanks for using WP to Twitter. Please ensure that you can receive email at <code>%s</code>.",'wp-to-twitter'),$current_user->user_email)."</p></div>";
361
  }
362
  } else {
363
+ echo "<div class='message error'><p>".__( "Sorry! I couldn't send that message. Here's the text of your request:", 'my-calendar' )."</p><p>".sprintf( __('<a href="%s">Contact me here</a>, instead</p>','wp-to-twitter'), 'https://www.joedolson.com/contact/')."<pre>$request</pre></div>";
364
  }
365
  }
366
  }
392
  <code>".__('Reply to:','wp-to-twitter')." \"$current_user->display_name\" &lt;$current_user->user_email&gt;</code>
393
  </p>
394
  <p>
395
+ <input type='checkbox' name='has_read_faq' id='has_read_faq' value='on' required='required' aria-required='true' /> <label for='has_read_faq'>".sprintf(__('I have read <a href="%1$s">the FAQ for this plug-in</a> <span>(required)</span>','wp-to-twitter'),'http://www.joedolson.com/wp-to-twitter/support-2/')."
396
  </p>
397
  <p>
398
  <input type='checkbox' name='has_donated' id='has_donated' value='on' $checked /> <label for='has_donated'>".sprintf(__('I have <a href="%1$s">made a donation to help support this plug-in</a>','wp-to-twitter'),'http://www.joedolson.com/donate.php')."</label>
wpt_twitter_oauth.php CHANGED
@@ -162,8 +162,8 @@ class jd_TwitterOAuth {
162
  function handleMediaRequest($url, $args = array()) {
163
  /* Load tmhOAuth for Media uploads only when needed: https://github.com/themattharris/tmhOAuth */
164
  if ( !class_exists( 'tmhOAuth' ) ) {
165
- require_once('tmhOAuth/tmhOAuth.php');
166
- require_once('tmhOAuth/tmhUtilities.php');
167
  }
168
  $auth = $args['auth'];
169
  if ( !$auth ) {
162
  function handleMediaRequest($url, $args = array()) {
163
  /* Load tmhOAuth for Media uploads only when needed: https://github.com/themattharris/tmhOAuth */
164
  if ( !class_exists( 'tmhOAuth' ) ) {
165
+ require_once( plugin_dir_path(__FILE__).'tmhOAuth/tmhOAuth.php' );
166
+ require_once( plugin_dir_path(__FILE__).'tmhOAuth/tmhUtilities.php' );
167
  }
168
  $auth = $args['auth'];
169
  if ( !$auth ) {