WordPress.org

Plugin Directory

Changeset 742498


Ignore:
Timestamp:
07/17/13 22:03:50 (9 months ago)
Author:
joedolson
Message:

WP to Twitter version 2.7.0. Adds Twitter Feed widget, bug fixes, deprecated support for WP 3.1.4. Updated UI.

Location:
wp-to-twitter
Files:
10 added
3 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • wp-to-twitter/trunk/js/jquery.charcount.js

    r690784 r742498  
    3232            var count = $(obj).val().length; 
    3333            // supported shortcodes 
    34             var urlcount = $(obj).val().indexOf('#url#') > -1 ? 15 : 0; 
     34            var urlcount = $(obj).val().indexOf('#url#') > -1 ? 18 : 0; 
    3535            var titlecount = $(obj).val().indexOf('#title#') > -1 ? ($('#title').val().length-7) : 0; 
    3636            var namecount = $(obj).val().indexOf('#blog#') > -1 ? ($('#wp-admin-bar-site-name').val().length-6) : 0; 
  • wp-to-twitter/trunk/lang/wp-to-twitter-es_ES.po

    r611167 r742498  
     1# Translation of WP to Twitter in Spanish (Spain) 
     2# This file is distributed under the same license as the WP to Twitter package. 
    13msgid "" 
    24msgstr "" 
    3 "Project-Id-Version: WP to Twitter\n" 
    4 "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n" 
    5 "POT-Creation-Date: 2009-09-26 22:40+0000\n" 
    6 "PO-Revision-Date: \n" 
    7 "Last-Translator: David Gil <dgilperez@gmail.com>\n" 
    8 "Language-Team: www.sohelet.com <dgilperez@sohelet.com>\n" 
     5"PO-Revision-Date: 2013-07-11 20:17:05+0000\n" 
    96"MIME-Version: 1.0\n" 
    107"Content-Type: text/plain; charset=UTF-8\n" 
    118"Content-Transfer-Encoding: 8bit\n" 
    12 "X-Poedit-Language: Spanish\n" 
    13 "X-Poedit-Country: SPAIN\n" 
    14  
    15 #: functions.php:117 
    16 msgid "Twitter Password Saved" 
    17 msgstr "Contraseña de Twitter guardada" 
    18  
    19 #: functions.php:119 
    20 msgid "Twitter Password Not Saved" 
    21 msgstr "Contraseña de Twitter no guardada" 
    22  
    23 #: functions.php:126 
    24 msgid "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Hide</a>] If you're experiencing trouble, please copy these settings into any request for support." 
    25 msgstr "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Esconder</a>] Si tiene problemas, por favor copie esta configuración en cualquier petición de soporte." 
    26  
    27 #: wp-to-twitter-manager.php:60 
    28 msgid "Set your Twitter login information and URL shortener API information to use this plugin!" 
    29 msgstr "¡introduzca su información de acceso a Twitter e información de API del acortador de URLs para usar este plugin!" 
    30  
    31 #: wp-to-twitter-manager.php:66 
    32 msgid "Please add your Twitter password. " 
    33 msgstr "Por favor introduzca su contraseña de Twitter." 
    34  
    35 #: wp-to-twitter-manager.php:72 
     9"Plural-Forms: nplurals=2; plural=n != 1;\n" 
     10"X-Generator: GlotPress/0.1\n" 
     11"Project-Id-Version: WP to Twitter\n" 
     12 
     13#: wp-to-twitter-manager.php:178 
     14msgid "Error:" 
     15msgstr "Error:" 
     16 
     17#: wp-to-twitter-manager.php:643 
     18msgid "No Analytics" 
     19msgstr "Sin Analytics" 
     20 
     21#: wp-to-twitter-manager.php:792 
     22msgid "Allow users to post to their own Twitter accounts" 
     23msgstr "Permitir a usuarios publicar en sus cuentas de Twitter propias" 
     24 
     25#: wp-to-twitter-manager.php:793 
     26msgid "Set a timer to send your Tweet minutes or hours after you publish" 
     27msgstr "Establecer un temporizador para enviar su Tweet minutos u horas después de publicar" 
     28 
     29#: wp-to-twitter-manager.php:794 
     30msgid "Automatically re-send Tweets after publishing" 
     31msgstr "Re-enviar Tweets automáticamente tras publicar" 
     32 
     33#: wp-to-twitter-manager.php:795 
     34msgid "Send Tweets for approved comments" 
     35msgstr "Enviar Tweets para comentarios aprobados" 
     36 
     37#: wp-to-twitter.php:62 
     38msgid "The current version of WP Tweets PRO is <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Upgrade for best compatibility!</a>" 
     39msgstr "La versión actual de WP Tweets PRO es <strong>%s</strong>. <a href=\"http://www.joedolson.com/articles/account/\">Actualice para mejor compatibilidad!</a>" 
     40 
     41#: wp-to-twitter.php:84 
     42msgid "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>" 
     43msgstr "Los Tweets de comentarios han sido trasladados a <a href=\"%1$s\">WP Tweets PRO</a>. Necesita actualizar para Twitear comentarios. <a href=\"%2$s\">Descartar</a>" 
     44 
     45#: wp-to-twitter.php:990 
     46msgid "Tweeting %s edits is disabled." 
     47msgstr "Tweetear ediciones de %s está desactivado." 
     48 
     49#: wp-to-twitter.php:1004 
     50msgid "Upgrade to WP Tweets Pro!" 
     51msgstr "Actualiza a WP Tweets Pro!" 
     52 
     53#: wp-to-twitter.php:1410 
     54msgid "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>" 
     55msgstr "Espero haya disfrutado <strong>WP to Twitter</strong>! De una mirada a <a href='%s'>actualizando a WP Tweets PRO</a> para un Tweeteo avanzado con WordPress! <a href='%s'>Descartar</a>" 
     56 
     57msgid "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." 
     58msgstr "Publica un Tweet cuando usted actualiza su blog Wordpress o publica en su blogroll, usando su servicio de URL abreviadas. Rico en características para personalizar y promover sus Tweets." 
     59 
     60#: wp-to-twitter-shorteners.php:375 
     61msgid "Your jotURL account details" 
     62msgstr "Detalles de su cuenta jotURL" 
     63 
     64#: wp-to-twitter-shorteners.php:379 
     65msgid "Your jotURL public <abbr title='application programming interface'>API</abbr> key:" 
     66msgstr "La llave pública de su <abbr title='application programming interface'>API</abbr> jotURL:" 
     67 
     68#: wp-to-twitter-shorteners.php:380 
     69msgid "Your jotURL private <abbr title='application programming interface'>API</abbr> key:" 
     70msgstr "La llave privada de su <abbr title='application programming interface'>API</abbr> jotURL:" 
     71 
     72#: wp-to-twitter-shorteners.php:381 
     73msgid "Parameters to add to the long URL (before shortening):" 
     74msgstr "Parámetros para agregar a la URL larga (antes de abreviar):" 
     75 
     76#: wp-to-twitter-shorteners.php:381 
     77msgid "Parameters to add to the short URL (after shortening):" 
     78msgstr "Parámetros para agregar a la URL larga (despues de abreviar):" 
     79 
     80#: wp-to-twitter-shorteners.php:382 
     81msgid "View your jotURL public and private API key" 
     82msgstr "Ver sus llaves pública y privada de la API de jotURL" 
     83 
     84#: wp-to-twitter-shorteners.php:385 
     85msgid "Save jotURL settings" 
     86msgstr "Guardar configuración de jotURL" 
     87 
     88#: wp-to-twitter-shorteners.php:385 
     89msgid "Clear jotURL settings" 
     90msgstr "Borrar configuración de jotURL" 
     91 
     92#: wp-to-twitter-shorteners.php:386 
     93msgid "A jotURL public and private API key is required to shorten URLs via the jotURL API and WP to Twitter." 
     94msgstr "Una llave pública y privada de la API de jotURL es requerida para abreviar vía API de jotURL y WP to Twitter." 
     95 
     96#: wp-to-twitter-shorteners.php:481 
     97msgid "jotURL private API Key Updated. " 
     98msgstr "Llave privada de API jotURL Actualizada." 
     99 
     100#: wp-to-twitter-shorteners.php:484 
     101msgid "jotURL private API Key deleted. You cannot use the jotURL API without a private API key. " 
     102msgstr "Llave privada de API jotURL borrada. No puede usar la API jotURL sin una llave privada de API." 
     103 
     104#: wp-to-twitter-shorteners.php:486 
     105msgid "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. " 
     106msgstr "Llave privada de API jotURL no agregada - <a href='https://www.joturl.com/reserved/api.html'>obtenga una aquí</a>! Una llave privada de API es requerida para usar el servicio de abreviación de URL de jotURL." 
     107 
     108#: wp-to-twitter-shorteners.php:490 
     109msgid "jotURL public API Key Updated. " 
     110msgstr "Llave pública de API jotURL Actualizada." 
     111 
     112#: wp-to-twitter-shorteners.php:493 
     113msgid "jotURL public API Key deleted. You cannot use the jotURL API without providing your public API Key. " 
     114msgstr "Llave pública de API jotURL borrada. No puede usar la API jotURL sin proporcionar su llave pública de API." 
     115 
     116#: wp-to-twitter-shorteners.php:495 
     117msgid "jotURL public API Key not added - <a href='https://www.joturl.com/reserved/api.html'>get one here</a>! " 
     118msgstr "Llave pública de API jotURL no agregada - <a href='https://www.joturl.com/reserved/api.html'>obtenga una aquí</a>! " 
     119 
     120#: wp-to-twitter-shorteners.php:501 
     121msgid "Long URL parameters added. " 
     122msgstr "Parámetros de URL larga añadidos." 
     123 
     124#: wp-to-twitter-shorteners.php:504 
     125msgid "Long URL parameters deleted. " 
     126msgstr "Parámetros de URL larga borrados." 
     127 
     128#: wp-to-twitter-shorteners.php:510 
     129msgid "Short URL parameters added. " 
     130msgstr "Parámetros de URL abreviada añadidos." 
     131 
     132#: wp-to-twitter-shorteners.php:513 
     133msgid "Short URL parameters deleted. " 
     134msgstr "Parámetros de URL abreviada borrados." 
     135 
     136#: wp-to-twitter-shorteners.php:527 
     137msgid "You must add your jotURL public and private API key in order to shorten URLs with jotURL." 
     138msgstr "Usted debe agregar sus llaves pública u privada de la API de jotURL para abreviar URLs con jotURL" 
     139 
     140#: wp-to-twitter-manager.php:530 
     141msgid "Tags" 
     142msgstr "Etiquetas" 
     143 
     144#: wp-to-twitter-manager.php:546 
     145msgid "Template Tag Settings" 
     146msgstr "Configuración de Plantilla de Etiquetas" 
     147 
     148#: wp-to-twitter-manager.php:548 
     149msgid "Extracted from the post. If you use the 'Excerpt' field, it will be used instead." 
     150msgstr "Extraído de la publicación. Si usted usa el campo 'Extracto', este será usado en cambio." 
     151 
     152#: wp-to-twitter-manager.php:591 
     153msgid "Template tag priority order" 
     154msgstr "Orden de prioridad de plantilla de etiquetas" 
     155 
     156#: wp-to-twitter-manager.php:592 
     157msgid "The order in which items will be abbreviated or removed from your Tweet if the Tweet is too long to send to Twitter." 
     158msgstr "Orden en el cual los items serán abreviados o removidos de su Tweet si este es muy largo para enviar a Twitter." 
     159 
     160#: wp-to-twitter-manager.php:647 
     161msgid "Author Settings" 
     162msgstr "Configuración de Autor" 
     163 
     164#: wp-to-twitter-manager.php:652 
     165msgid "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." 
     166msgstr "Los autores puede agregar su nombre de usuario a su perfil. Con la versión gratuita de WP to Twitter, agrega una @referencia al autor. La @referencia es colocada usando el shortcode <code>#account#</code>, el cual eligirá la cuenta principal si la cuenta de usuario no está configurada." 
     167 
     168#: wp-to-twitter-manager.php:656 
     169msgid "Permissions" 
     170msgstr "Permisos" 
     171 
     172#: wp-to-twitter-manager.php:691 
     173msgid "Error Messages and Debugging" 
     174msgstr "Mensajes de Error y Depuración" 
     175 
     176#: wp-to-twitter-manager.php:812 
     177msgid "<code>#cat_desc#</code>: custom value from the category description field" 
     178msgstr "<code>#cat_desc#</code>: valor personalizado del campo descripción de categoría" 
     179 
     180#: wp-to-twitter-manager.php:819 
     181msgid "<code>#@#</code>: the twitter @reference for the author or blank, if not set" 
     182msgstr "<code>#@#</code>: La @referencia de twitter para el autor o en blanco si no está configurado" 
     183 
     184#: wp-to-twitter-oauth.php:184 
     185msgid "Connection Problems? Try <a href='#wpt_http'>switching to <code>http</code> queries</a>." 
     186msgstr "" 
     187 
     188#: wp-to-twitter-oauth.php:280 
     189msgid "<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>" 
     190msgstr "" 
     191 
     192#: wp-to-twitter-oauth.php:306 wp-to-twitter-oauth.php:312 
     193msgid "Twitter's server time: " 
     194msgstr "" 
     195 
     196#: wp-to-twitter.php:71 
     197msgid "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>" 
     198msgstr "" 
     199 
     200#: wp-to-twitter.php:332 
     201msgid "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." 
     202msgstr "" 
     203 
     204#: wp-to-twitter.php:1333 
     205msgid "Upgrade" 
     206msgstr "" 
     207 
     208#: wp-to-twitter-manager.php:535 
     209msgid "Use tag slug as hashtag value" 
     210msgstr "" 
     211 
     212#: wp-to-twitter.php:1069 
     213msgid "Tweets are no more than 140 characters; Twitter counts URLs as 20 or 21 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>." 
     214msgstr "" 
     215 
     216#: wp-to-twitter-manager.php:177 
     217msgid "WP to Twitter failed to connect with Twitter. Try <a href=\"#wpt_http\">switching to an HTTP connection</a>." 
     218msgstr "" 
     219 
     220#: wp-to-twitter-shorteners.php:545 
     221msgid "Choose a short URL service (account settings below)" 
     222msgstr "" 
     223 
     224#: wp-to-twitter-shorteners.php:551 
     225msgid "YOURLS (on this server)" 
     226msgstr "" 
     227 
     228#: wp-to-twitter-shorteners.php:552 
     229msgid "YOURLS (on a remote server)" 
     230msgstr "" 
     231 
     232#: wpt-functions.php:264 
     233msgid "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>." 
     234msgstr "" 
     235 
     236#: wpt-functions.php:266 
     237msgid "Thanks for using WP to Twitter. Please ensure that you can receive email at <code>%s</code>." 
     238msgstr "" 
     239 
     240#: wpt-functions.php:286 
     241msgid "Reply to:" 
     242msgstr "" 
     243 
     244#: wp-to-twitter-manager.php:672 
     245msgid "The lowest user group that can add their Twitter information" 
     246msgstr "" 
     247 
     248#: wp-to-twitter-manager.php:677 
     249msgid "The lowest user group that can see the Custom Tweet options when posting" 
     250msgstr "" 
     251 
     252#: wp-to-twitter-manager.php:682 
     253msgid "The lowest user group that can toggle the Tweet/Don't Tweet option" 
     254msgstr "" 
     255 
     256#: wp-to-twitter-manager.php:687 
     257msgid "The lowest user group that can send Twitter updates" 
     258msgstr "" 
     259 
     260#: wp-to-twitter-manager.php:816 
     261msgid "<code>#author#</code>: the post author (@reference if available, otherwise display name)" 
     262msgstr "" 
     263 
     264#: wp-to-twitter-manager.php:817 
     265msgid "<code>#displayname#</code>: post author's display name" 
     266msgstr "" 
     267 
     268#: wp-to-twitter.php:289 
     269msgid "This tweet was blank and could not be sent to Twitter." 
     270msgstr "" 
     271 
     272#: wp-to-twitter.php:335 
     273msgid "404 Not Found: The URI requested is invalid or the resource requested does not exist." 
     274msgstr "" 
     275 
     276#: wp-to-twitter.php:338 
     277msgid "406 Not Acceptable: Invalid Format Specified." 
     278msgstr "" 
     279 
     280#: wp-to-twitter.php:341 
     281msgid "429 Too Many Requests: You have exceeded your rate limits." 
     282msgstr "" 
     283 
     284#: wp-to-twitter.php:353 
     285msgid "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." 
     286msgstr "" 
     287 
     288#: wp-to-twitter.php:1012 
     289msgid "Your prepended Tweet text; not part of your template." 
     290msgstr "" 
     291 
     292#: wp-to-twitter.php:1015 
     293msgid "Your appended Tweet text; not part of your template." 
     294msgstr "" 
     295 
     296#: wp-to-twitter.php:1118 
     297msgid "Your role does not have the ability to Post Tweets from this site." 
     298msgstr "" 
     299 
     300#: wp-to-twitter.php:1231 
     301msgid "Hide account name in Tweets" 
     302msgstr "" 
     303 
     304#: wp-to-twitter.php:1232 
     305msgid "Do not display my account in the #account# template tag." 
     306msgstr "" 
     307 
     308#: wpt-functions.php:289 
     309msgid "I have read <a href=\"%1$s\">the FAQ for this plug-in</a> <span>(required)</span>" 
     310msgstr "" 
     311 
     312#: wpt-functions.php:292 
     313msgid "I have <a href=\"%1$s\">made a donation to help support this plug-in</a>" 
     314msgstr "" 
     315 
     316#: wpt-functions.php:295 
     317msgid "Support Request:" 
     318msgstr "" 
     319 
     320#: wp-to-twitter-manager.php:485 
     321msgid "Settings for type \"%1$s\"" 
     322msgstr "" 
     323 
     324#: wp-to-twitter-manager.php:488 
     325msgid "Update when %1$s %2$s is published" 
     326msgstr "" 
     327 
     328#: wp-to-twitter-manager.php:488 
     329msgid "Text for new %1$s updates" 
     330msgstr "" 
     331 
     332#: wp-to-twitter-manager.php:492 
     333msgid "Update when %1$s %2$s is edited" 
     334msgstr "" 
     335 
     336#: wp-to-twitter-manager.php:492 
     337msgid "Text for %1$s editing updates" 
     338msgstr "" 
     339 
     340#: wp-to-twitter-oauth.php:217 
     341msgid "Your server timezone (should be UTC,GMT,Europe/London or equivalent):" 
     342msgstr "" 
     343 
     344#: wp-to-twitter-shorteners.php:555 
     345msgid "Use Twitter Friendly Links." 
     346msgstr "" 
     347 
     348#: wp-to-twitter-shorteners.php:329 
     349msgid "View your Bit.ly username and API key" 
     350msgstr "" 
     351 
     352#: wp-to-twitter-shorteners.php:391 
     353msgid "Your shortener does not require any account settings." 
     354msgstr "" 
     355 
     356#: wp-to-twitter.php:316 
     357msgid "Your Twitter application does not have read and write permissions. Go to <a href=\"%s\">your Twitter apps</a> to modify these settings." 
     358msgstr "" 
     359 
     360#: wp-to-twitter.php:1089 
     361msgid "Failed Tweets" 
     362msgstr "" 
     363 
     364#: wp-to-twitter.php:1104 
     365msgid "No failed tweets on this post." 
     366msgstr "" 
     367 
     368#: wp-to-twitter-manager.php:789 
     369msgid "Upgrade to <strong>WP Tweets PRO</strong> for more options!" 
     370msgstr "" 
     371 
     372#: wp-to-twitter-manager.php:822 
     373msgid "<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." 
     374msgstr "" 
     375 
     376#: wp-to-twitter-oauth.php:284 
     377msgid "WP to Twitter could not contact Twitter's remote server. Here is the error triggered: " 
     378msgstr "" 
     379 
     380#: wp-to-twitter.php:274 
     381msgid "This account is not authorized to post to Twitter." 
     382msgstr "" 
     383 
     384#: wp-to-twitter.php:283 
     385msgid "This tweet is identical to another Tweet recently sent to this account." 
     386msgstr "" 
     387 
     388#: wp-to-twitter-shorteners.php:295 
     389msgid "(optional)" 
     390msgstr "" 
     391 
     392#: wp-to-twitter-manager.php:603 
     393msgid "Do not post Tweets by default (editing only)" 
     394msgstr "" 
     395 
     396#: wp-to-twitter-manager.php:814 
     397msgid "<code>#modified#</code>: the post modified date" 
     398msgstr "" 
     399 
     400#: wp-to-twitter-oauth.php:282 
     401msgid "Your time stamps are more than 5 minutes apart. Your server could lose its connection with Twitter." 
     402msgstr "" 
     403 
     404#: wp-to-twitter-manager.php:650 
     405msgid "Authors have individual Twitter accounts" 
     406msgstr "Los autores tienen cuentas de Twitter individuales" 
     407 
     408#: wp-to-twitter-manager.php:693 
     409msgid "Disable global URL shortener error messages." 
     410msgstr "" 
     411 
     412#: wp-to-twitter-manager.php:694 
     413msgid "Disable global Twitter API error messages." 
     414msgstr "" 
     415 
     416#: wp-to-twitter-manager.php:696 
     417msgid "Get Debugging Data for OAuth Connection" 
     418msgstr "" 
     419 
     420#: wp-to-twitter-manager.php:698 
     421msgid "Switch to <code>http</code> connection. (Default is https)" 
     422msgstr "" 
     423 
     424#: wp-to-twitter-manager.php:700 
     425msgid "I made a donation, so stop whinging at me, please." 
     426msgstr "" 
     427 
     428#: wp-to-twitter-manager.php:714 
     429msgid "Limit Updating Categories" 
     430msgstr "" 
     431 
     432#: wp-to-twitter-manager.php:717 
     433msgid "If no categories are checked, limiting by category will be ignored, and all categories will be Tweeted." 
     434msgstr "" 
     435 
     436#: wp-to-twitter-manager.php:718 
     437msgid "<em>Category limits are disabled.</em>" 
     438msgstr "" 
     439 
     440#: wp-to-twitter-manager.php:727 
     441msgid "Get Plug-in Support" 
     442msgstr "" 
     443 
     444#: wp-to-twitter-manager.php:738 
     445msgid "Check Support" 
     446msgstr "Chequear soporte" 
     447 
     448#: wp-to-twitter-manager.php:738 
     449msgid "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." 
     450msgstr "" 
     451 
     452#: wp-to-twitter-manager.php:756 
     453msgid "Support WP to Twitter" 
     454msgstr "" 
     455 
     456#: wp-to-twitter-manager.php:758 
     457msgid "WP to Twitter Support" 
     458msgstr "" 
     459 
     460#: wp-to-twitter-manager.php:766 wp-to-twitter.php:1110 wp-to-twitter.php:1112 
     461msgid "Get Support" 
     462msgstr "Consiga soporte" 
     463 
     464#: wp-to-twitter-manager.php:769 
     465msgid "<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!" 
     466msgstr "" 
     467 
     468#: wp-to-twitter-manager.php:787 
     469msgid "Upgrade Now!" 
     470msgstr "" 
     471 
     472#: wp-to-twitter-manager.php:790 
     473msgid "Extra features with the PRO upgrade:" 
     474msgstr "" 
     475 
     476#: wp-to-twitter-manager.php:804 
     477msgid "Shortcodes" 
     478msgstr "" 
     479 
     480#: wp-to-twitter-manager.php:806 
     481msgid "Available in post update templates:" 
     482msgstr "" 
     483 
     484#: wp-to-twitter-manager.php:808 
     485msgid "<code>#title#</code>: the title of your blog post" 
     486msgstr "" 
     487 
     488#: wp-to-twitter-manager.php:809 
     489msgid "<code>#blog#</code>: the title of your blog" 
     490msgstr "" 
     491 
     492#: wp-to-twitter-manager.php:810 
     493msgid "<code>#post#</code>: a short excerpt of the post content" 
     494msgstr "" 
     495 
     496#: wp-to-twitter-manager.php:811 
     497msgid "<code>#category#</code>: the first selected category for the post" 
     498msgstr "" 
     499 
     500#: wp-to-twitter-manager.php:813 
     501msgid "<code>#date#</code>: the post date" 
     502msgstr "" 
     503 
     504#: wp-to-twitter-manager.php:815 
     505msgid "<code>#url#</code>: the post URL" 
     506msgstr "" 
     507 
     508#: wp-to-twitter-manager.php:818 
     509msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)" 
     510msgstr "" 
     511 
     512#: wp-to-twitter-manager.php:820 
     513msgid "<code>#tags#</code>: your tags modified into hashtags. See options in the Advanced Settings section, below." 
     514msgstr "" 
     515 
     516#: wp-to-twitter-manager.php:825 
     517msgid "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>" 
     518msgstr "" 
     519 
     520#: wp-to-twitter-oauth.php:115 
     521msgid "WP to Twitter was unable to establish a connection to Twitter." 
     522msgstr "" 
     523 
     524#: wp-to-twitter-oauth.php:185 
     525msgid "There was an error querying Twitter's servers" 
     526msgstr "" 
     527 
     528#: wp-to-twitter-oauth.php:209 wp-to-twitter-oauth.php:211 
     529msgid "Connect to Twitter" 
     530msgstr "" 
     531 
     532#: wp-to-twitter-oauth.php:214 
     533msgid "WP to Twitter Set-up" 
     534msgstr "" 
     535 
     536#: wp-to-twitter-oauth.php:215 wp-to-twitter-oauth.php:306 
     537#: wp-to-twitter-oauth.php:311 
     538msgid "Your server time:" 
     539msgstr "" 
     540 
     541#: wp-to-twitter-oauth.php:215 
     542msgid "Twitter's time:" 
     543msgstr "" 
     544 
     545#: wp-to-twitter-oauth.php:215 
     546msgid "If these timestamps are not within 5 minutes of each other, your server will not connect to Twitter." 
     547msgstr "" 
     548 
     549#: wp-to-twitter-oauth.php:221 
     550msgid "1. Register this site as an application on " 
     551msgstr "" 
     552 
     553#: wp-to-twitter-oauth.php:221 
     554msgid "Twitter's application registration page" 
     555msgstr "" 
     556 
     557#: wp-to-twitter-oauth.php:223 
     558msgid "If you're not currently logged in to Twitter, log-in to the account you want associated with this site" 
     559msgstr "" 
     560 
     561#: wp-to-twitter-oauth.php:224 
     562msgid "Your Application's Name will show up after \"via\" in your twitter stream. Your application name cannot include the word \"Twitter.\"" 
     563msgstr "" 
     564 
     565#: wp-to-twitter-oauth.php:225 
     566msgid "Your Application Description can be anything." 
     567msgstr "" 
     568 
     569#: wp-to-twitter-oauth.php:226 
     570msgid "The WebSite and Callback URL should be " 
     571msgstr "" 
     572 
     573#: wp-to-twitter-oauth.php:228 
     574msgid "Agree to the Developer Rules of the Road and continue." 
     575msgstr "" 
     576 
     577#: wp-to-twitter-oauth.php:229 
     578msgid "2. Switch to the \"Settings\" tab in Twitter apps" 
     579msgstr "" 
     580 
     581#: wp-to-twitter-oauth.php:231 
     582msgid "Select \"Read and Write\" for the Application Type" 
     583msgstr "" 
     584 
     585#: wp-to-twitter-oauth.php:232 
     586msgid "Update the application settings" 
     587msgstr "" 
     588 
     589#: wp-to-twitter-oauth.php:233 
     590msgid "Return to the Details tab and create your access token. Refresh page to view your access tokens." 
     591msgstr "" 
     592 
     593#: wp-to-twitter-oauth.php:235 
     594msgid "Once you have registered your site as an application, you will be provided with four keys." 
     595msgstr "" 
     596 
     597#: wp-to-twitter-oauth.php:236 
     598msgid "3. Copy and paste your consumer key and consumer secret into the fields below" 
     599msgstr "" 
     600 
     601#: wp-to-twitter-oauth.php:239 
     602msgid "Twitter Consumer Key" 
     603msgstr "" 
     604 
     605#: wp-to-twitter-oauth.php:243 
     606msgid "Twitter Consumer Secret" 
     607msgstr "" 
     608 
     609#: wp-to-twitter-oauth.php:247 
     610msgid "4. Copy and paste your Access Token and Access Token Secret into the fields below" 
     611msgstr "" 
     612 
     613#: wp-to-twitter-oauth.php:248 
     614msgid "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." 
     615msgstr "" 
     616 
     617#: wp-to-twitter-oauth.php:251 
     618msgid "Access Token" 
     619msgstr "" 
     620 
     621#: wp-to-twitter-oauth.php:255 
     622msgid "Access Token Secret" 
     623msgstr "" 
     624 
     625#: wp-to-twitter-oauth.php:274 
     626msgid "Disconnect Your WordPress and Twitter Account" 
     627msgstr "" 
     628 
     629#: wp-to-twitter-oauth.php:278 
     630msgid "Disconnect your WordPress and Twitter Account" 
     631msgstr "" 
     632 
     633#: wp-to-twitter-oauth.php:288 
     634msgid "Disconnect from Twitter" 
     635msgstr "" 
     636 
     637#: wp-to-twitter-oauth.php:294 
     638msgid "Twitter Username " 
     639msgstr "" 
     640 
     641#: wp-to-twitter-oauth.php:295 
     642msgid "Consumer Key " 
     643msgstr "" 
     644 
     645#: wp-to-twitter-oauth.php:296 
     646msgid "Consumer Secret " 
     647msgstr "" 
     648 
     649#: wp-to-twitter-oauth.php:297 
     650msgid "Access Token " 
     651msgstr "" 
     652 
     653#: wp-to-twitter-oauth.php:298 
     654msgid "Access Token Secret " 
     655msgstr "" 
     656 
     657#: wp-to-twitter.php:43 
     658msgid "WP to Twitter requires PHP version 5 or above. Please upgrade PHP to run WP to Twitter." 
     659msgstr "" 
     660 
     661#: wp-to-twitter-oauth.php:200 
     662msgid "Twitter requires authentication by OAuth. You will need to <a href='%s'>update your settings</a> to complete installation of WP to Twitter." 
     663msgstr "" 
     664 
     665#: wp-to-twitter.php:321 
     666msgid "200 OK: Success!" 
     667msgstr "" 
     668 
     669#: wp-to-twitter.php:325 
     670msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting." 
     671msgstr "" 
     672 
     673#: wp-to-twitter.php:328 
     674msgid "401 Unauthorized: Authentication credentials were missing or incorrect." 
     675msgstr "" 
     676 
     677#: wp-to-twitter.php:344 
     678msgid "500 Internal Server Error: Something is broken at Twitter." 
     679msgstr "" 
     680 
     681#: wp-to-twitter.php:350 
     682msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests - Please try again later." 
     683msgstr "" 
     684 
     685#: wp-to-twitter.php:347 
     686msgid "502 Bad Gateway: Twitter is down or being upgraded." 
     687msgstr "" 
     688 
     689#: wp-to-twitter.php:389 
     690msgid "No Twitter OAuth connection found." 
     691msgstr "" 
     692 
     693#: wp-to-twitter.php:1075 
     694msgid "Previous Tweets" 
     695msgstr "" 
     696 
     697#: wp-to-twitter.php:1007 
     698msgid "Custom Twitter Post" 
     699msgstr "" 
     700 
     701#: wp-to-twitter.php:1031 
     702msgid "Your template:" 
     703msgstr "" 
     704 
     705#: wp-to-twitter.php:1036 
     706msgid "YOURLS Custom Keyword" 
     707msgstr "" 
     708 
     709#: wp-to-twitter.php:1110 
     710msgid "Upgrade to WP Tweets Pro" 
     711msgstr "" 
     712 
     713#: wp-to-twitter.php:1048 
     714msgid "Don't Tweet this post." 
     715msgstr "No Tweetear esta entrada." 
     716 
     717#: wp-to-twitter.php:1048 
     718msgid "Tweet this post." 
     719msgstr "" 
     720 
     721#: wp-to-twitter.php:1060 
     722msgid "Access to customizing WP to Twitter values is not allowed for your user role." 
     723msgstr "" 
     724 
     725#: wp-to-twitter.php:1150 
     726msgid "Characters left: " 
     727msgstr "" 
     728 
     729#: wp-to-twitter.php:1217 
     730msgid "WP Tweets User Settings" 
     731msgstr "" 
     732 
     733#: wp-to-twitter.php:1221 
     734msgid "Use My Twitter Username" 
     735msgstr "" 
     736 
     737#: wp-to-twitter.php:1222 
     738msgid "Tweet my posts with an @ reference to my username." 
     739msgstr "" 
     740 
     741#: wp-to-twitter.php:1223 
     742msgid "Tweet my posts with an @ reference to both my username and to the main site username." 
     743msgstr "" 
     744 
     745#: wp-to-twitter.php:1227 
     746msgid "Your Twitter Username" 
     747msgstr "Su nombre de usuario de Twitter" 
     748 
     749#: wp-to-twitter.php:1228 
     750msgid "Enter your own Twitter username." 
     751msgstr "Introduzca su nombre de usuario de Twitter" 
     752 
     753#: wp-to-twitter.php:1285 
     754msgid "Check off categories to tweet" 
     755msgstr "" 
     756 
     757#: wp-to-twitter.php:1289 
     758msgid "Do not tweet posts in checked categories (Reverses default behavior)" 
     759msgstr "" 
     760 
     761#: wp-to-twitter.php:1306 
     762msgid "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." 
     763msgstr "" 
     764 
     765#: wp-to-twitter.php:1309 
     766msgid "Set Categories" 
     767msgstr "" 
     768 
     769#: wp-to-twitter.php:1332 
     770msgid "Settings" 
     771msgstr "Configuración" 
     772 
     773#: wp-to-twitter.php:1370 
     774msgid "<br /><strong>Note:</strong> Please review the <a class=\"thickbox\" href=\"%1$s\">changelog</a> before upgrading." 
     775msgstr "" 
     776 
     777msgid "WP to Twitter" 
     778msgstr "WP to Twitter" 
     779 
     780msgid "http://www.joedolson.com/articles/wp-to-twitter/" 
     781msgstr "http://www.joedolson.com/articles/wp-to-twitter/" 
     782 
     783msgid "Joseph Dolson" 
     784msgstr "Joseph Dolson" 
     785 
     786msgid "http://www.joedolson.com/" 
     787msgstr "http://www.joedolson.com/" 
     788 
     789#: wpt-functions.php:258 
     790msgid "Please read the FAQ and other Help documents before making a support request." 
     791msgstr "" 
     792 
     793#: wpt-functions.php:260 
     794msgid "Please describe your problem. I'm not psychic." 
     795msgstr "" 
     796 
     797#: wpt-functions.php:281 
     798msgid "<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." 
     799msgstr "" 
     800 
     801#: wpt-functions.php:298 
     802msgid "Send Support Request" 
     803msgstr "" 
     804 
     805#: wpt-functions.php:301 
     806msgid "The following additional information will be sent with your support request:" 
     807msgstr "" 
     808 
     809#: wp-to-twitter-manager.php:41 
     810msgid "No error information is available for your shortener." 
     811msgstr "" 
     812 
     813#: wp-to-twitter-manager.php:43 
     814msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>" 
     815msgstr "" 
     816 
     817#: wp-to-twitter-manager.php:46 
     818msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong>  The following link should point to your blog homepage:" 
     819msgstr "" 
     820 
     821#: wp-to-twitter-manager.php:54 
     822msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>" 
     823msgstr "" 
     824 
     825#: wp-to-twitter-manager.php:57 
     826msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>" 
     827msgstr "" 
     828 
     829#: wp-to-twitter-manager.php:61 
     830msgid "You have not connected WordPress to Twitter." 
     831msgstr "" 
     832 
     833#: wp-to-twitter-manager.php:65 
     834msgid "<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>" 
     835msgstr "" 
     836 
     837#: wp-to-twitter-manager.php:69 
     838msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>" 
     839msgstr "<li><strong>Su servidor debe parece WP to Twitter correctamente.</strong></li>" 
     840 
     841#: wp-to-twitter-manager.php:87 
    36842msgid "WP to Twitter Errors Cleared" 
    37843msgstr "Errores de WP to Twitter eliminados" 
    38844 
    39 #: wp-to-twitter-manager.php:78 
    40 msgid "URL shortener request failed! We couldn't shrink that URL, so we attached the normal URL to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]" 
    41 msgstr "¡El acortador de URLs falló! No pudimos reducir la URL, de modo que hemos adjuntado la URL original al Tweet. Por favor, revise con su proveedor de URL por si el problema está identificado. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]" 
    42  
    43 #: wp-to-twitter-manager.php:82 
    44 msgid "Sorry! I couldn't get in touch with the Twitter servers to post your new blog post. Your tweet has been stored in a custom field attached to the post, so you can Tweet it manually if you wish! " 
    45 msgstr "Lo siento, no he podido contactar con los servidores de Twitter para notificar su nueva entrada. Su Tweet ha sido almacenado en un campo personalizado adjunto a la entrada, puede Tweetearlo manualmente si quiere." 
    46  
    47 #: wp-to-twitter-manager.php:84 
     845#: wp-to-twitter-manager.php:170 
     846msgid "WP to Twitter is now connected with Twitter." 
     847msgstr "" 
     848 
     849#: wp-to-twitter-manager.php:185 
     850msgid "OAuth Authentication Data Cleared." 
     851msgstr "" 
     852 
     853#: wp-to-twitter-manager.php:192 
     854msgid "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." 
     855msgstr "" 
     856 
     857#: wp-to-twitter-manager.php:199 
     858msgid "OAuth Authentication response not understood." 
     859msgstr "" 
     860 
     861#: wp-to-twitter-manager.php:376 
     862msgid "WP to Twitter Advanced Options Updated" 
     863msgstr "" 
     864 
     865#: wp-to-twitter-shorteners.php:523 
     866msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly." 
     867msgstr "Debe introducir su login y clave API de Bit.ly para acortar URLs con Bit.ly." 
     868 
     869#: wp-to-twitter-shorteners.php:531 
     870msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS." 
     871msgstr "" 
     872 
     873#: wp-to-twitter-shorteners.php:535 
     874msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS." 
     875msgstr "" 
     876 
     877#: wp-to-twitter-manager.php:394 
     878msgid "WP to Twitter Options Updated" 
     879msgstr "Opciones de WP to Twitter actualizadas" 
     880 
     881#: wp-to-twitter-manager.php:403 
     882msgid "Category limits updated." 
     883msgstr "" 
     884 
     885#: wp-to-twitter-manager.php:407 
     886msgid "Category limits unset." 
     887msgstr "" 
     888 
     889#: wp-to-twitter-shorteners.php:403 
     890msgid "YOURLS password updated. " 
     891msgstr "" 
     892 
     893#: wp-to-twitter-shorteners.php:406 
     894msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS." 
     895msgstr "" 
     896 
     897#: wp-to-twitter-shorteners.php:408 
     898msgid "Failed to save your YOURLS password! " 
     899msgstr "" 
     900 
     901#: wp-to-twitter-shorteners.php:412 
     902msgid "YOURLS username added. " 
     903msgstr "" 
     904 
     905#: wp-to-twitter-shorteners.php:416 
     906msgid "YOURLS API url added. " 
     907msgstr "" 
     908 
     909#: wp-to-twitter-shorteners.php:419 
     910msgid "YOURLS API url removed. " 
     911msgstr "" 
     912 
     913#: wp-to-twitter-shorteners.php:424 
     914msgid "YOURLS local server path added. " 
     915msgstr "" 
     916 
     917#: wp-to-twitter-shorteners.php:426 
     918msgid "The path to your YOURLS installation is not correct. " 
     919msgstr "" 
     920 
     921#: wp-to-twitter-shorteners.php:430 
     922msgid "YOURLS local server path removed. " 
     923msgstr "" 
     924 
     925#: wp-to-twitter-shorteners.php:435 
     926msgid "YOURLS will use Post ID for short URL slug." 
     927msgstr "" 
     928 
     929#: wp-to-twitter-shorteners.php:437 
     930msgid "YOURLS will use your custom keyword for short URL slug." 
     931msgstr "" 
     932 
     933#: wp-to-twitter-shorteners.php:441 
     934msgid "YOURLS will not use Post ID for the short URL slug." 
     935msgstr "" 
     936 
     937#: wp-to-twitter-shorteners.php:449 
     938msgid "Su.pr API Key and Username Updated" 
     939msgstr "" 
     940 
     941#: wp-to-twitter-shorteners.php:453 
     942msgid "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. " 
     943msgstr "" 
     944 
     945#: wp-to-twitter-shorteners.php:455 
     946msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! " 
     947msgstr "" 
     948 
     949#: wp-to-twitter-shorteners.php:461 
     950msgid "Bit.ly API Key Updated." 
     951msgstr "Bit.ly: clave de API actualizada." 
     952 
     953#: wp-to-twitter-shorteners.php:464 
     954msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. " 
     955msgstr "Clave API Bit.ly eliminada. You cannot use the Bit.ly API without an API key. " 
     956 
     957#: wp-to-twitter-shorteners.php:466 
     958msgid "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." 
     959msgstr "Clave de API de Bit.ly no añadida - ¡<a href='http://bit.ly/account/'>consiga una</a>! Se necesita una clave de API para usar el servicio de acortar URLs." 
     960 
     961#: wp-to-twitter-shorteners.php:470 
     962msgid " Bit.ly User Login Updated." 
     963msgstr "Bit.ly: usuario actualizado." 
     964 
     965#: wp-to-twitter-shorteners.php:473 
     966msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. " 
     967msgstr "Nombre de usuario de Bit.ly borrado. No puede usar el servicio Bit.ly sin proporcionar un nombre de usuario." 
     968 
     969#: wp-to-twitter-shorteners.php:475 
     970msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! " 
     971msgstr "Nombre de usuario de Bit.ly no añadido - ¡<a href='http://bit.ly/account/'>consiga uno</a>! " 
     972 
     973#: wp-to-twitter-manager.php:427 
     974msgid "<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>" 
     975msgstr "" 
     976 
     977#: wp-to-twitter-manager.php:433 
    48978msgid "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. " 
    49979msgstr "Lo siento, no he podido contactar con los servidores de Twitter para notificar su nuevo enlace. Tendrá que Tweetearlo manualmente." 
    50980 
    51 #: wp-to-twitter-manager.php:137 
    52 msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly." 
    53 msgstr "Debe introducir su login y clave API de Bit.ly para acortar URLs con Bit.ly." 
    54  
    55 #: wp-to-twitter-manager.php:146 
    56 msgid "WP to Twitter Options Updated" 
    57 msgstr "Opciones de WP to Twitter actualizadas" 
    58  
    59 #: wp-to-twitter-manager.php:156 
    60 msgid "Twitter login and password updated. " 
    61 msgstr "Usuario y contraseña de Twitter actualizados." 
    62  
    63 #: wp-to-twitter-manager.php:158 
    64 msgid "You need to provide your twitter login and password! " 
    65 msgstr "¡Es necesario que introduzca su nombre de usuario y contraseña de Twitter!" 
    66  
    67 #: wp-to-twitter-manager.php:165 
    68 msgid "Cligs API Key Updated" 
    69 msgstr "Cli.gs: clave de API actualizada." 
    70  
    71 #: wp-to-twitter-manager.php:168 
    72 msgid "Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be associated with your account. " 
    73 msgstr "Cli.gs: clave de API eliminada. Los Cli.gs creados por WP to Twitter ya no estarán asociados con su cuenta." 
    74  
    75 #: wp-to-twitter-manager.php:170 
    76 msgid "Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</a>! " 
    77 msgstr "Cli.gs: clave de API  no añadida - ¡<a href='http://cli.gs/user/api/'>pinche aquí para conseguir una</a>! " 
    78  
    79 #: wp-to-twitter-manager.php:176 
    80 msgid "Bit.ly API Key Updated." 
    81 msgstr "Bit.ly: clave de API actualizada." 
    82  
    83 #: wp-to-twitter-manager.php:179 
    84 msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. " 
    85 msgstr "Clave API Bit.ly eliminada. You cannot use the Bit.ly API without an API key. " 
    86  
    87 #: wp-to-twitter-manager.php:181 
    88 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." 
    89 msgstr "Clave de API de Bit.ly no añadida - ¡<a href='http://bit.ly/account/'>consiga una</a>! Se necesita una clave de API para usar el servicio de acortar URLs." 
    90  
    91 #: wp-to-twitter-manager.php:185 
    92 msgid " Bit.ly User Login Updated." 
    93 msgstr "Bit.ly: usuario actualizado." 
    94  
    95 #: wp-to-twitter-manager.php:188 
    96 msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. " 
    97 msgstr "Nombre de usuario de Bit.ly borrado. No puede usar el servicio Bit.ly sin proporcionar un nombre de usuario." 
    98  
    99 #: wp-to-twitter-manager.php:190 
    100 msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! " 
    101 msgstr "Nombre de usuario de Bit.ly no añadido - ¡<a href='http://bit.ly/account/'>consiga uno</a>! " 
    102  
    103 #: wp-to-twitter-manager.php:224 
    104 msgid "<li>Successfully contacted the Cli.gs API via Snoopy, but the URL creation failed.</li>" 
    105 msgstr "<li>Contacto correcto con Cli.gs API via Snoopy, pero la creación de la URL falló.</li>" 
    106  
    107 #: wp-to-twitter-manager.php:226 
    108 msgid "<li>Successfully contacted the Cli.gs API via Snoopy, but a Cli.gs server error prevented the URL from being shrotened.</li>" 
    109 msgstr "<li>Contacto correcto con Cli.gs API via Snoopy, pero un error en el servidor de Cli.gs impidió el acortamiento de la URL.</li>" 
    110  
    111 #: wp-to-twitter-manager.php:228 
    112 msgid "<li>Successfully contacted the Cli.gs API via Snoopy and created a shortened link.</li>" 
    113 msgstr "<li>Contacto correcto con Cli.gs API via Snoopy y creación de URL acortada correcto.</li>" 
    114  
    115 #: wp-to-twitter-manager.php:237 
    116 #: wp-to-twitter-manager.php:262 
    117 msgid "<li>Successfully contacted the Bit.ly API via Snoopy.</li>" 
    118 msgstr "<li>Contacto correcto con Bit.ly API via Snoopy.</li>" 
    119  
    120 #: wp-to-twitter-manager.php:239 
    121 #: wp-to-twitter-manager.php:264 
    122 msgid "<li>Failed to contact the Bit.ly API via Snoopy.</li>" 
    123 msgstr "<li>No he podido contactar con Bit.ly API via Snoopy.</li>" 
    124  
    125 #: wp-to-twitter-manager.php:242 
    126 msgid "<li>Cannot check the Bit.ly API without a valid API key.</li>" 
    127 msgstr "<li>No puedo conectar con Bit.ly API sin una clave API válida.</li>" 
    128  
    129 #: wp-to-twitter-manager.php:246 
    130 msgid "<li>Successfully contacted the Twitter API via Snoopy.</li>" 
    131 msgstr "<li>Contacto correcto con Twitter via Snoopy.</li>" 
    132  
    133 #: wp-to-twitter-manager.php:248 
    134 msgid "<li>Failed to contact the Twitter API via Snoopy.</li>" 
    135 msgstr "<li>No he podido contactar con la API de Twitter via Snoopy.</li>" 
    136  
    137 #: wp-to-twitter-manager.php:254 
    138 msgid "<li>Successfully contacted the Twitter API via cURL.</li>" 
    139 msgstr "<li>Contacto correcto con Twitter via cURL.</li>" 
    140  
    141 #: wp-to-twitter-manager.php:256 
    142 msgid "<li>Failed to contact the Twitter API via cURL.</li>" 
    143 msgstr "<li>No he podido contactar con la API de Twitter via cURL.</li>" 
    144  
    145 #: wp-to-twitter-manager.php:268 
    146 msgid "<li>Successfully contacted the Cli.gs API via Snoopy.</li>" 
    147 msgstr "<li>Contacto correcto con la API Cli.gs via Snoopy.</li>" 
    148  
    149 #: wp-to-twitter-manager.php:271 
    150 msgid "<li>Failed to contact the Cli.gs API via Snoopy.</li>" 
    151 msgstr "<li>No he podido contactar con la API Cli.gs via Snoopy.</li>" 
    152  
    153 #: wp-to-twitter-manager.php:276 
    154 msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>" 
    155 msgstr "<li><strong>Su servidor debe parece WP to Twitter correctamente.</strong></li>" 
    156  
    157 #: wp-to-twitter-manager.php:281 
    158 msgid "<li>Your server does not support <code>fputs</code>.</li>" 
    159 msgstr "<li>Su servidor no soporta <code>fputs</code>.</li>" 
    160  
    161 #: wp-to-twitter-manager.php:285 
    162 msgid "<li>Your server does not support <code>file_get_contents</code> or <code>cURL</code> functions.</li>" 
    163 msgstr "<li>Su servidor no soporta las funciones <code>file_get_contents</code> o <code>cURL</code>.</li>" 
    164  
    165 #: wp-to-twitter-manager.php:289 
    166 msgid "<li>Your server does not support <code>Snoopy</code>.</li>" 
    167 msgstr "<li>Su servidor no soporta <code>Snoopy</code>.</li>" 
    168  
    169 #: wp-to-twitter-manager.php:292 
    170 msgid "<li><strong>Your server does not appear to support the required PHP functions and classes for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect - but no guarantees.</li>" 
    171 msgstr "<li><strong>Su servidor no parece soportar las funciones y clases PHP necesarias para que WP to Twitter funcione correctamente.</strong> Puede intentarlo de todas maneras, pero no hay garantías de que funcione. </li>" 
    172  
    173 #: wp-to-twitter-manager.php:301 
    174 msgid "This plugin may not fully work in your server environment. The plugin failed to contact both a URL shortener API and the Twitter service API." 
    175 msgstr "El plugin puede no funcionar completamente en su entorno de servidor. El plugin falló al contactar con ambas APIs del acortador de URLs y del servicio de Twitter." 
    176  
    177 #: wp-to-twitter-manager.php:316 
     981#: wp-to-twitter-manager.php:436 
     982msgid "<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>" 
     983msgstr "" 
     984 
     985#: wp-to-twitter-manager.php:442 
     986msgid "Clear 'WP to Twitter' Error Messages" 
     987msgstr "Borrar los errores de WP to Twitter" 
     988 
     989#: wp-to-twitter-manager.php:448 
    178990msgid "WP to Twitter Options" 
    179991msgstr "Opciones de WP to Twitter" 
    180992 
    181 #: wp-to-twitter-manager.php:320 
    182 #: wp-to-twitter.php:759 
    183 msgid "Get Support" 
    184 msgstr "Consiga soporte" 
    185  
    186 #: wp-to-twitter-manager.php:321 
    187 msgid "Export Settings" 
    188 msgstr "Exportar configuración" 
    189  
    190 #: wp-to-twitter-manager.php:335 
    191 msgid "For any post update field, you can use the codes <code>#title#</code> for the title of your blog post, <code>#blog#</code> for the title of your blog, <code>#post#</code> for a short excerpt of the post content or <code>#url#</code> for the post URL (shortened or not, depending on your preferences.) 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>" 
    192 msgstr "Para cada campo de actualización de entrada, puede usar los códigos <code>#title#</code> para el título de su entrada, <code>#blog#</code> para el nombre de su blog, <code>#post#</code> para un extracto de su entrada o <code>#url#</code> para la URL de la entrada (acortada o no, dependiendo de sus preferencias). También puede crear códigos personales para acceder a campos personalizados de Wordpress. Use dobles corchetes alrededor del nombre del campo personalizado para añadir su valor a su actualización de status. Ejemplo: <code>[[custom_field]]</code> ." 
    193  
    194 #: wp-to-twitter-manager.php:342 
    195 msgid "One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in the custom meta data for your post, and you can re-Tweet it at your leisure." 
    196 msgstr "La actualización de estado de Twitter falló para una o más de sus últimas entradas. Su Tweet ha sido guardado en los metadatos de su entrada para que lo utilice a su conveniencia." 
    197  
    198 #: wp-to-twitter-manager.php:345 
    199 msgid "The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet." 
    200 msgstr "La consulta a la API del acortador de URLs falló, por lo que la URL no se acortó. Se ha adjuntado la URL original a su Tweet." 
    201  
    202 #: wp-to-twitter-manager.php:357 
    203 msgid "Clear 'WP to Twitter' Error Messages" 
    204 msgstr "Borrar los errores de WP to Twitter" 
    205  
    206 #: wp-to-twitter-manager.php:366 
    207 msgid "Set what should be in a Tweet" 
    208 msgstr "Ajuste la estructura del Tweet" 
    209  
    210 #: wp-to-twitter-manager.php:369 
    211 msgid "Update when a post is published" 
    212 msgstr "Actualizar cuando se publique una entrada" 
    213  
    214 #: wp-to-twitter-manager.php:369 
    215 msgid "Text for new post updates:" 
    216 msgstr "Texto para nuevas entradas:" 
    217  
    218 #: wp-to-twitter-manager.php:374 
    219 msgid "Update when a post is edited" 
    220 msgstr "Actualizar cuando se edite una entrada" 
    221  
    222 #: wp-to-twitter-manager.php:374 
    223 msgid "Text for editing updates:" 
    224 msgstr "Texto para ediciones de entradas:" 
    225  
    226 #: wp-to-twitter-manager.php:378 
    227 msgid "Update Twitter when new Wordpress Pages are published" 
    228 msgstr "Actualizar Twitter cuando se publique una nueva página de Wordpress" 
    229  
    230 #: wp-to-twitter-manager.php:378 
    231 msgid "Text for new page updates:" 
    232 msgstr "Texto para nuevas páginas:" 
    233  
    234 #: wp-to-twitter-manager.php:382 
    235 msgid "Update Twitter when WordPress Pages are edited" 
    236 msgstr "Actualizar Twitter cuando se edite una nueva página de Wordpress" 
    237  
    238 #: wp-to-twitter-manager.php:382 
    239 msgid "Text for page edit updates:" 
    240 msgstr "Texto para ediciones de páginas:" 
    241  
    242 #: wp-to-twitter-manager.php:386 
    243 msgid "Add tags as hashtags on Tweets" 
    244 msgstr "Añadir hashtags a los Tweets" 
    245  
    246 #: wp-to-twitter-manager.php:388 
     993#: wp-to-twitter-manager.php:461 
     994msgid "Basic Settings" 
     995msgstr "" 
     996 
     997#: wp-to-twitter-manager.php:467 wp-to-twitter-manager.php:511 
     998msgid "Save WP->Twitter Options" 
     999msgstr "Guardar configuración WP->Twitter " 
     1000 
     1001#: wp-to-twitter-manager.php:500 
     1002msgid "Settings for Links" 
     1003msgstr "" 
     1004 
     1005#: wp-to-twitter-manager.php:503 
     1006msgid "Update Twitter when you post a Blogroll link" 
     1007msgstr "Actualice Twitter cuando publique un enlace de Blogroll" 
     1008 
     1009#: wp-to-twitter-manager.php:504 
     1010msgid "Text for new link updates:" 
     1011msgstr "Texto para nuevos enlaces:" 
     1012 
     1013#: wp-to-twitter-manager.php:504 
     1014msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>." 
     1015msgstr "Códigos permitidos:  <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>." 
     1016 
     1017#: wp-to-twitter-shorteners.php:547 
     1018msgid "Don't shorten URLs." 
     1019msgstr "No acortar URLs." 
     1020 
     1021#: wp-to-twitter-shorteners.php:291 
     1022msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings" 
     1023msgstr "" 
     1024 
     1025#: wp-to-twitter-shorteners.php:295 
     1026msgid "Your Su.pr account details" 
     1027msgstr "" 
     1028 
     1029#: wp-to-twitter-shorteners.php:300 
     1030msgid "Your Su.pr Username:" 
     1031msgstr "" 
     1032 
     1033#: wp-to-twitter-shorteners.php:304 
     1034msgid "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:" 
     1035msgstr "" 
     1036 
     1037#: wp-to-twitter-shorteners.php:311 
     1038msgid "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." 
     1039msgstr "" 
     1040 
     1041#: wp-to-twitter-shorteners.php:317 
     1042msgid "Your Bit.ly account details" 
     1043msgstr "Detalles de su cuenta Bit.ly" 
     1044 
     1045#: wp-to-twitter-shorteners.php:322 
     1046msgid "Your Bit.ly username:" 
     1047msgstr "Su nombre de usuario de Bit.ly:" 
     1048 
     1049#: wp-to-twitter-shorteners.php:326 
     1050msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:" 
     1051msgstr "Su clave Bit.ly <abbr title='application programming interface'>API</abbr>:" 
     1052 
     1053#: wp-to-twitter-shorteners.php:334 
     1054msgid "Save Bit.ly API Key" 
     1055msgstr "Guardar clave Bit.ly" 
     1056 
     1057#: wp-to-twitter-shorteners.php:334 
     1058msgid "Clear Bit.ly API Key" 
     1059msgstr "Borrar clave Bit.ly" 
     1060 
     1061#: wp-to-twitter-shorteners.php:334 
     1062msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter." 
     1063msgstr "Se necesita un usuario y una clave API de Bit.ly para acortar URLs con la API de Bit.ly y WP to Twitter." 
     1064 
     1065#: wp-to-twitter-shorteners.php:340 
     1066msgid "Your YOURLS account details" 
     1067msgstr "" 
     1068 
     1069#: wp-to-twitter-shorteners.php:345 
     1070msgid "Path to your YOURLS config file (Local installations)" 
     1071msgstr "" 
     1072 
     1073#: wp-to-twitter-shorteners.php:346 wp-to-twitter-shorteners.php:350 
     1074msgid "Example:" 
     1075msgstr "" 
     1076 
     1077#: wp-to-twitter-shorteners.php:349 
     1078msgid "URI to the YOURLS API (Remote installations)" 
     1079msgstr "" 
     1080 
     1081#: wp-to-twitter-shorteners.php:353 
     1082msgid "Your YOURLS username:" 
     1083msgstr "" 
     1084 
     1085#: wp-to-twitter-shorteners.php:357 
     1086msgid "Your YOURLS password:" 
     1087msgstr "" 
     1088 
     1089#: wp-to-twitter-shorteners.php:357 
     1090msgid "<em>Saved</em>" 
     1091msgstr "" 
     1092 
     1093#: wp-to-twitter-shorteners.php:361 
     1094msgid "Post ID for YOURLS url slug." 
     1095msgstr "" 
     1096 
     1097#: wp-to-twitter-shorteners.php:362 
     1098msgid "Custom keyword for YOURLS url slug." 
     1099msgstr "" 
     1100 
     1101#: wp-to-twitter-shorteners.php:363 
     1102msgid "Default: sequential URL numbering." 
     1103msgstr "" 
     1104 
     1105#: wp-to-twitter-shorteners.php:369 
     1106msgid "Save YOURLS Account Info" 
     1107msgstr "" 
     1108 
     1109#: wp-to-twitter-shorteners.php:369 
     1110msgid "Clear YOURLS password" 
     1111msgstr "" 
     1112 
     1113#: wp-to-twitter-shorteners.php:369 
     1114msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter." 
     1115msgstr "" 
     1116 
     1117#: wp-to-twitter-manager.php:522 
     1118msgid "Advanced Settings" 
     1119msgstr "" 
     1120 
     1121#: wp-to-twitter-manager.php:527 wp-to-twitter-manager.php:706 
     1122msgid "Save Advanced WP->Twitter Options" 
     1123msgstr "" 
     1124 
     1125#: wp-to-twitter-manager.php:532 
     1126msgid "Strip nonalphanumeric characters from tags" 
     1127msgstr "" 
     1128 
     1129#: wp-to-twitter-manager.php:538 
     1130msgid "Spaces in tags replaced with:" 
     1131msgstr "" 
     1132 
     1133#: wp-to-twitter-manager.php:541 
    2471134msgid "Maximum number of tags to include:" 
    2481135msgstr "Número máximo de tags a incluir:" 
    2491136 
    250 #: wp-to-twitter-manager.php:389 
     1137#: wp-to-twitter-manager.php:542 
    2511138msgid "Maximum length in characters for included tags:" 
    2521139msgstr "Máximo número de caracteres para los tags incluidos:" 
    2531140 
    254 #: wp-to-twitter-manager.php:390 
    255 msgid "These options allow you to restrict the length and number of WordPress tags sent to Twitter as hashtags. Set to <code>0</code> or leave blank to allow any and all tags." 
    256 msgstr "Estas opciones le permiten restringir el número y longitud de etiquetas (tags) que se envían a Twitter como hashtags. Introduzca <code>0</code> o un valor en blanco para permitir todas las etiquetas." 
    257  
    258 #: wp-to-twitter-manager.php:394 
    259 msgid "Update Twitter when you post a Blogroll link" 
    260 msgstr "Actualice Twitter cuando publique un enlace de Blogroll" 
    261  
    262 #: wp-to-twitter-manager.php:396 
    263 msgid "Text for new link updates:" 
    264 msgstr "Texto para nuevos enlaces:" 
    265  
    266 #: wp-to-twitter-manager.php:396 
    267 msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>." 
    268 msgstr "Códigos permitidos:  <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>." 
    269  
    270 #: wp-to-twitter-manager.php:399 
     1141#: wp-to-twitter-manager.php:548 
    2711142msgid "Length of post excerpt (in characters):" 
    2721143msgstr "Longitud del extracto de entrada (en caracteres):" 
    2731144 
    274 #: wp-to-twitter-manager.php:399 
    275 msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead." 
    276 msgstr "Extraido de la entrada misma por defecto. Si usa el campo 'Excerpt' (Extracto), se usará ése a su vez." 
    277  
    278 #: wp-to-twitter-manager.php:403 
    279 msgid "Custom text before Tweets:" 
    280 msgstr "Texto personalizado antes de Tweets:" 
    281  
    282 #: wp-to-twitter-manager.php:404 
    283 msgid "Custom text after Tweets:" 
    284 msgstr "Texto personalizado después de Tweets:" 
    285  
    286 #: wp-to-twitter-manager.php:407 
     1145#: wp-to-twitter-manager.php:551 
     1146msgid "WP to Twitter Date Formatting:" 
     1147msgstr "" 
     1148 
     1149#: wp-to-twitter-manager.php:551 
     1150msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>." 
     1151msgstr "" 
     1152 
     1153#: wp-to-twitter-manager.php:555 
     1154msgid "Custom text before all Tweets:" 
     1155msgstr "" 
     1156 
     1157#: wp-to-twitter-manager.php:558 
     1158msgid "Custom text after all Tweets:" 
     1159msgstr "" 
     1160 
     1161#: wp-to-twitter-manager.php:561 
    2871162msgid "Custom field for an alternate URL to be shortened and Tweeted:" 
    2881163msgstr "Campo personalizado para una acortar y Tweetear una URL alternativa:" 
    2891164 
    290 #: wp-to-twitter-manager.php:408 
    291 msgid "You can use a custom field to send Cli.gs and Twitter an alternate URL from the permalink provided by WordPress. The value is the name of the custom field you're using to add an external URL." 
    292 msgstr "Puede usar un campo personalizado para enviar a Cli.gs y Twitter una URL alternativa al permalink de Wordpress. Este valor es el nombre del campo personalizado que usa para añadir la URL externa." 
    293  
    294 #: wp-to-twitter-manager.php:412 
     1165#: wp-to-twitter-manager.php:598 
    2951166msgid "Special Cases when WordPress should send a Tweet" 
    2961167msgstr "Casos especiales en los que Wordpress debe enviar un Tweet" 
    2971168 
    298 #: wp-to-twitter-manager.php:415 
    299 msgid "Set default Tweet status to 'No.'" 
    300 msgstr "El estado por defecto del Tweet es 'No'" 
    301  
    302 #: wp-to-twitter-manager.php:416 
    303 msgid "Twitter updates can be set on a post by post basis. By default, posts WILL be posted to Twitter. Check this to change the default to NO." 
    304 msgstr "Las actualizaciones de Twitter se pueden enviar por cada entrada. Por defecto, todas las entradas SÍ se enviarán a Twitter. Marque esta casilla para cambiar este ajuste a NO." 
    305  
    306 #: wp-to-twitter-manager.php:420 
     1169#: wp-to-twitter-manager.php:601 
     1170msgid "Do not post Tweets by default" 
     1171msgstr "" 
     1172 
     1173#: wp-to-twitter-manager.php:607 
     1174msgid "Allow status updates from Quick Edit" 
     1175msgstr "" 
     1176 
     1177#: wp-to-twitter-manager.php:612 
     1178msgid "Delaying tweets with WP Tweets PRO moves Tweeting to an publishing-independent action." 
     1179msgstr "" 
     1180 
     1181#: wp-to-twitter-manager.php:619 
    3071182msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)" 
    3081183msgstr "Enviar las actualizaciones de Twitter en publicación remota  (Post by Email o cliente XMLRPC)" 
    3091184 
    310 #: wp-to-twitter-manager.php:424 
    311 msgid "Update Twitter when a post is published using QuickPress" 
    312 msgstr "Actualizar Twitter cuando se publique una entrada utilizando QuickPress" 
    313  
    314 #: wp-to-twitter-manager.php:428 
    315 msgid "Special Fields" 
    316 msgstr "Campos especiales" 
    317  
    318 #: wp-to-twitter-manager.php:431 
    319 msgid "Use Google Analytics with WP-to-Twitter" 
    320 msgstr "Usar Google Analytics con WP-to-Twitter" 
    321  
    322 #: wp-to-twitter-manager.php:432 
    323 msgid "Campaign identifier for Google Analytics:" 
    324 msgstr "Identificador de campaña de Google Analytics:" 
    325  
    326 #: wp-to-twitter-manager.php:433 
    327 msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here." 
    328 msgstr "Puede seguir la respuesta de Twitter mediante Google Analytics si define un identificador de campaña aquí." 
    329  
    330 #: wp-to-twitter-manager.php:438 
    331 msgid "Authors have individual Twitter accounts" 
    332 msgstr "Los autores tienen cuentas de Twitter individuales" 
    333  
    334 #: wp-to-twitter-manager.php:438 
    335 msgid "Each author can set their own Twitter username and password in their user profile. Their posts will be sent to their own Twitter accounts." 
    336 msgstr "Cada autor puede elegir su cuenta de Twitter personal en su perfil de usuario. Sus entradas se notificarán a sus propias cuentas de Twitter." 
    337  
    338 #: wp-to-twitter-manager.php:442 
    339 msgid "Set your preferred URL Shortener" 
    340 msgstr "Elija su acortador de URLs preferido" 
    341  
    342 #: wp-to-twitter-manager.php:445 
    343 msgid "Use <strong>Cli.gs</strong> for my URL shortener." 
    344 msgstr "Usar <strong>Cli.gs</strong> como acortador de URLs." 
    345  
    346 #: wp-to-twitter-manager.php:445 
    347 msgid "Use <strong>Bit.ly</strong> for my URL shortener." 
    348 msgstr "Usar <strong>Bit.ly</strong> como acortador de URLs." 
    349  
    350 #: wp-to-twitter-manager.php:445 
    351 msgid "Don't shorten URLs." 
    352 msgstr "No acortar URLs." 
    353  
    354 #: wp-to-twitter-manager.php:450 
    355 msgid "Save WP->Twitter Options" 
    356 msgstr "Guardar configuración WP->Twitter " 
    357  
    358 #: wp-to-twitter-manager.php:456 
    359 msgid "Your Twitter account details" 
    360 msgstr "Detalles de su cuenta de Twitter" 
    361  
    362 #: wp-to-twitter-manager.php:463 
    363 msgid "Your Twitter username:" 
    364 msgstr "Su nombre de usuario de Twitter:" 
    365  
    366 #: wp-to-twitter-manager.php:467 
    367 msgid "Your Twitter password:" 
    368 msgstr "Su contraseña de Twitter:" 
    369  
    370 #: wp-to-twitter-manager.php:467 
    371 msgid "(<em>Saved</em>)" 
    372 msgstr "(<em>Guardado</em>)" 
    373  
    374 #: wp-to-twitter-manager.php:471 
    375 msgid "Save Twitter Login Info" 
    376 msgstr "Guardar información de login de Twitter" 
    377  
    378 #: wp-to-twitter-manager.php:471 
    379 msgid "&raquo; <small>Don't have a Twitter account? <a href='http://www.twitter.com'>Get one for free here</a>" 
    380 msgstr "&raquo; <small>¿No tiene cuenta en Twitter? <a href='http://www.twitter.com'>Consiga una aquí, gratis</a>" 
    381  
    382 #: wp-to-twitter-manager.php:475 
    383 msgid "Your Cli.gs account details" 
    384 msgstr "Detalles de su cuenta Cli.gs" 
    385  
    386 #: wp-to-twitter-manager.php:482 
    387 msgid "Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:" 
    388 msgstr "Su clave Cli.gs <abbr title='application programming interface'>API</abbr>:" 
    389  
    390 #: wp-to-twitter-manager.php:488 
    391 msgid "Don't have a Cli.gs account or Cligs API key? <a href='http://cli.gs/user/api/'>Get one free here</a>!<br />You'll need an API key in order to associate the Cligs you create with your Cligs account." 
    392 msgstr "¿No dispone de cuenta en Cli.gs o una clave API Cligs ? ¡<a href='http://cli.gs/user/api/'>Consiga una gratis aquí</a>!<br /> Necesitará una clave API para asociar los Cligs que cree con su cuenta Cligs." 
    393  
    394 #: wp-to-twitter-manager.php:493 
    395 msgid "Your Bit.ly account details" 
    396 msgstr "Detalles de su cuenta Bit.ly" 
    397  
    398 #: wp-to-twitter-manager.php:498 
    399 msgid "Your Bit.ly username:" 
    400 msgstr "Su nombre de usuario de Bit.ly:" 
    401  
    402 #: wp-to-twitter-manager.php:502 
    403 msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:" 
    404 msgstr "Su clave Bit.ly <abbr title='application programming interface'>API</abbr>:" 
    405  
    406 #: wp-to-twitter-manager.php:509 
    407 msgid "Save Bit.ly API Key" 
    408 msgstr "Guardar clave Bit.ly" 
    409  
    410 #: wp-to-twitter-manager.php:509 
    411 msgid "Clear Bit.ly API Key" 
    412 msgstr "Borrar clave Bit.ly" 
    413  
    414 #: wp-to-twitter-manager.php:509 
    415 msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter." 
    416 msgstr "Se necesita un usuario y una clave API de Bit.ly para acortar URLs con la API de Bit.ly y WP to Twitter." 
    417  
    418 #: wp-to-twitter-manager.php:518 
    419 msgid "Check Support" 
    420 msgstr "Chequear soporte" 
    421  
    422 #: wp-to-twitter-manager.php:518 
    423 msgid "Check whether your server supports WP to Twitter's queries to the Twitter and URL shortening APIs." 
    424 msgstr "Comprobar si su servidor soporta las peticiones de WP to Twitter a las APIs de Twitter y del acortador de URLs." 
    425  
    426 #: wp-to-twitter-manager.php:526 
    427 msgid "Need help?" 
    428 msgstr "¿Necesita ayuda?" 
    429  
    430 #: wp-to-twitter-manager.php:527 
    431 msgid "Visit the <a href='http://www.joedolson.com/articles/wp-to-twitter/'>WP to Twitter plugin page</a>." 
    432 msgstr "Visite la <a href='http://www.joedolson.com/articles/wp-to-twitter/'>página del plugin WP to Twitter</a>." 
    433  
    434 #: wp-to-twitter.php:691 
    435 msgid "Add_new_tag" 
    436 msgstr "Añadir_nueva_etiqueta" 
    437  
    438 #. #-#-#-#-#  plugin.pot (PACKAGE VERSION)  #-#-#-#-# 
    439 #. Plugin Name of an extension 
    440 #: wp-to-twitter.php:713 
    441 msgid "WP to Twitter" 
    442 msgstr "WP to Twitter" 
    443  
    444 #: wp-to-twitter.php:754 
    445 msgid "Twitter Post" 
    446 msgstr "Post de Twitter" 
    447  
    448 #: wp-to-twitter.php:759 
    449 msgid " characters.<br />Twitter posts are a maximum of 140 characters; if your Cli.gs URL is appended to the end of your document, you have 119 characters available. You can use <code>#url#</code>, <code>#title#</code>, <code>#post#</code> or <code>#blog#</code> to insert the shortened URL, post title, a post excerpt or blog name into the Tweet." 
    450 msgstr " caracteres.<br />Las entradas de Twitter son de 140 caracteres como máximo; si su URL Cli.gs se añade al final del documento, tiene 119 caracteres disponibles. Puede usar <code>#url#</code>, <code>#title#</code>, <code>#post#</code> o <code>#blog#</code> para insertar en el Tweet la URL corta, título de entrada, extracto de la entrada o nombre del blog." 
    451  
    452 #: wp-to-twitter.php:759 
    453 msgid "Make a Donation" 
    454 msgstr "Haga una Donación" 
    455  
    456 #: wp-to-twitter.php:762 
    457 msgid "Don't Tweet this post." 
    458 msgstr "No Tweetear esta entrada." 
    459  
    460 #: wp-to-twitter.php:811 
    461 msgid "WP to Twitter User Settings" 
    462 msgstr "Ajustes de usuario de WP to Twitter" 
    463  
    464 #: wp-to-twitter.php:815 
    465 msgid "Use My Twitter Account" 
    466 msgstr "Usar mi cuenta de Twitter" 
    467  
    468 #: wp-to-twitter.php:816 
    469 msgid "Select this option if you would like your posts to be Tweeted into your own Twitter account with no @ references." 
    470 msgstr "Seleccione esta opción si quiere que sus entradas se Tweeteen en su propia cuenta de Twitter sin referencias @. " 
    471  
    472 #: wp-to-twitter.php:817 
    473 msgid "Tweet my posts into my Twitter account with an @ reference to the site's main Twitter account." 
    474 msgstr "Tweetear mis entradas en mi cuenta de Twitter con una referencia @ a la cuenta principal de Twitter del blog." 
    475  
    476 #: wp-to-twitter.php:818 
    477 msgid "Tweet my posts into the main site Twitter account with an @ reference to my username. (Password not required with this option.)" 
    478 msgstr "Tweetear mis entradas con la cuenta principal de Twitter del blog, con una referencia @ a mi cuenta personal (no se necesita contraseña para esta opción)." 
    479  
    480 #: wp-to-twitter.php:821 
    481 msgid "Your Twitter Username" 
    482 msgstr "Su nombre de usuario de Twitter" 
    483  
    484 #: wp-to-twitter.php:822 
    485 msgid "Enter your own Twitter username." 
    486 msgstr "Introduzca su nombre de usuario de Twitter" 
    487  
    488 #: wp-to-twitter.php:825 
    489 msgid "Your Twitter Password" 
    490 msgstr "Su contraseña de Twitter" 
    491  
    492 #: wp-to-twitter.php:826 
    493 msgid "Enter your own Twitter password." 
    494 msgstr "Introduzca su contraseña de Twitter" 
    495  
    496 #: wp-to-twitter.php:945 
    497 msgid "<p>Couldn't locate the settings page.</p>" 
    498 msgstr "<p>No he podido encontrar la página de configuración.</p>" 
    499  
    500 #: wp-to-twitter.php:950 
    501 msgid "Settings" 
    502 msgstr "Configuración" 
    503  
    504 #. Plugin URI of an extension 
    505 msgid "http://www.joedolson.com/articles/wp-to-twitter/" 
    506 msgstr "http://www.joedolson.com/articles/wp-to-twitter/" 
    507  
    508 #. Description of an extension 
    509 msgid "Updates Twitter when you create a new blog post or add to your blogroll using Cli.gs. With a Cli.gs API key, creates a clig in your Cli.gs account with the name of your post as the title." 
    510 msgstr "Actualiza Twitter cuando crea una nueva entrada o añade algo a su Blogroll usando Cli.gs. Con una clave de API de Cli.gs, crea un clig en su cuenta Cli.gs con el nombre de su entrada como título." 
    511  
    512 #. Author of an extension 
    513 msgid "Joseph Dolson" 
    514 msgstr "Joseph Dolson" 
    515  
    516 #. Author URI of an extension 
    517 msgid "http://www.joedolson.com/" 
    518 msgstr "http://www.joedolson.com/" 
    519  
     1185#: wp-to-twitter-manager.php:624 
     1186msgid "Google Analytics Settings" 
     1187msgstr "" 
     1188 
     1189#: wp-to-twitter-manager.php:625 
     1190msgid "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." 
     1191msgstr "" 
     1192 
     1193#: wp-to-twitter-manager.php:628 
     1194msgid "Use a Static Identifier with WP-to-Twitter" 
     1195msgstr "" 
     1196 
     1197#: wp-to-twitter-manager.php:629 
     1198msgid "Static Campaign identifier for Google Analytics:" 
     1199msgstr "" 
     1200 
     1201#: wp-to-twitter-manager.php:633 
     1202msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter" 
     1203msgstr "" 
     1204 
     1205#: wp-to-twitter-manager.php:634 
     1206msgid "What dynamic identifier would you like to use?" 
     1207msgstr "" 
     1208 
     1209#: wp-to-twitter-manager.php:636 
     1210msgid "Category" 
     1211msgstr "" 
     1212 
     1213#: wp-to-twitter-manager.php:637 
     1214msgid "Post ID" 
     1215msgstr "" 
     1216 
     1217#: wp-to-twitter-manager.php:638 
     1218msgid "Post Title" 
     1219msgstr "" 
     1220 
     1221#: wp-to-twitter-manager.php:639 
     1222msgid "Author" 
     1223msgstr "" 
  • wp-to-twitter/trunk/readme.txt

    r726832 r742498  
    33Donate link: http://www.joedolson.com/donate.php 
    44Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links 
    5 Requires at least: 3.1.4 
     5Requires at least: 3.2.1 
    66Tested up to: 3.5.1 
    77License: GPLv2 or later 
     
    1212== Description == 
    1313 
    14 WP to Twitter automatically posts Tweets from WordPress to Twitter using your URL shortening service to provide a link back to your post from Twitter.  
     14WP to Twitter automatically posts Tweets from WordPress to Twitter using your URL shortening service to provide a link back to your post from Twitter. You can also use WP to Twitter to display a feed of recent Tweets using widgets. 
    1515 
    1616Upgrade to [WP Tweets Pro](http://www.joedolson.com/articles/wp-tweets-pro/) 
     
    5151 
    5252== Changelog == 
     53 
     54= 2.7.0 = 
     55 
     56* Bug fix to character counter to adapt to updated t.co lengths. 
     57* Bug fix to test URL to return unencoded URL.  
     58* Bug fix: could not save setting to use dynamic campaign ID with Google Analytics 
     59* Bug fix: Could not re-order template tag truncation order. 
     60* Bug fix: Corrected encoding of category names and descriptions. 
     61* Bug fix: Better handling of wp_get_shortlink for custom post types. (Custom post types don't support wp_get_shortlink) 
     62* Adds a Twitter Feed widget. 
     63* Deprecated support for WP 3.1.4. 
    5364 
    5465= 2.6.9 = 
     
    841852== Screenshots == 
    842853 
    843 1. WP to Twitter main settings page. 
     8541. WP to Twitter OAuth settings. 
    8448552. WP to Twitter custom Tweet settings. 
    845 3. WP to Twitter user settings. 
     8563. WP Tweets PRO settings. 
     8574. Twitter Feed 
    846858 
    847859== Upgrade Notice == 
    848860 
    849 * 2.6.6 Tweeting comments improved and moved into WP Tweets PRO upgrade. 
     861* 2.7.0 UI Redesign. Added Twitter Feed widget. Bug fixes. 
  • wp-to-twitter/trunk/styles.css

    r718938 r742498  
    1414#wp-to-twitter .categories li { list-style-type: none; margin: 3px 0; padding: 0;} 
    1515#wp-to-twitter .inside .wpt_types { float: left; width: 47%; } 
     16#wp-to-twitter .inside .clear { display: block; clear: both; } 
    1617#wp-to-twitter .inside .comments { clear: both;} 
    1718#wp-to-twitter .postbox { margin: 10px 10px 0 0;    } 
  • wp-to-twitter/trunk/wp-to-twitter-manager.php

    r725083 r742498  
    228228            update_option( 'use_dynamic_analytics', 1 ); 
    229229            update_option( 'use-twitter-analytics', 0 ); 
    230             update_option( 'no-analytics', 1 ); 
     230            update_option( 'no-analytics', 0 ); 
    231231        } else { 
    232232            update_option( 'use_dynamic_analytics', 0 ); 
     
    496496                    } 
    497497                }  
    498             ?>               
     498            ?> 
    499499            <fieldset> 
    500500            <legend><?php _e('Settings for Links','wp-to-twitter'); ?></legend> 
     
    505505            </p> 
    506506            </fieldset> 
    507  
     507            <br class='clear' /> 
    508508                <div> 
    509509        <input type="hidden" name="submit-type" value="options" /> 
     
    580580            $preferred_order = get_option( 'wpt_truncation_order' ); 
    581581            if ( !$preferred_order ) $preferred_order = array(); 
    582             $preferred_order = array_merge( $preferred_order, $default_order ); 
     582            $preferred_order = array_merge( $default_order, $preferred_order ); 
    583583            if ( is_array( $preferred_order ) ) { $default_order = $preferred_order; } 
    584584            asort($default_order); 
     
    590590            <fieldset> 
    591591            <legend><?php _e('Template tag priority order','wp-to-twitter'); ?></legend> 
    592             <p style="float: right; width: 80%;"><?php _e('The order in which items will be abbreviated or removed from your Tweet if the Tweet is too long to send to Twitter.','wp-to-twitter'); ?></p> 
     592            <p><?php _e('The order in which items will be abbreviated or removed from your Tweet if the Tweet is too long to send to Twitter.','wp-to-twitter'); ?></p> 
    593593            <p> 
    594594            <?php echo $inputs; ?> 
     
    696696                <label for="wp_debug_oauth"><?php _e("Get Debugging Data for OAuth Connection", 'wp-to-twitter'); ?></label></li> 
    697697            <li><input type="checkbox" name="wpt_http" id="wpt_http" value="1" <?php echo jd_checkCheckbox('wpt_http')?> /> 
    698                 <label for="wpt_http"><?php _e("Switch to <code>http</code> connection. (Default is https)", 'wp-to-twitter'); ?></label></li>               
     698                <label for="wpt_http"><?php _e("Switch to <code>http</code> connection. (Default is https)", 'wp-to-twitter'); ?></label></li> 
    699699            <li><input type="checkbox" name="jd_donations" id="jd_donations" value="1" <?php echo jd_checkCheckbox('jd_donations')?> /> 
    700700                <label for="jd_donations"><strong><?php _e("I made a donation, so stop whinging at me, please.", 'wp-to-twitter'); ?></strong></label></li> 
     
    718718            <?php if ( get_option('limit_categories') == '0' ) {    _e('<em>Category limits are disabled.</em>','wp-to-twitter'); } ?> 
    719719            </p> 
    720     <?php jd_list_categories(); ?> 
     720            <?php jd_list_categories(); ?> 
    721721 
    722722        </div> 
  • wp-to-twitter/trunk/wp-to-twitter-oauth.php

    r725083 r742498  
    213213            <div class="notes"> 
    214214            <h4>'.__('WP to Twitter Set-up','wp-to-twitter').'</h4> 
    215             <p>'.__('Your server time:','wp-to-twitter').' <code>'.$server_time.'</code> '.__("Twitter's time:").' <code>'.$date.'</code>.'.__( 'If these timestamps are not within 5 minutes of each other, your server will not connect to Twitter.','wp-to-twitter').'</p> 
     215            <p>'.__('Your server time:','wp-to-twitter').' <code>'.$server_time.'</code> '.__("Twitter's time:").' <code>'.$date.'</code>. '.__( 'If these timestamps are not within 5 minutes of each other, your server will not connect to Twitter.','wp-to-twitter').'</p> 
    216216            '.$errors.' 
    217             <p>'.__('Your server timezone (should be UTC,GMT,Europe/London or equivalent):','wp-to-twitter').date_default_timezone_get().'</p> 
     217            <p>'.__('Your server timezone (should be UTC,GMT,Europe/London or equivalent):','wp-to-twitter').' '.date_default_timezone_get().'</p> 
    218218            </div> 
    219219            '.$form.' 
     
    222222                        <ul> 
    223223                        <li>'.__('If you\'re not currently logged in to Twitter, log-in to the account you want associated with this site' , 'wp-to-twitter').'</li> 
    224                         <li>'.__('Your Application\'s Name will show up after "via" in your twitter stream. Your application name cannot include the word "Twitter."' , 'wp-to-twitter').'</li> 
     224                        <li>'.__('Your application name cannot include the word "Twitter."' , 'wp-to-twitter').'</li> 
    225225                        <li>'.__('Your Application Description can be anything.','wp-to-twitter').'</li> 
    226226                        <li>'.__('The WebSite and Callback URL should be ' , 'wp-to-twitter').'<strong>'.  get_bloginfo( 'url' ) .'</strong></li>                    
    227227                        </ul> 
    228228                    <p><em>'.__('Agree to the Developer Rules of the Road and continue.','wp-to-twitter').'</em></p> 
    229                     <h4>'.__('2. Switch to the "Settings" tab in Twitter apps','wp-to-twitter').'</h4> 
     229                    <h4>'.__('2. Switch to the "Settings" tab in Twitter apps','wp-to-twitter').'. '.__('<em>Do NOT create your access token yet.</em>','wp-to-twitter').'</h4> 
    230230                        <ul> 
    231231                        <li>'.__('Select "Read and Write" for the Application Type' , 'wp-to-twitter').'</li> 
    232232                        <li>'.__('Update the application settings' , 'wp-to-twitter').'</li> 
    233                         <li>'.__('Return to the Details tab and create your access token. Refresh page to view your access tokens.','wp-to-twitter').'</li>      
     233                        <li>'.__('Return to the Details tab and create your access token.','wp-to-twitter').'</li>       
    234234                        </ul>    
    235235                    <p><em>'.__('Once you have registered your site as an application, you will be provided with four keys.' , 'wp-to-twitter').'</em></p> 
  • wp-to-twitter/trunk/wp-to-twitter-shorteners.php

    r718938 r742498  
    1414            // filter link before sending to shortener or adding analytics 
    1515            $url = apply_filters('wpt_shorten_link',$url,$post_ID ); 
    16             $suprapi =  trim ( get_option( 'suprapi' ) ); 
    17             $suprlogin = trim ( get_option( 'suprlogin' ) ); 
    18             $bitlyapi =  trim ( get_option( 'bitlyapi' ) ); 
    19             $bitlylogin =  trim ( strtolower( get_option( 'bitlylogin' ) ) ); 
    20             $joturlapi = trim(get_option('joturlapi')); 
    21             $joturllogin = trim(get_option('joturllogin')); 
    22             $yourlslogin =  trim ( get_option( 'yourlslogin') ); 
    23             $yourlsapi = stripcslashes( get_option( 'yourlsapi' ) ); 
    2416            if ($testmode == false ) { 
    2517                if ( get_option('use-twitter-analytics') == 1 || get_option('use_dynamic_analytics') == 1 ) { 
     
    5547                    $url .= $ct .= $ga; 
    5648                } 
    57             } 
    58             $url = urlencode(urldecode(trim($url))); // prevent double-encoding 
     49                $url = urldecode(trim($url)); // prevent double-encoding 
     50                $encoded = urlencode($url); 
     51            } else { 
     52                $url = urldecode(trim($url)); // prevent double-encoding 
     53                $encoded = urlencode($url); 
     54            } 
    5955 
    6056            // custom word setting 
     
    6662                case 1: 
    6763                case 3: 
    68                     $shrink = urldecode($url); 
     64                    $shrink = $url; 
    6965                    break; 
    7066                case 4: 
    71                     $shrink = urldecode($url);               
    72                     if ( function_exists('wp_get_shortlink') ) { // use wp_get_shortlink if available 
    73                         $shrink = ( $post_ID != false )?wp_get_shortlink( $post_ID ):$url; 
    74                     } 
     67                    if ( function_exists('wp_get_shortlink') ) { 
     68                        // wp_get_shortlink doesn't natively support custom post types; but don't return an error in that case. 
     69                        $shrink = ( $post_ID != false )?wp_get_shortlink( $post_ID, 'post' ):$url; 
     70                    } 
     71                    if ( !$shrink ) { $shrink = $url; } 
    7572                    break; 
    7673                case 2: // updated to v3 3/31/2010 
    77                 $decoded = jd_remote_json( "http://api.bitly.com/v3/shorten?longUrl=".$url."&login=".$bitlylogin."&apiKey=".$bitlyapi."&format=json" ); 
    78                 $error = ''; 
     74                    $bitlyapi =  trim ( get_option( 'bitlyapi' ) ); 
     75                    $bitlylogin =  trim ( strtolower( get_option( 'bitlylogin' ) ) );                
     76                    $decoded = jd_remote_json( "http://api.bitly.com/v3/shorten?longUrl=".$encoded."&login=".$bitlylogin."&apiKey=".$bitlyapi."&format=json" ); 
     77                    $error = ''; 
    7978                    if ($decoded) { 
    8079                        if ($decoded['status_code'] != 200) { 
     
    9291                case 5: 
    9392                    // local YOURLS installation 
    94                     $url = urldecode($url); 
    9593                    global $yourls_reserved_URL; 
    9694                    define('YOURLS_INSTALLING', true); // Pretend we're installing YOURLS to bypass test for install or upgrade 
     
    121119                case 6: 
    122120                    // remote YOURLS installation 
     121                    $yourlslogin =  trim ( get_option( 'yourlslogin') ); 
     122                    $yourlsapi = stripcslashes( get_option( 'yourlsapi' ) );                     
    123123                    $api_url = sprintf( get_option('yourlsurl') . '?username=%s&password=%s&url=%s&format=json&action=shorturl&keyword=%s', 
    124                         $yourlslogin, $yourlsapi, $url, $keyword_format ); 
     124                        $yourlslogin, $yourlsapi, $encoded, $keyword_format ); 
    125125                    $json = jd_remote_json( $api_url, false );           
    126126                    if ($json) { 
     
    131131                    break; 
    132132                case 7: 
     133                    $suprapi =  trim ( get_option( 'suprapi' ) ); 
     134                    $suprlogin = trim ( get_option( 'suprlogin' ) );                 
    133135                    if ( $suprapi != '') { 
    134                         $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$url."&login=".$suprlogin."&apiKey=".$suprapi ); 
    135                     } else { 
    136                         $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$url ); 
     136                        $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$encoded."&login=".$suprlogin."&apiKey=".$suprapi ); 
     137                    } else { 
     138                        $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$encoded ); 
    137139                    } 
    138140                    update_option( 'wp_supr_error',"Su.pr API result: $decoded" ); 
     
    150152                case 8: 
    151153                // Goo.gl 
    152                     $link = urldecode($url); 
    153                     $url = "https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBSnqQOg3vX1gwR7y2l-40yEG9SZiaYPUQ";                     
    154                     $body = "{'longUrl':'$link'}"; 
     154                    $target = "https://www.googleapis.com/urlshortener/v1/url?key=AIzaSyBSnqQOg3vX1gwR7y2l-40yEG9SZiaYPUQ";                  
     155                    $body = "{'longUrl':'$url'}"; 
    155156                    //$body = json_encode($data); 
    156                     $json = jd_fetch_url( $url, 'POST', $body, 'Content-Type: application/json' ); 
     157                    $json = jd_fetch_url( $target, 'POST', $body, 'Content-Type: application/json' ); 
    157158                    $decoded = json_decode($json); 
    158159                    //$url = $decoded['id']; 
     
    162163                case 9: 
    163164                // Twitter Friendly Links 
    164                     $shrink = urldecode($url); 
     165                    $shrink = $url; 
    165166                    if ( function_exists( 'twitter_link' ) ) { // use twitter_link if available 
    166167                        $shrink = twitter_link( $post_ID ); 
    167168                    } 
    168169                    break; 
    169             case 10: // jotURL           
    170                 //jotURL, added: 2013-04-10 
    171                 $joturl_longurl_params = trim( get_option('joturl_longurl_params') ); 
    172                 if ($joturl_longurl_params != '') { 
    173                    if (strpos($url, "%3F") === FALSE && strpos($url, "?") === FALSE) { 
    174                       $ct = "?"; 
    175                    } else { 
    176                       $ct = "&"; 
    177                    } 
    178                    $url .= $ct . $joturl_longurl_params; 
    179                    $url = urlencode(urldecode(trim($url))); // prevent double-encoding 
    180                 } 
    181                 //\jotURL 
    182                 $decoded = jd_fetch_url("https://api.joturl.com/a/v1/shorten?url=" . $url . "&login=" . $joturllogin . "&key=" . $joturlapi . "&format=plain"); 
    183                 $error = ''; 
    184                 if ($decoded !== false) { 
    185                    $shrink = $decoded; 
    186                    //jotURL, added: 2013-04-10 
    187                    $joturl_shorturl_params = trim( get_option('joturl_shorturl_params') ); 
    188                    if ($joturl_shorturl_params != '') { 
    189                       if (strpos($shrink, "%3F") === FALSE && strpos($shrink, "?") === FALSE) { 
    190                          $ct = "?"; 
    191                       } else { 
    192                          $ct = "&"; 
    193                       } 
    194                       $shrink .= $ct . $joturl_shorturl_params; 
    195                    } 
     170                case 10: // jotURL           
     171                    //jotURL, added: 2013-04-10 
     172                    $joturlapi = trim(get_option('joturlapi')); 
     173                    $joturllogin = trim(get_option('joturllogin'));              
     174                    $joturl_longurl_params = trim( get_option('joturl_longurl_params') ); 
     175                    if ($joturl_longurl_params != '') { 
     176                       if (strpos($url, "%3F") === FALSE && strpos($url, "?") === FALSE) { 
     177                          $ct = "?"; 
     178                       } else { 
     179                          $ct = "&"; 
     180                       } 
     181                       $url .= $ct . $joturl_longurl_params; 
     182                       $encoded = urlencode(urldecode(trim($url))); // prevent double-encoding 
     183                    } 
    196184                    //\jotURL 
    197                 } else { 
    198                    $error = $decoded; 
    199                    $shrink = false; 
    200                    update_option('wp_joturl_error', "JSON result could not be decoded"); 
    201                 } 
    202                 if (!is_valid_url($shrink)) { 
    203                    $shrink = false; 
    204                    update_option('wp_joturl_error', $error); 
    205                 } 
     185                    $decoded = jd_fetch_url("https://api.joturl.com/a/v1/shorten?url=" . $encoded . "&login=" . $joturllogin . "&key=" . $joturlapi . "&format=plain"); 
     186                    $error = ''; 
     187                    if ($decoded !== false) { 
     188                       $shrink = $decoded; 
     189                       //jotURL, added: 2013-04-10 
     190                       $joturl_shorturl_params = trim( get_option('joturl_shorturl_params') ); 
     191                       if ($joturl_shorturl_params != '') { 
     192                          if (strpos($shrink, "%3F") === FALSE && strpos($shrink, "?") === FALSE) { 
     193                             $ct = "?"; 
     194                          } else { 
     195                             $ct = "&"; 
     196                          } 
     197                          $shrink .= $ct . $joturl_shorturl_params; 
     198                       } 
     199                        //\jotURL 
     200                    } else { 
     201                       $error = $decoded; 
     202                       $shrink = false; 
     203                       update_option('wp_joturl_error', "JSON result could not be decoded"); 
     204                    } 
     205                    if (!is_valid_url($shrink)) { 
     206                       $shrink = false; 
     207                       update_option('wp_joturl_error', $error); 
     208                    } 
    206209                break;                   
    207210            } 
  • wp-to-twitter/trunk/wp-to-twitter.php

    r726832 r742498  
    44Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/ 
    55Description: 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.6.9 
     6Version: 2.7.0 
    77Author: Joseph Dolson 
    88Author URI: http://www.joedolson.com/ 
     
    5050require_once( plugin_dir_path(__FILE__).'/wp-to-twitter-manager.php' ); 
    5151require_once( plugin_dir_path(__FILE__).'/wpt-functions.php' ); 
     52require_once( plugin_dir_path(__FILE__).'/wpt-feed.php' ); 
     53require_once( plugin_dir_path(__FILE__).'/wpt-widget.php' ); 
    5254 
    5355global $wpt_version,$jd_plugin_url; 
    54 $wpt_version = "2.6.9"; 
     56$wpt_version = "2.7.0"; 
    5557$plugin_dir = basename(dirname(__FILE__)); 
    5658load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); 
     
    5860function wpt_pro_compatibility() { 
    5961    global $wptp_version; 
    60     $current_wptp_version = '1.5.1'; 
     62    $current_wptp_version = '1.5.2'; 
    6163    if ( version_compare( $wptp_version, $current_wptp_version, '<' ) ) { 
    6264        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/">Upgrade for best compatibility!</a>','wp-to-twitter'),$current_wptp_version )."</p></div>"; 
     
    312314        } 
    313315 
    314         // DEBUG JCD 
    315316        if ( $connection ) { 
    316317            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 = ''; } 
     
    322323                    update_option('wpt_authentication_missing', false ); 
    323324                    break; 
     325                case '304': 
     326                    $error = __("304 Not Modified: There was no new data to return",'wp-to-twitter'); 
     327                    break;                   
    324328                case '400': 
    325329                    $error = __("400 Bad Request: The request was invalid. This is the status code returned during rate limiting.",'wp-to-twitter'); 
     
    337341                case '406': 
    338342                    $error = __("406 Not Acceptable: Invalid Format Specified.",'wp-to-twitter'); 
     343                    break; 
     344                case '422': 
     345                    $error = __("422 Unprocessable Entity: The image uploaded could not be processed..",'wp-to-twitter'); 
    339346                    break; 
    340347                case '429': 
     
    387394            return $return;          
    388395        } else { 
     396            return false; 
    389397            update_option( 'jd_status_message',__('No Twitter OAuth connection found.','wp-to-twitter') ); 
    390398        } 
     
    612620 
    613621function jd_post_info( $post_ID ) { 
     622    $encoding = get_option('blog_charset');  
     623    if ( $encoding == '' ) { $encoding = 'UTF-8'; } 
    614624    $post = get_post( $post_ID ); 
    615625    $category_ids = false; 
     
    646656        } 
    647657    $values['categoryIds'] = $category_ids; 
    648     $values['category'] = $category; 
    649     $values['cat_desc'] = $cat_desc; 
     658    $values['category'] = html_entity_decode( $category, ENT_COMPAT, $encoding ); 
     659    $values['cat_desc'] = html_entity_decode( $cat_desc, ENT_COMPAT, $encoding ); 
    650660        $excerpt_length = get_option( 'jd_post_excerpt' ); 
    651661    $post_excerpt = ( trim( $post->post_excerpt ) == "" )?@mb_substr( strip_tags( strip_shortcodes( $post->post_content ) ), 0, $excerpt_length ):@mb_substr( strip_tags( strip_shortcodes( $post->post_excerpt ) ), 0, $excerpt_length ); 
    652     $encoding = get_option('blog_charset');  
    653     if ( $encoding == '' ) { $encoding = 'UTF-8'; } 
     662 
    654663    $values['postExcerpt'] = html_entity_decode( $post_excerpt, ENT_COMPAT, $encoding ); 
    655664    $thisposttitle =  stripcslashes( strip_tags( $post->post_title ) ); 
     
    702711function jd_twit( $post_ID, $type='instant' ) { 
    703712    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    704         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 0: jd_twit running #$post_ID","Post ID: $post_ID / $type" ); // DEBUG 
     713        wp_mail( WPT_DEBUG_ADDRESS, "0: jd_twit running #$post_ID","Post ID: $post_ID / $type" ); // DEBUG 
    705714    }    
    706715    if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE || wp_is_post_revision($post_ID) ) { return $post_ID; } 
     
    715724    } 
    716725    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    717         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 1: JD Tweet This Value: #$post_ID","Tweet this: $jd_tweet_this / $type" ); // DEBUG 
     726        wp_mail( WPT_DEBUG_ADDRESS, "1: JD Tweet This Value: #$post_ID","Tweet this: $jd_tweet_this /". get_option('jd_tweet_default')." / $type" ); // DEBUG 
    718727    }    
    719728    if ( get_option('jd_tweet_default') == 0 ) {  
     
    732741        /* debug data */ 
    733742        if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    734             wp_mail(WPT_DEBUG_ADDRESS,"jd_twit 2: POST Debug Data #$post_ID","Post_Info: ".print_r($post_info,1)."POST: ".print_r($_POST, 1). " / $type" ); 
     743            wp_mail(WPT_DEBUG_ADDRESS, "2: POST Debug Data #$post_ID","Post_Info: ".print_r($post_info,1)."\n\nPOST: ".print_r($_POST, 1). " / $type" ); 
    735744        } 
    736745        if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() == true && function_exists('wpt_filter_post_info') ) { 
     
    738747            if ( $filter == true ) { 
    739748                if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {  
    740                     wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 3: Post filtered: #$post_ID",print_r($post_info,1)." / $type" );  
     749                    wp_mail( WPT_DEBUG_ADDRESS, "3: Post filtered: #$post_ID",print_r($post_info,1)." / $type" );  
    741750                } 
    742751                return false;  
     
    744753        } 
    745754        $post_type = $post_info['postType']; 
    746         // if the post modified date and the post date are the same, this is new. 
    747755        if ( $type == 'future' ) { 
    748756            $new = 1; // if this is a future action, then it should be published regardless of relationship 
    749757            if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) {  
    750                 wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 4: Future post: #$post_ID",print_r($post_info,1)." / $type" );  
    751             }            
     758                wp_mail( WPT_DEBUG_ADDRESS, "4: Future post: #$post_ID",print_r($post_info,1)." / $type" );  
     759            } 
    752760        } else { 
     761            // if the post modified date and the post date are the same, this is new. 
     762            // true if first date before or equal to last date 
    753763            $new = wpt_date_compare( $post_info['_postModified'], $post_info['_postDate'] ); 
    754764        } 
    755         // if this post is not previously published but has been backdated: lit. if post date is edited, but save option is 'publish' 
     765        // if this post is not previously published but has been backdated:  
     766        // lit. if post date is edited, but save option is 'publish' 
    756767        if ( $new == 0 && ( isset( $_POST['edit_date'] ) && $_POST['edit_date'] == 1 && !isset( $_POST['save'] ) ) ) { $new = 1; } 
    757         // post modified = updated? // postdate == published? therefore: posts which have been updated after creation (scheduled, updated in draft) may not turn up as new. // postStatus == future 
     768        // can't catch posts that were set to a past date as a draft, then published.  
    758769        $post_type_settings = get_option('wpt_post_types'); 
    759770        $post_types = array_keys($post_type_settings);       
     
    770781                    }                
    771782                    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    772                         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 4a: Processed as an Edit #$post_ID","Tweet this post: ".$post_info['postTitle']."\n".print_r($post_info,1)." / $type" ); // DEBUG 
     783                        wp_mail( WPT_DEBUG_ADDRESS, "4a: Processed as an Edit #$post_ID","Tweet this post: ".$post_info['postTitle']."\n".print_r($post_info,1)." / $type" ); // DEBUG 
    773784                    } 
    774785                    if ( $post_type_settings[$post_type]['post-edited-update'] == '1' ) { 
    775786                        $nptext = stripcslashes( $post_type_settings[$post_type]['post-edited-text'] ); 
    776                         //$nptext = apply_filters( 'wpt_user_text', $nptext, 'publish', true ); // filters for user accounts automatically. 
    777787                        $oldpost = true; 
    778788                    } 
    779789                } else { 
    780790                    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    781                         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 4b: Processed as a New Post #$post_ID","Tweet this: ".$post_info['postTitle']."\n".print_r($post_info,1)." / $type" ); // DEBUG 
     791                        wp_mail( WPT_DEBUG_ADDRESS, "4b: Processed as a New Post #$post_ID","Tweet this: ".$post_info['postTitle']."\n".print_r($post_info,1)." / $type" ); // DEBUG 
    782792                    }                
    783793                    if ( $post_type_settings[$post_type]['post-published-update'] == '1' ) { 
    784794                        $nptext = stripcslashes( $post_type_settings[$post_type]['post-published-text'] );           
    785                         //$nptext = apply_filters( 'wpt_user_text', $nptext, 'false', true ); // filters for user accounts automatically. 
    786795                        $newpost = true; 
    787796                    } 
    788797                } 
    789798//          } 
    790             if ($newpost || $oldpost) { 
     799            if ( $newpost || $oldpost ) { 
    791800                $template = ( $customTweet != "" ) ? $customTweet : $nptext; 
    792801                $sentence = jd_truncate_tweet( $template, $post_info, $post_ID ); 
    793802                    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    794                         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 5: Tweet Truncated #$post_ID","Truncated Tweet: $sentence / $type" ); // DEBUG 
     803                        wp_mail( WPT_DEBUG_ADDRESS, "5: Tweet Truncated #$post_ID","Truncated Tweet: $sentence / $type" ); // DEBUG 
    795804                    }                    
    796805                if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true  ) { 
     
    799808            } 
    800809            if ( $sentence != '' ) { 
    801                     $post_type_cats = get_object_taxonomies( $post_type ); 
    802                     if ( in_array( 'category', $post_type_cats ) ) {  
    803                     // 'category' is assigned to this post type, so apply filters. 
    804                         if ( get_option('jd_twit_cats') == '1' ) { 
    805                             $continue = ( !wpt_in_allowed_category( $post_info['categoryIds'] ) )?true:false; 
    806                         } else { 
    807                             $continue = ( wpt_in_allowed_category( $post_info['categoryIds'] ) )?true:false; 
    808                         } 
     810                $post_type_cats = get_object_taxonomies( $post_type ); 
     811                $continue = true;                    
     812                if ( in_array( 'category', $post_type_cats ) ) {  
     813                // 'category' is assigned to this post type, so apply filters. 
     814                    if ( get_option('jd_twit_cats') == '1' ) { 
     815                        $continue = ( !wpt_in_allowed_category( $post_info['categoryIds'] ) )?true:false; 
    809816                    } else { 
    810                         $continue = true;  
     817                        $continue = ( wpt_in_allowed_category( $post_info['categoryIds'] ) )?true:false; 
    811818                    } 
     819                } 
    812820                if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) && !$continue ) { 
    813                     wp_mail(WPT_DEBUG_ADDRESS,"jd_twit 6: Category limits applied #$post_ID", print_r($post_info['categoryIds'],1)." / $type" ); 
    814                 } 
    815                 if ( get_option('limit_categories') == '0' ) { $continue = true; } 
     821                    wp_mail( WPT_DEBUG_ADDRESS, "6: Category limits applied #$post_ID", print_r($post_info['categoryIds'],1)." / $type" ); 
     822                } 
     823                $continue = ( get_option('limit_categories') == '0' )?true:$continue; 
    816824                if ( $continue ) { 
    817825                    // WPT PRO // 
    818826                    if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() == true ) { 
    819                         $user = get_userdata( $auth ); 
    820                         $auth_verified = wtt_oauth_test( $auth,'verify' ); 
    821                         $auth = ( get_option( 'jd_individual_twitter_users' ) != 1 || !$auth_verified )?false:$auth; 
     827                        $wpt_selected_users = $post_info['wpt_authorized_users']; 
     828                        /* set up basic author/main account values */ 
     829                        $auth_verified = wtt_oauth_test( $auth,'verify' );                       
     830                        if ( empty( $wpt_selected_users ) && get_option( 'jd_individual_twitter_users' ) == 1 ) {  
     831                            $wpt_selected_users = array( $auth );  
     832                        } 
     833                         
     834                        if ( $post_info['wpt_cotweet'] == 1 || get_option( 'jd_individual_twitter_users' ) != 1 ) {  
     835                            $wpt_selected_users[] = false;  
     836                        } 
     837                         
    822838                        if ( $post_info['wpt_delay_tweet'] == 0 || $post_info['wpt_delay_tweet'] == '' || $post_info['wpt_no_delay'] == 'on' ) { 
    823                             $tweet = jd_doTwitterAPIPost( $sentence, $auth, $post_ID, $media ); 
    824                             if ( $post_info['wpt_cotweet'] == 1 && $auth_verified ) { 
    825                                 $tweet2 = jd_doTwitterAPIPost( $sentence2, false, $post_ID, $media );                
     839                            foreach ( $wpt_selected_users as $author ) { 
     840                                if ( wtt_oauth_test( $author, 'verify' ) ) { 
     841                                    $tweet = jd_doTwitterAPIPost( $sentence2, $author, $post_ID, $media ); 
     842                                } 
    826843                            } 
    827844                        } else { 
    828                             $time = ( (int) $post_info['wpt_delay_tweet'] )*60; 
    829                             wp_schedule_single_event( time()+$time, 'wpt_schedule_tweet_action', array( 'id'=>$auth, 'sentence'=>$sentence, 'rt'=>0, 'post_id'=>$post_ID ) ); 
    830                             if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    831                                 wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 7: JD Main Tweet Scheduled #$post_ID",print_r( array( 'id'=>$auth, 'sentence'=>$sentence, 'rt'=>0, 'post_id'=>$post_ID, 'timestamp'=>time()+$time, 'current_time'=>time(), 'timezone'=>get_option('gmt_offset') ),1)." / $type" ); // DEBUG 
    832                             }                                
    833                          
    834                             if ( $post_info['wpt_cotweet'] == 1 && $auth_verified ) { 
    835                                 $offset = rand(60,240); // delay co-tweet by 1-4 minutes.                        
    836                                 wp_schedule_single_event( time()+$time+$offset, 'wpt_schedule_tweet_action', array( 'id'=>false, 'sentence'=>$sentence2, 'rt'=>0, 'post_id'=>$post_ID ) ); 
     845                            foreach ( $wpt_selected_users as $auth ) { 
     846                                $offset = rand(60,480); // offset by 1-8 minutes 
     847                                if ( wtt_oauth_test( $auth,'verify' ) ) { 
     848                                    $time = apply_filters( 'wpt_schedule_delay',( (int) $post_info['wpt_delay_tweet'] )*60, $auth ); 
     849                                    wp_schedule_single_event( time()+$time+$offset, 'wpt_schedule_tweet_action', array( 'id'=>$auth, 'sentence'=>$sentence, 'rt'=>0, 'post_id'=>$post_ID ) ); 
     850                                    $tweet = true; // if scheduled, return true. 
    837851                                    if ( WPT_DEBUG && function_exists( 'wpt_pro_exists' ) ) { 
    838                                         wp_mail( WPT_DEBUG_ADDRESS,"jd_twit 8: JD CoTweet Scheduled #$post_ID",print_r($post_info,1)." / $type" ); // DEBUG 
     852                                        wp_mail( WPT_DEBUG_ADDRESS, "7: JD Tweet Scheduled for Auth ID #$auth #$post_ID",print_r( array( 'id'=>$auth, 'sentence'=>$sentence, 'rt'=>0, 'post_id'=>$post_ID, 'timestamp'=>time()+$time+$offset, 'current_time'=>time(), 'timezone'=>get_option('gmt_offset') ),1)." / $type" ); // DEBUG 
    839853                                    } 
    840854                                } 
    841                             $tweet = true; 
     855                            } 
    842856                        } 
     857                        /* This cycle handles scheduling the automatic retweets */ 
    843858                        if ( $post_info['wpt_retweet_after'] != 0 && $post_info['wpt_no_repost'] != 'on' ) { 
    844859                            $repeat = $post_info['wpt_retweet_repeat']; 
    845                             for ( $i=1;$i<=$repeat;$i++ ) { 
    846                                 if ( $i == 1 ) {  
    847                                     $prepend = ( get_option('wpt_prepend') == 1 )?'':get_option('wpt_prepend_rt'); 
    848                                     $append = ( get_option('wpt_prepend') != 1 )?'':get_option('wpt_prepend_rt'); 
    849                                     $retweet = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID,true ); 
    850                                     $retweet2 = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID, true, $auth ); 
     860                            $prepend = ( get_option('wpt_prepend') == 1 )?'':get_option('wpt_prepend_rt'); 
     861                            $append = ( get_option('wpt_prepend') != 1 )?'':get_option('wpt_prepend_rt'); 
     862                            $first = true; 
     863                            foreach ( $wpt_selected_users as $auth ) { 
     864                                if ( wtt_oauth_test( $auth,'verify' ) ) { 
     865                                    for ( $i=1;$i<=$repeat;$i++ ) { 
     866                                        $retweet = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID, true, $auth ); 
     867                                        // add original delay to schedule 
     868                                        $delay = ( isset($post_info['wpt_delay_tweet'] ) )?( (int) $post_info['wpt_delay_tweet'] )*60:0; 
     869                                        /* Don't delay the first Tweet of the group */ 
     870                                        $offset = ( $first == true )?0:rand(60,240); // delay each co-tweet by 1-4 minutes 
     871                                        $time = apply_filters( 'wpt_schedule_retweet',($post_info['wpt_retweet_after'])*(60*60)*$i, $auth ); 
     872                                        wp_schedule_single_event( time()+$time+$offset+$delay, 'wpt_schedule_tweet_action', array( 'id'=>$auth, 'sentence'=>$retweet, 'rt'=>$i, 'post_id'=>$post_ID ) ); 
     873                                        $tweet = true; 
     874                                        if ( $i == 4 ) { break; } 
     875                                    } 
    851876                                } 
    852                                 if ( $i == 2 ) {  
    853                                     $prepend = ( get_option('wpt_prepend') == 1 )?'':get_option('wpt_prepend_rt2'); 
    854                                     $append = ( get_option('wpt_prepend') != 1 )?'':get_option('wpt_prepend_rt2');                               
    855                                     $retweet = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID,true ); 
    856                                     $retweet2 = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID, true, $auth ); 
    857                                 } 
    858                                 if ( $i == 3 ) { 
    859                                     $prepend = ( get_option('wpt_prepend') == 1 )?'':get_option('wpt_prepend_rt3'); 
    860                                     $append = ( get_option('wpt_prepend') != 1 )?'':get_option('wpt_prepend_rt3');                               
    861                                     $retweet = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID,true ); 
    862                                     $retweet2 = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID, true, $auth ); 
    863                                 } 
    864                                 if ( $i == 4 ) { 
    865                                     $prepend = ( get_option('wpt_prepend') == 1 )?'':get_option('wpt_prepend_rt'); 
    866                                     $append = ( get_option('wpt_prepend') != 1 )?'':get_option('wpt_prepend_rt');                                
    867                                     $retweet = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID,true );  
    868                                     $retweet2 = jd_truncate_tweet( trim( $prepend.$template.$append ), $post_info, $post_ID, true, $auth ); 
    869                                 } 
    870                                 // add original delay to schedule 
    871                                 $delay = ( isset($post_info['wpt_delay_tweet'] ) )?( (int) $post_info['wpt_delay_tweet'] )*60:0; 
    872                                 $time = ($post_info['wpt_retweet_after'])*(60*60)*$i; 
    873                                 wp_schedule_single_event( time()+$time+$delay, 'wpt_schedule_tweet_action', array( 'id'=>$auth, 'sentence'=>$retweet, 'rt'=>$i, 'post_id'=>$post_ID ) ); 
    874                                 if ( $post_info['wpt_cotweet'] == 1 && $auth_verified ) { 
    875                                     $offset = rand(60,240); // delay each co-tweet by 1-4 minutes 
    876                                     wp_schedule_single_event( time()+$time+$offset+$delay, 'wpt_schedule_tweet_action', array( 'id'=>false, 'sentence'=>$retweet2, 'rt'=>$i, 'post_id'=>$post_ID ) ); 
    877                                 } 
    878                                 $tweet = true; 
    879                                 if ( $i == 4 ) { break; } 
     877                                $first = false; 
    880878                            } 
    881879                        } 
     
    981979            foreach ($wpt_post_types as $key=>$value) { 
    982980                if ( $value['post-published-update'] == 1 || $value['post-edited-update'] == 1 ) { 
    983                     add_meta_box( 'wptotwitter_div','WP to Twitter', 'jd_add_twitter_inner_box', $key, 'advanced' ); 
     981                    add_meta_box( 'wp2t','WP to Twitter', 'jd_add_twitter_inner_box', $key, 'side' ); 
    984982                } 
    985983            } 
     
    990988function jd_add_twitter_inner_box( $post ) { 
    991989    if ( current_user_can('wpt_can_tweet') ) { 
     990    $is_pro = ( function_exists( 'wpt_pro_exists' ) )?'pro':'free'; 
     991    echo "<div class='wp-to-twitter $is_pro'>"; 
    992992    global $jd_plugin_url, $jd_donate_url; 
    993         $post_length = 140; 
    994         $wpt_settings = get_option('wpt_post_types'); 
     993        $tweet_status = ''; 
     994        $options = get_option('wpt_post_types'); 
    995995        if ( is_object( $post ) ) { 
    996996            $type = $post->post_type; 
     
    10001000        $previous_tweets = get_post_meta ( $post_id, '_jd_wp_twitter', true ); 
    10011001        $failed_tweets = get_post_meta( $post_id, '_wpt_failed' ); 
    1002         if ( $status == 'publish' && $wpt_settings[$type]['post-edited-update'] != 1 ) { 
    1003             printf(__('Tweeting %s edits is disabled.','wp-to-twitter'), $type ); 
    1004             wpt_show_tweets( $previous_tweets, $failed_tweets ); 
    1005         } else { 
    1006             $jd_twitter = esc_attr( stripcslashes( get_post_meta($post_id, '_jd_twitter', true ) ) ); 
    1007             $jd_twitter = apply_filters( 'wpt_user_text', $jd_twitter, $status ); 
    1008             $jd_template = ( $status == 'publish' )?$wpt_settings[$type]['post-edited-text']:$wpt_settings[$type]['post-published-text']; 
    1009             $jd_tweet_this = get_post_meta( $post_id, '_jd_tweet_this', true ); 
    1010             if ( $jd_tweet_this == '' ) {  
    1011                 $jd_tweet_this = (get_option( 'jd_tweet_default' ) == '1' )?'no':'yes';  
    1012             } 
    1013             if ( isset( $_GET['action'] ) && $_GET['action'] == 'edit' && get_option( 'jd_tweet_default_edit' ) == '1' ) { $jd_tweet_this = 'no'; } 
    1014             ?> 
    1015         <?php if ( current_user_can('update_core') && function_exists( 'wpt_pro_exists' ) ) { wpt_pro_compatibility(); } ?> 
    1016         <?php if ( current_user_can('update_core') && !function_exists( 'wpt_pro_exists' ) ) { ?> <strong><a target="__blank" href="<?php echo $jd_donate_url; ?>"><?php _e('Upgrade to WP Tweets Pro!', 'wp-to-twitter', 'wp-to-twitter') ?></a></strong> <?php } ?> 
    1017         <?php if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can('update_core') ) { ?> 
    1018         <p class='jtw'> 
    1019         <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( $jd_twitter ); ?></textarea> 
    1020         </p> 
    1021         <?php 
     1002        $tweet = esc_attr( stripcslashes( get_post_meta($post_id, '_jd_twitter', true ) ) ); 
     1003        $tweet = apply_filters( 'wpt_user_text', $tweet, $status ); 
     1004        $jd_template = ( $status == 'publish' )?$options[$type]['post-edited-text']:$options[$type]['post-published-text']; 
     1005        $jd_tweet_this = get_post_meta( $post_id, '_jd_tweet_this', true ); 
     1006        if ( !$jd_tweet_this ) {  
     1007            $jd_tweet_this = (get_option( 'jd_tweet_default' ) == '1' )?'no':'yes';  
     1008        }        
     1009        if ( $status == 'publish' && $options[$type]['post-edited-update'] != 1 ) { 
     1010            $tweet_status = sprintf(__('Tweeting %s edits is disabled.','wp-to-twitter'), $type ); 
     1011        } 
     1012        // set tweet this to no if that is the default 
     1013        if ( isset( $_GET['action'] ) && $_GET['action'] == 'edit' && get_option( 'jd_tweet_default_edit' ) == '1' ) { $jd_tweet_this = 'no'; } 
     1014         
     1015        if ( current_user_can('update_core') && function_exists( 'wpt_pro_exists' ) ) {  
     1016            wpt_pro_compatibility();  
     1017        } 
     1018        if ( $tweet_status != '' ) { ?> 
     1019            <p class='disabled'><?php echo $tweet_status; ?></p> 
     1020        <?php }  
     1021        if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can('update_core') ) { ?> 
     1022            <p class='jtw'> 
     1023            <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> 
     1024            </p> 
     1025            <?php 
    10221026            $jd_expanded = $jd_template; 
    10231027                if ( get_option( 'jd_twit_prepend' ) != "" ) { 
     
    10271031                    $jd_expanded = $jd_expanded . " <span title='".__('Your appended Tweet text; not part of your template.','wp-to-twitter')."'>" . stripslashes(get_option( 'jd_twit_append' ))."</span>"; 
    10281032                } 
    1029                 /* $turl = ( $status = "publish" )?wpt_short_url( $post_id ):'http://t.co/example1'; 
    1030                 $search = array( '#url#','#title#','#reference#','#post#','#category#','#date#','#modified#','#author#','#account#','#tags#','#blog#' ); 
    1031                 $replace = array(  
    1032                     '<span class="tw_url">'.$turl.'</span>', 
    1033                     '<span class="tw_title">#title#</span>', 
    1034                     '<span class="tw_post">#post#</span>', 
    1035                     '<span class="tw_reference">#reference#</span>', 
    1036                     '<span class="tw_category">#category#</span>', 
    1037                     '<span class="tw_date">#date#</span>', 
    1038                     '<span class="tw_modified">#modified#</span>', 
    1039                     '<span class="tw_author">#author#</span>', 
    1040                     '<span class="tw_tags">#tags#</span>', 
    1041                     get_bloginfo('blogname') ); 
    1042                 $jd_expanded = str_replace( $search, $replace, $jd_expanded ); */ ?> 
    1043         <p class='template'><?php _e('Your template:','wp-to-twitter'); ?> <code><?php echo stripcslashes( $jd_expanded ); ?></code></p> 
    1044  
    1045         <?php  
     1033            ?> 
     1034            <p class='template'><?php _e('Your template:','wp-to-twitter'); ?> <code><?php echo stripcslashes( $jd_expanded ); ?></code></p> 
     1035            <?php  
    10461036            if ( get_option('jd_keyword_format') == 2 ) { 
    10471037                $custom_keyword = get_post_meta( $post_id, '_yourls_keyword', true ); 
    10481038                echo "<label for='yourls_keyword'>".__('YOURLS Custom Keyword','wp-to-twitter')."</label> <input type='text' name='_yourls_keyword' id='yourls_keyword' value='$custom_keyword' />"; 
    10491039            } 
    1050         ?> 
    1051         <?php } else { ?> 
    1052         <input type="hidden" name='_jd_twitter' value='<?php echo esc_attr($jd_twitter); ?>' /> 
    1053         <?php } ?> 
    1054         <?php if ( current_user_can( 'wpt_twitter_switch' ) || current_user_can('update_core') ) { ?> 
    1055         <?php 
     1040        } else { ?> 
     1041            <input type="hidden" name='_jd_twitter' value='<?php echo esc_attr($tweet); ?>' /> 
     1042            <?php  
     1043        }  
     1044        if ( current_user_can( 'wpt_twitter_switch' ) || current_user_can('update_core') ) { 
    10561045            // "no" means 'Don't Tweet' (is checked) 
    10571046            $nochecked = ( $jd_tweet_this == 'no' )?' checked="checked"':''; 
    10581047            $yeschecked = ( $jd_tweet_this == 'yes' )?' checked="checked"':''; 
     1048            ?> 
     1049            <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> 
     1050            <?php  
     1051            } else {  
     1052            ?> 
     1053            <input type='hidden' name='_jd_tweet_this' value='<?php echo $jd_tweet_this; ?>' /> 
     1054            <?php  
     1055        }  
    10591056        ?> 
    1060         <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> 
     1057        <div class='wpt-options'> 
     1058            <ul class='tabs'> 
     1059                <li><a href='#authors' class="active">Tweet to</a></li> 
     1060                <li><a href='#custom'>Options</a></li> 
     1061                <li><a href='#notes'>Notes</a></li> 
     1062            </ul> 
     1063            <?php 
     1064        /* WPT PRO OPTIONS */  
     1065        if ( current_user_can( 'edit_others_posts' ) ) { 
     1066            if ( get_option( 'jd_individual_twitter_users' ) == 1 ) { 
     1067                $selected = ( get_post_meta( $post_id, '_wpt_authorized_users', true ) )?get_post_meta( $post_id, '_wpt_authorized_users', true ):array(); 
     1068                if ( function_exists( 'wpt_authorized_users' ) ) { 
     1069                    echo "<div class='wptab' id='authors'>"; 
     1070                    echo wpt_authorized_users( $selected ); 
     1071                    do_action( 'wpt_authors_tab', $post_id, $selected ); 
     1072                    echo "</div>"; 
     1073                } else { 
     1074                    echo "<div class='wptab' id='authors'><p>"; 
     1075                        if ( function_exists( 'wpt_pro_exists' ) ) {  
     1076                            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/' ); 
     1077                        } else { 
     1078                            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/' );                       
     1079                        } 
     1080                    echo "</p></div>";               
     1081                } 
     1082            } 
     1083        }  
     1084        ?> 
     1085        <div class='wptab' id='custom'><?php 
     1086        if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true  && ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) ) { 
     1087                wpt_schedule_values( $post_id );  
     1088                do_action( 'wpt_custom_tab', $post_id, 'visible' );          
     1089        } else { 
     1090            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/' );                        
     1091        } 
     1092        ?></div> 
     1093        <?php        
     1094        /* WPT PRO */ 
     1095        if ( !current_user_can( 'wpt_twitter_custom' ) && !current_user_can( 'update_core' ) ) { ?> 
     1096            <div class='wptab' id='custom'> 
     1097            <p><?php _e('Access to customizing WP to Twitter values is not allowed for your user role.','wp-to-twitter'); ?></p> 
     1098            <?php  
     1099            if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true ) {  
     1100                wpt_schedule_values( $post_id, 'hidden' ); 
     1101                do_action( 'wpt_custom_tab', $post_id, 'hidden' );               
     1102            } ?> 
     1103            </div> 
     1104            <?php  
     1105        }            
     1106        if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) { ?> 
     1107            <div class='wptab' id='notes'> 
     1108            <p> 
     1109            <?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'); 
     1110            do_action( 'wpt_notes_tab', $post_id ); 
     1111            ?>  
     1112            </p> 
     1113            </div> 
     1114            <?php  
     1115        } ?> 
     1116        </div>       
     1117        <p class="wpt-support"> 
     1118        <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?> 
     1119            <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 $jd_donate_url; ?>"><?php _e('Upgrade to WP Tweets Pro', 'wp-to-twitter', 'wp-to-twitter') ?></a></strong> &raquo; 
    10611120        <?php } else { ?> 
    1062             <input type='hidden' name='_jd_tweet_this' value='<?php echo $jd_tweet_this; ?>' /> 
    1063         <?php } ?> 
    1064         <?php /* WPT PRO */ ?> 
    1065         <?php  
    1066         if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true  && ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) ) {  
    1067             wpt_schedule_values( $post_id );  
    1068         } ?> 
    1069         <?php /* WPT PRO */ ?> 
    1070         <?php if ( !current_user_can( 'wpt_twitter_custom' ) && !current_user_can( 'update_core' ) ) { ?> 
    1071         <div> 
    1072         <p><?php _e('Access to customizing WP to Twitter values is not allowed for your user role.','wp-to-twitter'); ?></p> 
    1073         <?php  
    1074         if ( function_exists('wpt_pro_exists') && wpt_pro_exists() == true ) {  
    1075             wpt_schedule_values( $post_id, 'hidden' );  
    1076         } ?> 
    1077         </div> 
    1078         <?php } ?> 
    1079         <?php if ( current_user_can( 'wpt_twitter_custom' ) || current_user_can( 'update_core' ) ) { ?> 
    1080         <p> 
    1081         <?php _e("Tweets are no more than 140 characters; Twitter counts URLs as 20 or 21 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') ?>  
    1082         </p> 
    1083         <?php } 
    1084         wpt_show_tweets( $previous_tweets, $failed_tweets ); ?>  
    1085         <p> 
    1086         <?php if ( !function_exists( 'wpt_pro_exists' ) ) { ?> 
    1087         <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 $jd_donate_url; ?>"><?php _e('Upgrade to WP Tweets Pro', 'wp-to-twitter', 'wp-to-twitter') ?></a></strong> &raquo; 
    1088         <?php } else { ?> 
    1089         <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; 
     1121            <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; 
    10901122        <?php } ?> 
    10911123        </p> 
    10921124        <?php  
    1093         } 
     1125        wpt_show_tweets( $previous_tweets, $failed_tweets ); 
     1126        ?> 
     1127        </div> 
     1128        <?php 
    10941129    } else { // permissions: this user isn't allowed to Tweet; 
    10951130        _e('Your role does not have the ability to Post Tweets from this site.','wp-to-twitter'); ?> <input type='hidden' name='_jd_tweet_this' value='no' /> <?php 
     
    11491184global $current_screen; 
    11501185if ( $current_screen->base == 'post' || $current_screen->id == 'wp-tweets-pro_page_wp-to-twitter-schedule' ) { 
    1151 if ( $current_screen->base == 'post' ) { 
    1152     $allowed = 140 - mb_strlen( get_option('jd_twit_prepend').get_option('jd_twit_append') ); 
    1153 } else { 
    1154     $change = wpt_date_compare( date('Y-m-d'), '2012-02-20' ); 
    1155     // temporary fix incase I don't hit the release date of 2/20. 
    1156     if ( $change === 1 ) { 
    1157         // if the home URL is SSL, I'm assuming sent URLs will be. Best I can do. 
    1158         $allowed = ( wpt_is_ssl( home_url() ) )?139:140; 
     1186    wp_register_style( 'wpt-post-styles', plugins_url('post-styles.css',__FILE__) ); 
     1187    wp_enqueue_style('wpt-post-styles'); 
     1188    if ( $current_screen->base == 'post' ) { 
     1189        $allowed = 140 - mb_strlen( get_option('jd_twit_prepend').get_option('jd_twit_append') ); 
    11591190    } else { 
    1160         // after February 20th, t.co links will be two characters longer. 
    11611191        $allowed = ( wpt_is_ssl( home_url() ) )?137:138;         
    11621192    } 
    1163 } 
    1164 echo " 
     1193    echo " 
    11651194<script type='text/javascript'> 
    11661195    jQuery(document).ready(function(\$){     
    1167         //default usage 
    11681196        \$('#jtw').charCount( { allowed: $allowed, counterText: '".__('Characters left: ','wp-to-twitter')."' } ); 
     1197    }); 
     1198    jQuery(document).ready(function(\$){ 
     1199        \$('#side-sortables .tabs a[href=\"#authors\"]').addClass('active'); 
     1200        \$('#side-sortables .wptab').not('#authors').hide(); 
     1201        \$('#side-sortables .tabs a').on('click',function(e) { 
     1202            e.preventDefault(); 
     1203            \$('#side-sortables .tabs a').removeClass('active'); 
     1204            \$(this).addClass('active'); 
     1205            var target = $(this).attr('href'); 
     1206            \$('#side-sortables .wptab').not(target).hide(); 
     1207            \$(target).show(); 
     1208        }); 
    11691209    }); 
    11701210</script> 
    11711211<style type='text/css'> 
    1172 #wptotwitter_div .jtw{ position: relative; padding-bottom: 1.4em;} 
    1173 #wptotwitter_div .jtw textarea {font-size: 1.2em;} 
    1174 #wptotwitter_div .counter{ 
    1175     position:absolute;right:4%;bottom:0; 
    1176     font-size:1.3em;font-weight:700;color:#666; 
    1177 } 
    1178 #wptotwitter_div .warning{color:#700;}   
    1179 #wptotwitter_div .exceeded{color:#e00;}  
    1180 #wptotwitter_div code span { border-bottom: 1px dashed!important; cursor: pointer; } 
    1181 #wptotwitter_div strong:first-child { border: 1px dashed; display: block; width: 25%; float: right; padding: 10px; background: #fff; font-size: 1.2em; line-height: 1.4; text-align:center; } 
    1182 #wptotwitter_div strong:first-child a { display: block; padding-top: 80px; background: url(".plugins_url('wp-to-twitter/logo.png').") 50% 10px no-repeat; } 
    1183 #wptotwitter_div .jtw { margin-right: 26%; width: 70%; } 
    1184 #side-sortables #wptotwitter_div .jtw {margin: 0;width: 100%; } 
    1185 #side-sortables #wptotwitter_div .jtw textarea { height: 120px; } 
    1186 #side-sortables #wptotwitter_div strong:first-child { width: 90%; float: none; margin: 0 auto 10px;  } 
     1212#wp2t h3 span { padding-left: 30px; background: url(".plugins_url('wp-to-twitter/twitter-bird-light-bgs.png').") left 50% no-repeat; } 
    11871213</style>"; 
    11881214    } 
     
    14321458function wpt_twit_future( $id ) { 
    14331459    set_transient( '_wpt_twit_future', $id, 10 ); 
    1434     // instant action has already run for this post. // prevent running actions twice (need both functions for older WP) 
     1460    // instant action has already run for this post. // prevent running actions twice (need both for older WP) 
    14351461    if ( get_transient ( '_wpt_twit_instant' ) && get_transient( '_wpt_twit_instant' ) == $id ) { 
    14361462        delete_transient( '_wpt_twit_instant' ); 
     
    14601486 
    14611487add_action( 'admin_menu', 'jd_addTwitterAdminPages' ); 
     1488 
     1489/* Enqueue styles for Twitter feed */ 
     1490add_action('wp_enqueue_scripts', 'wpt_stylesheet'); 
     1491function wpt_stylesheet() { 
     1492    $file = plugins_url( 'twitter-feed.css',__FILE__); 
     1493    wp_register_style( 'wpt-twitter-feed', $file ); 
     1494    wp_enqueue_style( 'wpt-twitter-feed' ); 
     1495} 
     1496 
     1497// Add notes about Tweet status to posts admin  
     1498function wpt_column($cols) { 
     1499    $cols['wpt'] = __('Tweet Status','wp-to-twitter'); 
     1500    return $cols; 
     1501} 
     1502 
     1503// Echo the ID for the new column 
     1504function wpt_value($column_name, $id) { 
     1505    if ($column_name == 'wpt') { 
     1506        $marked = ucfirst( ( get_post_meta($id,'_jd_tweet_this',true) ) ); 
     1507        echo $marked; 
     1508    } 
     1509} 
     1510 
     1511function wpt_return_value($value, $column_name, $id) { 
     1512    if ( $column_name == 'wpt' ) { 
     1513        $value = $id; 
     1514    } 
     1515    return $value; 
     1516} 
     1517 
     1518// Output CSS for width of new column 
     1519function wpt_css() { 
     1520?> 
     1521<style type="text/css"> 
     1522th#wpt { width: 60px; }  
     1523.wpt {text-align:center;} 
     1524</style> 
     1525<?php    
     1526} 
     1527 
     1528// Actions/Filters for various tables and the css output 
     1529function wpt_add() { 
     1530    $post_type_settings = get_option('wpt_post_types'); 
     1531    $post_types = array_keys($post_type_settings); 
     1532     
     1533    add_action('admin_head', 'wpt_css'); 
     1534    if ( !$post_types || in_array( 'post', $post_types ) ) { 
     1535        add_filter('manage_posts_columns', 'wpt_column'); 
     1536        add_action('manage_posts_custom_column', 'wpt_value', 10, 2); 
     1537    } 
     1538    if ( !$post_types || in_array( 'page', $post_types ) ) { 
     1539        add_filter('manage_pages_columns', 'wpt_column'); 
     1540        add_action('manage_pages_custom_column', 'wpt_value', 10, 2); 
     1541    }    
     1542    foreach ( $post_types as $types ) { 
     1543        add_action("manage_${types}_columns", 'wpt_column');             
     1544        add_filter("manage_${types}_custom_column", 'wpt_value', 10, 2); 
     1545    } 
     1546 
     1547} 
     1548 
     1549add_action('admin_init', 'wpt_add'); 
  • wp-to-twitter/trunk/wpt-functions.php

    r725083 r742498  
    213213        } 
    214214    global $wpt_server_string; 
    215     $wpt_server_string = strip_tags( $wpt_server_string ); 
     215    $wpt_server_string = trim(strip_tags( $wpt_server_string ) ); 
    216216    $data = " 
    217217================ Installation Data ==================== 
     
    270270    if ( function_exists( 'wpt_pro_exists' ) && wpt_pro_exists() == true ) { $checked="checked='checked'"; } else { $checked=''; } 
    271271        $admin_url = ( is_plugin_active('wp-tweets-pro/wpt-pro-functions.php') )?admin_url('admin.php?page=wp-tweets-pro'):admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'); 
    272  
    273272    echo " 
    274273    <form method='post' action='$admin_url'> 
Note: See TracChangeset for help on using the changeset viewer.