WP to Twitter - Version 2.2.12

Version Description

  • Bug fix release. Sorry.
  • Added translation to Brazilian Portugese Matheus Bratfisch
Download this release

Release Info

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

Code changes from version 2.2.2 to 2.2.12

OAuth.php → WP_OAuth.php RENAMED
@@ -1,15 +1,15 @@
1
  <?php
2
  // vim: foldmethod=marker
3
 
4
- if (!class_exists('OAuthException')) {
5
 
6
  /* Generic exception class
7
  */
8
- class OAuthException extends Exception {
9
  // pass
10
  }
11
 
12
- class OAuthConsumer {
13
  public $key;
14
  public $secret;
15
 
@@ -24,7 +24,7 @@ class OAuthConsumer {
24
  }
25
  }
26
 
27
- class OAuthToken {
28
  // access tokens and request tokens
29
  public $key;
30
  public $secret;
@@ -44,9 +44,9 @@ class OAuthToken {
44
  */
45
  function to_string() {
46
  return "oauth_token=" .
47
- OAuthUtil::urlencode_rfc3986($this->key) .
48
  "&oauth_token_secret=" .
49
- OAuthUtil::urlencode_rfc3986($this->secret);
50
  }
51
 
52
  function __toString() {
@@ -58,7 +58,7 @@ class OAuthToken {
58
  * A class for implementing a Signature Method
59
  * See section 9 ("Signing Requests") in the spec
60
  */
61
- abstract class OAuthSignatureMethod {
62
  /**
63
  * Needs to return the name of the Signature Method (ie HMAC-SHA1)
64
  * @return string
@@ -98,7 +98,7 @@ abstract class OAuthSignatureMethod {
98
  * character (ASCII code 38) even if empty.
99
  * - Chapter 9.2 ("HMAC-SHA1")
100
  */
101
- class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
102
  function get_name() {
103
  return "HMAC-SHA1";
104
  }
@@ -112,7 +112,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
112
  ($token) ? $token->secret : ""
113
  );
114
 
115
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
116
  $key = implode('&', $key_parts);
117
 
118
  return base64_encode(hash_hmac('sha1', $base_string, $key, true));
@@ -124,7 +124,7 @@ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod {
124
  * over a secure channel such as HTTPS. It does not use the Signature Base String.
125
  * - Chapter 9.4 ("PLAINTEXT")
126
  */
127
- class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
128
  public function get_name() {
129
  return "PLAINTEXT";
130
  }
@@ -144,7 +144,7 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
144
  ($token) ? $token->secret : ""
145
  );
146
 
147
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
148
  $key = implode('&', $key_parts);
149
  $request->base_string = $key;
150
 
@@ -160,7 +160,7 @@ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod {
160
  * specification.
161
  * - Chapter 9.3 ("RSA-SHA1")
162
  */
163
- abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
164
  public function get_name() {
165
  return "RSA-SHA1";
166
  }
@@ -219,7 +219,7 @@ abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
219
  }
220
  }
221
 
222
- class OAuthRequest {
223
  private $parameters;
224
  private $http_method;
225
  private $http_url;
@@ -230,7 +230,7 @@ class OAuthRequest {
230
 
231
  function __construct($http_method, $http_url, $parameters=NULL) {
232
  @$parameters or $parameters = array();
233
- $parameters = array_merge( OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
234
  $this->parameters = $parameters;
235
  $this->http_method = $http_method;
236
  $this->http_url = $http_url;
@@ -257,10 +257,10 @@ class OAuthRequest {
257
  // parsed parameter-list
258
  if (!$parameters) {
259
  // Find request headers
260
- $request_headers = OAuthUtil::get_headers();
261
 
262
  // Parse the query-string to find GET parameters
263
- $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
264
 
265
  // It's a POST request of the proper content-type, so parse POST
266
  // parameters and add those overriding any duplicates from GET
@@ -268,7 +268,7 @@ class OAuthRequest {
268
  && @strstr($request_headers["Content-Type"],
269
  "application/x-www-form-urlencoded")
270
  ) {
271
- $post_data = OAuthUtil::parse_parameters(
272
  file_get_contents(self::$POST_INPUT)
273
  );
274
  $parameters = array_merge($parameters, $post_data);
@@ -277,7 +277,7 @@ class OAuthRequest {
277
  // We have a Authorization-header with OAuth data. Parse the header
278
  // and add those overriding any duplicates from GET or POST
279
  if (@substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
280
- $header_parameters = OAuthUtil::split_header(
281
  $request_headers['Authorization']
282
  );
283
  $parameters = array_merge($parameters, $header_parameters);
@@ -285,7 +285,7 @@ class OAuthRequest {
285
 
286
  }
287
 
288
- return new OAuthRequest($http_method, $http_url, $parameters);
289
  }
290
 
291
  /**
@@ -293,16 +293,16 @@ class OAuthRequest {
293
  */
294
  public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
295
  @$parameters or $parameters = array();
296
- $defaults = array("oauth_version" => OAuthRequest::$version,
297
- "oauth_nonce" => OAuthRequest::generate_nonce(),
298
- "oauth_timestamp" => OAuthRequest::generate_timestamp(),
299
  "oauth_consumer_key" => $consumer->key);
300
  if ($token)
301
  $defaults['oauth_token'] = $token->key;
302
 
303
  $parameters = array_merge($defaults, $parameters);
304
 
305
- return new OAuthRequest($http_method, $http_url, $parameters);
306
  }
307
 
308
  public function set_parameter($name, $value, $allow_duplicates = true) {
@@ -346,7 +346,7 @@ class OAuthRequest {
346
  unset($params['oauth_signature']);
347
  }
348
 
349
- return OAuthUtil::build_http_query($params);
350
  }
351
 
352
  /**
@@ -363,7 +363,7 @@ class OAuthRequest {
363
  $this->get_signable_parameters()
364
  );
365
 
366
- $parts = OAuthUtil::urlencode_rfc3986($parts);
367
 
368
  return implode('&', $parts);
369
  }
@@ -412,7 +412,7 @@ class OAuthRequest {
412
  * builds the data one would send in a POST request
413
  */
414
  public function to_postdata() {
415
- return OAuthUtil::build_http_query($this->parameters);
416
  }
417
 
418
  /**
@@ -421,7 +421,7 @@ class OAuthRequest {
421
  public function to_header($realm=null) {
422
  $first = true;
423
  if($realm) {
424
- $out = 'Authorization: OAuth realm="' . OAuthUtil::urlencode_rfc3986($realm) . '"';
425
  $first = false;
426
  } else
427
  $out = 'Authorization: OAuth';
@@ -430,12 +430,12 @@ class OAuthRequest {
430
  foreach ($this->parameters as $k => $v) {
431
  if (substr($k, 0, 5) != "oauth") continue;
432
  if (is_array($v)) {
433
- throw new OAuthException('Arrays not supported in headers');
434
  }
435
  $out .= ($first) ? ' ' : ',';
436
- $out .= OAuthUtil::urlencode_rfc3986($k) .
437
  '="' .
438
- OAuthUtil::urlencode_rfc3986($v) .
439
  '"';
440
  $first = false;
441
  }
@@ -480,7 +480,7 @@ class OAuthRequest {
480
  }
481
  }
482
 
483
- class OAuthServer {
484
  protected $timestamp_threshold = 300; // in seconds, five minutes
485
  protected $version = '1.0'; // hi blaine
486
  protected $signature_methods = array();
@@ -563,7 +563,7 @@ class OAuthServer {
563
  $version = '1.0';
564
  }
565
  if ($version !== $this->version) {
566
- throw new OAuthException("OAuth version '$version' not supported");
567
  }
568
  return $version;
569
  }
@@ -578,12 +578,12 @@ class OAuthServer {
578
  if (!$signature_method) {
579
  // According to chapter 7 ("Accessing Protected Ressources") the signature-method
580
  // parameter is required, and we can't just fallback to PLAINTEXT
581
- throw new OAuthException('No signature method parameter. This parameter is required');
582
  }
583
 
584
  if (!in_array($signature_method,
585
  array_keys($this->signature_methods))) {
586
- throw new OAuthException(
587
  "Signature method '$signature_method' not supported " .
588
  "try one of the following: " .
589
  implode(", ", array_keys($this->signature_methods))
@@ -598,12 +598,12 @@ class OAuthServer {
598
  private function get_consumer(&$request) {
599
  $consumer_key = @$request->get_parameter("oauth_consumer_key");
600
  if (!$consumer_key) {
601
- throw new OAuthException("Invalid consumer key");
602
  }
603
 
604
  $consumer = $this->data_store->lookup_consumer($consumer_key);
605
  if (!$consumer) {
606
- throw new OAuthException("Invalid consumer");
607
  }
608
 
609
  return $consumer;
@@ -618,7 +618,7 @@ class OAuthServer {
618
  $consumer, $token_type, $token_field
619
  );
620
  if (!$token) {
621
- throw new OAuthException("Invalid $token_type token: $token_field");
622
  }
623
  return $token;
624
  }
@@ -646,7 +646,7 @@ class OAuthServer {
646
  );
647
 
648
  if (!$valid_sig) {
649
- throw new OAuthException("Invalid signature");
650
  }
651
  }
652
 
@@ -655,14 +655,14 @@ class OAuthServer {
655
  */
656
  private function check_timestamp($timestamp) {
657
  if( ! $timestamp )
658
- throw new OAuthException(
659
  'Missing timestamp parameter. The parameter is required'
660
  );
661
 
662
  // verify that timestamp is recentish
663
  $now = time();
664
  if (abs($now - $timestamp) > $this->timestamp_threshold) {
665
- throw new OAuthException(
666
  "Expired timestamp, yours $timestamp, ours $now"
667
  );
668
  }
@@ -673,7 +673,7 @@ class OAuthServer {
673
  */
674
  private function check_nonce($consumer, $token, $nonce, $timestamp) {
675
  if( ! $nonce )
676
- throw new OAuthException(
677
  'Missing nonce parameter. The parameter is required'
678
  );
679
 
@@ -685,13 +685,13 @@ class OAuthServer {
685
  $timestamp
686
  );
687
  if ($found) {
688
- throw new OAuthException("Nonce already used: $nonce");
689
  }
690
  }
691
 
692
  }
693
 
694
- class OAuthDataStore {
695
  function lookup_consumer($consumer_key) {
696
  // implement me
697
  }
@@ -717,10 +717,10 @@ class OAuthDataStore {
717
 
718
  }
719
 
720
- class OAuthUtil {
721
  public static function urlencode_rfc3986($input) {
722
  if (is_array($input)) {
723
- return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input);
724
  } else if (is_scalar($input)) {
725
  return str_replace(
726
  '+',
@@ -752,7 +752,7 @@ class OAuthUtil {
752
  $header_name = $matches[2][0];
753
  $header_content = (isset($matches[5])) ? $matches[5][0] : $matches[4][0];
754
  if (preg_match('/^oauth_/', $header_name) || !$only_allow_oauth_parameters) {
755
- $params[$header_name] = OAuthUtil::urldecode_rfc3986($header_content);
756
  }
757
  $offset = $match[1] + strlen($match[0]);
758
  }
@@ -821,8 +821,8 @@ class OAuthUtil {
821
  $parsed_parameters = array();
822
  foreach ($pairs as $pair) {
823
  $split = explode('=', $pair, 2);
824
- $parameter = OAuthUtil::urldecode_rfc3986($split[0]);
825
- $value = isset($split[1]) ? OAuthUtil::urldecode_rfc3986($split[1]) : '';
826
 
827
  if (isset($parsed_parameters[$parameter])) {
828
  // We have already recieved parameter(s) with this name, so add to the list
@@ -846,8 +846,8 @@ class OAuthUtil {
846
  if (!$params) return '';
847
 
848
  // Urlencode both keys and values
849
- $keys = OAuthUtil::urlencode_rfc3986(array_keys($params));
850
- $values = OAuthUtil::urlencode_rfc3986(array_values($params));
851
  $params = array_combine($keys, $values);
852
 
853
  // Parameters are sorted by name, using lexicographical byte value ordering.
@@ -874,5 +874,3 @@ class OAuthUtil {
874
  }
875
 
876
  } // class_exists check
877
-
878
- ?>
1
  <?php
2
  // vim: foldmethod=marker
3
 
4
+ if (!class_exists('WPOAuthException')) {
5
 
6
  /* Generic exception class
7
  */
8
+ class WPOAuthException extends Exception {
9
  // pass
10
  }
11
 
12
+ class WPOAuthConsumer {
13
  public $key;
14
  public $secret;
15
 
24
  }
25
  }
26
 
27
+ class WPOAuthToken {
28
  // access tokens and request tokens
29
  public $key;
30
  public $secret;
44
  */
45
  function to_string() {
46
  return "oauth_token=" .
47
+ WPOAuthUtil::urlencode_rfc3986($this->key) .
48
  "&oauth_token_secret=" .
49
+ WPOAuthUtil::urlencode_rfc3986($this->secret);
50
  }
51
 
52
  function __toString() {
58
  * A class for implementing a Signature Method
59
  * See section 9 ("Signing Requests") in the spec
60
  */
61
+ abstract class WPOAuthSignatureMethod {
62
  /**
63
  * Needs to return the name of the Signature Method (ie HMAC-SHA1)
64
  * @return string
98
  * character (ASCII code 38) even if empty.
99
  * - Chapter 9.2 ("HMAC-SHA1")
100
  */
101
+ class WPOAuthSignatureMethod_HMAC_SHA1 extends WPOAuthSignatureMethod {
102
  function get_name() {
103
  return "HMAC-SHA1";
104
  }
112
  ($token) ? $token->secret : ""
113
  );
114
 
115
+ $key_parts = WPOAuthUtil::urlencode_rfc3986($key_parts);
116
  $key = implode('&', $key_parts);
117
 
118
  return base64_encode(hash_hmac('sha1', $base_string, $key, true));
124
  * over a secure channel such as HTTPS. It does not use the Signature Base String.
125
  * - Chapter 9.4 ("PLAINTEXT")
126
  */
127
+ class WPOAuthSignatureMethod_PLAINTEXT extends WPOAuthSignatureMethod {
128
  public function get_name() {
129
  return "PLAINTEXT";
130
  }
144
  ($token) ? $token->secret : ""
145
  );
146
 
147
+ $key_parts = WPOAuthUtil::urlencode_rfc3986($key_parts);
148
  $key = implode('&', $key_parts);
149
  $request->base_string = $key;
150
 
160
  * specification.
161
  * - Chapter 9.3 ("RSA-SHA1")
162
  */
163
+ abstract class WPOAuthSignatureMethod_RSA_SHA1 extends WPOAuthSignatureMethod {
164
  public function get_name() {
165
  return "RSA-SHA1";
166
  }
219
  }
220
  }
221
 
222
+ class WPOAuthRequest {
223
  private $parameters;
224
  private $http_method;
225
  private $http_url;
230
 
231
  function __construct($http_method, $http_url, $parameters=NULL) {
232
  @$parameters or $parameters = array();
233
+ $parameters = array_merge( WPOAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
234
  $this->parameters = $parameters;
235
  $this->http_method = $http_method;
236
  $this->http_url = $http_url;
257
  // parsed parameter-list
258
  if (!$parameters) {
259
  // Find request headers
260
+ $request_headers = WPOAuthUtil::get_headers();
261
 
262
  // Parse the query-string to find GET parameters
263
+ $parameters = WPOAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
264
 
265
  // It's a POST request of the proper content-type, so parse POST
266
  // parameters and add those overriding any duplicates from GET
268
  && @strstr($request_headers["Content-Type"],
269
  "application/x-www-form-urlencoded")
270
  ) {
271
+ $post_data = WPOAuthUtil::parse_parameters(
272
  file_get_contents(self::$POST_INPUT)
273
  );
274
  $parameters = array_merge($parameters, $post_data);
277
  // We have a Authorization-header with OAuth data. Parse the header
278
  // and add those overriding any duplicates from GET or POST
279
  if (@substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
280
+ $header_parameters = WPOAuthUtil::split_header(
281
  $request_headers['Authorization']
282
  );
283
  $parameters = array_merge($parameters, $header_parameters);
285
 
286
  }
287
 
288
+ return new WPOAuthRequest($http_method, $http_url, $parameters);
289
  }
290
 
291
  /**
293
  */
294
  public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
295
  @$parameters or $parameters = array();
296
+ $defaults = array("oauth_version" => WPOAuthRequest::$version,
297
+ "oauth_nonce" => WPOAuthRequest::generate_nonce(),
298
+ "oauth_timestamp" => WPOAuthRequest::generate_timestamp(),
299
  "oauth_consumer_key" => $consumer->key);
300
  if ($token)
301
  $defaults['oauth_token'] = $token->key;
302
 
303
  $parameters = array_merge($defaults, $parameters);
304
 
305
+ return new WPOAuthRequest($http_method, $http_url, $parameters);
306
  }
307
 
308
  public function set_parameter($name, $value, $allow_duplicates = true) {
346
  unset($params['oauth_signature']);
347
  }
348
 
349
+ return WPOAuthUtil::build_http_query($params);
350
  }
351
 
352
  /**
363
  $this->get_signable_parameters()
364
  );
365
 
366
+ $parts = WPOAuthUtil::urlencode_rfc3986($parts);
367
 
368
  return implode('&', $parts);
369
  }
412
  * builds the data one would send in a POST request
413
  */
414
  public function to_postdata() {
415
+ return WPOAuthUtil::build_http_query($this->parameters);
416
  }
417
 
418
  /**
421
  public function to_header($realm=null) {
422
  $first = true;
423
  if($realm) {
424
+ $out = 'Authorization: OAuth realm="' . WPOAuthUtil::urlencode_rfc3986($realm) . '"';
425
  $first = false;
426
  } else
427
  $out = 'Authorization: OAuth';
430
  foreach ($this->parameters as $k => $v) {
431
  if (substr($k, 0, 5) != "oauth") continue;
432
  if (is_array($v)) {
433
+ throw new WPOAuthException('Arrays not supported in headers');
434
  }
435
  $out .= ($first) ? ' ' : ',';
436
+ $out .= WPOAuthUtil::urlencode_rfc3986($k) .
437
  '="' .
438
+ WPOAuthUtil::urlencode_rfc3986($v) .
439
  '"';
440
  $first = false;
441
  }
480
  }
481
  }
482
 
483
+ class WPOAuthServer {
484
  protected $timestamp_threshold = 300; // in seconds, five minutes
485
  protected $version = '1.0'; // hi blaine
486
  protected $signature_methods = array();
563
  $version = '1.0';
564
  }
565
  if ($version !== $this->version) {
566
+ throw new WPOAuthException("OAuth version '$version' not supported");
567
  }
568
  return $version;
569
  }
578
  if (!$signature_method) {
579
  // According to chapter 7 ("Accessing Protected Ressources") the signature-method
580
  // parameter is required, and we can't just fallback to PLAINTEXT
581
+ throw new WPOAuthException('No signature method parameter. This parameter is required');
582
  }
583
 
584
  if (!in_array($signature_method,
585
  array_keys($this->signature_methods))) {
586
+ throw new WPOAuthException(
587
  "Signature method '$signature_method' not supported " .
588
  "try one of the following: " .
589
  implode(", ", array_keys($this->signature_methods))
598
  private function get_consumer(&$request) {
599
  $consumer_key = @$request->get_parameter("oauth_consumer_key");
600
  if (!$consumer_key) {
601
+ throw new WPOAuthException("Invalid consumer key");
602
  }
603
 
604
  $consumer = $this->data_store->lookup_consumer($consumer_key);
605
  if (!$consumer) {
606
+ throw new WPOAuthException("Invalid consumer");
607
  }
608
 
609
  return $consumer;
618
  $consumer, $token_type, $token_field
619
  );
620
  if (!$token) {
621
+ throw new WPOAuthException("Invalid $token_type token: $token_field");
622
  }
623
  return $token;
624
  }
646
  );
647
 
648
  if (!$valid_sig) {
649
+ throw new WPOAuthException("Invalid signature");
650
  }
651
  }
652
 
655
  */
656
  private function check_timestamp($timestamp) {
657
  if( ! $timestamp )
658
+ throw new WPOAuthException(
659
  'Missing timestamp parameter. The parameter is required'
660
  );
661
 
662
  // verify that timestamp is recentish
663
  $now = time();
664
  if (abs($now - $timestamp) > $this->timestamp_threshold) {
665
+ throw new WPOAuthException(
666
  "Expired timestamp, yours $timestamp, ours $now"
667
  );
668
  }
673
  */
674
  private function check_nonce($consumer, $token, $nonce, $timestamp) {
675
  if( ! $nonce )
676
+ throw new WPOAuthException(
677
  'Missing nonce parameter. The parameter is required'
678
  );
679
 
685
  $timestamp
686
  );
687
  if ($found) {
688
+ throw new WPOAuthException("Nonce already used: $nonce");
689
  }
690
  }
691
 
692
  }
693
 
694
+ class WPOAuthDataStore {
695
  function lookup_consumer($consumer_key) {
696
  // implement me
697
  }
717
 
718
  }
719
 
720
+ class WPOAuthUtil {
721
  public static function urlencode_rfc3986($input) {
722
  if (is_array($input)) {
723
+ return array_map(array('WPOAuthUtil', 'urlencode_rfc3986'), $input);
724
  } else if (is_scalar($input)) {
725
  return str_replace(
726
  '+',
752
  $header_name = $matches[2][0];
753
  $header_content = (isset($matches[5])) ? $matches[5][0] : $matches[4][0];
754
  if (preg_match('/^oauth_/', $header_name) || !$only_allow_oauth_parameters) {
755
+ $params[$header_name] = WPOAuthUtil::urldecode_rfc3986($header_content);
756
  }
757
  $offset = $match[1] + strlen($match[0]);
758
  }
821
  $parsed_parameters = array();
822
  foreach ($pairs as $pair) {
823
  $split = explode('=', $pair, 2);
824
+ $parameter = WPOAuthUtil::urldecode_rfc3986($split[0]);
825
+ $value = isset($split[1]) ? WPOAuthUtil::urldecode_rfc3986($split[1]) : '';
826
 
827
  if (isset($parsed_parameters[$parameter])) {
828
  // We have already recieved parameter(s) with this name, so add to the list
846
  if (!$params) return '';
847
 
848
  // Urlencode both keys and values
849
+ $keys = WPOAuthUtil::urlencode_rfc3986(array_keys($params));
850
+ $values = WPOAuthUtil::urlencode_rfc3986(array_values($params));
851
  $params = array_combine($keys, $values);
852
 
853
  // Parameters are sorted by name, using lexicographical byte value ordering.
874
  }
875
 
876
  } // class_exists check
 
 
functions.php CHANGED
@@ -18,6 +18,7 @@ function jd_remote_json( $url, $array=true ) {
18
 
19
  function is_valid_url( $url ) {
20
  if (is_string($url)) {
 
21
  return preg_match('|^http(s)?://[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(/.*)?$|i', $url);
22
  } else {
23
  return false;
@@ -44,25 +45,6 @@ function jd_fetch_url( $url, $method='GET', $body='', $headers='', $return='body
44
  }
45
  }
46
 
47
- if ( !class_exists('SERVICES_JSON') ) {
48
- if ( version_compare( $wp_version,"2.9","<" )) {
49
- require_once( WP_PLUGIN_DIR.'/wp-to-twitter/json.class.php' );
50
- } else {
51
- require_once( ABSPATH.WPINC.'/class-json.php' );
52
- }
53
- }
54
- if (!function_exists('json_encode')) {
55
- function json_encode($data) {
56
- $json = new Services_JSON();
57
- return( $json->encode($data) );
58
- }
59
- }
60
- if (!function_exists('json_decode')) {
61
- function json_decode($data) {
62
- $json = new Services_JSON( SERVICES_JSON_LOOSE_TYPE );
63
- return( $json->decode($data) );
64
- }
65
- }
66
  if (!function_exists('mb_strlen')) {
67
  function mb_strlen($data) {
68
  return strlen($data);
@@ -127,60 +109,23 @@ if ( !function_exists( 'mb_substr_replace' ) ) {
127
  function print_settings() {
128
  global $version;
129
 
130
- if ( get_option ( 'twitterpw' ) != '' ) {
131
- $twitterpw = "Saved.";
132
- } else {
133
- $twitterpw = "Blank.";
134
- }
135
- if ( get_option ( 'yourlsapi' ) != '' ) {
136
- $yourlsapi = "Saved.";
137
- } else {
138
- $yourlsapi = "Blank.";
139
- }
140
- if ( get_option ( 'bitlyapi' ) != '' ) {
141
- $bitlyapi = "Saved.";
142
- } else {
143
- $bitlyapi = "Blank.";
144
- }
145
- $options = array(
146
- 'newpost-published-update'=>get_option( 'newpost-published-update' ),
147
- 'newpost-published-text'=>get_option( 'newpost-published-text' ),
148
 
149
- 'oldpost-edited-update'=>get_option( 'oldpost-edited-update' ),
150
- 'oldpost-edited-text'=>get_option( 'oldpost-edited-text' ),
 
 
 
 
 
 
 
151
 
 
152
  'jd_twit_pages'=>get_option( 'jd_twit_pages' ),
153
  'jd_twit_edited_pages'=>get_option( 'jd_twit_edited_pages' ),
154
-
155
- 'oldpage-edited-text'=>get_option( 'oldpage-edited-text' ),
156
- 'newpage-published-text'=>get_option( 'newpage-published-text' ),
157
- // Blogroll options
158
- 'jd_twit_blogroll'=>get_option( 'jd_twit_blogroll' ),
159
- 'newlink-published-text'=>get_option( 'newlink-published-text' ),
160
-
161
- // account settings
162
- 'twitterlogin'=>get_option( 'twitterlogin' ),
163
- 'twitterpw'=>$twitterpw,
164
- 'cligsapi'=>get_option( 'cligsapi' ),
165
- 'bitlylogin'=>get_option( 'bitlylogin' ),
166
- 'bitlyapi'=>$bitlyapi,
167
- 'jd_api_post_status'=>get_option( 'jd_api_post_status' ),
168
- //yourls installation
169
- 'yourlsapi'=>$yourlsapi,
170
- 'yourlspath'=>get_option( 'yourlspath' ),
171
- 'yourlsurl' =>get_option( 'yourlsurl' ),
172
- 'yourlslogin'=>get_option( 'yourlslogin' ),
173
  'jd_keyword_format'=>get_option( 'jd_keyword_format' ),
174
-
175
- //twitter api
176
- 'jd-twitter-service-name'=>get_option( 'jd-twitter-service-name' ),
177
- 'jd-twitter-char-limit'=>get_option( 'jd-twitter-char-limit' ),
178
- 'jd_use_both_services'=>get_option( 'jd_use_both_services' ),
179
- 'x-twitterlogin'=>get_option( 'x-twitterlogin' ),
180
- 'x-twitterpw'=>get_option( 'x-twitterpw' ),
181
-
182
- //advanced settings
183
- 'use_tags_as_hashtags'=>get_option( 'use_tags_as_hashtags' ),
184
  'jd_replace_character'=>get_option( 'jd_replace_character' ),
185
  'jd_max_tags'=>get_option('jd_max_tags'),
186
  'jd_max_characters'=>get_option('jd_max_characters'),
@@ -192,26 +137,48 @@ $options = array(
192
  'jd_tweet_default'=>get_option( 'jd_tweet_default' ),
193
  'jd_twit_remote'=>get_option( 'jd_twit_remote' ),
194
  'jd_twit_quickpress'=>get_option( 'jd_twit_quickpress' ),
 
 
 
195
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  'twitter-analytics-campaign'=>get_option( 'twitter-analytics-campaign' ),
 
197
  'use-twitter-analytics'=>get_option( 'use-twitter-analytics' ),
198
- 'jd_dynamic_analytics'=>get_option( 'jd_dynamic_analytics' ),
199
  'use_dynamic_analytics'=>get_option( 'use_dynamic_analytics' ),
200
- 'jd_individual_twitter_users'=>get_option( 'jd_individual_twitter_users' ),
201
- 'jd_shortener'=>get_option( 'jd_shortener' ),
202
-
203
- // Error checking
204
  'wp_twitter_failure'=>get_option( 'wp_twitter_failure' ),
205
  'wp_url_failure' =>get_option( 'wp_url_failure' ),
206
- 'twitterInitialised'=>get_option( 'twitterInitialised' ),
207
-
208
- //category limits
209
- 'limit_categories'=>get_option('limit_categories' ),
210
- 'tweet_categories'=>get_option('tweet_categories' ),
211
- 'disable_url_failure'=>get_option('disable_url_failure' ),
212
- 'disable_twitter_failure'=>get_option('disable_twitter_failure' ),
213
  'wp_bitly_error'=>get_option( 'wp_bitly_error' ),
214
- 'wp_cligs_error'=>get_option( 'wp_cligs_error' )
 
 
 
 
 
 
 
 
 
 
 
 
215
  );
216
 
217
  echo "<div class=\"settings\">";
@@ -226,4 +193,21 @@ echo "<p>";
226
  _e( "[<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.",'wp-to-twitter');
227
  echo "</p></div>";
228
  }
229
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  function is_valid_url( $url ) {
20
  if (is_string($url)) {
21
+ $url = urldecode($url);
22
  return preg_match('|^http(s)?://[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(/.*)?$|i', $url);
23
  } else {
24
  return false;
45
  }
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  if (!function_exists('mb_strlen')) {
49
  function mb_strlen($data) {
50
  return strlen($data);
109
  function print_settings() {
110
  global $version;
111
 
112
+ $bitlyapi = ( get_option ( 'bitlyapi' ) != '' )?"Saved.":"Blank.";
113
+ $yourlsapi = ( get_option ( 'yourlsapi' ) != '' )?"Saved.":"Blank.";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
+ $options = array(
116
+ 'app_consumer_key'=>get_option('app_consumer_key'),
117
+ 'app_consumer_secret'=>get_option('app_consumer_secret'),
118
+ 'bitlylogin'=>get_option( 'bitlylogin' ),
119
+ 'bitlyapi'=>$bitlyapi,
120
+ 'suprapi'=>get_option( 'suprapi' ),
121
+ 'disable_oauth_notice'=>get_option('disable_oauth_notice'),
122
+ 'disable_url_failure'=>get_option('disable_url_failure' ),
123
+ 'disable_twitter_failure'=>get_option('disable_twitter_failure' ),
124
 
125
+ 'jd_twit_blogroll'=>get_option( 'jd_twit_blogroll' ),
126
  'jd_twit_pages'=>get_option( 'jd_twit_pages' ),
127
  'jd_twit_edited_pages'=>get_option( 'jd_twit_edited_pages' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  'jd_keyword_format'=>get_option( 'jd_keyword_format' ),
 
 
 
 
 
 
 
 
 
 
129
  'jd_replace_character'=>get_option( 'jd_replace_character' ),
130
  'jd_max_tags'=>get_option('jd_max_tags'),
131
  'jd_max_characters'=>get_option('jd_max_characters'),
137
  'jd_tweet_default'=>get_option( 'jd_tweet_default' ),
138
  'jd_twit_remote'=>get_option( 'jd_twit_remote' ),
139
  'jd_twit_quickpress'=>get_option( 'jd_twit_quickpress' ),
140
+ 'jd_individual_twitter_users'=>get_option( 'jd_individual_twitter_users' ),
141
+ 'jd_shortener'=>get_option( 'jd_shortener' ),
142
+ 'jd_dynamic_analytics'=>get_option( 'jd_dynamic_analytics' ),
143
 
144
+ 'limit_categories'=>get_option('limit_categories' ),
145
+
146
+ 'newpost-published-update'=>get_option( 'newpost-published-update' ),
147
+ 'newpost-published-text'=>get_option( 'newpost-published-text' ),
148
+ 'newpage-published-text'=>get_option( 'newpage-published-text' ),
149
+ 'newlink-published-text'=>get_option( 'newlink-published-text' ),
150
+
151
+ 'oauth_token'=>get_option('oauth_token'),
152
+ 'oauth_token_secret'=>get_option('oauth_token_secret'),
153
+ 'oldpost-edited-update'=>get_option( 'oldpost-edited-update' ),
154
+ 'oldpost-edited-text'=>get_option( 'oldpost-edited-text' ),
155
+ 'oldpage-edited-text'=>get_option( 'oldpage-edited-text' ),
156
+
157
+
158
+ 'tweet_categories'=>get_option('tweet_categories' ),
159
+ 'twitterInitialised'=>get_option( 'twitterInitialised' ),
160
  'twitter-analytics-campaign'=>get_option( 'twitter-analytics-campaign' ),
161
+
162
  'use-twitter-analytics'=>get_option( 'use-twitter-analytics' ),
163
+ 'use_tags_as_hashtags'=>get_option( 'use_tags_as_hashtags' ),
164
  'use_dynamic_analytics'=>get_option( 'use_dynamic_analytics' ),
165
+
 
 
 
166
  'wp_twitter_failure'=>get_option( 'wp_twitter_failure' ),
167
  'wp_url_failure' =>get_option( 'wp_url_failure' ),
 
 
 
 
 
 
 
168
  'wp_bitly_error'=>get_option( 'wp_bitly_error' ),
169
+ 'wp_supr_error'=>get_option( 'wp_supr_error' ),
170
+ 'wp_to_twitter_version'=>get_option( 'wp_to_twitter_version'),
171
+ 'wtt_twitter_username'=>get_option( 'wtt_twitter_username' ),
172
+ 'wtt_user_permissions'=>get_option('wtt_user_permissions'),
173
+ 'wp_debug_oauth'=>get_option('wp_debug_oauth'),
174
+
175
+ 'x-login'=>get_option( 'x-login' ),
176
+ 'x-pw'=>get_option( 'x-pw' ),
177
+
178
+ 'yourlsapi'=>$yourlsapi,
179
+ 'yourlspath'=>get_option( 'yourlspath' ),
180
+ 'yourlsurl' =>get_option( 'yourlsurl' ),
181
+ 'yourlslogin'=>get_option( 'yourlslogin' )
182
  );
183
 
184
  echo "<div class=\"settings\">";
193
  _e( "[<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.",'wp-to-twitter');
194
  echo "</p></div>";
195
  }
196
+
197
+ function wtt_option_selected($field,$value,$type='checkbox') {
198
+ switch ($type) {
199
+ case 'radio':
200
+ case 'checkbox':
201
+ $result = ' checked="checked"';
202
+ break;
203
+ case 'option':
204
+ $result = ' selected="selected"';
205
+ break;
206
+ }
207
+ if ($field == $value) {
208
+ $output = $result;
209
+ } else {
210
+ $output = '';
211
+ }
212
+ return $output;
213
+ }
jd_twitterOAuth.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
 
8
  /* Load OAuth lib. You can find it at http://oauth.net */
9
- require_once('OAuth.php');
10
 
11
  if (!class_exists('jd_TwitterOAuth')) {
12
 
@@ -44,8 +44,8 @@ class jd_TwitterOAuth {
44
  * Set API URLS
45
  */
46
  function accessTokenURL() { return 'https://api.twitter.com/oauth/access_token'; }
47
- function authenticateURL() { return 'https://twitter.com/oauth/authenticate'; }
48
- function authorizeURL() { return 'https://twitter.com/oauth/authorize'; }
49
  function requestTokenURL() { return 'https://api.twitter.com/oauth/request_token'; }
50
 
51
  /**
@@ -58,10 +58,10 @@ class jd_TwitterOAuth {
58
  * construct TwitterOAuth object
59
  */
60
  function __construct($consumer_key, $consumer_secret, $oauth_token = NULL, $oauth_token_secret = NULL) {
61
- $this->sha1_method = new OAuthSignatureMethod_HMAC_SHA1();
62
- $this->consumer = new OAuthConsumer($consumer_key, $consumer_secret);
63
  if (!empty($oauth_token) && !empty($oauth_token_secret)) {
64
- $this->token = new OAuthConsumer($oauth_token, $oauth_token_secret);
65
  } else {
66
  $this->token = NULL;
67
  }
@@ -79,8 +79,8 @@ class jd_TwitterOAuth {
79
  $parameters['oauth_callback'] = $oauth_callback;
80
  }
81
  $request = $this->oAuthRequest($this->requestTokenURL(), 'GET', $parameters);
82
- $token = OAuthUtil::parse_parameters($request);
83
- $this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
84
  return $token;
85
  }
86
 
@@ -115,8 +115,8 @@ class jd_TwitterOAuth {
115
  $parameters['oauth_verifier'] = $oauth_verifier;
116
  }
117
  $request = $this->oAuthRequest($this->accessTokenURL(), 'GET', $parameters);
118
- $token = OAuthUtil::parse_parameters($request);
119
- $this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
120
  return $token;
121
  }
122
 
@@ -135,8 +135,8 @@ class jd_TwitterOAuth {
135
  $parameters['x_auth_password'] = $password;
136
  $parameters['x_auth_mode'] = 'client_auth';
137
  $request = $this->oAuthRequest($this->accessTokenURL(), 'POST', $parameters);
138
- $token = OAuthUtil::parse_parameters($request);
139
- $this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
140
  return $token;
141
  }
142
 
@@ -180,7 +180,7 @@ class jd_TwitterOAuth {
180
  if (strrpos($url, 'https://') !== 0 && strrpos($url, 'http://') !== 0) {
181
  $url = "{$this->host}{$url}.{$this->format}";
182
  }
183
- $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->token, $method, $url, $parameters);
184
  $request->sign_request($this->sha1_method, $this->consumer, $this->token);
185
  switch ($method) {
186
  case 'GET':
@@ -245,5 +245,4 @@ class jd_TwitterOAuth {
245
  }
246
  }
247
 
248
- } // class_exists check
249
- ?>
6
  */
7
 
8
  /* Load OAuth lib. You can find it at http://oauth.net */
9
+ require_once('WP_OAuth.php');
10
 
11
  if (!class_exists('jd_TwitterOAuth')) {
12
 
44
  * Set API URLS
45
  */
46
  function accessTokenURL() { return 'https://api.twitter.com/oauth/access_token'; }
47
+ function authenticateURL() { return 'https://api.twitter.com/oauth/authenticate'; }
48
+ function authorizeURL() { return 'https://api.twitter.com/oauth/authorize'; }
49
  function requestTokenURL() { return 'https://api.twitter.com/oauth/request_token'; }
50
 
51
  /**
58
  * construct TwitterOAuth object
59
  */
60
  function __construct($consumer_key, $consumer_secret, $oauth_token = NULL, $oauth_token_secret = NULL) {
61
+ $this->sha1_method = new WPOAuthSignatureMethod_HMAC_SHA1();
62
+ $this->consumer = new WPOAuthConsumer($consumer_key, $consumer_secret);
63
  if (!empty($oauth_token) && !empty($oauth_token_secret)) {
64
+ $this->token = new WPOAuthConsumer($oauth_token, $oauth_token_secret);
65
  } else {
66
  $this->token = NULL;
67
  }
79
  $parameters['oauth_callback'] = $oauth_callback;
80
  }
81
  $request = $this->oAuthRequest($this->requestTokenURL(), 'GET', $parameters);
82
+ $token = WPOAuthUtil::parse_parameters($request);
83
+ $this->token = new WPOAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
84
  return $token;
85
  }
86
 
115
  $parameters['oauth_verifier'] = $oauth_verifier;
116
  }
117
  $request = $this->oAuthRequest($this->accessTokenURL(), 'GET', $parameters);
118
+ $token = WPOAuthUtil::parse_parameters($request);
119
+ $this->token = new WPOAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
120
  return $token;
121
  }
122
 
135
  $parameters['x_auth_password'] = $password;
136
  $parameters['x_auth_mode'] = 'client_auth';
137
  $request = $this->oAuthRequest($this->accessTokenURL(), 'POST', $parameters);
138
+ $token = WPOAuthUtil::parse_parameters($request);
139
+ $this->token = new WPOAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
140
  return $token;
141
  }
142
 
180
  if (strrpos($url, 'https://') !== 0 && strrpos($url, 'http://') !== 0) {
181
  $url = "{$this->host}{$url}.{$this->format}";
182
  }
183
+ $request = WPOAuthRequest::from_consumer_and_token($this->consumer, $this->token, $method, $url, $parameters);
184
  $request->sign_request($this->sha1_method, $this->consumer, $this->token);
185
  switch ($method) {
186
  case 'GET':
245
  }
246
  }
247
 
248
+ } // class_exists check
 
json.class.php DELETED
@@ -1,805 +0,0 @@
1
- <?php
2
- /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
3
- /**
4
- * Converts to and from JSON format.
5
- *
6
- * JSON (JavaScript Object Notation) is a lightweight data-interchange
7
- * format. It is easy for humans to read and write. It is easy for machines
8
- * to parse and generate. It is based on a subset of the JavaScript
9
- * Programming Language, Standard ECMA-262 3rd Edition - December 1999.
10
- * This feature can also be found in Python. JSON is a text format that is
11
- * completely language independent but uses conventions that are familiar
12
- * to programmers of the C-family of languages, including C, C++, C#, Java,
13
- * JavaScript, Perl, TCL, and many others. These properties make JSON an
14
- * ideal data-interchange language.
15
- *
16
- * This package provides a simple encoder and decoder for JSON notation. It
17
- * is intended for use with client-side Javascript applications that make
18
- * use of HTTPRequest to perform server communication functions - data can
19
- * be encoded into JSON notation for use in a client-side javascript, or
20
- * decoded from incoming Javascript requests. JSON format is native to
21
- * Javascript, and can be directly eval()'ed with no further parsing
22
- * overhead
23
- *
24
- * All strings should be in ASCII or UTF-8 format!
25
- *
26
- * LICENSE: Redistribution and use in source and binary forms, with or
27
- * without modification, are permitted provided that the following
28
- * conditions are met: Redistributions of source code must retain the
29
- * above copyright notice, this list of conditions and the following
30
- * disclaimer. Redistributions in binary form must reproduce the above
31
- * copyright notice, this list of conditions and the following disclaimer
32
- * in the documentation and/or other materials provided with the
33
- * distribution.
34
- *
35
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
36
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
37
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
38
- * NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
39
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
40
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
41
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
43
- * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
44
- * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
45
- * DAMAGE.
46
- *
47
- * @category
48
- * @package Services_JSON
49
- * @author Michal Migurski <mike-json@teczno.com>
50
- * @author Matt Knapp <mdknapp[at]gmail[dot]com>
51
- * @author Brett Stimmerman <brettstimmerman[at]gmail[dot]com>
52
- * @copyright 2005 Michal Migurski
53
- * @version CVS: $Id: JSON.php,v 1.31 2006/06/28 05:54:17 migurski Exp $
54
- * @license http://www.opensource.org/licenses/bsd-license.php
55
- * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198
56
- */
57
-
58
- /**
59
- * Marker constant for Services_JSON::decode(), used to flag stack state
60
- */
61
- define('SERVICES_JSON_SLICE', 1);
62
-
63
- /**
64
- * Marker constant for Services_JSON::decode(), used to flag stack state
65
- */
66
- define('SERVICES_JSON_IN_STR', 2);
67
-
68
- /**
69
- * Marker constant for Services_JSON::decode(), used to flag stack state
70
- */
71
- define('SERVICES_JSON_IN_ARR', 3);
72
-
73
- /**
74
- * Marker constant for Services_JSON::decode(), used to flag stack state
75
- */
76
- define('SERVICES_JSON_IN_OBJ', 4);
77
-
78
- /**
79
- * Marker constant for Services_JSON::decode(), used to flag stack state
80
- */
81
- define('SERVICES_JSON_IN_CMT', 5);
82
-
83
- /**
84
- * Behavior switch for Services_JSON::decode()
85
- */
86
- define('SERVICES_JSON_LOOSE_TYPE', 16);
87
-
88
- /**
89
- * Behavior switch for Services_JSON::decode()
90
- */
91
- define('SERVICES_JSON_SUPPRESS_ERRORS', 32);
92
-
93
- /**
94
- * Converts to and from JSON format.
95
- *
96
- * Brief example of use:
97
- *
98
- * <code>
99
- * // create a new instance of Services_JSON
100
- * $json = new Services_JSON();
101
- *
102
- * // convert a complexe value to JSON notation, and send it to the browser
103
- * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4)));
104
- * $output = $json->encode($value);
105
- *
106
- * print($output);
107
- * // prints: ["foo","bar",[1,2,"baz"],[3,[4]]]
108
- *
109
- * // accept incoming POST data, assumed to be in JSON notation
110
- * $input = file_get_contents('php://input', 1000000);
111
- * $value = $json->decode($input);
112
- * </code>
113
- */
114
- class Services_JSON
115
- {
116
- /**
117
- * constructs a new JSON instance
118
- *
119
- * @param int $use object behavior flags; combine with boolean-OR
120
- *
121
- * possible values:
122
- * - SERVICES_JSON_LOOSE_TYPE: loose typing.
123
- * "{...}" syntax creates associative arrays
124
- * instead of objects in decode().
125
- * - SERVICES_JSON_SUPPRESS_ERRORS: error suppression.
126
- * Values which can't be encoded (e.g. resources)
127
- * appear as NULL instead of throwing errors.
128
- * By default, a deeply-nested resource will
129
- * bubble up with an error, so all return values
130
- * from encode() should be checked with isError()
131
- */
132
- function Services_JSON($use = 0)
133
- {
134
- $this->use = $use;
135
- }
136
-
137
- /**
138
- * convert a string from one UTF-16 char to one UTF-8 char
139
- *
140
- * Normally should be handled by mb_convert_encoding, but
141
- * provides a slower PHP-only method for installations
142
- * that lack the multibye string extension.
143
- *
144
- * @param string $utf16 UTF-16 character
145
- * @return string UTF-8 character
146
- * @access private
147
- */
148
- function utf162utf8($utf16)
149
- {
150
- // oh please oh please oh please oh please oh please
151
- if(function_exists('mb_convert_encoding')) {
152
- return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16');
153
- }
154
-
155
- $bytes = (ord($utf16{0}) << 8) | ord($utf16{1});
156
-
157
- switch(true) {
158
- case ((0x7F & $bytes) == $bytes):
159
- // this case should never be reached, because we are in ASCII range
160
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
161
- return chr(0x7F & $bytes);
162
-
163
- case (0x07FF & $bytes) == $bytes:
164
- // return a 2-byte UTF-8 character
165
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
166
- return chr(0xC0 | (($bytes >> 6) & 0x1F))
167
- . chr(0x80 | ($bytes & 0x3F));
168
-
169
- case (0xFFFF & $bytes) == $bytes:
170
- // return a 3-byte UTF-8 character
171
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
172
- return chr(0xE0 | (($bytes >> 12) & 0x0F))
173
- . chr(0x80 | (($bytes >> 6) & 0x3F))
174
- . chr(0x80 | ($bytes & 0x3F));
175
- }
176
-
177
- // ignoring UTF-32 for now, sorry
178
- return '';
179
- }
180
-
181
- /**
182
- * convert a string from one UTF-8 char to one UTF-16 char
183
- *
184
- * Normally should be handled by mb_convert_encoding, but
185
- * provides a slower PHP-only method for installations
186
- * that lack the multibye string extension.
187
- *
188
- * @param string $utf8 UTF-8 character
189
- * @return string UTF-16 character
190
- * @access private
191
- */
192
- function utf82utf16($utf8)
193
- {
194
- // oh please oh please oh please oh please oh please
195
- if(function_exists('mb_convert_encoding')) {
196
- return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8');
197
- }
198
-
199
- switch(strlen($utf8)) {
200
- case 1:
201
- // this case should never be reached, because we are in ASCII range
202
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
203
- return $utf8;
204
-
205
- case 2:
206
- // return a UTF-16 character from a 2-byte UTF-8 char
207
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
208
- return chr(0x07 & (ord($utf8{0}) >> 2))
209
- . chr((0xC0 & (ord($utf8{0}) << 6))
210
- | (0x3F & ord($utf8{1})));
211
-
212
- case 3:
213
- // return a UTF-16 character from a 3-byte UTF-8 char
214
- // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
215
- return chr((0xF0 & (ord($utf8{0}) << 4))
216
- | (0x0F & (ord($utf8{1}) >> 2)))
217
- . chr((0xC0 & (ord($utf8{1}) << 6))
218
- | (0x7F & ord($utf8{2})));
219
- }
220
-
221
- // ignoring UTF-32 for now, sorry
222
- return '';
223
- }
224
-
225
- /**
226
- * encodes an arbitrary variable into JSON format
227
- *
228
- * @param mixed $var any number, boolean, string, array, or object to be encoded.
229
- * see argument 1 to Services_JSON() above for array-parsing behavior.
230
- * if var is a strng, note that encode() always expects it
231
- * to be in ASCII or UTF-8 format!
232
- *
233
- * @return mixed JSON string representation of input var or an error if a problem occurs
234
- * @access public
235
- */
236
- function encode($var)
237
- {
238
- switch (gettype($var)) {
239
- case 'boolean':
240
- return $var ? 'true' : 'false';
241
-
242
- case 'NULL':
243
- return 'null';
244
-
245
- case 'integer':
246
- return (int) $var;
247
-
248
- case 'double':
249
- case 'float':
250
- return (float) $var;
251
-
252
- case 'string':
253
- // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT
254
- $ascii = '';
255
- $strlen_var = strlen($var);
256
-
257
- /*
258
- * Iterate over every character in the string,
259
- * escaping with a slash or encoding to UTF-8 where necessary
260
- */
261
- for ($c = 0; $c < $strlen_var; ++$c) {
262
-
263
- $ord_var_c = ord($var{$c});
264
-
265
- switch (true) {
266
- case $ord_var_c == 0x08:
267
- $ascii .= '\b';
268
- break;
269
- case $ord_var_c == 0x09:
270
- $ascii .= '\t';
271
- break;
272
- case $ord_var_c == 0x0A:
273
- $ascii .= '\n';
274
- break;
275
- case $ord_var_c == 0x0C:
276
- $ascii .= '\f';
277
- break;
278
- case $ord_var_c == 0x0D:
279
- $ascii .= '\r';
280
- break;
281
-
282
- case $ord_var_c == 0x22:
283
- case $ord_var_c == 0x2F:
284
- case $ord_var_c == 0x5C:
285
- // double quote, slash, slosh
286
- $ascii .= '\\'.$var{$c};
287
- break;
288
-
289
- case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
290
- // characters U-00000000 - U-0000007F (same as ASCII)
291
- $ascii .= $var{$c};
292
- break;
293
-
294
- case (($ord_var_c & 0xE0) == 0xC0):
295
- // characters U-00000080 - U-000007FF, mask 110XXXXX
296
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
297
- $char = pack('C*', $ord_var_c, ord($var{$c + 1}));
298
- $c += 1;
299
- $utf16 = $this->utf82utf16($char);
300
- $ascii .= sprintf('\u%04s', bin2hex($utf16));
301
- break;
302
-
303
- case (($ord_var_c & 0xF0) == 0xE0):
304
- // characters U-00000800 - U-0000FFFF, mask 1110XXXX
305
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
306
- $char = pack('C*', $ord_var_c,
307
- ord($var{$c + 1}),
308
- ord($var{$c + 2}));
309
- $c += 2;
310
- $utf16 = $this->utf82utf16($char);
311
- $ascii .= sprintf('\u%04s', bin2hex($utf16));
312
- break;
313
-
314
- case (($ord_var_c & 0xF8) == 0xF0):
315
- // characters U-00010000 - U-001FFFFF, mask 11110XXX
316
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
317
- $char = pack('C*', $ord_var_c,
318
- ord($var{$c + 1}),
319
- ord($var{$c + 2}),
320
- ord($var{$c + 3}));
321
- $c += 3;
322
- $utf16 = $this->utf82utf16($char);
323
- $ascii .= sprintf('\u%04s', bin2hex($utf16));
324
- break;
325
-
326
- case (($ord_var_c & 0xFC) == 0xF8):
327
- // characters U-00200000 - U-03FFFFFF, mask 111110XX
328
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
329
- $char = pack('C*', $ord_var_c,
330
- ord($var{$c + 1}),
331
- ord($var{$c + 2}),
332
- ord($var{$c + 3}),
333
- ord($var{$c + 4}));
334
- $c += 4;
335
- $utf16 = $this->utf82utf16($char);
336
- $ascii .= sprintf('\u%04s', bin2hex($utf16));
337
- break;
338
-
339
- case (($ord_var_c & 0xFE) == 0xFC):
340
- // characters U-04000000 - U-7FFFFFFF, mask 1111110X
341
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
342
- $char = pack('C*', $ord_var_c,
343
- ord($var{$c + 1}),
344
- ord($var{$c + 2}),
345
- ord($var{$c + 3}),
346
- ord($var{$c + 4}),
347
- ord($var{$c + 5}));
348
- $c += 5;
349
- $utf16 = $this->utf82utf16($char);
350
- $ascii .= sprintf('\u%04s', bin2hex($utf16));
351
- break;
352
- }
353
- }
354
-
355
- return '"'.$ascii.'"';
356
-
357
- case 'array':
358
- /*
359
- * As per JSON spec if any array key is not an integer
360
- * we must treat the the whole array as an object. We
361
- * also try to catch a sparsely populated associative
362
- * array with numeric keys here because some JS engines
363
- * will create an array with empty indexes up to
364
- * max_index which can cause memory issues and because
365
- * the keys, which may be relevant, will be remapped
366
- * otherwise.
367
- *
368
- * As per the ECMA and JSON specification an object may
369
- * have any string as a property. Unfortunately due to
370
- * a hole in the ECMA specification if the key is a
371
- * ECMA reserved word or starts with a digit the
372
- * parameter is only accessible using ECMAScript's
373
- * bracket notation.
374
- */
375
-
376
- // treat as a JSON object
377
- if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) {
378
- $properties = array_map(array($this, 'name_value'),
379
- array_keys($var),
380
- array_values($var));
381
-
382
- foreach($properties as $property) {
383
- if(Services_JSON::isError($property)) {
384
- return $property;
385
- }
386
- }
387
-
388
- return '{' . join(',', $properties) . '}';
389
- }
390
-
391
- // treat it like a regular array
392
- $elements = array_map(array($this, 'encode'), $var);
393
-
394
- foreach($elements as $element) {
395
- if(Services_JSON::isError($element)) {
396
- return $element;
397
- }
398
- }
399
-
400
- return '[' . join(',', $elements) . ']';
401
-
402
- case 'object':
403
- $vars = get_object_vars($var);
404
-
405
- $properties = array_map(array($this, 'name_value'),
406
- array_keys($vars),
407
- array_values($vars));
408
-
409
- foreach($properties as $property) {
410
- if(Services_JSON::isError($property)) {
411
- return $property;
412
- }
413
- }
414
-
415
- return '{' . join(',', $properties) . '}';
416
-
417
- default:
418
- return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS)
419
- ? 'null'
420
- : new Services_JSON_Error(gettype($var)." can not be encoded as JSON string");
421
- }
422
- }
423
-
424
- /**
425
- * array-walking function for use in generating JSON-formatted name-value pairs
426
- *
427
- * @param string $name name of key to use
428
- * @param mixed $value reference to an array element to be encoded
429
- *
430
- * @return string JSON-formatted name-value pair, like '"name":value'
431
- * @access private
432
- */
433
- function name_value($name, $value)
434
- {
435
- $encoded_value = $this->encode($value);
436
-
437
- if(Services_JSON::isError($encoded_value)) {
438
- return $encoded_value;
439
- }
440
-
441
- return $this->encode(strval($name)) . ':' . $encoded_value;
442
- }
443
-
444
- /**
445
- * reduce a string by removing leading and trailing comments and whitespace
446
- *
447
- * @param $str string string value to strip of comments and whitespace
448
- *
449
- * @return string string value stripped of comments and whitespace
450
- * @access private
451
- */
452
- function reduce_string($str)
453
- {
454
- $str = preg_replace(array(
455
-
456
- // eliminate single line comments in '// ...' form
457
- '#^\s*//(.+)$#m',
458
-
459
- // eliminate multi-line comments in '/* ... */' form, at start of string
460
- '#^\s*/\*(.+)\*/#Us',
461
-
462
- // eliminate multi-line comments in '/* ... */' form, at end of string
463
- '#/\*(.+)\*/\s*$#Us'
464
-
465
- ), '', $str);
466
-
467
- // eliminate extraneous space
468
- return trim($str);
469
- }
470
-
471
- /**
472
- * decodes a JSON string into appropriate variable
473
- *
474
- * @param string $str JSON-formatted string
475
- *
476
- * @return mixed number, boolean, string, array, or object
477
- * corresponding to given JSON input string.
478
- * See argument 1 to Services_JSON() above for object-output behavior.
479
- * Note that decode() always returns strings
480
- * in ASCII or UTF-8 format!
481
- * @access public
482
- */
483
- function decode($str)
484
- {
485
- $str = $this->reduce_string($str);
486
-
487
- switch (strtolower($str)) {
488
- case 'true':
489
- return true;
490
-
491
- case 'false':
492
- return false;
493
-
494
- case 'null':
495
- return null;
496
-
497
- default:
498
- $m = array();
499
-
500
- if (is_numeric($str)) {
501
- // Lookie-loo, it's a number
502
-
503
- // This would work on its own, but I'm trying to be
504
- // good about returning integers where appropriate:
505
- // return (float)$str;
506
-
507
- // Return float or int, as appropriate
508
- return ((float)$str == (integer)$str)
509
- ? (integer)$str
510
- : (float)$str;
511
-
512
- } elseif (preg_match('/^("|\').*(\1)$/s', $str, $m) && $m[1] == $m[2]) {
513
- // STRINGS RETURNED IN UTF-8 FORMAT
514
- $delim = substr($str, 0, 1);
515
- $chrs = substr($str, 1, -1);
516
- $utf8 = '';
517
- $strlen_chrs = strlen($chrs);
518
-
519
- for ($c = 0; $c < $strlen_chrs; ++$c) {
520
-
521
- $substr_chrs_c_2 = substr($chrs, $c, 2);
522
- $ord_chrs_c = ord($chrs{$c});
523
-
524
- switch (true) {
525
- case $substr_chrs_c_2 == '\b':
526
- $utf8 .= chr(0x08);
527
- ++$c;
528
- break;
529
- case $substr_chrs_c_2 == '\t':
530
- $utf8 .= chr(0x09);
531
- ++$c;
532
- break;
533
- case $substr_chrs_c_2 == '\n':
534
- $utf8 .= chr(0x0A);
535
- ++$c;
536
- break;
537
- case $substr_chrs_c_2 == '\f':
538
- $utf8 .= chr(0x0C);
539
- ++$c;
540
- break;
541
- case $substr_chrs_c_2 == '\r':
542
- $utf8 .= chr(0x0D);
543
- ++$c;
544
- break;
545
-
546
- case $substr_chrs_c_2 == '\\"':
547
- case $substr_chrs_c_2 == '\\\'':
548
- case $substr_chrs_c_2 == '\\\\':
549
- case $substr_chrs_c_2 == '\\/':
550
- if (($delim == '"' && $substr_chrs_c_2 != '\\\'') ||
551
- ($delim == "'" && $substr_chrs_c_2 != '\\"')) {
552
- $utf8 .= $chrs{++$c};
553
- }
554
- break;
555
-
556
- case preg_match('/\\\u[0-9A-F]{4}/i', substr($chrs, $c, 6)):
557
- // single, escaped unicode character
558
- $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2)))
559
- . chr(hexdec(substr($chrs, ($c + 4), 2)));
560
- $utf8 .= $this->utf162utf8($utf16);
561
- $c += 5;
562
- break;
563
-
564
- case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F):
565
- $utf8 .= $chrs{$c};
566
- break;
567
-
568
- case ($ord_chrs_c & 0xE0) == 0xC0:
569
- // characters U-00000080 - U-000007FF, mask 110XXXXX
570
- //see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
571
- $utf8 .= substr($chrs, $c, 2);
572
- ++$c;
573
- break;
574
-
575
- case ($ord_chrs_c & 0xF0) == 0xE0:
576
- // characters U-00000800 - U-0000FFFF, mask 1110XXXX
577
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
578
- $utf8 .= substr($chrs, $c, 3);
579
- $c += 2;
580
- break;
581
-
582
- case ($ord_chrs_c & 0xF8) == 0xF0:
583
- // characters U-00010000 - U-001FFFFF, mask 11110XXX
584
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
585
- $utf8 .= substr($chrs, $c, 4);
586
- $c += 3;
587
- break;
588
-
589
- case ($ord_chrs_c & 0xFC) == 0xF8:
590
- // characters U-00200000 - U-03FFFFFF, mask 111110XX
591
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
592
- $utf8 .= substr($chrs, $c, 5);
593
- $c += 4;
594
- break;
595
-
596
- case ($ord_chrs_c & 0xFE) == 0xFC:
597
- // characters U-04000000 - U-7FFFFFFF, mask 1111110X
598
- // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
599
- $utf8 .= substr($chrs, $c, 6);
600
- $c += 5;
601
- break;
602
-
603
- }
604
-
605
- }
606
-
607
- return $utf8;
608
-
609
- } elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) {
610
- // array, or object notation
611
-
612
- if ($str{0} == '[') {
613
- $stk = array(SERVICES_JSON_IN_ARR);
614
- $arr = array();
615
- } else {
616
- if ($this->use & SERVICES_JSON_LOOSE_TYPE) {
617
- $stk = array(SERVICES_JSON_IN_OBJ);
618
- $obj = array();
619
- } else {
620
- $stk = array(SERVICES_JSON_IN_OBJ);
621
- $obj = new stdClass();
622
- }
623
- }
624
-
625
- array_push($stk, array('what' => SERVICES_JSON_SLICE,
626
- 'where' => 0,
627
- 'delim' => false));
628
-
629
- $chrs = substr($str, 1, -1);
630
- $chrs = $this->reduce_string($chrs);
631
-
632
- if ($chrs == '') {
633
- if (reset($stk) == SERVICES_JSON_IN_ARR) {
634
- return $arr;
635
-
636
- } else {
637
- return $obj;
638
-
639
- }
640
- }
641
-
642
- //print("\nparsing {$chrs}\n");
643
-
644
- $strlen_chrs = strlen($chrs);
645
-
646
- for ($c = 0; $c <= $strlen_chrs; ++$c) {
647
-
648
- $top = end($stk);
649
- $substr_chrs_c_2 = substr($chrs, $c, 2);
650
-
651
- if (($c == $strlen_chrs) || (($chrs{$c} == ',') && ($top['what'] == SERVICES_JSON_SLICE))) {
652
- // found a comma that is not inside a string, array, etc.,
653
- // OR we've reached the end of the character list
654
- $slice = substr($chrs, $top['where'], ($c - $top['where']));
655
- array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false));
656
- //print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
657
-
658
- if (reset($stk) == SERVICES_JSON_IN_ARR) {
659
- // we are in an array, so just push an element onto the stack
660
- array_push($arr, $this->decode($slice));
661
-
662
- } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) {
663
- // we are in an object, so figure
664
- // out the property name and set an
665
- // element in an associative array,
666
- // for now
667
- $parts = array();
668
-
669
- if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
670
- // "name":value pair
671
- $key = $this->decode($parts[1]);
672
- $val = $this->decode($parts[2]);
673
-
674
- if ($this->use & SERVICES_JSON_LOOSE_TYPE) {
675
- $obj[$key] = $val;
676
- } else {
677
- $obj->$key = $val;
678
- }
679
- } elseif (preg_match('/^\s*(\w+)\s*:\s*(\S.*),?$/Uis', $slice, $parts)) {
680
- // name:value pair, where name is unquoted
681
- $key = $parts[1];
682
- $val = $this->decode($parts[2]);
683
-
684
- if ($this->use & SERVICES_JSON_LOOSE_TYPE) {
685
- $obj[$key] = $val;
686
- } else {
687
- $obj->$key = $val;
688
- }
689
- }
690
-
691
- }
692
-
693
- } elseif ((($chrs{$c} == '"') || ($chrs{$c} == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {
694
- // found a quote, and we are not inside a string
695
- array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs{$c}));
696
- //print("Found start of string at {$c}\n");
697
-
698
- } elseif (($chrs{$c} == $top['delim']) &&
699
- ($top['what'] == SERVICES_JSON_IN_STR) &&
700
- ((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) {
701
- // found a quote, we're in a string, and it's not escaped
702
- // we know that it's not escaped becase there is _not_ an
703
- // odd number of backslashes at the end of the string so far
704
- array_pop($stk);
705
- //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n");
706
-
707
- } elseif (($chrs{$c} == '[') &&
708
- in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
709
- // found a left-bracket, and we are in an array, object, or slice
710
- array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false));
711
- //print("Found start of array at {$c}\n");
712
-
713
- } elseif (($chrs{$c} == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) {
714
- // found a right-bracket, and we're in an array
715
- array_pop($stk);
716
- //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
717
-
718
- } elseif (($chrs{$c} == '{') &&
719
- in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
720
- // found a left-brace, and we are in an array, object, or slice
721
- array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false));
722
- //print("Found start of object at {$c}\n");
723
-
724
- } elseif (($chrs{$c} == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) {
725
- // found a right-brace, and we're in an object
726
- array_pop($stk);
727
- //print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
728
-
729
- } elseif (($substr_chrs_c_2 == '/*') &&
730
- in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) {
731
- // found a comment start, and we are in an array, object, or slice
732
- array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false));
733
- $c++;
734
- //print("Found start of comment at {$c}\n");
735
-
736
- } elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) {
737
- // found a comment end, and we're in one now
738
- array_pop($stk);
739
- $c++;
740
-
741
- for ($i = $top['where']; $i <= $c; ++$i)
742
- $chrs = substr_replace($chrs, ' ', $i, 1);
743
-
744
- //print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n");
745
-
746
- }
747
-
748
- }
749
-
750
- if (reset($stk) == SERVICES_JSON_IN_ARR) {
751
- return $arr;
752
-
753
- } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) {
754
- return $obj;
755
-
756
- }
757
-
758
- }
759
- }
760
- }
761
-
762
- /**
763
- * @todo Ultimately, this should just call PEAR::isError()
764
- */
765
- function isError($data, $code = null)
766
- {
767
- if (class_exists('pear')) {
768
- return PEAR::isError($data, $code);
769
- } elseif (is_object($data) && (get_class($data) == 'services_json_error' ||
770
- is_subclass_of($data, 'services_json_error'))) {
771
- return true;
772
- }
773
-
774
- return false;
775
- }
776
- }
777
-
778
- if (class_exists('PEAR_Error')) {
779
-
780
- class Services_JSON_Error extends PEAR_Error
781
- {
782
- function Services_JSON_Error($message = 'unknown error', $code = null,
783
- $mode = null, $options = null, $userinfo = null)
784
- {
785
- parent::PEAR_Error($message, $code, $mode, $options, $userinfo);
786
- }
787
- }
788
-
789
- } else {
790
-
791
- /**
792
- * @todo Ultimately, this class shall be descended from PEAR_Error
793
- */
794
- class Services_JSON_Error
795
- {
796
- function Services_JSON_Error($message = 'unknown error', $code = null,
797
- $mode = null, $options = null, $userinfo = null)
798
- {
799
-
800
- }
801
- }
802
-
803
- }
804
-
805
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,26 +1,28 @@
1
  === Plugin Name ===
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
- Tags: twitter, microblogging, cligs, bitly, yourls, redirect, shortener, post, links
5
  Requires at least: 2.9.2
6
- Tested up to: 3.1-alpha
7
  Stable tag: trunk
8
 
9
- Posts a Twitter status update when you update your WordPress blog or post to your blogroll, using your chosen URL shortening service.
10
 
11
  == Description ==
12
 
13
- The WP-to-Twitter plugin posts a Twitter status update from your WordPress blog using either the Cli.gs or Bit.ly URL shortening services to provide a link back to your post from Twitter.
 
 
14
 
15
  For both services you can provide your information to maintain a list of your shortened URLs with your URL shortening service for statistics and your own records.
16
 
17
- The plugin can send a default message for updating or editing posts or pages, but also allows you to write a custom Tweet for your post which says whatever you want. By default, the shortened URL from Cli.gs is appended to the end of your message, so you should keep that in mind when writing your custom Tweet.
18
 
19
  Any status update you write which is longer than the available space will automatically be truncated by the plugin. This applies to both the default messages and to your custom messages.
20
 
21
  Credits:
22
 
23
- Although it now bears almost no resemblance to the original sources, this plugin was originally based on the Twitter Updater plugin by [Jonathan Dingman](http://www.firesidemedia.net/dev/), which he adapted from a plugin by Victoria Chan. Other contributions by [Thor Erik](http://www.thorerik.net), Bill Berry and [Andrea Baccega](http://www.andreabaccega.com). Thanks to [Cory LaViska](http://abeautifulsite.net/notebook/71) for PHP 4 compatible `json_decode` and `json_encode`. Thanks to [Michal Migurski](http://mike.teczno.com) for authoring the JSON class. Other bug fixes and related citations can be found in the changelog.
24
 
25
  Translations:
26
 
@@ -31,11 +33,89 @@ Translations:
31
  * Estonian: [Raivo Ratsep](http://raivoratsep.com)
32
  * Simplified Chinese: [Joe Francis](http://blog.francistm.com)
33
  * Dutch: [Rene at WPwebshop](http://wpwebshop.com/premium-wordpress-plugins/)
 
 
 
34
 
35
  New translations are always welcome! The translation file is in the download.
36
 
37
  == Changelog ==
38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  = 2.2.2 =
40
 
41
  * Fixed a bug where new Pages did not Tweet.
@@ -328,7 +408,7 @@ New translations are always welcome! The translation file is in the download.
328
 
329
  = 1.3.0 =
330
 
331
- *Support for multiple authors with independent Twitter & Cligs accounts.
332
  *Other minor textual revisions, addition of API availability check in the Settings panel.
333
  *Bugfixes: If editing a post by XMLRPC, you could not disable tweeting your edits. FIXED.
334
 
@@ -370,31 +450,34 @@ New translations are always welcome! The translation file is in the download.
370
  3. Go to Settings > WP->Twitter
371
  4. Adjust the WP->Twitter Options as you prefer them.
372
  5. Supply your Twitter username and login.
373
- 6. **Optional**: Provide your Cli.gs API key ([available free from Cli.gs](http://cli.gs)), if you want to have statistics available for your URL.
374
  7. That's it! You're all set.
375
 
376
  == Frequently Asked Questions ==
377
 
 
 
 
 
 
 
 
 
378
  = Do I have to have a Twitter.com account to use this plugin? =
379
 
380
  Yes, you need an account with Twitter to use this plugin.
381
 
382
- = Do I have to have a Cli.gs/Bit.ly account to use this plugin? =
383
 
384
- A Cli.gs account is entirely optional. Without an API from Cli.gs, a "public" Clig will be generated. The redirect will work just fine, but you won't be able to access statistics on your Clig. Bit.ly does require an API key and username, however.
385
- Regardless, you don't need to have an account with either service to make effective use of the WP to Twitter plugin.
386
 
387
  = Twitter goes down a lot. What happens if it's not available? =
388
 
389
  If Twitter isn't available, you'll get a message telling you that there's been an error with your Twitter status update. The Tweet you were going to send will be saved in your post meta fields, so you can grab it and post it manually if you wish.
390
 
391
- = What if Cli.gs or Bit.ly aren't available when I make my post? =
392
-
393
- If your URL shortening service isn't available, your tweet will be sent using it's normal post permalink. You'll also get an error message letting you know that there was a problem contacting Cli.gs or Bit.ly.
394
-
395
- = Why do my Twitter status updates show up labeled as "From WP to Twitter"? =
396
 
397
- Twitter.com allows API applications to register themselves with the service, so they can provide information about the source of your Tweet. WP to Twitter is a registered user agent with Twitter.com. The same effect is seen if you use any other registered Twitter client.
398
 
399
  = What if my server doesn't support the methods you use to contact these other sites? =
400
 
@@ -404,17 +487,13 @@ Well, there isn't much I can do about that - but the plugin will check and see w
404
 
405
  No. They're private.
406
 
407
- = I can't see the settings page! =
408
-
409
- There was once an unresolved bug which effected some servers causing the WP-to-Twitter settings page to fail. I haven't heard a report of this problem for quite a while, so I believe it's gone, but if it *does* show up again, you can get around the problem by commenting out approximately lines 191 - 256 in wp-to-twitter/wp-to-twitter-manager.php. (Version 1.4.0.) . (These numbers change from version to version, but there are comments in the code to help you out.)
410
-
411
  = Scheduled posting doesn't work. What's wrong? =
412
 
413
  Only posts which you scheduled or edited *after* installing the plugin will be Tweeted. Any future posts written before installing the plugin will be ignored by WP to Twitter.
414
 
415
  == Upgrade Notice ==
416
 
417
- This is a beta release with OAuth support. Please read the changelog before upgrading.
418
 
419
  == Screenshots ==
420
 
1
  === Plugin Name ===
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
+ Tags: twitter, microblogging, su.pr, bitly, yourls, redirect, shortener, post, links
5
  Requires at least: 2.9.2
6
+ Tested up to: 3.1.1
7
  Stable tag: trunk
8
 
9
+ Posts a Twitter update when you update your WordPress blog or post to your blogroll, using your chosen URL shortening service. Requires PHP 5 and cURL.
10
 
11
  == Description ==
12
 
13
+ The WP-to-Twitter plugin posts a Twitter status update from your WordPress blog using your selected URL shortening service to provide a link back to your post from Twitter.
14
+
15
+ [Make a Pledge at Fundry](https://fundry.com/project/10-wp-to-twitter).
16
 
17
  For both services you can provide your information to maintain a list of your shortened URLs with your URL shortening service for statistics and your own records.
18
 
19
+ The plugin can send a default message for updating or editing posts or pages, but also allows you to write a custom Tweet for your post which says whatever you want, using a wide selection of custom shortcodes to create your text.
20
 
21
  Any status update you write which is longer than the available space will automatically be truncated by the plugin. This applies to both the default messages and to your custom messages.
22
 
23
  Credits:
24
 
25
+ Although it now bears almost no resemblance to the original sources, this plugin was once based on the Twitter Updater plugin by [Jonathan Dingman](http://www.firesidemedia.net/dev/), which he adapted from a plugin by Victoria Chan. Other contributions by [Thor Erik](http://www.thorerik.net), Bill Berry and [Andrea Baccega](http://www.andreabaccega.com). Thanks to [Cory LaViska](http://abeautifulsite.net/notebook/71) for PHP 4 compatible `json_decode` and `json_encode`. Thanks to [Michal Migurski](http://mike.teczno.com) for authoring the JSON class. Other bug fixes and related citations can be found in the changelog.
26
 
27
  Translations:
28
 
33
  * Estonian: [Raivo Ratsep](http://raivoratsep.com)
34
  * Simplified Chinese: [Joe Francis](http://blog.francistm.com)
35
  * Dutch: [Rene at WPwebshop](http://wpwebshop.com/premium-wordpress-plugins/)
36
+ * Romanian: [Jibo](http://jibo.ro)
37
+ * Danish: [Rasmus Himmelstrup](http://seoanalyst.dk)
38
+ * Brazilian Portugese: [Matheus Bratfisch](http://www.matbra.com)
39
 
40
  New translations are always welcome! The translation file is in the download.
41
 
42
  == Changelog ==
43
 
44
+ = 2.2.12 =
45
+
46
+ * Bug fix release. Sorry.
47
+ * Added translation to Brazilian Portugese [Matheus Bratfisch](http://www.matbra.com)
48
+
49
+ = 2.2.11 =
50
+
51
+ * Missing break statement caused remote YOURLS URLs to be replaced with Su.pr URLs
52
+
53
+ = 2.2.10 =
54
+
55
+ * Bug in user settings retrieval; don't know how long it's been a problem.
56
+ * Added updated Italian translation
57
+
58
+ = 2.2.9 =
59
+
60
+ * Blocked posting on custom post types
61
+ * Added time check, for servers with incorrect time.
62
+ * Added cURL check.
63
+ * Due to ongoing problems with Cli.gs, removed that URL shortening service and replaced with Su.pr
64
+ * Changed default shortening to 'no shortening'
65
+ * Saves every tweet into post meta on save; adds link to re-post status update in WP to Twitter post box.
66
+ * Revised error messages to increase detail.
67
+
68
+ = 2.2.8 =
69
+
70
+ * Enhancement: protect against duplicate tweets
71
+ * Bug fix: hash tag replacement with spaces problematic if alphanumeric limit also set
72
+ * Bug fix: issue with scheduled posts posting when 'Do not Tweet' checked.
73
+ * Added Danish translation by Rasmus Himmelstrup
74
+ * Updates to compensate for changes in YOURLS 1.5
75
+
76
+ = 2.2.7 =
77
+
78
+ * Enhancement: strips shortcodes before sending post excerpts to Tweet
79
+ * Enhancement: Added PHP version check and warning.
80
+ * Added a default case to check on HTTP response code from Twitter.
81
+ * Added a specific error message for out of sync server times.
82
+ * Added link to [WP to Twitter's Fundry.com page](https://fundry.com/project/10-wp-to-twitter).
83
+ * Bug fix: hash tag space removal fixed
84
+ * Enhancement: Respects wp content directory constants if set.
85
+
86
+ = 2.2.6 =
87
+
88
+ * Modification: renamed OAuth files to maybe avoid collision with alternate OAuth versions which do not include needed methods
89
+ * Eliminated postbox toggles
90
+ * Clean out deprecated functions
91
+ * Updated admin styles and separated into a separate file.
92
+ * Bug fix: Edited pages did not Tweet
93
+ * Bug fix: May have reduced occurrences of URL not being sent in status update. Maybe.
94
+ * Bug fix: Forced lowercase on Bit.ly API username (Thanks, Bit.ly for NOT DOCUMENTING this.)
95
+ * Added option to strip non-alphanumeric characters from hash tags
96
+ * Added control to adjust which levels of users will see custom Profile settings
97
+ * Found myself becoming unnecessarily sarcastic in Changelog notes. Will fix in next version. :)
98
+
99
+ = 2.2.5 =
100
+
101
+ * Bug fix: shouldn't see error 'Could not redeclare OAuth..' again.
102
+ * Bug fix: shouldn't see 'Fatal error: Class 'OAuthSignatureMethod...' again.
103
+ * Bug fix: updated API endpoints
104
+
105
+ = 2.2.4 =
106
+
107
+ * Blocked global error messages from being seen by non-admin level users.
108
+ * Added #account# shortcode to supply Twitter username @ reference in Tweet templates.
109
+ * Updated debugging output
110
+ * Deletes obsolete options from database
111
+
112
+ = 2.2.3 =
113
+
114
+ * Fixed: Bug which added unnecessary duplications of post meta
115
+ * Fixed: broken analytics campaign info
116
+ * Fix attempt to clear up problems with urlencoding of links
117
+ * Fix attempt to clear up problems with some 403 errors and status update truncation
118
+
119
  = 2.2.2 =
120
 
121
  * Fixed a bug where new Pages did not Tweet.
408
 
409
  = 1.3.0 =
410
 
411
+ *Support for multiple authors with independent Twitter &amp; Cligs accounts.
412
  *Other minor textual revisions, addition of API availability check in the Settings panel.
413
  *Bugfixes: If editing a post by XMLRPC, you could not disable tweeting your edits. FIXED.
414
 
450
  3. Go to Settings > WP->Twitter
451
  4. Adjust the WP->Twitter Options as you prefer them.
452
  5. Supply your Twitter username and login.
453
+ 6. **Optional**: Configure your choice of URL shortener. Default is to use the Su.pr URL shortener from Stumbleupon as a short URL.
454
  7. That's it! You're all set.
455
 
456
  == Frequently Asked Questions ==
457
 
458
+ = I can't connect to Twitter using OAuth. What's wrong? =
459
+
460
+ The most likely problems that I've found so far are either that you don't have cURL support or that your server time is incorrect. Check with your host to verify these possibilities.
461
+
462
+ = Hey! Why did you remove Cli.gs support! =
463
+
464
+ First, I could no longer get it to work for me. If I can't run a single successful test with it, I can't just randomly trust it will work for somebody else. Second, the number of unsolvable support requests I received for Cli.gs was too great to justify keeping it in the plug-in. Still need it? You can download the [last version with Cli.gs support here](http://downloads.wordpress.org/plugin/wp-to-twitter.2.2.8.zip).
465
+
466
  = Do I have to have a Twitter.com account to use this plugin? =
467
 
468
  Yes, you need an account with Twitter to use this plugin.
469
 
470
+ = Do I have to have a URL shortener account to use this plugin? =
471
 
472
+ You don't need any URL shortener accounts to use this plugin. However, you may need an account with specific URL shorteners to use the plug-in to your best advantage.
 
473
 
474
  = Twitter goes down a lot. What happens if it's not available? =
475
 
476
  If Twitter isn't available, you'll get a message telling you that there's been an error with your Twitter status update. The Tweet you were going to send will be saved in your post meta fields, so you can grab it and post it manually if you wish.
477
 
478
+ = What if my URL shortener isn't available when I make my post? =
 
 
 
 
479
 
480
+ If your URL shortening service isn't available, your tweet will be sent using it's normal post permalink. You'll also get an error message letting you know that there was a problem contacting your URL shortener.
481
 
482
  = What if my server doesn't support the methods you use to contact these other sites? =
483
 
487
 
488
  No. They're private.
489
 
 
 
 
 
490
  = Scheduled posting doesn't work. What's wrong? =
491
 
492
  Only posts which you scheduled or edited *after* installing the plugin will be Tweeted. Any future posts written before installing the plugin will be ignored by WP to Twitter.
493
 
494
  == Upgrade Notice ==
495
 
496
+
497
 
498
  == Screenshots ==
499
 
styles.css ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wp-to-twitter #message {
2
+ margin: 10px 0;
3
+ padding: 5px;
4
+ }
5
+ #wp-to-twitter .jd-settings {
6
+ clear: both;
7
+ }
8
+ #wp-to-twitter form .error p {
9
+ background: none;
10
+ border: none;
11
+ }
12
+ legend {
13
+ font-weight: 700;
14
+ font-size: 1.2em;
15
+ padding: 6px 0;
16
+ }
17
+ .resources {
18
+ float: right;
19
+ border: 1px solid #aaa;
20
+ padding: 10px 10px 0;
21
+ margin-left: 10px;
22
+ margin-bottom: 10px;
23
+ -moz-border-radius: 5px;
24
+ -webkit-border-radius: 5px;
25
+ border-radius: 5px;
26
+ background: #fff;
27
+ text-align: center;
28
+ }
29
+ #wp-to-twitter .resources form {
30
+ margin: 0;
31
+ }
32
+ .settings {
33
+ margin: 25px 0;
34
+ background: #fff;
35
+ padding: 10px;
36
+ border: 1px solid #000;
37
+ }
38
+ #wp-to-twitter .panel {
39
+ border-bottom: 1px solid #ddd;
40
+ padding: 0 5px;
41
+ margin: 0 5px;
42
+ }
43
+ #wp-to-twitter ul {
44
+ list-style-type: disc;
45
+ margin-left: 3em;
46
+ font-size: 1em;
47
+ }
48
+ #wp-to-twitter li {
49
+ line-height: 1;
50
+ }
51
+ #wp-to-twitter .inside em {
52
+ color: #f33;
53
+ }
uninstall.php CHANGED
@@ -19,13 +19,13 @@ delete_option( 'jd_twit_remote' );
19
 
20
  delete_option( 'jd_post_excerpt' );
21
 
22
- // Cligs API
23
- delete_option( 'cligsapi' );
24
 
25
  // Error checking
26
  delete_option( 'jd-functions-checked' );
27
  delete_option( 'wp_twitter_failure' );
28
- delete_option( 'wp_cligs_failure' );
29
  delete_option( 'wp_url_failure' );
30
  delete_option( 'wp_bitly_failure' );
31
 
@@ -40,13 +40,12 @@ delete_option( 'jd_tweet_default' );
40
  // Note that default options are set.
41
  delete_option( 'twitterInitialised' );
42
  delete_option( 'wp_twitter_failure' );
43
- delete_option( 'wp_cligs_failure' );
44
  delete_option( 'twitterlogin' );
45
  delete_option( 'twitterpw' );
46
  delete_option( 'twitterlogin_encrypted' );
47
- delete_option( 'cligsapi' );
48
  delete_option( 'jd_twit_quickpress' );
49
- delete_option( 'jd-use-cligs' );
50
  delete_option( 'jd-use-none' );
51
  delete_option( 'jd-use-wp' );
52
 
@@ -73,11 +72,8 @@ delete_option( 'jd_api_post_status' );
73
  delete_option( 'jd-twitter-service-name' );
74
  delete_option( 'jd-twitter-char-limit' );
75
  delete_option( 'jd_use_both_services' );
76
- delete_option( 'x-twitterlogin' );
77
- delete_option( 'x-twitterpw' );
78
  delete_option( 'x-pw' );
79
  delete_option( 'x-login' );
80
- delete_option( 'x_jd_api_post_status' );
81
  delete_option('app_consumer_key');
82
  delete_option('app_consumer_secret');
83
  delete_option('oauth_token');
@@ -98,5 +94,4 @@ delete_option( 'jd_replace_character' );
98
  delete_option( 'jd_date_format' );
99
  delete_option( 'jd_keyword_format' );
100
 
101
- }
102
- ?>
19
 
20
  delete_option( 'jd_post_excerpt' );
21
 
22
+ // Su.pr API
23
+ delete_option( 'suprapi' );
24
 
25
  // Error checking
26
  delete_option( 'jd-functions-checked' );
27
  delete_option( 'wp_twitter_failure' );
28
+ delete_option( 'wp_supr_failure' );
29
  delete_option( 'wp_url_failure' );
30
  delete_option( 'wp_bitly_failure' );
31
 
40
  // Note that default options are set.
41
  delete_option( 'twitterInitialised' );
42
  delete_option( 'wp_twitter_failure' );
 
43
  delete_option( 'twitterlogin' );
44
  delete_option( 'twitterpw' );
45
  delete_option( 'twitterlogin_encrypted' );
46
+ delete_option( 'suprapi' );
47
  delete_option( 'jd_twit_quickpress' );
48
+ delete_option( 'jd-use-supr' );
49
  delete_option( 'jd-use-none' );
50
  delete_option( 'jd-use-wp' );
51
 
72
  delete_option( 'jd-twitter-service-name' );
73
  delete_option( 'jd-twitter-char-limit' );
74
  delete_option( 'jd_use_both_services' );
 
 
75
  delete_option( 'x-pw' );
76
  delete_option( 'x-login' );
 
77
  delete_option('app_consumer_key');
78
  delete_option('app_consumer_secret');
79
  delete_option('oauth_token');
94
  delete_option( 'jd_date_format' );
95
  delete_option( 'jd_keyword_format' );
96
 
97
+ }
 
wp-to-twitter-da_DA.mo ADDED
Binary file
wp-to-twitter-da_DA.po ADDED
@@ -0,0 +1,816 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wp-to-twitter\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-02-20 18:11+0100\n"
6
+ "PO-Revision-Date: 2011-02-20 18:11+0100\n"
7
+ "Last-Translator: Rasmus Himmelstrup <rh@iihnordic.com>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-KeywordsList: __;gettext;gettext_noop;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-Language: Danish\n"
15
+ "X-Poedit-Country: DENMARK\n"
16
+ "X-Poedit-SearchPath-0: .\n"
17
+
18
+ #: functions.php:210
19
+ 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."
20
+ msgstr "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Skjul</a>] Hvis du oplever problemer, kopiér indstillingerne her og send dem til support."
21
+
22
+ #: wp-to-twitter-manager.php:74
23
+ msgid "WP to Twitter is now connected with Twitter."
24
+ msgstr "WP to Twitter forbinder nu til Twitter"
25
+
26
+ #: wp-to-twitter-manager.php:82
27
+ msgid "OAuth Authentication Failed. Check your credentials and verify that <a href=\"http://www.twitter.com/\">Twitter</a> is running."
28
+ msgstr "OAuth Autentikation mislykkedes. "
29
+
30
+ #: wp-to-twitter-manager.php:89
31
+ msgid "OAuth Authentication Data Cleared."
32
+ msgstr "OAuth Authentication Data nulstillet."
33
+
34
+ #: wp-to-twitter-manager.php:96
35
+ msgid "OAuth Authentication response not understood."
36
+ msgstr "OAuth Authentication svar blev ikke forstået"
37
+
38
+ #: wp-to-twitter-manager.php:105
39
+ msgid "WP to Twitter Errors Cleared"
40
+ msgstr "WP to Twitter fejl er løst"
41
+
42
+ #: wp-to-twitter-manager.php:112
43
+ 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! "
44
+ msgstr "Beklager! Jeg kunne ikke få fat i Twitters servere for at publicere dit nye blog indlæg. Dit tweet er blevet gemt i et felt i dit indlæg, så du kan sende til Twitter manuelt hvis du ønsker."
45
+
46
+ #: wp-to-twitter-manager.php:114
47
+ msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
48
+ msgstr "Beklager! Jeg kunne ikke få fat i Twitters servere og publicere dit <strong>nye indlæg</strong>! Du bliver nød til publicere det manuelt desværre."
49
+
50
+ #: wp-to-twitter-manager.php:149
51
+ msgid "WP to Twitter Advanced Options Updated"
52
+ msgstr "WP to Twitter udvidede muligheder er opdateret. "
53
+
54
+ #: wp-to-twitter-manager.php:166
55
+ msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
56
+ msgstr "Du skal tilføje dit Bit.ly login og API key for at forkorte URLs med Bit.ly."
57
+
58
+ #: wp-to-twitter-manager.php:170
59
+ msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
60
+ msgstr "Du skal tilføje dit YOURLS remote URL, login og password for at forkorte URLs med en fjern installation af YOURLS."
61
+
62
+ #: wp-to-twitter-manager.php:174
63
+ msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
64
+ msgstr "Du skal tilføje din YOURLS server sti for at kunne forkorte URLs med en remote installation af YOURLS."
65
+
66
+ #: wp-to-twitter-manager.php:178
67
+ msgid "WP to Twitter Options Updated"
68
+ msgstr "WP to Twitter indstillinger er opdateret"
69
+
70
+ #: wp-to-twitter-manager.php:188
71
+ msgid "Category limits updated."
72
+ msgstr "Kategoribegrænsninger er opdateret"
73
+
74
+ #: wp-to-twitter-manager.php:192
75
+ msgid "Category limits unset."
76
+ msgstr "Kategori begræsninger fjernet."
77
+
78
+ #: wp-to-twitter-manager.php:200
79
+ msgid "YOURLS password updated. "
80
+ msgstr "YOURLS password opdateret. "
81
+
82
+ #: wp-to-twitter-manager.php:203
83
+ msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
84
+ msgstr "YOURLS password slettet. Du kan ikke længere bruge din remote YOURLS konto til at udarbejde short URLS."
85
+
86
+ #: wp-to-twitter-manager.php:205
87
+ msgid "Failed to save your YOURLS password! "
88
+ msgstr "Det mislykkedes at gemme dit YOURLS password! "
89
+
90
+ #: wp-to-twitter-manager.php:209
91
+ msgid "YOURLS username added. "
92
+ msgstr "YOURLS brugernavn tilføjet"
93
+
94
+ #: wp-to-twitter-manager.php:213
95
+ msgid "YOURLS API url added. "
96
+ msgstr "YOURLS API url tilføjet. "
97
+
98
+ #: wp-to-twitter-manager.php:216
99
+ msgid "YOURLS API url removed. "
100
+ msgstr "YOURLS API url fjernet."
101
+
102
+ #: wp-to-twitter-manager.php:221
103
+ msgid "YOURLS local server path added. "
104
+ msgstr "YOURLS local server sti tilføjet."
105
+
106
+ #: wp-to-twitter-manager.php:223
107
+ msgid "The path to your YOURLS installation is not correct. "
108
+ msgstr "Stien til din YOURLS installation er ikke korrekt."
109
+
110
+ #: wp-to-twitter-manager.php:227
111
+ msgid "YOURLS local server path removed. "
112
+ msgstr "YOURLS local server sti slettet. "
113
+
114
+ #: wp-to-twitter-manager.php:231
115
+ msgid "YOURLS will use Post ID for short URL slug."
116
+ msgstr "YOURLS vil bruge Post ID som short URL adresse."
117
+
118
+ #: wp-to-twitter-manager.php:234
119
+ msgid "YOURLS will not use Post ID for the short URL slug."
120
+ msgstr "YOURLS vil ikke bruge Post ID som short URL adresse."
121
+
122
+ #: wp-to-twitter-manager.php:241
123
+ msgid "Cligs API Key Updated"
124
+ msgstr "Cli.gs API Key opdateret"
125
+
126
+ #: wp-to-twitter-manager.php:244
127
+ msgid "Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be associated with your account. "
128
+ msgstr "Cli.gs API Key slettet. Cli.gs genereret af WP to Twitter vil ikke længere blive forbundet med din konto. "
129
+
130
+ #: wp-to-twitter-manager.php:246
131
+ msgid "Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</a>! "
132
+ msgstr "Cli.gs API Key ikke tilføjet - <a href='http://cli.gs/user/api/'>få en her</a>! "
133
+
134
+ #: wp-to-twitter-manager.php:252
135
+ msgid "Bit.ly API Key Updated."
136
+ msgstr "Bit.ly API Key opdateret"
137
+
138
+ #: wp-to-twitter-manager.php:255
139
+ msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
140
+ msgstr "Bit.ly API Key slettet. Du kan ikke bruge Bit.ly API uden en API key."
141
+
142
+ #: wp-to-twitter-manager.php:257
143
+ 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."
144
+ msgstr "Bit.ly API Key ikke tilføjet - <a href='http://bit.ly/account/'>få en her</a>! En API key er påkrævet for at bruge Bit.ly's URL forkorter service."
145
+
146
+ #: wp-to-twitter-manager.php:261
147
+ msgid " Bit.ly User Login Updated."
148
+ msgstr "Bit.ly brugernavn er opdateret"
149
+
150
+ #: wp-to-twitter-manager.php:264
151
+ msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
152
+ msgstr "Bit.ly bruger login slettet. Du kan ikke benytte Bit.ly API uden at have et brugernavn."
153
+
154
+ #: wp-to-twitter-manager.php:266
155
+ msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
156
+ msgstr "Bit.ly Login ikke tilføjet - <a href='http://bit.ly/account/'>få et her</a>! "
157
+
158
+ #: wp-to-twitter-manager.php:295
159
+ msgid "No error information is available for your shortener."
160
+ msgstr "Der er ingen fejlinformation tilgængelig for din url forkorter."
161
+
162
+ #: wp-to-twitter-manager.php:297
163
+ msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
164
+ msgstr "<li class=\"error\"><strong>WP to Twitter kunne ikke komme i kontakt med din valgte URL shortening service.</strong></li>"
165
+
166
+ #: wp-to-twitter-manager.php:300
167
+ msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
168
+ msgstr "<li><strong>WP to Twitter kontaktede din valgte URL shortening service.</strong> Det følgende link bør pege på din blog homepage:successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
169
+
170
+ #: wp-to-twitter-manager.php:309
171
+ msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
172
+ msgstr "<li><strong>WP to Twitter sendte succesfuldt en status opdatering til Twitter.</strong></li>"
173
+
174
+ #: wp-to-twitter-manager.php:311
175
+ msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
176
+ msgstr "<li class=\"error\"><strong>Det lykkedes ikke at sende en opdatering til Twitter med WP to Twitter.</strong></li>"
177
+
178
+ #: wp-to-twitter-manager.php:314
179
+ msgid "You have not connected WordPress to Twitter."
180
+ msgstr "Du har ikke forbundet Wordpress til Twitter"
181
+
182
+ #: wp-to-twitter-manager.php:318
183
+ msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
184
+ msgstr "<li class=\"error\"><strong>Din server ser ikke ud til at supportere de krævede WP to Twitter funktioner.</strong> Du kan prøve alligevel - de her tests er ikke perfekte.</li>"
185
+
186
+ #: wp-to-twitter-manager.php:322
187
+ msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
188
+ msgstr "<li><strong>Din server skulle køre WP to Twitter optimalt.</strong></li>"
189
+
190
+ #: wp-to-twitter-manager.php:339
191
+ msgid "WP to Twitter Options"
192
+ msgstr "WP to Twitter indstillinger"
193
+
194
+ #: wp-to-twitter-manager.php:349
195
+ #: wp-to-twitter.php:780
196
+ msgid "Get Support"
197
+ msgstr "Få support"
198
+
199
+ #: wp-to-twitter-manager.php:350
200
+ msgid "Export Settings"
201
+ msgstr "Eksportér Indstillinger"
202
+
203
+ #: wp-to-twitter-manager.php:351
204
+ #: wp-to-twitter.php:780
205
+ msgid "Make a Donation"
206
+ msgstr "Donér"
207
+
208
+ #: wp-to-twitter-manager.php:366
209
+ msgid "Shortcodes available in post update templates:"
210
+ msgstr "Shortcodes er tilgængelige i indlæggets opdaterings templates:"
211
+
212
+ #: wp-to-twitter-manager.php:368
213
+ msgid "<code>#title#</code>: the title of your blog post"
214
+ msgstr "<code>#title#</code>: titlen på dit indlæg"
215
+
216
+ #: wp-to-twitter-manager.php:369
217
+ msgid "<code>#blog#</code>: the title of your blog"
218
+ msgstr "<code>#blog#</code>: titlen på din blog"
219
+
220
+ #: wp-to-twitter-manager.php:370
221
+ msgid "<code>#post#</code>: a short excerpt of the post content"
222
+ msgstr "<code>#post#</code>: en kort beskrivelse af indlæggets indhold"
223
+
224
+ #: wp-to-twitter-manager.php:371
225
+ msgid "<code>#category#</code>: the first selected category for the post"
226
+ msgstr "<code>#category#</code>: den første valgte kategori for indlægget"
227
+
228
+ #: wp-to-twitter-manager.php:372
229
+ msgid "<code>#date#</code>: the post date"
230
+ msgstr "<code>#date#</code>: dato for indlæg"
231
+
232
+ #: wp-to-twitter-manager.php:373
233
+ msgid "<code>#url#</code>: the post URL"
234
+ msgstr "<code>#url#</code>: Indlæg URL"
235
+
236
+ #: wp-to-twitter-manager.php:374
237
+ msgid "<code>#author#</code>: the post author"
238
+ msgstr "<code>#author#</code>: indlæggets forfatter"
239
+
240
+ #: wp-to-twitter-manager.php:375
241
+ msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
242
+ msgstr "<code>#account#</code>: Twitter @reference for kontoen (eller forfatteren, hvis forfatterindstillinger er aktiveret og indsat.)"
243
+
244
+ #: wp-to-twitter-manager.php:377
245
+ msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
246
+ msgstr "Du kan også generere specielle shortcodes for at få adgang til WordPress custom felter. Brug firkantede klammer omkring navnet på dit custom felt for at tilføje navnet til din status opdatering. Eksempel: <code>[[custom_field]]</code></p>"
247
+
248
+ #: wp-to-twitter-manager.php:382
249
+ msgid "<p>One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.</p>"
250
+ msgstr "<p>En eller flere of dine sidste indlæg sendte ikke status opdateringer til Twitter. Dit Tweet er gemt i custom feltet på indlægget, du kan re-Tweete når du vil.</p>"
251
+
252
+ #: wp-to-twitter-manager.php:386
253
+ msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
254
+ msgstr "<p>Forespørgslen til URL shortener API mislykkedes, og din URL blev ikke forkortet. Den fulde URL blev tilføjet til dit Tweet. Tjek med din URL shortening udbyder for at se om der er nogle kendte problemer. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
255
+
256
+ #: wp-to-twitter-manager.php:393
257
+ msgid "Clear 'WP to Twitter' Error Messages"
258
+ msgstr "Nulstil 'WP to Twitter' fejlbeskeder"
259
+
260
+ #: wp-to-twitter-manager.php:409
261
+ msgid "Basic Settings"
262
+ msgstr "Normale indstillinger"
263
+
264
+ #: wp-to-twitter-manager.php:415
265
+ msgid "Tweet Templates"
266
+ msgstr "Tweet Temaer"
267
+
268
+ #: wp-to-twitter-manager.php:418
269
+ msgid "Update when a post is published"
270
+ msgstr "Opdatér når et indlæg er publiceret"
271
+
272
+ #: wp-to-twitter-manager.php:418
273
+ msgid "Text for new post updates:"
274
+ msgstr "Tekst for nye indlæg:"
275
+
276
+ #: wp-to-twitter-manager.php:424
277
+ #: wp-to-twitter-manager.php:427
278
+ msgid "Update when a post is edited"
279
+ msgstr "Opdatér når et indlæg er ændret"
280
+
281
+ #: wp-to-twitter-manager.php:424
282
+ #: wp-to-twitter-manager.php:427
283
+ msgid "Text for editing updates:"
284
+ msgstr "Tekst ved opdateringer:"
285
+
286
+ #: wp-to-twitter-manager.php:428
287
+ msgid "You can not disable updates on edits when using Postie or similar plugins."
288
+ msgstr "Du kan ikke deaktivere opdateringer ved ændringer når du benytter Postie eller lignende plugins."
289
+
290
+ #: wp-to-twitter-manager.php:432
291
+ msgid "Update Twitter when new Wordpress Pages are published"
292
+ msgstr "Opdatér Twitter når Wordpress Sider er publiceret"
293
+
294
+ #: wp-to-twitter-manager.php:432
295
+ msgid "Text for new page updates:"
296
+ msgstr "Tekst til nye side opdateringer:"
297
+
298
+ #: wp-to-twitter-manager.php:436
299
+ msgid "Update Twitter when WordPress Pages are edited"
300
+ msgstr "Opdatér Twitter når Wordpress sider er ændret"
301
+
302
+ #: wp-to-twitter-manager.php:436
303
+ msgid "Text for page edit updates:"
304
+ msgstr "Tekst ved opdateringer på sider:"
305
+
306
+ #: wp-to-twitter-manager.php:440
307
+ msgid "Update Twitter when you post a Blogroll link"
308
+ msgstr "Opdatér Twitter når du poster et Blogroll link"
309
+
310
+ #: wp-to-twitter-manager.php:441
311
+ msgid "Text for new link updates:"
312
+ msgstr "Tekst for nye link opdateringer:"
313
+
314
+ #: wp-to-twitter-manager.php:441
315
+ msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
316
+ msgstr "Mulige shortcodes: <code>#url#</code>, <code>#title#</code>, og <code>#description#</code>."
317
+
318
+ #: wp-to-twitter-manager.php:445
319
+ msgid "Choose your short URL service (account settings below)"
320
+ msgstr "Vælg din kort URL service (kontoindstillinger nedenfor)"
321
+
322
+ #: wp-to-twitter-manager.php:448
323
+ msgid "Use Cli.gs for my URL shortener."
324
+ msgstr "Brug Cli.gs som URL forkerter"
325
+
326
+ #: wp-to-twitter-manager.php:449
327
+ msgid "Use Bit.ly for my URL shortener."
328
+ msgstr "Brug Bit.ly som min URL forkorter"
329
+
330
+ #: wp-to-twitter-manager.php:450
331
+ msgid "YOURLS (installed on this server)"
332
+ msgstr "YOURLS (installeret på denne server)"
333
+
334
+ #: wp-to-twitter-manager.php:451
335
+ msgid "YOURLS (installed on a remote server)"
336
+ msgstr "YOURLS (installeret på en remote server)"
337
+
338
+ #: wp-to-twitter-manager.php:452
339
+ msgid "Use WordPress as a URL shortener."
340
+ msgstr "Brug Wordpress som en URL forkorter"
341
+
342
+ #: wp-to-twitter-manager.php:453
343
+ msgid "Don't shorten URLs."
344
+ msgstr "Forkort ikke URLs"
345
+
346
+ #: wp-to-twitter-manager.php:455
347
+ msgid "Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs."
348
+ msgstr "Ved at bruge WordPress som en URL shortener vil WordPress sende URLs til Twitter i default format: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics kan ikke benyttes når du benytter WordPress forkortede URLs."
349
+
350
+ #: wp-to-twitter-manager.php:461
351
+ msgid "Save WP->Twitter Options"
352
+ msgstr "Gem WP->Twitter indstillinger"
353
+
354
+ #: wp-to-twitter-manager.php:473
355
+ msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
356
+ msgstr "<abbr title=\"Uniform Resource Locator\">URL</abbr> forkorter Kontoindstillinger"
357
+
358
+ #: wp-to-twitter-manager.php:477
359
+ msgid "Your Cli.gs account details"
360
+ msgstr "Din Cli.gs konto informationer"
361
+
362
+ #: wp-to-twitter-manager.php:482
363
+ msgid "Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:"
364
+ msgstr "Din Cli.gs <abbr title='application programming interface'>API</abbr> Key:"
365
+
366
+ #: wp-to-twitter-manager.php:488
367
+ 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."
368
+ msgstr "Har du ikke en Cli.gs konto eller Cligs API key? <a href='http://cli.gs/user/api/'>Få en gratis her</a>!<br /> Du skal bruge en API key for at associere dine Cligs du med din Cligs konto. "
369
+
370
+ #: wp-to-twitter-manager.php:494
371
+ msgid "Your Bit.ly account details"
372
+ msgstr "Din Bit.ly konto indstillinger"
373
+
374
+ #: wp-to-twitter-manager.php:499
375
+ msgid "Your Bit.ly username:"
376
+ msgstr "Dit Bit.ly brugernavn"
377
+
378
+ #: wp-to-twitter-manager.php:503
379
+ msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
380
+ msgstr "Din Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
381
+
382
+ #: wp-to-twitter-manager.php:510
383
+ msgid "Save Bit.ly API Key"
384
+ msgstr "Gem Bit.ly API Key"
385
+
386
+ #: wp-to-twitter-manager.php:510
387
+ msgid "Clear Bit.ly API Key"
388
+ msgstr "Nustil Bit.ly API Key"
389
+
390
+ #: wp-to-twitter-manager.php:510
391
+ msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
392
+ msgstr "En Bit.ly API ey og brugernavn er nødvendigt for at forkorte URLs via Bit.ly API og WP to Twitter."
393
+
394
+ #: wp-to-twitter-manager.php:515
395
+ msgid "Your YOURLS account details"
396
+ msgstr "Din YOURLS kontodetaljer"
397
+
398
+ #: wp-to-twitter-manager.php:519
399
+ msgid "Path to the YOURLS config file (Local installations)"
400
+ msgstr "Sti til YOURLS konfigurationsfil (Lokale installationer)"
401
+
402
+ #: wp-to-twitter-manager.php:520
403
+ #: wp-to-twitter-manager.php:524
404
+ msgid "Example:"
405
+ msgstr "Eksempel:"
406
+
407
+ #: wp-to-twitter-manager.php:523
408
+ msgid "URI to the YOURLS API (Remote installations)"
409
+ msgstr "URI til YOURLS API (Remote installationer)"
410
+
411
+ #: wp-to-twitter-manager.php:527
412
+ msgid "Your YOURLS username:"
413
+ msgstr "Dit YOURLS brugernavn:"
414
+
415
+ #: wp-to-twitter-manager.php:531
416
+ msgid "Your YOURLS password:"
417
+ msgstr "Dit YOURLS password:"
418
+
419
+ #: wp-to-twitter-manager.php:531
420
+ msgid "<em>Saved</em>"
421
+ msgstr "<em>Gemt</em>"
422
+
423
+ #: wp-to-twitter-manager.php:535
424
+ msgid "Use Post ID for YOURLS url slug."
425
+ msgstr "Brug Post ID for YOURLS url adresse."
426
+
427
+ #: wp-to-twitter-manager.php:540
428
+ msgid "Save YOURLS Account Info"
429
+ msgstr "Gem YOURLS konto info"
430
+
431
+ #: wp-to-twitter-manager.php:540
432
+ msgid "Clear YOURLS password"
433
+ msgstr "Nulstil YOURLS password"
434
+
435
+ #: wp-to-twitter-manager.php:540
436
+ msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
437
+ msgstr "Et YOURLS password og brugernavn er nødvendigt for at forkorte URLs via remote YOURLS API og WP to Twitter."
438
+
439
+ #: wp-to-twitter-manager.php:557
440
+ msgid "Advanced Settings"
441
+ msgstr "Avancerede indstillinger"
442
+
443
+ #: wp-to-twitter-manager.php:564
444
+ msgid "Advanced Tweet settings"
445
+ msgstr "Avancerede Tweet indstillinger"
446
+
447
+ #: wp-to-twitter-manager.php:567
448
+ msgid "Add tags as hashtags on Tweets"
449
+ msgstr "Tilføj tags som hastags til Tweets"
450
+
451
+ #: wp-to-twitter-manager.php:568
452
+ msgid "Spaces replaced with:"
453
+ msgstr "Mellemrum erstattet af:"
454
+
455
+ #: wp-to-twitter-manager.php:569
456
+ msgid "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely."
457
+ msgstr "Default måde at erstatte er underscore (<code>_</code>). Brug <code>[ ]</code> for at fjerne mellemrum helt."
458
+
459
+ #: wp-to-twitter-manager.php:572
460
+ msgid "Maximum number of tags to include:"
461
+ msgstr "Maksimum antal tags der skal inkluderes"
462
+
463
+ #: wp-to-twitter-manager.php:573
464
+ msgid "Maximum length in characters for included tags:"
465
+ msgstr "Maksimum længde i karakterer for inkluderede tags:"
466
+
467
+ #: wp-to-twitter-manager.php:574
468
+ 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."
469
+ msgstr "Disse muligheder gør det muligt at begrænse længden og antal af Wordpress tags sendt til Twitter som hastags. "
470
+
471
+ #: wp-to-twitter-manager.php:577
472
+ msgid "Length of post excerpt (in characters):"
473
+ msgstr "Længde af uddrag (i bogstaver)"
474
+
475
+ #: wp-to-twitter-manager.php:577
476
+ msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead."
477
+ msgstr "Per default, trukket fra indlægget. Hvis du bruger 'Uddrags' feltet vil det blive brugt i stedet."
478
+
479
+ #: wp-to-twitter-manager.php:580
480
+ msgid "WP to Twitter Date Formatting:"
481
+ msgstr "WP to Twitter Dato formattering:"
482
+
483
+ #: wp-to-twitter-manager.php:581
484
+ msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
485
+ msgstr "Default er fra dine generelle indstillinger. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Dokumentation for Dato formattering</a>."
486
+
487
+ #: wp-to-twitter-manager.php:585
488
+ msgid "Custom text before all Tweets:"
489
+ msgstr "Brugerdefineret tekst før alle Tweets:"
490
+
491
+ #: wp-to-twitter-manager.php:586
492
+ msgid "Custom text after all Tweets:"
493
+ msgstr "Brugerdefineret tekst efter alle Tweets:"
494
+
495
+ #: wp-to-twitter-manager.php:589
496
+ msgid "Custom field for an alternate URL to be shortened and Tweeted:"
497
+ msgstr "Brugerdefineret felt for at en alternativ URL kan blive forkortet og Tweeted:"
498
+
499
+ #: wp-to-twitter-manager.php:590
500
+ msgid "You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL."
501
+ msgstr "Du kan bruge et brugerdefineret felt til at sende en alternativ URL for dit indlæg. Det du skal indsætte er navnet for dit brugerdefinerede felt, der indeholder din eksterne URL."
502
+
503
+ #: wp-to-twitter-manager.php:594
504
+ msgid "Special Cases when WordPress should send a Tweet"
505
+ msgstr "Specielle tilfælde hvor Wordpress skal sende et Tweet"
506
+
507
+ #: wp-to-twitter-manager.php:597
508
+ msgid "Do not post status updates by default"
509
+ msgstr "Undgå at sende statusopdateringer per default"
510
+
511
+ #: wp-to-twitter-manager.php:598
512
+ msgid "By default, all posts meeting other requirements will be posted to Twitter. Check this to change your setting."
513
+ msgstr "Per default, alle indlæg der opfylder andre betingelser vil blive sendt via Twitter. Tjek det for at ændre dine indstillinger."
514
+
515
+ #: wp-to-twitter-manager.php:602
516
+ msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
517
+ msgstr "Send Twitter opdateringer via remote publikation (Send indlæg via mail eller XMLRPC klient)"
518
+
519
+ #: wp-to-twitter-manager.php:604
520
+ msgid "I'm using a plugin to post by email, such as Postie. Only check this if your updates do not work."
521
+ msgstr "Jeg bruger et plugin, som Postie, til at poste via mail. Tjek kun dette hvis dine opdateringer ikke virker."
522
+
523
+ #: wp-to-twitter-manager.php:608
524
+ msgid "Update Twitter when a post is published using QuickPress"
525
+ msgstr "Opdatér Twitter når et indlæg bliver publiceret ved hjælp af QuickPress"
526
+
527
+ #: wp-to-twitter-manager.php:612
528
+ msgid "Google Analytics Settings"
529
+ msgstr "Google Analytics Indstillinger"
530
+
531
+ #: wp-to-twitter-manager.php:613
532
+ msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
533
+ msgstr "Du kan måle antallet af hits fra Twitter ved at bruge Google Analytics og definere en kampagne identifikator her. Du kan enten definere en statisk identifikator eller en dynamisk identifikator. Statiske identifikatorer skifter ikke fra indlæg til indlæg; dynamiske identifikatorer er dannet ud fra information relevant til det specifikke indlæg. Dynamiske identifikatorer vil give dig mulighed for nedbryde din statistik med en ekstra variabel."
534
+
535
+ #: wp-to-twitter-manager.php:617
536
+ msgid "Use a Static Identifier with WP-to-Twitter"
537
+ msgstr "Brug en statisk identifikator med WP-to-Twitter"
538
+
539
+ #: wp-to-twitter-manager.php:618
540
+ msgid "Static Campaign identifier for Google Analytics:"
541
+ msgstr "Statisk kampagne identifikator for Google Analytics"
542
+
543
+ #: wp-to-twitter-manager.php:622
544
+ msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
545
+ msgstr "Brug en dynamisk identifikator med Google Analytics og WP-to-Twitter"
546
+
547
+ #: wp-to-twitter-manager.php:623
548
+ msgid "What dynamic identifier would you like to use?"
549
+ msgstr "Hvilken dynamisk identifikator vil du benytte?"
550
+
551
+ #: wp-to-twitter-manager.php:625
552
+ msgid "Category"
553
+ msgstr "Kategori"
554
+
555
+ #: wp-to-twitter-manager.php:626
556
+ msgid "Post ID"
557
+ msgstr "Indlæg ID"
558
+
559
+ #: wp-to-twitter-manager.php:627
560
+ msgid "Post Title"
561
+ msgstr "Indlæg titel"
562
+
563
+ #: wp-to-twitter-manager.php:628
564
+ msgid "Author"
565
+ msgstr "Forfatter"
566
+
567
+ #: wp-to-twitter-manager.php:633
568
+ msgid "Individual Authors"
569
+ msgstr "Individuelle Forfattere"
570
+
571
+ #: wp-to-twitter-manager.php:636
572
+ msgid "Authors have individual Twitter accounts"
573
+ msgstr "Forfattere har individuelle Twitter konti"
574
+
575
+ #: wp-to-twitter-manager.php:636
576
+ msgid "Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author. This @reference is placed using the <code>#account#</code> shortcode. (It will pick up the main account if user accounts are not enabled.)"
577
+ msgstr "Forfattere kan skrive deres brugernavn i deres brugerprofil. Den feature tillader efter version 2.2.0 ikke forfattere at poste til deres egen Twitter konto. Den kan kun tilføje en @reference til forfatteren. Den @reference er placeret ved hjælp af <code>#konto#</code> shortcode. (Den vil benytte hovedkontoen hvis brugerkonto ikke er aktiveret.)"
578
+
579
+ #: wp-to-twitter-manager.php:640
580
+ msgid "Disable Error Messages"
581
+ msgstr "Deaktiver fejlmeddelelser"
582
+
583
+ #: wp-to-twitter-manager.php:643
584
+ msgid "Disable global URL shortener error messages."
585
+ msgstr "Deaktiver globale URL shortener fejlmeddelelser"
586
+
587
+ #: wp-to-twitter-manager.php:647
588
+ msgid "Disable global Twitter API error messages."
589
+ msgstr "Deaktiver globale Twitter API fejlmeddelelser"
590
+
591
+ #: wp-to-twitter-manager.php:651
592
+ msgid "Disable notification to implement OAuth"
593
+ msgstr "Deaktiver note om at implementere OAuth"
594
+
595
+ #: wp-to-twitter-manager.php:655
596
+ msgid "Get Debugging Data for OAuth Connection"
597
+ msgstr "Få debug data fra OAuth forbindelse"
598
+
599
+ #: wp-to-twitter-manager.php:661
600
+ msgid "Save Advanced WP->Twitter Options"
601
+ msgstr "Gem Avancerede WP-> Twitter indstillinger"
602
+
603
+ #: wp-to-twitter-manager.php:675
604
+ msgid "Limit Updating Categories"
605
+ msgstr "Begræsning på opdatering af Kategorier"
606
+
607
+ #: wp-to-twitter-manager.php:679
608
+ msgid "Select which blog categories will be Tweeted. "
609
+ msgstr "Vælg hvilke blog kategorier der skal Tweetes. "
610
+
611
+ #: wp-to-twitter-manager.php:682
612
+ msgid "<em>Category limits are disabled.</em>"
613
+ msgstr "<em>Kategoribegrænsninger er fjernet.</em>"
614
+
615
+ #: wp-to-twitter-manager.php:696
616
+ msgid "Check Support"
617
+ msgstr "Tjek Support"
618
+
619
+ #: wp-to-twitter-manager.php:696
620
+ msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
621
+ msgstr "Tjek om din server supporterer <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> forespørgelser til Twitter og URL shortening APIs. Testen her vil sende en status opdatering til Twitter og forkorte en URL ved at benytte de valgte metoder."
622
+
623
+ #: wp-to-twitter-oauth.php:105
624
+ #: wp-to-twitter-oauth.php:143
625
+ msgid "Connect to Twitter"
626
+ msgstr "Forbind til Twitter."
627
+
628
+ #: wp-to-twitter-oauth.php:108
629
+ msgid "The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter at this time. Note that you will not, at any time, enter you Twitter username or password into WP to Twitter; they are not used in OAuth authentication."
630
+ msgstr "Processen for at sætte OAuth autorisation op for dit website er unødigt besværlig. Det er også svært at forstå. Men det er den eneste metode Twitter stiller til rådighed på nuværende tidspunkt. Vær opmærksom på at du ikke - på noget tidspunkt - indtaster dit Twitter brugernavn og password i WP to Twitter; De benyttes ikke i OAuth autorisation."
631
+
632
+ #: wp-to-twitter-oauth.php:111
633
+ msgid "1. Register this site as an application on "
634
+ msgstr "1. Registrér dette site som en application på"
635
+
636
+ #: wp-to-twitter-oauth.php:111
637
+ msgid "Twitter's application registration page"
638
+ msgstr "Twitter's application registreringsside"
639
+
640
+ #: wp-to-twitter-oauth.php:113
641
+ msgid "If you're not currently logged in, use the Twitter username and password which you want associated with this site"
642
+ msgstr "Hvis du ikke er logget ind, brug det Twitter brugernavn og password du vil have associeret med dette site"
643
+
644
+ #: wp-to-twitter-oauth.php:114
645
+ msgid "Your Application's Name will be what shows up after \"via\" in your twitter stream; previously, \"WP to Twitter.\" Your application name cannot include the word \"Twitter.\" I suggest using the name of your web site."
646
+ msgstr "Din Applications navn vil være det der vises efter \"via\" i din Twitter strøm; tidligere, \"WP to Twitter.\" Din application kan ikke indeholde ordet \"Twitter.\" Jeg foreslår at du benytter navnet på dit website."
647
+
648
+ #: wp-to-twitter-oauth.php:115
649
+ msgid "Your Application Description can be whatever you want."
650
+ msgstr "Din Application beskrivelse kan være lige hvad du ønsker."
651
+
652
+ #: wp-to-twitter-oauth.php:116
653
+ msgid "Application Type should be set on "
654
+ msgstr "Adgangstype skal sættes til"
655
+
656
+ #: wp-to-twitter-oauth.php:116
657
+ msgid "Browser"
658
+ msgstr "Browser"
659
+
660
+ #: wp-to-twitter-oauth.php:117
661
+ msgid "The Callback URL should be "
662
+ msgstr "Callback URL skal være"
663
+
664
+ #: wp-to-twitter-oauth.php:118
665
+ msgid "Default Access type must be set to "
666
+ msgstr "Default adgangstype skal sættes til"
667
+
668
+ #: wp-to-twitter-oauth.php:118
669
+ msgid "Read &amp; Write"
670
+ msgstr "Læs &amp; Skriv"
671
+
672
+ #: wp-to-twitter-oauth.php:118
673
+ msgid "(this is NOT the default)"
674
+ msgstr "(Dette er ikke default)"
675
+
676
+ #: wp-to-twitter-oauth.php:120
677
+ msgid "Once you have registered your site as an application, you will be provided with a consumer key and a consumer secret."
678
+ msgstr "Når du har registreret dit site som en application, vil du blive tildelt en consumer key og en consumer secret."
679
+
680
+ #: wp-to-twitter-oauth.php:121
681
+ msgid "2. Copy and paste your consumer key and consumer secret into the fields below"
682
+ msgstr "2. Kopiér og indtast din consumer key og consumer secret i feltet nedenfor"
683
+
684
+ #: wp-to-twitter-oauth.php:124
685
+ msgid "Twitter Consumer Key"
686
+ msgstr "Twitter Consumer Key"
687
+
688
+ #: wp-to-twitter-oauth.php:128
689
+ msgid "Twitter Consumer Secret"
690
+ msgstr "Twitter Consumer Secret"
691
+
692
+ #: wp-to-twitter-oauth.php:131
693
+ msgid "3. Copy and paste your Access Token and Access Token Secret into the fields below"
694
+ msgstr "3. Kopiér og indsæt din Access Token og Access Token Secret ind i feltet herunder"
695
+
696
+ #: wp-to-twitter-oauth.php:132
697
+ msgid "On the right hand side of your new application page at Twitter, click on 'My Access Token'."
698
+ msgstr "I højre side af din nye ansøgningsside på Twitter, klik på 'My Access Token'."
699
+
700
+ #: wp-to-twitter-oauth.php:134
701
+ msgid "Access Token"
702
+ msgstr "Access Token"
703
+
704
+ #: wp-to-twitter-oauth.php:138
705
+ msgid "Access Token Secret"
706
+ msgstr "Access Token Secret"
707
+
708
+ #: wp-to-twitter-oauth.php:153
709
+ msgid "Disconnect from Twitter"
710
+ msgstr "Deaktiver Twitter"
711
+
712
+ #: wp-to-twitter-oauth.php:160
713
+ msgid "Twitter Username "
714
+ msgstr "Twitter brugernavn"
715
+
716
+ #: wp-to-twitter-oauth.php:161
717
+ msgid "Consumer Key "
718
+ msgstr "Consumer Key "
719
+
720
+ #: wp-to-twitter-oauth.php:162
721
+ msgid "Consumer Secret "
722
+ msgstr "Consumer Secret "
723
+
724
+ #: wp-to-twitter-oauth.php:163
725
+ msgid "Access Token "
726
+ msgstr "Access Token "
727
+
728
+ #: wp-to-twitter-oauth.php:164
729
+ msgid "Access Token Secret "
730
+ msgstr "Access Token Secret "
731
+
732
+ #: wp-to-twitter-oauth.php:167
733
+ msgid "Disconnect Your WordPress and Twitter Account"
734
+ msgstr "Frakobl din Wordpress og Twitter konto"
735
+
736
+ #: wp-to-twitter.php:52
737
+ #, php-format
738
+ msgid "Twitter now requires authentication by OAuth. You will need you to update your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
739
+ msgstr "Twitter kræver nu autorisation af OAuth. Du skal opdatere dine <a href=\"%s\">indstillinger</a> for at kunne blive ved med at bruge WP to Twitter."
740
+
741
+ #: wp-to-twitter.php:108
742
+ msgid "200 OK: Success!"
743
+ msgstr "200 OK: Succes!"
744
+
745
+ #: wp-to-twitter.php:111
746
+ msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
747
+ msgstr "400 Forkert forespørgsel: Forespørgslen var ikke korrekt. Det er status koden der returneres i løbet af hastighedsbegræsning."
748
+
749
+ #: wp-to-twitter.php:114
750
+ msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
751
+ msgstr "401 Ikke godkent: Login detaljer manglede eller var ikke korrekte."
752
+
753
+ #: wp-to-twitter.php:117
754
+ msgid "403 Forbidden: The request is understood, but it has been refused. This code is used when requests are being denied due to status update character limits."
755
+ msgstr "403 Forbudt: Forespørgslen er forstået, men er blevet afvist. Denne kode benyttes når forespørgelser bliver afvist på grund af karakterbegrænsninger på status opdateringer."
756
+
757
+ #: wp-to-twitter.php:119
758
+ msgid "500 Internal Server Error: Something is broken at Twitter."
759
+ msgstr "500 Intern Serverfejl: Twitter melder fejl."
760
+
761
+ #: wp-to-twitter.php:122
762
+ msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
763
+ msgstr "503 Tjenesten er ikke tilgængelig: Twitters servere kører, men er overbelastede pga. mange forespørgelser. Prøv igen senere."
764
+
765
+ #: wp-to-twitter.php:125
766
+ msgid "502 Bad Gateway: Twitter is down or being upgraded."
767
+ msgstr "502 Forkert Gateway: Twitter er nede eller bliver opdateret"
768
+
769
+ #: wp-to-twitter.php:707
770
+ msgid "WP to Twitter"
771
+ msgstr "WP to Twitter"
772
+
773
+ #: wp-to-twitter.php:783
774
+ msgid "Don't Tweet this post."
775
+ msgstr "Tweet ikke dette indlæg."
776
+
777
+ #: wp-to-twitter.php:793
778
+ msgid "This URL is direct and has not been shortened: "
779
+ msgstr "Denne URL er direkte og er ikke blevet forkortet"
780
+
781
+ #: wp-to-twitter.php:849
782
+ msgid "WP to Twitter User Settings"
783
+ msgstr "WP to Twitter brugerindstillinger"
784
+
785
+ #: wp-to-twitter.php:853
786
+ msgid "Use My Twitter Username"
787
+ msgstr "Brug mit Twitter brugernavn"
788
+
789
+ #: wp-to-twitter.php:854
790
+ msgid "Tweet my posts with an @ reference to my username."
791
+ msgstr "Tweet mit indlæg med en @ reference til mit brugernavn."
792
+
793
+ #: wp-to-twitter.php:855
794
+ msgid "Tweet my posts with an @ reference to both my username and to the main site username."
795
+ msgstr "Tweet mit indlæg med en @ reference til både mit brugernavn og til hovedsitets brugernavn."
796
+
797
+ #: wp-to-twitter.php:860
798
+ msgid "Enter your own Twitter username."
799
+ msgstr "Indtast dit Twitter brugernavn."
800
+
801
+ #: wp-to-twitter.php:896
802
+ msgid "Check the categories you want to tweet:"
803
+ msgstr "Tjeck de kategorier du vil tweete:"
804
+
805
+ #: wp-to-twitter.php:913
806
+ msgid "Set Categories"
807
+ msgstr "Sæt Kategorier"
808
+
809
+ #: wp-to-twitter.php:987
810
+ msgid "<p>Couldn't locate the settings page.</p>"
811
+ msgstr "<p>Kunne ikke finde siden med indstillinger.</p>"
812
+
813
+ #: wp-to-twitter.php:992
814
+ msgid "Settings"
815
+ msgstr "Indstillinger"
816
+
wp-to-twitter-it_IT.mo CHANGED
Binary file
wp-to-twitter-it_IT.po CHANGED
@@ -6,828 +6,909 @@
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: WP to Twitter in italiano\n"
9
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
10
- "POT-Creation-Date: 2010-08-26 22:15+0000\n"
11
- "PO-Revision-Date: 2010-08-28 14:06+0100\n"
12
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
- "Language-Team: Gianni Diurno | gidibao.net <gidibao[at]gmail[dot]com>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "X-Poedit-Language: Italian\n"
18
  "X-Poedit-Country: ITALY\n"
19
  "X-Poedit-KeywordsList: __;_e\n"
20
- "X-Poedit-Basepath: ..\n"
 
21
  "X-Poedit-SearchPath-0: .\n"
22
 
23
- #: functions.php:222
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'>Nascondi</a>] Qualora avessi riscontrato dei problemi, allega queste impostazioni alle richieste di supporto."
26
 
27
- #: wp-to-twitter-manager.php:74
28
  msgid "WP to Twitter is now connected with Twitter."
29
  msgstr "WP to Twitter é ora connesso a Twitter."
30
 
31
- #: wp-to-twitter-manager.php:82
32
- msgid "OAuth Authentication Failed. Check your credentials and verify that <a href=\"http://www.twitter.com/\">Twitter</a> is running."
33
- msgstr "L'autentificazione OAuth é fallita. Controlla i tuoi dati e verifica che <a href=\"http://www.twitter.com/\">Twitter</a> sia in uso."
34
-
35
- #: wp-to-twitter-manager.php:89
36
  msgid "OAuth Authentication Data Cleared."
37
  msgstr "I dati della autentificazione OAuth sono stati svuotati."
38
 
39
- #: wp-to-twitter-manager.php:99
 
 
 
 
 
 
 
 
40
  msgid "WP to Twitter Errors Cleared"
41
  msgstr "Gli errori WP to Twitter sono stati azzerati"
42
 
43
- #: wp-to-twitter-manager.php:106
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 "Non é stato possibile contattare i server di Twitter per comunicare l'aggiornamento avvenuto. Il tuo messaggio é stato inserito in un campo personalizzato in allegato all'articolo in modo tale che tu possa compiere manualmente l'operazione!"
46
 
47
- #: wp-to-twitter-manager.php:108
48
  msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
49
  msgstr "Non é stato possibile contattare i server di Twitter per comunicare il tuo <strong>nuovo link</strong>. Prova a compiere manualmente l'operazione."
50
 
51
- #: wp-to-twitter-manager.php:143
52
  msgid "WP to Twitter Advanced Options Updated"
53
  msgstr "Le opzioni avanzate di WP to Twitter sono state aggiornate"
54
 
55
- #: wp-to-twitter-manager.php:160
56
  msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
57
  msgstr "E' necessario che tu inserisca i dati per il login e la chiave API di Bit.ly in modo da potere abbreviare gli URL con Bit.ly."
58
 
59
- #: wp-to-twitter-manager.php:164
60
  msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
61
  msgstr "E' necessario che tu inserisca il tuo URL remoto a YOURLS, il login e la password in modo da potere abbreviare gli URL attraverso la tua installazione remota di YOURLS."
62
 
63
- #: wp-to-twitter-manager.php:168
64
  msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
65
  msgstr "E' necessario che tu inserisca il percorso al server del tuo YOURLS in modo da potere abbreviare gli URL attraverso la tua installazione remota di YOURLS."
66
 
67
- #: wp-to-twitter-manager.php:172
68
  msgid "WP to Twitter Options Updated"
69
  msgstr "Le opzioni di WP to Twitter sono state aggiornate"
70
 
71
- #: wp-to-twitter-manager.php:182
72
  msgid "Category limits updated."
73
  msgstr "I limiti per la categoria sono stati aggiornati."
74
 
75
- #: wp-to-twitter-manager.php:186
76
  msgid "Category limits unset."
77
  msgstr "Le limitazioni alle categorie non sono state impostate."
78
 
79
- #: wp-to-twitter-manager.php:194
80
  msgid "YOURLS password updated. "
81
  msgstr "La password di YOURLS é stata aggiornata."
82
 
83
- #: wp-to-twitter-manager.php:197
84
  msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
85
  msgstr "La tua password di YOURLS é stata cancellata. Non potrai utilizzare il tuo account remoto YOURLS per la creazione di URL brevi."
86
 
87
- #: wp-to-twitter-manager.php:199
88
  msgid "Failed to save your YOURLS password! "
89
  msgstr "Non é stato possibile salvare la tua password di YOURLS!"
90
 
91
- #: wp-to-twitter-manager.php:203
92
  msgid "YOURLS username added. "
93
  msgstr "Il nome utente YOURLS é stato aggiunto."
94
 
95
- #: wp-to-twitter-manager.php:207
96
  msgid "YOURLS API url added. "
97
  msgstr "L'url alla API YOURLS é stato aggiunto. "
98
 
99
- #: wp-to-twitter-manager.php:210
100
  msgid "YOURLS API url removed. "
101
  msgstr "L'url alla API YOURLS é stato rimosso. "
102
 
103
- #: wp-to-twitter-manager.php:215
104
  msgid "YOURLS local server path added. "
105
  msgstr "Il percorso al server locale di YOURLS é stato aggiunto. "
106
 
107
- #: wp-to-twitter-manager.php:217
108
  msgid "The path to your YOURLS installation is not correct. "
109
  msgstr "Il percorso alla tua installazione di YOURLS non é corretto. "
110
 
111
- #: wp-to-twitter-manager.php:221
112
  msgid "YOURLS local server path removed. "
113
  msgstr "Il percorso al server locale di YOURLS é stato rimosso. "
114
 
115
- #: wp-to-twitter-manager.php:225
116
  msgid "YOURLS will use Post ID for short URL slug."
117
  msgstr "YOURLS utilizzerà Post ID per lo slug degli URL brevi."
118
 
119
- #: wp-to-twitter-manager.php:228
120
  msgid "YOURLS will not use Post ID for the short URL slug."
121
  msgstr "YOURLS non utilizzerà Post ID per lo slug degli URL brevi."
122
 
123
- #: wp-to-twitter-manager.php:235
124
- msgid "Cligs API Key Updated"
125
- msgstr "La chiave API di Cligs é stata aggiornata."
126
 
127
- #: wp-to-twitter-manager.php:238
128
- msgid "Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be associated with your account. "
129
- msgstr "La chiave API di Cli.gs é stata cancellata. I Cli.gs creati da WP to Twitter non saranno più associati al tuo account. "
130
 
131
- #: wp-to-twitter-manager.php:240
132
- msgid "Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</a>! "
133
- msgstr "Non é stata inserita la chiave API di Cli.gs - <a href='http://cli.gs/user/api/'>vai qui</a>! "
134
 
135
- #: wp-to-twitter-manager.php:246
136
  msgid "Bit.ly API Key Updated."
137
  msgstr "La chiave API di Bit.ly é stata aggiornata."
138
 
139
- #: wp-to-twitter-manager.php:249
140
  msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
141
  msgstr "La chiave API di Bit.ly é stata cancellata. Non puoi utilizzare la API di Bit.ly senza la chiave API. "
142
 
143
- #: wp-to-twitter-manager.php:251
144
  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."
145
  msgstr "La chiave API di Bit.ly non é stata aggiunta - <a href='http://bit.ly/account/'>vai qui</a>! E' necessaria una chiave API affinché il servizio di URL brevi Bit.ly di possa funzionare."
146
 
147
- #: wp-to-twitter-manager.php:255
148
  msgid " Bit.ly User Login Updated."
149
  msgstr " Il login utente per Bit.ly é stato aggiornato."
150
 
151
- #: wp-to-twitter-manager.php:258
152
  msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
153
  msgstr "Sono stati cancellati i dati per il login utente Bit.ly. Non puoi utilizzare la API di Bit.ly senza fornire il tuo nome utente. "
154
 
155
- #: wp-to-twitter-manager.php:260
156
  msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
157
  msgstr "Non sono stati inseriti i dati per il login a Bit.ly - <a href='http://bit.ly/account/'>vai qui</a>! "
158
 
159
- #: wp-to-twitter-manager.php:289
160
  msgid "No error information is available for your shortener."
161
  msgstr "Nessuna informazione di errore disponibile per il tuo abbreviatore."
162
 
163
- #: wp-to-twitter-manager.php:291
164
  msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
165
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di contattare il servizio per gli URL brevi da te selezionato.</strong></li>"
166
 
167
- #: wp-to-twitter-manager.php:294
168
  msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
169
  msgstr "<li><strong>WP to Twitter ha contattato con successo il servizio per gli URL brevi da te selezionato.</strong> Il seguente link dovrebbe puntare alla homepage del tuo blog:"
170
 
171
- #: wp-to-twitter-manager.php:303
172
  msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
173
  msgstr "<li><strong>WP to Twitter ha inviato con successo l'aggiornamento dello stato a Twitter.</strong></li>"
174
 
175
- #: wp-to-twitter-manager.php:305
176
  msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
177
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di inviare l'aggiornamento a Twitter.</strong></li>"
178
 
179
- #: wp-to-twitter-manager.php:308
180
  msgid "You have not connected WordPress to Twitter."
181
  msgstr "Non hai connesso WordPress a Twitter."
182
 
183
- #: wp-to-twitter-manager.php:312
184
  msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
185
  msgstr "<li class=\"error\"><strong>Pare che il tuo server non supporti le funzioni richieste affinché WP to Twitter possa funzionare correttamente.</strong> Puoi comunque provare ugualmente - queste verifiche non sono perfette - garantisco i risultati.</li>"
186
 
187
- #: wp-to-twitter-manager.php:316
188
  msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
189
  msgstr "<li><strong>WP to Twitter funziona correttamente per il tuo server.</strong></li>"
190
 
191
- #: wp-to-twitter-manager.php:333
192
  msgid "WP to Twitter Options"
193
  msgstr "Opzioni WP to Twitter"
194
 
195
- #: wp-to-twitter-manager.php:343
196
- #: wp-to-twitter.php:805
197
- msgid "Get Support"
198
- msgstr "Supporto"
199
-
200
- #: wp-to-twitter-manager.php:344
201
- msgid "Export Settings"
202
- msgstr "Impostazioni esportazione"
203
 
204
- #: wp-to-twitter-manager.php:345
205
- #: wp-to-twitter.php:805
206
  msgid "Make a Donation"
207
  msgstr "Effettua una donazione"
208
 
209
- #: wp-to-twitter-manager.php:360
 
 
 
 
 
 
 
 
 
210
  msgid "Shortcodes available in post update templates:"
211
  msgstr "Shortcode disponibili nei template aggiornamento post:"
212
 
213
- #: wp-to-twitter-manager.php:362
214
  msgid "<code>#title#</code>: the title of your blog post"
215
  msgstr "<code>#title#</code>: il titolo del tuo post"
216
 
217
- #: wp-to-twitter-manager.php:363
218
  msgid "<code>#blog#</code>: the title of your blog"
219
  msgstr "<code>#blog#</code>: il titolo del tuo blog"
220
 
221
- #: wp-to-twitter-manager.php:364
222
  msgid "<code>#post#</code>: a short excerpt of the post content"
223
  msgstr "<code>#post#</code>: un breve riassunto dei contenuti del post"
224
 
225
- #: wp-to-twitter-manager.php:365
226
  msgid "<code>#category#</code>: the first selected category for the post"
227
  msgstr "<code>#category#</code>: la prima categoria selezionata per il post"
228
 
229
- #: wp-to-twitter-manager.php:366
230
  msgid "<code>#date#</code>: the post date"
231
  msgstr "<code>#date#</code>: la data del post"
232
 
233
- #: wp-to-twitter-manager.php:367
234
  msgid "<code>#url#</code>: the post URL"
235
  msgstr "<code>#url#</code>: l'URL del post"
236
 
237
- #: wp-to-twitter-manager.php:368
238
  msgid "<code>#author#</code>: the post author"
239
  msgstr "<code>#author#</code>: l'autore del post"
240
 
241
- #: wp-to-twitter-manager.php:370
 
 
 
 
242
  msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
243
  msgstr "Hai la possibilità di potere creare degli shortcode personalizzati grazie ai campi personalizzati di WordPress. Utilizza le doppie parentesi quadre per avvolgere il nome del tuo campo personalizzato per aggiungere il valore di quel dato campo al tuo stato di aggiornamento. Esempio: <code>[[custom_field]]</code></p>"
244
 
245
- #: wp-to-twitter-manager.php:375
246
  msgid "<p>One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.</p>"
247
  msgstr "<p>Uno o più dei tuoi articoli recenti non é stato in grado di comunicare l'aggiornamento a Twitter. Il tuo messaggio é stato inserito nei dati meta del campo personalizzato del tuo articolo in modo tale che tu possa ripetere l'operazione a tuo piacere.</p>"
248
 
249
- #: wp-to-twitter-manager.php:379
250
- msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
251
- msgstr "<p>La richiesta é fallita! Non essendo stato possibile abbreviare l'URL abbiamo utilizzato per il messaggio l'indirizzo normale. Verifica la documentazione in merito presso il tuo provider di URL brevi. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
252
 
253
- #: wp-to-twitter-manager.php:386
254
  msgid "Clear 'WP to Twitter' Error Messages"
255
  msgstr "Svuota i messaggiodi errore 'WP to Twitter'"
256
 
257
- #: wp-to-twitter-manager.php:402
258
  msgid "Basic Settings"
259
  msgstr "Impostazioni di base"
260
 
261
- #: wp-to-twitter-manager.php:408
262
  msgid "Tweet Templates"
263
  msgstr "Template messaggio"
264
 
265
- #: wp-to-twitter-manager.php:411
266
  msgid "Update when a post is published"
267
  msgstr "Aggiorna quando viene pubblicato un articolo"
268
 
269
- #: wp-to-twitter-manager.php:411
270
  msgid "Text for new post updates:"
271
  msgstr "Testo per aggiornamenti articolo:"
272
 
273
- #: wp-to-twitter-manager.php:417
274
- #: wp-to-twitter-manager.php:420
275
  msgid "Update when a post is edited"
276
  msgstr "Aggiorna quando modifichi un articolo"
277
 
278
- #: wp-to-twitter-manager.php:417
279
- #: wp-to-twitter-manager.php:420
280
  msgid "Text for editing updates:"
281
  msgstr "Testo per aggiornamenti modifiche:"
282
 
283
- #: wp-to-twitter-manager.php:421
284
  msgid "You can not disable updates on edits when using Postie or similar plugins."
285
  msgstr "Non potrai disattivare gli aggiornamenti durante l'utilizzo di Postie o plugin simili."
286
 
287
- #: wp-to-twitter-manager.php:425
288
  msgid "Update Twitter when new Wordpress Pages are published"
289
  msgstr "Aggiorna Twitter quando viene pubblicata una nuova pagina WordPress"
290
 
291
- #: wp-to-twitter-manager.php:425
292
  msgid "Text for new page updates:"
293
  msgstr "Testo per aggiornamenti articolo:"
294
 
295
- #: wp-to-twitter-manager.php:429
296
  msgid "Update Twitter when WordPress Pages are edited"
297
  msgstr "Aggiorna Twitter quando viene modificata una pagina WordPress"
298
 
299
- #: wp-to-twitter-manager.php:429
300
  msgid "Text for page edit updates:"
301
  msgstr "Testo per la pagina di modifica aggiornamenti:"
302
 
303
- #: wp-to-twitter-manager.php:433
304
  msgid "Update Twitter when you post a Blogroll link"
305
  msgstr "Aggiorna Twitter quando viene aggiunto un nuovo link al blogroll"
306
 
307
- #: wp-to-twitter-manager.php:434
308
  msgid "Text for new link updates:"
309
  msgstr "Testo per gli aggiornamenti di un nuovo link:"
310
 
311
- #: wp-to-twitter-manager.php:434
312
  msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
313
  msgstr "Shortcode disponibili: <code>#url#</code>, <code>#title#</code> e <code>#description#</code>."
314
 
315
- #: wp-to-twitter-manager.php:438
316
  msgid "Choose your short URL service (account settings below)"
317
  msgstr "Scegli il tuo servizio per gli URL brevi (impostazioni account qui sotto)"
318
 
319
- #: wp-to-twitter-manager.php:441
320
- msgid "Use Cli.gs for my URL shortener."
321
- msgstr "Usa Cli.gs per gli URL brevi"
322
 
323
- #: wp-to-twitter-manager.php:442
 
 
 
 
324
  msgid "Use Bit.ly for my URL shortener."
325
  msgstr "Usa Bit.ly per gli URL brevi"
326
 
327
- #: wp-to-twitter-manager.php:443
328
  msgid "YOURLS (installed on this server)"
329
  msgstr "YOURLS (intallato in questo server)"
330
 
331
- #: wp-to-twitter-manager.php:444
332
  msgid "YOURLS (installed on a remote server)"
333
  msgstr "YOURLS (intallato in un server remoto)"
334
 
335
- #: wp-to-twitter-manager.php:445
336
  msgid "Use WordPress as a URL shortener."
337
  msgstr "Usa WordPress per gli URL brevi."
338
 
339
- #: wp-to-twitter-manager.php:446
340
- msgid "Don't shorten URLs."
341
- msgstr "Non usare gli URL brevi"
342
-
343
- #: wp-to-twitter-manager.php:448
344
  msgid "Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs."
345
  msgstr "L'utilizzo di WordPress per la creazione di URL brevi farà sì che verranno inviati a Twitter gli URL nel formato predefinito di WordPress: <code>http://domain.com/wpdir/?p=123</code> . Google Analytics non sarà disponibile durante l'utilizzo di WordPress per la creazione di URL brevi."
346
 
347
- #: wp-to-twitter-manager.php:454
348
  msgid "Save WP->Twitter Options"
349
  msgstr "Salva le opzioni WP->Twitter"
350
 
351
- #: wp-to-twitter-manager.php:466
352
  msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
353
  msgstr "Impostazione account abbreviatore <abbr title=\"Uniform Resource Locator\">URL</abbr>"
354
 
355
- #: wp-to-twitter-manager.php:470
356
- msgid "Your Cli.gs account details"
357
- msgstr "Dati account Cli.gs"
 
 
 
 
358
 
359
- #: wp-to-twitter-manager.php:475
360
- msgid "Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:"
361
- msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Cli.gs:"
362
 
363
- #: wp-to-twitter-manager.php:481
364
- 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."
365
- msgstr "Non hai ancora un account oppure una chiave API Cli.gs? <a href='http://cli.gs/user/api/'>Vai qui</a>!<br />E' necessaria una chiave API in modo tale da potere associare i Cligs da te creati con il tuo account di Cligs."
366
 
367
- #: wp-to-twitter-manager.php:487
368
  msgid "Your Bit.ly account details"
369
  msgstr "Dati account Bit.ly"
370
 
371
- #: wp-to-twitter-manager.php:492
372
  msgid "Your Bit.ly username:"
373
  msgstr "Nome utente Bit.ly:"
374
 
375
- #: wp-to-twitter-manager.php:496
376
  msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
377
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Bit.ly:"
378
 
379
- #: wp-to-twitter-manager.php:503
380
  msgid "Save Bit.ly API Key"
381
  msgstr "Salva la chiave API di Bit.ly"
382
 
383
- #: wp-to-twitter-manager.php:503
384
  msgid "Clear Bit.ly API Key"
385
  msgstr "Svuota la chiave API di Bit.ly"
386
 
387
- #: wp-to-twitter-manager.php:503
388
  msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
389
- msgstr "E' necessario il nome utente e la chiave API di Bit.ly per potere rendere brevi gli URL viala chiave API di Bit.ly API e WP to Twitter."
390
 
391
- #: wp-to-twitter-manager.php:508
392
  msgid "Your YOURLS account details"
393
  msgstr "I dettagli del tuo account YOURLS"
394
 
395
- #: wp-to-twitter-manager.php:512
396
- msgid "Path to the YOURLS config file (Local installations)"
397
- msgstr "Percorso al file di configurazione di YOURLS (installazioni locali)"
398
 
399
- #: wp-to-twitter-manager.php:513
400
- #: wp-to-twitter-manager.php:517
401
  msgid "Example:"
402
  msgstr "Esempio:"
403
 
404
- #: wp-to-twitter-manager.php:516
405
  msgid "URI to the YOURLS API (Remote installations)"
406
  msgstr "URI alla API di YOURLS (installazioni remote)"
407
 
408
- #: wp-to-twitter-manager.php:520
409
  msgid "Your YOURLS username:"
410
  msgstr "Nome utente YOURLS:"
411
 
412
- #: wp-to-twitter-manager.php:524
413
  msgid "Your YOURLS password:"
414
  msgstr "Password YOURLS:"
415
 
416
- #: wp-to-twitter-manager.php:524
417
  msgid "<em>Saved</em>"
418
  msgstr "<em>Salvato</em>"
419
 
420
- #: wp-to-twitter-manager.php:528
421
  msgid "Use Post ID for YOURLS url slug."
422
  msgstr "Utilizza Post ID per lo slug degli url di YOURLS."
423
 
424
- #: wp-to-twitter-manager.php:533
425
  msgid "Save YOURLS Account Info"
426
  msgstr "Salva le info account di YOURLS"
427
 
428
- #: wp-to-twitter-manager.php:533
429
  msgid "Clear YOURLS password"
430
  msgstr "Svuota la password di YOURLS"
431
 
432
- #: wp-to-twitter-manager.php:533
433
  msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
434
  msgstr "E' necessario il nome utente e la password di affinché possano essere abbreviati gli URL via l'API remoto di YOURLS e di WP to Twitter."
435
 
436
- #: wp-to-twitter-manager.php:550
437
  msgid "Advanced Settings"
438
  msgstr "Impostazioni avanzate"
439
 
440
- #: wp-to-twitter-manager.php:557
441
  msgid "Advanced Tweet settings"
442
  msgstr "Opzioni messaggio avanzate"
443
 
444
- #: wp-to-twitter-manager.php:560
445
  msgid "Add tags as hashtags on Tweets"
446
  msgstr "Aggiungi ai messaggi i tag come fossero degli hashtag "
447
 
448
- #: wp-to-twitter-manager.php:561
 
 
 
 
449
  msgid "Spaces replaced with:"
450
  msgstr "Sostituisci gli spazi con:"
451
 
452
- #: wp-to-twitter-manager.php:562
453
  msgid "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely."
454
  msgstr "Il sostituto predefinito é un trattino breve (<code>_</code>). Usa <code>[ ]</code> per rimuovere gli spazi completamente."
455
 
456
- #: wp-to-twitter-manager.php:565
457
  msgid "Maximum number of tags to include:"
458
  msgstr "Numero massimo di tag da includere:"
459
 
460
- #: wp-to-twitter-manager.php:566
461
  msgid "Maximum length in characters for included tags:"
462
  msgstr "Lunghezza massima in caratteri per i tag inclusi:"
463
 
464
- #: wp-to-twitter-manager.php:567
465
  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."
466
  msgstr "Queste opzioni ti permetteranno di limitare la lunghezza ed il numero dei tag WordPress inviati a Twitter come hashtags. Imposta a <code>0</code> oppure lascia in bianco per permettere ogni tag."
467
 
468
- #: wp-to-twitter-manager.php:570
469
  msgid "Length of post excerpt (in characters):"
470
  msgstr "Lunghezza riassunto messaggi (in caratteri)"
471
 
472
- #: wp-to-twitter-manager.php:570
473
  msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead."
474
  msgstr "Come funzione predefinita, gli estratti verranno generati in automatico. Utilizzassi il campo 'Excerpt', questi avrà la priorità."
475
 
476
- #: wp-to-twitter-manager.php:573
477
  msgid "WP to Twitter Date Formatting:"
478
  msgstr "Formattazione data WP to Twitter:"
479
 
480
- #: wp-to-twitter-manager.php:574
481
  msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
482
  msgstr "Predefinito dalle impostazioni generali. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Info formattazione data</a>."
483
 
484
- #: wp-to-twitter-manager.php:578
485
  msgid "Custom text before all Tweets:"
486
  msgstr "Testo personalizzato prima di tutti i messaggi:"
487
 
488
- #: wp-to-twitter-manager.php:579
489
  msgid "Custom text after all Tweets:"
490
  msgstr "Testo personalizzato dopo tutti i messaggi:"
491
 
492
- #: wp-to-twitter-manager.php:582
493
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
494
  msgstr "Campo personalizzato riferito ad un URL alternativo da abbreviare ed inviare a Twitter:"
495
 
496
- #: wp-to-twitter-manager.php:583
497
  msgid "You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL."
498
  msgstr "Puoi utilizzare un campo personalizzato per inviare un URL alternativo per il tuo articolo. Questo valore é il nome del campo personalizzato che utilizzerai per aggiungere un URL esterno."
499
 
500
- #: wp-to-twitter-manager.php:587
501
  msgid "Special Cases when WordPress should send a Tweet"
502
  msgstr "Casi particolari nei quali WordPress dovrebbe inviare un messaggio"
503
 
504
- #: wp-to-twitter-manager.php:590
505
  msgid "Do not post status updates by default"
506
  msgstr "Non aggiornare lo stato dei post (predefinito)"
507
 
508
- #: wp-to-twitter-manager.php:591
509
  msgid "By default, all posts meeting other requirements will be posted to Twitter. Check this to change your setting."
510
  msgstr "Come funzione predefinita, tutti i post che soddisfano i requisiti saranno pubblicati su Twitter. Metti il segno di spunta per modificare le impostazioni."
511
 
512
- #: wp-to-twitter-manager.php:595
513
  msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
514
  msgstr "Invio degli aggiornamenti di Twitter via punti di pubblicazione remoti (Email o client XMLRPC)"
515
 
516
- #: wp-to-twitter-manager.php:597
517
  msgid "I'm using a plugin to post by email, such as Postie. Only check this if your updates do not work."
518
  msgstr "Sto utilizzando un plugin per pubblicare gli articoli via email (del tipo Postie). Seleziona qualora gli aggiornamenti non funzionassero."
519
 
520
- #: wp-to-twitter-manager.php:601
521
  msgid "Update Twitter when a post is published using QuickPress"
522
  msgstr "Aggiorna Twitter quando un articolo é stato pubblicato via QuickPress"
523
 
524
- #: wp-to-twitter-manager.php:605
525
  msgid "Google Analytics Settings"
526
  msgstr "Impostazioni Google Analytics"
527
 
528
- #: wp-to-twitter-manager.php:606
529
  msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
530
  msgstr "Puoi tracciare la risposta da Twitter utilizzando Google Analytics definendo qui l'identificatore. Puoi definire un identificatore statico oppure uno dinamico. Gli identificatori statici non mutano da post a post mentre quelli dinamici derivano dalle informazioni di maggior rilievo appartenenti a quel post specifico. Gli identificatori dinamici ti permetteranno di analizzare le tue statistiche attraverso una variabile aggiuntiva."
531
 
532
- #: wp-to-twitter-manager.php:610
533
  msgid "Use a Static Identifier with WP-to-Twitter"
534
  msgstr "Utilizza un identificatore statico per WP-to-Twitter"
535
 
536
- #: wp-to-twitter-manager.php:611
537
  msgid "Static Campaign identifier for Google Analytics:"
538
  msgstr "Identificatore statico Google Analytics:"
539
 
540
- #: wp-to-twitter-manager.php:615
541
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
542
  msgstr "Utilizza un identificatore dinamico per Google Analytics e WP-to-Twitter"
543
 
544
- #: wp-to-twitter-manager.php:616
545
  msgid "What dynamic identifier would you like to use?"
546
  msgstr "Quale identificatore dinamico desideri utilizzare?"
547
 
548
- #: wp-to-twitter-manager.php:618
549
  msgid "Category"
550
  msgstr "Categoria"
551
 
552
- #: wp-to-twitter-manager.php:619
553
  msgid "Post ID"
554
  msgstr "ID post"
555
 
556
- #: wp-to-twitter-manager.php:620
557
  msgid "Post Title"
558
  msgstr "Titolo post"
559
 
560
- #: wp-to-twitter-manager.php:621
 
561
  msgid "Author"
562
  msgstr "Autore"
563
 
564
- #: wp-to-twitter-manager.php:626
565
  msgid "Individual Authors"
566
  msgstr "Autori singoli"
567
 
568
- #: wp-to-twitter-manager.php:629
569
  msgid "Authors have individual Twitter accounts"
570
  msgstr "Gli autori hanno degli account personali su Twitter"
571
 
572
- #: wp-to-twitter-manager.php:629
573
- msgid "Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author."
574
- msgstr "Gli autori possono impostare il proprio nome utente nel loro profilo utente. A partire dalla versione 2.2.0, questa funzione non permetterà più agli autori di inviare i propri messaggi ai loro account di Twitter. Potrà essere aggiunto il solo riferimento @ all'autore."
 
 
 
 
575
 
576
- #: wp-to-twitter-manager.php:633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  msgid "Disable Error Messages"
578
  msgstr "Disattiva i messaggi di errore"
579
 
580
- #: wp-to-twitter-manager.php:636
581
  msgid "Disable global URL shortener error messages."
582
  msgstr "Disattiva i messaggi di errore abbreviatore URL globale."
583
 
584
- #: wp-to-twitter-manager.php:640
585
  msgid "Disable global Twitter API error messages."
586
  msgstr "Disattiva i messaggi di errore globali API Twitter."
587
 
588
- #: wp-to-twitter-manager.php:644
589
  msgid "Disable notification to implement OAuth"
590
  msgstr "Disattiva la notifica per implementare OAuth"
591
 
592
- #: wp-to-twitter-manager.php:648
593
  msgid "Get Debugging Data for OAuth Connection"
594
  msgstr "Ottieni i dati di Debugging per la connessione OAuth"
595
 
596
- #: wp-to-twitter-manager.php:654
597
  msgid "Save Advanced WP->Twitter Options"
598
  msgstr "Salva avanzate WP->Opzioni Twitter"
599
 
600
- #: wp-to-twitter-manager.php:668
601
  msgid "Limit Updating Categories"
602
  msgstr "Limite aggiornamento categorie"
603
 
604
- #: wp-to-twitter-manager.php:672
605
- msgid "Select which blog categories will be Tweeted. "
606
- msgstr "Seleziona quali categorie del blog saranno oggetto dei messaggi su Twitter. "
607
 
608
- #: wp-to-twitter-manager.php:675
609
  msgid "<em>Category limits are disabled.</em>"
610
  msgstr "<em>Le limitazioni alle categorie non sono attive.</em>"
611
 
612
- #: wp-to-twitter-manager.php:689
613
  msgid "Check Support"
614
  msgstr "Supporto"
615
 
616
- #: wp-to-twitter-manager.php:689
617
  msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
618
  msgstr "Metti il segno di spunta nel caso in cui il tuo server supportasse le query di <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter</a> per Twitter e per le API per l'abbreviazione degli URL. Questo test invierà a Twitter un aggiornamento dello stato e renderà breve l'URL utilizzando il metodo da te selezionato."
619
 
620
- #: wp-to-twitter-oauth.php:105
621
- #: wp-to-twitter-oauth.php:143
622
  msgid "Connect to Twitter"
623
  msgstr "Collegati a Twitter"
624
 
625
- #: wp-to-twitter-oauth.php:108
626
- msgid "The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter at this time. Note that you will not, at any time, enter you Twitter username or password into WP to Twitter; they are not used in OAuth authentication."
627
- msgstr "La procedura di impostazione della autentificazione OAuth per il tuo sito é piuttosto laboriosa nonché confusa. Comunque, questa é l'unica soluzione disponibile offertaci da Twitter. Ti ricordo che non potrai, mai ed in nessun caso, inserire il tuo nome utente oppure la password in WP to Twitter poiché essi non verranno utilizzati per l'autentificazione OAuth."
628
 
629
- #: wp-to-twitter-oauth.php:111
630
  msgid "1. Register this site as an application on "
631
  msgstr "1. Registra questo sito come una applicazione sulla "
632
 
633
- #: wp-to-twitter-oauth.php:111
634
  msgid "Twitter's application registration page"
635
  msgstr "pagina di registrazione applicazione Twitter"
636
 
637
- #: wp-to-twitter-oauth.php:113
638
  msgid "If you're not currently logged in, use the Twitter username and password which you want associated with this site"
639
  msgstr "Qualora non fossi collegato, utilizza il nome utente e la password che desideri associare a questo sito"
640
 
641
- #: wp-to-twitter-oauth.php:114
642
- msgid "Your Application's Name will be what shows up after \"via\" in your twitter stream; previously, \"WP to Twitter.\" Your application name cannot include the word \"Twitter.\" I suggest using the name of your web site."
643
- msgstr "Il nome della tua applicazione sarà quello che appare dopo \"via\" nel tuo twitter stream; in precedenza, \"WP to Twitter.\" Il nome per la tua applicazione non potrà includere la parola \"Twitter.\" Usa il nome del tuo sito."
644
 
645
- #: wp-to-twitter-oauth.php:115
646
  msgid "Your Application Description can be whatever you want."
647
  msgstr "La descrizione per la tua applicazione é un testo a tua discrezione."
648
 
649
- #: wp-to-twitter-oauth.php:116
650
  msgid "Application Type should be set on "
651
  msgstr "Il tipo di applicazione deve essere impostato a "
652
 
653
- #: wp-to-twitter-oauth.php:116
654
  msgid "Browser"
655
  msgstr "Browser"
656
 
657
- #: wp-to-twitter-oauth.php:117
658
  msgid "The Callback URL should be "
659
  msgstr "Il Callback URL dovrebbe essere "
660
 
661
- #: wp-to-twitter-oauth.php:118
662
  msgid "Default Access type must be set to "
663
  msgstr "Il tipo di accesso predefinito deve essere impostato a "
664
 
665
- #: wp-to-twitter-oauth.php:118
666
  msgid "Read &amp; Write"
667
  msgstr "Leggi &amp; Scrivi"
668
 
669
- #: wp-to-twitter-oauth.php:118
670
  msgid "(this is NOT the default)"
671
  msgstr "(questo NON é il predefinito)"
672
 
673
- #: wp-to-twitter-oauth.php:120
674
  msgid "Once you have registered your site as an application, you will be provided with a consumer key and a consumer secret."
675
  msgstr "Una volta registrato il tuo sito come applicazione, ti verranno forniti una consumer key ed un consumer secret."
676
 
677
- #: wp-to-twitter-oauth.php:121
678
  msgid "2. Copy and paste your consumer key and consumer secret into the fields below"
679
  msgstr "2. Copia ed incolla nei campi qui sotto la tua consumer key ed il consumer secret"
680
 
681
- #: wp-to-twitter-oauth.php:124
682
  msgid "Twitter Consumer Key"
683
  msgstr "Twitter Consumer Key"
684
 
685
- #: wp-to-twitter-oauth.php:128
686
  msgid "Twitter Consumer Secret"
687
  msgstr "Twitter Consumer Secret"
688
 
689
- #: wp-to-twitter-oauth.php:131
690
  msgid "3. Copy and paste your Access Token and Access Token Secret into the fields below"
691
  msgstr "3. Copia ed incolla nei campi qui sotto il tuo token di accesso e secret"
692
 
693
- #: wp-to-twitter-oauth.php:132
694
- msgid "On the right hand side of your application page, click on 'My Access Token'."
695
  msgstr "Clicca su 'My Access Token' posizionato alla destra della pagina della applicazione."
696
 
697
- #: wp-to-twitter-oauth.php:134
698
  msgid "Access Token"
699
  msgstr "Token d'accesso"
700
 
701
- #: wp-to-twitter-oauth.php:138
702
  msgid "Access Token Secret"
703
  msgstr "Token d'accesso - Secret"
704
 
705
- #: wp-to-twitter-oauth.php:153
706
  msgid "Disconnect from Twitter"
707
  msgstr "Disconnettiti da Twitter"
708
 
709
- #: wp-to-twitter-oauth.php:160
710
  msgid "Twitter Username "
711
  msgstr "Nome utente Twitter"
712
 
713
- #: wp-to-twitter-oauth.php:161
714
  msgid "Consumer Key "
715
  msgstr "Consumer Key "
716
 
717
- #: wp-to-twitter-oauth.php:162
718
  msgid "Consumer Secret "
719
  msgstr "Consumer Secret "
720
 
721
- #: wp-to-twitter-oauth.php:163
722
  msgid "Access Token "
723
  msgstr "Token d'accesso"
724
 
725
- #: wp-to-twitter-oauth.php:164
726
  msgid "Access Token Secret "
727
  msgstr "Token d'accesso - Secret"
728
 
729
- #: wp-to-twitter-oauth.php:167
730
  msgid "Disconnect Your WordPress and Twitter Account"
731
  msgstr "Scollega il tuo account WordPress e Twitter"
732
 
733
- #: wp-to-twitter.php:55
 
 
 
 
 
 
 
 
734
  #, php-format
735
  msgid "Twitter now requires authentication by OAuth. You will need you to update your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
736
  msgstr "Twitter necessita una autentificazione via OAuth. Aggiorna le tue <a href=\"%s\">impostazioni</a> per potere utilizzare ancora WP to Twitter."
737
 
738
- #: wp-to-twitter.php:136
739
  msgid "200 OK: Success!"
740
  msgstr "200 OK: Successo!"
741
 
742
- #: wp-to-twitter.php:139
743
  msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
744
  msgstr "400 Bad Request: La richiesta non é valida. L'utilizzo di questo codice é relativo al limite delle chiamate."
745
 
746
- #: wp-to-twitter.php:142
747
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
748
  msgstr "401 Unauthorized: quando mancano oppure sono inesatte le credenziali per l'autentificazione."
749
 
750
- #: wp-to-twitter.php:145
751
- msgid "403 Forbidden: The request is understood, but it has been refused. This code is used when requests are being denied due to update limits."
752
- msgstr "403 Forbidden: La richiesta é stata compresa, ma viene rifiutata. L'utilizzo di questo codice indica che le richieste vengono rifiutate in relazione ai limiti di aggiornamento."
753
 
754
- #: wp-to-twitter.php:147
755
  msgid "500 Internal Server Error: Something is broken at Twitter."
756
  msgstr "500 Internal Server Error: problemi interni a Twitter."
757
 
758
- #: wp-to-twitter.php:150
759
  msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
760
  msgstr "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
761
 
762
- #: wp-to-twitter.php:153
763
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
764
  msgstr "502 Bad Gateway: Twitter é down oppure sotto aggiornamento."
765
 
766
- #. #-#-#-#-# plugin.pot (WP to Twitter 2.2.0 (beta 7)) #-#-#-#-#
767
- #. Plugin Name of the plugin/theme
768
- #: wp-to-twitter.php:732
769
  msgid "WP to Twitter"
770
  msgstr "WP to Twitter"
771
 
772
- #: wp-to-twitter.php:808
 
 
 
 
773
  msgid "Don't Tweet this post."
774
  msgstr "Non segnalare a Twitter questo articolo."
775
 
776
- #: wp-to-twitter.php:818
777
  msgid "This URL is direct and has not been shortened: "
778
  msgstr "Questo URL é diretto e non può essere abbreviato: "
779
 
780
- #: wp-to-twitter.php:872
781
  msgid "WP to Twitter User Settings"
782
  msgstr "Impostazioni WP to Twitter User"
783
 
784
- #: wp-to-twitter.php:876
785
  msgid "Use My Twitter Username"
786
  msgstr "Utilizza il mio nome utente Twitter"
787
 
788
- #: wp-to-twitter.php:877
789
  msgid "Tweet my posts with an @ reference to my username."
790
  msgstr "Segnala i miei articoli con un riferimento @ correlato al mio nome utente."
791
 
792
- #: wp-to-twitter.php:878
793
  msgid "Tweet my posts with an @ reference to both my username and to the main site username."
794
  msgstr "Segnala i miei articoli con un riferimento @ correlato tanto al mio nome utente per il sito principale quanto al mio nome utente."
795
 
796
- #: wp-to-twitter.php:883
 
 
 
 
797
  msgid "Enter your own Twitter username."
798
  msgstr "Inserisci il tuo nome utente Twitter"
799
 
800
- #: wp-to-twitter.php:919
801
  msgid "Check the categories you want to tweet:"
802
  msgstr "Seleziona le gategorie per i messaggi:"
803
 
804
- #: wp-to-twitter.php:936
805
  msgid "Set Categories"
806
  msgstr "Imposta le categorie"
807
 
808
- #: wp-to-twitter.php:1010
809
  msgid "<p>Couldn't locate the settings page.</p>"
810
  msgstr "<p>Non é possibile localizzare la pagina delle impostazioni.</p>"
811
 
812
- #: wp-to-twitter.php:1015
813
  msgid "Settings"
814
  msgstr "Impostazioni"
815
 
816
- #. Plugin URI of the plugin/theme
817
- msgid "http://www.joedolson.com/articles/wp-to-twitter/"
818
- msgstr "http://www.joedolson.com/articles/wp-to-twitter/"
 
 
819
 
820
- #. Description of the plugin/theme
821
- 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."
822
- msgstr "Aggiorna Twitter quando crei un nuovo articolo oppure aggiungi al tuo blogroll utilizzando Cli.gs. Con una chiave API Cli.gs, crea un clig nel tuo account di Cli.gs con il nome del tuo articolo come titolo."
823
 
824
- #. Author of the plugin/theme
825
- msgid "Joseph Dolson"
826
- msgstr "Joseph Dolson"
827
 
828
- #. Author URI of the plugin/theme
829
- msgid "http://www.joedolson.com/"
830
- msgstr "http://www.joedolson.com/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
831
 
832
  #~ msgid "Non-Twitter login and password updated. "
833
  #~ msgstr "Il login e la password Non-Twitter sono stati aggiornati."
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: WP to Twitter in italiano\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-04-13 00:56+0100\n"
11
+ "PO-Revision-Date: 2011-04-13 08:31+0100\n"
12
  "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
+ "Language-Team: Gianni Diurno | gidibao.net\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "X-Poedit-Language: Italian\n"
18
  "X-Poedit-Country: ITALY\n"
19
  "X-Poedit-KeywordsList: __;_e\n"
20
+ "X-Poedit-Basepath: ../\n"
21
+ "X-Poedit-SourceCharset: utf-8\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
 
24
+ #: wp-to-twitter/functions.php:193
25
  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."
26
  msgstr "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Nascondi</a>] Qualora avessi riscontrato dei problemi, allega queste impostazioni alle richieste di supporto."
27
 
28
+ #: wp-to-twitter/wp-to-twitter-manager.php:76
29
  msgid "WP to Twitter is now connected with Twitter."
30
  msgstr "WP to Twitter é ora connesso a Twitter."
31
 
32
+ #: wp-to-twitter/wp-to-twitter-manager.php:86
 
 
 
 
33
  msgid "OAuth Authentication Data Cleared."
34
  msgstr "I dati della autentificazione OAuth sono stati svuotati."
35
 
36
+ #: wp-to-twitter/wp-to-twitter-manager.php:93
37
+ msgid "OAuth Authentication Failed. Your server time is not in sync with the Twitter servers. Talk to your hosting service to see what can be done."
38
+ msgstr "Autentificazione OAuth fallita. L'ora del tuo sever non é sicronizzata con i server di Twitter. Comunica il problema al tuo fornitore di hosting."
39
+
40
+ #: wp-to-twitter/wp-to-twitter-manager.php:100
41
+ msgid "OAuth Authentication response not understood."
42
+ msgstr "Risposta Autentificazione OAuth non valida."
43
+
44
+ #: wp-to-twitter/wp-to-twitter-manager.php:109
45
  msgid "WP to Twitter Errors Cleared"
46
  msgstr "Gli errori WP to Twitter sono stati azzerati"
47
 
48
+ #: wp-to-twitter/wp-to-twitter-manager.php:116
49
  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! "
50
  msgstr "Non é stato possibile contattare i server di Twitter per comunicare l'aggiornamento avvenuto. Il tuo messaggio é stato inserito in un campo personalizzato in allegato all'articolo in modo tale che tu possa compiere manualmente l'operazione!"
51
 
52
+ #: wp-to-twitter/wp-to-twitter-manager.php:118
53
  msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
54
  msgstr "Non é stato possibile contattare i server di Twitter per comunicare il tuo <strong>nuovo link</strong>. Prova a compiere manualmente l'operazione."
55
 
56
+ #: wp-to-twitter/wp-to-twitter-manager.php:156
57
  msgid "WP to Twitter Advanced Options Updated"
58
  msgstr "Le opzioni avanzate di WP to Twitter sono state aggiornate"
59
 
60
+ #: wp-to-twitter/wp-to-twitter-manager.php:173
61
  msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
62
  msgstr "E' necessario che tu inserisca i dati per il login e la chiave API di Bit.ly in modo da potere abbreviare gli URL con Bit.ly."
63
 
64
+ #: wp-to-twitter/wp-to-twitter-manager.php:177
65
  msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
66
  msgstr "E' necessario che tu inserisca il tuo URL remoto a YOURLS, il login e la password in modo da potere abbreviare gli URL attraverso la tua installazione remota di YOURLS."
67
 
68
+ #: wp-to-twitter/wp-to-twitter-manager.php:181
69
  msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
70
  msgstr "E' necessario che tu inserisca il percorso al server del tuo YOURLS in modo da potere abbreviare gli URL attraverso la tua installazione remota di YOURLS."
71
 
72
+ #: wp-to-twitter/wp-to-twitter-manager.php:185
73
  msgid "WP to Twitter Options Updated"
74
  msgstr "Le opzioni di WP to Twitter sono state aggiornate"
75
 
76
+ #: wp-to-twitter/wp-to-twitter-manager.php:195
77
  msgid "Category limits updated."
78
  msgstr "I limiti per la categoria sono stati aggiornati."
79
 
80
+ #: wp-to-twitter/wp-to-twitter-manager.php:199
81
  msgid "Category limits unset."
82
  msgstr "Le limitazioni alle categorie non sono state impostate."
83
 
84
+ #: wp-to-twitter/wp-to-twitter-manager.php:207
85
  msgid "YOURLS password updated. "
86
  msgstr "La password di YOURLS é stata aggiornata."
87
 
88
+ #: wp-to-twitter/wp-to-twitter-manager.php:210
89
  msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
90
  msgstr "La tua password di YOURLS é stata cancellata. Non potrai utilizzare il tuo account remoto YOURLS per la creazione di URL brevi."
91
 
92
+ #: wp-to-twitter/wp-to-twitter-manager.php:212
93
  msgid "Failed to save your YOURLS password! "
94
  msgstr "Non é stato possibile salvare la tua password di YOURLS!"
95
 
96
+ #: wp-to-twitter/wp-to-twitter-manager.php:216
97
  msgid "YOURLS username added. "
98
  msgstr "Il nome utente YOURLS é stato aggiunto."
99
 
100
+ #: wp-to-twitter/wp-to-twitter-manager.php:220
101
  msgid "YOURLS API url added. "
102
  msgstr "L'url alla API YOURLS é stato aggiunto. "
103
 
104
+ #: wp-to-twitter/wp-to-twitter-manager.php:223
105
  msgid "YOURLS API url removed. "
106
  msgstr "L'url alla API YOURLS é stato rimosso. "
107
 
108
+ #: wp-to-twitter/wp-to-twitter-manager.php:228
109
  msgid "YOURLS local server path added. "
110
  msgstr "Il percorso al server locale di YOURLS é stato aggiunto. "
111
 
112
+ #: wp-to-twitter/wp-to-twitter-manager.php:230
113
  msgid "The path to your YOURLS installation is not correct. "
114
  msgstr "Il percorso alla tua installazione di YOURLS non é corretto. "
115
 
116
+ #: wp-to-twitter/wp-to-twitter-manager.php:234
117
  msgid "YOURLS local server path removed. "
118
  msgstr "Il percorso al server locale di YOURLS é stato rimosso. "
119
 
120
+ #: wp-to-twitter/wp-to-twitter-manager.php:238
121
  msgid "YOURLS will use Post ID for short URL slug."
122
  msgstr "YOURLS utilizzerà Post ID per lo slug degli URL brevi."
123
 
124
+ #: wp-to-twitter/wp-to-twitter-manager.php:241
125
  msgid "YOURLS will not use Post ID for the short URL slug."
126
  msgstr "YOURLS non utilizzerà Post ID per lo slug degli URL brevi."
127
 
128
+ #: wp-to-twitter/wp-to-twitter-manager.php:249
129
+ msgid "Su.pr API Key and Username Updated"
130
+ msgstr "La chiave API ed il nome utente di Su.pr sono stati aggiornati"
131
 
132
+ #: wp-to-twitter/wp-to-twitter-manager.php:253
133
+ msgid "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. "
134
+ msgstr "La chiave API ed il nome utente di Su.pr sono stati cancellati. Gli URL di Su.pr creati da WP to Twitter non saranno più associati al tuo account. "
135
 
136
+ #: wp-to-twitter/wp-to-twitter-manager.php:255
137
+ msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
138
+ msgstr "Non é stata inserita la chiave API di Su.pr - <a href='http://su.pr/'>vai qui</a>! "
139
 
140
+ #: wp-to-twitter/wp-to-twitter-manager.php:261
141
  msgid "Bit.ly API Key Updated."
142
  msgstr "La chiave API di Bit.ly é stata aggiornata."
143
 
144
+ #: wp-to-twitter/wp-to-twitter-manager.php:264
145
  msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
146
  msgstr "La chiave API di Bit.ly é stata cancellata. Non puoi utilizzare la API di Bit.ly senza la chiave API. "
147
 
148
+ #: wp-to-twitter/wp-to-twitter-manager.php:266
149
  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."
150
  msgstr "La chiave API di Bit.ly non é stata aggiunta - <a href='http://bit.ly/account/'>vai qui</a>! E' necessaria una chiave API affinché il servizio di URL brevi Bit.ly di possa funzionare."
151
 
152
+ #: wp-to-twitter/wp-to-twitter-manager.php:270
153
  msgid " Bit.ly User Login Updated."
154
  msgstr " Il login utente per Bit.ly é stato aggiornato."
155
 
156
+ #: wp-to-twitter/wp-to-twitter-manager.php:273
157
  msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
158
  msgstr "Sono stati cancellati i dati per il login utente Bit.ly. Non puoi utilizzare la API di Bit.ly senza fornire il tuo nome utente. "
159
 
160
+ #: wp-to-twitter/wp-to-twitter-manager.php:275
161
  msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
162
  msgstr "Non sono stati inseriti i dati per il login a Bit.ly - <a href='http://bit.ly/account/'>vai qui</a>! "
163
 
164
+ #: wp-to-twitter/wp-to-twitter-manager.php:304
165
  msgid "No error information is available for your shortener."
166
  msgstr "Nessuna informazione di errore disponibile per il tuo abbreviatore."
167
 
168
+ #: wp-to-twitter/wp-to-twitter-manager.php:306
169
  msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
170
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di contattare il servizio per gli URL brevi da te selezionato.</strong></li>"
171
 
172
+ #: wp-to-twitter/wp-to-twitter-manager.php:309
173
  msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
174
  msgstr "<li><strong>WP to Twitter ha contattato con successo il servizio per gli URL brevi da te selezionato.</strong> Il seguente link dovrebbe puntare alla homepage del tuo blog:"
175
 
176
+ #: wp-to-twitter/wp-to-twitter-manager.php:318
177
  msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
178
  msgstr "<li><strong>WP to Twitter ha inviato con successo l'aggiornamento dello stato a Twitter.</strong></li>"
179
 
180
+ #: wp-to-twitter/wp-to-twitter-manager.php:321
181
  msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
182
  msgstr "<li class=\"error\"><strong>WP to Twitter non é stato in grado di inviare l'aggiornamento a Twitter.</strong></li>"
183
 
184
+ #: wp-to-twitter/wp-to-twitter-manager.php:325
185
  msgid "You have not connected WordPress to Twitter."
186
  msgstr "Non hai connesso WordPress a Twitter."
187
 
188
+ #: wp-to-twitter/wp-to-twitter-manager.php:329
189
  msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
190
  msgstr "<li class=\"error\"><strong>Pare che il tuo server non supporti le funzioni richieste affinché WP to Twitter possa funzionare correttamente.</strong> Puoi comunque provare ugualmente - queste verifiche non sono perfette - garantisco i risultati.</li>"
191
 
192
+ #: wp-to-twitter/wp-to-twitter-manager.php:333
193
  msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
194
  msgstr "<li><strong>WP to Twitter funziona correttamente per il tuo server.</strong></li>"
195
 
196
+ #: wp-to-twitter/wp-to-twitter-manager.php:350
197
  msgid "WP to Twitter Options"
198
  msgstr "Opzioni WP to Twitter"
199
 
200
+ #: wp-to-twitter/wp-to-twitter-manager.php:360
201
+ msgid "Pledge to new features"
202
+ msgstr "Nuove funzioni in arrivo"
 
 
 
 
 
203
 
204
+ #: wp-to-twitter/wp-to-twitter-manager.php:360
205
+ #: wp-to-twitter/wp-to-twitter.php:874
206
  msgid "Make a Donation"
207
  msgstr "Effettua una donazione"
208
 
209
+ #: wp-to-twitter/wp-to-twitter-manager.php:363
210
+ msgid "View Settings"
211
+ msgstr "Visualizza impostazioni"
212
+
213
+ #: wp-to-twitter/wp-to-twitter-manager.php:363
214
+ #: wp-to-twitter/wp-to-twitter.php:874
215
+ msgid "Get Support"
216
+ msgstr "Supporto"
217
+
218
+ #: wp-to-twitter/wp-to-twitter-manager.php:378
219
  msgid "Shortcodes available in post update templates:"
220
  msgstr "Shortcode disponibili nei template aggiornamento post:"
221
 
222
+ #: wp-to-twitter/wp-to-twitter-manager.php:380
223
  msgid "<code>#title#</code>: the title of your blog post"
224
  msgstr "<code>#title#</code>: il titolo del tuo post"
225
 
226
+ #: wp-to-twitter/wp-to-twitter-manager.php:381
227
  msgid "<code>#blog#</code>: the title of your blog"
228
  msgstr "<code>#blog#</code>: il titolo del tuo blog"
229
 
230
+ #: wp-to-twitter/wp-to-twitter-manager.php:382
231
  msgid "<code>#post#</code>: a short excerpt of the post content"
232
  msgstr "<code>#post#</code>: un breve riassunto dei contenuti del post"
233
 
234
+ #: wp-to-twitter/wp-to-twitter-manager.php:383
235
  msgid "<code>#category#</code>: the first selected category for the post"
236
  msgstr "<code>#category#</code>: la prima categoria selezionata per il post"
237
 
238
+ #: wp-to-twitter/wp-to-twitter-manager.php:384
239
  msgid "<code>#date#</code>: the post date"
240
  msgstr "<code>#date#</code>: la data del post"
241
 
242
+ #: wp-to-twitter/wp-to-twitter-manager.php:385
243
  msgid "<code>#url#</code>: the post URL"
244
  msgstr "<code>#url#</code>: l'URL del post"
245
 
246
+ #: wp-to-twitter/wp-to-twitter-manager.php:386
247
  msgid "<code>#author#</code>: the post author"
248
  msgstr "<code>#author#</code>: l'autore del post"
249
 
250
+ #: wp-to-twitter/wp-to-twitter-manager.php:387
251
+ msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
252
+ msgstr "<code>#account#</code>: il riferimento Twitter @ per l'account (o per l'autore, previa attivazione ed impostazione.)"
253
+
254
+ #: wp-to-twitter/wp-to-twitter-manager.php:389
255
  msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
256
  msgstr "Hai la possibilità di potere creare degli shortcode personalizzati grazie ai campi personalizzati di WordPress. Utilizza le doppie parentesi quadre per avvolgere il nome del tuo campo personalizzato per aggiungere il valore di quel dato campo al tuo stato di aggiornamento. Esempio: <code>[[custom_field]]</code></p>"
257
 
258
+ #: wp-to-twitter/wp-to-twitter-manager.php:394
259
  msgid "<p>One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.</p>"
260
  msgstr "<p>Uno o più dei tuoi articoli recenti non é stato in grado di comunicare l'aggiornamento a Twitter. Il tuo messaggio é stato inserito nei dati meta del campo personalizzato del tuo articolo in modo tale che tu possa ripetere l'operazione a tuo piacere.</p>"
261
 
262
+ #: wp-to-twitter/wp-to-twitter-manager.php:398
263
+ msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://www.stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
264
+ msgstr "<p>La richiesta alla API é fallita! Non essendo stato possibile abbreviare l'URL abbiamo utilizzato per il messaggio l'URL completo. Verifica la documentazione in merito presso il tuo provider di URL brevi. [<a href=\"http://www.stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
265
 
266
+ #: wp-to-twitter/wp-to-twitter-manager.php:405
267
  msgid "Clear 'WP to Twitter' Error Messages"
268
  msgstr "Svuota i messaggiodi errore 'WP to Twitter'"
269
 
270
+ #: wp-to-twitter/wp-to-twitter-manager.php:418
271
  msgid "Basic Settings"
272
  msgstr "Impostazioni di base"
273
 
274
+ #: wp-to-twitter/wp-to-twitter-manager.php:424
275
  msgid "Tweet Templates"
276
  msgstr "Template messaggio"
277
 
278
+ #: wp-to-twitter/wp-to-twitter-manager.php:427
279
  msgid "Update when a post is published"
280
  msgstr "Aggiorna quando viene pubblicato un articolo"
281
 
282
+ #: wp-to-twitter/wp-to-twitter-manager.php:427
283
  msgid "Text for new post updates:"
284
  msgstr "Testo per aggiornamenti articolo:"
285
 
286
+ #: wp-to-twitter/wp-to-twitter-manager.php:433
287
+ #: wp-to-twitter/wp-to-twitter-manager.php:436
288
  msgid "Update when a post is edited"
289
  msgstr "Aggiorna quando modifichi un articolo"
290
 
291
+ #: wp-to-twitter/wp-to-twitter-manager.php:433
292
+ #: wp-to-twitter/wp-to-twitter-manager.php:436
293
  msgid "Text for editing updates:"
294
  msgstr "Testo per aggiornamenti modifiche:"
295
 
296
+ #: wp-to-twitter/wp-to-twitter-manager.php:437
297
  msgid "You can not disable updates on edits when using Postie or similar plugins."
298
  msgstr "Non potrai disattivare gli aggiornamenti durante l'utilizzo di Postie o plugin simili."
299
 
300
+ #: wp-to-twitter/wp-to-twitter-manager.php:441
301
  msgid "Update Twitter when new Wordpress Pages are published"
302
  msgstr "Aggiorna Twitter quando viene pubblicata una nuova pagina WordPress"
303
 
304
+ #: wp-to-twitter/wp-to-twitter-manager.php:441
305
  msgid "Text for new page updates:"
306
  msgstr "Testo per aggiornamenti articolo:"
307
 
308
+ #: wp-to-twitter/wp-to-twitter-manager.php:445
309
  msgid "Update Twitter when WordPress Pages are edited"
310
  msgstr "Aggiorna Twitter quando viene modificata una pagina WordPress"
311
 
312
+ #: wp-to-twitter/wp-to-twitter-manager.php:445
313
  msgid "Text for page edit updates:"
314
  msgstr "Testo per la pagina di modifica aggiornamenti:"
315
 
316
+ #: wp-to-twitter/wp-to-twitter-manager.php:449
317
  msgid "Update Twitter when you post a Blogroll link"
318
  msgstr "Aggiorna Twitter quando viene aggiunto un nuovo link al blogroll"
319
 
320
+ #: wp-to-twitter/wp-to-twitter-manager.php:450
321
  msgid "Text for new link updates:"
322
  msgstr "Testo per gli aggiornamenti di un nuovo link:"
323
 
324
+ #: wp-to-twitter/wp-to-twitter-manager.php:450
325
  msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
326
  msgstr "Shortcode disponibili: <code>#url#</code>, <code>#title#</code> e <code>#description#</code>."
327
 
328
+ #: wp-to-twitter/wp-to-twitter-manager.php:454
329
  msgid "Choose your short URL service (account settings below)"
330
  msgstr "Scegli il tuo servizio per gli URL brevi (impostazioni account qui sotto)"
331
 
332
+ #: wp-to-twitter/wp-to-twitter-manager.php:457
333
+ msgid "Don't shorten URLs."
334
+ msgstr "Non usare gli URL brevi"
335
 
336
+ #: wp-to-twitter/wp-to-twitter-manager.php:458
337
+ msgid "Use Su.pr for my URL shortener."
338
+ msgstr "Usa Su.pr per creare gli URL brevi."
339
+
340
+ #: wp-to-twitter/wp-to-twitter-manager.php:459
341
  msgid "Use Bit.ly for my URL shortener."
342
  msgstr "Usa Bit.ly per gli URL brevi"
343
 
344
+ #: wp-to-twitter/wp-to-twitter-manager.php:460
345
  msgid "YOURLS (installed on this server)"
346
  msgstr "YOURLS (intallato in questo server)"
347
 
348
+ #: wp-to-twitter/wp-to-twitter-manager.php:461
349
  msgid "YOURLS (installed on a remote server)"
350
  msgstr "YOURLS (intallato in un server remoto)"
351
 
352
+ #: wp-to-twitter/wp-to-twitter-manager.php:462
353
  msgid "Use WordPress as a URL shortener."
354
  msgstr "Usa WordPress per gli URL brevi."
355
 
356
+ #: wp-to-twitter/wp-to-twitter-manager.php:464
 
 
 
 
357
  msgid "Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs."
358
  msgstr "L'utilizzo di WordPress per la creazione di URL brevi farà sì che verranno inviati a Twitter gli URL nel formato predefinito di WordPress: <code>http://domain.com/wpdir/?p=123</code> . Google Analytics non sarà disponibile durante l'utilizzo di WordPress per la creazione di URL brevi."
359
 
360
+ #: wp-to-twitter/wp-to-twitter-manager.php:470
361
  msgid "Save WP->Twitter Options"
362
  msgstr "Salva le opzioni WP->Twitter"
363
 
364
+ #: wp-to-twitter/wp-to-twitter-manager.php:479
365
  msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
366
  msgstr "Impostazione account abbreviatore <abbr title=\"Uniform Resource Locator\">URL</abbr>"
367
 
368
+ #: wp-to-twitter/wp-to-twitter-manager.php:483
369
+ msgid "Your Su.pr account details"
370
+ msgstr "Dati account Su.pr"
371
+
372
+ #: wp-to-twitter/wp-to-twitter-manager.php:488
373
+ msgid "Your Su.pr Username:"
374
+ msgstr "Nome utente Su.pr:"
375
 
376
+ #: wp-to-twitter/wp-to-twitter-manager.php:492
377
+ msgid "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
378
+ msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Su.pr:"
379
 
380
+ #: wp-to-twitter/wp-to-twitter-manager.php:498
381
+ msgid "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</a>!<br />You'll need an API key in order to associate the URLs you create with your Su.pr account."
382
+ msgstr "Non hai ancora un account oppure una chiave API Su.pr? <a href='http://su.pr/'>Vai qui</a>!<br />E' necessaria una chiave API in modo tale da potere associare gli URL da te creati con il tuo account di Su.pr."
383
 
384
+ #: wp-to-twitter/wp-to-twitter-manager.php:504
385
  msgid "Your Bit.ly account details"
386
  msgstr "Dati account Bit.ly"
387
 
388
+ #: wp-to-twitter/wp-to-twitter-manager.php:509
389
  msgid "Your Bit.ly username:"
390
  msgstr "Nome utente Bit.ly:"
391
 
392
+ #: wp-to-twitter/wp-to-twitter-manager.php:513
393
  msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
394
  msgstr "La tua chiave <abbr title='application programming interface'>API</abbr> di Bit.ly:"
395
 
396
+ #: wp-to-twitter/wp-to-twitter-manager.php:520
397
  msgid "Save Bit.ly API Key"
398
  msgstr "Salva la chiave API di Bit.ly"
399
 
400
+ #: wp-to-twitter/wp-to-twitter-manager.php:520
401
  msgid "Clear Bit.ly API Key"
402
  msgstr "Svuota la chiave API di Bit.ly"
403
 
404
+ #: wp-to-twitter/wp-to-twitter-manager.php:520
405
  msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
406
+ msgstr "E' necessario il nome utente e la chiave API di Bit.ly per potere rendere brevi gli URL via la API di Bit.ly e WP to Twitter."
407
 
408
+ #: wp-to-twitter/wp-to-twitter-manager.php:525
409
  msgid "Your YOURLS account details"
410
  msgstr "I dettagli del tuo account YOURLS"
411
 
412
+ #: wp-to-twitter/wp-to-twitter-manager.php:529
413
+ msgid "Path to your YOURLS config file (Local installations)"
414
+ msgstr "Percorso al file di configurazione YOURLS (installazioni locali)"
415
 
416
+ #: wp-to-twitter/wp-to-twitter-manager.php:530
417
+ #: wp-to-twitter/wp-to-twitter-manager.php:534
418
  msgid "Example:"
419
  msgstr "Esempio:"
420
 
421
+ #: wp-to-twitter/wp-to-twitter-manager.php:533
422
  msgid "URI to the YOURLS API (Remote installations)"
423
  msgstr "URI alla API di YOURLS (installazioni remote)"
424
 
425
+ #: wp-to-twitter/wp-to-twitter-manager.php:537
426
  msgid "Your YOURLS username:"
427
  msgstr "Nome utente YOURLS:"
428
 
429
+ #: wp-to-twitter/wp-to-twitter-manager.php:541
430
  msgid "Your YOURLS password:"
431
  msgstr "Password YOURLS:"
432
 
433
+ #: wp-to-twitter/wp-to-twitter-manager.php:541
434
  msgid "<em>Saved</em>"
435
  msgstr "<em>Salvato</em>"
436
 
437
+ #: wp-to-twitter/wp-to-twitter-manager.php:545
438
  msgid "Use Post ID for YOURLS url slug."
439
  msgstr "Utilizza Post ID per lo slug degli url di YOURLS."
440
 
441
+ #: wp-to-twitter/wp-to-twitter-manager.php:550
442
  msgid "Save YOURLS Account Info"
443
  msgstr "Salva le info account di YOURLS"
444
 
445
+ #: wp-to-twitter/wp-to-twitter-manager.php:550
446
  msgid "Clear YOURLS password"
447
  msgstr "Svuota la password di YOURLS"
448
 
449
+ #: wp-to-twitter/wp-to-twitter-manager.php:550
450
  msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
451
  msgstr "E' necessario il nome utente e la password di affinché possano essere abbreviati gli URL via l'API remoto di YOURLS e di WP to Twitter."
452
 
453
+ #: wp-to-twitter/wp-to-twitter-manager.php:562
454
  msgid "Advanced Settings"
455
  msgstr "Impostazioni avanzate"
456
 
457
+ #: wp-to-twitter/wp-to-twitter-manager.php:569
458
  msgid "Advanced Tweet settings"
459
  msgstr "Opzioni messaggio avanzate"
460
 
461
+ #: wp-to-twitter/wp-to-twitter-manager.php:571
462
  msgid "Add tags as hashtags on Tweets"
463
  msgstr "Aggiungi ai messaggi i tag come fossero degli hashtag "
464
 
465
+ #: wp-to-twitter/wp-to-twitter-manager.php:571
466
+ msgid "Strip nonalphanumeric characters"
467
+ msgstr "Rimuovi caratteri non alfanumerici"
468
+
469
+ #: wp-to-twitter/wp-to-twitter-manager.php:572
470
  msgid "Spaces replaced with:"
471
  msgstr "Sostituisci gli spazi con:"
472
 
473
+ #: wp-to-twitter/wp-to-twitter-manager.php:574
474
  msgid "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely."
475
  msgstr "Il sostituto predefinito é un trattino breve (<code>_</code>). Usa <code>[ ]</code> per rimuovere gli spazi completamente."
476
 
477
+ #: wp-to-twitter/wp-to-twitter-manager.php:577
478
  msgid "Maximum number of tags to include:"
479
  msgstr "Numero massimo di tag da includere:"
480
 
481
+ #: wp-to-twitter/wp-to-twitter-manager.php:578
482
  msgid "Maximum length in characters for included tags:"
483
  msgstr "Lunghezza massima in caratteri per i tag inclusi:"
484
 
485
+ #: wp-to-twitter/wp-to-twitter-manager.php:579
486
  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."
487
  msgstr "Queste opzioni ti permetteranno di limitare la lunghezza ed il numero dei tag WordPress inviati a Twitter come hashtags. Imposta a <code>0</code> oppure lascia in bianco per permettere ogni tag."
488
 
489
+ #: wp-to-twitter/wp-to-twitter-manager.php:582
490
  msgid "Length of post excerpt (in characters):"
491
  msgstr "Lunghezza riassunto messaggi (in caratteri)"
492
 
493
+ #: wp-to-twitter/wp-to-twitter-manager.php:582
494
  msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead."
495
  msgstr "Come funzione predefinita, gli estratti verranno generati in automatico. Utilizzassi il campo 'Excerpt', questi avrà la priorità."
496
 
497
+ #: wp-to-twitter/wp-to-twitter-manager.php:585
498
  msgid "WP to Twitter Date Formatting:"
499
  msgstr "Formattazione data WP to Twitter:"
500
 
501
+ #: wp-to-twitter/wp-to-twitter-manager.php:586
502
  msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
503
  msgstr "Predefinito dalle impostazioni generali. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Info formattazione data</a>."
504
 
505
+ #: wp-to-twitter/wp-to-twitter-manager.php:590
506
  msgid "Custom text before all Tweets:"
507
  msgstr "Testo personalizzato prima di tutti i messaggi:"
508
 
509
+ #: wp-to-twitter/wp-to-twitter-manager.php:591
510
  msgid "Custom text after all Tweets:"
511
  msgstr "Testo personalizzato dopo tutti i messaggi:"
512
 
513
+ #: wp-to-twitter/wp-to-twitter-manager.php:594
514
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
515
  msgstr "Campo personalizzato riferito ad un URL alternativo da abbreviare ed inviare a Twitter:"
516
 
517
+ #: wp-to-twitter/wp-to-twitter-manager.php:595
518
  msgid "You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL."
519
  msgstr "Puoi utilizzare un campo personalizzato per inviare un URL alternativo per il tuo articolo. Questo valore é il nome del campo personalizzato che utilizzerai per aggiungere un URL esterno."
520
 
521
+ #: wp-to-twitter/wp-to-twitter-manager.php:599
522
  msgid "Special Cases when WordPress should send a Tweet"
523
  msgstr "Casi particolari nei quali WordPress dovrebbe inviare un messaggio"
524
 
525
+ #: wp-to-twitter/wp-to-twitter-manager.php:602
526
  msgid "Do not post status updates by default"
527
  msgstr "Non aggiornare lo stato dei post (predefinito)"
528
 
529
+ #: wp-to-twitter/wp-to-twitter-manager.php:603
530
  msgid "By default, all posts meeting other requirements will be posted to Twitter. Check this to change your setting."
531
  msgstr "Come funzione predefinita, tutti i post che soddisfano i requisiti saranno pubblicati su Twitter. Metti il segno di spunta per modificare le impostazioni."
532
 
533
+ #: wp-to-twitter/wp-to-twitter-manager.php:607
534
  msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
535
  msgstr "Invio degli aggiornamenti di Twitter via punti di pubblicazione remoti (Email o client XMLRPC)"
536
 
537
+ #: wp-to-twitter/wp-to-twitter-manager.php:609
538
  msgid "I'm using a plugin to post by email, such as Postie. Only check this if your updates do not work."
539
  msgstr "Sto utilizzando un plugin per pubblicare gli articoli via email (del tipo Postie). Seleziona qualora gli aggiornamenti non funzionassero."
540
 
541
+ #: wp-to-twitter/wp-to-twitter-manager.php:613
542
  msgid "Update Twitter when a post is published using QuickPress"
543
  msgstr "Aggiorna Twitter quando un articolo é stato pubblicato via QuickPress"
544
 
545
+ #: wp-to-twitter/wp-to-twitter-manager.php:617
546
  msgid "Google Analytics Settings"
547
  msgstr "Impostazioni Google Analytics"
548
 
549
+ #: wp-to-twitter/wp-to-twitter-manager.php:618
550
  msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
551
  msgstr "Puoi tracciare la risposta da Twitter utilizzando Google Analytics definendo qui l'identificatore. Puoi definire un identificatore statico oppure uno dinamico. Gli identificatori statici non mutano da post a post mentre quelli dinamici derivano dalle informazioni di maggior rilievo appartenenti a quel post specifico. Gli identificatori dinamici ti permetteranno di analizzare le tue statistiche attraverso una variabile aggiuntiva."
552
 
553
+ #: wp-to-twitter/wp-to-twitter-manager.php:622
554
  msgid "Use a Static Identifier with WP-to-Twitter"
555
  msgstr "Utilizza un identificatore statico per WP-to-Twitter"
556
 
557
+ #: wp-to-twitter/wp-to-twitter-manager.php:623
558
  msgid "Static Campaign identifier for Google Analytics:"
559
  msgstr "Identificatore statico Google Analytics:"
560
 
561
+ #: wp-to-twitter/wp-to-twitter-manager.php:627
562
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
563
  msgstr "Utilizza un identificatore dinamico per Google Analytics e WP-to-Twitter"
564
 
565
+ #: wp-to-twitter/wp-to-twitter-manager.php:628
566
  msgid "What dynamic identifier would you like to use?"
567
  msgstr "Quale identificatore dinamico desideri utilizzare?"
568
 
569
+ #: wp-to-twitter/wp-to-twitter-manager.php:630
570
  msgid "Category"
571
  msgstr "Categoria"
572
 
573
+ #: wp-to-twitter/wp-to-twitter-manager.php:631
574
  msgid "Post ID"
575
  msgstr "ID post"
576
 
577
+ #: wp-to-twitter/wp-to-twitter-manager.php:632
578
  msgid "Post Title"
579
  msgstr "Titolo post"
580
 
581
+ #: wp-to-twitter/wp-to-twitter-manager.php:633
582
+ #: wp-to-twitter/wp-to-twitter-manager.php:647
583
  msgid "Author"
584
  msgstr "Autore"
585
 
586
+ #: wp-to-twitter/wp-to-twitter-manager.php:638
587
  msgid "Individual Authors"
588
  msgstr "Autori singoli"
589
 
590
+ #: wp-to-twitter/wp-to-twitter-manager.php:641
591
  msgid "Authors have individual Twitter accounts"
592
  msgstr "Gli autori hanno degli account personali su Twitter"
593
 
594
+ #: wp-to-twitter/wp-to-twitter-manager.php:641
595
+ msgid "Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author. This @reference is placed using the <code>#account#</code> shortcode. (It will pick up the main account if user accounts are not enabled.)"
596
+ msgstr "Gli autori possono impostare il proprio nome utente nel loro profilo utente. A partire dalla versione 2.2.0, questa funzione non permetterà più agli autori di inviare i propri messaggi ai loro account di Twitter. Potrà essere aggiunto il solo riferimento @ all'autore. Questo riferimento @ verrà posizionato facendo uso dello shortcode <code>#account#</code>. (Verrà utilizzato l'account principale se gli account utente non saranno attivati.)"
597
+
598
+ #: wp-to-twitter/wp-to-twitter-manager.php:644
599
+ msgid "Choose the lowest user group that can add their Twitter information"
600
+ msgstr "Scegli il ruolo utente di minima che può aggiungere le proprie info Twitter "
601
 
602
+ #: wp-to-twitter/wp-to-twitter-manager.php:645
603
+ msgid "Subscriber"
604
+ msgstr "Sottoscrittore"
605
+
606
+ #: wp-to-twitter/wp-to-twitter-manager.php:646
607
+ msgid "Contributor"
608
+ msgstr "Collaboratore"
609
+
610
+ #: wp-to-twitter/wp-to-twitter-manager.php:648
611
+ msgid "Editor"
612
+ msgstr "Editore"
613
+
614
+ #: wp-to-twitter/wp-to-twitter-manager.php:649
615
+ msgid "Administrator"
616
+ msgstr "Amministratore"
617
+
618
+ #: wp-to-twitter/wp-to-twitter-manager.php:654
619
  msgid "Disable Error Messages"
620
  msgstr "Disattiva i messaggi di errore"
621
 
622
+ #: wp-to-twitter/wp-to-twitter-manager.php:657
623
  msgid "Disable global URL shortener error messages."
624
  msgstr "Disattiva i messaggi di errore abbreviatore URL globale."
625
 
626
+ #: wp-to-twitter/wp-to-twitter-manager.php:661
627
  msgid "Disable global Twitter API error messages."
628
  msgstr "Disattiva i messaggi di errore globali API Twitter."
629
 
630
+ #: wp-to-twitter/wp-to-twitter-manager.php:665
631
  msgid "Disable notification to implement OAuth"
632
  msgstr "Disattiva la notifica per implementare OAuth"
633
 
634
+ #: wp-to-twitter/wp-to-twitter-manager.php:669
635
  msgid "Get Debugging Data for OAuth Connection"
636
  msgstr "Ottieni i dati di Debugging per la connessione OAuth"
637
 
638
+ #: wp-to-twitter/wp-to-twitter-manager.php:675
639
  msgid "Save Advanced WP->Twitter Options"
640
  msgstr "Salva avanzate WP->Opzioni Twitter"
641
 
642
+ #: wp-to-twitter/wp-to-twitter-manager.php:685
643
  msgid "Limit Updating Categories"
644
  msgstr "Limite aggiornamento categorie"
645
 
646
+ #: wp-to-twitter/wp-to-twitter-manager.php:689
647
+ msgid "Select which blog categories will be Tweeted. Uncheck all categories to disable category limits."
648
+ msgstr "Seleziona quali categorie del blog saranno oggetto dei messaggi su Twitter. Seleziona tutte le categorie per disattivare i limiti categoria. "
649
 
650
+ #: wp-to-twitter/wp-to-twitter-manager.php:692
651
  msgid "<em>Category limits are disabled.</em>"
652
  msgstr "<em>Le limitazioni alle categorie non sono attive.</em>"
653
 
654
+ #: wp-to-twitter/wp-to-twitter-manager.php:706
655
  msgid "Check Support"
656
  msgstr "Supporto"
657
 
658
+ #: wp-to-twitter/wp-to-twitter-manager.php:706
659
  msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
660
  msgstr "Metti il segno di spunta nel caso in cui il tuo server supportasse le query di <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter</a> per Twitter e per le API per l'abbreviazione degli URL. Questo test invierà a Twitter un aggiornamento dello stato e renderà breve l'URL utilizzando il metodo da te selezionato."
661
 
662
+ #: wp-to-twitter/wp-to-twitter-oauth.php:105
663
+ #: wp-to-twitter/wp-to-twitter-oauth.php:144
664
  msgid "Connect to Twitter"
665
  msgstr "Collegati a Twitter"
666
 
667
+ #: wp-to-twitter/wp-to-twitter-oauth.php:109
668
+ msgid "The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter. Note that you will not add your Twitter username or password to WP to Twitter; they are not used in OAuth authentication."
669
+ msgstr "La procedura di impostazione della autentificazione OAuth per il tuo sito é piuttosto laboriosa nonché confusa. Comunque, questa é l'unica soluzione disponibile offertaci da Twitter. Ti ricordo che non potrai, mai ed in nessun caso, inserire il tuo nome utente oppure la password di Twitter in WP to Twitter poiché essi non verranno utilizzati per l'autentificazione OAuth."
670
 
671
+ #: wp-to-twitter/wp-to-twitter-oauth.php:112
672
  msgid "1. Register this site as an application on "
673
  msgstr "1. Registra questo sito come una applicazione sulla "
674
 
675
+ #: wp-to-twitter/wp-to-twitter-oauth.php:112
676
  msgid "Twitter's application registration page"
677
  msgstr "pagina di registrazione applicazione Twitter"
678
 
679
+ #: wp-to-twitter/wp-to-twitter-oauth.php:114
680
  msgid "If you're not currently logged in, use the Twitter username and password which you want associated with this site"
681
  msgstr "Qualora non fossi collegato, utilizza il nome utente e la password che desideri associare a questo sito"
682
 
683
+ #: wp-to-twitter/wp-to-twitter-oauth.php:115
684
+ msgid "Your Application's Name will be what shows up after \"via\" in your twitter stream. Your application name cannot include the word \"Twitter.\" Use the name of your web site."
685
+ msgstr "Il nome della tua applicazione sarà quello che appare dopo \"via\" nel tuo twitter stream. Il nome per la tua applicazione non potrà includere la parola \"Twitter.\" Usa il nome del tuo sito."
686
 
687
+ #: wp-to-twitter/wp-to-twitter-oauth.php:116
688
  msgid "Your Application Description can be whatever you want."
689
  msgstr "La descrizione per la tua applicazione é un testo a tua discrezione."
690
 
691
+ #: wp-to-twitter/wp-to-twitter-oauth.php:117
692
  msgid "Application Type should be set on "
693
  msgstr "Il tipo di applicazione deve essere impostato a "
694
 
695
+ #: wp-to-twitter/wp-to-twitter-oauth.php:117
696
  msgid "Browser"
697
  msgstr "Browser"
698
 
699
+ #: wp-to-twitter/wp-to-twitter-oauth.php:118
700
  msgid "The Callback URL should be "
701
  msgstr "Il Callback URL dovrebbe essere "
702
 
703
+ #: wp-to-twitter/wp-to-twitter-oauth.php:119
704
  msgid "Default Access type must be set to "
705
  msgstr "Il tipo di accesso predefinito deve essere impostato a "
706
 
707
+ #: wp-to-twitter/wp-to-twitter-oauth.php:119
708
  msgid "Read &amp; Write"
709
  msgstr "Leggi &amp; Scrivi"
710
 
711
+ #: wp-to-twitter/wp-to-twitter-oauth.php:119
712
  msgid "(this is NOT the default)"
713
  msgstr "(questo NON é il predefinito)"
714
 
715
+ #: wp-to-twitter/wp-to-twitter-oauth.php:121
716
  msgid "Once you have registered your site as an application, you will be provided with a consumer key and a consumer secret."
717
  msgstr "Una volta registrato il tuo sito come applicazione, ti verranno forniti una consumer key ed un consumer secret."
718
 
719
+ #: wp-to-twitter/wp-to-twitter-oauth.php:122
720
  msgid "2. Copy and paste your consumer key and consumer secret into the fields below"
721
  msgstr "2. Copia ed incolla nei campi qui sotto la tua consumer key ed il consumer secret"
722
 
723
+ #: wp-to-twitter/wp-to-twitter-oauth.php:125
724
  msgid "Twitter Consumer Key"
725
  msgstr "Twitter Consumer Key"
726
 
727
+ #: wp-to-twitter/wp-to-twitter-oauth.php:129
728
  msgid "Twitter Consumer Secret"
729
  msgstr "Twitter Consumer Secret"
730
 
731
+ #: wp-to-twitter/wp-to-twitter-oauth.php:132
732
  msgid "3. Copy and paste your Access Token and Access Token Secret into the fields below"
733
  msgstr "3. Copia ed incolla nei campi qui sotto il tuo token di accesso e secret"
734
 
735
+ #: wp-to-twitter/wp-to-twitter-oauth.php:133
736
+ msgid "On the right hand side of your new application page at Twitter, click on 'My Access Token'."
737
  msgstr "Clicca su 'My Access Token' posizionato alla destra della pagina della applicazione."
738
 
739
+ #: wp-to-twitter/wp-to-twitter-oauth.php:135
740
  msgid "Access Token"
741
  msgstr "Token d'accesso"
742
 
743
+ #: wp-to-twitter/wp-to-twitter-oauth.php:139
744
  msgid "Access Token Secret"
745
  msgstr "Token d'accesso - Secret"
746
 
747
+ #: wp-to-twitter/wp-to-twitter-oauth.php:154
748
  msgid "Disconnect from Twitter"
749
  msgstr "Disconnettiti da Twitter"
750
 
751
+ #: wp-to-twitter/wp-to-twitter-oauth.php:161
752
  msgid "Twitter Username "
753
  msgstr "Nome utente Twitter"
754
 
755
+ #: wp-to-twitter/wp-to-twitter-oauth.php:162
756
  msgid "Consumer Key "
757
  msgstr "Consumer Key "
758
 
759
+ #: wp-to-twitter/wp-to-twitter-oauth.php:163
760
  msgid "Consumer Secret "
761
  msgstr "Consumer Secret "
762
 
763
+ #: wp-to-twitter/wp-to-twitter-oauth.php:164
764
  msgid "Access Token "
765
  msgstr "Token d'accesso"
766
 
767
+ #: wp-to-twitter/wp-to-twitter-oauth.php:165
768
  msgid "Access Token Secret "
769
  msgstr "Token d'accesso - Secret"
770
 
771
+ #: wp-to-twitter/wp-to-twitter-oauth.php:168
772
  msgid "Disconnect Your WordPress and Twitter Account"
773
  msgstr "Scollega il tuo account WordPress e Twitter"
774
 
775
+ #: wp-to-twitter/wp-to-twitter.php:49
776
+ msgid "WP to Twitter requires PHP version 5 or above with cURL support. Please upgrade PHP or install cURL to run WP to Twitter."
777
+ msgstr "WP to Twitter richiede una versione PHP 5 o superiore con il supporto cURL. Aggiorna il PHP o installa cURL per usare WP to Twitter."
778
+
779
+ #: wp-to-twitter/wp-to-twitter.php:70
780
+ msgid "WP to Twitter requires WordPress 2.9.2 or a more recent version. <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Please update your WordPress version!</a>"
781
+ msgstr "WP to Twitter richiede WordPress 2.9.2 o superiore. <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Aggiorna la tua versione di WordPress!</a>"
782
+
783
+ #: wp-to-twitter/wp-to-twitter.php:84
784
  #, php-format
785
  msgid "Twitter now requires authentication by OAuth. You will need you to update your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
786
  msgstr "Twitter necessita una autentificazione via OAuth. Aggiorna le tue <a href=\"%s\">impostazioni</a> per potere utilizzare ancora WP to Twitter."
787
 
788
+ #: wp-to-twitter/wp-to-twitter.php:150
789
  msgid "200 OK: Success!"
790
  msgstr "200 OK: Successo!"
791
 
792
+ #: wp-to-twitter/wp-to-twitter.php:154
793
  msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
794
  msgstr "400 Bad Request: La richiesta non é valida. L'utilizzo di questo codice é relativo al limite delle chiamate."
795
 
796
+ #: wp-to-twitter/wp-to-twitter.php:158
797
  msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
798
  msgstr "401 Unauthorized: quando mancano oppure sono inesatte le credenziali per l'autentificazione."
799
 
800
+ #: wp-to-twitter/wp-to-twitter.php:162
801
+ msgid "403 Forbidden: The request is understood, but it has been refused. This code is used when requests are understood, but are denied by Twitter. Reasons include exceeding the 140 character limit or the API update limit."
802
+ msgstr "403 Forbidden: La richiesta é stata compresa, ma viene rifiutata. Questo codice viene utilizzato per indicare che, sebbene le richieste siano state comprese, vengono rifiutate da Twitter (superamento limite dei 140 caratteri o limite di aggiornamento API)."
803
 
804
+ #: wp-to-twitter/wp-to-twitter.php:166
805
  msgid "500 Internal Server Error: Something is broken at Twitter."
806
  msgstr "500 Internal Server Error: problemi interni a Twitter."
807
 
808
+ #: wp-to-twitter/wp-to-twitter.php:170
809
  msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
810
  msgstr "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
811
 
812
+ #: wp-to-twitter/wp-to-twitter.php:174
813
  msgid "502 Bad Gateway: Twitter is down or being upgraded."
814
  msgstr "502 Bad Gateway: Twitter é down oppure sotto aggiornamento."
815
 
816
+ #: wp-to-twitter/wp-to-twitter.php:803
 
 
817
  msgid "WP to Twitter"
818
  msgstr "WP to Twitter"
819
 
820
+ #: wp-to-twitter/wp-to-twitter.php:865
821
+ msgid "Custom Twitter Post"
822
+ msgstr "Messaggio personalizzato Twitter"
823
+
824
+ #: wp-to-twitter/wp-to-twitter.php:877
825
  msgid "Don't Tweet this post."
826
  msgstr "Non segnalare a Twitter questo articolo."
827
 
828
+ #: wp-to-twitter/wp-to-twitter.php:887
829
  msgid "This URL is direct and has not been shortened: "
830
  msgstr "Questo URL é diretto e non può essere abbreviato: "
831
 
832
+ #: wp-to-twitter/wp-to-twitter.php:946
833
  msgid "WP to Twitter User Settings"
834
  msgstr "Impostazioni WP to Twitter User"
835
 
836
+ #: wp-to-twitter/wp-to-twitter.php:950
837
  msgid "Use My Twitter Username"
838
  msgstr "Utilizza il mio nome utente Twitter"
839
 
840
+ #: wp-to-twitter/wp-to-twitter.php:951
841
  msgid "Tweet my posts with an @ reference to my username."
842
  msgstr "Segnala i miei articoli con un riferimento @ correlato al mio nome utente."
843
 
844
+ #: wp-to-twitter/wp-to-twitter.php:952
845
  msgid "Tweet my posts with an @ reference to both my username and to the main site username."
846
  msgstr "Segnala i miei articoli con un riferimento @ correlato tanto al mio nome utente per il sito principale quanto al mio nome utente."
847
 
848
+ #: wp-to-twitter/wp-to-twitter.php:956
849
+ msgid "Your Twitter Username"
850
+ msgstr "Nome utente Twitter"
851
+
852
+ #: wp-to-twitter/wp-to-twitter.php:957
853
  msgid "Enter your own Twitter username."
854
  msgstr "Inserisci il tuo nome utente Twitter"
855
 
856
+ #: wp-to-twitter/wp-to-twitter.php:996
857
  msgid "Check the categories you want to tweet:"
858
  msgstr "Seleziona le gategorie per i messaggi:"
859
 
860
+ #: wp-to-twitter/wp-to-twitter.php:1013
861
  msgid "Set Categories"
862
  msgstr "Imposta le categorie"
863
 
864
+ #: wp-to-twitter/wp-to-twitter.php:1037
865
  msgid "<p>Couldn't locate the settings page.</p>"
866
  msgstr "<p>Non é possibile localizzare la pagina delle impostazioni.</p>"
867
 
868
+ #: wp-to-twitter/wp-to-twitter.php:1042
869
  msgid "Settings"
870
  msgstr "Impostazioni"
871
 
872
+ #~ msgid "http://www.joedolson.com/articles/wp-to-twitter/"
873
+ #~ msgstr "http://www.joedolson.com/articles/wp-to-twitter/"
874
+
875
+ #~ msgid "Joseph Dolson"
876
+ #~ msgstr "Joseph Dolson"
877
 
878
+ #~ msgid "http://www.joedolson.com/"
879
+ #~ msgstr "http://www.joedolson.com/"
 
880
 
881
+ #~ msgid "Cligs API Key Updated"
882
+ #~ msgstr "La chiave API di Cligs é stata aggiornata."
 
883
 
884
+ #~ msgid ""
885
+ #~ "PLEASE NOTE: This is an internal server error at Cli.gs. If you continue "
886
+ #~ "to receive this error, you should change URL shorteners. This cannot be "
887
+ #~ "fixed in WP to Twitter."
888
+ #~ msgstr ""
889
+ #~ "NOTA: Questo é un errore relativo al server di Cli.gs. Qualora il "
890
+ #~ "problema continuasse a persistere, sarà necessario cambiare il servizio "
891
+ #~ "per l'abbreviazione degli URL. WP to Twitter non é in grado di risolvere "
892
+ #~ "questo problema."
893
+
894
+ #~ msgid ""
895
+ #~ "OAuth Authentication Failed. Check your credentials and verify that <a "
896
+ #~ "href=\"http://www.twitter.com/\">Twitter</a> is running."
897
+ #~ msgstr ""
898
+ #~ "L'autentificazione OAuth é fallita. Controlla i tuoi dati e verifica che "
899
+ #~ "<a href=\"http://www.twitter.com/\">Twitter</a> sia in uso."
900
+
901
+ #~ msgid "Export Settings"
902
+ #~ msgstr "Impostazioni esportazione"
903
+
904
+ #~ msgid ""
905
+ #~ "Updates Twitter when you create a new blog post or add to your blogroll "
906
+ #~ "using Cli.gs. With a Cli.gs API key, creates a clig in your Cli.gs "
907
+ #~ "account with the name of your post as the title."
908
+ #~ msgstr ""
909
+ #~ "Aggiorna Twitter quando crei un nuovo articolo oppure aggiungi al tuo "
910
+ #~ "blogroll utilizzando Cli.gs. Con una chiave API Cli.gs, crea un clig nel "
911
+ #~ "tuo account di Cli.gs con il nome del tuo articolo come titolo."
912
 
913
  #~ msgid "Non-Twitter login and password updated. "
914
  #~ msgstr "Il login e la password Non-Twitter sono stati aggiornati."
wp-to-twitter-manager.php CHANGED
@@ -14,7 +14,7 @@
14
  }
15
  }
16
  $wp_twitter_error = FALSE;
17
- $wp_cligs_error = FALSE;
18
  $wp_bitly_error = FALSE;
19
  $message = "";
20
 
@@ -39,10 +39,12 @@
39
  update_option( 'jd_twit_quickpress', '1' );
40
  update_option( 'jd_shortener', '1' );
41
  update_option( 'use_tags_as_hashtags', '0' );
 
42
  update_option('jd_max_tags',3);
43
  update_option('jd_max_characters',15);
44
  update_option('jd_replace_character','_');
45
-
 
46
  update_option( 'jd_twit_remote', '0' );
47
  update_option( 'jd_post_excerpt', 30 );
48
  // Use Google Analytics with Twitter
@@ -77,12 +79,7 @@
77
  ');
78
  }
79
  else if ( $oauth_message == "fail" ) {
80
- print('
81
- <div id="message" class="updated fade">
82
- <p>'.__('OAuth Authentication Failed. Check your credentials and verify that <a href="http://www.twitter.com/">Twitter</a> is running.', 'wp-to-twitter').'</p>
83
- </div>
84
 
85
- ');
86
  } else if ( $oauth_message == "cleared" ) {
87
  print('
88
  <div id="message" class="updated fade">
@@ -90,6 +87,19 @@
90
  </div>
91
 
92
  ');
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
94
  }
95
 
@@ -118,6 +128,7 @@
118
  update_option( 'jd_twit_custom_url', $_POST['jd_twit_custom_url'] );
119
  update_option( 'jd_twit_quickpress', $_POST['jd_twit_quickpress'] );
120
  update_option( 'use_tags_as_hashtags', $_POST['use_tags_as_hashtags'] );
 
121
  update_option( 'jd_twit_prepend', $_POST['jd_twit_prepend'] );
122
  update_option( 'jd_twit_append', $_POST['jd_twit_append'] );
123
  update_option( 'jd_post_excerpt', $_POST['jd_post_excerpt'] );
@@ -130,6 +141,8 @@
130
  update_option( 'use-twitter-analytics', $_POST['use-twitter-analytics'] );
131
  update_option( 'twitter-analytics-campaign', $_POST['twitter-analytics-campaign'] );
132
  update_option( 'jd_individual_twitter_users', $_POST['jd_individual_twitter_users'] );
 
 
133
  update_option( 'disable_url_failure' , $_POST['disable_url_failure'] );
134
  update_option( 'disable_twitter_failure' , $_POST['disable_twitter_failure'] );
135
  update_option( 'jd_twit_postie' , (int) $_POST['jd_twit_postie'] );
@@ -229,15 +242,17 @@
229
  }
230
  }
231
 
232
- if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'cligsapi' ) {
233
- if ( $_POST['cligsapi'] != '' && isset( $_POST['submit'] ) ) {
234
- update_option( 'cligsapi', trim($_POST['cligsapi']) );
235
- $message = __("Cligs API Key Updated", 'wp-to-twitter');
 
236
  } else if ( isset( $_POST['clear'] ) ) {
237
- update_option( 'cligsapi','' );
238
- $message = __("Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be associated with your account. ", 'wp-to-twitter');
 
239
  } else {
240
- $message = __("Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</a>! ", 'wp-to-twitter');
241
  }
242
  }
243
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'bitlyapi' ) {
@@ -282,7 +297,7 @@ function jd_check_functions() {
282
 
283
  if ($shrink == FALSE) {
284
  if ($shortener == 1) {
285
- $error = htmlentities( get_option('wp_cligs_error') );
286
  } else if ( $shortener == 2 ) {
287
  $error = htmlentities( get_option('wp_bitly_error') );
288
  } else {
@@ -302,7 +317,9 @@ function jd_check_functions() {
302
  if ($testpost) {
303
  $message .= __("<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>",'wp-to-twitter');
304
  } else {
 
305
  $message .= __("<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>",'wp-to-twitter');
 
306
  }
307
  } else {
308
  $message .= "<strong>"._e('You have not connected WordPress to Twitter.','wp-to-twitter')."</strong> ";
@@ -340,9 +357,10 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
340
  <div class="resources">
341
  <img src="<?php echo $wp_to_twitter_directory; ?>/wp-to-twitter-logo.png" alt="WP to Twitter" />
342
  <p>
343
- <a href="http://www.joedolson.com/articles/wp-to-twitter/support/"><?php _e("Get Support",'wp-to-twitter'); ?></a> &middot;
344
- <a href="?page=wp-to-twitter/wp-to-twitter.php&amp;export=settings"><?php _e("Export Settings",'wp-to-twitter'); ?></a> &middot;
345
- <a href="http://www.joedolson.com/donate.php"><?php _e("Make a Donation",'wp-to-twitter'); ?></a>
 
346
  </p>
347
  <div>
348
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
@@ -366,6 +384,7 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
366
  <li><?php _e("<code>#date#</code>: the post date", 'wp-to-twitter'); ?></li>
367
  <li><?php _e("<code>#url#</code>: the post URL", 'wp-to-twitter'); ?></li>
368
  <li><?php _e("<code>#author#</code>: the post author",'wp-to-twitter'); ?></li>
 
369
  </ul>
370
  <p><?php _e("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>", 'wp-to-twitter'); ?>
371
 
@@ -376,7 +395,7 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
376
  echo "<p><strong>".get_option( 'jd_status_message' )."</strong></p>";
377
  }
378
  if ( get_option( 'wp_url_failure' ) == '1' ) {
379
- _e("<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. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>", 'wp-to-twitter');
380
  }
381
  echo $wp_to_twitter_failure;
382
  ?>
@@ -390,14 +409,11 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
390
  ?>
391
  <div class="jd-settings" id="poststuff">
392
 
393
- <?php wtt_connect_oauth(); ?>
394
 
395
  <div class="ui-sortable meta-box-sortables">
396
- <?php if ( isset( $_POST['submit-type']) && $_POST['submit-type'] == 'options' ) { ?>
397
  <div class="postbox">
398
- <?php } else { ?>
399
- <div class="postbox closed">
400
- <?php } ?>
401
  <div class="handlediv" title="Click to toggle"><br/></div>
402
  <h3><?php _e('Basic Settings','wp-to-twitter'); ?></h3>
403
  <div class="inside">
@@ -408,42 +424,42 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
408
  <legend><?php _e("Tweet Templates", 'wp-to-twitter'); ?></legend>
409
  <p>
410
  <input type="checkbox" name="newpost-published-update" id="newpost-published-update" value="1" <?php jd_checkCheckbox('newpost-published-update')?> />
411
- <label for="newpost-published-update"><strong><?php _e("Update when a post is published", 'wp-to-twitter'); ?></strong></label> <label for="newpost-published-text"><br /><?php _e("Text for new post updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newpost-published-text" id="newpost-published-text" size="60" maxlength="120" value="<?php echo( attribute_escape( stripslashes( get_option( 'newpost-published-text' ) ) ) ); ?>" />
412
  </p>
413
 
414
  <p>
415
  <?php if ( get_option( 'jd_twit_postie' ) != 1 ) { ?>
416
  <input type="checkbox" name="oldpost-edited-update" id="oldpost-edited-update" value="1" <?php jd_checkCheckbox('oldpost-edited-update')?> />
417
- <label for="oldpost-edited-update"><strong><?php _e("Update when a post is edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpost-edited-text"><?php _e("Text for editing updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpost-edited-text" id="oldpost-edited-text" size="60" maxlength="120" value="<?php echo( attribute_escape( stripslashes( get_option('oldpost-edited-text' ) ) ) ); ?>" />
418
  <?php } else { ?>
419
  <input type="checkbox" name="oldpost-edited-update" id="oldpost-edited-update" value="1" disabled="disabled" checked="checked" />
420
- <label for="oldpost-edited-update"><strong><?php _e("Update when a post is edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpost-edited-text"><?php _e("Text for editing updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpost-edited-text" id="oldpost-edited-text" size="60" maxlength="120" value="<?php echo( attribute_escape( stripslashes( get_option('oldpost-edited-text' ) ) ) ); ?>" readonly="readonly" />
421
  <br /><small><?php _e('You can not disable updates on edits when using Postie or similar plugins.'); ?></small>
422
  <?php } ?> </p>
423
  <p>
424
  <input type="checkbox" name="jd_twit_pages" id="jd_twit_pages" value="1" <?php jd_checkCheckbox('jd_twit_pages')?> />
425
- <label for="jd_twit_pages"><strong><?php _e("Update Twitter when new Wordpress Pages are published", 'wp-to-twitter'); ?></strong></label><br /><label for="newpage-published-text"><?php _e("Text for new page updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newpage-published-text" id="newpage-published-text" size="60" maxlength="120" value="<?php echo( attribute_escape( stripslashes( get_option('newpage-published-text' ) ) ) ); ?>" />
426
  </p>
427
  <p>
428
  <input type="checkbox" name="jd_twit_edited_pages" id="jd_twit_edited_pages" value="1" <?php jd_checkCheckbox('jd_twit_edited_pages')?> />
429
- <label for="jd_twit_edited_pages"><strong><?php _e("Update Twitter when WordPress Pages are edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpage-edited-text"><?php _e("Text for page edit updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpage-edited-text" id="oldpage-edited-text" size="60" maxlength="120" value="<?php echo( attribute_escape( stripslashes( get_option('oldpage-edited-text' ) ) ) ); ?>" />
430
  </p>
431
  <p>
432
  <input type="checkbox" name="jd_twit_blogroll" id="jd_twit_blogroll" value="1" <?php jd_checkCheckbox('jd_twit_blogroll')?> />
433
  <label for="jd_twit_blogroll"><strong><?php _e("Update Twitter when you post a Blogroll link", 'wp-to-twitter'); ?></strong></label><br />
434
- <label for="newlink-published-text"><?php _e("Text for new link updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newlink-published-text" id="newlink-published-text" size="60" maxlength="120" value="<?php echo ( attribute_escape( stripslashes( get_option( 'newlink-published-text' ) ) ) ); ?>" /><br /><small><?php _e('Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>.','wp-to-twitter'); ?></small>
435
  </p>
436
  </fieldset>
437
  <fieldset>
438
  <legend><?php _e("Choose your short URL service (account settings below)",'wp-to-twitter' ); ?></legend>
439
  <p>
440
  <select name="jd_shortener" id="jd_shortener">
441
- <option value="1" <?php jd_checkSelect('jd_shortener','1'); ?>><?php _e("Use Cli.gs for my URL shortener.", 'wp-to-twitter'); ?></option>
 
442
  <option value="2" <?php jd_checkSelect('jd_shortener','2'); ?>><?php _e("Use Bit.ly for my URL shortener.", 'wp-to-twitter'); ?></option>
443
  <option value="5" <?php jd_checkSelect('jd_shortener','5'); ?>><?php _e("YOURLS (installed on this server)", 'wp-to-twitter'); ?></option>
444
  <option value="6" <?php jd_checkSelect('jd_shortener','6'); ?>><?php _e("YOURLS (installed on a remote server)", 'wp-to-twitter'); ?></option>
445
  <option value="4" <?php jd_checkSelect('jd_shortener','4'); ?>><?php _e("Use WordPress as a URL shortener.", 'wp-to-twitter'); ?></option>
446
- <option value="3" <?php jd_checkSelect('jd_shortener','3'); ?>><?php _e("Don't shorten URLs.", 'wp-to-twitter'); ?></option>
447
  </select><br />
448
  <small><?php _e("Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs.", 'wp-to-twitter'); ?></small>
449
  </p>
@@ -458,27 +474,28 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
458
  </div>
459
  </div>
460
  <div class="ui-sortable meta-box-sortables">
461
- <?php if ( ( isset( $_POST['submit-type'] ) && ($_POST['submit-type']!='setcategories' && $_POST['submit-type']!='advanced' && $_POST['submit-type']!='options' && $_POST['submit-type']!="check-support" ) ) ) { ?>
462
  <div class="postbox">
463
- <?php } else { ?>
464
- <div class="postbox closed">
465
- <?php } ?> <div class="handlediv" title="Click to toggle"><br/></div>
466
  <h3><?php _e('<abbr title="Uniform Resource Locator">URL</abbr> Shortener Account Settings','wp-to-twitter'); ?></h3>
467
 
468
  <div class="inside">
469
  <div class="panel">
470
- <h4 class="cligs"><span><?php _e("Your Cli.gs account details", 'wp-to-twitter'); ?></span></h4>
471
 
472
  <form method="post" action="">
473
  <div>
474
  <p>
475
- <label for="cligsapi"><?php _e("Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:", 'wp-to-twitter'); ?></label>
476
- <input type="text" name="cligsapi" id="cligsapi" size="40" value="<?php echo ( attribute_escape( get_option( 'cligsapi' ) ) ) ?>" />
 
 
 
 
477
  </p>
478
  <div>
479
- <input type="hidden" name="submit-type" value="cligsapi" />
480
  </div>
481
- <p><input type="submit" name="submit" value="Save Cli.gs API Key" class="button-primary" /> <input type="submit" name="clear" value="Clear Cli.gs API Key" />&raquo; <small><?php _e("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.", 'wp-to-twitter'); ?></small></p>
482
  </div>
483
  </form>
484
  </div>
@@ -490,11 +507,11 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
490
  <div>
491
  <p>
492
  <label for="bitlylogin"><?php _e("Your Bit.ly username:", 'wp-to-twitter'); ?></label>
493
- <input type="text" name="bitlylogin" id="bitlylogin" value="<?php echo ( attribute_escape( get_option( 'bitlylogin' ) ) ) ?>" />
494
  </p>
495
  <p>
496
  <label for="bitlyapi"><?php _e("Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:", 'wp-to-twitter'); ?></label>
497
- <input type="text" name="bitlyapi" id="bitlyapi" size="40" value="<?php echo ( attribute_escape( get_option( 'bitlyapi' ) ) ) ?>" />
498
  </p>
499
 
500
  <div>
@@ -509,16 +526,16 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
509
  <form method="post" action="">
510
  <div>
511
  <p>
512
- <label for="yourlspath"><?php _e('Path to the YOURLS config file (Local installations)','wp-to-twitter'); ?></label> <input type="text" id="yourlspath" name="yourlspath" size="60" value="<?php echo ( attribute_escape( get_option( 'yourlspath' ) ) ); ?>"/>
513
  <small><?php _e('Example:','wp-to-twitter'); ?> <code>/home/username/www/www/yourls/includes/config.php</code></small>
514
  </p>
515
  <p>
516
- <label for="yourlsurl"><?php _e('URI to the YOURLS API (Remote installations)','wp-to-twitter'); ?></label> <input type="text" id="yourlsurl" name="yourlsurl" size="60" value="<?php echo ( attribute_escape( get_option( 'yourlsurl' ) ) ); ?>"/>
517
  <small><?php _e('Example:','wp-to-twitter'); ?> <code>http://domain.com/yourls-api.php</code></small>
518
  </p>
519
  <p>
520
  <label for="yourlslogin"><?php _e("Your YOURLS username:", 'wp-to-twitter'); ?></label>
521
- <input type="text" name="yourlslogin" id="yourlslogin" value="<?php echo ( attribute_escape( get_option( 'yourlslogin' ) ) ) ?>" />
522
  </p>
523
  <p>
524
  <label for="yourlsapi"><?php _e("Your YOURLS password:", 'wp-to-twitter'); ?> <?php if ( get_option( 'yourlsapi' ) != '') { _e("<em>Saved</em>",'wp-to-twitter'); } ?></label>
@@ -540,12 +557,7 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
540
  </div>
541
 
542
  <div class="ui-sortable meta-box-sortables">
543
- <?php if ( isset( $_POST['submit-type']) && $_POST['submit-type']=='advanced') { ?>
544
  <div class="postbox">
545
- <?php } else { ?>
546
- <div class="postbox closed">
547
- <?php } ?>
548
-
549
  <div class="handlediv" title="Click to toggle"><br/></div>
550
  <h3><?php _e('Advanced Settings','wp-to-twitter'); ?></h3>
551
  <div class="inside">
@@ -556,30 +568,30 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
556
  <fieldset>
557
  <legend><?php _e("Advanced Tweet settings","wp-to-twitter"); ?></legend>
558
  <p>
559
- <input type="checkbox" name="use_tags_as_hashtags" id="use_tags_as_hashtags" value="1" <?php jd_checkCheckbox('use_tags_as_hashtags')?> />
560
- <label for="use_tags_as_hashtags"><?php _e("Add tags as hashtags on Tweets", 'wp-to-twitter'); ?></label>
561
- <br /><label for="jd_replace_character"><?php _e("Spaces replaced with:",'wp-to-twitter'); ?></label> <input type="text" name="jd_replace_character" id="jd_replace_character" value="<?php echo attribute_escape( get_option('jd_replace_character') ); ?>" size="3" /><br />
562
  <small><?php _e("Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely.",'wp-to-twitter'); ?></small>
563
  </p>
564
  <p>
565
- <label for="jd_max_tags"><?php _e("Maximum number of tags to include:",'wp-to-twitter'); ?></label> <input type="text" name="jd_max_tags" id="jd_max_tags" value="<?php echo attribute_escape( get_option('jd_max_tags') ); ?>" size="3" />
566
- <label for="jd_max_characters"><?php _e("Maximum length in characters for included tags:",'wp-to-twitter'); ?></label> <input type="text" name="jd_max_characters" id="jd_max_characters" value="<?php echo attribute_escape( get_option('jd_max_characters') ); ?>" size="3" /><br />
567
  <small><?php _e("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.",'wp-to-twitter'); ?></small>
568
  </p>
569
  <p>
570
- <label for="jd_post_excerpt"><?php _e("Length of post excerpt (in characters):", 'wp-to-twitter'); ?></label> <input type="text" name="jd_post_excerpt" id="jd_post_excerpt" size="3" maxlength="3" value="<?php echo ( attribute_escape( get_option( 'jd_post_excerpt' ) ) ) ?>" /><br /><small><?php _e("By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead.", 'wp-to-twitter'); ?></small>
571
  </p>
572
  <p>
573
- <label for="jd_date_format"><?php _e("WP to Twitter Date Formatting:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_date_format" id="jd_date_format" size="12" maxlength="12" value="<?php if (get_option('jd_date_format')=='') { echo ( attribute_escape( get_option('date_format') ) ); } else { echo ( attribute_escape( get_option( 'jd_date_format' ) ) ); }?>" /> (<?php if ( get_option( 'jd_date_format' ) != '' ) { echo date_i18n( get_option( 'jd_date_format' ) ); } else { echo date_i18n( get_option( 'date_format' ) ); } ?>)<br />
574
  <small><?php _e("Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>.", 'wp-to-twitter'); ?></small>
575
  </p>
576
 
577
  <p>
578
- <label for="jd_twit_prepend"><?php _e("Custom text before all Tweets:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_prepend" id="jd_twit_prepend" size="20" maxlength="20" value="<?php echo ( attribute_escape( get_option( 'jd_twit_prepend' ) ) ) ?>" />
579
- <label for="jd_twit_append"><?php _e("Custom text after all Tweets:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_append" id="jd_twit_append" size="20" maxlength="20" value="<?php echo ( attribute_escape( get_option( 'jd_twit_append' ) ) ) ?>" />
580
  </p>
581
  <p>
582
- <label for="jd_twit_custom_url"><?php _e("Custom field for an alternate URL to be shortened and Tweeted:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_custom_url" id="jd_twit_custom_url" size="40" maxlength="120" value="<?php echo ( attribute_escape( get_option( 'jd_twit_custom_url' ) ) ) ?>" /><br />
583
  <small><?php _e("You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL.", 'wp-to-twitter'); ?></small>
584
  </p>
585
  </fieldset>
@@ -608,7 +620,7 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
608
  <p>
609
  <input type="checkbox" name="use-twitter-analytics" id="use-twitter-analytics" value="1" <?php jd_checkCheckbox('use-twitter-analytics')?> />
610
  <label for="use-twitter-analytics"><?php _e("Use a Static Identifier with WP-to-Twitter", 'wp-to-twitter'); ?></label><br />
611
- <label for="twitter-analytics-campaign"><?php _e("Static Campaign identifier for Google Analytics:", 'wp-to-twitter'); ?></label> <input type="text" name="twitter-analytics-campaign" id="twitter-analytics-campaign" size="40" maxlength="120" value="<?php echo ( attribute_escape( get_option( 'twitter-analytics-campaign' ) ) ) ?>" /><br />
612
  </p>
613
  <p>
614
  <input type="checkbox" name="use-dynamic-analytics" id="use-dynamic-analytics" value="1" <?php jd_checkCheckbox('use_dynamic_analytics')?> />
@@ -626,8 +638,17 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
626
  <legend><?php _e('Individual Authors','wp-to-twitter'); ?></legend>
627
  <p>
628
  <input type="checkbox" name="jd_individual_twitter_users" id="jd_individual_twitter_users" value="1" <?php jd_checkCheckbox('jd_individual_twitter_users')?> />
629
- <label for="jd_individual_twitter_users"><?php _e("Authors have individual Twitter accounts", 'wp-to-twitter'); ?></label><br /><small><?php _e('Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author.', 'wp-to-twitter'); ?></small>
630
- </p>
 
 
 
 
 
 
 
 
 
631
  </fieldset>
632
  <fieldset>
633
  <legend><?php _e('Disable Error Messages','wp-to-twitter'); ?></legend>
@@ -658,18 +679,14 @@ $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dir
658
  </div>
659
  </div>
660
  <div class="ui-sortable meta-box-sortables">
661
- <?php if ( isset( $_POST['submit-type']) && $_POST['submit-type']=='setcategories') { ?>
662
  <div class="postbox">
663
- <?php } else { ?>
664
- <div class="postbox closed">
665
- <?php } ?>
666
 
667
  <div class="handlediv" title="Click to toggle"><br/></div>
668
  <h3><?php _e('Limit Updating Categories','wp-to-twitter'); ?></h3>
669
  <div class="inside">
670
  <br class="clear" />
671
  <p>
672
- <?php _e('Select which blog categories will be Tweeted. ','wp-to-twitter'); ?>
673
  <?php
674
  if ( get_option('limit_categories') == '0' ) {
675
  _e('<em>Category limits are disabled.</em>','wp-to-twitter');
@@ -692,11 +709,4 @@ if ( get_option('limit_categories') == '0' ) {
692
  </form>
693
  </div>
694
  </div>
695
- <?php global $wp_version; ?>
696
- <script type="text/javascript">
697
- //<![CDATA[
698
- jQuery('.postbox h3').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); });
699
- jQuery('.postbox .handlediv').click( function() { jQuery(jQuery(this).parent().get(0)).toggleClass('closed'); });
700
- jQuery('.postbox.close-me').each(function() { jQuery(this).addClass("closed"); });
701
- //]]>
702
- </script>
14
  }
15
  }
16
  $wp_twitter_error = FALSE;
17
+ $wp_supr_error = FALSE;
18
  $wp_bitly_error = FALSE;
19
  $message = "";
20
 
39
  update_option( 'jd_twit_quickpress', '1' );
40
  update_option( 'jd_shortener', '1' );
41
  update_option( 'use_tags_as_hashtags', '0' );
42
+ update_option( 'jd_strip_nonan', '0' );
43
  update_option('jd_max_tags',3);
44
  update_option('jd_max_characters',15);
45
  update_option('jd_replace_character','_');
46
+ update_option('wtt_user_permissions','manage_options');
47
+
48
  update_option( 'jd_twit_remote', '0' );
49
  update_option( 'jd_post_excerpt', 30 );
50
  // Use Google Analytics with Twitter
79
  ');
80
  }
81
  else if ( $oauth_message == "fail" ) {
 
 
 
 
82
 
 
83
  } else if ( $oauth_message == "cleared" ) {
84
  print('
85
  <div id="message" class="updated fade">
87
  </div>
88
 
89
  ');
90
+ } else if ( $oauth_message == 'nosync' ) {
91
+ print('
92
+ <div id="message" class="updated fade">
93
+ <p>'.__('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.', 'wp-to-twitter').'</p>
94
+ </div>
95
+
96
+ ');
97
+ } else {
98
+ print('
99
+ <div id="message" class="updated fade">
100
+ <p>'.__('OAuth Authentication response not understood.', 'wp-to-twitter').'</p>
101
+ </div>
102
+ ');
103
  }
104
  }
105
 
128
  update_option( 'jd_twit_custom_url', $_POST['jd_twit_custom_url'] );
129
  update_option( 'jd_twit_quickpress', $_POST['jd_twit_quickpress'] );
130
  update_option( 'use_tags_as_hashtags', $_POST['use_tags_as_hashtags'] );
131
+ update_option( 'jd_strip_nonan', $_POST['jd_strip_nonan'] );
132
  update_option( 'jd_twit_prepend', $_POST['jd_twit_prepend'] );
133
  update_option( 'jd_twit_append', $_POST['jd_twit_append'] );
134
  update_option( 'jd_post_excerpt', $_POST['jd_post_excerpt'] );
141
  update_option( 'use-twitter-analytics', $_POST['use-twitter-analytics'] );
142
  update_option( 'twitter-analytics-campaign', $_POST['twitter-analytics-campaign'] );
143
  update_option( 'jd_individual_twitter_users', $_POST['jd_individual_twitter_users'] );
144
+ $wtt_user_permissions = $_POST['wtt_user_permissions'];
145
+ update_option('wtt_user_permissions',$wtt_user_permissions);
146
  update_option( 'disable_url_failure' , $_POST['disable_url_failure'] );
147
  update_option( 'disable_twitter_failure' , $_POST['disable_twitter_failure'] );
148
  update_option( 'jd_twit_postie' , (int) $_POST['jd_twit_postie'] );
242
  }
243
  }
244
 
245
+ if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'suprapi' ) {
246
+ if ( $_POST['suprapi'] != '' && isset( $_POST['submit'] ) ) {
247
+ update_option( 'suprapi', trim($_POST['suprapi']) );
248
+ update_option( 'suprlogin', trim($_POST['suprlogin']) );
249
+ $message = __("Su.pr API Key and Username Updated", 'wp-to-twitter');
250
  } else if ( isset( $_POST['clear'] ) ) {
251
+ update_option( 'suprapi','' );
252
+ update_option( 'suprlogin','' );
253
+ $message = __("Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. ", 'wp-to-twitter');
254
  } else {
255
+ $message = __("Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! ", 'wp-to-twitter');
256
  }
257
  }
258
  if ( isset($_POST['submit-type']) && $_POST['submit-type'] == 'bitlyapi' ) {
297
 
298
  if ($shrink == FALSE) {
299
  if ($shortener == 1) {
300
+ $error = htmlentities( get_option('wp_supr_error') );
301
  } else if ( $shortener == 2 ) {
302
  $error = htmlentities( get_option('wp_bitly_error') );
303
  } else {
317
  if ($testpost) {
318
  $message .= __("<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>",'wp-to-twitter');
319
  } else {
320
+ $error = get_option('jd_status_message');
321
  $message .= __("<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>",'wp-to-twitter');
322
+ $message .= "<li class=\"error\">$error</li>";
323
  }
324
  } else {
325
  $message .= "<strong>"._e('You have not connected WordPress to Twitter.','wp-to-twitter')."</strong> ";
357
  <div class="resources">
358
  <img src="<?php echo $wp_to_twitter_directory; ?>/wp-to-twitter-logo.png" alt="WP to Twitter" />
359
  <p>
360
+ <a href="https://fundry.com/project/10-wp-to-twitter"><?php _e("Pledge to new features",'wp-to-twitter'); ?></a> &middot; <a href="http://www.joedolson.com/donate.php"><?php _e("Make a Donation",'wp-to-twitter'); ?></a>
361
+ </p>
362
+ <p>
363
+ <a href="?page=wp-to-twitter/wp-to-twitter.php&amp;export=settings"><?php _e("View Settings",'wp-to-twitter'); ?></a> &middot; <a href="http://www.joedolson.com/articles/wp-to-twitter/support/"><?php _e("Get Support",'wp-to-twitter'); ?></a>
364
  </p>
365
  <div>
366
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
384
  <li><?php _e("<code>#date#</code>: the post date", 'wp-to-twitter'); ?></li>
385
  <li><?php _e("<code>#url#</code>: the post URL", 'wp-to-twitter'); ?></li>
386
  <li><?php _e("<code>#author#</code>: the post author",'wp-to-twitter'); ?></li>
387
+ <li><?php _e("<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)",'wp-to-twitter'); ?></li>
388
  </ul>
389
  <p><?php _e("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>", 'wp-to-twitter'); ?>
390
 
395
  echo "<p><strong>".get_option( 'jd_status_message' )."</strong></p>";
396
  }
397
  if ( get_option( 'wp_url_failure' ) == '1' ) {
398
+ _e("<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. [<a href=\"http://www.stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>", 'wp-to-twitter');
399
  }
400
  echo $wp_to_twitter_failure;
401
  ?>
409
  ?>
410
  <div class="jd-settings" id="poststuff">
411
 
412
+ <?php if (function_exists('wtt_connect_oauth') ) { wtt_connect_oauth(); } ?>
413
 
414
  <div class="ui-sortable meta-box-sortables">
 
415
  <div class="postbox">
416
+
 
 
417
  <div class="handlediv" title="Click to toggle"><br/></div>
418
  <h3><?php _e('Basic Settings','wp-to-twitter'); ?></h3>
419
  <div class="inside">
424
  <legend><?php _e("Tweet Templates", 'wp-to-twitter'); ?></legend>
425
  <p>
426
  <input type="checkbox" name="newpost-published-update" id="newpost-published-update" value="1" <?php jd_checkCheckbox('newpost-published-update')?> />
427
+ <label for="newpost-published-update"><strong><?php _e("Update when a post is published", 'wp-to-twitter'); ?></strong></label> <label for="newpost-published-text"><br /><?php _e("Text for new post updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newpost-published-text" id="newpost-published-text" size="60" maxlength="120" value="<?php echo( esc_attr( stripslashes( get_option( 'newpost-published-text' ) ) ) ); ?>" />
428
  </p>
429
 
430
  <p>
431
  <?php if ( get_option( 'jd_twit_postie' ) != 1 ) { ?>
432
  <input type="checkbox" name="oldpost-edited-update" id="oldpost-edited-update" value="1" <?php jd_checkCheckbox('oldpost-edited-update')?> />
433
+ <label for="oldpost-edited-update"><strong><?php _e("Update when a post is edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpost-edited-text"><?php _e("Text for editing updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpost-edited-text" id="oldpost-edited-text" size="60" maxlength="120" value="<?php echo( esc_attr( stripslashes( get_option('oldpost-edited-text' ) ) ) ); ?>" />
434
  <?php } else { ?>
435
  <input type="checkbox" name="oldpost-edited-update" id="oldpost-edited-update" value="1" disabled="disabled" checked="checked" />
436
+ <label for="oldpost-edited-update"><strong><?php _e("Update when a post is edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpost-edited-text"><?php _e("Text for editing updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpost-edited-text" id="oldpost-edited-text" size="60" maxlength="120" value="<?php echo( esc_attr( stripslashes( get_option('oldpost-edited-text' ) ) ) ); ?>" readonly="readonly" />
437
  <br /><small><?php _e('You can not disable updates on edits when using Postie or similar plugins.'); ?></small>
438
  <?php } ?> </p>
439
  <p>
440
  <input type="checkbox" name="jd_twit_pages" id="jd_twit_pages" value="1" <?php jd_checkCheckbox('jd_twit_pages')?> />
441
+ <label for="jd_twit_pages"><strong><?php _e("Update Twitter when new Wordpress Pages are published", 'wp-to-twitter'); ?></strong></label><br /><label for="newpage-published-text"><?php _e("Text for new page updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newpage-published-text" id="newpage-published-text" size="60" maxlength="120" value="<?php echo( esc_attr( stripslashes( get_option('newpage-published-text' ) ) ) ); ?>" />
442
  </p>
443
  <p>
444
  <input type="checkbox" name="jd_twit_edited_pages" id="jd_twit_edited_pages" value="1" <?php jd_checkCheckbox('jd_twit_edited_pages')?> />
445
+ <label for="jd_twit_edited_pages"><strong><?php _e("Update Twitter when WordPress Pages are edited", 'wp-to-twitter'); ?></strong></label><br /><label for="oldpage-edited-text"><?php _e("Text for page edit updates:", 'wp-to-twitter'); ?></label> <input type="text" name="oldpage-edited-text" id="oldpage-edited-text" size="60" maxlength="120" value="<?php echo( esc_attr( stripslashes( get_option('oldpage-edited-text' ) ) ) ); ?>" />
446
  </p>
447
  <p>
448
  <input type="checkbox" name="jd_twit_blogroll" id="jd_twit_blogroll" value="1" <?php jd_checkCheckbox('jd_twit_blogroll')?> />
449
  <label for="jd_twit_blogroll"><strong><?php _e("Update Twitter when you post a Blogroll link", 'wp-to-twitter'); ?></strong></label><br />
450
+ <label for="newlink-published-text"><?php _e("Text for new link updates:", 'wp-to-twitter'); ?></label> <input type="text" name="newlink-published-text" id="newlink-published-text" size="60" maxlength="120" value="<?php echo ( esc_attr( stripslashes( get_option( 'newlink-published-text' ) ) ) ); ?>" /><br /><small><?php _e('Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>.','wp-to-twitter'); ?></small>
451
  </p>
452
  </fieldset>
453
  <fieldset>
454
  <legend><?php _e("Choose your short URL service (account settings below)",'wp-to-twitter' ); ?></legend>
455
  <p>
456
  <select name="jd_shortener" id="jd_shortener">
457
+ <option value="3" <?php jd_checkSelect('jd_shortener','3'); ?>><?php _e("Don't shorten URLs.", 'wp-to-twitter'); ?></option>
458
+ <option value="7" <?php jd_checkSelect('jd_shortener','7'); ?>><?php _e("Use Su.pr for my URL shortener.", 'wp-to-twitter'); ?></option>
459
  <option value="2" <?php jd_checkSelect('jd_shortener','2'); ?>><?php _e("Use Bit.ly for my URL shortener.", 'wp-to-twitter'); ?></option>
460
  <option value="5" <?php jd_checkSelect('jd_shortener','5'); ?>><?php _e("YOURLS (installed on this server)", 'wp-to-twitter'); ?></option>
461
  <option value="6" <?php jd_checkSelect('jd_shortener','6'); ?>><?php _e("YOURLS (installed on a remote server)", 'wp-to-twitter'); ?></option>
462
  <option value="4" <?php jd_checkSelect('jd_shortener','4'); ?>><?php _e("Use WordPress as a URL shortener.", 'wp-to-twitter'); ?></option>
 
463
  </select><br />
464
  <small><?php _e("Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs.", 'wp-to-twitter'); ?></small>
465
  </p>
474
  </div>
475
  </div>
476
  <div class="ui-sortable meta-box-sortables">
 
477
  <div class="postbox">
478
+ <div class="handlediv" title="Click to toggle"><br/></div>
 
 
479
  <h3><?php _e('<abbr title="Uniform Resource Locator">URL</abbr> Shortener Account Settings','wp-to-twitter'); ?></h3>
480
 
481
  <div class="inside">
482
  <div class="panel">
483
+ <h4 class="supr"><span><?php _e("Your Su.pr account details", 'wp-to-twitter'); ?></span></h4>
484
 
485
  <form method="post" action="">
486
  <div>
487
  <p>
488
+ <label for="suprlogin"><?php _e("Your Su.pr Username:", 'wp-to-twitter'); ?></label>
489
+ <input type="text" name="suprlogin" id="suprlogin" size="40" value="<?php echo ( esc_attr( get_option( 'suprlogin' ) ) ) ?>" />
490
+ </p>
491
+ <p>
492
+ <label for="suprapi"><?php _e("Your Su.pr <abbr title='application programming interface'>API</abbr> Key:", 'wp-to-twitter'); ?></label>
493
+ <input type="text" name="suprapi" id="suprapi" size="40" value="<?php echo ( esc_attr( get_option( 'suprapi' ) ) ) ?>" />
494
  </p>
495
  <div>
496
+ <input type="hidden" name="submit-type" value="suprapi" />
497
  </div>
498
+ <p><input type="submit" name="submit" value="Save Su.pr API Key" class="button-primary" /> <input type="submit" name="clear" value="Clear Su.pr API Key" />&raquo; <small><?php _e("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.", 'wp-to-twitter'); ?></small></p>
499
  </div>
500
  </form>
501
  </div>
507
  <div>
508
  <p>
509
  <label for="bitlylogin"><?php _e("Your Bit.ly username:", 'wp-to-twitter'); ?></label>
510
+ <input type="text" name="bitlylogin" id="bitlylogin" value="<?php echo ( esc_attr( get_option( 'bitlylogin' ) ) ) ?>" />
511
  </p>
512
  <p>
513
  <label for="bitlyapi"><?php _e("Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:", 'wp-to-twitter'); ?></label>
514
+ <input type="text" name="bitlyapi" id="bitlyapi" size="40" value="<?php echo ( esc_attr( get_option( 'bitlyapi' ) ) ) ?>" />
515
  </p>
516
 
517
  <div>
526
  <form method="post" action="">
527
  <div>
528
  <p>
529
+ <label for="yourlspath"><?php _e('Path to your YOURLS config file (Local installations)','wp-to-twitter'); ?></label> <input type="text" id="yourlspath" name="yourlspath" size="60" value="<?php echo ( esc_attr( get_option( 'yourlspath' ) ) ); ?>"/>
530
  <small><?php _e('Example:','wp-to-twitter'); ?> <code>/home/username/www/www/yourls/includes/config.php</code></small>
531
  </p>
532
  <p>
533
+ <label for="yourlsurl"><?php _e('URI to the YOURLS API (Remote installations)','wp-to-twitter'); ?></label> <input type="text" id="yourlsurl" name="yourlsurl" size="60" value="<?php echo ( esc_attr( get_option( 'yourlsurl' ) ) ); ?>"/>
534
  <small><?php _e('Example:','wp-to-twitter'); ?> <code>http://domain.com/yourls-api.php</code></small>
535
  </p>
536
  <p>
537
  <label for="yourlslogin"><?php _e("Your YOURLS username:", 'wp-to-twitter'); ?></label>
538
+ <input type="text" name="yourlslogin" id="yourlslogin" value="<?php echo ( esc_attr( get_option( 'yourlslogin' ) ) ) ?>" />
539
  </p>
540
  <p>
541
  <label for="yourlsapi"><?php _e("Your YOURLS password:", 'wp-to-twitter'); ?> <?php if ( get_option( 'yourlsapi' ) != '') { _e("<em>Saved</em>",'wp-to-twitter'); } ?></label>
557
  </div>
558
 
559
  <div class="ui-sortable meta-box-sortables">
 
560
  <div class="postbox">
 
 
 
 
561
  <div class="handlediv" title="Click to toggle"><br/></div>
562
  <h3><?php _e('Advanced Settings','wp-to-twitter'); ?></h3>
563
  <div class="inside">
568
  <fieldset>
569
  <legend><?php _e("Advanced Tweet settings","wp-to-twitter"); ?></legend>
570
  <p>
571
+ <input type="checkbox" name="use_tags_as_hashtags" id="use_tags_as_hashtags" value="1" <?php jd_checkCheckbox('use_tags_as_hashtags'); ?> /> <label for="use_tags_as_hashtags"><?php _e("Add tags as hashtags on Tweets", 'wp-to-twitter'); ?></label> <input type="checkbox" name="jd_strip_nonan" id="jd_strip_nonan" value="1" <?php jd_checkCheckbox('jd_strip_nonan'); ?> /> <label for="jd_strip_nonan"><?php _e("Strip nonalphanumeric characters",'wp-to-twitter'); ?></label><br />
572
+ <label for="jd_replace_character"><?php _e("Spaces replaced with:",'wp-to-twitter'); ?></label> <input type="text" name="jd_replace_character" id="jd_replace_character" value="<?php echo esc_attr( get_option('jd_replace_character') ); ?>" size="3" /><br />
573
+
574
  <small><?php _e("Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely.",'wp-to-twitter'); ?></small>
575
  </p>
576
  <p>
577
+ <label for="jd_max_tags"><?php _e("Maximum number of tags to include:",'wp-to-twitter'); ?></label> <input type="text" name="jd_max_tags" id="jd_max_tags" value="<?php echo esc_attr( get_option('jd_max_tags') ); ?>" size="3" />
578
+ <label for="jd_max_characters"><?php _e("Maximum length in characters for included tags:",'wp-to-twitter'); ?></label> <input type="text" name="jd_max_characters" id="jd_max_characters" value="<?php echo esc_attr( get_option('jd_max_characters') ); ?>" size="3" /><br />
579
  <small><?php _e("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.",'wp-to-twitter'); ?></small>
580
  </p>
581
  <p>
582
+ <label for="jd_post_excerpt"><?php _e("Length of post excerpt (in characters):", 'wp-to-twitter'); ?></label> <input type="text" name="jd_post_excerpt" id="jd_post_excerpt" size="3" maxlength="3" value="<?php echo ( esc_attr( get_option( 'jd_post_excerpt' ) ) ) ?>" /><br /><small><?php _e("By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead.", 'wp-to-twitter'); ?></small>
583
  </p>
584
  <p>
585
+ <label for="jd_date_format"><?php _e("WP to Twitter Date Formatting:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_date_format" id="jd_date_format" size="12" maxlength="12" value="<?php if (get_option('jd_date_format')=='') { echo ( esc_attr( get_option('date_format') ) ); } else { echo ( esc_attr( get_option( 'jd_date_format' ) ) ); }?>" /> (<?php if ( get_option( 'jd_date_format' ) != '' ) { echo date_i18n( get_option( 'jd_date_format' ) ); } else { echo date_i18n( get_option( 'date_format' ) ); } ?>)<br />
586
  <small><?php _e("Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>.", 'wp-to-twitter'); ?></small>
587
  </p>
588
 
589
  <p>
590
+ <label for="jd_twit_prepend"><?php _e("Custom text before all Tweets:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_prepend" id="jd_twit_prepend" size="20" maxlength="20" value="<?php echo ( esc_attr( get_option( 'jd_twit_prepend' ) ) ) ?>" />
591
+ <label for="jd_twit_append"><?php _e("Custom text after all Tweets:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_append" id="jd_twit_append" size="20" maxlength="20" value="<?php echo ( esc_attr( get_option( 'jd_twit_append' ) ) ) ?>" />
592
  </p>
593
  <p>
594
+ <label for="jd_twit_custom_url"><?php _e("Custom field for an alternate URL to be shortened and Tweeted:", 'wp-to-twitter'); ?></label> <input type="text" name="jd_twit_custom_url" id="jd_twit_custom_url" size="40" maxlength="120" value="<?php echo ( esc_attr( get_option( 'jd_twit_custom_url' ) ) ) ?>" /><br />
595
  <small><?php _e("You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL.", 'wp-to-twitter'); ?></small>
596
  </p>
597
  </fieldset>
620
  <p>
621
  <input type="checkbox" name="use-twitter-analytics" id="use-twitter-analytics" value="1" <?php jd_checkCheckbox('use-twitter-analytics')?> />
622
  <label for="use-twitter-analytics"><?php _e("Use a Static Identifier with WP-to-Twitter", 'wp-to-twitter'); ?></label><br />
623
+ <label for="twitter-analytics-campaign"><?php _e("Static Campaign identifier for Google Analytics:", 'wp-to-twitter'); ?></label> <input type="text" name="twitter-analytics-campaign" id="twitter-analytics-campaign" size="40" maxlength="120" value="<?php echo ( esc_attr( get_option( 'twitter-analytics-campaign' ) ) ) ?>" /><br />
624
  </p>
625
  <p>
626
  <input type="checkbox" name="use-dynamic-analytics" id="use-dynamic-analytics" value="1" <?php jd_checkCheckbox('use_dynamic_analytics')?> />
638
  <legend><?php _e('Individual Authors','wp-to-twitter'); ?></legend>
639
  <p>
640
  <input type="checkbox" name="jd_individual_twitter_users" id="jd_individual_twitter_users" value="1" <?php jd_checkCheckbox('jd_individual_twitter_users')?> />
641
+ <label for="jd_individual_twitter_users"><?php _e("Authors have individual Twitter accounts", 'wp-to-twitter'); ?></label><br /><small><?php _e('Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author. This @reference is placed using the <code>#account#</code> shortcode. (It will pick up the main account if user accounts are not enabled.)', 'wp-to-twitter'); ?></small>
642
+ </p>
643
+ <p>
644
+ <label for="wtt_user_permissions"><?php _e('Choose the lowest user group that can add their Twitter information','wp-to-twitter'); ?></label> <select id="wtt_user_permissions" name="wtt_user_permissions">
645
+ <option value="read"<?php echo wtt_option_selected(get_option('wtt_user_permissions'),'read','option'); ?>><?php _e('Subscriber','wp-to-twitter')?></option>
646
+ <option value="edit_posts"<?php echo wtt_option_selected(get_option('wtt_user_permissions'),'edit_posts','option'); ?>><?php _e('Contributor','wp-to-twitter')?></option>
647
+ <option value="publish_posts"<?php echo wtt_option_selected(get_option('wtt_user_permissions'),'publish_posts','option'); ?>><?php _e('Author','wp-to-twitter')?></option>
648
+ <option value="moderate_comments"<?php echo wtt_option_selected(get_option('wtt_user_permissions'),'moderate_comments','option'); ?>><?php _e('Editor','wp-to-twitter')?></option>
649
+ <option value="manage_options"<?php echo wtt_option_selected(get_option('wtt_user_permissions'),'manage_options','option'); ?>><?php _e('Administrator','wp-to-twitter')?></option>
650
+ </select>
651
+ </p>
652
  </fieldset>
653
  <fieldset>
654
  <legend><?php _e('Disable Error Messages','wp-to-twitter'); ?></legend>
679
  </div>
680
  </div>
681
  <div class="ui-sortable meta-box-sortables">
 
682
  <div class="postbox">
 
 
 
683
 
684
  <div class="handlediv" title="Click to toggle"><br/></div>
685
  <h3><?php _e('Limit Updating Categories','wp-to-twitter'); ?></h3>
686
  <div class="inside">
687
  <br class="clear" />
688
  <p>
689
+ <?php _e('Select which blog categories will be Tweeted. Uncheck all categories to disable category limits.','wp-to-twitter'); ?>
690
  <?php
691
  if ( get_option('limit_categories') == '0' ) {
692
  _e('<em>Category limits are disabled.</em>','wp-to-twitter');
709
  </form>
710
  </div>
711
  </div>
712
+ <?php global $wp_version;
 
 
 
 
 
 
 
wp-to-twitter-oauth.php CHANGED
@@ -73,6 +73,9 @@ switch ( $_POST['oauth_settings'] ) {
73
  }
74
  }
75
  }
 
 
 
76
  return $message;
77
  break;
78
  case 'wtt_twitter_disconnect':
@@ -93,25 +96,23 @@ switch ( $_POST['oauth_settings'] ) {
93
  // connect or disconnect form
94
  function wtt_connect_oauth() {
95
  echo '<div class="ui-sortable meta-box-sortables">';
96
- if ( !wtt_oauth_test() ) {
97
  echo '<div class="postbox">';
98
- } else {
99
- echo '<div class="postbox closed">';
100
- }
101
  echo '<div class="handlediv" title="Click to toggle"><br/></div>';
 
102
 
103
  if ( !wtt_oauth_test() ) {
104
  print('
105
  <h3>'.__('Connect to Twitter','wp-to-twitter').'</h3>
106
  <div class="inside">
107
- <br class="clear" />
108
- <p>'.__('The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter at this time. Note that you will not, at any time, enter you Twitter username or password into WP to Twitter; they are not used in OAuth authentication.', 'wp-to-twitter').'</p>
 
109
  <form action="" method="post">
110
  <fieldset class="options">
111
  <h4>'.__('1. Register this site as an application on ', 'wp-to-twitter') . '<a href="http://dev.twitter.com/apps/new" target="_blank">'.__('Twitter\'s application registration page','wp-to-twitter').'</a></h4>
112
  <ul>
113
  <li>'.__('If you\'re not currently logged in, use the Twitter username and password which you want associated with this site' , 'wp-to-twitter').'</li>
114
- <li>'.__('Your Application\'s Name will be what shows up after "via" in your twitter stream; previously, "WP to Twitter." Your application name cannot include the word "Twitter." I suggest using the name of your web site.' , 'wp-to-twitter').'</li>
115
  <li>'.__('Your Application Description can be whatever you want.','wp-to-twitter').'</li>
116
  <li>'.__('Application Type should be set on ' , 'wp-to-twitter').'<strong>'.__('Browser' , 'wp-to-twitter').'</strong></li>
117
  <li>'.__('The Callback URL should be ' , 'wp-to-twitter').'<strong>'. get_bloginfo( 'url' ) .'</strong></li>
@@ -175,5 +176,4 @@ echo '<div class="handlediv" title="Click to toggle"><br/></div>';
175
  }
176
  echo "</div>";
177
  echo "</div>";
178
- }
179
- ?>
73
  }
74
  }
75
  }
76
+ if ( $message == 'failed' && ( time() < strtotime( $connection->http_header['date'] )-300 || time() > strtotime( $connection->http_header['date'] )+300 ) ) {
77
+ $message = 'nosync';
78
+ }
79
  return $message;
80
  break;
81
  case 'wtt_twitter_disconnect':
96
  // connect or disconnect form
97
  function wtt_connect_oauth() {
98
  echo '<div class="ui-sortable meta-box-sortables">';
 
99
  echo '<div class="postbox">';
 
 
 
100
  echo '<div class="handlediv" title="Click to toggle"><br/></div>';
101
+ $server_time = date_i18n( DATE_COOKIE );
102
 
103
  if ( !wtt_oauth_test() ) {
104
  print('
105
  <h3>'.__('Connect to Twitter','wp-to-twitter').'</h3>
106
  <div class="inside">
107
+ <br class="clear" />
108
+ <p>'.__('Your server time is','my-calendar').' <code>'.$server_time.'</code>. '.__( 'If this is wrong, your server will not be able to connect with Twitter. (<strong>Note:</strong> your server time may not match your current time, but it should be correct for it\'s own time zone.)','my-calendar').'</p>
109
+ <p>'.__('The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter. Note that you will not add your Twitter username or password to WP to Twitter; they are not used in OAuth authentication.', 'wp-to-twitter').'</p>
110
  <form action="" method="post">
111
  <fieldset class="options">
112
  <h4>'.__('1. Register this site as an application on ', 'wp-to-twitter') . '<a href="http://dev.twitter.com/apps/new" target="_blank">'.__('Twitter\'s application registration page','wp-to-twitter').'</a></h4>
113
  <ul>
114
  <li>'.__('If you\'re not currently logged in, use the Twitter username and password which you want associated with this site' , 'wp-to-twitter').'</li>
115
+ <li>'.__('Your Application\'s Name will be what shows up after "via" in your twitter stream. Your application name cannot include the word "Twitter." Use the name of your web site.' , 'wp-to-twitter').'</li>
116
  <li>'.__('Your Application Description can be whatever you want.','wp-to-twitter').'</li>
117
  <li>'.__('Application Type should be set on ' , 'wp-to-twitter').'<strong>'.__('Browser' , 'wp-to-twitter').'</strong></li>
118
  <li>'.__('The Callback URL should be ' , 'wp-to-twitter').'<strong>'. get_bloginfo( 'url' ) .'</strong></li>
176
  }
177
  echo "</div>";
178
  echo "</div>";
179
+ }
 
wp-to-twitter-pt_BR.mo ADDED
Binary file
wp-to-twitter-pt_BR.po ADDED
@@ -0,0 +1,881 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
5
+ "POT-Creation-Date: 2011-04-12 22:29:25+00:00\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Matheus Bratfisch <matheusbrat@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-Language: Portuguese\n"
14
+ "X-Poedit-Country: BRAZIL\n"
15
+ "X-Poedit-Bookmarks: 1,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
16
+
17
+ #: functions.php:193
18
+ 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."
19
+ msgstr "[<a href='options-general.php?page=wp-totwitter/wp-to-twitter.php'>Esconder</a>] Se você está com problemas, por favor copie estas configurações ao requisitar suporte."
20
+
21
+ #: wp-to-twitter-oauth.php:105
22
+ #: wp-to-twitter-oauth.php:144
23
+ msgid "Connect to Twitter"
24
+ msgstr "Conectar ao Twitter"
25
+
26
+ #: wp-to-twitter-oauth.php:109
27
+ msgid "The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter. Note that you will not add your Twitter username or password to WP to Twitter; they are not used in OAuth authentication."
28
+ msgstr "O processo para configurar a autenticação (OAuth) é necessária. Também é confuso. Entretanto, este é o unico método disponivel. Note que você não adicionará seu usuário e senha do Twitter; Eles não são usados na autenticação OAuth."
29
+
30
+ #: wp-to-twitter-oauth.php:112
31
+ msgid "1. Register this site as an application on "
32
+ msgstr "1. Registre este site como um aplicativo no"
33
+
34
+ #: wp-to-twitter-oauth.php:112
35
+ msgid "Twitter's application registration page"
36
+ msgstr "Página de registro de aplicação do Twitter"
37
+
38
+ #: wp-to-twitter-oauth.php:114
39
+ msgid "If you're not currently logged in, use the Twitter username and password which you want associated with this site"
40
+ msgstr "Se você não está logado, use seu usuário e senha que você quer associar com esse site."
41
+
42
+ #: wp-to-twitter-oauth.php:115
43
+ msgid "Your Application's Name will be what shows up after \"via\" in your twitter stream. Your application name cannot include the word \"Twitter.\" Use the name of your web site."
44
+ msgstr "O nome da sua aplicação será o que é mostrado depois do \"via\" no seu twitter. Sua aplicação não pode ter o nome \"Twitter.\" Use o nome do seu site."
45
+
46
+ #: wp-to-twitter-oauth.php:116
47
+ msgid "Your Application Description can be whatever you want."
48
+ msgstr "A descrição da sua aplicação pode ser o que você quizer."
49
+
50
+ #: wp-to-twitter-oauth.php:117
51
+ msgid "Application Type should be set on "
52
+ msgstr "Tipo de aplicação deve ser definida"
53
+
54
+ #: wp-to-twitter-oauth.php:117
55
+ msgid "Browser"
56
+ msgstr "Navegador"
57
+
58
+ #: wp-to-twitter-oauth.php:118
59
+ msgid "The Callback URL should be "
60
+ msgstr "A url de \"CallBack\" deve ser"
61
+
62
+ #: wp-to-twitter-oauth.php:119
63
+ msgid "Default Access type must be set to "
64
+ msgstr "Tipo de acesso padrão deve ser definido como"
65
+
66
+ #: wp-to-twitter-oauth.php:119
67
+ msgid "Read &amp; Write"
68
+ msgstr "Ler &amp; Escrever"
69
+
70
+ #: wp-to-twitter-oauth.php:119
71
+ msgid "(this is NOT the default)"
72
+ msgstr "(este NÃO é o padrão)"
73
+
74
+ #: wp-to-twitter-oauth.php:121
75
+ msgid "Once you have registered your site as an application, you will be provided with a consumer key and a consumer secret."
76
+ msgstr "Quando você registrar seu site como uma aplicação, você receberá uma \"consumer key\" e \"consumer secret\"."
77
+
78
+ #: wp-to-twitter-oauth.php:122
79
+ msgid "2. Copy and paste your consumer key and consumer secret into the fields below"
80
+ msgstr "2. Copie e cole sua \"consumer key\" e \"consumer secret\" nos campos abaixo"
81
+
82
+ #: wp-to-twitter-oauth.php:125
83
+ msgid "Twitter Consumer Key"
84
+ msgstr "Twitter Consumer Key"
85
+
86
+ #: wp-to-twitter-oauth.php:129
87
+ msgid "Twitter Consumer Secret"
88
+ msgstr "Twitter Consumer Secret"
89
+
90
+ #: wp-to-twitter-oauth.php:132
91
+ msgid "3. Copy and paste your Access Token and Access Token Secret into the fields below"
92
+ msgstr "3. Copie e cole seu \"Access Token\" e \"Access Token Secret\" nos campos abaixo"
93
+
94
+ #: wp-to-twitter-oauth.php:133
95
+ msgid "On the right hand side of your new application page at Twitter, click on 'My Access Token'."
96
+ msgstr "No lado direito, da sua nova aplicação no Twitter, pressione 'My Access Token'."
97
+
98
+ #: wp-to-twitter-oauth.php:135
99
+ msgid "Access Token"
100
+ msgstr "Access Token"
101
+
102
+ #: wp-to-twitter-oauth.php:139
103
+ msgid "Access Token Secret"
104
+ msgstr "Access Token Secret"
105
+
106
+ #: wp-to-twitter-oauth.php:154
107
+ msgid "Disconnect from Twitter"
108
+ msgstr "Desconectar do Twitter"
109
+
110
+ #: wp-to-twitter-oauth.php:161
111
+ msgid "Twitter Username "
112
+ msgstr "Usuário Twitter"
113
+
114
+ #: wp-to-twitter-oauth.php:162
115
+ msgid "Consumer Key "
116
+ msgstr "Consumer Key"
117
+
118
+ #: wp-to-twitter-oauth.php:163
119
+ msgid "Consumer Secret "
120
+ msgstr "Consumer Secret"
121
+
122
+ #: wp-to-twitter-oauth.php:164
123
+ msgid "Access Token "
124
+ msgstr "Access Token"
125
+
126
+ #: wp-to-twitter-oauth.php:165
127
+ msgid "Access Token Secret "
128
+ msgstr "Access Token Secret"
129
+
130
+ #: wp-to-twitter-oauth.php:168
131
+ msgid "Disconnect Your WordPress and Twitter Account"
132
+ msgstr "Desconectar seu Wordpress e conta do Twitter"
133
+
134
+ #: wp-to-twitter.php:49
135
+ msgid "WP to Twitter requires PHP version 5 or above with cURL support. Please upgrade PHP or install cURL to run WP to Twitter."
136
+ msgstr "WP to Twitter requer PHP versão 5 ou mais com suporte a cURL. Por favor atualize seu PHP ou instale cURL para rodar WP to Twitter."
137
+
138
+ #: wp-to-twitter.php:70
139
+ msgid "WP to Twitter requires WordPress 2.9.2 or a more recent version. <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Please update your WordPress version!</a>"
140
+ msgstr "WP to Twitter requer Wordpress versão 2.9.2 ou mais recente. <a href=\"http://codex.wordpress.org/Upgrading_WordPress\">Por favor atualize seu Wordpress!</a>"
141
+
142
+ #: wp-to-twitter.php:84
143
+ msgid "Twitter now requires authentication by OAuth. You will need you to update your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
144
+ msgstr "Twitter requer autenticação via OAuth. Você precisará atualizar suas <a href=\"%s\">configurações</a> para continuar a usar o WP to Twitter."
145
+
146
+ #: wp-to-twitter.php:150
147
+ msgid "200 OK: Success!"
148
+ msgstr "200: OK: Sucesso!"
149
+
150
+ #: wp-to-twitter.php:154
151
+ msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
152
+ msgstr "400 Bad Request: A requisição foi inválida. Este é o código de status retornado."
153
+
154
+ #: wp-to-twitter.php:158
155
+ msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
156
+ msgstr "401 Unauthorized: Credenciais de autenticação faltando ou incorretas."
157
+
158
+ #: wp-to-twitter.php:162
159
+ msgid "403 Forbidden: The request is understood, but it has been refused. This code is used when requests are understood, but are denied by Twitter. Reasons include exceeding the 140 character limit or the API update limit."
160
+ msgstr "403 Forbidden: A requisição foi entendida, mas foi negada. Este código é usado quando requisições são entendidas, mas são negadas pelo Twitter. Razões incluem execeder os 140 caracteres ou limite de upload na API."
161
+
162
+ #: wp-to-twitter.php:166
163
+ msgid "500 Internal Server Error: Something is broken at Twitter."
164
+ msgstr "500 Internal Server Error: Algo está quebrado no Twitter."
165
+
166
+ #: wp-to-twitter.php:170
167
+ msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
168
+ msgstr "503 Services Unavailable: Os servidores do Twitter estão funcionando, mas estão sobrecarregados, tente mais tarde."
169
+
170
+ #: wp-to-twitter.php:174
171
+ msgid "502 Bad Gateway: Twitter is down or being upgraded."
172
+ msgstr "502 Bad Gateway: Twitter está fora ou sendo atualizado."
173
+
174
+ #. #-#-#-#-# plugin.pot (WP to Twitter 2.2.9) #-#-#-#-#
175
+ #. Plugin Name of the plugin/theme
176
+ #: wp-to-twitter.php:803
177
+ msgid "WP to Twitter"
178
+ msgstr "WP to Twitter"
179
+
180
+ #: wp-to-twitter.php:865
181
+ msgid "Custom Twitter Post"
182
+ msgstr "Publicação Personalizada no Twitter"
183
+
184
+ #: wp-to-twitter.php:874
185
+ #: wp-to-twitter-manager.php:360
186
+ msgid "Make a Donation"
187
+ msgstr "Faça uma doação"
188
+
189
+ #: wp-to-twitter.php:874
190
+ #: wp-to-twitter-manager.php:363
191
+ msgid "Get Support"
192
+ msgstr "Receba suporte"
193
+
194
+ #: wp-to-twitter.php:877
195
+ msgid "Don't Tweet this post."
196
+ msgstr "Não Tweete esta publicação"
197
+
198
+ #: wp-to-twitter.php:887
199
+ msgid "This URL is direct and has not been shortened: "
200
+ msgstr "Esta URL é direta e não foi encurtada."
201
+
202
+ #: wp-to-twitter.php:946
203
+ msgid "WP to Twitter User Settings"
204
+ msgstr "WP to Twitter Configuração do usuário"
205
+
206
+ #: wp-to-twitter.php:950
207
+ msgid "Use My Twitter Username"
208
+ msgstr "Use meu usuário do Twitter"
209
+
210
+ #: wp-to-twitter.php:951
211
+ msgid "Tweet my posts with an @ reference to my username."
212
+ msgstr "Publique meus Posts com um @ referenciando meu usuário."
213
+
214
+ #: wp-to-twitter.php:952
215
+ msgid "Tweet my posts with an @ reference to both my username and to the main site username."
216
+ msgstr "Publique meus Posts com um @ referenciando ambos meu usuário e usuário principal do site."
217
+
218
+ #: wp-to-twitter.php:956
219
+ msgid "Your Twitter Username"
220
+ msgstr "Seu usuário do Twitter"
221
+
222
+ #: wp-to-twitter.php:957
223
+ msgid "Enter your own Twitter username."
224
+ msgstr "Insira seu próprio usuário do Twitter"
225
+
226
+ #: wp-to-twitter.php:996
227
+ msgid "Check the categories you want to tweet:"
228
+ msgstr "Selecione as categorias que você quer Tweetar:"
229
+
230
+ #: wp-to-twitter.php:1013
231
+ msgid "Set Categories"
232
+ msgstr "Defina categorias"
233
+
234
+ #: wp-to-twitter.php:1037
235
+ msgid "<p>Couldn't locate the settings page.</p>"
236
+ msgstr "<p>Não pode localizar página de configurações.</p>"
237
+
238
+ #: wp-to-twitter.php:1042
239
+ msgid "Settings"
240
+ msgstr "Configurações"
241
+
242
+ #: wp-to-twitter-manager.php:76
243
+ msgid "WP to Twitter is now connected with Twitter."
244
+ msgstr "WP to Twitter está agora conectado com o Twitter."
245
+
246
+ #: wp-to-twitter-manager.php:86
247
+ msgid "OAuth Authentication Data Cleared."
248
+ msgstr "Dados de autenticação OAuth limpos."
249
+
250
+ #: wp-to-twitter-manager.php:93
251
+ msgid "OAuth Authentication Failed. Your server time is not in sync with the Twitter servers. Talk to your hosting service to see what can be done."
252
+ msgstr "Autenticação OAuth falhou. O horário do seu servidor não está sincronizado com o do Twitter. Converse com seu host para ver o que pode ser feito."
253
+
254
+ #: wp-to-twitter-manager.php:100
255
+ msgid "OAuth Authentication response not understood."
256
+ msgstr "Resposta de autenticação OAuth não compreendida."
257
+
258
+ #: wp-to-twitter-manager.php:109
259
+ msgid "WP to Twitter Errors Cleared"
260
+ msgstr "WP to Twitter erros limpos"
261
+
262
+ #: wp-to-twitter-manager.php:116
263
+ 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! "
264
+ msgstr "Desculpe! Não foi possivel se comunicar com os servidores do Twitter para publicar sua publicação. Seu Tweet foi gravado em um campo anexado a publicação, para você Tweetar manualmente."
265
+
266
+ #: wp-to-twitter-manager.php:118
267
+ msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
268
+ msgstr "Desculpe! Não foi possivel se comunicar com os servidores do Twitter para publicar <strong>new link</strong>! Você terá que postar ele manualmente."
269
+
270
+ #: wp-to-twitter-manager.php:156
271
+ msgid "WP to Twitter Advanced Options Updated"
272
+ msgstr "WP to Twitter Opções Avançadas de Atualização"
273
+
274
+ #: wp-to-twitter-manager.php:173
275
+ msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
276
+ msgstr "Você deve adicionar seu usuário Bit.ly e API key para encurtar URLs com Bit.ly"
277
+
278
+ #: wp-to-twitter-manager.php:177
279
+ msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
280
+ msgstr "Você deve adicionar sua URL remota do YOURLS, usuário e senha para encurtar URLs com uma instalação remota do YOURLS."
281
+
282
+ #: wp-to-twitter-manager.php:181
283
+ msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
284
+ msgstr "Você deve adicionar o caminho do servidor para encurtar suas URLs com uma instalação remota do YOURLS."
285
+
286
+ #: wp-to-twitter-manager.php:185
287
+ msgid "WP to Twitter Options Updated"
288
+ msgstr "WP to Twitter Opções atualizadas"
289
+
290
+ #: wp-to-twitter-manager.php:195
291
+ msgid "Category limits updated."
292
+ msgstr "Limites de categorias atualizados."
293
+
294
+ #: wp-to-twitter-manager.php:199
295
+ msgid "Category limits unset."
296
+ msgstr "Limite de categorias indefinido."
297
+
298
+ #: wp-to-twitter-manager.php:207
299
+ msgid "YOURLS password updated. "
300
+ msgstr "YOURLS senha atualizada"
301
+
302
+ #: wp-to-twitter-manager.php:210
303
+ msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
304
+ msgstr "YOURLS senha deletada. Você será incapaz de usar seu YOURLS remote para encurtar URLS."
305
+
306
+ #: wp-to-twitter-manager.php:212
307
+ msgid "Failed to save your YOURLS password! "
308
+ msgstr "Falha ao salvar sua senha YOURLS!"
309
+
310
+ #: wp-to-twitter-manager.php:216
311
+ msgid "YOURLS username added. "
312
+ msgstr "YOURS usuário adicionado"
313
+
314
+ #: wp-to-twitter-manager.php:220
315
+ msgid "YOURLS API url added. "
316
+ msgstr "YOURLS API url adicionada."
317
+
318
+ #: wp-to-twitter-manager.php:223
319
+ msgid "YOURLS API url removed. "
320
+ msgstr "YOURLS API url removida."
321
+
322
+ #: wp-to-twitter-manager.php:228
323
+ msgid "YOURLS local server path added. "
324
+ msgstr "YOURLS caminho local do servidor adicionado."
325
+
326
+ #: wp-to-twitter-manager.php:230
327
+ msgid "The path to your YOURLS installation is not correct. "
328
+ msgstr "O caminho para a instalação do seu YOURLS está incorreto."
329
+
330
+ #: wp-to-twitter-manager.php:234
331
+ msgid "YOURLS local server path removed. "
332
+ msgstr "YOURLS caminho local do servidor removido."
333
+
334
+ #: wp-to-twitter-manager.php:238
335
+ msgid "YOURLS will use Post ID for short URL slug."
336
+ msgstr "YOURLS utilizará ID do Post para chave da sua URL encurtada."
337
+
338
+ #: wp-to-twitter-manager.php:241
339
+ msgid "YOURLS will not use Post ID for the short URL slug."
340
+ msgstr "YOURLS não utilizará ID do Post para chave da sua URL encurtada."
341
+
342
+ #: wp-to-twitter-manager.php:249
343
+ msgid "Su.pr API Key and Username Updated"
344
+ msgstr "Su.pr API Key e usuários atualizados"
345
+
346
+ #: wp-to-twitter-manager.php:253
347
+ msgid "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will no longer be associated with your account. "
348
+ msgstr "Su.pr API Key e usuário deletados. Su.pr URLs criados pelo WP to Twitter não estarão mais associados a sua conta."
349
+
350
+ #: wp-to-twitter-manager.php:255
351
+ msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
352
+ msgstr "Su.pr API Key não adicionada - <a href='http://su.pr/'>pegue uma aqui</a>! "
353
+
354
+ #: wp-to-twitter-manager.php:261
355
+ msgid "Bit.ly API Key Updated."
356
+ msgstr "Bit.ly API Key atualizada."
357
+
358
+ #: wp-to-twitter-manager.php:264
359
+ msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
360
+ msgstr "Bit.ly API Key deletada. Você não pode usar API do Bit.ly sem uma API key."
361
+
362
+ #: wp-to-twitter-manager.php:266
363
+ 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."
364
+ msgstr "Bit.ly API Key não adicionada - <a href='http://bit.ly/account/'>pegue uma aqui</a>! Uma API Key é necessária para utilizar o encurtador Bit.ly"
365
+
366
+ #: wp-to-twitter-manager.php:270
367
+ msgid " Bit.ly User Login Updated."
368
+ msgstr "Bit.ly usuário atualizado."
369
+
370
+ #: wp-to-twitter-manager.php:273
371
+ msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
372
+ msgstr "Bit.ly usuário deletado. Você não pode utilizar a API do Bit.ly sem um usuário."
373
+
374
+ #: wp-to-twitter-manager.php:275
375
+ msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
376
+ msgstr "Bit.ly Usuário não adicionado - - <a href='http://bit.ly/account/'>pegue um aqui</a>! "
377
+
378
+ #: wp-to-twitter-manager.php:304
379
+ msgid "No error information is available for your shortener."
380
+ msgstr "Nenhuma informação de erro está disponivel para seu encurtador."
381
+
382
+ #: wp-to-twitter-manager.php:306
383
+ msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
384
+ msgstr "<li class=\"error\"><strong>WP to Twitter foi incapaz de conectar com o seu serviço de encurtar URL.</strong></li>"
385
+
386
+ #: wp-to-twitter-manager.php:309
387
+ msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
388
+ msgstr "<li><strong>WP to Twitter conectou com sucesso ao seu serviço de encurtar URLs.</strong> Este link deve apontar para página inicial do seu blog:"
389
+
390
+ #: wp-to-twitter-manager.php:318
391
+ msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
392
+ msgstr "<li><strong>WP to Twitter enviou com sucesso atualização de status para o Twitter.</strong></li>"
393
+
394
+ #: wp-to-twitter-manager.php:321
395
+ msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
396
+ msgstr "<li class=\"error\"><strong>WP to Twitter falhou ao enviar atualização parao Twitter</strong></li>"
397
+
398
+ #: wp-to-twitter-manager.php:325
399
+ msgid "You have not connected WordPress to Twitter."
400
+ msgstr "Você não tem o Wordpress conectado ao Twitter."
401
+
402
+ #: wp-to-twitter-manager.php:329
403
+ msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
404
+ msgstr "<li class=\"error\"><strong>Seu servidor parece não suportar os métodos necessários para suportar o WP to Twitter.</strong> Você pode testa-lo de qualquer maneira - os testes não são perfeitos</li>"
405
+
406
+ #: wp-to-twitter-manager.php:333
407
+ msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
408
+ msgstr "<li><strong>Seu servidor deve rodar WP to Twitter com sucesso.</strong></li>"
409
+
410
+ #: wp-to-twitter-manager.php:350
411
+ msgid "WP to Twitter Options"
412
+ msgstr "WP to Twitter Opções"
413
+
414
+ #: wp-to-twitter-manager.php:360
415
+ msgid "Pledge to new features"
416
+ msgstr "Peça novas Funcionalidades"
417
+
418
+ #: wp-to-twitter-manager.php:363
419
+ msgid "View Settings"
420
+ msgstr "Veja configurações"
421
+
422
+ #: wp-to-twitter-manager.php:378
423
+ msgid "Shortcodes available in post update templates:"
424
+ msgstr "Shortcodes disponiveis no template de atualização do post:"
425
+
426
+ #: wp-to-twitter-manager.php:380
427
+ msgid "<code>#title#</code>: the title of your blog post"
428
+ msgstr "<code>#title#</code>: Título do seu post."
429
+
430
+ #: wp-to-twitter-manager.php:381
431
+ msgid "<code>#blog#</code>: the title of your blog"
432
+ msgstr "<code>#blog#</code>: Título do seu Blog"
433
+
434
+ #: wp-to-twitter-manager.php:382
435
+ msgid "<code>#post#</code>: a short excerpt of the post content"
436
+ msgstr "<code>#post#</code>: uma pequena parte do conteúdo do post="
437
+
438
+ #: wp-to-twitter-manager.php:383
439
+ msgid "<code>#category#</code>: the first selected category for the post"
440
+ msgstr "<code>#category#</code>: a primeira categoria selecionada para o post"
441
+
442
+ #: wp-to-twitter-manager.php:384
443
+ msgid "<code>#date#</code>: the post date"
444
+ msgstr "<code>#date#</code>: data do post"
445
+
446
+ #: wp-to-twitter-manager.php:385
447
+ msgid "<code>#url#</code>: the post URL"
448
+ msgstr "<code>#url#</code>: endereço do post"
449
+
450
+ #: wp-to-twitter-manager.php:386
451
+ msgid "<code>#author#</code>: the post author"
452
+ msgstr "<code>#author#</code>: autor do post"
453
+
454
+ #: wp-to-twitter-manager.php:387
455
+ msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
456
+ msgstr "<code>#account#</code>: uma @referencia para a conta do Twitter (ou ao autor, se as configurações estiverem habilitadas e configuradas.)"
457
+
458
+ #: wp-to-twitter-manager.php:389
459
+ msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
460
+ msgstr "Você também pode criar shortcodes personalizados para acessar campos personalizados do Wordpress. Utilize colchetes duplos ao redor do nome do campo personalizado para adicionar valor a aquele campo personalizado para sua atualização de status. Exemplo: <code>[[custom_field]]</code></p>"
461
+
462
+ #: wp-to-twitter-manager.php:394
463
+ msgid "<p>One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.</p>"
464
+ msgstr "<p>Uma ou mais das suas ultimas requisições falhou ao enviar atualização ao Twitter. Seu tweet foi salvo em campos personalizados, e você pode publica-lo</p>"
465
+
466
+ #: wp-to-twitter-manager.php:398
467
+ msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://www.stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
468
+ msgstr "<p>A requisição para a API do encurtador de URL falhou, e o endereço não foi encurtado. A URL completa foi adicionada ao seu Tweet. Verifique com seu serviço de encurtar URL se existe algum problema conhecido. [<a href=\"http://www.stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
469
+
470
+ #: wp-to-twitter-manager.php:405
471
+ msgid "Clear 'WP to Twitter' Error Messages"
472
+ msgstr "Limpar mensagens de erro do 'WP to Twitter' "
473
+
474
+ #: wp-to-twitter-manager.php:418
475
+ msgid "Basic Settings"
476
+ msgstr "Configurações Básicas"
477
+
478
+ #: wp-to-twitter-manager.php:424
479
+ msgid "Tweet Templates"
480
+ msgstr "Templates de Tweet"
481
+
482
+ #: wp-to-twitter-manager.php:427
483
+ msgid "Update when a post is published"
484
+ msgstr "Atualize quando um post é publicado"
485
+
486
+ #: wp-to-twitter-manager.php:427
487
+ msgid "Text for new post updates:"
488
+ msgstr "Texto para uma nova publicação:"
489
+
490
+ #: wp-to-twitter-manager.php:433
491
+ #: wp-to-twitter-manager.php:436
492
+ msgid "Update when a post is edited"
493
+ msgstr "Atualize quando uma publicação é editada"
494
+
495
+ #: wp-to-twitter-manager.php:433
496
+ #: wp-to-twitter-manager.php:436
497
+ msgid "Text for editing updates:"
498
+ msgstr "Texto para uma edição em uma publicação:"
499
+
500
+ #: wp-to-twitter-manager.php:437
501
+ msgid "You can not disable updates on edits when using Postie or similar plugins."
502
+ msgstr "Você não pode desabilitar atualizações ao editar quando utilizar Postie ou plugins similares."
503
+
504
+ #: wp-to-twitter-manager.php:441
505
+ msgid "Update Twitter when new Wordpress Pages are published"
506
+ msgstr "Atualize Twitter quando nova página do Wordpress for publicada"
507
+
508
+ #: wp-to-twitter-manager.php:441
509
+ msgid "Text for new page updates:"
510
+ msgstr "Texto para publicação de nova página:"
511
+
512
+ #: wp-to-twitter-manager.php:445
513
+ msgid "Update Twitter when WordPress Pages are edited"
514
+ msgstr "Atualize o Twitter quando páginas do wordpress forem editadas"
515
+
516
+ #: wp-to-twitter-manager.php:445
517
+ msgid "Text for page edit updates:"
518
+ msgstr "Texto para edição de página:"
519
+
520
+ #: wp-to-twitter-manager.php:449
521
+ msgid "Update Twitter when you post a Blogroll link"
522
+ msgstr "Atualize o Twitter quando postar um link Blogroll"
523
+
524
+ #: wp-to-twitter-manager.php:450
525
+ msgid "Text for new link updates:"
526
+ msgstr "Texto para atualização de novos links:"
527
+
528
+ #: wp-to-twitter-manager.php:450
529
+ msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
530
+ msgstr "Shortcodes disponiveis: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
531
+
532
+ #: wp-to-twitter-manager.php:454
533
+ msgid "Choose your short URL service (account settings below)"
534
+ msgstr "Escolhe seu serviço de encurtar URL (configurações abaixo)"
535
+
536
+ #: wp-to-twitter-manager.php:457
537
+ msgid "Don't shorten URLs."
538
+ msgstr "Não encurte URLs."
539
+
540
+ #: wp-to-twitter-manager.php:458
541
+ msgid "Use Su.pr for my URL shortener."
542
+ msgstr "Utilize Su.pr para meu encurtador de URL"
543
+
544
+ #: wp-to-twitter-manager.php:459
545
+ msgid "Use Bit.ly for my URL shortener."
546
+ msgstr "Utilize Bit.ly para meu encurtador de URL"
547
+
548
+ #: wp-to-twitter-manager.php:460
549
+ msgid "YOURLS (installed on this server)"
550
+ msgstr "YOURLS (instalado neste servidor)"
551
+
552
+ #: wp-to-twitter-manager.php:461
553
+ msgid "YOURLS (installed on a remote server)"
554
+ msgstr "YOURLS (instalado em um servidor remoto)"
555
+
556
+ #: wp-to-twitter-manager.php:462
557
+ msgid "Use WordPress as a URL shortener."
558
+ msgstr "Utilize Wordpress como um encurtador de URL."
559
+
560
+ #: wp-to-twitter-manager.php:464
561
+ msgid "Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs."
562
+ msgstr "Usando WordPress como encurtador de URL enviará para o Twitter o formato padrão de URL do Wordpress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics não está disponivel quando utilizar URLS encurtadas pelo WordPress."
563
+
564
+ #: wp-to-twitter-manager.php:470
565
+ msgid "Save WP->Twitter Options"
566
+ msgstr "Salvar opções do WP->Twitter "
567
+
568
+ #: wp-to-twitter-manager.php:479
569
+ msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
570
+ msgstr ""
571
+
572
+ #: wp-to-twitter-manager.php:483
573
+ msgid "Your Su.pr account details"
574
+ msgstr "Seus detalhes de conta do Su.pr"
575
+
576
+ #: wp-to-twitter-manager.php:488
577
+ msgid "Your Su.pr Username:"
578
+ msgstr "Seu usuário Su.pr:"
579
+
580
+ #: wp-to-twitter-manager.php:492
581
+ msgid "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
582
+ msgstr "Sua <abbr title='application programming interface'>API</abbr> Key para Su.pr"
583
+
584
+ #: wp-to-twitter-manager.php:498
585
+ msgid "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</a>!<br />You'll need an API key in order to associate the URLs you create with your Su.pr account."
586
+ msgstr "Não tem conta Su.pr ou API Key? <a href='http://su.pr/'>Get one here</a>!<br /> Você precisará uma API Key para associar as URLs que você criar com sua conta Su.pr."
587
+
588
+ #: wp-to-twitter-manager.php:504
589
+ msgid "Your Bit.ly account details"
590
+ msgstr "Seus detalhes de conta Bit.ly"
591
+
592
+ #: wp-to-twitter-manager.php:509
593
+ msgid "Your Bit.ly username:"
594
+ msgstr "Seu usuário Bit.ly:"
595
+
596
+ #: wp-to-twitter-manager.php:513
597
+ msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
598
+ msgstr "Sua <abbr title='application programming interface'>API</abbr> Key para Bit.ly"
599
+
600
+ #: wp-to-twitter-manager.php:520
601
+ msgid "Save Bit.ly API Key"
602
+ msgstr "Salvar API Key do Bit.ly"
603
+
604
+ #: wp-to-twitter-manager.php:520
605
+ msgid "Clear Bit.ly API Key"
606
+ msgstr "Limpar API Key do Bit.ly"
607
+
608
+ #: wp-to-twitter-manager.php:520
609
+ msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
610
+ msgstr "Uma API Key e usuário do Bit.ly são necessário para encurtar URLs usando Bit.ly e WP to Twitter."
611
+
612
+ #: wp-to-twitter-manager.php:525
613
+ msgid "Your YOURLS account details"
614
+ msgstr "Seus detalhes de conta do YOURLS"
615
+
616
+ #: wp-to-twitter-manager.php:529
617
+ msgid "Path to your YOURLS config file (Local installations)"
618
+ msgstr "Caminho para seu arquivo de configuração do YOURLS (instalação local)"
619
+
620
+ #: wp-to-twitter-manager.php:530
621
+ #: wp-to-twitter-manager.php:534
622
+ msgid "Example:"
623
+ msgstr "Exemplo:"
624
+
625
+ #: wp-to-twitter-manager.php:533
626
+ msgid "URI to the YOURLS API (Remote installations)"
627
+ msgstr "URI para sua API do YOURLS (instalação remota)"
628
+
629
+ #: wp-to-twitter-manager.php:537
630
+ msgid "Your YOURLS username:"
631
+ msgstr "Seu usuário do YOURLS:"
632
+
633
+ #: wp-to-twitter-manager.php:541
634
+ msgid "Your YOURLS password:"
635
+ msgstr "Sua senha do YOURLS:"
636
+
637
+ #: wp-to-twitter-manager.php:541
638
+ msgid "<em>Saved</em>"
639
+ msgstr "<em>Salvo</em>"
640
+
641
+ #: wp-to-twitter-manager.php:545
642
+ msgid "Use Post ID for YOURLS url slug."
643
+ msgstr "Usar ID do Post como chave"
644
+
645
+ #: wp-to-twitter-manager.php:550
646
+ msgid "Save YOURLS Account Info"
647
+ msgstr "Salvar informações da conta do YOURLS"
648
+
649
+ #: wp-to-twitter-manager.php:550
650
+ msgid "Clear YOURLS password"
651
+ msgstr "Limpar senha do YOURLS"
652
+
653
+ #: wp-to-twitter-manager.php:550
654
+ msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
655
+ msgstr "Um usuário e senha do YOURLS são necessário para encurtar URLs usando API remota do YOURLS e WP to Twitter."
656
+
657
+ #: wp-to-twitter-manager.php:562
658
+ msgid "Advanced Settings"
659
+ msgstr "Configurações avançadas"
660
+
661
+ #: wp-to-twitter-manager.php:569
662
+ msgid "Advanced Tweet settings"
663
+ msgstr "Configurações avançadas de Tweet"
664
+
665
+ #: wp-to-twitter-manager.php:571
666
+ msgid "Add tags as hashtags on Tweets"
667
+ msgstr "Adicionar tags como hashtags nos Tweets"
668
+
669
+ #: wp-to-twitter-manager.php:571
670
+ msgid "Strip nonalphanumeric characters"
671
+ msgstr "Remover caracteres não alpha numéricos"
672
+
673
+ #: wp-to-twitter-manager.php:572
674
+ msgid "Spaces replaced with:"
675
+ msgstr "Espaços substituidos com:"
676
+
677
+ #: wp-to-twitter-manager.php:574
678
+ msgid "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely."
679
+ msgstr "Substituidor padrão é um underscore (<code>_</code). Use <code>[]</code> para remover espaços completamente."
680
+
681
+ #: wp-to-twitter-manager.php:577
682
+ msgid "Maximum number of tags to include:"
683
+ msgstr "Número máximo de tags para incluir:"
684
+
685
+ #: wp-to-twitter-manager.php:578
686
+ msgid "Maximum length in characters for included tags:"
687
+ msgstr "Número máximo de caracteres para tags incluidas:"
688
+
689
+ #: wp-to-twitter-manager.php:579
690
+ 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."
691
+ msgstr "Estas opções permite que você restringa o tamanho e número de tags do WordPress enviadas ao Twitter como hashtags. Defina para <code>0</code> ou deixe em branco para permitir qualquer e \"infinitas\" tags."
692
+
693
+ #: wp-to-twitter-manager.php:582
694
+ msgid "Length of post excerpt (in characters):"
695
+ msgstr "Tamanho do pedaço do texto do post (em caracteres):"
696
+
697
+ #: wp-to-twitter-manager.php:582
698
+ msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead."
699
+ msgstr "Por padrão, extraido do próprio post. Se você usar campo 'Pedaço', este será usado."
700
+
701
+ #: wp-to-twitter-manager.php:585
702
+ msgid "WP to Twitter Date Formatting:"
703
+ msgstr "Formato da Data do WP to Twitter:"
704
+
705
+ #: wp-to-twitter-manager.php:586
706
+ msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
707
+ msgstr "Padrão é da sua configuração geral. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
708
+
709
+ #: wp-to-twitter-manager.php:590
710
+ msgid "Custom text before all Tweets:"
711
+ msgstr "Texto padrão antes de todos os Tweets:"
712
+
713
+ #: wp-to-twitter-manager.php:591
714
+ msgid "Custom text after all Tweets:"
715
+ msgstr "Texto padrão depois de todos os Tweets:"
716
+
717
+ #: wp-to-twitter-manager.php:594
718
+ msgid "Custom field for an alternate URL to be shortened and Tweeted:"
719
+ msgstr "Campo personalizado para URL alternativa a ser encurtada e Tweetar:"
720
+
721
+ #: wp-to-twitter-manager.php:595
722
+ msgid "You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL."
723
+ msgstr "Você pode usar um campo personalizado para enviar uma URL alternativa para seu post. O valor é o nome do campo personalizado contendo sua URL externa."
724
+
725
+ #: wp-to-twitter-manager.php:599
726
+ msgid "Special Cases when WordPress should send a Tweet"
727
+ msgstr "Casos especiais que o WordPress deve enviar um Tweet"
728
+
729
+ #: wp-to-twitter-manager.php:602
730
+ msgid "Do not post status updates by default"
731
+ msgstr "Por padrão não poste atualizações de status"
732
+
733
+ #: wp-to-twitter-manager.php:603
734
+ msgid "By default, all posts meeting other requirements will be posted to Twitter. Check this to change your setting."
735
+ msgstr "Por padrão, todos os posts com os requisitos serão postados ao Twitter. Selecione para mudar suas configurações."
736
+
737
+ #: wp-to-twitter-manager.php:607
738
+ msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
739
+ msgstr "Envie atualizações ao Twitter em publicações remotas (Post por e-mail ou cliente XMLRPC)"
740
+
741
+ #: wp-to-twitter-manager.php:609
742
+ msgid "I'm using a plugin to post by email, such as Postie. Only check this if your updates do not work."
743
+ msgstr "Estou usando um plugin para postar atualizações por e-mail, como o Postie. Somente selecione isso se suas atualizações não funcionarem."
744
+
745
+ #: wp-to-twitter-manager.php:613
746
+ msgid "Update Twitter when a post is published using QuickPress"
747
+ msgstr "Atualize o Twitter quando um post é publicado usando QuickPress"
748
+
749
+ #: wp-to-twitter-manager.php:617
750
+ msgid "Google Analytics Settings"
751
+ msgstr "Configurações do Google Analytics "
752
+
753
+ #: wp-to-twitter-manager.php:618
754
+ msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
755
+ msgstr "Você pode rastrear as respostas do seu Twitter usando Google Analytics definindo identificadores de campanha aqui. Você pode definir um identificador estatico ou dinamico. Identificadores estaticos não mudam de post a post; Identificadores dinamicos são derivados de informações relevante a um post especifico. Identificadores dinamicos permitem que você divida suas estatisticas por uma váriavel adicional."
756
+
757
+ #: wp-to-twitter-manager.php:622
758
+ msgid "Use a Static Identifier with WP-to-Twitter"
759
+ msgstr "Utilize um identificador estatico com WP-to-Twitter"
760
+
761
+ #: wp-to-twitter-manager.php:623
762
+ msgid "Static Campaign identifier for Google Analytics:"
763
+ msgstr "Identificador estatico para campanha com Google Analytics:"
764
+
765
+ #: wp-to-twitter-manager.php:627
766
+ msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
767
+ msgstr "Utilize um identificador dinamico com Google Analytics e WP-to-Twitter"
768
+
769
+ #: wp-to-twitter-manager.php:628
770
+ msgid "What dynamic identifier would you like to use?"
771
+ msgstr "Que identificador dinamico você gostaria de usar?"
772
+
773
+ #: wp-to-twitter-manager.php:630
774
+ msgid "Category"
775
+ msgstr "Categoria"
776
+
777
+ #: wp-to-twitter-manager.php:631
778
+ msgid "Post ID"
779
+ msgstr "ID do Post"
780
+
781
+ #: wp-to-twitter-manager.php:632
782
+ msgid "Post Title"
783
+ msgstr "Titulo do Post"
784
+
785
+ #: wp-to-twitter-manager.php:633
786
+ #: wp-to-twitter-manager.php:647
787
+ msgid "Author"
788
+ msgstr "Autor"
789
+
790
+ #: wp-to-twitter-manager.php:638
791
+ msgid "Individual Authors"
792
+ msgstr "Autores individuais"
793
+
794
+ #: wp-to-twitter-manager.php:641
795
+ msgid "Authors have individual Twitter accounts"
796
+ msgstr "Autores possuem contas individuais no twitter"
797
+
798
+ #: wp-to-twitter-manager.php:641
799
+ msgid "Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author. This @reference is placed using the <code>#account#</code> shortcode. (It will pick up the main account if user accounts are not enabled.)"
800
+ msgstr "Autores podem definir seus usuários nos seus perfils. Na versão 2.2.0, está funcionalidade não permite que autores publiquem para sua própria conta do Twitter. Só pode adicionar uma @referencia ao autor. Está @referencia é colocada utilizando o shortcode <code>#account#</code>. (Selecionara a conta principal se as contas de usuários não estiverem habilitadas.)"
801
+
802
+ #: wp-to-twitter-manager.php:644
803
+ msgid "Choose the lowest user group that can add their Twitter information"
804
+ msgstr "Escolha o menor grupo que pode adicionar suas informações do Twitter"
805
+
806
+ #: wp-to-twitter-manager.php:645
807
+ msgid "Subscriber"
808
+ msgstr "Assinante"
809
+
810
+ #: wp-to-twitter-manager.php:646
811
+ msgid "Contributor"
812
+ msgstr "Contribuidor"
813
+
814
+ #: wp-to-twitter-manager.php:648
815
+ msgid "Editor"
816
+ msgstr "Editor"
817
+
818
+ #: wp-to-twitter-manager.php:649
819
+ msgid "Administrator"
820
+ msgstr "Administrador"
821
+
822
+ #: wp-to-twitter-manager.php:654
823
+ msgid "Disable Error Messages"
824
+ msgstr "Desabilitar mensagens de erro."
825
+
826
+ #: wp-to-twitter-manager.php:657
827
+ msgid "Disable global URL shortener error messages."
828
+ msgstr "Desabilitar mensagens de erros de encurtadores de URL"
829
+
830
+ #: wp-to-twitter-manager.php:661
831
+ msgid "Disable global Twitter API error messages."
832
+ msgstr "Desabilitar mensagens de erro da API do twitter"
833
+
834
+ #: wp-to-twitter-manager.php:665
835
+ msgid "Disable notification to implement OAuth"
836
+ msgstr "Desabilitar notificação para utilizar OAuth"
837
+
838
+ #: wp-to-twitter-manager.php:669
839
+ msgid "Get Debugging Data for OAuth Connection"
840
+ msgstr "Pegar dados para debug para a conexão OAuth"
841
+
842
+ #: wp-to-twitter-manager.php:675
843
+ msgid "Save Advanced WP->Twitter Options"
844
+ msgstr "Salvar opções avançadas do WP->Twitter"
845
+
846
+ #: wp-to-twitter-manager.php:685
847
+ msgid "Limit Updating Categories"
848
+ msgstr "Limite atualizando categorias"
849
+
850
+ #: wp-to-twitter-manager.php:689
851
+ msgid "Select which blog categories will be Tweeted. Uncheck all categories to disable category limits."
852
+ msgstr "Selecione quais categorias serão Tweetadas. Deselecione todas para desabilitar limite de categorias."
853
+
854
+ #: wp-to-twitter-manager.php:692
855
+ msgid "<em>Category limits are disabled.</em>"
856
+ msgstr "<em>Limite de categorias estão desabilitados.</em>"
857
+
858
+ #: wp-to-twitter-manager.php:706
859
+ msgid "Check Support"
860
+ msgstr "Verifique suporte"
861
+
862
+ #: wp-to-twitter-manager.php:706
863
+ msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
864
+ msgstr ""
865
+
866
+ #. Plugin URI of the plugin/theme
867
+ msgid "http://www.joedolson.com/articles/wp-to-twitter/"
868
+ msgstr "http://www.joedolson.com/articles/wp-to-twitter/"
869
+
870
+ #. Description of the plugin/theme
871
+ msgid "Posts a Twitter status update when you update your WordPress blog or post to your blogroll, using your chosen URL shortening service. Rich in features for customizing and promoting your Tweets."
872
+ msgstr "Publique atualização no twitter quando você atualizar seu Wordpress ou publicar ao seu blogroll, utilizando o serviço de encurtar. "
873
+
874
+ #. Author of the plugin/theme
875
+ msgid "Joseph Dolson"
876
+ msgstr "Joseph Dolson"
877
+
878
+ #. Author URI of the plugin/theme
879
+ msgid "http://www.joedolson.com/"
880
+ msgstr "http://www.joedolson.com/"
881
+
wp-to-twitter-ro_RO.mo ADDED
Binary file
wp-to-twitter-ro_RO.po ADDED
@@ -0,0 +1,837 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin WP to Twitter 2.2.4 by Joseph Dolson.
2
+ # Copyright (C) 2010 Joseph Dolson
3
+ # This file is distributed under the same license as the WP to Twitter package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: WP to Twitter 2.2.6\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
10
+ "POT-Creation-Date: 2010-12-11 03:14+0000\n"
11
+ "PO-Revision-Date: 2011-02-04 15:35+0200\n"
12
+ "Last-Translator: \n"
13
+ "Language-Team: http://www.jibo.ro <contact@jibo.ro>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=utf-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Romanian\n"
18
+ "X-Poedit-Country: ROMANIA\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+
21
+ #: functions.php:211
22
+ 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."
23
+ msgstr "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Ascunde</a>] Daca intampini probleme, te rog sa copiezi aceste setari in orice cerere pentru suport."
24
+
25
+ #: wp-to-twitter-manager.php:74
26
+ msgid "WP to Twitter is now connected with Twitter."
27
+ msgstr "WP to Twitter este conectat acum la Twitter."
28
+
29
+ #: wp-to-twitter-manager.php:82
30
+ msgid "OAuth Authentication Failed. Check your credentials and verify that <a href=\"http://www.twitter.com/\">Twitter</a> is running."
31
+ msgstr "Autentificarea OAuth a esuat. Verifica cheile si asigura-te ca ai acces la <a href=\"http://www.twitter.com/\">Twitter</a>"
32
+
33
+ #: wp-to-twitter-manager.php:89
34
+ msgid "OAuth Authentication Data Cleared."
35
+ msgstr "Datele de autentificare OAuth au fost sterse."
36
+
37
+ #: wp-to-twitter-manager.php:96
38
+ msgid "OAuth Authentication response not understood."
39
+ msgstr "Raspuns de autentificare de la OAuth necunoscut."
40
+
41
+ #: wp-to-twitter-manager.php:105
42
+ msgid "WP to Twitter Errors Cleared"
43
+ msgstr "Erorile WP to Twitter au fost sterse"
44
+
45
+ #: wp-to-twitter-manager.php:112
46
+ 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! "
47
+ msgstr "Imi pare rau! Nu am putut contacta serverele Twitter pentru a publica noul tau articol. Tweet-ul tau a fost stocat intr-un camp personalizat atasat la articol prin urmare poti publica Tweet-ul manual daca doresti!"
48
+
49
+ #: wp-to-twitter-manager.php:114
50
+ msgid "Sorry! I couldn't get in touch with the Twitter servers to post your <strong>new link</strong>! You'll have to post it manually, I'm afraid. "
51
+ msgstr "Ne pare rău! Nu am putut lua legătura cu serverele Twitter pentru a publica<strong> noul link </ strong>! Va trebui să-l publicati manual!"
52
+
53
+ #: wp-to-twitter-manager.php:149
54
+ msgid "WP to Twitter Advanced Options Updated"
55
+ msgstr "Optiuni avansate WP to Twitter actualizate"
56
+
57
+ #: wp-to-twitter-manager.php:166
58
+ msgid "You must add your Bit.ly login and API key in order to shorten URLs with Bit.ly."
59
+ msgstr "Trebuie sa adaugati datele de conectare si cheia API Bit.ly pentru a prescurta URL-uri cu Bit.ly."
60
+
61
+ #: wp-to-twitter-manager.php:170
62
+ msgid "You must add your YOURLS remote URL, login, and password in order to shorten URLs with a remote installation of YOURLS."
63
+ msgstr "Trebuie sa adaugati URL-ul dvs. YOURLS la distanţă, utilizatorul şi parola pentru a scurta URL-uri cu o instalare de la distanţă de YOURLS."
64
+
65
+ #: wp-to-twitter-manager.php:174
66
+ msgid "You must add your YOURLS server path in order to shorten URLs with a remote installation of YOURLS."
67
+ msgstr "Trebuie sa adaugi calea ta YOURLS de pe server, cu scopul de a scurta URL-uri cu o instalare de la distantă de YOURLS."
68
+
69
+ #: wp-to-twitter-manager.php:178
70
+ msgid "WP to Twitter Options Updated"
71
+ msgstr "Optiuni WP to Twitter actualizate"
72
+
73
+ #: wp-to-twitter-manager.php:188
74
+ msgid "Category limits updated."
75
+ msgstr "Limite categorii actualizate."
76
+
77
+ #: wp-to-twitter-manager.php:192
78
+ msgid "Category limits unset."
79
+ msgstr "Limite categori dezactivate"
80
+
81
+ #: wp-to-twitter-manager.php:200
82
+ msgid "YOURLS password updated. "
83
+ msgstr "Parola YOURLS actualizata."
84
+
85
+ #: wp-to-twitter-manager.php:203
86
+ msgid "YOURLS password deleted. You will be unable to use your remote YOURLS account to create short URLS."
87
+ msgstr "Parola YOURLS stearsa. Nu vei putea folosi contul YOURLS pentru a creea URL-uri scurte."
88
+
89
+ #: wp-to-twitter-manager.php:205
90
+ msgid "Failed to save your YOURLS password! "
91
+ msgstr "Nu am reusit sa salvez parola YOURLS!"
92
+
93
+ #: wp-to-twitter-manager.php:209
94
+ msgid "YOURLS username added. "
95
+ msgstr "Username-ul YOURLS a fost adaugat."
96
+
97
+ #: wp-to-twitter-manager.php:213
98
+ msgid "YOURLS API url added. "
99
+ msgstr "URL-ul API pentru YOURLS adaugat."
100
+
101
+ #: wp-to-twitter-manager.php:216
102
+ msgid "YOURLS API url removed. "
103
+ msgstr "URL-ul API pentru YOURLS sters."
104
+
105
+ #: wp-to-twitter-manager.php:221
106
+ msgid "YOURLS local server path added. "
107
+ msgstr "Calea locala YOURLS de pe server a fost adaugata"
108
+
109
+ #: wp-to-twitter-manager.php:223
110
+ msgid "The path to your YOURLS installation is not correct. "
111
+ msgstr "Calea catre instalarea YOURLS nu este corecta."
112
+
113
+ #: wp-to-twitter-manager.php:227
114
+ msgid "YOURLS local server path removed. "
115
+ msgstr "Calea locala YOURLS de pe server a fost stearsa."
116
+
117
+ #: wp-to-twitter-manager.php:231
118
+ msgid "YOURLS will use Post ID for short URL slug."
119
+ msgstr "YOURLS va folosi ID-ul articolului pentru slug-ul URL-ului scurt"
120
+
121
+ #: wp-to-twitter-manager.php:234
122
+ msgid "YOURLS will not use Post ID for the short URL slug."
123
+ msgstr "YOURLS nu va folosi ID-ul articolului pentru slug-urile URL-urilor scurte."
124
+
125
+ #: wp-to-twitter-manager.php:241
126
+ msgid "Cligs API Key Updated"
127
+ msgstr "Cheia API Cligs actualizata"
128
+
129
+ #: wp-to-twitter-manager.php:244
130
+ msgid "Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be associated with your account. "
131
+ msgstr "Cheia API Cli.gs stearsa. Cli.gs creata de WP to Twitter nu va mai fi asociată cu contul dvs.."
132
+
133
+ #: wp-to-twitter-manager.php:246
134
+ msgid "Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</a>! "
135
+ msgstr "Cheia API Cli.gs nu a fost adaugata - <a href='http://cli.gs/user/api/'>obtine una de aici</a>! "
136
+
137
+ #: wp-to-twitter-manager.php:252
138
+ msgid "Bit.ly API Key Updated."
139
+ msgstr "Cheia API Bit.ly actualizata."
140
+
141
+ #: wp-to-twitter-manager.php:255
142
+ msgid "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
143
+ msgstr "Cheia API Bit.ly a fost stearsa. Nu poti folosi API-ul Bit.ly fara o cheie API."
144
+
145
+ #: wp-to-twitter-manager.php:257
146
+ 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."
147
+ msgstr "Cheia API Bit.ly nu a fost adaugata - <a href='http://bit.ly/account/'>obtine una de aici</a>! O cheie API este necesara pentru a folosi serviciul de prescurtare URL Bit.ly."
148
+
149
+ #: wp-to-twitter-manager.php:261
150
+ msgid " Bit.ly User Login Updated."
151
+ msgstr "Autentificare utilizator Bit.ly actualizata."
152
+
153
+ #: wp-to-twitter-manager.php:264
154
+ msgid "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing your username. "
155
+ msgstr "Datele de autentificare la Bit.ly au fost sterse. Nu poti folosi API-ul Bit.ly fara sa furnizezi un username."
156
+
157
+ #: wp-to-twitter-manager.php:266
158
+ msgid "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
159
+ msgstr "Datele de autentificare Bit.ly nu au fost adaugate - <a href='http://bit.ly/account/'>obtine-le de aici</a>! "
160
+
161
+ #: wp-to-twitter-manager.php:295
162
+ msgid "No error information is available for your shortener."
163
+ msgstr "Nu exista informatii despre erori pentru prescurtarea URL-urilor."
164
+
165
+ #: wp-to-twitter-manager.php:297
166
+ msgid "<li class=\"error\"><strong>WP to Twitter was unable to contact your selected URL shortening service.</strong></li>"
167
+ msgstr "<li class=\"error\"><strong>WP to Twitter nu a putut contacta serviciul de prescurtare URL-uri.</strong></li>"
168
+
169
+ #: wp-to-twitter-manager.php:300
170
+ msgid "<li><strong>WP to Twitter successfully contacted your selected URL shortening service.</strong> The following link should point to your blog homepage:"
171
+ msgstr "<strong> WP to Twitter a contactat cu succes serviciul de prescurtare URL-uri </ strong> link-ul urmator ar trebui sa trimita la pagina dvs. de blog:"
172
+
173
+ #: wp-to-twitter-manager.php:309
174
+ msgid "<li><strong>WP to Twitter successfully submitted a status update to Twitter.</strong></li>"
175
+ msgstr "<strong> WP to Twitter a prezentat cu succes o actualizare a statutului Twitter. </ strong> </ li>"
176
+
177
+ #: wp-to-twitter-manager.php:311
178
+ msgid "<li class=\"error\"><strong>WP to Twitter failed to submit an update to Twitter.</strong></li>"
179
+ msgstr "<li class=\"error\"> <strong> WP to Twitter nu a reusit sa trimita o actualizare la Twitter. </ strong> </ li>"
180
+
181
+ #: wp-to-twitter-manager.php:314
182
+ msgid "You have not connected WordPress to Twitter."
183
+ msgstr "Nu ai conectat WordPress la Twitter."
184
+
185
+ #: wp-to-twitter-manager.php:318
186
+ msgid "<li class=\"error\"><strong>Your server does not appear to support the required methods for WP to Twitter to function.</strong> You can try it anyway - these tests aren't perfect.</li>"
187
+ msgstr "<li class=\"error\"> <strong> Serverul tau nu pare să sprijine metodele necesare functionarii WP to Twitter </ strong> Puteti incerca oricum -. aceste teste nu sunt perfecte </ li. >"
188
+
189
+ #: wp-to-twitter-manager.php:322
190
+ msgid "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
191
+ msgstr "<strong> Serverul ar trebui să ruleze WP to Twitter cu succes. </ strong> </ li>"
192
+
193
+ #: wp-to-twitter-manager.php:339
194
+ msgid "WP to Twitter Options"
195
+ msgstr "Optiuni WP to Twitter"
196
+
197
+ #: wp-to-twitter-manager.php:349
198
+ #: wp-to-twitter.php:819
199
+ msgid "Get Support"
200
+ msgstr "Solicita suport"
201
+
202
+ #: wp-to-twitter-manager.php:350
203
+ msgid "Export Settings"
204
+ msgstr "Exporta setarile"
205
+
206
+ #: wp-to-twitter-manager.php:351
207
+ #: wp-to-twitter.php:819
208
+ msgid "Make a Donation"
209
+ msgstr "Fa o donatie"
210
+
211
+ #: wp-to-twitter-manager.php:366
212
+ msgid "Shortcodes available in post update templates:"
213
+ msgstr "Scurtaturi disponibile in sabloanele de actualizari articole:"
214
+
215
+ #: wp-to-twitter-manager.php:368
216
+ msgid "<code>#title#</code>: the title of your blog post"
217
+ msgstr "<code>#title#</code>: titlul articolului"
218
+
219
+ #: wp-to-twitter-manager.php:369
220
+ msgid "<code>#blog#</code>: the title of your blog"
221
+ msgstr "<code>#blog#</code>: titlul site-ului"
222
+
223
+ #: wp-to-twitter-manager.php:370
224
+ msgid "<code>#post#</code>: a short excerpt of the post content"
225
+ msgstr "<code> #post# </code>: un fragment scurt a continutului articolului"
226
+
227
+ #: wp-to-twitter-manager.php:371
228
+ msgid "<code>#category#</code>: the first selected category for the post"
229
+ msgstr "<code>#category#</code>: prima categorie selectata pentru articol"
230
+
231
+ #: wp-to-twitter-manager.php:372
232
+ msgid "<code>#date#</code>: the post date"
233
+ msgstr "<code>#date#</code>: data articolului"
234
+
235
+ #: wp-to-twitter-manager.php:373
236
+ msgid "<code>#url#</code>: the post URL"
237
+ msgstr "<code>#url#</code>: URL-ul articolului"
238
+
239
+ #: wp-to-twitter-manager.php:374
240
+ msgid "<code>#author#</code>: the post author"
241
+ msgstr "<code>#author#</code>: autorul articolului"
242
+
243
+ #: wp-to-twitter-manager.php:375
244
+ msgid "<code>#account#</code>: the twitter @reference for the account (or the author, if author settings are enabled and set.)"
245
+ msgstr "<code>#account#</code>: @referinta twitter pentru cont (sau autor, daca setarile de autor sunt activate si setate.)"
246
+
247
+ #: wp-to-twitter-manager.php:377
248
+ msgid "You can also create custom shortcodes to access WordPress custom fields. Use doubled square brackets surrounding the name of your custom field to add the value of that custom field to your status update. Example: <code>[[custom_field]]</code></p>"
249
+ msgstr "Puteti crea de asemenea scurtaturi personalizate pentru a accesa campuri personalizate WordPress. Utilizati paranteze drepte duble in jurul numelui campului dumneavoastra particularizat pentru a adauga valoarea campului particularizat la actualizarea starii. Exemplu: <code>[[custom_field]]</code></p>"
250
+
251
+ #: wp-to-twitter-manager.php:382
252
+ msgid "<p>One or more of your last posts has failed to send it's status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.</p>"
253
+ msgstr "<p> Unul sau mai multe dintre mesajele dumneavoastra nu a reusit sa actualizeze statutul Twitter. Tweet-ul dvs. a fost salvat inntr-un camp personalizat al articolului pentru a-l putea retrimite. </ p>"
254
+
255
+ #: wp-to-twitter-manager.php:386
256
+ msgid "<p>The query to the URL shortener API failed, and your URL was not shrunk. The full post URL was attached to your Tweet. Check with your URL shortening provider to see if there are any known issues. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
257
+ msgstr "<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. [<a href=\"http://blog.cli.gs\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
258
+
259
+ #: wp-to-twitter-manager.php:393
260
+ msgid "Clear 'WP to Twitter' Error Messages"
261
+ msgstr "Sterge mesajele de eroare WP to Twitter"
262
+
263
+ #: wp-to-twitter-manager.php:409
264
+ msgid "Basic Settings"
265
+ msgstr "Setari de baza"
266
+
267
+ #: wp-to-twitter-manager.php:415
268
+ msgid "Tweet Templates"
269
+ msgstr "Sabloane Twitter"
270
+
271
+ #: wp-to-twitter-manager.php:418
272
+ msgid "Update when a post is published"
273
+ msgstr "Actualizeaza atunci cand este publicat un articol nou"
274
+
275
+ #: wp-to-twitter-manager.php:418
276
+ msgid "Text for new post updates:"
277
+ msgstr "Textul pentru actualizarea noilor articole:"
278
+
279
+ #: wp-to-twitter-manager.php:424
280
+ #: wp-to-twitter-manager.php:427
281
+ msgid "Update when a post is edited"
282
+ msgstr "Actualizeaza atunci cand un articol a fost editat"
283
+
284
+ #: wp-to-twitter-manager.php:424
285
+ #: wp-to-twitter-manager.php:427
286
+ msgid "Text for editing updates:"
287
+ msgstr "Text pentru actualziarea editarilor:"
288
+
289
+ #: wp-to-twitter-manager.php:428
290
+ msgid "You can not disable updates on edits when using Postie or similar plugins."
291
+ msgstr "Nu puteti dezactiva actualizarile dupa editare daca folosesti plugin-uri gen Postie."
292
+
293
+ #: wp-to-twitter-manager.php:432
294
+ msgid "Update Twitter when new Wordpress Pages are published"
295
+ msgstr "Actualizeaza Twitter atunci cand sunt publicate pagini noi WordPress"
296
+
297
+ #: wp-to-twitter-manager.php:432
298
+ msgid "Text for new page updates:"
299
+ msgstr "Textul pentru actualizarea noilor pagini:"
300
+
301
+ #: wp-to-twitter-manager.php:436
302
+ msgid "Update Twitter when WordPress Pages are edited"
303
+ msgstr "Actualizeaza Twitter atunci cand sunt editate paginile WordPress"
304
+
305
+ #: wp-to-twitter-manager.php:436
306
+ msgid "Text for page edit updates:"
307
+ msgstr "Text pentru actualizarea paginilor editate:"
308
+
309
+ #: wp-to-twitter-manager.php:440
310
+ msgid "Update Twitter when you post a Blogroll link"
311
+ msgstr "Actualizeaza Twitter cand postezi un nou link pe BlogRoll"
312
+
313
+ #: wp-to-twitter-manager.php:441
314
+ msgid "Text for new link updates:"
315
+ msgstr "Textul pentru actualizarea link-urilor noi:"
316
+
317
+ #: wp-to-twitter-manager.php:441
318
+ msgid "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and <code>#description#</code>."
319
+ msgstr "Scurtaturi disponibile: <code>#url#</code>, <code>#title#</code>, si <code>#description#</code>."
320
+
321
+ #: wp-to-twitter-manager.php:445
322
+ msgid "Choose your short URL service (account settings below)"
323
+ msgstr "Alege serviciul de prescurtare URL (setarile contului, mai jos)"
324
+
325
+ #: wp-to-twitter-manager.php:448
326
+ msgid "Use Cli.gs for my URL shortener."
327
+ msgstr "Foloseste Cli.gs pentru scurtarea URL-urilor"
328
+
329
+ #: wp-to-twitter-manager.php:449
330
+ msgid "Use Bit.ly for my URL shortener."
331
+ msgstr "Use Bit.ly pentru prescurtarea URL-ului"
332
+
333
+ #: wp-to-twitter-manager.php:450
334
+ msgid "YOURLS (installed on this server)"
335
+ msgstr "YOURLS (instalat pe acest server)"
336
+
337
+ #: wp-to-twitter-manager.php:451
338
+ msgid "YOURLS (installed on a remote server)"
339
+ msgstr "YOURLS (instalat pe un server remote)"
340
+
341
+ #: wp-to-twitter-manager.php:452
342
+ msgid "Use WordPress as a URL shortener."
343
+ msgstr "Foloseste WordPress pentru a prescurta URL-urile."
344
+
345
+ #: wp-to-twitter-manager.php:453
346
+ msgid "Don't shorten URLs."
347
+ msgstr "Nu prescurta URL-urile."
348
+
349
+ #: wp-to-twitter-manager.php:455
350
+ msgid "Using WordPress as a URL shortener will send URLs to Twitter in the default URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics is not available when using WordPress shortened URLs."
351
+ msgstr "Folosind wordpress pentru prescurtarea URL-urilor va trimite URL-urile catre Twitter in formatul implicit pentru Wordpress: <code>http://domain.com/wpdir/?p=123</code>. Google Analytics nu este disponibil atunci cand folosesti prescurtarile WordPress."
352
+
353
+ #: wp-to-twitter-manager.php:461
354
+ msgid "Save WP->Twitter Options"
355
+ msgstr "Salveaza WP->Optiuni Twitter"
356
+
357
+ #: wp-to-twitter-manager.php:473
358
+ msgid "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account Settings"
359
+ msgstr "<abbr title=\"Uniform Resource Locator\">URL</abbr> Setari cont prescurtari"
360
+
361
+ #: wp-to-twitter-manager.php:477
362
+ msgid "Your Cli.gs account details"
363
+ msgstr "Detaliile contului tau Cli.gs"
364
+
365
+ #: wp-to-twitter-manager.php:482
366
+ msgid "Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:"
367
+ msgstr "Cheia Cli.gs <abbr title='application programming interface'>API</abbr> :"
368
+
369
+ #: wp-to-twitter-manager.php:488
370
+ 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."
371
+ msgstr "Nu ai un cont Cli.gs sau cheie API Cligs? <a href='http://cli.gs/user/api/'>Obtine una gratuit de aici</a>!<br />Vei avea nevoie de o cheie API."
372
+
373
+ #: wp-to-twitter-manager.php:494
374
+ msgid "Your Bit.ly account details"
375
+ msgstr "Detaliile contului tau Bit.ly"
376
+
377
+ #: wp-to-twitter-manager.php:499
378
+ msgid "Your Bit.ly username:"
379
+ msgstr "Username-ul Bit.ty:"
380
+
381
+ #: wp-to-twitter-manager.php:503
382
+ msgid "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
383
+ msgstr "Cheia Bit.ly <abbr title='application programming interface'>API</abbr> :"
384
+
385
+ #: wp-to-twitter-manager.php:510
386
+ msgid "Save Bit.ly API Key"
387
+ msgstr "Salveaza cheia API Bit.ly"
388
+
389
+ #: wp-to-twitter-manager.php:510
390
+ msgid "Clear Bit.ly API Key"
391
+ msgstr "Sterge cheia API Bit.ly"
392
+
393
+ #: wp-to-twitter-manager.php:510
394
+ msgid "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API and WP to Twitter."
395
+ msgstr "O cheie API Bit.ly si un nume de utilizator sunt necesare pentru a scurta URL-uri prin intermediul API Bit.ly si WP to Twitter."
396
+
397
+ #: wp-to-twitter-manager.php:515
398
+ msgid "Your YOURLS account details"
399
+ msgstr "Detaliile contului tau YOURLS"
400
+
401
+ #: wp-to-twitter-manager.php:519
402
+ msgid "Path to the YOURLS config file (Local installations)"
403
+ msgstr "Calea catre fisierul de configurare YOURLS (Instalare locala)"
404
+
405
+ #: wp-to-twitter-manager.php:520
406
+ #: wp-to-twitter-manager.php:524
407
+ msgid "Example:"
408
+ msgstr "Exemplu:"
409
+
410
+ #: wp-to-twitter-manager.php:523
411
+ msgid "URI to the YOURLS API (Remote installations)"
412
+ msgstr "URI catre API-ul YOURLS (Instalari la distanta)"
413
+
414
+ #: wp-to-twitter-manager.php:527
415
+ msgid "Your YOURLS username:"
416
+ msgstr "Username-ul tau YOURLS:"
417
+
418
+ #: wp-to-twitter-manager.php:531
419
+ msgid "Your YOURLS password:"
420
+ msgstr "Parola ta YOURLS:"
421
+
422
+ #: wp-to-twitter-manager.php:531
423
+ msgid "<em>Saved</em>"
424
+ msgstr "<em>Salvate</em>"
425
+
426
+ #: wp-to-twitter-manager.php:535
427
+ msgid "Use Post ID for YOURLS url slug."
428
+ msgstr "Foloseste ID articol pentru slug-ul URL al YOURLS"
429
+
430
+ #: wp-to-twitter-manager.php:540
431
+ msgid "Save YOURLS Account Info"
432
+ msgstr "Salveaza informatiile despre contul YOURLS"
433
+
434
+ #: wp-to-twitter-manager.php:540
435
+ msgid "Clear YOURLS password"
436
+ msgstr "Sterge parola YOURLS"
437
+
438
+ #: wp-to-twitter-manager.php:540
439
+ msgid "A YOURLS password and username is required to shorten URLs via the remote YOURLS API and WP to Twitter."
440
+ msgstr "Un nume de utilizator si o parola YOURLS sunt necesare pentru a scurta URL-uri de la distanta prin intermediul YOURLS API si WP to Twitter."
441
+
442
+ #: wp-to-twitter-manager.php:557
443
+ msgid "Advanced Settings"
444
+ msgstr "Setari Avansate"
445
+
446
+ #: wp-to-twitter-manager.php:564
447
+ msgid "Advanced Tweet settings"
448
+ msgstr "Setari avansate Twitter"
449
+
450
+ #: wp-to-twitter-manager.php:567
451
+ msgid "Add tags as hashtags on Tweets"
452
+ msgstr "Adauga etichete la Tweet-uri"
453
+
454
+ #: wp-to-twitter-manager.php:568
455
+ msgid "Spaces replaced with:"
456
+ msgstr "Spatiile inlocuite cu:"
457
+
458
+ #: wp-to-twitter-manager.php:569
459
+ msgid "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> to remove spaces entirely."
460
+ msgstr "Inlocuirea implicita este underscore (<code>_</code>). Foloseste <code>[ ]</code> pentru a inlatura spatiile in intregime."
461
+
462
+ #: wp-to-twitter-manager.php:572
463
+ msgid "Maximum number of tags to include:"
464
+ msgstr "Numarul maxim de etichete pentru a fi incluse:"
465
+
466
+ #: wp-to-twitter-manager.php:573
467
+ msgid "Maximum length in characters for included tags:"
468
+ msgstr "Numarul maxim de caractere pentru etichetele incluse:"
469
+
470
+ #: wp-to-twitter-manager.php:574
471
+ 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."
472
+ msgstr "Aceste optiuni va permit sa limitati durata si numarul de etichete WordPress trimise la Twitter ca hashtags. Setati la <code> 0 </ code> sau lasati necompletat pentru a permite orice sau toate etichetele."
473
+
474
+ #: wp-to-twitter-manager.php:577
475
+ msgid "Length of post excerpt (in characters):"
476
+ msgstr "Marime rezumat articol (in caractere):"
477
+
478
+ #: wp-to-twitter-manager.php:577
479
+ msgid "By default, extracted from the post itself. If you use the 'Excerpt' field, that will be used instead."
480
+ msgstr "In mod implicit, extrase din articole. Daca utilizati campul \"Extras\", care va fi folosit in schimb."
481
+
482
+ #: wp-to-twitter-manager.php:580
483
+ msgid "WP to Twitter Date Formatting:"
484
+ msgstr "Formatare data WP to Twitter:"
485
+
486
+ #: wp-to-twitter-manager.php:581
487
+ msgid "Default is from your general settings. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Date Formatting Documentation</a>."
488
+ msgstr "Implicit este din setarile generale. <a href='http://codex.wordpress.org/Formatting_Date_and_Time'>Documentatie formatare data</a>."
489
+
490
+ #: wp-to-twitter-manager.php:585
491
+ msgid "Custom text before all Tweets:"
492
+ msgstr "Text personalizat inainte de toate Tweet-urile:"
493
+
494
+ #: wp-to-twitter-manager.php:586
495
+ msgid "Custom text after all Tweets:"
496
+ msgstr "Text personalizat dupa fiecare Tweet:"
497
+
498
+ #: wp-to-twitter-manager.php:589
499
+ msgid "Custom field for an alternate URL to be shortened and Tweeted:"
500
+ msgstr "Camp personalizat pentru un URL alternativ ce urmeaza a fi prescurtat si trimis la Twitter:"
501
+
502
+ #: wp-to-twitter-manager.php:590
503
+ msgid "You can use a custom field to send an alternate URL for your post. The value is the name of a custom field containing your external URL."
504
+ msgstr "Aveti posibilitatea sa utilizati un camp particularizat pentru a trimite un URL alternativ pentru articolul tau. Valoarea este numele unui camp particularizat care contine URL-ul extern."
505
+
506
+ #: wp-to-twitter-manager.php:594
507
+ msgid "Special Cases when WordPress should send a Tweet"
508
+ msgstr "Cazuri speciale cand WordPress ar trebui sa trimita un Tweet"
509
+
510
+ #: wp-to-twitter-manager.php:597
511
+ msgid "Do not post status updates by default"
512
+ msgstr "Nu publica actualizarea starii ca implicit"
513
+
514
+ #: wp-to-twitter-manager.php:598
515
+ msgid "By default, all posts meeting other requirements will be posted to Twitter. Check this to change your setting."
516
+ msgstr "In mod implicit, toate mesajele ce indeplinesc alte cerinte vor fi postate pe Twitter. Verificati acest lucru pentru a schimba setarea."
517
+
518
+ #: wp-to-twitter-manager.php:602
519
+ msgid "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
520
+ msgstr "Trimite actualizarile Twitter prin publicare de la distanta (Publicare prin Email sau client XMLRPC)"
521
+
522
+ #: wp-to-twitter-manager.php:604
523
+ msgid "I'm using a plugin to post by email, such as Postie. Only check this if your updates do not work."
524
+ msgstr "Folosesc un plugin pentru a publica prin email cum ar fi Postie. Bifeaza doar daca actualizarile nu functioneaza."
525
+
526
+ #: wp-to-twitter-manager.php:608
527
+ msgid "Update Twitter when a post is published using QuickPress"
528
+ msgstr "Actualizeaza Twitter cand este publicat un articol folosind QuickPress"
529
+
530
+ #: wp-to-twitter-manager.php:612
531
+ msgid "Google Analytics Settings"
532
+ msgstr "Setari Google Analytics"
533
+
534
+ #: wp-to-twitter-manager.php:613
535
+ msgid "You can track the response from Twitter using Google Analytics by defining a campaign identifier here. You can either define a static identifier or a dynamic identifier. Static identifiers don't change from post to post; dynamic identifiers are derived from information relevant to the specific post. Dynamic identifiers will allow you to break down your statistics by an additional variable."
536
+ msgstr "Puteti urmari raspunsurile de la Twitter folosind Google Analytics, prin definirea unei campanii de identificare. Puteti defini fie un identificator static sau unul dinamic. Identificatorii statici nu se schimba de la articol la articol; identificatorii dinamici sunt derivati din informatiile relevante pentru articole specifice. Identificatorii dinamici va permit sa descompuneti statisticile dvs. printr-o variabila suplimentara."
537
+
538
+ #: wp-to-twitter-manager.php:617
539
+ msgid "Use a Static Identifier with WP-to-Twitter"
540
+ msgstr "Foloseste un identificator static cu WP to Twitter"
541
+
542
+ #: wp-to-twitter-manager.php:618
543
+ msgid "Static Campaign identifier for Google Analytics:"
544
+ msgstr "Campanie identificator static pentru Google Analytics:"
545
+
546
+ #: wp-to-twitter-manager.php:622
547
+ msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
548
+ msgstr "Folositi un identificator dinamic cu Google Analytics si WP to Twitter"
549
+
550
+ #: wp-to-twitter-manager.php:623
551
+ msgid "What dynamic identifier would you like to use?"
552
+ msgstr "Ce identificator dinamic doresti sa folosesti?"
553
+
554
+ #: wp-to-twitter-manager.php:625
555
+ msgid "Category"
556
+ msgstr "Categorie"
557
+
558
+ #: wp-to-twitter-manager.php:626
559
+ msgid "Post ID"
560
+ msgstr "ID articol"
561
+
562
+ #: wp-to-twitter-manager.php:627
563
+ msgid "Post Title"
564
+ msgstr "Titlu articol"
565
+
566
+ #: wp-to-twitter-manager.php:628
567
+ msgid "Author"
568
+ msgstr "Autor"
569
+
570
+ #: wp-to-twitter-manager.php:633
571
+ msgid "Individual Authors"
572
+ msgstr "Autori individuali"
573
+
574
+ #: wp-to-twitter-manager.php:636
575
+ msgid "Authors have individual Twitter accounts"
576
+ msgstr "Autorii au conturi de Twitter individuale"
577
+
578
+ #: wp-to-twitter-manager.php:636
579
+ msgid "Authors can set their username in their user profile. As of version 2.2.0, this feature no longer allows authors to post to their own Twitter accounts. It can only add an @reference to the author. This @reference is placed using the <code>#account#</code> shortcode. (It will pick up the main account if user accounts are not enabled.)"
580
+ msgstr "Autorii pot seta numele de utilizator in profilul lor de utilizator. Incepand cu versiunea 2.2.0, aceasta caracteristica nu mai permite autorilor de a publica in propriile conturi Twitter. Se poate adauga doar o referinta @ la autor. Aceasta referinta @ este plasata folosind scurtatura <code>#account#</code> . (Acesta va apare in contul principal in cazul in care conturile de utilizator nu sunt activate.)"
581
+
582
+ #: wp-to-twitter-manager.php:640
583
+ msgid "Disable Error Messages"
584
+ msgstr "Dezactiveaza mesajele de eroare"
585
+
586
+ #: wp-to-twitter-manager.php:643
587
+ msgid "Disable global URL shortener error messages."
588
+ msgstr "Dezactiveaza "
589
+
590
+ #: wp-to-twitter-manager.php:647
591
+ msgid "Disable global Twitter API error messages."
592
+ msgstr "Dezactiveaza mesajele globale de eroare API ale Twitter."
593
+
594
+ #: wp-to-twitter-manager.php:651
595
+ msgid "Disable notification to implement OAuth"
596
+ msgstr "Dezactiveaza notificarile pentru a implementa OAuth"
597
+
598
+ #: wp-to-twitter-manager.php:655
599
+ msgid "Get Debugging Data for OAuth Connection"
600
+ msgstr "Obtine date de depanare pentru conexiunea OAuth"
601
+
602
+ #: wp-to-twitter-manager.php:661
603
+ msgid "Save Advanced WP->Twitter Options"
604
+ msgstr "Salveaza WP avansat -> Optiuni Twitter"
605
+
606
+ #: wp-to-twitter-manager.php:675
607
+ msgid "Limit Updating Categories"
608
+ msgstr "Limiteaza actualizarea categoriilor"
609
+
610
+ #: wp-to-twitter-manager.php:679
611
+ msgid "Select which blog categories will be Tweeted. "
612
+ msgstr "Selecteaza categoriile blog-ului ce vor fi trimise la Twitter."
613
+
614
+ #: wp-to-twitter-manager.php:682
615
+ msgid "<em>Category limits are disabled.</em>"
616
+ msgstr "<em>Limitarea categoriilor este dezactivata.</em>"
617
+
618
+ #: wp-to-twitter-manager.php:696
619
+ msgid "Check Support"
620
+ msgstr "Verifica suportul"
621
+
622
+ #: wp-to-twitter-manager.php:696
623
+ msgid "Check whether your server supports <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL shortening APIs. This test will send a status update to Twitter and shorten a URL using your selected methods."
624
+ msgstr "Verifica daca serverul tau suporta interogarile <a href=\"http://www.joedolson.com/articles/wp-to-twitter/\">WP to Twitter</a> catre URL-ul Twitter si API-urile de scurtare URL. Acest test va trimite o actualizare de stare catre Twitter si va scurta URL-ul folosind metoda selectata."
625
+
626
+ #: wp-to-twitter-oauth.php:105
627
+ #: wp-to-twitter-oauth.php:143
628
+ msgid "Connect to Twitter"
629
+ msgstr "Conecteaza la Twitter"
630
+
631
+ #: wp-to-twitter-oauth.php:108
632
+ msgid "The process to set up OAuth authentication for your web site is needlessly laborious. It is also confusing. However, this is the only method available from Twitter at this time. Note that you will not, at any time, enter you Twitter username or password into WP to Twitter; they are not used in OAuth authentication."
633
+ msgstr "Procesul pentru a configura autentificarea OAuth pentru site-ul dvs. este inutil de laborios. Este de asemenea confuz. Cu toate acestea, este singura metodă disponibilă de la Twitter in acest moment. Retineti ca nu veti introduce niciodata numele de utilizator sau parola in WP to Twitter, ele nu sunt utilizate în autentificarea OAuth."
634
+
635
+ #: wp-to-twitter-oauth.php:111
636
+ msgid "1. Register this site as an application on "
637
+ msgstr "1. Inregistreaza acest site ca aplicatie pe "
638
+
639
+ #: wp-to-twitter-oauth.php:111
640
+ msgid "Twitter's application registration page"
641
+ msgstr "Pagina de inregistrare a aplicatiei Twitter"
642
+
643
+ #: wp-to-twitter-oauth.php:113
644
+ msgid "If you're not currently logged in, use the Twitter username and password which you want associated with this site"
645
+ msgstr "Daca nu sunteti conectat in prezent, folositi numele de utilizator si parola Twitter pe care doriti sa le asociati cu acest site"
646
+
647
+ #: wp-to-twitter-oauth.php:114
648
+ msgid "Your Application's Name will be what shows up after \"via\" in your twitter stream; previously, \"WP to Twitter.\" Your application name cannot include the word \"Twitter.\" I suggest using the name of your web site."
649
+ msgstr "Numele aplicatiei dvs. va apare dupa \"via\" in fluxul Twitter; anterior, \"WP to Twitter.\" Numele aplicatiei nu poate include cuvantul \"Twitter.\" Iti sugeram sa utilizati numele site-ului dvs."
650
+
651
+ #: wp-to-twitter-oauth.php:115
652
+ msgid "Your Application Description can be whatever you want."
653
+ msgstr "Descrierea aplicatiei poate fi oricare"
654
+
655
+ #: wp-to-twitter-oauth.php:116
656
+ msgid "Application Type should be set on "
657
+ msgstr "Tipul aplicatiei trebuie setat la"
658
+
659
+ #: wp-to-twitter-oauth.php:116
660
+ msgid "Browser"
661
+ msgstr "Browser"
662
+
663
+ #: wp-to-twitter-oauth.php:117
664
+ msgid "The Callback URL should be "
665
+ msgstr "URL-ul pentru raspuns ar trebui sa fie"
666
+
667
+ #: wp-to-twitter-oauth.php:118
668
+ msgid "Default Access type must be set to "
669
+ msgstr "Tipul de acces implicit trebuie sa fie setat la"
670
+
671
+ #: wp-to-twitter-oauth.php:118
672
+ msgid "Read &amp; Write"
673
+ msgstr "Citire &amp; Scriere"
674
+
675
+ #: wp-to-twitter-oauth.php:118
676
+ msgid "(this is NOT the default)"
677
+ msgstr "(acesta nu este implicit)"
678
+
679
+ #: wp-to-twitter-oauth.php:120
680
+ msgid "Once you have registered your site as an application, you will be provided with a consumer key and a consumer secret."
681
+ msgstr "Odata inregistrat site-ul ca aplicatie, vei primi o cheie de utilizare si o cheie secreta."
682
+
683
+ #: wp-to-twitter-oauth.php:121
684
+ msgid "2. Copy and paste your consumer key and consumer secret into the fields below"
685
+ msgstr "2. Copiaza si lipeste cheie de utlilizator si cheia secreta in campurile de mai jos"
686
+
687
+ #: wp-to-twitter-oauth.php:124
688
+ msgid "Twitter Consumer Key"
689
+ msgstr "Cheie utilizator Twitter"
690
+
691
+ #: wp-to-twitter-oauth.php:128
692
+ msgid "Twitter Consumer Secret"
693
+ msgstr "Secret utilizator Twitter"
694
+
695
+ #: wp-to-twitter-oauth.php:131
696
+ msgid "3. Copy and paste your Access Token and Access Token Secret into the fields below"
697
+ msgstr "3. Copiaza si lipeste codul de acces si codul de acces secret in campurile de mai jos"
698
+
699
+ #: wp-to-twitter-oauth.php:132
700
+ msgid "On the right hand side of your new application page at Twitter, click on 'My Access Token'."
701
+ msgstr "In bara lateral dreapta din pagina aplicatiei Twitter, apasa pe My access Token."
702
+
703
+ #: wp-to-twitter-oauth.php:134
704
+ msgid "Access Token"
705
+ msgstr "Cod de acces"
706
+
707
+ #: wp-to-twitter-oauth.php:138
708
+ msgid "Access Token Secret"
709
+ msgstr "Cod de acces secret"
710
+
711
+ #: wp-to-twitter-oauth.php:153
712
+ msgid "Disconnect from Twitter"
713
+ msgstr "Deconecteaza de la Twitter"
714
+
715
+ #: wp-to-twitter-oauth.php:160
716
+ msgid "Twitter Username "
717
+ msgstr "Username Twitter"
718
+
719
+ #: wp-to-twitter-oauth.php:161
720
+ msgid "Consumer Key "
721
+ msgstr "Cheie utilizator"
722
+
723
+ #: wp-to-twitter-oauth.php:162
724
+ msgid "Consumer Secret "
725
+ msgstr "Secret utilizator"
726
+
727
+ #: wp-to-twitter-oauth.php:163
728
+ msgid "Access Token "
729
+ msgstr "Cod de acces"
730
+
731
+ #: wp-to-twitter-oauth.php:164
732
+ msgid "Access Token Secret "
733
+ msgstr "Cod de acces secret"
734
+
735
+ #: wp-to-twitter-oauth.php:167
736
+ msgid "Disconnect Your WordPress and Twitter Account"
737
+ msgstr "Deconecteaza conturile Wordpress si Twitter"
738
+
739
+ #: wp-to-twitter.php:53
740
+ #, php-format
741
+ msgid "Twitter now requires authentication by OAuth. You will need you to update your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
742
+ msgstr "Twiter solicita autentificarea prin OAuth. Va trebui sa-ti actualizezi <a href=\"%s\">setarile</a> pentru a continua sa utilizezi WP to Twitter."
743
+
744
+ #: wp-to-twitter.php:147
745
+ msgid "200 OK: Success!"
746
+ msgstr "200 OK: Succes!"
747
+
748
+ #: wp-to-twitter.php:150
749
+ msgid "400 Bad Request: The request was invalid. This is the status code returned during rate limiting."
750
+ msgstr "400 Bad request: Cererea a fost invalida. Acest mesaj de eroare este returnat in timpul limitarii ratei."
751
+
752
+ #: wp-to-twitter.php:153
753
+ msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
754
+ msgstr "401 Unauthorized: Datele de autentificare lipsesc sau sunt incorecte."
755
+
756
+ #: wp-to-twitter.php:156
757
+ msgid "403 Forbidden: The request is understood, but it has been refused. This code is used when requests are being denied due to status update character limits."
758
+ msgstr "403 Forbidden: Cererea este inteleasa insa este refuzata. Acest cod este folosit atunci cand cererile sunt refuzate din cauza actualizarii starii limitelor de caractere."
759
+
760
+ #: wp-to-twitter.php:158
761
+ msgid "500 Internal Server Error: Something is broken at Twitter."
762
+ msgstr "500 Internal Server Error: Ceva este in neregula la Twitter."
763
+
764
+ #: wp-to-twitter.php:161
765
+ msgid "503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later."
766
+ msgstr "503 Service Unavailable: Serverele Twitter sunt accesibile insa sunt supraincarcate cu cereri. Te rog sa incerci mai tarziu."
767
+
768
+ #: wp-to-twitter.php:164
769
+ msgid "502 Bad Gateway: Twitter is down or being upgraded."
770
+ msgstr "502 Bad Gateway: Twitter este cazut sau este in curs de actualizare."
771
+
772
+ #. #-#-#-#-# plugin.pot (WP to Twitter 2.2.4) #-#-#-#-#
773
+ #. Plugin Name of the plugin/theme
774
+ #: wp-to-twitter.php:746
775
+ msgid "WP to Twitter"
776
+ msgstr "WP to Twitter"
777
+
778
+ #: wp-to-twitter.php:822
779
+ msgid "Don't Tweet this post."
780
+ msgstr "Nu trimite acest articol la Twitter"
781
+
782
+ #: wp-to-twitter.php:832
783
+ msgid "This URL is direct and has not been shortened: "
784
+ msgstr "Acesta este un URL direct, nu a fost scurtat:"
785
+
786
+ #: wp-to-twitter.php:888
787
+ msgid "WP to Twitter User Settings"
788
+ msgstr "Setari utilizatori pentru WP to Twitter"
789
+
790
+ #: wp-to-twitter.php:892
791
+ msgid "Use My Twitter Username"
792
+ msgstr "Foloseste username-ul meu Twitter"
793
+
794
+ #: wp-to-twitter.php:893
795
+ msgid "Tweet my posts with an @ reference to my username."
796
+ msgstr "Trimite articolele cu un @ in username."
797
+
798
+ #: wp-to-twitter.php:894
799
+ msgid "Tweet my posts with an @ reference to both my username and to the main site username."
800
+ msgstr "Trimite articolele cu un @ atat in fata username-ului cat si in fata username-ului site-ului principal."
801
+
802
+ #: wp-to-twitter.php:899
803
+ msgid "Enter your own Twitter username."
804
+ msgstr "Introdu username-ul Twitter personal."
805
+
806
+ #: wp-to-twitter.php:935
807
+ msgid "Check the categories you want to tweet:"
808
+ msgstr "Bifeaza categoriile pe care vrei sa le trimiti la Twitter:"
809
+
810
+ #: wp-to-twitter.php:952
811
+ msgid "Set Categories"
812
+ msgstr "Seteaza categoriile"
813
+
814
+ #: wp-to-twitter.php:1026
815
+ msgid "<p>Couldn't locate the settings page.</p>"
816
+ msgstr "<p>Nu am putut localiza pagina de setari.</p>"
817
+
818
+ #: wp-to-twitter.php:1031
819
+ msgid "Settings"
820
+ msgstr "Setari"
821
+
822
+ #. Plugin URI of the plugin/theme
823
+ msgid "http://www.joedolson.com/articles/wp-to-twitter/"
824
+ msgstr "http://www.joedolson.com/articles/wp-to-twitter/"
825
+
826
+ #. Description of the plugin/theme
827
+ 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."
828
+ msgstr "Actualizeaza Twitter atunci cand creezi un articol nou sau adaugi legaturi noi folosind Cli.gs. Cu o cheie API Cli.gs, creeaza un Clig in contul tau Cli.gs cu numele articolului ca titlu."
829
+
830
+ #. Author of the plugin/theme
831
+ msgid "Joseph Dolson"
832
+ msgstr "Joseph Dolson"
833
+
834
+ #. Author URI of the plugin/theme
835
+ msgid "http://www.joedolson.com/"
836
+ msgstr "http://www.joedolson.com/"
837
+
wp-to-twitter.php CHANGED
@@ -2,12 +2,12 @@
2
  /*
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/
5
- Description: 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.
6
- Version: 2.2.2
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
10
- /* Copyright 2008 Joseph C Dolson (email : wp-to-twitter@joedolson.com)
11
 
12
  This program is free software; you can redistribute it and/or modify
13
  it under the terms of the GNU General Public License as published by
@@ -23,47 +23,88 @@ Author URI: http://www.joedolson.com/
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
- // include service functions
27
- require_once( WP_PLUGIN_DIR . '/wp-to-twitter/functions.php' );
28
- require_once( WP_PLUGIN_DIR . '/wp-to-twitter/wp-to-twitter-oauth.php' );
29
 
30
- global $wp_version,$version,$jd_plugin_url,$jdwp_api_post_status, $x_jdwp_post_status;
31
- $version = "2.2.2";
32
- $plugin_dir = basename(dirname(__FILE__));
33
- load_plugin_textdomain( 'wp-to-twitter', 'wp-content/plugins/' . $plugin_dir, $plugin_dir );
 
 
 
34
 
 
 
 
 
 
 
35
 
36
- $jdwp_api_post_status = "http://twitter.com/statuses/update.json";
37
- $x_jd_api_post_status = get_option( 'x_jd_api_post_status' );
 
 
38
 
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  $jd_plugin_url = "http://www.joedolson.com/articles/wp-to-twitter/";
41
  $jd_donate_url = "http://www.joedolson.com/donate.php";
42
 
43
- if ( !defined( 'WP_PLUGIN_DIR' ) ) {
44
- define( 'WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins' );
45
- }
46
-
47
  // Check whether a supported version is in use.
48
- $exit_msg='WP to Twitter requires WordPress 2.7 or a more recent version. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update your WordPress version!</a>';
49
 
50
- if ( version_compare( $wp_version,"2.7","<" )) {
51
  exit ($exit_msg);
52
- }
53
- // check for OAuth configuration
54
- if ( !wtt_oauth_test() && get_option('disable_oauth_notice') != '1' ) {
55
- add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>".sprintf(__('Twitter now requires authentication by OAuth. You will need you to update your <a href="%s">settings</a> in order to continue to use WP to Twitter.', 'wp-to-twitter'), admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'))."</p></div>';" ) );
56
- }
 
 
 
 
 
 
 
57
 
58
  function wptotwitter_activate() {
59
  global $version;
60
- $prev_version = get_option( 'wp_to_twitter_version',$version );
61
  // this is a switch to plan for future versions
62
- /* switch($prev_version) {
63
- case '':
64
- break;
65
- default:
66
- } */
 
 
 
 
 
 
 
 
 
 
 
 
67
  update_option( 'wp_to_twitter_version',$version );
68
  }
69
 
@@ -77,88 +118,80 @@ function external_or_permalink( $post_ID ) {
77
  return ( $ex_link ) ? $ex_link : $perma_link;
78
  }
79
 
80
- function jd_doUnknownAPIPost( $twit, $authID=FALSE, $service="basic" ) {
81
- global $version, $jd_plugin_url, $x_jd_api_post_status;
82
- //check if user login details have been entered on admin page
83
- if ($authID == FALSE || ( get_option( 'jd_individual_twitter_users' ) != '1' ) ) {
84
- $thisuser = get_option( 'x-login' );
85
- $thispass = stripcslashes( get_option( 'x-pw' ) );
86
- } else {
87
- if ( ( get_usermeta( $authID, 'wp-to-twitter-enable-user' ) == 'true' || get_usermeta( $authID, 'wp-to-twitter-enable-user' ) == 'userTwitter' || get_usermeta( $authID, 'wp-to-twitter-enable-user' ) == 'userAtTwitter' ) && ( get_usermeta( $authID, 'wp-to-twitter-user-username' ) != "" && get_usermeta( $authID, 'wp-to-twitter-user-password' ) != "" ) ) {
88
- $thisuser = get_usermeta( $authID, 'wp-to-twitter-user-username' );
89
- $thispass = stripcslashes( get_usermeta( $authID, 'wp-to-twitter-user-password' ) );
90
- } else {
91
- $thisuser = get_option( 'x-login' );
92
- $thispass = stripcslashes( get_option( 'x-pw' ) );
93
- }
94
- }
95
- if ($thisuser == '' || $thispass == '' || $twit == '' ) {
96
- return FALSE;
97
  } else {
98
- if ( $service == "Twitter" ) {
99
- return false;
100
- }
101
- $twit = urldecode( $twit );
102
- $body = array( 'status'=>$twit, 'source'=>'wptotwitter' );
103
- $headers = array( 'Authorization' => 'Basic '.base64_encode("$thisuser:$thispass"),
104
- 'X-Twitter-Client'=>'WP to Twitter',
105
- 'X-Twitter-Client-Version' => $version,
106
- 'X-Twitter-Client-URL' => 'http://www.joedolson.com/scripts/wp-to-twitter.xml'
107
- );
108
- $result = jd_fetch_url( $x_jd_api_post_status, 'POST', $body, $headers, 'full' );
109
- // errors will be handled on receipt of $result
110
- if ( $result['response']['code'] != 200 ) {
111
- return false;
112
  } else {
113
- return true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
115
  }
116
  }
117
 
118
-
119
- // This function performs the API post to Twitter
120
- function jd_doTwitterAPIPost( $twit ) {
121
- global $jdwp_api_post_status;
122
- //check if user login details have been entered on admin page
123
- if ( $twit == '' ) {
124
- return FALSE;
125
- } else {
126
- if ( wtt_oauth_test() && ( $connection = wtt_oauth_connection() ) ) {
127
- $connection->post(
128
- $jdwp_api_post_status
129
- , array(
130
- 'status' => $twit
131
- , 'source' => 'wp-to-twitter'
132
- )
133
- );
134
- if ( strcmp( $connection->http_code, '200' ) == 0 ) {
135
- $return = true;
136
- $error = __("200 OK: Success!",'wp-to-twitter');
137
- } else if ( strcmp( $connection->http_code, '400' ) == 0 ) {
138
- $return = false;
139
- $error = __("400 Bad Request: The request was invalid. This is the status code returned during rate limiting.",'wp-to-twitter');
140
- } else if ( strcmp( $connection->http_code, '401' ) == 0 ) {
141
- $return = false;
142
- $error = __("401 Unauthorized: Authentication credentials were missing or incorrect.",'wp-to-twitter');
143
- } else if ( strcmp( $connection->http_code, '403' ) == 0 ) {
144
- $return = false;
145
- $error = __("403 Forbidden: The request is understood, but it has been refused. This code is used when requests are being denied due to update limits.",'wp-to-twitter'); } else if ( strcmp( $connection->http_code, '500' ) == 0 ) {
146
- $return = false;
147
- $error = __("500 Internal Server Error: Something is broken at Twitter.",'wp-to-twitter');
148
- } else if ( strcmp( $connection->http_code, '503' ) == 0 ) {
149
- $return = false;
150
- $error = __("503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later.",'wp-to-twitter');
151
- } else if ( strcmp( $connection->http_code, '502' ) == 0 ) {
152
- $return = false;
153
- $error = __("502 Bad Gateway: Twitter is down or being upgraded.",'wp-to-twitter');
154
- }
155
- update_option( 'jd_last_tweet',$twit );
156
- update_option( 'jd_status_message',$error );
157
- return $return;
158
- }
159
- }
160
  }
161
 
 
162
  function jd_truncate_tweet( $sentence, $thisposttitle, $thisblogtitle, $thispostexcerpt, $thisposturl, $thispostcategory, $thisdate, $post_ID, $authID=FALSE ) {
163
  $post_length = 140;
164
  $sentence = trim($sentence);
@@ -172,52 +205,49 @@ $thispostcategory = trim($thispostcategory);
172
  $thisauthor = get_the_author_meta( 'display_name',$post_author );
173
 
174
  if ( get_option( 'jd_individual_twitter_users' ) == 1 ) {
175
- if ( get_usermeta( $authID, 'wp-to-twitter-enable-user' ) == 'mainAtTwitter' ) {
176
- $at_append = "@" . stripcslashes(get_usermeta( $authID, 'wp-to-twitter-user-username' ));
177
- } else if ( get_usermeta( $authID, 'wp-to-twitter-enable-user' ) == 'mainAtTwitterPlus' ) {
178
- $at_append = "@" . stripcslashes(get_usermeta( $authID, 'wp-to-twitter-user-username' ) . ' @' . get_option( 'wtt_twitter_username' ));
179
  }
180
  } else {
181
- $at_append = "";
182
- }
183
- if ($sentence != '') {
184
- $sentence = $at_append . " " . $sentence;
185
  }
186
  if ( get_option( 'use_tags_as_hashtags' ) == '1' && $sentence != '' ) {
187
- $sentence = $sentence . " " . generate_hash_tags( $post_ID );
188
  }
189
-
190
  if ( get_option( 'jd_twit_prepend' ) != "" && $sentence != '' ) {
191
  $sentence = get_option( 'jd_twit_prepend' ) . " " . $sentence;
192
  }
193
  if ( get_option( 'jd_twit_append' ) != "" && $sentence != '' ) {
194
  $sentence = $sentence . " " . get_option( 'jd_twit_append' );
195
  }
196
- if ( mb_substr( $thispostexcerpt, -1 ) == ";" || mb_substr( $thispostexcerpt, -1 ) == "," || mb_substr( $thispostexcerpt, -1 ) == ":" ) {
197
- $thispostexcerpt = mb_substr_replace( $thispostexcerpt,"",-1, 1 );
198
- }
199
- if ( mb_substr( $thispostexcerpt, -1 ) != "." && mb_substr( $thispostexcerpt, -1 ) != "?" && mb_substr( $thispostexcerpt, -1 ) != "!" ) {
200
- $thispostexcerpt = $thispostexcerpt . "...";
201
- }
202
- $post_sentence = str_ireplace( "#url#", $thisposturl, $sentence );
203
  $post_sentence = str_ireplace( '#title#', $thisposttitle, $post_sentence );
204
- $post_sentence = str_ireplace ( '#blog#',$thisblogtitle,$post_sentence );
205
- $post_sentence = str_ireplace ( '#post#',$thispostexcerpt,$post_sentence );
206
- $post_sentence = str_ireplace ( '#category#',$thispostcategory,$post_sentence );
207
- $post_sentence = str_ireplace ( '#date#', $thisdate,$post_sentence );
208
- $post_sentence = str_ireplace ( '#author#', $thisauthor,$post_sentence );
209
 
210
- $str_length = mb_strlen( urldecode( $post_sentence ) );
211
  $length = get_option( 'jd_post_excerpt' );
212
 
213
  $length_array = array();
214
  //$order = get_option( 'jd_truncation_sort_order' );
215
- $length_array['thispostexcerpt'] = mb_strlen($thispostexcerpt);
216
- $length_array['thisblogtitle'] = mb_strlen($thisblogtitle);
217
- $length_array['thisposttitle'] = mb_strlen($thisposttitle);
218
- $length_array['thispostcategory'] = mb_strlen($thispostcategory);
219
- $length_array['thisdate'] = mb_strlen($thisdate);
220
- $length_array['thisauthor'] = mb_strlen($thisauthor);
 
 
 
 
 
 
221
 
222
  if ( $str_length > $post_length ) {
223
  foreach($length_array AS $key=>$value) {
@@ -226,23 +256,28 @@ if ( $str_length > $post_length ) {
226
  $old_value = ${$key};
227
  $new_value = mb_substr( $old_value,0,-( $trim ) );
228
  $post_sentence = str_ireplace( $old_value,$new_value,$post_sentence );
229
- $str_length = mb_strlen( urldecode( $post_sentence ) );
230
- } else {
231
  }
232
  }
233
  }
234
- $sentence = $post_sentence;
 
 
 
 
 
235
  return $sentence;
236
  }
237
 
238
  function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='false' ) {
239
- $cligsapi = trim ( get_option( 'cligsapi' ) );
 
240
  $bitlyapi = trim ( get_option( 'bitlyapi' ) );
241
- $bitlylogin = trim ( get_option( 'bitlylogin' ) );
242
  $yourlslogin = trim ( get_option( 'yourlslogin') );
243
  $yourlsapi = stripcslashes( get_option( 'yourlsapi' ) );
244
- if ($testmode != 'false') {
245
- if ( ( get_option('twitter-analytics-campaign') != '' ) && ( get_option('use-twitter-analytics') == 1 || get_option('use_dynamic_analytics') == 1 ) ) {
246
  if ( get_option('use_dynamic_analytics') == '1' ) {
247
  $campaign_type = get_option('jd_dynamic_analytics');
248
  if ($campaign_type == "post_category" && $testmode != 'link' ) {
@@ -266,9 +301,8 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
266
  } else {
267
  $this_campaign = get_option('twitter-analytics-campaign');
268
  }
269
- $search = array(" ","&","?");
270
- $this_campaign = str_replace($search,'',$this_campaign);
271
- if ( strpos( $thispostlink,"%3F" ) === FALSE) {
272
  $thispostlink .= "?";
273
  } else {
274
  $thispostlink .= "&";
@@ -276,7 +310,8 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
276
  $thispostlink .= "utm_campaign=$this_campaign&utm_medium=twitter&utm_source=twitter";
277
  }
278
  }
279
- $thispostlink = urlencode(trim($thispostlink));
 
280
 
281
  // custom word setting
282
  $keyword_format = ( get_option( 'jd_keyword_format' ) == '1' )?$post_ID:'';
@@ -284,9 +319,7 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
284
  switch ( get_option( 'jd_shortener' ) ) {
285
  case 0:
286
  case 1:
287
- $shrink = jd_fetch_url( "http://cli.gs/api/v1/cligs/create?t=wphttp&appid=WP-to-Twitter&url=".$thispostlink."&title=".$thisposttitle."&key=".$cligsapi );
288
- update_option( 'wp_cligs_error',"Cligs API result: $shrink" );
289
- if ( !is_valid_url($shrink) ) { $shrink = false; }
290
  break;
291
  case 2: // updated to v3 3/31/2010
292
  $decoded = jd_remote_json( "http://api.bit.ly/v3/shorten?longUrl=".$thispostlink."&login=".$bitlylogin."&apiKey=".$bitlyapi."&format=json" );
@@ -307,7 +340,7 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
307
  $shrink = urldecode($thispostlink);
308
  break;
309
  case 4:
310
- $shrink = get_bloginfo('url') . "/?p=" . $post_ID;
311
  break;
312
  case 5:
313
  // local YOURLS installation
@@ -315,10 +348,16 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
315
  global $yourls_reserved_URL;
316
  define('YOURLS_INSTALLING', true); // Pretend we're installing YOURLS to bypass test for install or upgrade
317
  define('YOURLS_FLOOD_DELAY_SECONDS', 0); // Disable flood check
318
- if( file_exists( dirname( get_option( 'yourlspath' ) ).'/load-yourls.php' ) ) { // YOURLS 1.4
 
 
319
  global $ydb;
320
- require_once( dirname( get_option( 'yourlspath' ) ).'/load-yourls.php' );
321
- $yourls_result = yourls_add_new_link( $thispostlink, $keyword_format );
 
 
 
 
322
  } else { // YOURLS 1.3
323
  require_once( get_option( 'yourlspath' ) );
324
  $yourls_db = new wpdb( YOURLS_DB_USER, YOURLS_DB_PASS, YOURLS_DB_NAME, YOURLS_DB_HOST );
@@ -341,11 +380,30 @@ function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='fa
341
  $shrink = false;
342
  }
343
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  }
345
- if ($testmode == 'false') {
346
- if ( $shrink === FALSE || ( stristr( $shrink, "http://" ) === FALSE )) {
347
  update_option( 'wp_url_failure','1' );
348
- $shrink = $thispostlink;
349
  } else {
350
  update_option( 'wp_url_failure','0' );
351
  }
@@ -422,7 +480,7 @@ function jd_post_info( $post_ID ) {
422
  $values['categoryIds'] = $category_ids;
423
  $values['category'] = $category;
424
  $excerpt_length = get_option( 'jd_post_excerpt' );
425
- $values['postExcerpt'] = ( trim( $get_post_info->post_excerpt ) == "" )?@mb_substr( strip_tags($get_post_info->post_content), 0, $excerpt_length ):@mb_substr( strip_tags($get_post_info->post_excerpt), 0, $excerpt_length );
426
  $thisposttitle = stripcslashes( strip_tags( $get_post_info->post_title ) );
427
  if ($thisposttitle == "") {
428
  $thisposttitle = stripcslashes( strip_tags( $_POST['title'] ) );
@@ -432,6 +490,7 @@ function jd_post_info( $post_ID ) {
432
  $values['blogTitle'] = get_bloginfo( 'name' );
433
  $values['shortUrl'] = get_post_meta( $post_ID, '_wp_jd_clig', TRUE );
434
  $values['postStatus'] = $get_post_info->post_status;
 
435
  return $values;
436
  }
437
 
@@ -448,41 +507,47 @@ function jd_twit( $post_ID ) {
448
  $jd_tweet_this = get_post_meta( $post_ID, '_jd_tweet_this', TRUE);
449
  if ( $jd_tweet_this != "no" ) {
450
  $jd_post_info = jd_post_info( $post_ID );
451
- $sentence = '';
452
- $customTweet = stripcslashes( trim( $_POST['_jd_twitter'] ) );
453
- if ( ( $jd_post_info['postStatus'] == 'publish' || $_POST['publish'] == 'Publish') && ($_POST['prev_status'] == 'draft' || $_POST['original_post_status'] == 'draft' || $_POST['prev_status'] == 'pending' || $_POST['original_post_status'] =='pending' || $_POST['original_post_status'] == 'auto-draft' ) ) {
454
- // publish new post
455
- if ( get_option( 'newpost-published-update' ) == '1' ) {
456
- $nptext = stripcslashes( get_option( 'newpost-published-text' ) );
457
- $newpost = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
  }
459
- } else if ( (( $_POST['originalaction'] == "editpost" ) && ( ( $_POST['prev_status'] == 'publish' ) || ($_POST['original_post_status'] == 'publish') ) ) && $jd_post_info['postStatus'] == 'publish') {
460
- // if this is an old post and editing updates are enabled
461
- if ( get_option( 'oldpost-edited-update') == '1' ) {
462
- $nptext = stripcslashes( get_option( 'oldpost-edited-text' ) );
463
- $oldpost = true;
464
- }
465
- }
466
- if ($newpost || $oldpost) {
467
- $sentence = ( $customTweet != "" ) ? $customTweet : $nptext;
468
- if ($jd_post_info['shortUrl'] != '') {
469
- $shrink = $jd_post_info['shortUrl'];
470
- } else {
471
- $shrink = jd_shorten_link( $jd_post_info['postLink'], $jd_post_info['postTitle'], $post_ID );
472
- store_url( $post_ID, $shrink );
473
- }
474
- $sentence = custom_shortcodes( $sentence, $post_ID );
475
- $sentence = jd_truncate_tweet( $sentence, $jd_post_info['postTitle'], $jd_post_info['blogTitle'], $jd_post_info['postExcerpt'], $shrink, $jd_post_info['category'], $jd_post_info['postDate'], $post_ID, $jd_post_info['authId'] );
476
- }
477
-
478
- if ( $sentence != '' ) {
479
- if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
480
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
481
- if ( $sendToTwitter == false ) {
482
  update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
483
- update_option( 'wp_twitter_failure','1' );
 
 
484
  }
485
  }
 
 
486
  }
487
  }
488
  return $post_ID;
@@ -502,11 +567,11 @@ function jd_twit_page( $post_ID ) {
502
  } else if ( (( $_POST['originalaction'] == "editpost" ) && ( ( $_POST['prev_status'] == 'publish' ) || ($_POST['original_post_status'] == 'publish') ) ) && $jd_post_info['postStatus'] == 'publish') {
503
  $oldpost = true; // if this is an old page and editing updates are enabled
504
  if ( get_option( 'jd_twit_edited_pages' ) == '1' ) {
505
- $nptext = stripcslashes( get_option( 'oldpage-published-text' ) );
506
  }
507
  }
508
  if ($newpost || $oldpost) {
509
- $sentence = ( $customTweet != "" ) ? $customTweet : $nptext;
510
  if ($jd_post_info['shortUrl'] != '') {
511
  $shrink = $jd_post_info['shortUrl'];
512
  } else {
@@ -518,9 +583,9 @@ function jd_twit_page( $post_ID ) {
518
  }
519
  if ( $sentence != '' ) {
520
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
521
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
 
522
  if ( $sendToTwitter == false ) {
523
- update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
524
  update_option( 'wp_twitter_failure','1' );
525
  }
526
  }
@@ -538,16 +603,9 @@ global $version;
538
  $thispostlink = $_POST['link_url'] ;
539
  $thislinkdescription = stripcslashes( $_POST['link_description'] );
540
  $sentence = stripcslashes( get_option( 'newlink-published-text' ) );
541
- if ( get_option( 'jd-use-link-description' ) == '1' || get_option ( 'jd-use-link-title' ) == '1' ) {
542
- if ( get_option( 'jd-use-link-description' ) == '1' && get_option ( 'jd-use-link-title' ) == '0' ) {
543
- $sentence = $sentence . ' ' . $thislinkdescription;
544
- } else if ( get_option( 'jd-use-link-description' ) == '0' && get_option ( 'jd-use-link-title' ) == '1' ) {
545
- $sentence = $sentence . ' ' . $thislinkname;
546
- }
547
- } else {
548
- $sentence = str_ireplace("#title#",$thislinkname,$sentence);
549
- $sentence = str_ireplace("#description#",$thislinkdescription,$sentence);
550
- }
551
  if (mb_strlen( $sentence ) > 120) {
552
  $sentence = mb_substr($sentence,0,116) . '...';
553
  }
@@ -558,7 +616,7 @@ global $version;
558
  $sentence = str_ireplace("#url#",$shrink,$sentence);
559
  }
560
  if ( $sentence != '' ) {
561
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
562
  if ( $sendToTwitter == false ) {
563
  update_option('wp_twitter_failure','2');
564
  }
@@ -572,6 +630,7 @@ global $version;
572
  // HANDLES SCHEDULED POSTS
573
  function jd_twit_future( $post_ID ) {
574
  $post_ID = $post_ID->ID;
 
575
  if ( $jd_tweet_this != "no" ) {
576
  $jd_post_info = jd_post_info( $post_ID );
577
  $sentence = '';
@@ -588,9 +647,9 @@ function jd_twit_future( $post_ID ) {
588
 
589
  if ( $sentence != '' ) {
590
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
591
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
 
592
  if ( $sendToTwitter == false ) {
593
- add_post_meta( $post_ID,'_jd_wp_twitter',urldecode($sentence) );
594
  update_option( 'wp_twitter_failure','1' );
595
  }
596
  }
@@ -612,9 +671,9 @@ function jd_twit_quickpress( $post_ID ) {
612
  $sentence = jd_truncate_tweet( $sentence, $jd_post_info['postTitle'], $jd_post_info['blogTitle'], $jd_post_info['postExcerpt'], $shrink, $jd_post_info['category'], $jd_post_info['postDate'], $post_ID, $jd_post_info['authId'] );
613
  if ( $sentence != '' ) {
614
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
615
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
 
616
  if ($sendToTwitter == false ) {
617
- add_post_meta( $post_ID,'_jd_wp_twitter',urldecode($sentence) );
618
  update_option( 'wp_twitter_failure','1' );
619
  }
620
  }
@@ -642,9 +701,9 @@ function jd_twit_xmlrpc( $post_ID ) {
642
 
643
  if ( $sentence != '' ) {
644
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
645
- $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
 
646
  if ($sendToTwitter == false ) {
647
- add_post_meta( $post_ID,'_jd_wp_twitter',urldecode($sentence));
648
  update_option('wp_twitter_failure','1');
649
  }
650
  }
@@ -658,33 +717,40 @@ function jd_twit_xmlrpc( $post_ID ) {
658
  add_action('admin_menu','jd_add_twitter_outer_box');
659
 
660
  function store_url($post_ID, $url) {
661
- if ( get_option( 'jd_shortener' ) == 0 || get_option( 'jd_shortener' ) == 1) {
662
- if ( get_post_meta ( $post_ID, '_wp_jd_clig', TRUE ) != $url ) {
663
- update_post_meta ( $post_ID, '_wp_jd_clig', $url );
664
- }
665
- } elseif ( get_option( 'jd_shortener' ) == 2 ) {
666
- if ( get_post_meta ( $post_ID, '_wp_jd_bitly', TRUE ) != $url ) {
667
- update_post_meta ( $post_ID, '_wp_jd_bitly', $url );
668
- }
669
- } elseif ( get_option( 'jd_shortener' ) == 3 ) {
670
- if ( get_post_meta ( $post_ID, '_wp_jd_url', TRUE ) != $url ) {
671
- update_post_meta ( $post_ID, '_wp_jd_url', $url );
672
- }
673
- } elseif ( get_option( 'jd_shortener' ) == 4 ) {
674
- if ( get_post_meta ( $post_ID, '_wp_jd_wp', TRUE ) != $url ) {
675
- update_post_meta ( $post_ID, '_wp_jd_wp', $url );
676
- }
677
- } elseif ( get_option( 'jd_shortener' ) == 5 || get_option( 'jd_shortener' ) == 6 ) {
678
- if ( get_post_meta ( $post_ID, '_wp_jd_yourls', TRUE ) != $url ) {
679
- update_post_meta ( $post_ID, '_wp_jd_yourls', $url );
680
- }
 
 
 
681
  }
 
 
 
 
682
  if ( get_option( 'jd_shortener' ) == '0' || get_option( 'jd_shortener' ) == '1' || get_option( 'jd_shortener' ) == '2' ) {
683
- $target = jd_expand_url( $url );
684
  } else if ( get_option( 'jd_shortener' ) == '5' || get_option( 'jd_shortener' ) == '6' ) {
685
- $target = jd_expand_yourl( $url, get_option( 'jd_shortener' ) );
686
  } else {
687
- $target = $url;
688
  }
689
  update_post_meta( $post_ID, '_wp_jd_target', $target );
690
  }
@@ -709,10 +775,13 @@ $max_characters = get_option( 'jd_max_characters' );
709
  foreach ( $tags as $value ) {
710
  $tag = $value->name;
711
  $replace = get_option( 'jd_replace_character' );
712
- if ($replace == "" || !$replace) { $replace = "_"; }
 
713
  if ($replace == "[ ]") { $replace = ""; }
714
- $value = str_ireplace( " ",$replace,trim( $tag ) );
715
- $newtag = "#$value";
 
 
716
  if ( mb_strlen( $newtag ) > 2 && (mb_strlen( $newtag ) <= $max_characters) && ($i <= $max_tags) ) {
717
  $hashtags .= "$newtag ";
718
  $i++;
@@ -746,10 +815,9 @@ jd_add_twitter_inner_box();
746
  }
747
 
748
  function jd_add_twitter_inner_box() {
749
- $twitter = "Twitter";
750
  $post_length = 140;
751
 
752
- global $post, $jd_plugin_url;
753
  $post_id = $post;
754
  if (is_object($post_id)) {
755
  $post_id = $post_id->ID;
@@ -757,7 +825,6 @@ global $post, $jd_plugin_url;
757
  if ( get_post_meta ( $post_id, "_jd_post_meta_fixed", true ) != 'true' ) {
758
  jd_fix_post_meta( $post_id );
759
  }
760
-
761
  $jd_twitter = htmlspecialchars( stripcslashes( get_post_meta($post_id, '_jd_twitter', true ) ) );
762
  $jd_tweet_this = get_post_meta( $post_id, '_jd_tweet_this', true );
763
  if ( ( get_option( 'jd_tweet_default' ) == '1' && $jd_tweet_this != 'yes' ) || $jd_tweet_this == 'no') {
@@ -793,22 +860,22 @@ cntfield.value = field.value.length;
793
  // End -->
794
  </script>
795
  <?php if ( $previous_tweet != '' ) {
796
- echo "<p class='error'><strong>Previous Tweet:</strong> $previous_tweet</p>";
797
  } ?>
798
  <p>
799
- <label for="jd_twitter"><?php _e("Custom $twitter Post", 'wp-to-twitter', 'wp-to-twitter') ?></label><br /><textarea style="width:95%;" name="_jd_twitter" id="jd_twitter" rows="2" cols="60"
800
  onKeyDown="countChars(document.post.jd_twitter,document.post.twitlength)"
801
- onKeyUp="countChars(document.post.jd_twitter,document.post.twitlength)"><?php echo attribute_escape( $jd_twitter ); ?></textarea>
802
  </p>
803
- <p><input readonly type="text" name="twitlength" size="3" maxlength="3" value="<?php echo attribute_escape( mb_strlen( $description) ); ?>" />
804
  <?php $minus_length = $post_length - 21; ?>
805
- <?php _e(" characters.<br />$twitter posts are a maximum of $post_length characters; if your short URL is appended to the end of your document, you have about $minus_length characters available. You can use <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#author#</code>, or <code>#blog#</code> to insert the shortened URL, post title, the first category selected, the post date, the post author, or a post excerpt or blog name into the Tweet.", 'wp-to-twitter', 'wp-to-twitter') ?>
806
  </p>
807
  <p>
808
  <a target="__blank" href="<?php echo $jd_donate_url; ?>"><?php _e('Make a Donation', 'wp-to-twitter', 'wp-to-twitter') ?></a> &bull; <a target="__blank" href="<?php echo $jd_plugin_url; ?>"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &raquo;
809
  </p>
810
  <p>
811
- <input type="checkbox" name="_jd_tweet_this" value="no"<?php echo attribute_escape( $jd_selected ); ?> id="jd_tweet_this" /> <label for="jd_tweet_this"><?php _e("Don't Tweet this post.", 'wp-to-twitter'); ?></label>
812
  </p>
813
  <p>
814
  <?php
@@ -827,12 +894,12 @@ if ($post_status == 'publish') {
827
  function jd_add_twitter_outer_box() {
828
  if ( function_exists( 'add_meta_box' )) {
829
  add_meta_box( 'wptotwitter_div','WP to Twitter', 'jd_add_twitter_inner_box', 'post', 'advanced' );
830
- if ( get_option( 'jd_twit_pages') == 1 ) {
831
  add_meta_box( 'wptotwitter_div','WP to Twitter', 'jd_add_twitter_inner_box', 'page', 'advanced' );
832
  }
833
  } else {
834
  add_action('dbx_post_advanced', 'jd_add_twitter_old_box' );
835
- if ( get_option( 'jd_twit_pages') == 1 ) {
836
  add_action('dbx_page_advanced', 'jd_add_twitter_old_box' );
837
  }
838
  }
@@ -845,7 +912,9 @@ function jd_fix_post_meta( $post_id ) {
845
  update_post_meta( $post_id, "_$value", $old_value );
846
  delete_post_meta( $post_id, $value );
847
  }
 
848
  add_post_meta( $post_id, "_jd_post_meta_fixed",'true' );
 
849
  }
850
 
851
  // Post the Custom Tweet into the post meta table
@@ -855,7 +924,7 @@ function post_jd_twitter( $id ) {
855
  jd_fix_post_meta( $post_id );
856
  }
857
  $jd_twitter = $_POST[ '_jd_twitter' ];
858
- if (isset($jd_twitter) && !empty($jd_twitter)) {
859
  update_post_meta( $id, '_jd_twitter', $jd_twitter );
860
  }
861
  $jd_tweet_this = esc_attr($_POST[ '_jd_tweet_this' ]);
@@ -864,13 +933,16 @@ function post_jd_twitter( $id ) {
864
 
865
 
866
  function jd_twitter_profile() {
867
- global $user_ID;
868
- get_currentuserinfo();
 
869
  if ( isset($_GET['user_id']) ) {
870
- $user_ID = (int) $_GET['user_id'];
871
- }
872
- $is_enabled = get_usermeta( $user_ID, 'wp-to-twitter-enable-user' );
873
- $twitter_username = get_usermeta( $user_ID, 'wp-to-twitter-user-username' );
 
 
874
  ?>
875
  <h3><?php _e('WP to Twitter User Settings', 'wp-to-twitter'); ?></h3>
876
 
@@ -882,11 +954,12 @@ function jd_twitter_profile() {
882
  </td>
883
  </tr>
884
  <tr>
885
- <th scope="row"><label for="wp-to-twitter-user-username"><?php _e("Your $twitter Username", 'wp-to-twitter'); ?></label></th>
886
- <td><input type="text" name="wp-to-twitter-user-username" id="wp-to-twitter-user-username" value="<?php echo attribute_escape( $twitter_username ); ?>" /> <?php _e('Enter your own Twitter username.', 'wp-to-twitter'); ?></td>
887
  </tr>
888
  </table>
889
  <?php
 
890
  }
891
 
892
  function custom_shortcodes( $sentence, $post_ID ) {
@@ -910,10 +983,12 @@ function jd_twitter_save_profile(){
910
  global $user_ID;
911
  get_currentuserinfo();
912
  if ( isset($_POST['user_id']) ) {
913
- $user_ID = (int) $_POST['user_id'];
914
- }
915
- update_usermeta($user_ID ,'wp-to-twitter-enable-user' , $_POST['wp-to-twitter-enable-user'] );
916
- update_usermeta($user_ID ,'wp-to-twitter-user-username' , $_POST['wp-to-twitter-user-username'] );
 
 
917
  }
918
  function jd_list_categories() {
919
  $selected = "";
@@ -950,60 +1025,10 @@ function jd_addTwitterAdminPages() {
950
  }
951
  }
952
  function jd_addTwitterAdminStyles() {
953
- $wp_to_twitter_directory = get_bloginfo( 'wpurl' ) . '/' . PLUGINDIR . '/' . dirname( plugin_basename(__FILE__) );
954
- echo "
955
- <style type=\"text/css\">
956
- <!--
957
- #wp-to-twitter #message {
958
- margin: 10px 0;
959
- padding: 5px;
960
- }
961
- #wp-to-twitter .jd-settings {
962
- clear: both;
963
- }
964
- #wp-to-twitter form .error p {
965
- background: none;
966
- border: none;
967
- }
968
- legend {
969
- font-weight: 700;
970
- font-size: 1.2em;
971
- padding: 6px 0;
972
- }
973
- .resources {
974
- float: right;
975
- border: 1px solid #aaa;
976
- padding: 10px 10px 0;
977
- margin-left: 10px;
978
- margin-bottom: 10px;
979
- -moz-border-radius: 5px;
980
- -webkit-border-radius: 5px;
981
- border-radius: 5px;
982
- background: #fff;
983
- text-align: center;
984
- }
985
- #wp-to-twitter .resources form {
986
- margin: 0;
987
- }
988
- .settings {
989
- margin: 25px 0;
990
- background: #fff;
991
- padding: 10px;
992
- border: 1px solid #000;
993
- }
994
- #wp-to-twitter .panel {
995
- border: 1px solid #ddd;
996
- background: #f6f6f6;
997
- padding: 5px;
998
- margin: 5px;
999
- }
1000
- #wp-to-twitter ul {
1001
- list-style-type: disc;
1002
- margin-left: 3em;
1003
- font-size: 1em;
1004
- }
1005
- -->
1006
- </style>";
1007
  }
1008
  // Include the Manager page
1009
  function jd_wp_Twitter_manage_page() {
@@ -1027,16 +1052,18 @@ if ( get_option( 'jd_individual_twitter_users')=='1') {
1027
  add_action( 'edit_user_profile', 'jd_twitter_profile' );
1028
  add_action( 'profile_update', 'jd_twitter_save_profile');
1029
  }
 
1030
  if ( get_option( 'disable_url_failure' ) != '1' ) {
1031
  if ( get_option( 'wp_url_failure' ) == '1' ) {
1032
- add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>';_e('There\'s been an error shortening your URL! <a href=\"".get_bloginfo('wpurl')."/wp-admin/options-general.php?page=wp-to-twitter/wp-to-twitter.php\">Visit your WP to Twitter settings page</a> to get more information and to clear this error message.','wp-to-twitter'); echo '</p></div>';" ) );
1033
  }
1034
  }
1035
  if ( get_option( 'disable_twitter_failure' ) != '1' ) {
1036
  if ( get_option( 'wp_twitter_failure' ) == '1' ) {
1037
- add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p>';_e('There\'s been an error posting your Twitter status! <a href=\"".get_bloginfo('wpurl')."/wp-admin/options-general.php?page=wp-to-twitter/wp-to-twitter.php\">Visit your WP to Twitter settings page</a> to get more information and to clear this error message.','wp-to-twitter'); echo '</p></div>';" ) );
1038
  }
1039
  }
 
1040
  if ( get_option( 'jd_twit_pages' )=='1' ) {
1041
  add_action( 'publish_page', 'jd_twit_page' );
1042
  }
@@ -1061,4 +1088,41 @@ add_action( 'save_post','post_jd_twitter' );
1061
  add_action( 'admin_menu', 'jd_addTwitterAdminPages' );
1062
 
1063
  register_activation_hook( __FILE__, 'wptotwitter_activate' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1064
  ?>
2
  /*
3
  Plugin Name: WP to Twitter
4
  Plugin URI: http://www.joedolson.com/articles/wp-to-twitter/
5
+ Description: Posts a Twitter status update when you update your WordPress blog or post to your blogroll, using your chosen URL shortening service. Rich in features for customizing and promoting your Tweets.
6
+ Version: 2.2.12
7
  Author: Joseph Dolson
8
  Author URI: http://www.joedolson.com/
9
  */
10
+ /* Copyright 2008-2011 Joseph C Dolson (email : wp-to-twitter@joedolson.com)
11
 
12
  This program is free software; you can redistribute it and/or modify
13
  it under the terms of the GNU General Public License as published by
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
 
 
 
26
 
27
+ if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) {
28
+ $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) );
29
+ } else {
30
+ $wp_content_url = get_option( 'siteurl' );
31
+ }
32
+ $wp_content_url .= '/wp-content';
33
+ $wp_content_dir = ABSPATH . 'wp-content';
34
 
35
+ if ( defined('WP_CONTENT_URL') ) {
36
+ $wp_content_url = constant('WP_CONTENT_URL');
37
+ }
38
+ if ( defined('WP_CONTENT_DIR') ) {
39
+ $wp_content_dir = constant('WP_CONTENT_DIR');
40
+ }
41
 
42
+ $wp_plugin_url = $wp_content_url . '/plugins';
43
+ $wp_plugin_dir = $wp_content_dir . '/plugins';
44
+ $wpmu_plugin_url = $wp_content_url . '/mu-plugins';
45
+ $wpmu_plugin_dir = $wp_content_dir . '/mu-plugins';
46
 
47
 
48
+ if ( version_compare( phpversion(), '5.0', '<' ) || !function_exists( 'curl_init' ) ) {
49
+ $warning = __('WP to Twitter requires PHP version 5 or above with cURL support. Please upgrade PHP or install cURL to run WP to Twitter.','wp-to-twitter' );
50
+ add_action('admin_notices', create_function( '', "echo \"<div class='error'><p>$warning</p></div>\";" ) );
51
+
52
+ } else {
53
+ require_once( $wp_plugin_dir . '/wp-to-twitter/wp-to-twitter-oauth.php' );
54
+ }
55
+
56
+ // include service functions
57
+ require_once( $wp_plugin_dir . '/wp-to-twitter/functions.php' );
58
+
59
+ global $wp_version,$version,$jd_plugin_url,$jdwp_api_post_status;
60
+ $version = "2.2.12";
61
+ $plugin_dir = basename(dirname(__FILE__));
62
+ load_plugin_textdomain( 'wp-to-twitter', false, dirname( plugin_basename( __FILE__ ) ) );
63
+
64
+ $jdwp_api_post_status = "http://api.twitter.com/1/statuses/update.json";
65
+
66
  $jd_plugin_url = "http://www.joedolson.com/articles/wp-to-twitter/";
67
  $jd_donate_url = "http://www.joedolson.com/donate.php";
68
 
 
 
 
 
69
  // Check whether a supported version is in use.
70
+ $exit_msg=__('WP to Twitter requires WordPress 2.9.2 or a more recent version. <a href="http://codex.wordpress.org/Upgrading_WordPress">Please update your WordPress version!</a>','wp-to-twitter');
71
 
72
+ if ( version_compare( $wp_version,"2.9.2","<" )) {
73
  exit ($exit_msg);
74
+ }
75
+
76
+ // check for OAuth configuration
77
+ if ( !function_exists('wtt_oauth_test') ) {
78
+ $oauth = false;
79
+ } else {
80
+ $oauth = wtt_oauth_test();
81
+ }
82
+
83
+ if ( !$oauth && get_option('disable_oauth_notice') != '1' ) {
84
+ add_action('admin_notices', create_function( '', "if ( ! current_user_can( 'manage_options' ) ) { return; } echo '<div class=\"error\"><p>".sprintf(__('Twitter now requires authentication by OAuth. You will need you to update your <a href="%s">settings</a> in order to continue to use WP to Twitter.', 'wp-to-twitter'), admin_url('options-general.php?page=wp-to-twitter/wp-to-twitter.php'))."</p></div>';" ) );
85
+ }
86
 
87
  function wptotwitter_activate() {
88
  global $version;
89
+ $prev_version = get_option( 'wp_to_twitter_version' );
90
  // this is a switch to plan for future versions
91
+ $upgrade = version_compare( $prev_version,"2.2.9","<" );
92
+ if ($upgrade) {
93
+ delete_option( 'x-twitterlogin' );
94
+ delete_option( 'twitterlogin' );
95
+ delete_option( 'twitterpw' );
96
+ delete_option( 'jd-use-link-title' );
97
+ delete_option( 'jd-use-link-description' );
98
+ delete_option( 'jd_use_both_services' );
99
+ delete_option( 'jd-twitter-service-name' );
100
+ delete_option( 'jd_api_post_status' );
101
+ delete_option( 'jd-twitter-char-limit' );
102
+ delete_option( 'x-twitterpw' );
103
+ delete_option( 'x_jd_api_post_status' );
104
+ delete_option( 'cligsapi' );
105
+ delete_option( 'cligslogin' );
106
+ delete_option( 'wp_cligs_error' );
107
+ }
108
  update_option( 'wp_to_twitter_version',$version );
109
  }
110
 
118
  return ( $ex_link ) ? $ex_link : $perma_link;
119
  }
120
 
121
+ // This function performs the API post to Twitter
122
+ function jd_doTwitterAPIPost( $twit ) {
123
+ // prevent duplicate tweets
124
+ $check = get_option('jd_last_tweet');
125
+ if ( $check == $twit ) {
126
+ return true;
 
 
 
 
 
 
 
 
 
 
 
127
  } else {
128
+ global $jdwp_api_post_status;
129
+ if ( $twit == '' ) {
130
+ return FALSE;
 
 
 
 
 
 
 
 
 
 
 
131
  } else {
132
+ if ( wtt_oauth_test() && ( $connection = wtt_oauth_connection() ) ) {
133
+ $connection->post(
134
+ $jdwp_api_post_status
135
+ , array(
136
+ 'status' => $twit
137
+ , 'source' => 'wp-to-twitter'
138
+ )
139
+ );
140
+
141
+ $http_code = $connection->http_code;
142
+ /*
143
+ echo "<pre>";
144
+ print_r($connection);
145
+ echo "</pre>";
146
+ */
147
+ switch ($http_code) {
148
+ case '200':
149
+ $return = true;
150
+ $error = __("200 OK: Success!",'wp-to-twitter');
151
+ break;
152
+ case '400':
153
+ $return = false;
154
+ $error = __("400 Bad Request: The request was invalid. This is the status code returned during rate limiting.",'wp-to-twitter');
155
+ break;
156
+ case '401':
157
+ $return = false;
158
+ $error = __("401 Unauthorized: Authentication credentials were missing or incorrect.",'wp-to-twitter');
159
+ break;
160
+ case '403':
161
+ $return = false;
162
+ $error = __("403 Forbidden: The request is understood, but it has been refused. This code is used when requests are understood, but are denied by Twitter. Reasons include exceeding the 140 character limit or the API update limit.",'wp-to-twitter');
163
+ break;
164
+ case '500':
165
+ $return = false;
166
+ $error = __("500 Internal Server Error: Something is broken at Twitter.",'wp-to-twitter');
167
+ break;
168
+ case '503':
169
+ $return = false;
170
+ $error = __("503 Service Unavailable: The Twitter servers are up, but overloaded with requests Please try again later.",'wp-to-twitter');
171
+ break;
172
+ case '502':
173
+ $return = false;
174
+ $error = __("502 Bad Gateway: Twitter is down or being upgraded.",'wp-to-twitter');
175
+ break;
176
+ default:
177
+ $return = false;
178
+ $error = __("<strong>Code $http_code</strong>: Twitter did not return a recognized response code.",'wp-to-twitter');
179
+ break;
180
+ }
181
+ update_option( 'jd_last_tweet',$twit );
182
+ update_option( 'jd_status_message',$error );
183
+ return $return;
184
+ }
185
  }
186
  }
187
  }
188
 
189
+ function fake_normalize( $string ) {
190
+ return preg_replace( '~&([a-z]{1,2})(acute|cedil|circ|grave|lig|orn|ring|slash|th|tilde|uml);~i', '$1', htmlentities( $string, ENT_QUOTES, 'UTF-8' ) );
191
+ //return $string;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  }
193
 
194
+
195
  function jd_truncate_tweet( $sentence, $thisposttitle, $thisblogtitle, $thispostexcerpt, $thisposturl, $thispostcategory, $thisdate, $post_ID, $authID=FALSE ) {
196
  $post_length = 140;
197
  $sentence = trim($sentence);
205
  $thisauthor = get_the_author_meta( 'display_name',$post_author );
206
 
207
  if ( get_option( 'jd_individual_twitter_users' ) == 1 ) {
208
+ if ( get_user_meta( $authID, 'wp-to-twitter-enable-user',true ) == 'mainAtTwitter' ) {
209
+ $thisaccount = "@" . stripcslashes(get_user_meta( $authID, 'wp-to-twitter-user-username',true ));
210
+ } else if ( get_user_meta( $authID, 'wp-to-twitter-enable-user',true ) == 'mainAtTwitterPlus' ) {
211
+ $thisaccount = "@" . stripcslashes(get_user_meta( $authID, 'wp-to-twitter-user-username',true ) . ' @' . get_option( 'wtt_twitter_username' ));
212
  }
213
  } else {
214
+ $thisaccount = "@".get_option('wtt_twitter_username');
 
 
 
215
  }
216
  if ( get_option( 'use_tags_as_hashtags' ) == '1' && $sentence != '' ) {
217
+ $sentence = $sentence . " " . generate_hash_tags( $post_ID );
218
  }
 
219
  if ( get_option( 'jd_twit_prepend' ) != "" && $sentence != '' ) {
220
  $sentence = get_option( 'jd_twit_prepend' ) . " " . $sentence;
221
  }
222
  if ( get_option( 'jd_twit_append' ) != "" && $sentence != '' ) {
223
  $sentence = $sentence . " " . get_option( 'jd_twit_append' );
224
  }
225
+ $post_sentence = str_ireplace( "#account#", $thisaccount, $sentence );
226
+ $post_sentence = str_ireplace( "#url#", $thisposturl, $post_sentence );
 
 
 
 
 
227
  $post_sentence = str_ireplace( '#title#', $thisposttitle, $post_sentence );
228
+ $post_sentence = str_ireplace ( '#blog#',$thisblogtitle, $post_sentence );
229
+ $post_sentence = str_ireplace ( '#post#',$thispostexcerpt, $post_sentence );
230
+ $post_sentence = str_ireplace ( '#category#',$thispostcategory, $post_sentence );
231
+ $post_sentence = str_ireplace ( '#date#', $thisdate, $post_sentence );
232
+ $post_sentence = str_ireplace ( '#author#', $thisauthor, $post_sentence );
233
 
234
+ $str_length = mb_strlen( urldecode( fake_normalize( $post_sentence ) ) );
235
  $length = get_option( 'jd_post_excerpt' );
236
 
237
  $length_array = array();
238
  //$order = get_option( 'jd_truncation_sort_order' );
239
+ $length_array['thispostexcerpt'] = mb_strlen(fake_normalize($thispostexcerpt));
240
+ $length_array['thisblogtitle'] = mb_strlen(fake_normalize($thisblogtitle));
241
+ $length_array['thisposttitle'] = mb_strlen(fake_normalize($thisposttitle));
242
+ $length_array['thispostcategory'] = mb_strlen(fake_normalize($thispostcategory));
243
+ $length_array['thisdate'] = mb_strlen(fake_normalize($thisdate));
244
+ $length_array['thisauthor'] = mb_strlen(fake_normalize($thisauthor));
245
+ $length_array['thisaccount'] = mb_strlen(fake_normalize($thisaccount));
246
+
247
+ //echo $thispostexcerpt;
248
+ //echo "<pre>";
249
+ //echo $post_sentence."<br />";
250
+ //print_r($length_array);
251
 
252
  if ( $str_length > $post_length ) {
253
  foreach($length_array AS $key=>$value) {
256
  $old_value = ${$key};
257
  $new_value = mb_substr( $old_value,0,-( $trim ) );
258
  $post_sentence = str_ireplace( $old_value,$new_value,$post_sentence );
259
+ $str_length = mb_strlen( urldecode( fake_normalize( $post_sentence ) ) );
 
260
  }
261
  }
262
  }
263
+ if ( mb_strlen( fake_normalize ( $post_sentence ) ) > 140 ) { $post_sentence = substr( $post_sentence,0,139 ); }
264
+ $sentence = $post_sentence;
265
+ //echo "<br />$sentence";
266
+ //echo "</pre>";
267
+ //die;
268
+
269
  return $sentence;
270
  }
271
 
272
  function jd_shorten_link( $thispostlink, $thisposttitle, $post_ID, $testmode='false' ) {
273
+ $suprapi = trim ( get_option( 'suprapi' ) );
274
+ $suprlogin = trim ( get_option( 'suprlogin' ) );
275
  $bitlyapi = trim ( get_option( 'bitlyapi' ) );
276
+ $bitlylogin = trim ( strtolower( get_option( 'bitlylogin' ) ) );
277
  $yourlslogin = trim ( get_option( 'yourlslogin') );
278
  $yourlsapi = stripcslashes( get_option( 'yourlsapi' ) );
279
+ if ($testmode == 'false') {
280
+ if ( get_option('use-twitter-analytics') == 1 || get_option('use_dynamic_analytics') == 1 ) {
281
  if ( get_option('use_dynamic_analytics') == '1' ) {
282
  $campaign_type = get_option('jd_dynamic_analytics');
283
  if ($campaign_type == "post_category" && $testmode != 'link' ) {
301
  } else {
302
  $this_campaign = get_option('twitter-analytics-campaign');
303
  }
304
+ $this_campaign = urlencode($this_campaign);
305
+ if ( strpos( $thispostlink,"%3F" ) === FALSE || strpos( $thispostlink,"?" ) === FALSE ) {
 
306
  $thispostlink .= "?";
307
  } else {
308
  $thispostlink .= "&";
310
  $thispostlink .= "utm_campaign=$this_campaign&utm_medium=twitter&utm_source=twitter";
311
  }
312
  }
313
+ $thispostlink = urldecode(trim($thispostlink));
314
+ $thispostlink = urlencode($thispostlink);
315
 
316
  // custom word setting
317
  $keyword_format = ( get_option( 'jd_keyword_format' ) == '1' )?$post_ID:'';
319
  switch ( get_option( 'jd_shortener' ) ) {
320
  case 0:
321
  case 1:
322
+ $shrink = urldecode($thispostlink);
 
 
323
  break;
324
  case 2: // updated to v3 3/31/2010
325
  $decoded = jd_remote_json( "http://api.bit.ly/v3/shorten?longUrl=".$thispostlink."&login=".$bitlylogin."&apiKey=".$bitlyapi."&format=json" );
340
  $shrink = urldecode($thispostlink);
341
  break;
342
  case 4:
343
+ $shrink = home_url() . "/?p=" . $post_ID;
344
  break;
345
  case 5:
346
  // local YOURLS installation
348
  global $yourls_reserved_URL;
349
  define('YOURLS_INSTALLING', true); // Pretend we're installing YOURLS to bypass test for install or upgrade
350
  define('YOURLS_FLOOD_DELAY_SECONDS', 0); // Disable flood check
351
+ $opath = get_option( 'yourlspath' );
352
+ $ypath = str_replace( 'user','includes', $opath );
353
+ if ( file_exists( dirname( $ypath ).'/load-yourls.php' ) ) { // YOURLS 1.4+
354
  global $ydb;
355
+ require_once( dirname( $ypath ).'/load-yourls.php' );
356
+ if ( function_exists( 'yourls_add_new_link' ) ) {
357
+ $yourls_result = yourls_add_new_link( $thispostlink, $keyword_format );
358
+ } else {
359
+ $yourls_result = $thispostlink;
360
+ }
361
  } else { // YOURLS 1.3
362
  require_once( get_option( 'yourlspath' ) );
363
  $yourls_db = new wpdb( YOURLS_DB_USER, YOURLS_DB_PASS, YOURLS_DB_NAME, YOURLS_DB_HOST );
380
  $shrink = false;
381
  }
382
  break;
383
+ case 7:
384
+ if ( $suprapi != '') {
385
+ $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$thispostlink."&login=".$suprlogin."&apiKey=".$suprapi );
386
+ } else {
387
+ $decoded = jd_remote_json( "http://su.pr/api/shorten?longUrl=".$thispostlink );
388
+ }
389
+ update_option( 'wp_supr_error',"Su.pr API result: $shrink" );
390
+ if ($decoded['statusCode'] == 'OK') {
391
+ $page = urldecode($thispostlink);
392
+ $shrink = $decoded['results'][$page]['shortUrl'];
393
+ $error = $decode['errorMessage'];
394
+ } else {
395
+ $shrink = false;
396
+ $error = $decode['errorMessage'];
397
+ update_option( 'wp_supr_error',"JSON result could not be decoded");
398
+ }
399
+ if ( !is_valid_url($shrink) ) { $shrink = false; update_option( 'wp_supr_error',$error ); }
400
+ break;
401
+ break;
402
  }
403
+ if ($testmode != 'true') {
404
+ if ( $shrink === false || ( stristr( $shrink, "http://" ) === FALSE )) {
405
  update_option( 'wp_url_failure','1' );
406
+ $shrink = urldecode( $thispostlink );
407
  } else {
408
  update_option( 'wp_url_failure','0' );
409
  }
480
  $values['categoryIds'] = $category_ids;
481
  $values['category'] = $category;
482
  $excerpt_length = get_option( 'jd_post_excerpt' );
483
+ $values['postExcerpt'] = ( trim( $get_post_info->post_excerpt ) == "" )?@mb_substr( strip_shortcodes( strip_tags($get_post_info->post_content) ), 0, $excerpt_length ):@mb_substr( strip_shortcodes( strip_tags($get_post_info->post_excerpt) ), 0, $excerpt_length );
484
  $thisposttitle = stripcslashes( strip_tags( $get_post_info->post_title ) );
485
  if ($thisposttitle == "") {
486
  $thisposttitle = stripcslashes( strip_tags( $_POST['title'] ) );
490
  $values['blogTitle'] = get_bloginfo( 'name' );
491
  $values['shortUrl'] = get_post_meta( $post_ID, '_wp_jd_clig', TRUE );
492
  $values['postStatus'] = $get_post_info->post_status;
493
+ $values['postType'] = $get_post_info->post_type;
494
  return $values;
495
  }
496
 
507
  $jd_tweet_this = get_post_meta( $post_ID, '_jd_tweet_this', TRUE);
508
  if ( $jd_tweet_this != "no" ) {
509
  $jd_post_info = jd_post_info( $post_ID );
510
+ $post_type = $jd_post_info['postType'];
511
+ // this will eventually be related to custom post types
512
+ if ($post_type == 'post' || $post_type == 'page' ) {
513
+ $sentence = '';
514
+ $customTweet = stripcslashes( trim( $_POST['_jd_twitter'] ) );
515
+ if ( ( $jd_post_info['postStatus'] == 'publish' || $_POST['publish'] == 'Publish') && ($_POST['prev_status'] == 'draft' || $_POST['original_post_status'] == 'draft' || $_POST['prev_status'] == 'pending' || $_POST['original_post_status'] =='pending' || $_POST['original_post_status'] == 'auto-draft' ) ) {
516
+ // publish new post
517
+ if ( get_option( 'newpost-published-update' ) == '1' ) {
518
+ $nptext = stripcslashes( get_option( 'newpost-published-text' ) );
519
+ $newpost = true;
520
+ }
521
+ } else if ( (( $_POST['originalaction'] == "editpost" ) && ( ( $_POST['prev_status'] == 'publish' ) || ($_POST['original_post_status'] == 'publish') ) ) && $jd_post_info['postStatus'] == 'publish') {
522
+ // if this is an old post and editing updates are enabled
523
+ if ( get_option( 'oldpost-edited-update') == '1' ) {
524
+ $nptext = stripcslashes( get_option( 'oldpost-edited-text' ) );
525
+ $oldpost = true;
526
+ }
527
+ }
528
+ if ($newpost || $oldpost) {
529
+ $sentence = ( $customTweet != "" ) ? $customTweet : $nptext;
530
+ if ($jd_post_info['shortUrl'] != '') {
531
+ $shrink = $jd_post_info['shortUrl'];
532
+ } else {
533
+ $shrink = jd_shorten_link( $jd_post_info['postLink'], $jd_post_info['postTitle'], $post_ID );
534
+ store_url( $post_ID, $shrink );
535
  }
536
+ $sentence = custom_shortcodes( $sentence, $post_ID );
537
+ $sentence = jd_truncate_tweet( $sentence, $jd_post_info['postTitle'], $jd_post_info['blogTitle'], $jd_post_info['postExcerpt'], $shrink, $jd_post_info['category'], $jd_post_info['postDate'], $post_ID, $jd_post_info['authId'] );
538
+ }
539
+
540
+ if ( $sentence != '' ) {
541
+ if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
542
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
543
  update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
544
+ if ( $sendToTwitter == false ) {
545
+ update_option( 'wp_twitter_failure','1' );
546
+ }
547
  }
548
  }
549
+ } else {
550
+ return $post_ID;
551
  }
552
  }
553
  return $post_ID;
567
  } else if ( (( $_POST['originalaction'] == "editpost" ) && ( ( $_POST['prev_status'] == 'publish' ) || ($_POST['original_post_status'] == 'publish') ) ) && $jd_post_info['postStatus'] == 'publish') {
568
  $oldpost = true; // if this is an old page and editing updates are enabled
569
  if ( get_option( 'jd_twit_edited_pages' ) == '1' ) {
570
+ $nptext = stripcslashes( get_option( 'oldpage-edited-text' ) );
571
  }
572
  }
573
  if ($newpost || $oldpost) {
574
+ $sentence = ( $customTweet != "" ) ? $customTweet : $nptext;
575
  if ($jd_post_info['shortUrl'] != '') {
576
  $shrink = $jd_post_info['shortUrl'];
577
  } else {
583
  }
584
  if ( $sentence != '' ) {
585
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
586
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
587
+ update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
588
  if ( $sendToTwitter == false ) {
 
589
  update_option( 'wp_twitter_failure','1' );
590
  }
591
  }
603
  $thispostlink = $_POST['link_url'] ;
604
  $thislinkdescription = stripcslashes( $_POST['link_description'] );
605
  $sentence = stripcslashes( get_option( 'newlink-published-text' ) );
606
+ $sentence = str_ireplace("#title#",$thislinkname,$sentence);
607
+ $sentence = str_ireplace("#description#",$thislinkdescription,$sentence);
608
+
 
 
 
 
 
 
 
609
  if (mb_strlen( $sentence ) > 120) {
610
  $sentence = mb_substr($sentence,0,116) . '...';
611
  }
616
  $sentence = str_ireplace("#url#",$shrink,$sentence);
617
  }
618
  if ( $sentence != '' ) {
619
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
620
  if ( $sendToTwitter == false ) {
621
  update_option('wp_twitter_failure','2');
622
  }
630
  // HANDLES SCHEDULED POSTS
631
  function jd_twit_future( $post_ID ) {
632
  $post_ID = $post_ID->ID;
633
+ $jd_tweet_this = get_post_meta( $post_ID, '_jd_tweet_this', TRUE);
634
  if ( $jd_tweet_this != "no" ) {
635
  $jd_post_info = jd_post_info( $post_ID );
636
  $sentence = '';
647
 
648
  if ( $sentence != '' ) {
649
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
650
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
651
+ update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
652
  if ( $sendToTwitter == false ) {
 
653
  update_option( 'wp_twitter_failure','1' );
654
  }
655
  }
671
  $sentence = jd_truncate_tweet( $sentence, $jd_post_info['postTitle'], $jd_post_info['blogTitle'], $jd_post_info['postExcerpt'], $shrink, $jd_post_info['category'], $jd_post_info['postDate'], $post_ID, $jd_post_info['authId'] );
672
  if ( $sentence != '' ) {
673
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
674
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
675
+ update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
676
  if ($sendToTwitter == false ) {
 
677
  update_option( 'wp_twitter_failure','1' );
678
  }
679
  }
701
 
702
  if ( $sentence != '' ) {
703
  if ( get_option('limit_categories') == '0' || in_allowed_category( $jd_post_info['categoryIds'] ) ) {
704
+ $sendToTwitter = jd_doTwitterAPIPost( $sentence );
705
+ update_post_meta( $post_ID,'_jd_wp_twitter',urldecode( $sentence ) );
706
  if ($sendToTwitter == false ) {
 
707
  update_option('wp_twitter_failure','1');
708
  }
709
  }
717
  add_action('admin_menu','jd_add_twitter_outer_box');
718
 
719
  function store_url($post_ID, $url) {
720
+ $shortener = get_option( 'jd_shortener' );
721
+ switch ($shortener) {
722
+ case 0:
723
+ case 1:
724
+ $ext = '_wp';
725
+ break;
726
+ case 2:
727
+ $ext = '_bitly';
728
+ break;
729
+ case 3:
730
+ $ext = '_url';
731
+ break;
732
+ case 4:
733
+ $ext = '_wp';
734
+ case 5:
735
+ case 6:
736
+ $ext = '_yourls';
737
+ break;
738
+ case 7:
739
+ $ext = '_supr';
740
+ default:
741
+ $ext = '_ind';
742
+ break;
743
  }
744
+ if ( get_post_meta ( $post_ID, "_wp_jd$ext", TRUE ) != $url ) {
745
+ update_post_meta ( $post_ID, "_wp_jd$ext", $url );
746
+ }
747
+
748
  if ( get_option( 'jd_shortener' ) == '0' || get_option( 'jd_shortener' ) == '1' || get_option( 'jd_shortener' ) == '2' ) {
749
+ $target = jd_expand_url( $url );
750
  } else if ( get_option( 'jd_shortener' ) == '5' || get_option( 'jd_shortener' ) == '6' ) {
751
+ $target = jd_expand_yourl( $url, get_option( 'jd_shortener' ) );
752
  } else {
753
+ $target = $url;
754
  }
755
  update_post_meta( $post_ID, '_wp_jd_target', $target );
756
  }
775
  foreach ( $tags as $value ) {
776
  $tag = $value->name;
777
  $replace = get_option( 'jd_replace_character' );
778
+ $strip = get_option( 'jd_strip_nonan' );
779
+ $search = "/[^a-zA-Z0-9]/";
780
  if ($replace == "[ ]") { $replace = ""; }
781
+ $tag = str_ireplace( " ",$replace,trim( $tag ) );
782
+ if ($strip == '1') { $tag = preg_replace( $search, $replace, $tag ); }
783
+ if ($replace == "" || !$replace) { $replace = "_"; }
784
+ $newtag = "#$tag";
785
  if ( mb_strlen( $newtag ) > 2 && (mb_strlen( $newtag ) <= $max_characters) && ($i <= $max_tags) ) {
786
  $hashtags .= "$newtag ";
787
  $i++;
815
  }
816
 
817
  function jd_add_twitter_inner_box() {
 
818
  $post_length = 140;
819
 
820
+ global $post, $jd_plugin_url, $jd_donate_url;
821
  $post_id = $post;
822
  if (is_object($post_id)) {
823
  $post_id = $post_id->ID;
825
  if ( get_post_meta ( $post_id, "_jd_post_meta_fixed", true ) != 'true' ) {
826
  jd_fix_post_meta( $post_id );
827
  }
 
828
  $jd_twitter = htmlspecialchars( stripcslashes( get_post_meta($post_id, '_jd_twitter', true ) ) );
829
  $jd_tweet_this = get_post_meta( $post_id, '_jd_tweet_this', true );
830
  if ( ( get_option( 'jd_tweet_default' ) == '1' && $jd_tweet_this != 'yes' ) || $jd_tweet_this == 'no') {
860
  // End -->
861
  </script>
862
  <?php if ( $previous_tweet != '' ) {
863
+ echo "<p class='error'><strong>Previous Tweet:</strong> <a href='http://twitter.com/?status=$previous_tweet'>$previous_tweet</a></p>";
864
  } ?>
865
  <p>
866
+ <label for="jd_twitter"><?php _e("Custom Twitter Post", 'wp-to-twitter', 'wp-to-twitter') ?></label><br /><textarea style="width:95%;" name="_jd_twitter" id="jd_twitter" rows="2" cols="60"
867
  onKeyDown="countChars(document.post.jd_twitter,document.post.twitlength)"
868
+ onKeyUp="countChars(document.post.jd_twitter,document.post.twitlength)"><?php echo esc_attr( $jd_twitter ); ?></textarea>
869
  </p>
870
+ <p><input readonly type="text" name="twitlength" size="3" maxlength="3" value="<?php echo esc_attr( mb_strlen( $description) ); ?>" />
871
  <?php $minus_length = $post_length - 21; ?>
872
+ <?php _e(" characters.<br />Twitter posts are a maximum of $post_length characters; if your short URL is included in your update, you have about $minus_length characters available. You can use <code>#url#</code>, <code>#title#</code>, <code>#post#</code>, <code>#category#</code>, <code>#date#</code>, <code>#author#</code>, <code>#account#</code> or <code>#blog#</code> to insert the shortened URL, post title, the first category selected, the post date, the post author, the twitter @reference, or a post excerpt or blog name into the Tweet.", 'wp-to-twitter', 'wp-to-twitter') ?>
873
  </p>
874
  <p>
875
  <a target="__blank" href="<?php echo $jd_donate_url; ?>"><?php _e('Make a Donation', 'wp-to-twitter', 'wp-to-twitter') ?></a> &bull; <a target="__blank" href="<?php echo $jd_plugin_url; ?>"><?php _e('Get Support', 'wp-to-twitter', 'wp-to-twitter') ?></a> &raquo;
876
  </p>
877
  <p>
878
+ <input type="checkbox" name="_jd_tweet_this" value="no"<?php echo esc_attr( $jd_selected ); ?> id="jd_tweet_this" /> <label for="jd_tweet_this"><?php _e("Don't Tweet this post.", 'wp-to-twitter'); ?></label>
879
  </p>
880
  <p>
881
  <?php
894
  function jd_add_twitter_outer_box() {
895
  if ( function_exists( 'add_meta_box' )) {
896
  add_meta_box( 'wptotwitter_div','WP to Twitter', 'jd_add_twitter_inner_box', 'post', 'advanced' );
897
+ if ( get_option( 'jd_twit_pages') == '1' ) {
898
  add_meta_box( 'wptotwitter_div','WP to Twitter', 'jd_add_twitter_inner_box', 'page', 'advanced' );
899
  }
900
  } else {
901
  add_action('dbx_post_advanced', 'jd_add_twitter_old_box' );
902
+ if ( get_option( 'jd_twit_pages') == '1' ) {
903
  add_action('dbx_page_advanced', 'jd_add_twitter_old_box' );
904
  }
905
  }
912
  update_post_meta( $post_id, "_$value", $old_value );
913
  delete_post_meta( $post_id, $value );
914
  }
915
+ if ( $post_id != 0 ) {
916
  add_post_meta( $post_id, "_jd_post_meta_fixed",'true' );
917
+ }
918
  }
919
 
920
  // Post the Custom Tweet into the post meta table
924
  jd_fix_post_meta( $post_id );
925
  }
926
  $jd_twitter = $_POST[ '_jd_twitter' ];
927
+ if (isset($jd_twitter)) {
928
  update_post_meta( $id, '_jd_twitter', $jd_twitter );
929
  }
930
  $jd_tweet_this = esc_attr($_POST[ '_jd_tweet_this' ]);
933
 
934
 
935
  function jd_twitter_profile() {
936
+ global $user_ID;
937
+ get_currentuserinfo();
938
+ if ( current_user_can( get_option('wtt_user_permissions') ) ) {
939
  if ( isset($_GET['user_id']) ) {
940
+ $user_edit = (int) $_GET['user_id'];
941
+ } else {
942
+ $user_edit = $user_ID;
943
+ }
944
+ $is_enabled = get_user_meta( $user_edit, 'wp-to-twitter-enable-user',true );
945
+ $twitter_username = get_user_meta( $user_edit, 'wp-to-twitter-user-username',true );
946
  ?>
947
  <h3><?php _e('WP to Twitter User Settings', 'wp-to-twitter'); ?></h3>
948
 
954
  </td>
955
  </tr>
956
  <tr>
957
+ <th scope="row"><label for="wp-to-twitter-user-username"><?php _e("Your Twitter Username", 'wp-to-twitter'); ?></label></th>
958
+ <td><input type="text" name="wp-to-twitter-user-username" id="wp-to-twitter-user-username" value="<?php echo esc_attr( $twitter_username ); ?>" /> <?php _e('Enter your own Twitter username.', 'wp-to-twitter'); ?></td>
959
  </tr>
960
  </table>
961
  <?php
962
+ }
963
  }
964
 
965
  function custom_shortcodes( $sentence, $post_ID ) {
983
  global $user_ID;
984
  get_currentuserinfo();
985
  if ( isset($_POST['user_id']) ) {
986
+ $edit_id = (int) $_POST['user_id'];
987
+ } else {
988
+ $edit_id = $user_ID;
989
+ }
990
+ update_user_meta($edit_id ,'wp-to-twitter-enable-user' , $_POST['wp-to-twitter-enable-user'] );
991
+ update_user_meta($edit_id ,'wp-to-twitter-user-username' , $_POST['wp-to-twitter-user-username'] );
992
  }
993
  function jd_list_categories() {
994
  $selected = "";
1025
  }
1026
  }
1027
  function jd_addTwitterAdminStyles() {
1028
+ global $wp_plugin_url, $wp_plugin_dir;
1029
+ if ( $_GET['page'] == "wp-to-twitter/wp-to-twitter.php" ) {
1030
+ echo '<link type="text/css" rel="stylesheet" href="'.$wp_plugin_url.'/wp-to-twitter/styles.css" />';
1031
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1032
  }
1033
  // Include the Manager page
1034
  function jd_wp_Twitter_manage_page() {
1052
  add_action( 'edit_user_profile', 'jd_twitter_profile' );
1053
  add_action( 'profile_update', 'jd_twitter_save_profile');
1054
  }
1055
+
1056
  if ( get_option( 'disable_url_failure' ) != '1' ) {
1057
  if ( get_option( 'wp_url_failure' ) == '1' ) {
1058
+ add_action('admin_notices', create_function( '', "if ( ! current_user_can( 'manage_options' ) ) { return; } echo '<div class=\"error\"><p>';_e('There\'s been an error shortening your URL! <a href=\"".get_bloginfo('wpurl')."/wp-admin/options-general.php?page=wp-to-twitter/wp-to-twitter.php\">Visit your WP to Twitter settings page</a> to get more information and to clear this error message.','wp-to-twitter'); echo '</p></div>';" ) );
1059
  }
1060
  }
1061
  if ( get_option( 'disable_twitter_failure' ) != '1' ) {
1062
  if ( get_option( 'wp_twitter_failure' ) == '1' ) {
1063
+ add_action('admin_notices', create_function( '', "if ( ! current_user_can( 'manage_options' ) ) { return; } echo '<div class=\"error\"><p>';_e('There\'s been an error posting your Twitter status! <a href=\"".get_bloginfo('wpurl')."/wp-admin/options-general.php?page=wp-to-twitter/wp-to-twitter.php\">Visit your WP to Twitter settings page</a> to get more information and to clear this error message.','wp-to-twitter'); echo '</p></div>';" ) );
1064
  }
1065
  }
1066
+
1067
  if ( get_option( 'jd_twit_pages' )=='1' ) {
1068
  add_action( 'publish_page', 'jd_twit_page' );
1069
  }
1088
  add_action( 'admin_menu', 'jd_addTwitterAdminPages' );
1089
 
1090
  register_activation_hook( __FILE__, 'wptotwitter_activate' );
1091
+ /*
1092
+ // Add function from Luis Nobrega
1093
+ function jd_twit_comment( $comment_id, $approved ) {
1094
+ $_t = get_comment( $comment_id );
1095
+ $post_ID = $_t->comment_post_ID;
1096
+ $jd_tweet_this = get_post_meta( $post_ID, '_jd_tweet_this', TRUE);
1097
+
1098
+ $jd_post_info = jd_post_info( $post_ID );
1099
+ $sentence = '';
1100
+ $customTweet = stripcslashes( trim( $_POST['_jd_twitter'] ) );
1101
+
1102
+ $nptext = stripcslashes( get_option( 'oldpost-edited-text' ) );
1103
+ $nptext = str_replace("editada", "respondida", $nptext);
1104
+ $oldpost = true;
1105
+
1106
+ $sentence = ( $customTweet != "" ) ? $customTweet : $nptext;
1107
+ if ($jd_post_info['shortUrl'] != '') {
1108
+ $shrink = $jd_post_info['shortUrl'];
1109
+ } else {
1110
+ $shrink = jd_shorten_link( $jd_post_info['postLink'], $jd_post_info['postTitle'], $post_ID );
1111
+ store_url( $post_ID, $shrink );
1112
+ }
1113
+ $sentence = custom_shortcodes( $sentence, $post_ID );
1114
+ $sentence = jd_truncate_tweet( $sentence, $jd_post_info['postTitle'], $jd_post_info['blogTitle'], $jd_post_info['postExcerpt'], $shrink, $jd_post_info['category'], $jd_post_info['postDate'], $post_ID, $jd_post_info['authId'] );
1115
+
1116
+
1117
+ if ( $sentence != '' ) {
1118
+
1119
+ if (!in_category("Blog", $post_ID))
1120
+ $sendToTwitter = ( get_option( 'x_jd_api_post_status' ) == '' )?jd_doTwitterAPIPost( $sentence ):jd_doUnknownAPIPost( $sentence, $jd_post_info['authId'] );
1121
+
1122
+ }
1123
+
1124
+ return $post_ID;
1125
+ }
1126
+ add_action( 'comment_post', 'jd_twit_comment', 10, 2 );
1127
+ */
1128
  ?>
wp-to-twitter.pot CHANGED
@@ -1,279 +1,529 @@
1
- # Translation of the WordPress plugin WP to Twitter 2.2.0 (beta 7) by Joseph Dolson.
2
- # Copyright (C) 2010 Joseph Dolson
3
  # This file is distributed under the same license as the WP to Twitter package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
- #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: WP to Twitter 2.2.0 (beta 7)\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
11
- "POT-Creation-Date: 2010-08-26 22:15+0000\n"
 
 
 
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=utf-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
 
19
- #: functions.php:222
20
  msgid ""
21
  "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Hide</"
22
  "a>] If you're experiencing trouble, please copy these settings into any "
23
  "request for support."
24
  msgstr ""
25
 
26
- #: wp-to-twitter-manager.php:74
27
- msgid "WP to Twitter is now connected with Twitter."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  msgstr ""
29
 
30
- #: wp-to-twitter-manager.php:82
31
  msgid ""
32
- "OAuth Authentication Failed. Check your credentials and verify that <a href="
33
- "\"http://www.twitter.com/\">Twitter</a> is running."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  msgstr ""
35
 
36
- #: wp-to-twitter-manager.php:89
 
 
 
 
 
 
 
 
37
  msgid "OAuth Authentication Data Cleared."
38
  msgstr ""
39
 
40
- #: wp-to-twitter-manager.php:99
 
 
 
 
 
 
 
 
 
 
41
  msgid "WP to Twitter Errors Cleared"
42
  msgstr ""
43
 
44
- #: wp-to-twitter-manager.php:106
45
  msgid ""
46
  "Sorry! I couldn't get in touch with the Twitter servers to post your new "
47
  "blog post. Your tweet has been stored in a custom field attached to the "
48
  "post, so you can Tweet it manually if you wish! "
49
  msgstr ""
50
 
51
- #: wp-to-twitter-manager.php:108
52
  msgid ""
53
  "Sorry! I couldn't get in touch with the Twitter servers to post your "
54
  "<strong>new link</strong>! You'll have to post it manually, I'm afraid. "
55
  msgstr ""
56
 
57
- #: wp-to-twitter-manager.php:143
58
  msgid "WP to Twitter Advanced Options Updated"
59
  msgstr ""
60
 
61
- #: wp-to-twitter-manager.php:160
62
  msgid ""
63
  "You must add your Bit.ly login and API key in order to shorten URLs with Bit."
64
  "ly."
65
  msgstr ""
66
 
67
- #: wp-to-twitter-manager.php:164
68
  msgid ""
69
  "You must add your YOURLS remote URL, login, and password in order to shorten "
70
  "URLs with a remote installation of YOURLS."
71
  msgstr ""
72
 
73
- #: wp-to-twitter-manager.php:168
74
  msgid ""
75
  "You must add your YOURLS server path in order to shorten URLs with a remote "
76
  "installation of YOURLS."
77
  msgstr ""
78
 
79
- #: wp-to-twitter-manager.php:172
80
  msgid "WP to Twitter Options Updated"
81
  msgstr ""
82
 
83
- #: wp-to-twitter-manager.php:182
84
  msgid "Category limits updated."
85
  msgstr ""
86
 
87
- #: wp-to-twitter-manager.php:186
88
  msgid "Category limits unset."
89
  msgstr ""
90
 
91
- #: wp-to-twitter-manager.php:194
92
  msgid "YOURLS password updated. "
93
  msgstr ""
94
 
95
- #: wp-to-twitter-manager.php:197
96
  msgid ""
97
  "YOURLS password deleted. You will be unable to use your remote YOURLS "
98
  "account to create short URLS."
99
  msgstr ""
100
 
101
- #: wp-to-twitter-manager.php:199
102
  msgid "Failed to save your YOURLS password! "
103
  msgstr ""
104
 
105
- #: wp-to-twitter-manager.php:203
106
  msgid "YOURLS username added. "
107
  msgstr ""
108
 
109
- #: wp-to-twitter-manager.php:207
110
  msgid "YOURLS API url added. "
111
  msgstr ""
112
 
113
- #: wp-to-twitter-manager.php:210
114
  msgid "YOURLS API url removed. "
115
  msgstr ""
116
 
117
- #: wp-to-twitter-manager.php:215
118
  msgid "YOURLS local server path added. "
119
  msgstr ""
120
 
121
- #: wp-to-twitter-manager.php:217
122
  msgid "The path to your YOURLS installation is not correct. "
123
  msgstr ""
124
 
125
- #: wp-to-twitter-manager.php:221
126
  msgid "YOURLS local server path removed. "
127
  msgstr ""
128
 
129
- #: wp-to-twitter-manager.php:225
130
  msgid "YOURLS will use Post ID for short URL slug."
131
  msgstr ""
132
 
133
- #: wp-to-twitter-manager.php:228
134
  msgid "YOURLS will not use Post ID for the short URL slug."
135
  msgstr ""
136
 
137
- #: wp-to-twitter-manager.php:235
138
- msgid "Cligs API Key Updated"
139
  msgstr ""
140
 
141
- #: wp-to-twitter-manager.php:238
142
  msgid ""
143
- "Cli.gs API Key deleted. Cli.gs created by WP to Twitter will no longer be "
144
- "associated with your account. "
145
  msgstr ""
146
 
147
- #: wp-to-twitter-manager.php:240
148
- msgid ""
149
- "Cli.gs API Key not added - <a href='http://cli.gs/user/api/'>get one here</"
150
- "a>! "
151
  msgstr ""
152
 
153
- #: wp-to-twitter-manager.php:246
154
  msgid "Bit.ly API Key Updated."
155
  msgstr ""
156
 
157
- #: wp-to-twitter-manager.php:249
158
  msgid ""
159
  "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
160
  msgstr ""
161
 
162
- #: wp-to-twitter-manager.php:251
163
  msgid ""
164
  "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</"
165
  "a>! An API key is required to use the Bit.ly URL shortening service."
166
  msgstr ""
167
 
168
- #: wp-to-twitter-manager.php:255
169
  msgid " Bit.ly User Login Updated."
170
  msgstr ""
171
 
172
- #: wp-to-twitter-manager.php:258
173
  msgid ""
174
  "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing "
175
  "your username. "
176
  msgstr ""
177
 
178
- #: wp-to-twitter-manager.php:260
179
  msgid ""
180
  "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
181
  msgstr ""
182
 
183
- #: wp-to-twitter-manager.php:289
184
  msgid "No error information is available for your shortener."
185
  msgstr ""
186
 
187
- #: wp-to-twitter-manager.php:291
188
  msgid ""
189
  "<li class=\"error\"><strong>WP to Twitter was unable to contact your "
190
  "selected URL shortening service.</strong></li>"
191
  msgstr ""
192
 
193
- #: wp-to-twitter-manager.php:294
194
  msgid ""
195
  "<li><strong>WP to Twitter successfully contacted your selected URL "
196
  "shortening service.</strong> The following link should point to your blog "
197
  "homepage:"
198
  msgstr ""
199
 
200
- #: wp-to-twitter-manager.php:303
201
  msgid ""
202
  "<li><strong>WP to Twitter successfully submitted a status update to Twitter."
203
  "</strong></li>"
204
  msgstr ""
205
 
206
- #: wp-to-twitter-manager.php:305
207
  msgid ""
208
  "<li class=\"error\"><strong>WP to Twitter failed to submit an update to "
209
  "Twitter.</strong></li>"
210
  msgstr ""
211
 
212
- #: wp-to-twitter-manager.php:308
213
  msgid "You have not connected WordPress to Twitter."
214
  msgstr ""
215
 
216
- #: wp-to-twitter-manager.php:312
217
  msgid ""
218
  "<li class=\"error\"><strong>Your server does not appear to support the "
219
  "required methods for WP to Twitter to function.</strong> You can try it "
220
  "anyway - these tests aren't perfect.</li>"
221
  msgstr ""
222
 
223
- #: wp-to-twitter-manager.php:316
224
  msgid ""
225
  "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
226
  msgstr ""
227
 
228
- #: wp-to-twitter-manager.php:333
229
  msgid "WP to Twitter Options"
230
  msgstr ""
231
 
232
- #: wp-to-twitter-manager.php:343 wp-to-twitter.php:805
233
- msgid "Get Support"
234
- msgstr ""
235
-
236
- #: wp-to-twitter-manager.php:344
237
- msgid "Export Settings"
238
  msgstr ""
239
 
240
- #: wp-to-twitter-manager.php:345 wp-to-twitter.php:805
241
- msgid "Make a Donation"
242
  msgstr ""
243
 
244
- #: wp-to-twitter-manager.php:360
245
  msgid "Shortcodes available in post update templates:"
246
  msgstr ""
247
 
248
- #: wp-to-twitter-manager.php:362
249
  msgid "<code>#title#</code>: the title of your blog post"
250
  msgstr ""
251
 
252
- #: wp-to-twitter-manager.php:363
253
  msgid "<code>#blog#</code>: the title of your blog"
254
  msgstr ""
255
 
256
- #: wp-to-twitter-manager.php:364
257
  msgid "<code>#post#</code>: a short excerpt of the post content"
258
  msgstr ""
259
 
260
- #: wp-to-twitter-manager.php:365
261
  msgid "<code>#category#</code>: the first selected category for the post"
262
  msgstr ""
263
 
264
- #: wp-to-twitter-manager.php:366
265
  msgid "<code>#date#</code>: the post date"
266
  msgstr ""
267
 
268
- #: wp-to-twitter-manager.php:367
269
  msgid "<code>#url#</code>: the post URL"
270
  msgstr ""
271
 
272
- #: wp-to-twitter-manager.php:368
273
  msgid "<code>#author#</code>: the post author"
274
  msgstr ""
275
 
276
- #: wp-to-twitter-manager.php:370
 
 
 
 
 
 
277
  msgid ""
278
  "You can also create custom shortcodes to access WordPress custom fields. Use "
279
  "doubled square brackets surrounding the name of your custom field to add the "
@@ -281,327 +531,336 @@ msgid ""
281
  "[[custom_field]]</code></p>"
282
  msgstr ""
283
 
284
- #: wp-to-twitter-manager.php:375
285
  msgid ""
286
  "<p>One or more of your last posts has failed to send it's status update to "
287
  "Twitter. Your Tweet has been saved in your post custom fields, and you can "
288
  "re-Tweet it at your leisure.</p>"
289
  msgstr ""
290
 
291
- #: wp-to-twitter-manager.php:379
292
  msgid ""
293
  "<p>The query to the URL shortener API failed, and your URL was not shrunk. "
294
  "The full post URL was attached to your Tweet. Check with your URL shortening "
295
- "provider to see if there are any known issues. [<a href=\"http://blog.cli.gs"
296
- "\">Cli.gs Blog</a>] [<a href=\"http://blog.bit.ly\">Bit.ly Blog</a>]</p>"
 
297
  msgstr ""
298
 
299
- #: wp-to-twitter-manager.php:386
300
  msgid "Clear 'WP to Twitter' Error Messages"
301
  msgstr ""
302
 
303
- #: wp-to-twitter-manager.php:402
304
  msgid "Basic Settings"
305
  msgstr ""
306
 
307
- #: wp-to-twitter-manager.php:408
308
  msgid "Tweet Templates"
309
  msgstr ""
310
 
311
- #: wp-to-twitter-manager.php:411
312
  msgid "Update when a post is published"
313
  msgstr ""
314
 
315
- #: wp-to-twitter-manager.php:411
316
  msgid "Text for new post updates:"
317
  msgstr ""
318
 
319
- #: wp-to-twitter-manager.php:417 wp-to-twitter-manager.php:420
320
  msgid "Update when a post is edited"
321
  msgstr ""
322
 
323
- #: wp-to-twitter-manager.php:417 wp-to-twitter-manager.php:420
324
  msgid "Text for editing updates:"
325
  msgstr ""
326
 
327
- #: wp-to-twitter-manager.php:421
328
  msgid ""
329
  "You can not disable updates on edits when using Postie or similar plugins."
330
  msgstr ""
331
 
332
- #: wp-to-twitter-manager.php:425
333
  msgid "Update Twitter when new Wordpress Pages are published"
334
  msgstr ""
335
 
336
- #: wp-to-twitter-manager.php:425
337
  msgid "Text for new page updates:"
338
  msgstr ""
339
 
340
- #: wp-to-twitter-manager.php:429
341
  msgid "Update Twitter when WordPress Pages are edited"
342
  msgstr ""
343
 
344
- #: wp-to-twitter-manager.php:429
345
  msgid "Text for page edit updates:"
346
  msgstr ""
347
 
348
- #: wp-to-twitter-manager.php:433
349
  msgid "Update Twitter when you post a Blogroll link"
350
  msgstr ""
351
 
352
- #: wp-to-twitter-manager.php:434
353
  msgid "Text for new link updates:"
354
  msgstr ""
355
 
356
- #: wp-to-twitter-manager.php:434
357
  msgid ""
358
  "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and "
359
  "<code>#description#</code>."
360
  msgstr ""
361
 
362
- #: wp-to-twitter-manager.php:438
363
  msgid "Choose your short URL service (account settings below)"
364
  msgstr ""
365
 
366
- #: wp-to-twitter-manager.php:441
367
- msgid "Use Cli.gs for my URL shortener."
 
 
 
 
368
  msgstr ""
369
 
370
- #: wp-to-twitter-manager.php:442
371
  msgid "Use Bit.ly for my URL shortener."
372
  msgstr ""
373
 
374
- #: wp-to-twitter-manager.php:443
375
  msgid "YOURLS (installed on this server)"
376
  msgstr ""
377
 
378
- #: wp-to-twitter-manager.php:444
379
  msgid "YOURLS (installed on a remote server)"
380
  msgstr ""
381
 
382
- #: wp-to-twitter-manager.php:445
383
  msgid "Use WordPress as a URL shortener."
384
  msgstr ""
385
 
386
- #: wp-to-twitter-manager.php:446
387
- msgid "Don't shorten URLs."
388
- msgstr ""
389
-
390
- #: wp-to-twitter-manager.php:448
391
  msgid ""
392
  "Using WordPress as a URL shortener will send URLs to Twitter in the default "
393
  "URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. "
394
  "Google Analytics is not available when using WordPress shortened URLs."
395
  msgstr ""
396
 
397
- #: wp-to-twitter-manager.php:454
398
  msgid "Save WP->Twitter Options"
399
  msgstr ""
400
 
401
- #: wp-to-twitter-manager.php:466
402
  msgid ""
403
  "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account "
404
  "Settings"
405
  msgstr ""
406
 
407
- #: wp-to-twitter-manager.php:470
408
- msgid "Your Cli.gs account details"
409
  msgstr ""
410
 
411
- #: wp-to-twitter-manager.php:475
 
 
 
 
412
  msgid ""
413
- "Your Cli.gs <abbr title='application programming interface'>API</abbr> Key:"
414
  msgstr ""
415
 
416
- #: wp-to-twitter-manager.php:481
417
  msgid ""
418
- "Don't have a Cli.gs account or Cligs API key? <a href='http://cli.gs/user/"
419
- "api/'>Get one free here</a>!<br />You'll need an API key in order to "
420
- "associate the Cligs you create with your Cligs account."
421
  msgstr ""
422
 
423
- #: wp-to-twitter-manager.php:487
424
  msgid "Your Bit.ly account details"
425
  msgstr ""
426
 
427
- #: wp-to-twitter-manager.php:492
428
  msgid "Your Bit.ly username:"
429
  msgstr ""
430
 
431
- #: wp-to-twitter-manager.php:496
432
  msgid ""
433
  "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
434
  msgstr ""
435
 
436
- #: wp-to-twitter-manager.php:503
437
  msgid "Save Bit.ly API Key"
438
  msgstr ""
439
 
440
- #: wp-to-twitter-manager.php:503
441
  msgid "Clear Bit.ly API Key"
442
  msgstr ""
443
 
444
- #: wp-to-twitter-manager.php:503
445
  msgid ""
446
  "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API "
447
  "and WP to Twitter."
448
  msgstr ""
449
 
450
- #: wp-to-twitter-manager.php:508
451
  msgid "Your YOURLS account details"
452
  msgstr ""
453
 
454
- #: wp-to-twitter-manager.php:512
455
- msgid "Path to the YOURLS config file (Local installations)"
456
  msgstr ""
457
 
458
- #: wp-to-twitter-manager.php:513 wp-to-twitter-manager.php:517
459
  msgid "Example:"
460
  msgstr ""
461
 
462
- #: wp-to-twitter-manager.php:516
463
  msgid "URI to the YOURLS API (Remote installations)"
464
  msgstr ""
465
 
466
- #: wp-to-twitter-manager.php:520
467
  msgid "Your YOURLS username:"
468
  msgstr ""
469
 
470
- #: wp-to-twitter-manager.php:524
471
  msgid "Your YOURLS password:"
472
  msgstr ""
473
 
474
- #: wp-to-twitter-manager.php:524
475
  msgid "<em>Saved</em>"
476
  msgstr ""
477
 
478
- #: wp-to-twitter-manager.php:528
479
  msgid "Use Post ID for YOURLS url slug."
480
  msgstr ""
481
 
482
- #: wp-to-twitter-manager.php:533
483
  msgid "Save YOURLS Account Info"
484
  msgstr ""
485
 
486
- #: wp-to-twitter-manager.php:533
487
  msgid "Clear YOURLS password"
488
  msgstr ""
489
 
490
- #: wp-to-twitter-manager.php:533
491
  msgid ""
492
  "A YOURLS password and username is required to shorten URLs via the remote "
493
  "YOURLS API and WP to Twitter."
494
  msgstr ""
495
 
496
- #: wp-to-twitter-manager.php:550
497
  msgid "Advanced Settings"
498
  msgstr ""
499
 
500
- #: wp-to-twitter-manager.php:557
501
  msgid "Advanced Tweet settings"
502
  msgstr ""
503
 
504
- #: wp-to-twitter-manager.php:560
505
  msgid "Add tags as hashtags on Tweets"
506
  msgstr ""
507
 
508
- #: wp-to-twitter-manager.php:561
 
 
 
 
509
  msgid "Spaces replaced with:"
510
  msgstr ""
511
 
512
- #: wp-to-twitter-manager.php:562
513
  msgid ""
514
  "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> "
515
  "to remove spaces entirely."
516
  msgstr ""
517
 
518
- #: wp-to-twitter-manager.php:565
519
  msgid "Maximum number of tags to include:"
520
  msgstr ""
521
 
522
- #: wp-to-twitter-manager.php:566
523
  msgid "Maximum length in characters for included tags:"
524
  msgstr ""
525
 
526
- #: wp-to-twitter-manager.php:567
527
  msgid ""
528
  "These options allow you to restrict the length and number of WordPress tags "
529
  "sent to Twitter as hashtags. Set to <code>0</code> or leave blank to allow "
530
  "any and all tags."
531
  msgstr ""
532
 
533
- #: wp-to-twitter-manager.php:570
534
  msgid "Length of post excerpt (in characters):"
535
  msgstr ""
536
 
537
- #: wp-to-twitter-manager.php:570
538
  msgid ""
539
  "By default, extracted from the post itself. If you use the 'Excerpt' field, "
540
  "that will be used instead."
541
  msgstr ""
542
 
543
- #: wp-to-twitter-manager.php:573
544
  msgid "WP to Twitter Date Formatting:"
545
  msgstr ""
546
 
547
- #: wp-to-twitter-manager.php:574
548
  msgid ""
549
  "Default is from your general settings. <a href='http://codex.wordpress.org/"
550
  "Formatting_Date_and_Time'>Date Formatting Documentation</a>."
551
  msgstr ""
552
 
553
- #: wp-to-twitter-manager.php:578
554
  msgid "Custom text before all Tweets:"
555
  msgstr ""
556
 
557
- #: wp-to-twitter-manager.php:579
558
  msgid "Custom text after all Tweets:"
559
  msgstr ""
560
 
561
- #: wp-to-twitter-manager.php:582
562
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
563
  msgstr ""
564
 
565
- #: wp-to-twitter-manager.php:583
566
  msgid ""
567
  "You can use a custom field to send an alternate URL for your post. The value "
568
  "is the name of a custom field containing your external URL."
569
  msgstr ""
570
 
571
- #: wp-to-twitter-manager.php:587
572
  msgid "Special Cases when WordPress should send a Tweet"
573
  msgstr ""
574
 
575
- #: wp-to-twitter-manager.php:590
576
  msgid "Do not post status updates by default"
577
  msgstr ""
578
 
579
- #: wp-to-twitter-manager.php:591
580
  msgid ""
581
  "By default, all posts meeting other requirements will be posted to Twitter. "
582
  "Check this to change your setting."
583
  msgstr ""
584
 
585
- #: wp-to-twitter-manager.php:595
586
  msgid ""
587
  "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
588
  msgstr ""
589
 
590
- #: wp-to-twitter-manager.php:597
591
  msgid ""
592
  "I'm using a plugin to post by email, such as Postie. Only check this if your "
593
  "updates do not work."
594
  msgstr ""
595
 
596
- #: wp-to-twitter-manager.php:601
597
  msgid "Update Twitter when a post is published using QuickPress"
598
  msgstr ""
599
 
600
- #: wp-to-twitter-manager.php:605
601
  msgid "Google Analytics Settings"
602
  msgstr ""
603
 
604
- #: wp-to-twitter-manager.php:606
605
  msgid ""
606
  "You can track the response from Twitter using Google Analytics by defining a "
607
  "campaign identifier here. You can either define a static identifier or a "
@@ -611,94 +870,118 @@ msgid ""
611
  "additional variable."
612
  msgstr ""
613
 
614
- #: wp-to-twitter-manager.php:610
615
  msgid "Use a Static Identifier with WP-to-Twitter"
616
  msgstr ""
617
 
618
- #: wp-to-twitter-manager.php:611
619
  msgid "Static Campaign identifier for Google Analytics:"
620
  msgstr ""
621
 
622
- #: wp-to-twitter-manager.php:615
623
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
624
  msgstr ""
625
 
626
- #: wp-to-twitter-manager.php:616
627
  msgid "What dynamic identifier would you like to use?"
628
  msgstr ""
629
 
630
- #: wp-to-twitter-manager.php:618
631
  msgid "Category"
632
  msgstr ""
633
 
634
- #: wp-to-twitter-manager.php:619
635
  msgid "Post ID"
636
  msgstr ""
637
 
638
- #: wp-to-twitter-manager.php:620
639
  msgid "Post Title"
640
  msgstr ""
641
 
642
- #: wp-to-twitter-manager.php:621
643
  msgid "Author"
644
  msgstr ""
645
 
646
- #: wp-to-twitter-manager.php:626
647
  msgid "Individual Authors"
648
  msgstr ""
649
 
650
- #: wp-to-twitter-manager.php:629
651
  msgid "Authors have individual Twitter accounts"
652
  msgstr ""
653
 
654
- #: wp-to-twitter-manager.php:629
655
  msgid ""
656
  "Authors can set their username in their user profile. As of version 2.2.0, "
657
  "this feature no longer allows authors to post to their own Twitter accounts. "
658
- "It can only add an @reference to the author."
 
 
 
 
 
 
 
 
 
 
659
  msgstr ""
660
 
661
- #: wp-to-twitter-manager.php:633
 
 
 
 
 
 
 
 
 
 
 
 
662
  msgid "Disable Error Messages"
663
  msgstr ""
664
 
665
- #: wp-to-twitter-manager.php:636
666
  msgid "Disable global URL shortener error messages."
667
  msgstr ""
668
 
669
- #: wp-to-twitter-manager.php:640
670
  msgid "Disable global Twitter API error messages."
671
  msgstr ""
672
 
673
- #: wp-to-twitter-manager.php:644
674
  msgid "Disable notification to implement OAuth"
675
  msgstr ""
676
 
677
- #: wp-to-twitter-manager.php:648
678
  msgid "Get Debugging Data for OAuth Connection"
679
  msgstr ""
680
 
681
- #: wp-to-twitter-manager.php:654
682
  msgid "Save Advanced WP->Twitter Options"
683
  msgstr ""
684
 
685
- #: wp-to-twitter-manager.php:668
686
  msgid "Limit Updating Categories"
687
  msgstr ""
688
 
689
- #: wp-to-twitter-manager.php:672
690
- msgid "Select which blog categories will be Tweeted. "
 
 
691
  msgstr ""
692
 
693
- #: wp-to-twitter-manager.php:675
694
  msgid "<em>Category limits are disabled.</em>"
695
  msgstr ""
696
 
697
- #: wp-to-twitter-manager.php:689
698
  msgid "Check Support"
699
  msgstr ""
700
 
701
- #: wp-to-twitter-manager.php:689
702
  msgid ""
703
  "Check whether your server supports <a href=\"http://www.joedolson.com/"
704
  "articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL "
@@ -706,236 +989,15 @@ msgid ""
706
  "a URL using your selected methods."
707
  msgstr ""
708
 
709
- #: wp-to-twitter-oauth.php:105 wp-to-twitter-oauth.php:143
710
- msgid "Connect to Twitter"
711
- msgstr ""
712
-
713
- #: wp-to-twitter-oauth.php:108
714
- msgid ""
715
- "The process to set up OAuth authentication for your web site is needlessly "
716
- "laborious. It is also confusing. However, this is the only method available "
717
- "from Twitter at this time. Note that you will not, at any time, enter you "
718
- "Twitter username or password into WP to Twitter; they are not used in OAuth "
719
- "authentication."
720
- msgstr ""
721
-
722
- #: wp-to-twitter-oauth.php:111
723
- msgid "1. Register this site as an application on "
724
- msgstr ""
725
-
726
- #: wp-to-twitter-oauth.php:111
727
- msgid "Twitter's application registration page"
728
- msgstr ""
729
-
730
- #: wp-to-twitter-oauth.php:113
731
- msgid ""
732
- "If you're not currently logged in, use the Twitter username and password "
733
- "which you want associated with this site"
734
- msgstr ""
735
-
736
- #: wp-to-twitter-oauth.php:114
737
- msgid ""
738
- "Your Application's Name will be what shows up after \"via\" in your twitter "
739
- "stream; previously, \"WP to Twitter.\" Your application name cannot include "
740
- "the word \"Twitter.\" I suggest using the name of your web site."
741
- msgstr ""
742
-
743
- #: wp-to-twitter-oauth.php:115
744
- msgid "Your Application Description can be whatever you want."
745
- msgstr ""
746
-
747
- #: wp-to-twitter-oauth.php:116
748
- msgid "Application Type should be set on "
749
- msgstr ""
750
-
751
- #: wp-to-twitter-oauth.php:116
752
- msgid "Browser"
753
- msgstr ""
754
-
755
- #: wp-to-twitter-oauth.php:117
756
- msgid "The Callback URL should be "
757
- msgstr ""
758
-
759
- #: wp-to-twitter-oauth.php:118
760
- msgid "Default Access type must be set to "
761
- msgstr ""
762
-
763
- #: wp-to-twitter-oauth.php:118
764
- msgid "Read &amp; Write"
765
- msgstr ""
766
-
767
- #: wp-to-twitter-oauth.php:118
768
- msgid "(this is NOT the default)"
769
- msgstr ""
770
-
771
- #: wp-to-twitter-oauth.php:120
772
- msgid ""
773
- "Once you have registered your site as an application, you will be provided "
774
- "with a consumer key and a consumer secret."
775
- msgstr ""
776
-
777
- #: wp-to-twitter-oauth.php:121
778
- msgid ""
779
- "2. Copy and paste your consumer key and consumer secret into the fields below"
780
- msgstr ""
781
-
782
- #: wp-to-twitter-oauth.php:124
783
- msgid "Twitter Consumer Key"
784
- msgstr ""
785
-
786
- #: wp-to-twitter-oauth.php:128
787
- msgid "Twitter Consumer Secret"
788
- msgstr ""
789
-
790
- #: wp-to-twitter-oauth.php:131
791
- msgid ""
792
- "3. Copy and paste your Access Token and Access Token Secret into the fields "
793
- "below"
794
- msgstr ""
795
-
796
- #: wp-to-twitter-oauth.php:132
797
- msgid ""
798
- "On the right hand side of your application page, click on 'My Access Token'."
799
- msgstr ""
800
-
801
- #: wp-to-twitter-oauth.php:134
802
- msgid "Access Token"
803
- msgstr ""
804
-
805
- #: wp-to-twitter-oauth.php:138
806
- msgid "Access Token Secret"
807
- msgstr ""
808
-
809
- #: wp-to-twitter-oauth.php:153
810
- msgid "Disconnect from Twitter"
811
- msgstr ""
812
-
813
- #: wp-to-twitter-oauth.php:160
814
- msgid "Twitter Username "
815
- msgstr ""
816
-
817
- #: wp-to-twitter-oauth.php:161
818
- msgid "Consumer Key "
819
- msgstr ""
820
-
821
- #: wp-to-twitter-oauth.php:162
822
- msgid "Consumer Secret "
823
- msgstr ""
824
-
825
- #: wp-to-twitter-oauth.php:163
826
- msgid "Access Token "
827
- msgstr ""
828
-
829
- #: wp-to-twitter-oauth.php:164
830
- msgid "Access Token Secret "
831
- msgstr ""
832
-
833
- #: wp-to-twitter-oauth.php:167
834
- msgid "Disconnect Your WordPress and Twitter Account"
835
- msgstr ""
836
-
837
- #: wp-to-twitter.php:55
838
- #, php-format
839
- msgid ""
840
- "Twitter now requires authentication by OAuth. You will need you to update "
841
- "your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
842
- msgstr ""
843
-
844
- #: wp-to-twitter.php:136
845
- msgid "200 OK: Success!"
846
- msgstr ""
847
-
848
- #: wp-to-twitter.php:139
849
- msgid ""
850
- "400 Bad Request: The request was invalid. This is the status code returned "
851
- "during rate limiting."
852
- msgstr ""
853
-
854
- #: wp-to-twitter.php:142
855
- msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
856
- msgstr ""
857
-
858
- #: wp-to-twitter.php:145
859
- msgid ""
860
- "403 Forbidden: The request is understood, but it has been refused. This code "
861
- "is used when requests are being denied due to update limits."
862
- msgstr ""
863
-
864
- #: wp-to-twitter.php:147
865
- msgid "500 Internal Server Error: Something is broken at Twitter."
866
- msgstr ""
867
-
868
- #: wp-to-twitter.php:150
869
- msgid ""
870
- "503 Service Unavailable: The Twitter servers are up, but overloaded with "
871
- "requests Please try again later."
872
- msgstr ""
873
-
874
- #: wp-to-twitter.php:153
875
- msgid "502 Bad Gateway: Twitter is down or being upgraded."
876
- msgstr ""
877
-
878
- #. #-#-#-#-# plugin.pot (WP to Twitter 2.2.0 (beta 7)) #-#-#-#-#
879
- #. Plugin Name of the plugin/theme
880
- #: wp-to-twitter.php:732
881
- msgid "WP to Twitter"
882
- msgstr ""
883
-
884
- #: wp-to-twitter.php:808
885
- msgid "Don't Tweet this post."
886
- msgstr ""
887
-
888
- #: wp-to-twitter.php:818
889
- msgid "This URL is direct and has not been shortened: "
890
- msgstr ""
891
-
892
- #: wp-to-twitter.php:872
893
- msgid "WP to Twitter User Settings"
894
- msgstr ""
895
-
896
- #: wp-to-twitter.php:876
897
- msgid "Use My Twitter Username"
898
- msgstr ""
899
-
900
- #: wp-to-twitter.php:877
901
- msgid "Tweet my posts with an @ reference to my username."
902
- msgstr ""
903
-
904
- #: wp-to-twitter.php:878
905
- msgid ""
906
- "Tweet my posts with an @ reference to both my username and to the main site "
907
- "username."
908
- msgstr ""
909
-
910
- #: wp-to-twitter.php:883
911
- msgid "Enter your own Twitter username."
912
- msgstr ""
913
-
914
- #: wp-to-twitter.php:919
915
- msgid "Check the categories you want to tweet:"
916
- msgstr ""
917
-
918
- #: wp-to-twitter.php:936
919
- msgid "Set Categories"
920
- msgstr ""
921
-
922
- #: wp-to-twitter.php:1010
923
- msgid "<p>Couldn't locate the settings page.</p>"
924
- msgstr ""
925
-
926
- #: wp-to-twitter.php:1015
927
- msgid "Settings"
928
- msgstr ""
929
-
930
  #. Plugin URI of the plugin/theme
931
  msgid "http://www.joedolson.com/articles/wp-to-twitter/"
932
  msgstr ""
933
 
934
  #. Description of the plugin/theme
935
  msgid ""
936
- "Updates Twitter when you create a new blog post or add to your blogroll "
937
- "using Cli.gs. With a Cli.gs API key, creates a clig in your Cli.gs account "
938
- "with the name of your post as the title."
939
  msgstr ""
940
 
941
  #. Author of the plugin/theme
1
+ # Copyright (C) 2010 WP to Twitter
 
2
  # This file is distributed under the same license as the WP to Twitter package.
 
 
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP to Twitter 2.2.9\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-to-twitter\n"
7
+ "POT-Creation-Date: 2011-04-12 22:29:25+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
 
 
 
14
 
15
+ #: functions.php:193
16
  msgid ""
17
  "[<a href='options-general.php?page=wp-to-twitter/wp-to-twitter.php'>Hide</"
18
  "a>] If you're experiencing trouble, please copy these settings into any "
19
  "request for support."
20
  msgstr ""
21
 
22
+ #: wp-to-twitter-oauth.php:105 wp-to-twitter-oauth.php:144
23
+ msgid "Connect to Twitter"
24
+ msgstr ""
25
+
26
+ #: wp-to-twitter-oauth.php:109
27
+ msgid ""
28
+ "The process to set up OAuth authentication for your web site is needlessly "
29
+ "laborious. It is also confusing. However, this is the only method available "
30
+ "from Twitter. Note that you will not add your Twitter username or password "
31
+ "to WP to Twitter; they are not used in OAuth authentication."
32
+ msgstr ""
33
+
34
+ #: wp-to-twitter-oauth.php:112
35
+ msgid "1. Register this site as an application on "
36
+ msgstr ""
37
+
38
+ #: wp-to-twitter-oauth.php:112
39
+ msgid "Twitter's application registration page"
40
+ msgstr ""
41
+
42
+ #: wp-to-twitter-oauth.php:114
43
+ msgid ""
44
+ "If you're not currently logged in, use the Twitter username and password "
45
+ "which you want associated with this site"
46
+ msgstr ""
47
+
48
+ #: wp-to-twitter-oauth.php:115
49
+ msgid ""
50
+ "Your Application's Name will be what shows up after \"via\" in your twitter "
51
+ "stream. Your application name cannot include the word \"Twitter.\" Use the "
52
+ "name of your web site."
53
+ msgstr ""
54
+
55
+ #: wp-to-twitter-oauth.php:116
56
+ msgid "Your Application Description can be whatever you want."
57
+ msgstr ""
58
+
59
+ #: wp-to-twitter-oauth.php:117
60
+ msgid "Application Type should be set on "
61
+ msgstr ""
62
+
63
+ #: wp-to-twitter-oauth.php:117
64
+ msgid "Browser"
65
+ msgstr ""
66
+
67
+ #: wp-to-twitter-oauth.php:118
68
+ msgid "The Callback URL should be "
69
+ msgstr ""
70
+
71
+ #: wp-to-twitter-oauth.php:119
72
+ msgid "Default Access type must be set to "
73
+ msgstr ""
74
+
75
+ #: wp-to-twitter-oauth.php:119
76
+ msgid "Read &amp; Write"
77
+ msgstr ""
78
+
79
+ #: wp-to-twitter-oauth.php:119
80
+ msgid "(this is NOT the default)"
81
+ msgstr ""
82
+
83
+ #: wp-to-twitter-oauth.php:121
84
+ msgid ""
85
+ "Once you have registered your site as an application, you will be provided "
86
+ "with a consumer key and a consumer secret."
87
+ msgstr ""
88
+
89
+ #: wp-to-twitter-oauth.php:122
90
+ msgid ""
91
+ "2. Copy and paste your consumer key and consumer secret into the fields below"
92
+ msgstr ""
93
+
94
+ #: wp-to-twitter-oauth.php:125
95
+ msgid "Twitter Consumer Key"
96
+ msgstr ""
97
+
98
+ #: wp-to-twitter-oauth.php:129
99
+ msgid "Twitter Consumer Secret"
100
+ msgstr ""
101
+
102
+ #: wp-to-twitter-oauth.php:132
103
+ msgid ""
104
+ "3. Copy and paste your Access Token and Access Token Secret into the fields "
105
+ "below"
106
+ msgstr ""
107
+
108
+ #: wp-to-twitter-oauth.php:133
109
+ msgid ""
110
+ "On the right hand side of your new application page at Twitter, click on 'My "
111
+ "Access Token'."
112
+ msgstr ""
113
+
114
+ #: wp-to-twitter-oauth.php:135
115
+ msgid "Access Token"
116
+ msgstr ""
117
+
118
+ #: wp-to-twitter-oauth.php:139
119
+ msgid "Access Token Secret"
120
+ msgstr ""
121
+
122
+ #: wp-to-twitter-oauth.php:154
123
+ msgid "Disconnect from Twitter"
124
+ msgstr ""
125
+
126
+ #: wp-to-twitter-oauth.php:161
127
+ msgid "Twitter Username "
128
+ msgstr ""
129
+
130
+ #: wp-to-twitter-oauth.php:162
131
+ msgid "Consumer Key "
132
+ msgstr ""
133
+
134
+ #: wp-to-twitter-oauth.php:163
135
+ msgid "Consumer Secret "
136
+ msgstr ""
137
+
138
+ #: wp-to-twitter-oauth.php:164
139
+ msgid "Access Token "
140
+ msgstr ""
141
+
142
+ #: wp-to-twitter-oauth.php:165
143
+ msgid "Access Token Secret "
144
+ msgstr ""
145
+
146
+ #: wp-to-twitter-oauth.php:168
147
+ msgid "Disconnect Your WordPress and Twitter Account"
148
+ msgstr ""
149
+
150
+ #: wp-to-twitter.php:49
151
+ msgid ""
152
+ "WP to Twitter requires PHP version 5 or above with cURL support. Please "
153
+ "upgrade PHP or install cURL to run WP to Twitter."
154
+ msgstr ""
155
+
156
+ #: wp-to-twitter.php:70
157
+ msgid ""
158
+ "WP to Twitter requires WordPress 2.9.2 or a more recent version. <a href="
159
+ "\"http://codex.wordpress.org/Upgrading_WordPress\">Please update your "
160
+ "WordPress version!</a>"
161
+ msgstr ""
162
+
163
+ #: wp-to-twitter.php:84
164
+ msgid ""
165
+ "Twitter now requires authentication by OAuth. You will need you to update "
166
+ "your <a href=\"%s\">settings</a> in order to continue to use WP to Twitter."
167
+ msgstr ""
168
+
169
+ #: wp-to-twitter.php:150
170
+ msgid "200 OK: Success!"
171
+ msgstr ""
172
+
173
+ #: wp-to-twitter.php:154
174
+ msgid ""
175
+ "400 Bad Request: The request was invalid. This is the status code returned "
176
+ "during rate limiting."
177
+ msgstr ""
178
+
179
+ #: wp-to-twitter.php:158
180
+ msgid "401 Unauthorized: Authentication credentials were missing or incorrect."
181
  msgstr ""
182
 
183
+ #: wp-to-twitter.php:162
184
  msgid ""
185
+ "403 Forbidden: The request is understood, but it has been refused. This code "
186
+ "is used when requests are understood, but are denied by Twitter. Reasons "
187
+ "include exceeding the 140 character limit or the API update limit."
188
+ msgstr ""
189
+
190
+ #: wp-to-twitter.php:166
191
+ msgid "500 Internal Server Error: Something is broken at Twitter."
192
+ msgstr ""
193
+
194
+ #: wp-to-twitter.php:170
195
+ msgid ""
196
+ "503 Service Unavailable: The Twitter servers are up, but overloaded with "
197
+ "requests Please try again later."
198
+ msgstr ""
199
+
200
+ #: wp-to-twitter.php:174
201
+ msgid "502 Bad Gateway: Twitter is down or being upgraded."
202
+ msgstr ""
203
+
204
+ #. #-#-#-#-# plugin.pot (WP to Twitter 2.2.9) #-#-#-#-#
205
+ #. Plugin Name of the plugin/theme
206
+ #: wp-to-twitter.php:803
207
+ msgid "WP to Twitter"
208
+ msgstr ""
209
+
210
+ #: wp-to-twitter.php:865
211
+ msgid "Custom Twitter Post"
212
+ msgstr ""
213
+
214
+ #: wp-to-twitter.php:874 wp-to-twitter-manager.php:360
215
+ msgid "Make a Donation"
216
+ msgstr ""
217
+
218
+ #: wp-to-twitter.php:874 wp-to-twitter-manager.php:363
219
+ msgid "Get Support"
220
+ msgstr ""
221
+
222
+ #: wp-to-twitter.php:877
223
+ msgid "Don't Tweet this post."
224
+ msgstr ""
225
+
226
+ #: wp-to-twitter.php:887
227
+ msgid "This URL is direct and has not been shortened: "
228
+ msgstr ""
229
+
230
+ #: wp-to-twitter.php:946
231
+ msgid "WP to Twitter User Settings"
232
+ msgstr ""
233
+
234
+ #: wp-to-twitter.php:950
235
+ msgid "Use My Twitter Username"
236
+ msgstr ""
237
+
238
+ #: wp-to-twitter.php:951
239
+ msgid "Tweet my posts with an @ reference to my username."
240
+ msgstr ""
241
+
242
+ #: wp-to-twitter.php:952
243
+ msgid ""
244
+ "Tweet my posts with an @ reference to both my username and to the main site "
245
+ "username."
246
+ msgstr ""
247
+
248
+ #: wp-to-twitter.php:956
249
+ msgid "Your Twitter Username"
250
+ msgstr ""
251
+
252
+ #: wp-to-twitter.php:957
253
+ msgid "Enter your own Twitter username."
254
+ msgstr ""
255
+
256
+ #: wp-to-twitter.php:996
257
+ msgid "Check the categories you want to tweet:"
258
+ msgstr ""
259
+
260
+ #: wp-to-twitter.php:1013
261
+ msgid "Set Categories"
262
+ msgstr ""
263
+
264
+ #: wp-to-twitter.php:1037
265
+ msgid "<p>Couldn't locate the settings page.</p>"
266
  msgstr ""
267
 
268
+ #: wp-to-twitter.php:1042
269
+ msgid "Settings"
270
+ msgstr ""
271
+
272
+ #: wp-to-twitter-manager.php:76
273
+ msgid "WP to Twitter is now connected with Twitter."
274
+ msgstr ""
275
+
276
+ #: wp-to-twitter-manager.php:86
277
  msgid "OAuth Authentication Data Cleared."
278
  msgstr ""
279
 
280
+ #: wp-to-twitter-manager.php:93
281
+ msgid ""
282
+ "OAuth Authentication Failed. Your server time is not in sync with the "
283
+ "Twitter servers. Talk to your hosting service to see what can be done."
284
+ msgstr ""
285
+
286
+ #: wp-to-twitter-manager.php:100
287
+ msgid "OAuth Authentication response not understood."
288
+ msgstr ""
289
+
290
+ #: wp-to-twitter-manager.php:109
291
  msgid "WP to Twitter Errors Cleared"
292
  msgstr ""
293
 
294
+ #: wp-to-twitter-manager.php:116
295
  msgid ""
296
  "Sorry! I couldn't get in touch with the Twitter servers to post your new "
297
  "blog post. Your tweet has been stored in a custom field attached to the "
298
  "post, so you can Tweet it manually if you wish! "
299
  msgstr ""
300
 
301
+ #: wp-to-twitter-manager.php:118
302
  msgid ""
303
  "Sorry! I couldn't get in touch with the Twitter servers to post your "
304
  "<strong>new link</strong>! You'll have to post it manually, I'm afraid. "
305
  msgstr ""
306
 
307
+ #: wp-to-twitter-manager.php:156
308
  msgid "WP to Twitter Advanced Options Updated"
309
  msgstr ""
310
 
311
+ #: wp-to-twitter-manager.php:173
312
  msgid ""
313
  "You must add your Bit.ly login and API key in order to shorten URLs with Bit."
314
  "ly."
315
  msgstr ""
316
 
317
+ #: wp-to-twitter-manager.php:177
318
  msgid ""
319
  "You must add your YOURLS remote URL, login, and password in order to shorten "
320
  "URLs with a remote installation of YOURLS."
321
  msgstr ""
322
 
323
+ #: wp-to-twitter-manager.php:181
324
  msgid ""
325
  "You must add your YOURLS server path in order to shorten URLs with a remote "
326
  "installation of YOURLS."
327
  msgstr ""
328
 
329
+ #: wp-to-twitter-manager.php:185
330
  msgid "WP to Twitter Options Updated"
331
  msgstr ""
332
 
333
+ #: wp-to-twitter-manager.php:195
334
  msgid "Category limits updated."
335
  msgstr ""
336
 
337
+ #: wp-to-twitter-manager.php:199
338
  msgid "Category limits unset."
339
  msgstr ""
340
 
341
+ #: wp-to-twitter-manager.php:207
342
  msgid "YOURLS password updated. "
343
  msgstr ""
344
 
345
+ #: wp-to-twitter-manager.php:210
346
  msgid ""
347
  "YOURLS password deleted. You will be unable to use your remote YOURLS "
348
  "account to create short URLS."
349
  msgstr ""
350
 
351
+ #: wp-to-twitter-manager.php:212
352
  msgid "Failed to save your YOURLS password! "
353
  msgstr ""
354
 
355
+ #: wp-to-twitter-manager.php:216
356
  msgid "YOURLS username added. "
357
  msgstr ""
358
 
359
+ #: wp-to-twitter-manager.php:220
360
  msgid "YOURLS API url added. "
361
  msgstr ""
362
 
363
+ #: wp-to-twitter-manager.php:223
364
  msgid "YOURLS API url removed. "
365
  msgstr ""
366
 
367
+ #: wp-to-twitter-manager.php:228
368
  msgid "YOURLS local server path added. "
369
  msgstr ""
370
 
371
+ #: wp-to-twitter-manager.php:230
372
  msgid "The path to your YOURLS installation is not correct. "
373
  msgstr ""
374
 
375
+ #: wp-to-twitter-manager.php:234
376
  msgid "YOURLS local server path removed. "
377
  msgstr ""
378
 
379
+ #: wp-to-twitter-manager.php:238
380
  msgid "YOURLS will use Post ID for short URL slug."
381
  msgstr ""
382
 
383
+ #: wp-to-twitter-manager.php:241
384
  msgid "YOURLS will not use Post ID for the short URL slug."
385
  msgstr ""
386
 
387
+ #: wp-to-twitter-manager.php:249
388
+ msgid "Su.pr API Key and Username Updated"
389
  msgstr ""
390
 
391
+ #: wp-to-twitter-manager.php:253
392
  msgid ""
393
+ "Su.pr API Key and username deleted. Su.pr URLs created by WP to Twitter will "
394
+ "no longer be associated with your account. "
395
  msgstr ""
396
 
397
+ #: wp-to-twitter-manager.php:255
398
+ msgid "Su.pr API Key not added - <a href='http://su.pr/'>get one here</a>! "
 
 
399
  msgstr ""
400
 
401
+ #: wp-to-twitter-manager.php:261
402
  msgid "Bit.ly API Key Updated."
403
  msgstr ""
404
 
405
+ #: wp-to-twitter-manager.php:264
406
  msgid ""
407
  "Bit.ly API Key deleted. You cannot use the Bit.ly API without an API key. "
408
  msgstr ""
409
 
410
+ #: wp-to-twitter-manager.php:266
411
  msgid ""
412
  "Bit.ly API Key not added - <a href='http://bit.ly/account/'>get one here</"
413
  "a>! An API key is required to use the Bit.ly URL shortening service."
414
  msgstr ""
415
 
416
+ #: wp-to-twitter-manager.php:270
417
  msgid " Bit.ly User Login Updated."
418
  msgstr ""
419
 
420
+ #: wp-to-twitter-manager.php:273
421
  msgid ""
422
  "Bit.ly User Login deleted. You cannot use the Bit.ly API without providing "
423
  "your username. "
424
  msgstr ""
425
 
426
+ #: wp-to-twitter-manager.php:275
427
  msgid ""
428
  "Bit.ly Login not added - <a href='http://bit.ly/account/'>get one here</a>! "
429
  msgstr ""
430
 
431
+ #: wp-to-twitter-manager.php:304
432
  msgid "No error information is available for your shortener."
433
  msgstr ""
434
 
435
+ #: wp-to-twitter-manager.php:306
436
  msgid ""
437
  "<li class=\"error\"><strong>WP to Twitter was unable to contact your "
438
  "selected URL shortening service.</strong></li>"
439
  msgstr ""
440
 
441
+ #: wp-to-twitter-manager.php:309
442
  msgid ""
443
  "<li><strong>WP to Twitter successfully contacted your selected URL "
444
  "shortening service.</strong> The following link should point to your blog "
445
  "homepage:"
446
  msgstr ""
447
 
448
+ #: wp-to-twitter-manager.php:318
449
  msgid ""
450
  "<li><strong>WP to Twitter successfully submitted a status update to Twitter."
451
  "</strong></li>"
452
  msgstr ""
453
 
454
+ #: wp-to-twitter-manager.php:321
455
  msgid ""
456
  "<li class=\"error\"><strong>WP to Twitter failed to submit an update to "
457
  "Twitter.</strong></li>"
458
  msgstr ""
459
 
460
+ #: wp-to-twitter-manager.php:325
461
  msgid "You have not connected WordPress to Twitter."
462
  msgstr ""
463
 
464
+ #: wp-to-twitter-manager.php:329
465
  msgid ""
466
  "<li class=\"error\"><strong>Your server does not appear to support the "
467
  "required methods for WP to Twitter to function.</strong> You can try it "
468
  "anyway - these tests aren't perfect.</li>"
469
  msgstr ""
470
 
471
+ #: wp-to-twitter-manager.php:333
472
  msgid ""
473
  "<li><strong>Your server should run WP to Twitter successfully.</strong></li>"
474
  msgstr ""
475
 
476
+ #: wp-to-twitter-manager.php:350
477
  msgid "WP to Twitter Options"
478
  msgstr ""
479
 
480
+ #: wp-to-twitter-manager.php:360
481
+ msgid "Pledge to new features"
 
 
 
 
482
  msgstr ""
483
 
484
+ #: wp-to-twitter-manager.php:363
485
+ msgid "View Settings"
486
  msgstr ""
487
 
488
+ #: wp-to-twitter-manager.php:378
489
  msgid "Shortcodes available in post update templates:"
490
  msgstr ""
491
 
492
+ #: wp-to-twitter-manager.php:380
493
  msgid "<code>#title#</code>: the title of your blog post"
494
  msgstr ""
495
 
496
+ #: wp-to-twitter-manager.php:381
497
  msgid "<code>#blog#</code>: the title of your blog"
498
  msgstr ""
499
 
500
+ #: wp-to-twitter-manager.php:382
501
  msgid "<code>#post#</code>: a short excerpt of the post content"
502
  msgstr ""
503
 
504
+ #: wp-to-twitter-manager.php:383
505
  msgid "<code>#category#</code>: the first selected category for the post"
506
  msgstr ""
507
 
508
+ #: wp-to-twitter-manager.php:384
509
  msgid "<code>#date#</code>: the post date"
510
  msgstr ""
511
 
512
+ #: wp-to-twitter-manager.php:385
513
  msgid "<code>#url#</code>: the post URL"
514
  msgstr ""
515
 
516
+ #: wp-to-twitter-manager.php:386
517
  msgid "<code>#author#</code>: the post author"
518
  msgstr ""
519
 
520
+ #: wp-to-twitter-manager.php:387
521
+ msgid ""
522
+ "<code>#account#</code>: the twitter @reference for the account (or the "
523
+ "author, if author settings are enabled and set.)"
524
+ msgstr ""
525
+
526
+ #: wp-to-twitter-manager.php:389
527
  msgid ""
528
  "You can also create custom shortcodes to access WordPress custom fields. Use "
529
  "doubled square brackets surrounding the name of your custom field to add the "
531
  "[[custom_field]]</code></p>"
532
  msgstr ""
533
 
534
+ #: wp-to-twitter-manager.php:394
535
  msgid ""
536
  "<p>One or more of your last posts has failed to send it's status update to "
537
  "Twitter. Your Tweet has been saved in your post custom fields, and you can "
538
  "re-Tweet it at your leisure.</p>"
539
  msgstr ""
540
 
541
+ #: wp-to-twitter-manager.php:398
542
  msgid ""
543
  "<p>The query to the URL shortener API failed, and your URL was not shrunk. "
544
  "The full post URL was attached to your Tweet. Check with your URL shortening "
545
+ "provider to see if there are any known issues. [<a href=\"http://www."
546
+ "stumbleupon.com/help/how-to-use-supr/\">Su.pr Help</a>] [<a href=\"http://"
547
+ "blog.bit.ly\">Bit.ly Blog</a>]</p>"
548
  msgstr ""
549
 
550
+ #: wp-to-twitter-manager.php:405
551
  msgid "Clear 'WP to Twitter' Error Messages"
552
  msgstr ""
553
 
554
+ #: wp-to-twitter-manager.php:418
555
  msgid "Basic Settings"
556
  msgstr ""
557
 
558
+ #: wp-to-twitter-manager.php:424
559
  msgid "Tweet Templates"
560
  msgstr ""
561
 
562
+ #: wp-to-twitter-manager.php:427
563
  msgid "Update when a post is published"
564
  msgstr ""
565
 
566
+ #: wp-to-twitter-manager.php:427
567
  msgid "Text for new post updates:"
568
  msgstr ""
569
 
570
+ #: wp-to-twitter-manager.php:433 wp-to-twitter-manager.php:436
571
  msgid "Update when a post is edited"
572
  msgstr ""
573
 
574
+ #: wp-to-twitter-manager.php:433 wp-to-twitter-manager.php:436
575
  msgid "Text for editing updates:"
576
  msgstr ""
577
 
578
+ #: wp-to-twitter-manager.php:437
579
  msgid ""
580
  "You can not disable updates on edits when using Postie or similar plugins."
581
  msgstr ""
582
 
583
+ #: wp-to-twitter-manager.php:441
584
  msgid "Update Twitter when new Wordpress Pages are published"
585
  msgstr ""
586
 
587
+ #: wp-to-twitter-manager.php:441
588
  msgid "Text for new page updates:"
589
  msgstr ""
590
 
591
+ #: wp-to-twitter-manager.php:445
592
  msgid "Update Twitter when WordPress Pages are edited"
593
  msgstr ""
594
 
595
+ #: wp-to-twitter-manager.php:445
596
  msgid "Text for page edit updates:"
597
  msgstr ""
598
 
599
+ #: wp-to-twitter-manager.php:449
600
  msgid "Update Twitter when you post a Blogroll link"
601
  msgstr ""
602
 
603
+ #: wp-to-twitter-manager.php:450
604
  msgid "Text for new link updates:"
605
  msgstr ""
606
 
607
+ #: wp-to-twitter-manager.php:450
608
  msgid ""
609
  "Available shortcodes: <code>#url#</code>, <code>#title#</code>, and "
610
  "<code>#description#</code>."
611
  msgstr ""
612
 
613
+ #: wp-to-twitter-manager.php:454
614
  msgid "Choose your short URL service (account settings below)"
615
  msgstr ""
616
 
617
+ #: wp-to-twitter-manager.php:457
618
+ msgid "Don't shorten URLs."
619
+ msgstr ""
620
+
621
+ #: wp-to-twitter-manager.php:458
622
+ msgid "Use Su.pr for my URL shortener."
623
  msgstr ""
624
 
625
+ #: wp-to-twitter-manager.php:459
626
  msgid "Use Bit.ly for my URL shortener."
627
  msgstr ""
628
 
629
+ #: wp-to-twitter-manager.php:460
630
  msgid "YOURLS (installed on this server)"
631
  msgstr ""
632
 
633
+ #: wp-to-twitter-manager.php:461
634
  msgid "YOURLS (installed on a remote server)"
635
  msgstr ""
636
 
637
+ #: wp-to-twitter-manager.php:462
638
  msgid "Use WordPress as a URL shortener."
639
  msgstr ""
640
 
641
+ #: wp-to-twitter-manager.php:464
 
 
 
 
642
  msgid ""
643
  "Using WordPress as a URL shortener will send URLs to Twitter in the default "
644
  "URL format for WordPress: <code>http://domain.com/wpdir/?p=123</code>. "
645
  "Google Analytics is not available when using WordPress shortened URLs."
646
  msgstr ""
647
 
648
+ #: wp-to-twitter-manager.php:470
649
  msgid "Save WP->Twitter Options"
650
  msgstr ""
651
 
652
+ #: wp-to-twitter-manager.php:479
653
  msgid ""
654
  "<abbr title=\"Uniform Resource Locator\">URL</abbr> Shortener Account "
655
  "Settings"
656
  msgstr ""
657
 
658
+ #: wp-to-twitter-manager.php:483
659
+ msgid "Your Su.pr account details"
660
  msgstr ""
661
 
662
+ #: wp-to-twitter-manager.php:488
663
+ msgid "Your Su.pr Username:"
664
+ msgstr ""
665
+
666
+ #: wp-to-twitter-manager.php:492
667
  msgid ""
668
+ "Your Su.pr <abbr title='application programming interface'>API</abbr> Key:"
669
  msgstr ""
670
 
671
+ #: wp-to-twitter-manager.php:498
672
  msgid ""
673
+ "Don't have a Su.pr account or API key? <a href='http://su.pr/'>Get one here</"
674
+ "a>!<br />You'll need an API key in order to associate the URLs you create "
675
+ "with your Su.pr account."
676
  msgstr ""
677
 
678
+ #: wp-to-twitter-manager.php:504
679
  msgid "Your Bit.ly account details"
680
  msgstr ""
681
 
682
+ #: wp-to-twitter-manager.php:509
683
  msgid "Your Bit.ly username:"
684
  msgstr ""
685
 
686
+ #: wp-to-twitter-manager.php:513
687
  msgid ""
688
  "Your Bit.ly <abbr title='application programming interface'>API</abbr> Key:"
689
  msgstr ""
690
 
691
+ #: wp-to-twitter-manager.php:520
692
  msgid "Save Bit.ly API Key"
693
  msgstr ""
694
 
695
+ #: wp-to-twitter-manager.php:520
696
  msgid "Clear Bit.ly API Key"
697
  msgstr ""
698
 
699
+ #: wp-to-twitter-manager.php:520
700
  msgid ""
701
  "A Bit.ly API key and username is required to shorten URLs via the Bit.ly API "
702
  "and WP to Twitter."
703
  msgstr ""
704
 
705
+ #: wp-to-twitter-manager.php:525
706
  msgid "Your YOURLS account details"
707
  msgstr ""
708
 
709
+ #: wp-to-twitter-manager.php:529
710
+ msgid "Path to your YOURLS config file (Local installations)"
711
  msgstr ""
712
 
713
+ #: wp-to-twitter-manager.php:530 wp-to-twitter-manager.php:534
714
  msgid "Example:"
715
  msgstr ""
716
 
717
+ #: wp-to-twitter-manager.php:533
718
  msgid "URI to the YOURLS API (Remote installations)"
719
  msgstr ""
720
 
721
+ #: wp-to-twitter-manager.php:537
722
  msgid "Your YOURLS username:"
723
  msgstr ""
724
 
725
+ #: wp-to-twitter-manager.php:541
726
  msgid "Your YOURLS password:"
727
  msgstr ""
728
 
729
+ #: wp-to-twitter-manager.php:541
730
  msgid "<em>Saved</em>"
731
  msgstr ""
732
 
733
+ #: wp-to-twitter-manager.php:545
734
  msgid "Use Post ID for YOURLS url slug."
735
  msgstr ""
736
 
737
+ #: wp-to-twitter-manager.php:550
738
  msgid "Save YOURLS Account Info"
739
  msgstr ""
740
 
741
+ #: wp-to-twitter-manager.php:550
742
  msgid "Clear YOURLS password"
743
  msgstr ""
744
 
745
+ #: wp-to-twitter-manager.php:550
746
  msgid ""
747
  "A YOURLS password and username is required to shorten URLs via the remote "
748
  "YOURLS API and WP to Twitter."
749
  msgstr ""
750
 
751
+ #: wp-to-twitter-manager.php:562
752
  msgid "Advanced Settings"
753
  msgstr ""
754
 
755
+ #: wp-to-twitter-manager.php:569
756
  msgid "Advanced Tweet settings"
757
  msgstr ""
758
 
759
+ #: wp-to-twitter-manager.php:571
760
  msgid "Add tags as hashtags on Tweets"
761
  msgstr ""
762
 
763
+ #: wp-to-twitter-manager.php:571
764
+ msgid "Strip nonalphanumeric characters"
765
+ msgstr ""
766
+
767
+ #: wp-to-twitter-manager.php:572
768
  msgid "Spaces replaced with:"
769
  msgstr ""
770
 
771
+ #: wp-to-twitter-manager.php:574
772
  msgid ""
773
  "Default replacement is an underscore (<code>_</code>). Use <code>[ ]</code> "
774
  "to remove spaces entirely."
775
  msgstr ""
776
 
777
+ #: wp-to-twitter-manager.php:577
778
  msgid "Maximum number of tags to include:"
779
  msgstr ""
780
 
781
+ #: wp-to-twitter-manager.php:578
782
  msgid "Maximum length in characters for included tags:"
783
  msgstr ""
784
 
785
+ #: wp-to-twitter-manager.php:579
786
  msgid ""
787
  "These options allow you to restrict the length and number of WordPress tags "
788
  "sent to Twitter as hashtags. Set to <code>0</code> or leave blank to allow "
789
  "any and all tags."
790
  msgstr ""
791
 
792
+ #: wp-to-twitter-manager.php:582
793
  msgid "Length of post excerpt (in characters):"
794
  msgstr ""
795
 
796
+ #: wp-to-twitter-manager.php:582
797
  msgid ""
798
  "By default, extracted from the post itself. If you use the 'Excerpt' field, "
799
  "that will be used instead."
800
  msgstr ""
801
 
802
+ #: wp-to-twitter-manager.php:585
803
  msgid "WP to Twitter Date Formatting:"
804
  msgstr ""
805
 
806
+ #: wp-to-twitter-manager.php:586
807
  msgid ""
808
  "Default is from your general settings. <a href='http://codex.wordpress.org/"
809
  "Formatting_Date_and_Time'>Date Formatting Documentation</a>."
810
  msgstr ""
811
 
812
+ #: wp-to-twitter-manager.php:590
813
  msgid "Custom text before all Tweets:"
814
  msgstr ""
815
 
816
+ #: wp-to-twitter-manager.php:591
817
  msgid "Custom text after all Tweets:"
818
  msgstr ""
819
 
820
+ #: wp-to-twitter-manager.php:594
821
  msgid "Custom field for an alternate URL to be shortened and Tweeted:"
822
  msgstr ""
823
 
824
+ #: wp-to-twitter-manager.php:595
825
  msgid ""
826
  "You can use a custom field to send an alternate URL for your post. The value "
827
  "is the name of a custom field containing your external URL."
828
  msgstr ""
829
 
830
+ #: wp-to-twitter-manager.php:599
831
  msgid "Special Cases when WordPress should send a Tweet"
832
  msgstr ""
833
 
834
+ #: wp-to-twitter-manager.php:602
835
  msgid "Do not post status updates by default"
836
  msgstr ""
837
 
838
+ #: wp-to-twitter-manager.php:603
839
  msgid ""
840
  "By default, all posts meeting other requirements will be posted to Twitter. "
841
  "Check this to change your setting."
842
  msgstr ""
843
 
844
+ #: wp-to-twitter-manager.php:607
845
  msgid ""
846
  "Send Twitter Updates on remote publication (Post by Email or XMLRPC Client)"
847
  msgstr ""
848
 
849
+ #: wp-to-twitter-manager.php:609
850
  msgid ""
851
  "I'm using a plugin to post by email, such as Postie. Only check this if your "
852
  "updates do not work."
853
  msgstr ""
854
 
855
+ #: wp-to-twitter-manager.php:613
856
  msgid "Update Twitter when a post is published using QuickPress"
857
  msgstr ""
858
 
859
+ #: wp-to-twitter-manager.php:617
860
  msgid "Google Analytics Settings"
861
  msgstr ""
862
 
863
+ #: wp-to-twitter-manager.php:618
864
  msgid ""
865
  "You can track the response from Twitter using Google Analytics by defining a "
866
  "campaign identifier here. You can either define a static identifier or a "
870
  "additional variable."
871
  msgstr ""
872
 
873
+ #: wp-to-twitter-manager.php:622
874
  msgid "Use a Static Identifier with WP-to-Twitter"
875
  msgstr ""
876
 
877
+ #: wp-to-twitter-manager.php:623
878
  msgid "Static Campaign identifier for Google Analytics:"
879
  msgstr ""
880
 
881
+ #: wp-to-twitter-manager.php:627
882
  msgid "Use a dynamic identifier with Google Analytics and WP-to-Twitter"
883
  msgstr ""
884
 
885
+ #: wp-to-twitter-manager.php:628
886
  msgid "What dynamic identifier would you like to use?"
887
  msgstr ""
888
 
889
+ #: wp-to-twitter-manager.php:630
890
  msgid "Category"
891
  msgstr ""
892
 
893
+ #: wp-to-twitter-manager.php:631
894
  msgid "Post ID"
895
  msgstr ""
896
 
897
+ #: wp-to-twitter-manager.php:632
898
  msgid "Post Title"
899
  msgstr ""
900
 
901
+ #: wp-to-twitter-manager.php:633 wp-to-twitter-manager.php:647
902
  msgid "Author"
903
  msgstr ""
904
 
905
+ #: wp-to-twitter-manager.php:638
906
  msgid "Individual Authors"
907
  msgstr ""
908
 
909
+ #: wp-to-twitter-manager.php:641
910
  msgid "Authors have individual Twitter accounts"
911
  msgstr ""
912
 
913
+ #: wp-to-twitter-manager.php:641
914
  msgid ""
915
  "Authors can set their username in their user profile. As of version 2.2.0, "
916
  "this feature no longer allows authors to post to their own Twitter accounts. "
917
+ "It can only add an @reference to the author. This @reference is placed using "
918
+ "the <code>#account#</code> shortcode. (It will pick up the main account if "
919
+ "user accounts are not enabled.)"
920
+ msgstr ""
921
+
922
+ #: wp-to-twitter-manager.php:644
923
+ msgid "Choose the lowest user group that can add their Twitter information"
924
+ msgstr ""
925
+
926
+ #: wp-to-twitter-manager.php:645
927
+ msgid "Subscriber"
928
  msgstr ""
929
 
930
+ #: wp-to-twitter-manager.php:646
931
+ msgid "Contributor"
932
+ msgstr ""
933
+
934
+ #: wp-to-twitter-manager.php:648
935
+ msgid "Editor"
936
+ msgstr ""
937
+
938
+ #: wp-to-twitter-manager.php:649
939
+ msgid "Administrator"
940
+ msgstr ""
941
+
942
+ #: wp-to-twitter-manager.php:654
943
  msgid "Disable Error Messages"
944
  msgstr ""
945
 
946
+ #: wp-to-twitter-manager.php:657
947
  msgid "Disable global URL shortener error messages."
948
  msgstr ""
949
 
950
+ #: wp-to-twitter-manager.php:661
951
  msgid "Disable global Twitter API error messages."
952
  msgstr ""
953
 
954
+ #: wp-to-twitter-manager.php:665
955
  msgid "Disable notification to implement OAuth"
956
  msgstr ""
957
 
958
+ #: wp-to-twitter-manager.php:669
959
  msgid "Get Debugging Data for OAuth Connection"
960
  msgstr ""
961
 
962
+ #: wp-to-twitter-manager.php:675
963
  msgid "Save Advanced WP->Twitter Options"
964
  msgstr ""
965
 
966
+ #: wp-to-twitter-manager.php:685
967
  msgid "Limit Updating Categories"
968
  msgstr ""
969
 
970
+ #: wp-to-twitter-manager.php:689
971
+ msgid ""
972
+ "Select which blog categories will be Tweeted. Uncheck all categories to "
973
+ "disable category limits."
974
  msgstr ""
975
 
976
+ #: wp-to-twitter-manager.php:692
977
  msgid "<em>Category limits are disabled.</em>"
978
  msgstr ""
979
 
980
+ #: wp-to-twitter-manager.php:706
981
  msgid "Check Support"
982
  msgstr ""
983
 
984
+ #: wp-to-twitter-manager.php:706
985
  msgid ""
986
  "Check whether your server supports <a href=\"http://www.joedolson.com/"
987
  "articles/wp-to-twitter/\">WP to Twitter's</a> queries to the Twitter and URL "
989
  "a URL using your selected methods."
990
  msgstr ""
991
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
992
  #. Plugin URI of the plugin/theme
993
  msgid "http://www.joedolson.com/articles/wp-to-twitter/"
994
  msgstr ""
995
 
996
  #. Description of the plugin/theme
997
  msgid ""
998
+ "Posts a Twitter status update when you update your WordPress blog or post to "
999
+ "your blogroll, using your chosen URL shortening service. Rich in features "
1000
+ "for customizing and promoting your Tweets."
1001
  msgstr ""
1002
 
1003
  #. Author of the plugin/theme