Version Description
Download this release
Release Info
Developer | ben.meredith@gmail.com |
Plugin | Better Click To Tweet |
Version | 5.6.2 |
Comparing to | |
See all releases |
Code changes from version 5.6.1 to 5.6.2
- better-click-to-tweet.php +1 -1
- readme.txt +4 -1
- trunk/admin-nags.php +0 -117
- trunk/assets/block/build/editor.css +0 -0
- trunk/assets/block/build/editor.rtl.css +0 -0
- trunk/assets/block/build/script.js +0 -6
- trunk/assets/block/init.php +0 -76
- trunk/assets/css/bctt-admin.css +0 -14
- trunk/assets/css/bcttstyle.css +0 -60
- trunk/assets/css/styles.css +0 -81
- trunk/assets/img/birdy.png +0 -0
- trunk/assets/img/birdy_button.png +0 -0
- trunk/assets/img/empty.gif +0 -0
- trunk/assets/img/premium_style.png +0 -0
- trunk/assets/tinymce/bctt-tinymce.php +0 -109
- trunk/assets/tinymce/css/bctt-admin.css +0 -18
- trunk/assets/tinymce/js/tinymce-bctt.js +0 -71
- trunk/assets/tinymce/languages/bctt-mce-locale.php +0 -25
- trunk/bctt-i18n.php +0 -7
- trunk/bctt_options.php +0 -261
- trunk/better-click-to-tweet.php +0 -348
- trunk/i18n-module.php +0 -280
- trunk/languages/better-click-to-tweet-de_DE.mo +0 -0
- trunk/languages/better-click-to-tweet-de_DE.po +0 -199
- trunk/languages/better-click-to-tweet-el.mo +0 -0
- trunk/languages/better-click-to-tweet-el.po +0 -230
- trunk/languages/better-click-to-tweet-es_ES.mo +0 -0
- trunk/languages/better-click-to-tweet-es_ES.po +0 -234
- trunk/languages/better-click-to-tweet-fi.mo +0 -0
- trunk/languages/better-click-to-tweet-fi.po +0 -226
- trunk/languages/better-click-to-tweet-it_IT.mo +0 -0
- trunk/languages/better-click-to-tweet-it_IT.po +0 -230
- trunk/languages/better-click-to-tweet-ru_RU.mo +0 -0
- trunk/languages/better-click-to-tweet-ru_RU.po +0 -197
- trunk/languages/better-click-to-tweet-sr_RS.mo +0 -0
- trunk/languages/better-click-to-tweet-sr_RS.po +0 -155
- trunk/languages/better-click-to-tweet-sv_SE.mo +0 -0
- trunk/languages/better-click-to-tweet-sv_SE.po +0 -187
- trunk/languages/better-click-to-tweet.pot +0 -202
- trunk/readme.txt +0 -362
better-click-to-tweet.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Better Click To Tweet
|
4 |
* Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
|
5 |
-
* Version: 5.6.
|
6 |
* Author: Ben Meredith
|
7 |
* Author URI: https://www.betterclicktotweet.com
|
8 |
* Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
2 |
/**
|
3 |
* Plugin Name: Better Click To Tweet
|
4 |
* Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
|
5 |
+
* Version: 5.6.2
|
6 |
* Author: Ben Meredith
|
7 |
* Author URI: https://www.betterclicktotweet.com
|
8 |
* Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpsteward.com/donations/plugin-support/
|
|
4 |
Tags: click to tweet, twitter, tweet,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 5.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -101,6 +101,9 @@ Donations: http://benlikes.us/donate
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
104 |
= 5.6.1 =
|
105 |
* fix — another attempt at the "invalid headers" intermittent problem.
|
106 |
|
4 |
Tags: click to tweet, twitter, tweet,
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 5.6.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
101 |
|
102 |
== Changelog ==
|
103 |
|
104 |
+
= 5.6.3 =
|
105 |
+
* fix — resolving zip problem.
|
106 |
+
|
107 |
= 5.6.1 =
|
108 |
* fix — another attempt at the "invalid headers" intermittent problem.
|
109 |
|
trunk/admin-nags.php
DELETED
@@ -1,117 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function bctt_alerts() {
|
4 |
-
if (is_plugin_active('better-click-to-tweet-premium-styles/better-click-to-tweet-premium-styles.php')) {
|
5 |
-
return;
|
6 |
-
}
|
7 |
-
|
8 |
-
$screen = get_current_screen();
|
9 |
-
|
10 |
-
$screenparent = $screen->parent_file;
|
11 |
-
|
12 |
-
|
13 |
-
if ( $screenparent == 'plugins.php' && current_user_can( 'install_plugins' ) ) {
|
14 |
-
|
15 |
-
$user_id = wp_get_current_user()->ID;
|
16 |
-
$has_dismissed = get_user_meta( $user_id, 'bctt_has_dismissed_nag', true );
|
17 |
-
|
18 |
-
if ( ! $has_dismissed && ! bctt_add_custom_style_option() ) {
|
19 |
-
//add style inline so that it isn't enqueued if not used
|
20 |
-
?>
|
21 |
-
<style>
|
22 |
-
span.bctt-addon-nag-header {
|
23 |
-
font-size: large;
|
24 |
-
font-weight: bold;
|
25 |
-
}
|
26 |
-
|
27 |
-
.updated.bctt-addon-nag {
|
28 |
-
padding: 1em;
|
29 |
-
}
|
30 |
-
|
31 |
-
p.bctt-addon-nag-copy {
|
32 |
-
|
33 |
-
}
|
34 |
-
|
35 |
-
ul.bctt-addon-nag-list {
|
36 |
-
list-style-type: none;
|
37 |
-
margin-left: 2em;
|
38 |
-
}
|
39 |
-
|
40 |
-
.bctt-addon-nag-list li:before {
|
41 |
-
content: "\f155";
|
42 |
-
display: inline-block;
|
43 |
-
-webkit-font-smoothing: antialiased;
|
44 |
-
font: normal 16px/1 'dashicons';
|
45 |
-
color: #46b450;
|
46 |
-
margin-right: 10px;
|
47 |
-
word-wrap: break-word;
|
48 |
-
}
|
49 |
-
|
50 |
-
.bctt-addon-nag-dismiss {
|
51 |
-
float: right;
|
52 |
-
text-decoration: none;
|
53 |
-
}
|
54 |
-
.bctt-nag-photo {
|
55 |
-
float: right;
|
56 |
-
margin:0;
|
57 |
-
max-height:105px;
|
58 |
-
max-width:98%;
|
59 |
-
}
|
60 |
-
@media screen and (max-width: 782px) {
|
61 |
-
.bctt-nag-photo {
|
62 |
-
float:none;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
.bctt-nag-purchase-link {
|
66 |
-
font-size: large;
|
67 |
-
}
|
68 |
-
</style>
|
69 |
-
<div class="updated bctt-addon-nag">
|
70 |
-
|
71 |
-
<a href="<?php
|
72 |
-
//The Dismiss Button.
|
73 |
-
$nag_meta_key = 'bctt_has_dismissed_nag';
|
74 |
-
$nag_admin_dismiss_url = 'plugins.php?' . $nag_meta_key . '=0';
|
75 |
-
echo esc_url( admin_url( $nag_admin_dismiss_url ) ); ?>" class="dismiss bctt-addon-nag-dismiss">Dismiss this <span
|
76 |
-
class="dashicons dashicons-dismiss"></span></a>
|
77 |
-
<h3
|
78 |
-
class="bctt-addon-nag-header"><?php esc_html_e( 'Add Premium Style to your Better Click To Tweet boxes!', 'better-click-to-tweet' ) ?></h3>
|
79 |
-
|
80 |
-
<a href="http://benlikes.us/bcttnag"
|
81 |
-
target="_blank"><img class="bctt-nag-photo" src="<?php echo esc_url( plugins_url() . '/better-click-to-tweet/assets/img/premium_style.png' ); ?>"/></a>
|
82 |
-
|
83 |
-
<p class="bctt-addon-nag-copy"><?php esc_attr_e( 'Choose from multiple options when styling your Better Click To Tweet boxes, with no code.', 'better-click-to-tweet' ) ?></p>
|
84 |
-
<ul class="bctt-addon-nag-list">
|
85 |
-
<li><?php esc_html_e( 'Make your Better Click To Tweet boxes stand out.', 'better-click-to-tweet' ) ?></li>
|
86 |
-
<li><?php esc_html_e( 'Get more clicks and tweets.', 'better-click-to-tweet' ) ?></li>
|
87 |
-
<li><?php esc_html_e( 'Support the development of Better Click To Tweet!', 'better-click-to-tweet' ) ?></li>
|
88 |
-
</ul>
|
89 |
-
<p class="bctt-addon-nag-copy">
|
90 |
-
<a class="bctt-nag-purchase-link" href="http://benlikes.us/bcttnag"
|
91 |
-
target="_blank"><?php esc_html_e( 'Purchase it today', 'better-click-to-tweet' ) ?></a> <?php esc_html_e( 'Save 8% with the code NAGSareTHEbest', 'better-click-to-tweet') ?></p>
|
92 |
-
</div>
|
93 |
-
<?php
|
94 |
-
}
|
95 |
-
}
|
96 |
-
}
|
97 |
-
|
98 |
-
add_action( 'admin_notices', 'bctt_alerts' );
|
99 |
-
|
100 |
-
function bctt_addon_notice_ignore() {
|
101 |
-
|
102 |
-
/**
|
103 |
-
* If user clicks to ignore the notice, add that to their user meta the banner then checks whether this tag exists already or not.
|
104 |
-
* See here: http://codex.wordpress.org/Function_Reference/add_user_meta
|
105 |
-
*/
|
106 |
-
|
107 |
-
if ( isset( $_GET['bctt_has_dismissed_nag'] ) && '0' == $_GET['bctt_has_dismissed_nag'] ) {
|
108 |
-
|
109 |
-
//Get the global user
|
110 |
-
$current_user = wp_get_current_user();
|
111 |
-
$user_id = $current_user->ID;
|
112 |
-
|
113 |
-
add_user_meta( $user_id, 'bctt_has_dismissed_nag', 'true', true );
|
114 |
-
}
|
115 |
-
}
|
116 |
-
|
117 |
-
add_action( 'current_screen', 'bctt_addon_notice_ignore' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/block/build/editor.css
DELETED
File without changes
|
trunk/assets/block/build/editor.rtl.css
DELETED
File without changes
|
trunk/assets/block/build/script.js
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
this.bctt=this.bctt||{},this.bctt.main=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(7),o=n(8);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){!function(){t.exports=this.wp.editor}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(0),o=(n.n(r),n(12)),u=(n.n(o),n(13)),c=n(14),i=n(49);e.default=Object(o.registerBlockType)("bctt/clicktotweet",{title:Object(r.__)("Better Click to Tweet"),description:Object(r.__)("Add text for your readers to tweet, calling them to action on your behalf."),category:"widgets",icon:"twitter",keywords:[Object(r.__)("Twitter"),Object(r.__)("Tweet")],attributes:u.a,edit:c.a,save:i.a})},function(t,e){!function(){t.exports=this.wp.blocks}()},function(t,e,n){"use strict";var r=n(0),o=(n.n(r),{tweet:{type:"string"},username:{type:"string",default:bctt_options_js.username},via:{type:"boolean",default:!0},url:{type:"boolean",default:!0},urlcustom:{type:"string"},nofollow:{type:"boolean",default:!1},prompt:{type:"string",default:Object(r.__)("Click To Tweet")}});e.a=o},function(t,e,n){"use strict";var r=n(15),o=n.n(r),u=n(44),c=n.n(u),i=n(0),a=(n.n(i),n(45)),f=(n.n(a),n(10)),l=(n.n(f),n(46)),s=n(48),p=(n.n(s),function(t){var e=t.attributes,n=t.setAttributes,r=t.className,u=e.tweet,s=e.prompt,p=function(t){n({tweet:t})},v=function(){return!1};return wp.element.createElement(a.Fragment,null,wp.element.createElement(l.a,o()({},t)),wp.element.createElement("span",{className:c()(r,"bctt-click-to-tweet")},wp.element.createElement("span",{className:"bctt-ctt-text"},wp.element.createElement(f.RichText,{format:"string",formattingControls:[],tagName:"div",placeholder:Object(i.__)("Enter text for readers to Tweet"),onChange:p,value:u})),wp.element.createElement("a",{href:"#",onClick:v,className:"bctt-ctt-btn"},s)))});e.a=p},function(t,e,n){"use strict";e.__esModule=!0;var r=n(16),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){t.exports={default:n(17),__esModule:!0}},function(t,e,n){n(18),t.exports=n(5).Object.assign},function(t,e,n){var r=n(19);r(r.S+r.F,"Object",{assign:n(29)})},function(t,e,n){var r=n(1),o=n(5),u=n(20),c=n(22),i=function(t,e,n){var a,f,l,s=t&i.F,p=t&i.G,v=t&i.S,b=t&i.P,m=t&i.B,h=t&i.W,y=p?o:o[e]||(o[e]={}),w=y.prototype,_=p?r:v?r[e]:(r[e]||{}).prototype;p&&(n=e);for(a in n)(f=!s&&_&&void 0!==_[a])&&a in y||(l=f?_[a]:n[a],y[a]=p&&"function"!=typeof _[a]?n[a]:m&&f?u(l,r):h&&_[a]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):b&&"function"==typeof l?u(Function.call,l):l,b&&((y.virtual||(y.virtual={}))[a]=l,t&i.R&&w&&!w[a]&&c(w,a,l)))};i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,i.U=64,i.R=128,t.exports=i},function(t,e,n){var r=n(21);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(23),o=n(28);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(24),o=n(25),u=n(27),c=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(2);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(26)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2),o=n(1).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},function(t,e,n){var r=n(2);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(30),o=n(41),u=n(42),c=n(43),i=n(7),a=Object.assign;t.exports=!a||n(4)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=a({},t)[n]||Object.keys(a({},e)).join("")!=r})?function(t,e){for(var n=c(t),a=arguments.length,f=1,l=o.f,s=u.f;a>f;)for(var p,v=i(arguments[f++]),b=l?r(v).concat(l(v)):r(v),m=b.length,h=0;m>h;)s.call(v,p=b[h++])&&(n[p]=v[p]);return n}:a},function(t,e,n){var r=n(31),o=n(40);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(32),o=n(6),u=n(34)(!1),c=n(37)("IE_PROTO");t.exports=function(t,e){var n,i=o(t),a=0,f=[];for(n in i)n!=c&&r(i,n)&&f.push(n);for(;e.length>a;)r(i,n=e[a++])&&(~u(f,n)||f.push(n));return f}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(6),o=n(35),u=n(36);t.exports=function(t){return function(e,n,c){var i,a=r(e),f=o(a.length),l=u(c,f);if(t&&n!=n){for(;f>l;)if((i=a[l++])!=i)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(9),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(9),o=Math.max,u=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):u(t,e)}},function(t,e,n){var r=n(38)("keys"),o=n(39);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(1),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(8);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r,o;/*!
|
2 |
-
Copyright (c) 2016 Jed Watson.
|
3 |
-
Licensed under the MIT License (MIT), see
|
4 |
-
http://jedwatson.github.io/classnames
|
5 |
-
*/
|
6 |
-
!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r))t.push(n.apply(null,r));else if("object"===o)for(var c in r)u.call(r,c)&&r[c]&&t.push(c)}}return t.join(" ")}var u={}.hasOwnProperty;void 0!==t&&t.exports?t.exports=n:(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e){!function(){t.exports=this.wp.element}()},function(t,e,n){"use strict";var r=n(0),o=(n.n(r),n(10)),u=(n.n(o),n(47)),c=(n.n(u),function(t){var e=t.attributes,n=t.setAttributes,c=e.username,i=e.via,a=e.url,f=e.urlcustom,l=e.nofollow,s=e.prompt,p=function(t){n({username:t})},v=function(){n({via:!i})},b=function(){n({url:!a})},m=function(t){n({urlcustom:t})},h=function(){n({nofollow:!l})},y=function(t){n({prompt:t})};return wp.element.createElement(o.InspectorControls,{key:"inspector"},wp.element.createElement(u.PanelBody,{Title:Object(r.__)("Tweet Settings")},wp.element.createElement(u.TextControl,{label:Object(r.__)("Twitter Username"),value:c,onChange:p}),wp.element.createElement(u.ToggleControl,{label:Object(r.__)("Include the username in Tweet?"),checked:!!i,onChange:v}),wp.element.createElement(u.ToggleControl,{label:Object(r.__)("Include URL in tweet?"),checked:!!a,onChange:b}),wp.element.createElement(u.TextControl,{label:Object(r.__)("Custom URL"),value:f,onChange:m,help:Object(r.__)("Custom URL to use instead of post")}),wp.element.createElement(u.ToggleControl,{label:Object(r.__)("Nofollow"),checked:!!l,onChange:h,help:Object(r.__)("Make links nofollow")}),wp.element.createElement(u.TextControl,{label:Object(r.__)("Prompt"),value:s,onChange:y,help:Object(r.__)("Text for action/prompt link")})))});e.a=c},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){},function(t,e,n){"use strict";var r=function(){return null};e.a=r}]);
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/block/init.php
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Blocks Registration
|
4 |
-
*
|
5 |
-
* Enqueue CSS/JS for the blocks & register callback to render shortcode on frontend
|
6 |
-
*/
|
7 |
-
// Exit if accessed directly.
|
8 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
-
exit;
|
10 |
-
}
|
11 |
-
|
12 |
-
// Enqueue Block assets
|
13 |
-
function bctt_block_editor_assets() {
|
14 |
-
wp_enqueue_script('bctt-block-js', plugins_url('block/build/script.js', dirname(__FILE__)), array( 'wp-i18n', 'wp-blocks', 'wp-components', 'wp-editor' ));
|
15 |
-
if ( ! bctt_is_default_styles_dequeued() ) {
|
16 |
-
$stylesheet_url = bctt_get_stylesheet_url();
|
17 |
-
|
18 |
-
wp_enqueue_style( 'bctt-block-editor-css', $stylesheet_url, array(), 'all' );
|
19 |
-
}
|
20 |
-
// Add plugin options for block
|
21 |
-
$bctt_data = array(
|
22 |
-
'username' => get_option( 'bctt-twitter-handle' ),
|
23 |
-
);
|
24 |
-
wp_localize_script( 'bctt-block-js', 'bctt_options_js', $bctt_data );
|
25 |
-
}
|
26 |
-
|
27 |
-
// Hook assets to editor
|
28 |
-
add_action('enqueue_block_editor_assets', 'bctt_block_editor_assets');
|
29 |
-
|
30 |
-
// Server side rendering callback to output shortcode
|
31 |
-
register_block_type('bctt/clicktotweet', [
|
32 |
-
'render_callback' => 'bctt_block_callback',
|
33 |
-
'attributes' => array(
|
34 |
-
'tweet' => array(
|
35 |
-
'type' => 'string',
|
36 |
-
),
|
37 |
-
'username' => array(
|
38 |
-
'type' => 'string',
|
39 |
-
'default' => get_option( 'bctt-twitter-handle' )
|
40 |
-
),
|
41 |
-
'via' => array(
|
42 |
-
'type' => 'boolean',
|
43 |
-
'default' => true
|
44 |
-
),
|
45 |
-
'url' => array(
|
46 |
-
'type' => 'boolean',
|
47 |
-
'default' => true
|
48 |
-
),
|
49 |
-
'urlcustom' => array(
|
50 |
-
'type' => 'string'
|
51 |
-
),
|
52 |
-
'nofollow' => array(
|
53 |
-
'type' => 'boolean',
|
54 |
-
'default' => false
|
55 |
-
),
|
56 |
-
'prompt' => array(
|
57 |
-
'type' => 'string',
|
58 |
-
'default' => sprintf( _x( 'Click To Tweet', 'Text for the box on the reader-facing box', 'better-click-to-tweet' ) )
|
59 |
-
),
|
60 |
-
),
|
61 |
-
]);
|
62 |
-
|
63 |
-
// Callback function to render bctt on frontend
|
64 |
-
function bctt_block_callback( $attributes ) {
|
65 |
-
|
66 |
-
//echo var_dump($attributes);
|
67 |
-
//exit;
|
68 |
-
extract( $attributes );
|
69 |
-
|
70 |
-
$url = ($url ? 'yes' : 'no');
|
71 |
-
|
72 |
-
$shortcode_string = '[bctt tweet="%s" url="%s" via="%s" username="%s" nofollow="%s" prompt="%s"]';
|
73 |
-
|
74 |
-
return sprintf( $shortcode_string, $tweet, ($urlcustom ? $urlcustom : $url), ( $via ? 'yes' : 'no' ), $username, ( $nofollow ? 'yes' : 'no' ), $prompt);
|
75 |
-
}
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/css/bctt-admin.css
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
#post-box-container-1 {
|
2 |
-
float:right;
|
3 |
-
margin-right: -300px;
|
4 |
-
}
|
5 |
-
.bctt-signup {
|
6 |
-
font-size:unset;
|
7 |
-
}
|
8 |
-
|
9 |
-
@media only screen and (max-width: 850px) {
|
10 |
-
#post-box-container-1 {
|
11 |
-
|
12 |
-
margin-right: 0;
|
13 |
-
}
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/css/bcttstyle.css
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
.bctt-click-to-tweet {
|
2 |
-
display: block;
|
3 |
-
background-color: #FFF;
|
4 |
-
position: relative;
|
5 |
-
border-top: 2px solid black;
|
6 |
-
border-bottom: 2px solid black;
|
7 |
-
padding: 19px 12px 19px 18px;
|
8 |
-
margin-bottom: 1em;
|
9 |
-
}
|
10 |
-
|
11 |
-
.bctt-click-to-tweet:after {
|
12 |
-
content: ".";
|
13 |
-
display: block;
|
14 |
-
clear: both;
|
15 |
-
visibility: hidden;
|
16 |
-
line-height: 0;
|
17 |
-
height: 0;
|
18 |
-
}
|
19 |
-
|
20 |
-
.bctt-ctt-text a {
|
21 |
-
padding: 15px 0px;
|
22 |
-
margin: 15px 0;
|
23 |
-
position: relative;
|
24 |
-
color: #000 !important;
|
25 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
26 |
-
font-size: 1.5em;
|
27 |
-
line-height: 140%;
|
28 |
-
font-weight: 100;
|
29 |
-
text-decoration: none !important;
|
30 |
-
text-transform: none !important;
|
31 |
-
word-wrap: break-word;
|
32 |
-
border-bottom: none !important;
|
33 |
-
box-shadow: none !important;
|
34 |
-
}
|
35 |
-
|
36 |
-
.bctt-ctt-text a:hover {
|
37 |
-
text-decoration: none;
|
38 |
-
color: #999 !important;
|
39 |
-
}
|
40 |
-
|
41 |
-
a.bctt-ctt-btn {
|
42 |
-
border-bottom: none !important;
|
43 |
-
box-shadow: none !important;
|
44 |
-
margin: 0;
|
45 |
-
padding: 18px 0 0 0;
|
46 |
-
position: relative;
|
47 |
-
display: block;
|
48 |
-
text-transform: uppercase;
|
49 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
50 |
-
font-size: .7em;
|
51 |
-
font-weight: bold;
|
52 |
-
color: #999999 !important;
|
53 |
-
float: right;
|
54 |
-
text-decoration: none !important;
|
55 |
-
}
|
56 |
-
|
57 |
-
.bctt-ctt-btn:hover {
|
58 |
-
text-decoration: none;
|
59 |
-
color: #666666 !important;
|
60 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/css/styles.css
DELETED
@@ -1,81 +0,0 @@
|
|
1 |
-
|
2 |
-
.bctt-click-to-tweet {
|
3 |
-
display: block;
|
4 |
-
background-color: #fff;
|
5 |
-
position: relative;
|
6 |
-
border: 1px solid #dddddd;
|
7 |
-
-moz-border-radius: 4px;
|
8 |
-
border-radius: 4px;
|
9 |
-
padding: 15px 15px 15px 30px;
|
10 |
-
margin-bottom: 1em;
|
11 |
-
margin-top: 1.75em;
|
12 |
-
}
|
13 |
-
|
14 |
-
.bctt-click-to-tweet:after {
|
15 |
-
content: ".";
|
16 |
-
display: block;
|
17 |
-
clear: both;
|
18 |
-
visibility: hidden;
|
19 |
-
line-height: 0;
|
20 |
-
height: 0;
|
21 |
-
}
|
22 |
-
|
23 |
-
/* For compatibility with the new editor in version 5.0 codenamed Gutenberg */
|
24 |
-
|
25 |
-
.bctt-click-to-tweet .mce-content-body {
|
26 |
-
position: relative;
|
27 |
-
color: #000 !important;
|
28 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
29 |
-
font-size: 1.5em;
|
30 |
-
line-height: 140%;
|
31 |
-
font-weight: 100;
|
32 |
-
text-decoration: none !important;
|
33 |
-
text-transform: none !important;
|
34 |
-
word-wrap: break-word;
|
35 |
-
border-bottom: none !important;
|
36 |
-
box-shadow: none !important;
|
37 |
-
}
|
38 |
-
|
39 |
-
.bctt-ctt-text a {
|
40 |
-
padding: 15px 0;
|
41 |
-
margin: 15px 0;
|
42 |
-
position: relative;
|
43 |
-
color: #000 !important;
|
44 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
45 |
-
font-size: 1.5em;
|
46 |
-
line-height: 140%;
|
47 |
-
font-weight: 100;
|
48 |
-
text-decoration: none !important;
|
49 |
-
text-transform: none !important;
|
50 |
-
word-wrap: break-word;
|
51 |
-
border-bottom: none !important;
|
52 |
-
box-shadow: none !important;
|
53 |
-
}
|
54 |
-
|
55 |
-
.bctt-ctt-text a:hover {
|
56 |
-
text-decoration: none;
|
57 |
-
color: #999 !important;
|
58 |
-
}
|
59 |
-
|
60 |
-
a.bctt-ctt-btn {
|
61 |
-
border-bottom: none !important;
|
62 |
-
margin: 0;
|
63 |
-
padding: 11px 24px 0 0;
|
64 |
-
position: relative;
|
65 |
-
display: block;
|
66 |
-
text-transform: uppercase;
|
67 |
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
|
68 |
-
font-size: .7em;
|
69 |
-
font-weight: bold;
|
70 |
-
color: #999999 !important;
|
71 |
-
float: right;
|
72 |
-
text-decoration: none !important;
|
73 |
-
background: transparent url(../img/birdy.png) no-repeat right top 10px;
|
74 |
-
box-shadow: none !important;
|
75 |
-
}
|
76 |
-
|
77 |
-
.bctt-ctt-btn:hover {
|
78 |
-
text-decoration: none;
|
79 |
-
color: #666666 !important;
|
80 |
-
background: transparent url(../img/birdy.png) no-repeat right top 8px;
|
81 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/img/birdy.png
DELETED
Binary file
|
trunk/assets/img/birdy_button.png
DELETED
Binary file
|
trunk/assets/img/empty.gif
DELETED
Binary file
|
trunk/assets/img/premium_style.png
DELETED
Binary file
|
trunk/assets/tinymce/bctt-tinymce.php
DELETED
@@ -1,109 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* This file for use with the Better Click To Tweet Plugin. http://wordpress.org/plugins/better-click-to-tweet
|
4 |
-
* Huge thanks to Andrew Norcross @norcross for pretty much every bit of code you see here:
|
5 |
-
*
|
6 |
-
* @since 4.0
|
7 |
-
* @author Andrew Norcross
|
8 |
-
*/
|
9 |
-
|
10 |
-
defined( 'ABSPATH' ) or die( "No soup for you. You leave now." );
|
11 |
-
|
12 |
-
if ( ! class_exists( 'BCTT_TinyMCE' ) ) {
|
13 |
-
|
14 |
-
// Start up the engine
|
15 |
-
class BCTT_TinyMCE {
|
16 |
-
|
17 |
-
/**
|
18 |
-
* This is our constructor
|
19 |
-
*
|
20 |
-
* @return BCTT_TinyMCE
|
21 |
-
*/
|
22 |
-
public function __construct() {
|
23 |
-
add_action( 'admin_init', array( $this, 'tinymce_loader' ) );
|
24 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'tinymce_css' ), 10 );
|
25 |
-
}
|
26 |
-
|
27 |
-
/**
|
28 |
-
* load our CSS file
|
29 |
-
* @return [type] [description]
|
30 |
-
*/
|
31 |
-
public function tinymce_css() {
|
32 |
-
|
33 |
-
wp_enqueue_style( 'bctt-admin', plugins_url( '/css/bctt-admin.css', __FILE__ ), array(), null, 'all' );
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* load the TinyMCE button
|
38 |
-
*
|
39 |
-
* @return [type] [description]
|
40 |
-
*/
|
41 |
-
public function tinymce_loader() {
|
42 |
-
add_filter( 'mce_external_languages', array( __class__, 'bctt_tinymce_languages' ) );
|
43 |
-
add_filter( 'mce_external_plugins', array( __class__, 'bctt_tinymce_core' ) );
|
44 |
-
add_filter( 'mce_buttons', array( __class__, 'bctt_tinymce_buttons' ) );
|
45 |
-
}
|
46 |
-
|
47 |
-
/**
|
48 |
-
* loader for the language strings
|
49 |
-
*
|
50 |
-
*/
|
51 |
-
public static function bctt_tinymce_languages( $bctt_locales ) {
|
52 |
-
$bctt_locales['bctt'] = plugin_dir_path( __FILE__ ) . '/languages/bctt-mce-locale.php';
|
53 |
-
|
54 |
-
return $bctt_locales;
|
55 |
-
}
|
56 |
-
|
57 |
-
/**
|
58 |
-
* loader for the required JS
|
59 |
-
*
|
60 |
-
* @param [type] $plugin_array [description]
|
61 |
-
*
|
62 |
-
* @return [type] [description]
|
63 |
-
*/
|
64 |
-
public static function bctt_tinymce_core( $plugin_array ) {
|
65 |
-
|
66 |
-
// add our JS file
|
67 |
-
$plugin_array['bctt'] = plugins_url( '/js/tinymce-bctt.js', __FILE__ );
|
68 |
-
|
69 |
-
// return the array
|
70 |
-
return $plugin_array;
|
71 |
-
}
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Add the button key for event link via JS
|
75 |
-
*
|
76 |
-
* @param [type] $buttons [description]
|
77 |
-
*
|
78 |
-
* @return [type] [description]
|
79 |
-
*/
|
80 |
-
public static function bctt_tinymce_buttons( $buttons ) {
|
81 |
-
|
82 |
-
// set the 'kitchen sink' button as a variable for later
|
83 |
-
$sink = array_search( 'wp_adv', $buttons );
|
84 |
-
|
85 |
-
// remove the sink
|
86 |
-
if ( ! empty( $sink ) ) {
|
87 |
-
unset( $buttons[ $sink ] );
|
88 |
-
}
|
89 |
-
|
90 |
-
// push our buttons to the end
|
91 |
-
array_push( $buttons, 'bctt' );
|
92 |
-
|
93 |
-
// now add back the sink
|
94 |
-
if ( ! empty( $sink ) ) {
|
95 |
-
$buttons[] = 'wp_adv';
|
96 |
-
}
|
97 |
-
|
98 |
-
// send them back
|
99 |
-
return $buttons;
|
100 |
-
}
|
101 |
-
|
102 |
-
// end class
|
103 |
-
}
|
104 |
-
|
105 |
-
// end exists check
|
106 |
-
}
|
107 |
-
|
108 |
-
// Instantiate our class
|
109 |
-
new BCTT_TinyMCE();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/tinymce/css/bctt-admin.css
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
.mce-i-bctt-tweet {
|
2 |
-
font-family: "dashicons";
|
3 |
-
}
|
4 |
-
|
5 |
-
.mce-i-bctt-tweet:before {
|
6 |
-
display: inline-block;
|
7 |
-
-webkit-font-smoothing: antialiased;
|
8 |
-
text-align: center;
|
9 |
-
font-weight: 400;
|
10 |
-
font-size: 20px;
|
11 |
-
line-height: 1;
|
12 |
-
font-family: "dashicons";
|
13 |
-
content: "\f301";
|
14 |
-
color: #4099ff;
|
15 |
-
speak: none;
|
16 |
-
vertical-align: top;
|
17 |
-
position: relative;
|
18 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/tinymce/js/tinymce-bctt.js
DELETED
@@ -1,71 +0,0 @@
|
|
1 |
-
( function() {
|
2 |
-
tinymce.PluginManager.add( 'bctt', function( editor, url ) {
|
3 |
-
|
4 |
-
// Add a button that opens a window
|
5 |
-
editor.addButton( 'bctt', {
|
6 |
-
|
7 |
-
text: '',
|
8 |
-
tooltip: editor.getLang( 'bctt.toolTip', 'Better Click To Tweet Shortcode Generator' ),
|
9 |
-
icon: 'bctt-tweet',
|
10 |
-
onclick: function() {
|
11 |
-
// Open window
|
12 |
-
editor.windowManager.open( {
|
13 |
-
title: editor.getLang( 'bctt.windowTitle', 'Better Click To Tweet Shortcode Generator' ),
|
14 |
-
body: [
|
15 |
-
{
|
16 |
-
type: 'textbox',
|
17 |
-
name: 'tweet',
|
18 |
-
label: editor.getLang( 'bctt.tweetableQuote', 'Tweetable Quote' ),
|
19 |
-
multiline : true,
|
20 |
-
minHeight : 60
|
21 |
-
},
|
22 |
-
{
|
23 |
-
type: 'checkbox',
|
24 |
-
checked: true,
|
25 |
-
name: 'viamark',
|
26 |
-
value: true,
|
27 |
-
text: editor.getLang( 'bctt.viaExplainer', 'Add the username below to this tweet'),
|
28 |
-
label: editor.getLang( 'bctt.viaPrompt', 'Include "via"?'),
|
29 |
-
},
|
30 |
-
{
|
31 |
-
type: 'textbox',
|
32 |
-
name: 'username',
|
33 |
-
label: editor.getLang( 'bctt.usernameExplainer', 'Which Twitter username?'),
|
34 |
-
multiline: false,
|
35 |
-
value: editor.getLang( 'bctt.userPrePopulated', ''),
|
36 |
-
}
|
37 |
-
],
|
38 |
-
width: 800,
|
39 |
-
height: 180,
|
40 |
-
onsubmit: function( e ) {
|
41 |
-
|
42 |
-
// bail without tweet text
|
43 |
-
if ( e.data.tweet === '' ) {
|
44 |
-
return;
|
45 |
-
}
|
46 |
-
|
47 |
-
// build my content
|
48 |
-
var bcttBuild = '';
|
49 |
-
|
50 |
-
// set initial
|
51 |
-
bcttBuild += '[bctt tweet="' + e.data.tweet + '"';
|
52 |
-
|
53 |
-
// check for via
|
54 |
-
if ( e.data.viamark === false ) {
|
55 |
-
bcttBuild += ' via="no"';
|
56 |
-
|
57 |
-
} else {
|
58 |
-
bcttBuild += ' username="' + e.data.username + '"';
|
59 |
-
}
|
60 |
-
|
61 |
-
// close it up
|
62 |
-
bcttBuild += ']';
|
63 |
-
|
64 |
-
// Insert content when the window form is submitted
|
65 |
-
editor.insertContent( bcttBuild );
|
66 |
-
}
|
67 |
-
});
|
68 |
-
}
|
69 |
-
});
|
70 |
-
});
|
71 |
-
})();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/assets/tinymce/languages/bctt-mce-locale.php
DELETED
@@ -1,25 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* This file dynamically creates MCE locales, based on .po/.mo files loaded in the plugin's translation folder.
|
4 |
-
* It interfaces with the TinyMCE API using the tinyMCE.addI18n() function,
|
5 |
-
* which adds a language pack to TinyMCE
|
6 |
-
*
|
7 |
-
* @var string $strings a JavaScript snippet to add another language pack to TinyMCE
|
8 |
-
* @var string $mce_locale an ISO 639-1 formated string of the current language e.g. en, de...
|
9 |
-
* @deprecated wp_tiny_mce() at wp-admin/includes/post.php (for versions prior WP 3.3)
|
10 |
-
* @see _WP_Editors::editor_settings in wp-includes/class-wp-editor.php
|
11 |
-
*/
|
12 |
-
$strings =
|
13 |
-
'tinyMCE.addI18n(
|
14 |
-
"' . $mce_locale . '.bctt",
|
15 |
-
{
|
16 |
-
toolTip : "' . esc_js( _x( 'Better Click To Tweet Shortcode Generator', 'Text that shows on mouseover for visual editor button', 'better-click-to-tweet' ) ) . '",
|
17 |
-
windowTitle : "' . esc_js( _x( 'Better Click To Tweet Shortcode Generator', 'Text for title of the popup box when creating tweetable quote in the visual editor', 'better-click-to-tweet' ) ) . '",
|
18 |
-
tweetableQuote : "' . esc_js( _x( 'Tweetable Quote', 'Text for label on input box on popup box in visual editor', 'better-click-to-tweet' ) ) . '",
|
19 |
-
viaExplainer : "' . esc_js( _x( 'Add the username below to this tweet', 'Text explaining the checkbox on the visual editor', 'better-click-to-tweet' ) ) . '",
|
20 |
-
viaPrompt : "' . esc_js( _x( 'Include via?', 'Checkbox label in visual editor', 'better-click-to-tweet' ) ) . '",
|
21 |
-
usernameExplainer : "' . esc_js( _x( 'Which Twitter username?', 'Help text for label in visual editor', 'better-click-to-tweet' ) ) . '",
|
22 |
-
userPrePopulated : "' . esc_js( get_option( 'bctt-twitter-handle' ) ) . '",
|
23 |
-
}
|
24 |
-
);
|
25 |
-
';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/bctt-i18n.php
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
add_action( 'plugins_loaded', 'bctt_load_textdomain' );
|
4 |
-
|
5 |
-
function bctt_load_textdomain() {
|
6 |
-
load_plugin_textdomain( 'better-click-to-tweet', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/bctt_options.php
DELETED
@@ -1,261 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
defined( 'ABSPATH' ) or die( "No script kiddies please!" );
|
3 |
-
|
4 |
-
|
5 |
-
// Cache bust tinymce
|
6 |
-
add_filter( 'tiny_mce_version', 'refresh_mce' );
|
7 |
-
|
8 |
-
// Add button to visual editor
|
9 |
-
include dirname( __FILE__ ) . '/assets/tinymce/bctt-tinymce.php';
|
10 |
-
|
11 |
-
|
12 |
-
// instantiate i18n encouragement module
|
13 |
-
$bctt_i18n = new bctt_i18n(
|
14 |
-
array(
|
15 |
-
'textdomain' => 'better-click-to-tweet',
|
16 |
-
'project_slug' => '/wp-plugins/better-click-to-tweet/stable',
|
17 |
-
'plugin_name' => 'Better Click To Tweet',
|
18 |
-
'hook' => 'bctt_settings_top',
|
19 |
-
'glotpress_url' => 'https://translate.wordpress.org/',
|
20 |
-
'glotpress_name' => 'Translating WordPress',
|
21 |
-
'glotpress_logo' => 'https://plugins.svn.wordpress.org/better-click-to-tweet/assets/icon-256x256.png',
|
22 |
-
'register_url ' => 'https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/',
|
23 |
-
)
|
24 |
-
);
|
25 |
-
|
26 |
-
// Add Settings Link
|
27 |
-
add_action( 'admin_menu', 'bctt_admin_menu' );
|
28 |
-
|
29 |
-
|
30 |
-
function bctt_admin_menu() {
|
31 |
-
add_action( 'admin_init', 'bctt_register_settings', 100, 1 );
|
32 |
-
add_menu_page( 'Better Click To Tweet Options', 'Better Click To Tweet', 'manage_options', 'better-click-to-tweet', null, 'dashicons-twitter' );
|
33 |
-
add_submenu_page('better-click-to-tweet', 'Better Click To Tweet Main Settings', 'Settings', 'manage_options', 'better-click-to-tweet', 'bctt_settings_page' );
|
34 |
-
}
|
35 |
-
|
36 |
-
function bctt_register_settings() {
|
37 |
-
register_setting( 'bctt_clicktotweet-options', 'bctt-twitter-handle', 'bctt_validate_settings' );
|
38 |
-
register_setting( 'bctt_clicktotweet-options', 'bctt-short-url', 'bctt_validate_checkbox' );
|
39 |
-
}
|
40 |
-
|
41 |
-
function bctt_validate_settings( $input ) {
|
42 |
-
return preg_replace('/[^0-9a-zA-Z_]/', '', $input);
|
43 |
-
}
|
44 |
-
|
45 |
-
function bctt_validate_checkbox( $input ) {
|
46 |
-
if ( ! isset( $input ) || $input != '1' ) {
|
47 |
-
return 0;
|
48 |
-
} else {
|
49 |
-
return 1;
|
50 |
-
}
|
51 |
-
}
|
52 |
-
|
53 |
-
function bctt_add_custom_style_option() {
|
54 |
-
$bctt_dequeued_with_custom_funtion = bctt_is_default_styles_dequeued();
|
55 |
-
|
56 |
-
$bctt_custom_style = bctt_is_custom_stylesheet();
|
57 |
-
|
58 |
-
if ( $bctt_dequeued_with_custom_funtion || $bctt_custom_style ) {
|
59 |
-
return true;
|
60 |
-
} else {
|
61 |
-
return false;
|
62 |
-
}
|
63 |
-
|
64 |
-
}
|
65 |
-
|
66 |
-
function bctt_admin_styles() {
|
67 |
-
wp_register_style( 'bctt_admin_style', plugins_url( 'assets/css/bctt-admin.css', __FILE__ ) );
|
68 |
-
wp_enqueue_style( 'bctt_admin_style' );
|
69 |
-
}
|
70 |
-
|
71 |
-
function bctt_settings_page() {
|
72 |
-
if ( ! current_user_can( 'manage_options' ) ) {
|
73 |
-
wp_die( __( 'You do not have sufficient permissions to access this page.', 'better-click-to-tweet' ) );
|
74 |
-
}
|
75 |
-
|
76 |
-
bctt_admin_styles();
|
77 |
-
?>
|
78 |
-
|
79 |
-
<div class="wrap">
|
80 |
-
|
81 |
-
<h1 class="wp-heading-inline"><?php /* translators: Treat "Better Click To Tweet" as a brand name, don't translate it */
|
82 |
-
_e( 'Better Click To Tweet — a plugin by Ben Meredith', 'better-click-to-tweet' ); ?></h1>
|
83 |
-
|
84 |
-
<hr/>
|
85 |
-
<?php do_action( 'bctt_settings_top' ); ?>
|
86 |
-
|
87 |
-
|
88 |
-
<div id="poststuff">
|
89 |
-
<div id="post-body" class="metabox-holder columns-2 ">
|
90 |
-
<div id="post-body-content" style="position: relative;">
|
91 |
-
<div id="bctt_instructions" class="postbox ">
|
92 |
-
<h2><?php _e( 'Instructions', 'better-click-to-tweet' ); ?></h2>
|
93 |
-
<div class="inside">
|
94 |
-
|
95 |
-
<p><?php /* translators: Treat "Better Click To Tweet" as a brand name, don't translate it */
|
96 |
-
_e( 'To add styled click-to-tweet quote boxes include the Better Click To Tweet shortcode in your post.', 'better-click-to-tweet' ); ?></p>
|
97 |
-
|
98 |
-
<p><?php _e( 'Here\'s how you format the shortcode:', 'better-click-to-tweet' ); ?></p>
|
99 |
-
<pre>[bctt tweet="<?php /* translators: This text shows up as a sample tweet in the instructions for how to use the plugin. */
|
100 |
-
_e( 'Meaningful, tweetable quote.', 'better-click-to-tweet' ); ?>"]</pre>
|
101 |
-
<p><?php /* translators: Also, treat "BCTT" as a brand name, don't translate it */
|
102 |
-
_e( 'If you are using the visual editor, click the BCTT birdie in the toolbar to add a pre-formatted shortcode to your post.', 'better-click-to-tweet' ); ?></p>
|
103 |
-
|
104 |
-
<p><?php _e( 'Tweet length is automatically shortened to 117 characters minus the length of your twitter name, to leave room for it and a link back to the post.', 'better-click-to-tweet' ); ?></p>
|
105 |
-
</div>
|
106 |
-
<!--/inside-->
|
107 |
-
</div>
|
108 |
-
<!--/bctt_instructions-->
|
109 |
-
<?php do_action( 'bctt_instructions_bottom' ); ?>
|
110 |
-
<div class="postbox">
|
111 |
-
<h2><?php _e( 'Settings', 'better-click-to-tweet' ); ?></h2>
|
112 |
-
<div class="inside">
|
113 |
-
<div class="main">
|
114 |
-
<p><?php _e( 'Enter your Twitter handle to add "via @yourhandle" to your tweets. Do not include the @ symbol.', 'better-click-to-tweet' ); ?></p>
|
115 |
-
|
116 |
-
<p><?php _e( 'Checking the box below will force the plugin to show the WordPress shortlink in place of the full URL. While this does not impact tweet character length, it is useful alongside plugins which customize the WordPress shortlink using services like bit.ly or yourls.org for tracking', 'better-click-to-tweet' ) ?> </p>
|
117 |
-
|
118 |
-
<form method="post" action="options.php" style="">
|
119 |
-
<?php settings_fields( 'bctt_clicktotweet-options' ); ?>
|
120 |
-
|
121 |
-
<table class="form-table">
|
122 |
-
<tr valign="top">
|
123 |
-
<th style="width: 200px;">
|
124 |
-
<label for="bctt-twitter-handle"><?php _ex( 'Your Twitter Handle', 'label for text input on settings screen', 'better-click-to-tweet' ); ?></label>
|
125 |
-
</th>
|
126 |
-
<td><input id="bctt-twitter-handle" type="text" name="bctt-twitter-handle"
|
127 |
-
value="<?php echo esc_attr( get_option( 'bctt-twitter-handle' ) ); ?>"/>
|
128 |
-
</td>
|
129 |
-
<tr valign="top">
|
130 |
-
<th style="width: 200px;">
|
131 |
-
<label for="bctt-short-url"><?php _ex( 'Use Short URL?', 'label for checkbox on settings screen', 'better-click-to-tweet' ); ?></label>
|
132 |
-
</th>
|
133 |
-
<td><input id="bctt-short-url" type="checkbox" name="bctt-short-url"
|
134 |
-
value="1" <?php if ( 1 == get_option( 'bctt-short-url' ) ) {
|
135 |
-
echo 'checked="checked"';
|
136 |
-
} ?>" />
|
137 |
-
</td>
|
138 |
-
</tr>
|
139 |
-
|
140 |
-
<?php if ( ! bctt_add_custom_style_option() ) { ?>
|
141 |
-
<tr valign="top">
|
142 |
-
<th style="width:200px;">
|
143 |
-
<label><?php _ex( 'Use Premium Styles?', 'label for checkbox on settings screen', 'better-click-to-tweet' ); ?></label>
|
144 |
-
</th>
|
145 |
-
<td><input type="checkbox" name="bctt-custom-style"
|
146 |
-
value="1" <?php if ( is_plugin_active( 'better-click-to-tweet-styles/better-click-to-tweet-premium-styles.php' ) ) {
|
147 |
-
echo 'checked="checked"';
|
148 |
-
} else {
|
149 |
-
echo 'disabled="disabled"';
|
150 |
-
} ?>" /> <span
|
151 |
-
style="font-size: .85em;"><em> <?php if ( ! is_plugin_active( 'better-click-to-tweet-styles/better-click-to-tweet-premium-styles.php' ) ) {
|
152 |
-
echo sprintf( __( 'Want Premium styles? Add the <a href=%s>Premium Styles add-on</a> today!', 'better-click-to-tweet' ), esc_url( 'http://benlikes.us/bcttpsdirect' ) );
|
153 |
-
} ?></em></span>
|
154 |
-
|
155 |
-
</td>
|
156 |
-
</tr>
|
157 |
-
<?php } ?>
|
158 |
-
</table>
|
159 |
-
<?php do_action( 'bctt_before_settings_submit' ); ?>
|
160 |
-
<br class="clear"/>
|
161 |
-
|
162 |
-
<p><input type="submit" class="button-primary"
|
163 |
-
value="<?php _e( 'Save Changes', 'better-click-to-tweet' ); ?>"/>
|
164 |
-
</p>
|
165 |
-
<br class="clear"/>
|
166 |
-
<em><?php $url = 'https://www.betterclicktotweet.com';
|
167 |
-
$link = sprintf( __( 'An open source plugin by <a href=%s>Ben Meredith</a>', 'better-click-to-tweet' ), esc_url( $url ) );
|
168 |
-
echo $link; ?></em>
|
169 |
-
</form>
|
170 |
-
|
171 |
-
</div>
|
172 |
-
<!--/main-->
|
173 |
-
</div>
|
174 |
-
<!--/inside-->
|
175 |
-
</div>
|
176 |
-
<!--/postbox-->
|
177 |
-
</div>
|
178 |
-
<!--/post-body-content-->
|
179 |
-
<?php do_action( 'bctt_after_settings' ); ?>
|
180 |
-
|
181 |
-
<div id="post-box-container-1" class="post-box-container">
|
182 |
-
<div id="side-sortables" class="meta-box-sortables ui-sortable">
|
183 |
-
|
184 |
-
<div id="bctt-author" class="postbox " style="display:block;">
|
185 |
-
<h2><?php _e( 'About the Author', 'better-click-to-tweet' ); ?> </h2>
|
186 |
-
|
187 |
-
<div id="bctt_signup" class="inside">
|
188 |
-
<form
|
189 |
-
action="//benandjacq.us1.list-manage.com/subscribe/post?u=8f88921110b81f81744101f4d&id=bd909b5f89"
|
190 |
-
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form"
|
191 |
-
class="validate" target="_blank" novalidate>
|
192 |
-
<div id="mc_embed_signup_scroll">
|
193 |
-
<p> <?php echo sprintf( __( 'This plugin is developed by <a href="%s">Ben Meredith</a>. I am a freelance developer specializing in <a href="%s">outrunning and outsmarting hackers</a>.', 'better-click-to-tweet' ), esc_url( 'https://www.wpsteward.com' ), esc_url( 'https://www.wpsteward.com/service-plans' ) ); ?></p>
|
194 |
-
<h3 class="bctt-signup"><?php _e( 'Sign up to receive my FREE web strategy guide', 'better-click-to-tweet' ); ?></h3>
|
195 |
-
|
196 |
-
<p><label for="bctt-email-signup" class="hidden">
|
197 |
-
Your Email Address
|
198 |
-
</label>
|
199 |
-
<input id="bctt-email-signup" type="email" value="" name="EMAIL" class="widefat" id="mce-EMAIL"
|
200 |
-
placeholder="<?php _ex( 'Your Email Address', 'placeholder text for input field', 'better-click-to-tweet' ); ?>">
|
201 |
-
<small><?php _e( 'No Spam. One-click unsubscribe in every message', 'better-click-to-tweet' ); ?></small>
|
202 |
-
</p>
|
203 |
-
<div style="position: absolute; left: -5000px;">
|
204 |
-
<label for="bctt-mailchimp-subscribe-hidden" class="hidden">
|
205 |
-
Hidden field for MailChimp verification
|
206 |
-
</label>
|
207 |
-
<input id="bctt-mailchimp-subscribe-hidden" type="text"
|
208 |
-
name="b_8f88921110b81f81744101f4d_bd909b5f89"
|
209 |
-
tabindex="-1" value="">
|
210 |
-
</div>
|
211 |
-
<p class="clear"><input type="submit" value="<?php _e( 'Subscribe', 'better-click-to-tweet' ); ?>" name="subscribe"
|
212 |
-
id="mc-embedded-subscribe" class="button-secondary"></p>
|
213 |
-
|
214 |
-
</div>
|
215 |
-
<!--/mc_embed_signup_scroll-->
|
216 |
-
</form>
|
217 |
-
</div>
|
218 |
-
<!--/bctt_signup-->
|
219 |
-
<?php do_action( 'bctt_author_box_bottom' ); ?>
|
220 |
-
</div>
|
221 |
-
<!--/bctt-author-->
|
222 |
-
</div>
|
223 |
-
<!--/side-sortables-->
|
224 |
-
|
225 |
-
<div id="side-sortables" class="meta-box-sortables ui-sortable">
|
226 |
-
<div id="bctt-contrib" class="postbox">
|
227 |
-
<div class="inside">
|
228 |
-
<p><?php $url2 = 'https://github.com/Benunc/better-click-to-tweet';
|
229 |
-
$link2 = sprintf( __( 'Are you a developer? I would love your help making this plugin better. Check out the <a href=%s>plugin on Github.</a>', 'better-click-to-tweet' ), esc_url( $url2 ) );
|
230 |
-
echo $link2; ?></p>
|
231 |
-
|
232 |
-
<p><?php $url3 = 'https://www.wpsteward.com/donations/plugin-support/';
|
233 |
-
$link3 = sprintf( __( 'The best way you can support this and other plugins is to <a href=%s>donate</a>', 'better-click-to-tweet' ), esc_url( $url3 ) );
|
234 |
-
echo $link3; ?>
|
235 |
-
. <?php $url4 = 'https://wordpress.org/support/view/plugin-reviews/better-click-to-tweet';
|
236 |
-
$link4 = sprintf( __( 'The second best way is to <a href=%s>leave an honest review.</a>', 'better-click-to-tweet' ), esc_url( $url4 ) );
|
237 |
-
echo $link4; ?></p>
|
238 |
-
|
239 |
-
<p><?php _e( 'Did this plugin save you enough time to be worth some money?', 'better-click-to-tweet' ); ?></p>
|
240 |
-
|
241 |
-
<p>
|
242 |
-
<a href="https://www.wpsteward.com/donations/plugin-support/"
|
243 |
-
target="_blank"><?php _e( 'Click here to buy me a Coke to say thanks.', 'better-click-to-tweet' ); ?></a>
|
244 |
-
</p>
|
245 |
-
</div>
|
246 |
-
<!--/inside-->
|
247 |
-
</div>
|
248 |
-
<!--/donate-contrib-->
|
249 |
-
<?php do_action( 'bctt_contrib_bottom' ); ?>
|
250 |
-
</div>
|
251 |
-
<!--side-sortables-->
|
252 |
-
</div>
|
253 |
-
<!--/post-box-container-1-->
|
254 |
-
</div>
|
255 |
-
<!--/post-body-->
|
256 |
-
</div>
|
257 |
-
<!--/wrap-->
|
258 |
-
<?php
|
259 |
-
}
|
260 |
-
|
261 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/better-click-to-tweet.php
DELETED
@@ -1,348 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: Better Click To Tweet
|
4 |
-
* Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
|
5 |
-
* Version: 5.6.1
|
6 |
-
* Author: Ben Meredith
|
7 |
-
* Author URI: https://www.betterclicktotweet.com
|
8 |
-
* Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
|
9 |
-
* License: GPL2
|
10 |
-
* Text Domain: better-click-to-tweet
|
11 |
-
**/
|
12 |
-
|
13 |
-
defined( 'ABSPATH' ) or die( "No soup for you. You leave now." );
|
14 |
-
|
15 |
-
include 'i18n-module.php';
|
16 |
-
include 'bctt_options.php';
|
17 |
-
include 'bctt-i18n.php';
|
18 |
-
include 'admin-nags.php';
|
19 |
-
|
20 |
-
/*
|
21 |
-
* Strips the html, shortens the text (after checking for mb_internal_encoding compatibility)
|
22 |
-
* and adds an ellipsis if the text has been shortened
|
23 |
-
*
|
24 |
-
* @param string $input raw text string from the shortcode
|
25 |
-
* @param int $length length for truncation
|
26 |
-
* @param bool $ellipsis boolean for whether the text has been truncated
|
27 |
-
* @param bool $strip_html ensures that html is stripped from text string
|
28 |
-
*/
|
29 |
-
|
30 |
-
|
31 |
-
function bctt_shorten( $input, $length, $ellipsis = true, $strip_html = true ) {
|
32 |
-
|
33 |
-
if ( $strip_html ) {
|
34 |
-
$input = strip_tags( $input );
|
35 |
-
}
|
36 |
-
|
37 |
-
/*
|
38 |
-
* Checks to see if the mbstring php extension is loaded, for optimal truncation.
|
39 |
-
* If it's not, it bails and counts the characters based on utf-8.
|
40 |
-
* What this means for users is that non-Roman characters will only be counted
|
41 |
-
* correctly if that extension is loaded. Contact your server admin to enable the extension.
|
42 |
-
*/
|
43 |
-
|
44 |
-
if ( function_exists( 'mb_internal_encoding' ) ) {
|
45 |
-
if ( mb_strlen( $input ) <= $length ) {
|
46 |
-
return $input;
|
47 |
-
}
|
48 |
-
|
49 |
-
$last_space = mb_strrpos( mb_substr( $input, 0, $length ), ' ' );
|
50 |
-
$trimmed_text = mb_substr( $input, 0, $last_space );
|
51 |
-
|
52 |
-
if ( $ellipsis ) {
|
53 |
-
$trimmed_text .= "…";
|
54 |
-
}
|
55 |
-
|
56 |
-
return $trimmed_text;
|
57 |
-
|
58 |
-
} else {
|
59 |
-
|
60 |
-
if ( strlen( $input ) <= $length ) {
|
61 |
-
return $input;
|
62 |
-
}
|
63 |
-
|
64 |
-
$last_space = strrpos( substr( $input, 0, $length ), ' ' );
|
65 |
-
$trimmed_text = substr( $input, 0, $last_space );
|
66 |
-
|
67 |
-
if ( $ellipsis ) {
|
68 |
-
$trimmed_text .= "…";
|
69 |
-
}
|
70 |
-
|
71 |
-
return $trimmed_text;
|
72 |
-
}
|
73 |
-
}
|
74 |
-
|
75 |
-
;
|
76 |
-
|
77 |
-
/*
|
78 |
-
* Creates the bctt shortcode
|
79 |
-
*
|
80 |
-
* @since 0.1
|
81 |
-
* @param array $atts an array of shortcode attributes
|
82 |
-
*
|
83 |
-
*/
|
84 |
-
|
85 |
-
function bctt_shortcode( $atts ) {
|
86 |
-
|
87 |
-
$atts = shortcode_atts( apply_filters( 'bctt_atts', array(
|
88 |
-
'tweet' => '',
|
89 |
-
'via' => 'yes',
|
90 |
-
'username' => 'not-a-real-user',
|
91 |
-
'url' => 'yes',
|
92 |
-
'nofollow' => 'no',
|
93 |
-
'prompt' => sprintf( _x( 'Click To Tweet', 'Text for the box on the reader-facing box', 'better-click-to-tweet' ) )
|
94 |
-
) ), $atts, 'bctt' );
|
95 |
-
|
96 |
-
//since 4.7: adds option to add in a per-box username to the tweet
|
97 |
-
if ( $atts['username'] != 'not-a-real-user' ) {
|
98 |
-
|
99 |
-
$handle = $atts['username'];
|
100 |
-
|
101 |
-
} else {
|
102 |
-
|
103 |
-
$handle = get_option( 'bctt-twitter-handle' );
|
104 |
-
|
105 |
-
}
|
106 |
-
|
107 |
-
if ( function_exists( 'mb_internal_encoding' ) ) {
|
108 |
-
|
109 |
-
$handle_length = ( 6 + mb_strlen( $handle ) );
|
110 |
-
|
111 |
-
} else {
|
112 |
-
|
113 |
-
$handle_length = ( 6 + strlen( $handle ) );
|
114 |
-
|
115 |
-
}
|
116 |
-
|
117 |
-
if ( ! empty( $handle ) && $atts['via'] != 'no' ) {
|
118 |
-
|
119 |
-
$via = $handle;
|
120 |
-
$related = $handle;
|
121 |
-
} else {
|
122 |
-
|
123 |
-
$via = null;
|
124 |
-
$related = '';
|
125 |
-
|
126 |
-
}
|
127 |
-
|
128 |
-
if ( $atts['via'] != 'yes' ) {
|
129 |
-
$via = null;
|
130 |
-
$handle_length = 0;
|
131 |
-
|
132 |
-
}
|
133 |
-
|
134 |
-
$text = $atts['tweet'];
|
135 |
-
|
136 |
-
if ( filter_var( $atts['url'], FILTER_VALIDATE_URL ) ) {
|
137 |
-
|
138 |
-
$bcttURL = $atts['url'];
|
139 |
-
|
140 |
-
} elseif ( $atts['url'] != 'no' ) {
|
141 |
-
|
142 |
-
if ( get_option( 'bctt-short-url' ) != false ) {
|
143 |
-
|
144 |
-
$bcttURL = wp_get_shortlink();
|
145 |
-
|
146 |
-
} else {
|
147 |
-
|
148 |
-
$bcttURL = get_permalink();
|
149 |
-
|
150 |
-
}
|
151 |
-
|
152 |
-
} else {
|
153 |
-
|
154 |
-
$bcttURL = null;
|
155 |
-
|
156 |
-
}
|
157 |
-
|
158 |
-
if ( $atts['url'] != 'no' ) {
|
159 |
-
|
160 |
-
$short = bctt_shorten( $text, ( 253 - ( $handle_length ) ) );
|
161 |
-
|
162 |
-
} else {
|
163 |
-
|
164 |
-
$short = bctt_shorten( $text, ( 280 - ( $handle_length ) ) );
|
165 |
-
|
166 |
-
}
|
167 |
-
|
168 |
-
if ( $atts['nofollow'] != 'no' ) {
|
169 |
-
|
170 |
-
$rel = 'rel="noopener noreferrer nofollow"';
|
171 |
-
|
172 |
-
} else {
|
173 |
-
|
174 |
-
$rel = 'rel="noopener noreferrer"';
|
175 |
-
|
176 |
-
}
|
177 |
-
|
178 |
-
$bctt_span_class = apply_filters( 'bctt_span_class', 'bctt-click-to-tweet' );
|
179 |
-
$bctt_text_span_class = apply_filters( 'bctt_text_span_class', 'bctt-ctt-text' );
|
180 |
-
$bctt_button_span_class = apply_filters( 'bctt_button_span_class', 'bctt-ctt-btn' );
|
181 |
-
|
182 |
-
|
183 |
-
$href = add_query_arg( array(
|
184 |
-
'url' => $bcttURL,
|
185 |
-
'text' => rawurlencode( html_entity_decode( $short ) ),
|
186 |
-
'via' => $via,
|
187 |
-
'related' => $related,
|
188 |
-
), 'https://twitter.com/intent/tweet' );
|
189 |
-
|
190 |
-
if ( ! is_feed() ) {
|
191 |
-
|
192 |
-
$output = "<span class='" . esc_attr( $bctt_span_class ) . "'><span class='" . esc_attr( $bctt_text_span_class ) . "'><a href='" . esc_url( $href ) . "' target='_blank'" . $rel . ">" . esc_html( $short ) . " </a></span><a href='" . esc_url( $href ) . "' target='_blank' class='" . esc_attr( $bctt_button_span_class ) . "'" . $rel . ">" . esc_html( $atts['prompt'] ) . "</a></span>";
|
193 |
-
} else {
|
194 |
-
|
195 |
-
$output = "<hr /><p><em>" . esc_html( $short ) . "</em><br /><a href='" . esc_url( $href ) . "' target='_blank' " . $rel . " >" . esc_html( $atts['prompt'] ) . "</a><br /><hr />";
|
196 |
-
|
197 |
-
}
|
198 |
-
return apply_filters( 'bctt_output', $output, $short, $bctt_button_span_class, $bctt_span_class, $bctt_text_span_class, $href, $rel, $atts );
|
199 |
-
}
|
200 |
-
|
201 |
-
add_shortcode( 'bctt', 'bctt_shortcode' );
|
202 |
-
|
203 |
-
/*
|
204 |
-
* Load the stylesheet to style the output.
|
205 |
-
*
|
206 |
-
* As of v4.1, defaults to a custom stylesheet
|
207 |
-
* located in the root of the uploads folder at wp-content/uploads/bcttstyle.css and falls
|
208 |
-
* back to the stylesheet bundled with the plugin if the custom sheet is not present.
|
209 |
-
*
|
210 |
-
* @since 0.1
|
211 |
-
*
|
212 |
-
*/
|
213 |
-
|
214 |
-
function bctt_scripts() {
|
215 |
-
|
216 |
-
if ( bctt_is_default_styles_dequeued() ) {
|
217 |
-
foreach ( wp_load_alloptions() as $option => $value ) {
|
218 |
-
if ( strpos( $option, 'bcct_' ) === 0 ) {
|
219 |
-
delete_option( $option );
|
220 |
-
}
|
221 |
-
}
|
222 |
-
|
223 |
-
return;
|
224 |
-
}
|
225 |
-
|
226 |
-
$custom = bctt_is_custom_stylesheet();
|
227 |
-
|
228 |
-
$tag = $custom ? 'bcct_custom_style' : 'bcct_style';
|
229 |
-
$location = bctt_get_stylesheet_url();
|
230 |
-
|
231 |
-
$version = $custom ? '1.0' : '3.0';
|
232 |
-
|
233 |
-
wp_register_style( $tag, $location, false, $version, 'all' );
|
234 |
-
|
235 |
-
wp_enqueue_style( $tag );
|
236 |
-
}
|
237 |
-
|
238 |
-
|
239 |
-
add_action( 'wp_enqueue_scripts', 'bctt_scripts', 10 );
|
240 |
-
|
241 |
-
/**
|
242 |
-
* Check if default stylesheet must not be enqueued
|
243 |
-
*
|
244 |
-
* @return bool
|
245 |
-
*/
|
246 |
-
function bctt_is_default_styles_dequeued() {
|
247 |
-
return (bool) get_option( 'bctt_disable_css' );
|
248 |
-
}
|
249 |
-
|
250 |
-
|
251 |
-
/**
|
252 |
-
* Check if there's a custo stylesheet that will be enqueued
|
253 |
-
*/
|
254 |
-
function bctt_is_custom_stylesheet() {
|
255 |
-
return file_exists( bctt_get_custom_styles_path() );
|
256 |
-
}
|
257 |
-
|
258 |
-
/**
|
259 |
-
* Return the BCTT stylesheet URL
|
260 |
-
*
|
261 |
-
* Return custom styles URL if the file exists or the default one otherwise
|
262 |
-
*
|
263 |
-
* @return string
|
264 |
-
*/
|
265 |
-
function bctt_get_stylesheet_url() {
|
266 |
-
return bctt_is_custom_stylesheet() ? bctt_get_custom_styles_url() : bctt_get_styles_url();
|
267 |
-
}
|
268 |
-
|
269 |
-
|
270 |
-
/**
|
271 |
-
* Return the custom stylesheet path
|
272 |
-
*
|
273 |
-
* @return string
|
274 |
-
*/
|
275 |
-
function bctt_get_custom_styles_path() {
|
276 |
-
$dir = wp_upload_dir();
|
277 |
-
return $dir['basedir'] . '/bcttstyle.css';
|
278 |
-
}
|
279 |
-
|
280 |
-
/**
|
281 |
-
* Return the custom stylesheet URL
|
282 |
-
*
|
283 |
-
* @return string
|
284 |
-
*/
|
285 |
-
function bctt_get_custom_styles_url() {
|
286 |
-
$dir = wp_upload_dir();
|
287 |
-
return $dir['baseurl'] . '/bcttstyle.css';
|
288 |
-
}
|
289 |
-
|
290 |
-
/**
|
291 |
-
* Return the default stylesheet path
|
292 |
-
*
|
293 |
-
* @return string
|
294 |
-
*/
|
295 |
-
function bctt_get_styles_url() {
|
296 |
-
return plugins_url( 'assets/css/styles.css', __FILE__ );
|
297 |
-
}
|
298 |
-
|
299 |
-
/*
|
300 |
-
* Delete options and shortcode on uninstall
|
301 |
-
*
|
302 |
-
* @since 0.1
|
303 |
-
*/
|
304 |
-
|
305 |
-
function bctt_on_uninstall() {
|
306 |
-
|
307 |
-
delete_option( 'bctt-twitter-handle' );
|
308 |
-
|
309 |
-
delete_option( 'bctt-short-url' );
|
310 |
-
|
311 |
-
delete_option( 'bctt_disable_css' );
|
312 |
-
|
313 |
-
delete_option( 'bctt_style_enqueued' );
|
314 |
-
|
315 |
-
remove_shortcode( 'bctt' );
|
316 |
-
|
317 |
-
delete_metadata( 'user', 0, 'bctt_has_dismissed_nag', '', true );
|
318 |
-
|
319 |
-
|
320 |
-
}
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
register_uninstall_hook( __FILE__, 'bctt_on_uninstall' );
|
325 |
-
|
326 |
-
function bctt_options_link( $links ) {
|
327 |
-
|
328 |
-
$settingsText = sprintf( _x( 'Settings', 'text for the link on the plugins page', 'better-click-to-tweet' ) );
|
329 |
-
|
330 |
-
$settings_link = '<a href="admin.php?page=better-click-to-tweet">' . esc_html( $settingsText ) . '</a>';
|
331 |
-
|
332 |
-
array_unshift( $links, $settings_link );
|
333 |
-
|
334 |
-
return $links;
|
335 |
-
|
336 |
-
}
|
337 |
-
|
338 |
-
$bcttlink = plugin_basename( __FILE__ );
|
339 |
-
add_filter( "plugin_action_links_$bcttlink", 'bctt_options_link' );
|
340 |
-
|
341 |
-
/**
|
342 |
-
* Register Block
|
343 |
-
*/
|
344 |
-
add_action( 'plugins_loaded', function () {
|
345 |
-
if ( function_exists( 'register_block_type' ) ) {
|
346 |
-
require_once( plugin_dir_path( __FILE__ ) . 'assets/block/init.php' );
|
347 |
-
}
|
348 |
-
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/i18n-module.php
DELETED
@@ -1,280 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* This class defines a promo box and checks your translation site's API for stats about it, then shows them to the user.
|
5 |
-
*/
|
6 |
-
class bctt_i18n {
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Your translation site's logo
|
10 |
-
*
|
11 |
-
* @var string
|
12 |
-
*/
|
13 |
-
private $glotpress_logo;
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Your translation site's name
|
17 |
-
*
|
18 |
-
* @var string
|
19 |
-
*/
|
20 |
-
private $glotpress_name;
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Your translation site's URL
|
24 |
-
*
|
25 |
-
* @var string
|
26 |
-
*/
|
27 |
-
private $glotpress_url;
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Hook where you want to show the promo box
|
31 |
-
*
|
32 |
-
* @var string
|
33 |
-
*/
|
34 |
-
private $hook;
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Will contain the site's locale
|
38 |
-
*
|
39 |
-
* @access private
|
40 |
-
* @var string
|
41 |
-
*/
|
42 |
-
private $locale;
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Will contain the locale's name, obtained from yoru translation site
|
46 |
-
*
|
47 |
-
* @access private
|
48 |
-
* @var string
|
49 |
-
*/
|
50 |
-
private $locale_name;
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Will contain the percentage translated for the plugin translation project in the locale
|
54 |
-
*
|
55 |
-
* @access private
|
56 |
-
* @var int
|
57 |
-
*/
|
58 |
-
private $percent_translated;
|
59 |
-
|
60 |
-
/**
|
61 |
-
* Name of your plugin
|
62 |
-
*
|
63 |
-
* @var string
|
64 |
-
*/
|
65 |
-
private $plugin_name;
|
66 |
-
|
67 |
-
/**
|
68 |
-
* Project slug for the project on your translation site
|
69 |
-
*
|
70 |
-
* @var string
|
71 |
-
*/
|
72 |
-
private $project_slug;
|
73 |
-
|
74 |
-
/**
|
75 |
-
* URL to point to for registration links
|
76 |
-
*
|
77 |
-
* @var string
|
78 |
-
*/
|
79 |
-
private $register_url;
|
80 |
-
|
81 |
-
/**
|
82 |
-
* Your plugins textdomain
|
83 |
-
*
|
84 |
-
* @var string
|
85 |
-
*/
|
86 |
-
private $textdomain;
|
87 |
-
|
88 |
-
/**
|
89 |
-
* Indicates whether there's a translation available at all.
|
90 |
-
*
|
91 |
-
* @access private
|
92 |
-
* @var bool
|
93 |
-
*/
|
94 |
-
private $translation_exists;
|
95 |
-
|
96 |
-
/**
|
97 |
-
* Indicates whether the translation's loaded.
|
98 |
-
*
|
99 |
-
* @access private
|
100 |
-
* @var bool
|
101 |
-
*/
|
102 |
-
private $translation_loaded;
|
103 |
-
|
104 |
-
/**
|
105 |
-
* Class constructor
|
106 |
-
*
|
107 |
-
* @param array $args Contains the settings for the class.
|
108 |
-
*/
|
109 |
-
public function __construct( $args ) {
|
110 |
-
if ( ! is_admin() ) {
|
111 |
-
return;
|
112 |
-
}
|
113 |
-
|
114 |
-
$this->locale = get_locale();
|
115 |
-
if ( 'en_US' === $this->locale ) {
|
116 |
-
return;
|
117 |
-
}
|
118 |
-
|
119 |
-
$this->init( $args );
|
120 |
-
|
121 |
-
if ( ! $this->hide_promo() ) {
|
122 |
-
add_action( $this->hook, array( $this, 'promo' ) );
|
123 |
-
}
|
124 |
-
}
|
125 |
-
|
126 |
-
/**
|
127 |
-
* This is where you decide where to display the messages and where you set the plugin specific variables.
|
128 |
-
*
|
129 |
-
* @access private
|
130 |
-
*
|
131 |
-
* @param array $args
|
132 |
-
*/
|
133 |
-
private function init( $args ) {
|
134 |
-
foreach ( $args as $key => $arg ) {
|
135 |
-
$this->$key = $arg;
|
136 |
-
}
|
137 |
-
}
|
138 |
-
|
139 |
-
/**
|
140 |
-
* Check whether the promo should be hidden or not
|
141 |
-
*
|
142 |
-
* @access private
|
143 |
-
*
|
144 |
-
* @return bool
|
145 |
-
*/
|
146 |
-
private function hide_promo() {
|
147 |
-
$hide_promo = get_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide' );
|
148 |
-
if ( ! $hide_promo ) {
|
149 |
-
if ( filter_input( INPUT_GET, 'remove_i18n_promo', FILTER_VALIDATE_INT ) === 1 ) {
|
150 |
-
// No expiration time, so this would normally not expire, but it wouldn't be copied to other sites etc.
|
151 |
-
set_transient( 'yoast_i18n_' . $this->project_slug . '_promo_hide', true );
|
152 |
-
$hide_promo = true;
|
153 |
-
}
|
154 |
-
}
|
155 |
-
|
156 |
-
return $hide_promo;
|
157 |
-
}
|
158 |
-
|
159 |
-
/**
|
160 |
-
* Generates a promo message
|
161 |
-
*
|
162 |
-
* @access private
|
163 |
-
*
|
164 |
-
* @return bool|string $message
|
165 |
-
*/
|
166 |
-
private function promo_message() {
|
167 |
-
$message = false;
|
168 |
-
|
169 |
-
if ( $this->translation_exists && $this->translation_loaded && $this->percent_translated < 90 ) {
|
170 |
-
$message = __( 'As you can see, there is a translation of this plugin in %1$s. This translation is currently %3$d%% complete. We need your help to make it complete and to fix any errors. Please register at %4$s to help complete the translation to %1$s!', 'better-click-to-tweet' );
|
171 |
-
} else if ( ! $this->translation_loaded && $this->translation_exists ) {
|
172 |
-
$message = __( 'You\'re using WordPress in %1$s. While %2$s has been translated to %1$s for %3$d%%, it\'s not been shipped with the plugin yet. You can help! Register at %4$s to help complete the translation to %1$s!', 'better-click-to-tweet' );
|
173 |
-
} else if ( ! $this->translation_exists ) {
|
174 |
-
$message = __( 'You\'re using WordPress in a language we don\'t support yet. We\'d love for %2$s to be translated in that language too, but unfortunately, it isn\'t right now. You can change that! Register at %4$s to help translate it!', 'better-click-to-tweet' );
|
175 |
-
}
|
176 |
-
|
177 |
-
$registration_link = sprintf( '<a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/">%1$s</a>', esc_html( $this->glotpress_name ) );
|
178 |
-
$message = sprintf( $message, esc_html( $this->locale_name ), esc_html( $this->plugin_name ), $this->percent_translated, $registration_link );
|
179 |
-
|
180 |
-
return $message;
|
181 |
-
}
|
182 |
-
|
183 |
-
/**
|
184 |
-
* Outputs a promo box
|
185 |
-
*/
|
186 |
-
public function promo() {
|
187 |
-
$this->translation_details();
|
188 |
-
|
189 |
-
$message = $this->promo_message();
|
190 |
-
|
191 |
-
if ( $message ) {
|
192 |
-
echo '<div id="i18n_promo_box" style="border:1px solid #ccc;background-color:#fff;padding:1em 2em;max-width:100%;min-height:220px;">';
|
193 |
-
echo '<a href="' . esc_url( add_query_arg( array( 'remove_i18n_promo' => '1' ) ) ) . '" style="color:#333;text-decoration:none;font-weight:bold;font-size:16px;border:1px solid #ccc;padding:1px 4px;" class="alignright">X</a>';
|
194 |
-
if ( isset( $this->glotpress_logo ) && '' != $this->glotpress_logo ) {
|
195 |
-
echo '<a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/"><img style="float: right;margin: 15px 5px 5px 5px;padding: 0 1em;width: 200px;" src="' . esc_url( $this->glotpress_logo ) . '" alt="' . esc_attr( $this->glotpress_name ) . '"/></a>';
|
196 |
-
}
|
197 |
-
echo '<h2>' . sprintf( __( 'Translation of %s', 'better-click-to-tweet' ), esc_html( $this->plugin_name ) ) . '</h2>';
|
198 |
-
|
199 |
-
echo '<p>' . esc_html( $message ) . '</p>';
|
200 |
-
echo '<p><a href="https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet/">' . __( 'Register now »', 'better-click-to-tweet' ) . '</a></p>';
|
201 |
-
echo '</div>';
|
202 |
-
}
|
203 |
-
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
* Try to find the transient for the translation set or retrieve them.
|
207 |
-
*
|
208 |
-
* @access private
|
209 |
-
*
|
210 |
-
* @return object|null
|
211 |
-
*/
|
212 |
-
private function find_or_initialize_translation_details() {
|
213 |
-
$set = get_transient( 'yoast_i18n_' . $this->project_slug . '_' . $this->locale );
|
214 |
-
|
215 |
-
if ( ! $set ) {
|
216 |
-
$set = $this->retrieve_translation_details();
|
217 |
-
set_transient( 'yoast_i18n_' . $this->project_slug . '_' . $this->locale, $set, DAY_IN_SECONDS );
|
218 |
-
}
|
219 |
-
|
220 |
-
return $set;
|
221 |
-
}
|
222 |
-
|
223 |
-
/**
|
224 |
-
* Try to get translation details from cache, otherwise retrieve them, then parse them.
|
225 |
-
*
|
226 |
-
* @access private
|
227 |
-
*/
|
228 |
-
private function translation_details() {
|
229 |
-
$set = $this->find_or_initialize_translation_details();
|
230 |
-
|
231 |
-
$this->translation_exists = ! is_null( $set );
|
232 |
-
$this->translation_loaded = is_textdomain_loaded( 'better-click-to-tweet' );
|
233 |
-
|
234 |
-
$this->parse_translation_set( $set );
|
235 |
-
}
|
236 |
-
|
237 |
-
/**
|
238 |
-
* Retrieve the translation details from Yoast Translate
|
239 |
-
*
|
240 |
-
* @access private
|
241 |
-
*
|
242 |
-
* @return object|null
|
243 |
-
*/
|
244 |
-
private function retrieve_translation_details() {
|
245 |
-
$api_url = trailingslashit( $this->glotpress_url ) . 'api/projects/' . $this->project_slug;
|
246 |
-
|
247 |
-
$resp = wp_remote_get( $api_url );
|
248 |
-
$body = wp_remote_retrieve_body( $resp );
|
249 |
-
unset( $resp );
|
250 |
-
|
251 |
-
if ( $body ) {
|
252 |
-
$body = json_decode( $body );
|
253 |
-
foreach ( $body->translation_sets as $set ) {
|
254 |
-
if ( $this->locale == $set->wp_locale ) {
|
255 |
-
return $set;
|
256 |
-
}
|
257 |
-
}
|
258 |
-
}
|
259 |
-
|
260 |
-
return null;
|
261 |
-
}
|
262 |
-
|
263 |
-
/**
|
264 |
-
* Set the needed private variables based on the results from Yoast Translate
|
265 |
-
*
|
266 |
-
* @param object $set The translation set
|
267 |
-
*
|
268 |
-
* @access private
|
269 |
-
*/
|
270 |
-
private function parse_translation_set( $set ) {
|
271 |
-
if ( $this->translation_exists && is_object( $set ) ) {
|
272 |
-
$this->locale_name = $set->name;
|
273 |
-
$this->percent_translated = $set->percent_translated;
|
274 |
-
} else {
|
275 |
-
$this->locale_name = '';
|
276 |
-
$this->percent_translated = '';
|
277 |
-
}
|
278 |
-
}
|
279 |
-
|
280 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-de_DE.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-de_DE.po
DELETED
@@ -1,199 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Better Click To Tweet
|
2 |
-
# This file is distributed under the same license as the Better Click To Tweet package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Better Click To Tweet 4.0\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/better-click-to-"
|
7 |
-
"tweet\n"
|
8 |
-
"POT-Creation-Date: 2015-07-05 08:56+0200\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date: 2015-07-05 09:46+0200\n"
|
13 |
-
"Last-Translator: Christian Zumbrunnen <chzumbrunnen@gmx.ch>\n"
|
14 |
-
"Language-Team: \n"
|
15 |
-
"X-Generator: Poedit 1.8.2\n"
|
16 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
17 |
-
"Language: de_DE\n"
|
18 |
-
|
19 |
-
#: bctt_options.php:40
|
20 |
-
msgid "You do not have sufficient permissions to access this page."
|
21 |
-
msgstr ""
|
22 |
-
"Du hast nicht die erforderlichen Rechte, um auf diese Seite zuzugreifen."
|
23 |
-
|
24 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
25 |
-
#. it
|
26 |
-
#: bctt_options.php:45
|
27 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
28 |
-
msgstr "Better Click To Tweet — ein Plugin von Ben Meredith"
|
29 |
-
|
30 |
-
#: bctt_options.php:53
|
31 |
-
msgid "About the Author"
|
32 |
-
msgstr "Über den Autor"
|
33 |
-
|
34 |
-
#: bctt_options.php:57
|
35 |
-
msgid ""
|
36 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a "
|
37 |
-
"freelance developer specializing in <a href=\"%s\">outrunning and "
|
38 |
-
"outsmarting hackers</a>."
|
39 |
-
msgstr ""
|
40 |
-
"Dieses Plugin wurde vony <a href=\"%s\">Ben Meredith</a> entwickelt. Ich bin "
|
41 |
-
"ein Freelance Entwickler welcher sich darauf spezialisisert hat <a href=\"%s"
|
42 |
-
"\">Hacker zu übertreffen und überlisten</a>."
|
43 |
-
|
44 |
-
#: bctt_options.php:58
|
45 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
46 |
-
msgstr "Melde dich an um meinen kostenlosen Web Strategie Führer zu erhalten"
|
47 |
-
|
48 |
-
#: bctt_options.php:59
|
49 |
-
msgctxt "placeholder text for input field"
|
50 |
-
msgid "Your Email Address"
|
51 |
-
msgstr "Deine E-Mail Adresse"
|
52 |
-
|
53 |
-
#: bctt_options.php:60
|
54 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
55 |
-
msgstr "Kein Spam. Ein-Klick Abmeldung in jedem E-Mail."
|
56 |
-
|
57 |
-
#: bctt_options.php:74
|
58 |
-
msgid ""
|
59 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
60 |
-
"out the <a href=%s>plugin on Github.</a>"
|
61 |
-
msgstr ""
|
62 |
-
"Bist du ein Entwickler? Ich schätze deine Unterstützung beim Verbessern "
|
63 |
-
"dieses Plugins. Beachte dieses <a href=%s>Plugin auf Github.</a>"
|
64 |
-
|
65 |
-
#: bctt_options.php:75
|
66 |
-
msgid ""
|
67 |
-
"The best way you can support this and other plugins is to <a href=%s>donate</"
|
68 |
-
"a>"
|
69 |
-
msgstr ""
|
70 |
-
"Die beste Möglichkeit dieses und andere Plugins zu unterstützen, ist es zu "
|
71 |
-
"<a href=%s>spenden</a>"
|
72 |
-
|
73 |
-
#: bctt_options.php:75
|
74 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
75 |
-
msgstr ""
|
76 |
-
"Die zweitbeste Möglichkeit ist es <a href=%s>eine ehrliche Bewertung zu "
|
77 |
-
"hinterlassen.</a>"
|
78 |
-
|
79 |
-
#: bctt_options.php:76
|
80 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
81 |
-
msgstr ""
|
82 |
-
"Hat dir dieses Plugin genug Zeitersparnis gebracht, dass du dafür etwas "
|
83 |
-
"zahlen möchtest?"
|
84 |
-
|
85 |
-
#: bctt_options.php:77
|
86 |
-
msgid "Click here to buy me a Coke to say thanks."
|
87 |
-
msgstr "Klicke hier um mir eine Cola zu kaufen um Danke zu sagen."
|
88 |
-
|
89 |
-
#: bctt_options.php:87
|
90 |
-
msgid "Instructions"
|
91 |
-
msgstr "Anleitung"
|
92 |
-
|
93 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
94 |
-
#. it
|
95 |
-
#: bctt_options.php:88
|
96 |
-
msgid ""
|
97 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
98 |
-
"shortcode in your post."
|
99 |
-
msgstr ""
|
100 |
-
"Um gestylte Klick-To-Tweet Boxen zu verwenden, nutze den Better Click To "
|
101 |
-
"Tweet Kurzcode in deinem Beitrag."
|
102 |
-
|
103 |
-
#: bctt_options.php:89
|
104 |
-
msgid "Here's how you format the shortcode:"
|
105 |
-
msgstr "So kannst du den Kurzcode nutzen:"
|
106 |
-
|
107 |
-
#. translators: This text shows up as a sample tweet in the instructions for
|
108 |
-
#. how to use the plugin.
|
109 |
-
#: bctt_options.php:89
|
110 |
-
msgid "Meaningful, tweetable quote."
|
111 |
-
msgstr "Bedeutungsvolles, tweetbares Zitat."
|
112 |
-
|
113 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
114 |
-
#: bctt_options.php:90
|
115 |
-
msgid ""
|
116 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
117 |
-
"add a pre-formatted shortcode to your post."
|
118 |
-
msgstr ""
|
119 |
-
"Wenn du den Visuellen Editor nutzt, klicke auf das BCTT-Vögelchen in der "
|
120 |
-
"Werkzeugleiste um einen vorformatierten Kurzcode einzufügen."
|
121 |
-
|
122 |
-
#: bctt_options.php:91
|
123 |
-
msgid ""
|
124 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
125 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
126 |
-
msgstr ""
|
127 |
-
"Die Länge des Tweets wird automatisch auf 117 Zeichen minus der Länge deines "
|
128 |
-
"Twitter Namen gekürzt um Platz für den Text inklusive Link zum Beitrag zu "
|
129 |
-
"haben."
|
130 |
-
|
131 |
-
#: bctt_options.php:96
|
132 |
-
msgid "Settings"
|
133 |
-
msgstr "Einstellungen"
|
134 |
-
|
135 |
-
#: bctt_options.php:97
|
136 |
-
msgid ""
|
137 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
138 |
-
"include the @ symbol."
|
139 |
-
msgstr ""
|
140 |
-
"Gib deinen Twitter Namen ein um deinen Tweets ein “via @Twittername” "
|
141 |
-
"anzufügen. (Ohne @ Symbol)."
|
142 |
-
|
143 |
-
#: bctt_options.php:98
|
144 |
-
msgid ""
|
145 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
146 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
147 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
148 |
-
"services like bit.ly or yourls.org for tracking"
|
149 |
-
msgstr ""
|
150 |
-
"Ankreuzen der Checkbox bewirkt, dass anstelle der vollen URL der WordPress "
|
151 |
-
"Kurzlink angezeigt wird. Dies hat keine Auswirkung auf die Tweetlänge ist "
|
152 |
-
"aber nützlich im Zusammenspiel mit Diensten, wie bit.ly oder yourls.org "
|
153 |
-
"welche den Kurzlink zum Tracken verwenden."
|
154 |
-
|
155 |
-
#: bctt_options.php:104
|
156 |
-
msgctxt "label for text input on settings screen"
|
157 |
-
msgid "Your Twitter Handle"
|
158 |
-
msgstr "Dein Twitter Name"
|
159 |
-
|
160 |
-
#: bctt_options.php:107
|
161 |
-
msgctxt "label for checkbox on settings screen"
|
162 |
-
msgid "Use Short URL?"
|
163 |
-
msgstr "Kurzlink verwenden?"
|
164 |
-
|
165 |
-
#: bctt_options.php:112
|
166 |
-
msgid "Save Changes"
|
167 |
-
msgstr "Änderungen speichern"
|
168 |
-
|
169 |
-
#: bctt_options.php:114
|
170 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
171 |
-
msgstr "Ein Open Source Plugin von <a href=%s>Ben Meredith</a>"
|
172 |
-
|
173 |
-
#: better-click-to-tweet.php:138
|
174 |
-
msgctxt "Text for the box on the reader-facing box"
|
175 |
-
msgid "Click To Tweet"
|
176 |
-
msgstr "Klick um zu Tweeten"
|
177 |
-
|
178 |
-
#: better-click-to-tweet.php:209
|
179 |
-
msgctxt "text for the link on the plugins page"
|
180 |
-
msgid "Settings"
|
181 |
-
msgstr "Einstellungen"
|
182 |
-
|
183 |
-
#. Plugin Name of the plugin/theme
|
184 |
-
msgid "Better Click To Tweet"
|
185 |
-
msgstr "Better Click To Tweet"
|
186 |
-
|
187 |
-
#. Description of the plugin/theme
|
188 |
-
msgid ""
|
189 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
190 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
191 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
192 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
193 |
-
"BETTER."
|
194 |
-
msgstr ""
|
195 |
-
"Das einzige Klick-um-zu-tweeten Plugin mit Unterstützung für Übersetzung. "
|
196 |
-
"Das einzige Klick-um-zu-tweeten Plugin welches die Länge deines Twitter "
|
197 |
-
"Namens beim Kürzen von langen Tweets berücksichtigt sowie nicht-lateinische "
|
198 |
-
"Zeichen korrekt behandelt. Einfach gesagt, was Klick-um-zu-tweeten Plugins "
|
199 |
-
"betrifft ist dieses - nun BESSER."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-el.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-el.po
DELETED
@@ -1,230 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Better Click To Tweet\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-07-13 14:15-0400\n"
|
6 |
-
"PO-Revision-Date: Fri Oct 30 2015 21:42:46 GMT+0200 (GTB Standard Time)\n"
|
7 |
-
"Last-Translator: ΠΑΝΑΓΙΩΤΗΣ ΣΑΚΑΛΑΚΗΣ <meymigrou@outlook.com>\n"
|
8 |
-
"Language-Team: \n"
|
9 |
-
"Language: Greek\n"
|
10 |
-
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
11 |
-
"MIME-Version: 1.0\n"
|
12 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
-
"Content-Transfer-Encoding: 8bit\n"
|
14 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Generator: Loco - https://localise.biz/\n"
|
16 |
-
"X-Poedit-Basepath: ..\n"
|
17 |
-
"X-Poedit-WPHeader: better-click-to-tweet.php\n"
|
18 |
-
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
|
19 |
-
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
20 |
-
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
21 |
-
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
22 |
-
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
23 |
-
"X-Poedit-SearchPath-0: .\n"
|
24 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
-
"X-Loco-Target-Locale: el_GR"
|
26 |
-
|
27 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:12
|
28 |
-
msgctxt "Text that shows on mouseover for visual editor button"
|
29 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
30 |
-
msgstr "Δημιουργία Shortcode"
|
31 |
-
|
32 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:13
|
33 |
-
msgctxt ""
|
34 |
-
"Text for title of the popup box when creating tweetable quote in the visual "
|
35 |
-
"editor"
|
36 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
37 |
-
msgstr "Δημιουργία Shortcode"
|
38 |
-
|
39 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:14
|
40 |
-
msgctxt "Text for label on input box on popup box in visual editor"
|
41 |
-
msgid "Tweetable Quote"
|
42 |
-
msgstr "Tweetable Quote"
|
43 |
-
|
44 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:15
|
45 |
-
msgctxt "Text explaining the checkbox on the visual editor"
|
46 |
-
msgid "Add via @YourTwitterName to this tweet"
|
47 |
-
msgstr "Πρόσθεσε το 'via @ΤοTwitterΌνομαΣου' σε αυτό το tweet"
|
48 |
-
|
49 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:16
|
50 |
-
msgctxt "Checkbox label in visual editor"
|
51 |
-
msgid "Include via?"
|
52 |
-
msgstr "Προσθήκη του 'via';"
|
53 |
-
|
54 |
-
#: bctt_options.php:40
|
55 |
-
msgid "You do not have sufficient permissions to access this page."
|
56 |
-
msgstr "Δεν έχετε επαρκή δικαιώματα για να δείτε αυτή τη σελίδα."
|
57 |
-
|
58 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
59 |
-
#: bctt_options.php:45
|
60 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
61 |
-
msgstr "Better Click To Tweet — Ένα πρόσθετο από τον Ben Meredith"
|
62 |
-
|
63 |
-
#: bctt_options.php:53
|
64 |
-
msgid "About the Author"
|
65 |
-
msgstr "Σχετικά με τον δημιουργό"
|
66 |
-
|
67 |
-
#: bctt_options.php:57
|
68 |
-
#, php-format
|
69 |
-
msgid ""
|
70 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a freelance "
|
71 |
-
"developer specializing in <a href=\"%s\">outrunning and outsmarting "
|
72 |
-
"hackers</a>."
|
73 |
-
msgstr ""
|
74 |
-
"Το πρόσθετο δημιουργήθηκε από τον <a href=\"%s\">Ben Meredith</a>. Είμαι "
|
75 |
-
"ελεύθερος επαγγελματίας προγραμματιστής που ειδικεύομαι στο να αποτρέπω και "
|
76 |
-
"να ξεγελώ hackers."
|
77 |
-
|
78 |
-
#: bctt_options.php:58
|
79 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
80 |
-
msgstr "Κάνε εγγραφή για να λάβεις ΔΩΡΕΑΝ τον οδηγό στρατηγικής μου"
|
81 |
-
|
82 |
-
#: bctt_options.php:59
|
83 |
-
msgctxt "placeholder text for input field"
|
84 |
-
msgid "Your Email Address"
|
85 |
-
msgstr "Το e-mail σας"
|
86 |
-
|
87 |
-
#: bctt_options.php:60
|
88 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
89 |
-
msgstr "Χωρίς spam. Μπορείτε να καταργήσετε την εγγραφή σας όποτε θέλετε."
|
90 |
-
|
91 |
-
#: bctt_options.php:74
|
92 |
-
#, php-format
|
93 |
-
msgid ""
|
94 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
95 |
-
"out the <a href=%s>plugin on Github.</a>"
|
96 |
-
msgstr ""
|
97 |
-
"Είσαι προγραμματιστής; Θα ήθελα την βοήθεια σου για να κάνω αυτό το πρόσθετο "
|
98 |
-
"ακόμη καλύτερο. Δες το <a href=%s>πρόσθετο στο Github.</a>"
|
99 |
-
|
100 |
-
#: bctt_options.php:75
|
101 |
-
#, php-format
|
102 |
-
msgid ""
|
103 |
-
"The best way you can support this and other plugins is to <a "
|
104 |
-
"href=%s>donate</a>"
|
105 |
-
msgstr ""
|
106 |
-
"Ο καλύτερος τρόπος για να υποστηρίξεις αυτό το πρόσθετο ή άλλα είναι να <a "
|
107 |
-
"href=%s>δωρίσεις (donate).</a>"
|
108 |
-
|
109 |
-
#: bctt_options.php:75
|
110 |
-
#, php-format
|
111 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
112 |
-
msgstr "Ο δεύτερος καλύτερος τρόπος είναι να γράψεις μια ειλικρινή αξιολόγηση."
|
113 |
-
|
114 |
-
#: bctt_options.php:76
|
115 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
116 |
-
msgstr "Μήπως σε βοήθησε αυτό το πρόσθετο να γλυτώσεις χρόνο και χρήματα;"
|
117 |
-
|
118 |
-
#: bctt_options.php:77
|
119 |
-
msgid "Click here to buy me a Coke to say thanks."
|
120 |
-
msgstr "Κάνε κλικ εδώ και κέρνα με ένα καφέ για ευχαριστώ."
|
121 |
-
|
122 |
-
#: bctt_options.php:87
|
123 |
-
msgid "Instructions"
|
124 |
-
msgstr "Οδηγίες"
|
125 |
-
|
126 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
127 |
-
#: bctt_options.php:88
|
128 |
-
msgid ""
|
129 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
130 |
-
"shortcode in your post."
|
131 |
-
msgstr ""
|
132 |
-
"Για να προσθέσεις ένα click-to-tweet quote σε κάποιο άρθρο σου, απλά "
|
133 |
-
"χρησιμοποίησε τα shortcodes από τη γραμμή εργαλειών του WordPress."
|
134 |
-
|
135 |
-
#: bctt_options.php:89
|
136 |
-
msgid "Here's how you format the shortcode:"
|
137 |
-
msgstr "Το shortcode μοιάζει με το παρακάτω, απλά άλλαξε τις λέξεις:"
|
138 |
-
|
139 |
-
#. translators: This text shows up as a sample tweet in the instructions for how to use the plugin.
|
140 |
-
#: bctt_options.php:89
|
141 |
-
msgid "Meaningful, tweetable quote."
|
142 |
-
msgstr "Αυτό είναι ένα έξυπνο tweet έτοιμο για δημοσίευση."
|
143 |
-
|
144 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
145 |
-
#: bctt_options.php:90
|
146 |
-
msgid ""
|
147 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
148 |
-
"add a pre-formatted shortcode to your post."
|
149 |
-
msgstr ""
|
150 |
-
"Αν χρησιμοποιείς το visual editor, κάνε κλικ στο BCTT πουλάκι στη γραμμή "
|
151 |
-
"εργαλειών για να προσθέσεις προ-διαμορφωμένα shortcodes στα άρθρα σου."
|
152 |
-
|
153 |
-
#: bctt_options.php:91
|
154 |
-
msgid ""
|
155 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
156 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
157 |
-
msgstr ""
|
158 |
-
"Οι λέξεις του tweet μειώνονται αυτόματα στους 117 χαρακτήρες λόγο προσθήκης "
|
159 |
-
"του Twitter ονόματος σας."
|
160 |
-
|
161 |
-
#: bctt_options.php:96
|
162 |
-
msgid "Settings"
|
163 |
-
msgstr "Ρυθμίσεις"
|
164 |
-
|
165 |
-
#: bctt_options.php:97
|
166 |
-
msgid ""
|
167 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
168 |
-
"include the @ symbol."
|
169 |
-
msgstr ""
|
170 |
-
"Πρόσθεσε το Twitter όνομα σου για να εμφανίζεται στα tweets. Μην προσθέσεις "
|
171 |
-
"το @, μόνο το όνομα."
|
172 |
-
|
173 |
-
#: bctt_options.php:98
|
174 |
-
msgid ""
|
175 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
176 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
177 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
178 |
-
"services like bit.ly or yourls.org for tracking"
|
179 |
-
msgstr ""
|
180 |
-
"Ελέγχοντας το παρακάτω πλαίσιο, θα αναγκάσεις το πρόσθετο να αλλάξει τους "
|
181 |
-
"συνδέσμους σε σύντομους συνδέσμους (shortlinks) του WordPress. Ενώ αυτό δεν "
|
182 |
-
"θα επηρεάσει τη μείωση των χαρακτήρων στα tweets, είναι αρκετά χρήσιμο αν "
|
183 |
-
"χρησιμοποιείτε άλλα πρόσθετα που συντομεύουν τους συνδέσμους σας, για "
|
184 |
-
"παράδειγμα όπως το bit.ly ή το yourls.org."
|
185 |
-
|
186 |
-
#: bctt_options.php:104
|
187 |
-
msgctxt "label for text input on settings screen"
|
188 |
-
msgid "Your Twitter Handle"
|
189 |
-
msgstr "Το Twitter όνομα σας"
|
190 |
-
|
191 |
-
#: bctt_options.php:107
|
192 |
-
msgctxt "label for checkbox on settings screen"
|
193 |
-
msgid "Use Short URL?"
|
194 |
-
msgstr "Θέλεις να χρησιμοποιήσεις συντομευμένους συνδέσμους;"
|
195 |
-
|
196 |
-
#: bctt_options.php:112
|
197 |
-
msgid "Save Changes"
|
198 |
-
msgstr "Αποθήκευση αλλαγών"
|
199 |
-
|
200 |
-
#: bctt_options.php:114
|
201 |
-
#, php-format
|
202 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
203 |
-
msgstr "Ένα open source πρόσθετο από τον <a href=%s>Ben Meredith</a>"
|
204 |
-
|
205 |
-
#: better-click-to-tweet.php:142
|
206 |
-
msgctxt "Text for the box on the reader-facing box"
|
207 |
-
msgid "Click To Tweet"
|
208 |
-
msgstr "Κλικ για tweet"
|
209 |
-
|
210 |
-
#: better-click-to-tweet.php:231
|
211 |
-
msgctxt "text for the link on the plugins page"
|
212 |
-
msgid "Settings"
|
213 |
-
msgstr "Ρυθμίσεις"
|
214 |
-
|
215 |
-
#. Plugin Name of the plugin/theme
|
216 |
-
msgid "Better Click To Tweet"
|
217 |
-
msgstr "Better Click To Tweet"
|
218 |
-
|
219 |
-
#. Description of the plugin/theme
|
220 |
-
msgid ""
|
221 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
222 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
223 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
224 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
225 |
-
"BETTER."
|
226 |
-
msgstr ""
|
227 |
-
"Το μοναδικό Click To Tweet πρόσθετο που είναι μεταφρασμένο. Το μοναδικό "
|
228 |
-
"Click To Tweet πρόσθετο το οποίο σου επιτρέπει να χρησιμοποιήσεις όλους τους "
|
229 |
-
"χαρακτήρες στα tweets, ή να γράφεις με λατινικούς χαρακτήρες. Με λίγα λόγια, "
|
230 |
-
"αυτό είναι το καλύτερο Click To Tweet πρόσθετο."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-es_ES.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-es_ES.po
DELETED
@@ -1,234 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Better Click To Tweet\n"
|
4 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/better-click-to-"
|
5 |
-
"tweet\n"
|
6 |
-
"POT-Creation-Date: 2015-07-13 14:15-0400\n"
|
7 |
-
"PO-Revision-Date: Tue Jul 14 2015 11:46:56 GMT-0400 (EDT)\n"
|
8 |
-
"Last-Translator: admin <ben@benandjacq.com>\n"
|
9 |
-
"Language-Team: \n"
|
10 |
-
"Language: Spanish (Spain)\n"
|
11 |
-
"Plural-Forms: nplurals=2; plural=n != 1\n"
|
12 |
-
"MIME-Version: 1.0\n"
|
13 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
-
"Content-Transfer-Encoding: 8bit\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Generator: Loco - https://localise.biz/\n"
|
17 |
-
"X-Poedit-Basepath: .\n"
|
18 |
-
"X-Poedit-SearchPath-0: ..\n"
|
19 |
-
"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
|
20 |
-
"__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
21 |
-
"_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
|
22 |
-
"esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
|
23 |
-
"esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
|
24 |
-
"X-Loco-Target-Locale: es_ES"
|
25 |
-
|
26 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:12
|
27 |
-
msgctxt "Text that shows on mouseover for visual editor button"
|
28 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
29 |
-
msgstr "Generador del Shortcode Better Click To Tweet"
|
30 |
-
|
31 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:13
|
32 |
-
msgctxt ""
|
33 |
-
"Text for title of the popup box when creating tweetable quote in the visual "
|
34 |
-
"editor"
|
35 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
36 |
-
msgstr "Generador del Shortcode Better Click To Tweet"
|
37 |
-
|
38 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:14
|
39 |
-
msgctxt "Text for label on input box on popup box in visual editor"
|
40 |
-
msgid "Tweetable Quote"
|
41 |
-
msgstr "Algo significativo para Twittear"
|
42 |
-
|
43 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:15
|
44 |
-
msgctxt "Text explaining the checkbox on the visual editor"
|
45 |
-
msgid "Add via @YourTwitterName to this tweet"
|
46 |
-
msgstr "Agrega via @NombreIdentificador en este tweet."
|
47 |
-
|
48 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:16
|
49 |
-
msgctxt "Checkbox label in visual editor"
|
50 |
-
msgid "Include via?"
|
51 |
-
msgstr "¿Incluye via @NombreIdentificador?"
|
52 |
-
|
53 |
-
#: bctt_options.php:40
|
54 |
-
msgid "You do not have sufficient permissions to access this page."
|
55 |
-
msgstr "Usted no tiene los permisos necesarios para acceder a esta página."
|
56 |
-
|
57 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
58 |
-
#. it
|
59 |
-
#: bctt_options.php:45
|
60 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
61 |
-
msgstr "Better Click To Tweet — un plugin por Ben Meredith"
|
62 |
-
|
63 |
-
#: bctt_options.php:53
|
64 |
-
msgid "About the Author"
|
65 |
-
msgstr "Sobre el autor"
|
66 |
-
|
67 |
-
#: bctt_options.php:57
|
68 |
-
#, php-format
|
69 |
-
msgid ""
|
70 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a freelance "
|
71 |
-
"developer specializing in <a href=\"%s\">outrunning and outsmarting "
|
72 |
-
"hackers</a>."
|
73 |
-
msgstr ""
|
74 |
-
"Este plugin es desarrollado por <a href=\"%s\">Ben Meredith</a>. Soy un "
|
75 |
-
"desarrollador freelance especializada en <a href=\"%s\">vencer y engañando a "
|
76 |
-
"los hackers</a>."
|
77 |
-
|
78 |
-
#: bctt_options.php:58
|
79 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
80 |
-
msgstr "Regístrese para recibir a mi guía de estrategia web gratis (Solamente Inglés)"
|
81 |
-
|
82 |
-
#: bctt_options.php:59
|
83 |
-
msgctxt "placeholder text for input field"
|
84 |
-
msgid "Your Email Address"
|
85 |
-
msgstr "Su dirección email"
|
86 |
-
|
87 |
-
#: bctt_options.php:60
|
88 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
89 |
-
msgstr "No Spam. Darse de baja de un clic en cada mensaje"
|
90 |
-
|
91 |
-
#: bctt_options.php:74
|
92 |
-
#, php-format
|
93 |
-
msgid ""
|
94 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
95 |
-
"out the <a href=%s>plugin on Github.</a>"
|
96 |
-
msgstr ""
|
97 |
-
"¿Eres desarrollador? Me encantaría su ayuda para hacer mejor este plugin. "
|
98 |
-
"Echa un vistazo al <a href=%s>plugin en Github.</a>"
|
99 |
-
|
100 |
-
#: bctt_options.php:75
|
101 |
-
#, php-format
|
102 |
-
msgid ""
|
103 |
-
"The best way you can support this and other plugins is to <a "
|
104 |
-
"href=%s>donate</a>"
|
105 |
-
msgstr ""
|
106 |
-
"La mejor manera en que usted puede apoyar este y otros plugins es <a "
|
107 |
-
"href=%s>donar</a>"
|
108 |
-
|
109 |
-
#: bctt_options.php:75
|
110 |
-
#, php-format
|
111 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
112 |
-
msgstr "La segunda mejor manera es <a href=%s>dejar una revisión honesta.</a>"
|
113 |
-
|
114 |
-
#: bctt_options.php:76
|
115 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
116 |
-
msgstr "¿Este plugin le ahorra suficiente tiempo para valer algo de dinero?"
|
117 |
-
|
118 |
-
#: bctt_options.php:77
|
119 |
-
msgid "Click here to buy me a Coke to say thanks."
|
120 |
-
msgstr "Haga clic aquí y compre una Coca-Cola para decir gracias."
|
121 |
-
|
122 |
-
#: bctt_options.php:87
|
123 |
-
msgid "Instructions"
|
124 |
-
msgstr "Instrucciones"
|
125 |
-
|
126 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
127 |
-
#. it
|
128 |
-
#: bctt_options.php:88
|
129 |
-
msgid ""
|
130 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
131 |
-
"shortcode in your post."
|
132 |
-
msgstr ""
|
133 |
-
"Para añadir casillas de texto de estilo \"click to tweet\" incluya el "
|
134 |
-
"shortcode \"Better Click To Tweet\" en su mensaje."
|
135 |
-
|
136 |
-
#: bctt_options.php:89
|
137 |
-
msgid "Here's how you format the shortcode:"
|
138 |
-
msgstr "Aquí está cómo formatear el shortcode:"
|
139 |
-
|
140 |
-
#. translators: This text shows up as a sample tweet in the instructions for
|
141 |
-
#. how to use the plugin.
|
142 |
-
#: bctt_options.php:89
|
143 |
-
msgid "Meaningful, tweetable quote."
|
144 |
-
msgstr "Algo significativo para Twittear."
|
145 |
-
|
146 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
147 |
-
#: bctt_options.php:90
|
148 |
-
msgid ""
|
149 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
150 |
-
"add a pre-formatted shortcode to your post."
|
151 |
-
msgstr ""
|
152 |
-
"Si está utilizando el editor visual, haga clic en el pajarito BCTT en la "
|
153 |
-
"barra de herramientas para añadir un shortcode formateado previamente a su "
|
154 |
-
"mensaje."
|
155 |
-
|
156 |
-
#: bctt_options.php:91
|
157 |
-
msgid ""
|
158 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
159 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
160 |
-
msgstr ""
|
161 |
-
"La longitud del tweet se acortará automáticamente a 117 caracteres menos la "
|
162 |
-
"longitud de su nombre de Twitter, para dejar espacio para ella y un enlace "
|
163 |
-
"de vuelta al tweet."
|
164 |
-
|
165 |
-
#: bctt_options.php:96
|
166 |
-
msgid "Settings"
|
167 |
-
msgstr "Ajustes"
|
168 |
-
|
169 |
-
#: bctt_options.php:97
|
170 |
-
msgid ""
|
171 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
172 |
-
"include the @ symbol."
|
173 |
-
msgstr ""
|
174 |
-
"Ingrese su nombre identificador de Twitter para agregar \"via "
|
175 |
-
"@nombreIdentificador\" a sus tweets. No incluya el símbolo @."
|
176 |
-
|
177 |
-
#: bctt_options.php:98
|
178 |
-
msgid ""
|
179 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
180 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
181 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
182 |
-
"services like bit.ly or yourls.org for tracking"
|
183 |
-
msgstr ""
|
184 |
-
"Marca la casilla siguiente para mostrar la shortlink WordPress en lugar de "
|
185 |
-
"la dirección URL completa. Mientras que esto no afecte la longitud de tweet, "
|
186 |
-
"es útil junto con plugins que personalizar el shortlink WordPress usando "
|
187 |
-
"servicios como bit.ly o yourls.org para el seguimiento"
|
188 |
-
|
189 |
-
#: bctt_options.php:104
|
190 |
-
msgctxt "label for text input on settings screen"
|
191 |
-
msgid "Your Twitter Handle"
|
192 |
-
msgstr "Su Identificador de Twitter"
|
193 |
-
|
194 |
-
#: bctt_options.php:107
|
195 |
-
msgctxt "label for checkbox on settings screen"
|
196 |
-
msgid "Use Short URL?"
|
197 |
-
msgstr "¿Usa URL corta?"
|
198 |
-
|
199 |
-
#: bctt_options.php:112
|
200 |
-
msgid "Save Changes"
|
201 |
-
msgstr "Guardar cambios"
|
202 |
-
|
203 |
-
#: bctt_options.php:114
|
204 |
-
#, php-format
|
205 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
206 |
-
msgstr "Un plugin de código abierto por <a href=%s>Ben Meredith</a>"
|
207 |
-
|
208 |
-
#: better-click-to-tweet.php:142
|
209 |
-
msgctxt "Text for the box on the reader-facing box"
|
210 |
-
msgid "Click To Tweet"
|
211 |
-
msgstr "Click Para Twittear"
|
212 |
-
|
213 |
-
#: better-click-to-tweet.php:231
|
214 |
-
msgctxt "text for the link on the plugins page"
|
215 |
-
msgid "Settings"
|
216 |
-
msgstr "Ajustes"
|
217 |
-
|
218 |
-
#. Plugin Name of the plugin/theme
|
219 |
-
msgid "Better Click To Tweet"
|
220 |
-
msgstr "Better Click To Tweet"
|
221 |
-
|
222 |
-
#. Description of the plugin/theme
|
223 |
-
msgid ""
|
224 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
225 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
226 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
227 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
228 |
-
"BETTER."
|
229 |
-
msgstr ""
|
230 |
-
"El único clic a Tweet plugin para agregar compatibilidad con traducción. El "
|
231 |
-
"plugin Click a Tweet sólo tome en cuenta la longitud de su nombre de usuario "
|
232 |
-
"Twitter en truncar largos tweets, o tomar en caracteres no romanos cuenta "
|
233 |
-
"correctamente. En pocas palabras, como haga clic para Tweet plugins, ésta es,"
|
234 |
-
" bueno, mejor."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-fi.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-fi.po
DELETED
@@ -1,226 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Better Click To Tweet\n"
|
4 |
-
"POT-Creation-Date: 2015-07-14 09:18+0300\n"
|
5 |
-
"PO-Revision-Date: 2015-07-14 09:26+0300\n"
|
6 |
-
"Last-Translator: \n"
|
7 |
-
"Language-Team: \n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.8.2\n"
|
12 |
-
"X-Poedit-Basepath: ..\n"
|
13 |
-
"X-Poedit-WPHeader: better-click-to-tweet.php\n"
|
14 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
-
"Language: fi_FI\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
-
|
23 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:12
|
24 |
-
msgctxt "Text that shows on mouseover for visual editor button"
|
25 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
26 |
-
msgstr "Parempi Klikkaa ja Twiittaa - Lyhytkoodigeneraattori"
|
27 |
-
|
28 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:13
|
29 |
-
msgctxt ""
|
30 |
-
"Text for title of the popup box when creating tweetable quote in the visual "
|
31 |
-
"editor"
|
32 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
33 |
-
msgstr "Parempi Klikkaa ja Twiittaa - Lyhytkoodigeneraattori"
|
34 |
-
|
35 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:14
|
36 |
-
msgctxt "Text for label on input box on popup box in visual editor"
|
37 |
-
msgid "Tweetable Quote"
|
38 |
-
msgstr "Tärkeä, twiitin arvoinen lainaus tekstistäsi"
|
39 |
-
|
40 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:15
|
41 |
-
msgctxt "Text explaining the checkbox on the visual editor"
|
42 |
-
msgid "Add via @YourTwitterName to this tweet"
|
43 |
-
msgstr "lisää “via @SinunTwitterHandle” twiittiin"
|
44 |
-
|
45 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:16
|
46 |
-
msgctxt "Checkbox label in visual editor"
|
47 |
-
msgid "Include via?"
|
48 |
-
msgstr "Lisätäänkö “via @SinunTwitterHandle” twiittiin"
|
49 |
-
|
50 |
-
#: bctt_options.php:40
|
51 |
-
msgid "You do not have sufficient permissions to access this page."
|
52 |
-
msgstr "Sinulla ei ole tarvittavia oikeuksia tälle sivulle."
|
53 |
-
|
54 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
55 |
-
#: bctt_options.php:45
|
56 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
57 |
-
msgstr "Better Click To Tweet - Lisäosan tekijä: Ben Meredith"
|
58 |
-
|
59 |
-
#: bctt_options.php:53
|
60 |
-
msgid "About the Author"
|
61 |
-
msgstr "Lisätietoa tekijästä"
|
62 |
-
|
63 |
-
#: bctt_options.php:57
|
64 |
-
#, php-format
|
65 |
-
msgid ""
|
66 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a "
|
67 |
-
"freelance developer specializing in <a href=\"%s\">outrunning and "
|
68 |
-
"outsmarting hackers</a>."
|
69 |
-
msgstr ""
|
70 |
-
"Tämän lisäosan on kehittänyt <a href=“%s”>Ben Meredith</a>. Olen freelancer "
|
71 |
-
"kehittäjä joka on erikoistunut olemaan<a href=“%s”>nopeampi ja älykkäämpi "
|
72 |
-
"kuin hakkerit</a>."
|
73 |
-
|
74 |
-
#: bctt_options.php:58
|
75 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
76 |
-
msgstr "Tilaa tästä ILMAINEN verkkostrategiaoppaani"
|
77 |
-
|
78 |
-
#: bctt_options.php:59
|
79 |
-
msgctxt "placeholder text for input field"
|
80 |
-
msgid "Your Email Address"
|
81 |
-
msgstr "Sähköpostiosoitteesi"
|
82 |
-
|
83 |
-
#: bctt_options.php:60
|
84 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
85 |
-
msgstr "Ei Spammia. Voit lopettaa tilauksen yhdellä hiiren klikkauksella"
|
86 |
-
|
87 |
-
#: bctt_options.php:74
|
88 |
-
#, php-format
|
89 |
-
msgid ""
|
90 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
91 |
-
"out the <a href=%s>plugin on Github.</a>"
|
92 |
-
msgstr ""
|
93 |
-
"Oletko kehittäjä? Olisi hienoa jos voisit ottaa osaa tämän lisäosan "
|
94 |
-
"jatkokehitykseen. Käy katsomassa lisäosan tiedot <a href=%s>GitHub:sta.</a>"
|
95 |
-
|
96 |
-
#: bctt_options.php:75
|
97 |
-
#, php-format
|
98 |
-
msgid ""
|
99 |
-
"The best way you can support this and other plugins is to <a href=%s>donate</"
|
100 |
-
"a>"
|
101 |
-
msgstr ""
|
102 |
-
"Paras tapa osoittaa kiitollisuutta lisäosalle on <a href=%s>lahjoittaa</a>"
|
103 |
-
|
104 |
-
#: bctt_options.php:75
|
105 |
-
#, php-format
|
106 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
107 |
-
msgstr "Toiseksi paras tapa on <a href=%s>jättää rehellinen arvostelu</a>"
|
108 |
-
|
109 |
-
#: bctt_options.php:76
|
110 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
111 |
-
msgstr "Auttoiko tämä lisäosa säästämään tarpeeksi aikaa lahjoittaaksesi?"
|
112 |
-
|
113 |
-
#: bctt_options.php:77
|
114 |
-
msgid "Click here to buy me a Coke to say thanks."
|
115 |
-
msgstr "Klikkaa tästä tarjotaksesi minulle kokiksen kiitokseksi."
|
116 |
-
|
117 |
-
#: bctt_options.php:87
|
118 |
-
msgid "Instructions"
|
119 |
-
msgstr "Ohjeet"
|
120 |
-
|
121 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
122 |
-
#: bctt_options.php:88
|
123 |
-
msgid ""
|
124 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
125 |
-
"shortcode in your post."
|
126 |
-
msgstr ""
|
127 |
-
"Lisätäksesi click-to-tweet lainauslaatikon sisällytä Klikkaa ja Twiittaa "
|
128 |
-
"lyhytkoodi tekstiisi."
|
129 |
-
|
130 |
-
#: bctt_options.php:89
|
131 |
-
msgid "Here's how you format the shortcode:"
|
132 |
-
msgstr "Näin muokaat lyhytkoodia:"
|
133 |
-
|
134 |
-
#. translators: This text shows up as a sample tweet in the instructions for how to use the plugin.
|
135 |
-
#: bctt_options.php:89
|
136 |
-
msgid "Meaningful, tweetable quote."
|
137 |
-
msgstr "Tärkeä, twiitin arvoinen lainaus tekstistäsi"
|
138 |
-
|
139 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
140 |
-
#: bctt_options.php:90
|
141 |
-
msgid ""
|
142 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
143 |
-
"add a pre-formatted shortcode to your post."
|
144 |
-
msgstr ""
|
145 |
-
"Jos käytät visuaalista tekstieditoria, klikkaa BCTT-lintua työkalurivillä "
|
146 |
-
"lisätäksesi valmiiksi muotoillun lyhtykoodin tekstiisi."
|
147 |
-
|
148 |
-
#: bctt_options.php:91
|
149 |
-
msgid ""
|
150 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
151 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
152 |
-
msgstr ""
|
153 |
-
"Twiitti on automaattisesti lyhennetty 117 merkkiin miinus Twitter-tunnuksesi "
|
154 |
-
"pituus. Tämä jättää tilaa Twitter tunnuksellesi kuten myös linkille takaisin "
|
155 |
-
"tekstiisi."
|
156 |
-
|
157 |
-
#: bctt_options.php:96
|
158 |
-
msgid "Settings"
|
159 |
-
msgstr "Asetukset"
|
160 |
-
|
161 |
-
#: bctt_options.php:97
|
162 |
-
msgid ""
|
163 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
164 |
-
"include the @ symbol."
|
165 |
-
msgstr ""
|
166 |
-
"Syötä Twitter-tunnuksesi lisätäksesi “via @SinunTwitterHandle” twiittiisi. "
|
167 |
-
"Älä lisää @ merkkiä."
|
168 |
-
|
169 |
-
#: bctt_options.php:98
|
170 |
-
msgid ""
|
171 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
172 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
173 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
174 |
-
"services like bit.ly or yourls.org for tracking"
|
175 |
-
msgstr ""
|
176 |
-
"Allaolevan laatikon merkkaamalla lisäosa pakottaa twiittiin lyhytlinkin "
|
177 |
-
"kokonaisen URL:n sijasta. Vaikka tämä ei vaikuta merkkimäärään, on se "
|
178 |
-
"käytännölinen ominaisuus sellaisten lisäosien kanssa, jotka käyttävät "
|
179 |
-
"palveluja kuten bit.ly tai yourls.org analytiikkaan"
|
180 |
-
|
181 |
-
#: bctt_options.php:104
|
182 |
-
msgctxt "label for text input on settings screen"
|
183 |
-
msgid "Your Twitter Handle"
|
184 |
-
msgstr "Twitter-tunnuksesi"
|
185 |
-
|
186 |
-
#: bctt_options.php:107
|
187 |
-
msgctxt "label for checkbox on settings screen"
|
188 |
-
msgid "Use Short URL?"
|
189 |
-
msgstr "Käytä lyhyttä URL-osoitetta?"
|
190 |
-
|
191 |
-
#: bctt_options.php:112
|
192 |
-
msgid "Save Changes"
|
193 |
-
msgstr "Tallenna muutokset"
|
194 |
-
|
195 |
-
#: bctt_options.php:114
|
196 |
-
#, php-format
|
197 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
198 |
-
msgstr "Avoimen lähdekoodin lisäosa. Tekijä: <a href=%s>Ben Meredith</a>"
|
199 |
-
|
200 |
-
#: better-click-to-tweet.php:142
|
201 |
-
msgctxt "Text for the box on the reader-facing box"
|
202 |
-
msgid "Click To Tweet"
|
203 |
-
msgstr "Klikkaa ja Twiittaa"
|
204 |
-
|
205 |
-
#: better-click-to-tweet.php:231
|
206 |
-
msgctxt "text for the link on the plugins page"
|
207 |
-
msgid "Settings"
|
208 |
-
msgstr "Asetukset"
|
209 |
-
|
210 |
-
#. Plugin Name of the plugin/theme
|
211 |
-
msgid "Better Click To Tweet"
|
212 |
-
msgstr "Parempi Klikkaa ja Twiittaa"
|
213 |
-
|
214 |
-
#. Description of the plugin/theme
|
215 |
-
msgid ""
|
216 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
217 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
218 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
219 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
220 |
-
"BETTER."
|
221 |
-
msgstr ""
|
222 |
-
"Ainoa Klikkaa ja Twiittaa-lisäosa joka tarjoaa käännöksen tuen. Ainoa "
|
223 |
-
"Klikkaa ja Twiittaa-lisäosa joka ottaa huomioon sinun Twitter-tunnuksesi "
|
224 |
-
"pituuden pitkien twiittien katkaisussa, sekä ainoa lisäosa joka ottaa "
|
225 |
-
"huomioon ei-roomalaiset merkit. Yksinkertaisesti Klikkaa ja Twiittaa-"
|
226 |
-
"lisäosat huomioiden, PAREMPI."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-it_IT.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-it_IT.po
DELETED
@@ -1,230 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Better Click To Tweet\n"
|
4 |
-
"POT-Creation-Date: 2015-07-13 14:15-0400\n"
|
5 |
-
"PO-Revision-Date: 2015-07-24 10:54+0100\n"
|
6 |
-
"Last-Translator: Luca <barbi.luca@gmail.com>\n"
|
7 |
-
"Language-Team: MoweCode <info@mowecode.com>\n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.7.4\n"
|
12 |
-
"X-Poedit-Basepath: ..\n"
|
13 |
-
"X-Poedit-WPHeader: better-click-to-tweet.php\n"
|
14 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
16 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
19 |
-
"Language: it_IT\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
-
|
23 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:12
|
24 |
-
msgctxt "Text that shows on mouseover for visual editor button"
|
25 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
26 |
-
msgstr "Better Click To Tweet, generatore Shortcode"
|
27 |
-
|
28 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:13
|
29 |
-
msgctxt ""
|
30 |
-
"Text for title of the popup box when creating tweetable quote in the visual "
|
31 |
-
"editor"
|
32 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
33 |
-
msgstr "Better Click To Tweet, generatore Shortcode"
|
34 |
-
|
35 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:14
|
36 |
-
msgctxt "Text for label on input box on popup box in visual editor"
|
37 |
-
msgid "Tweetable Quote"
|
38 |
-
msgstr "Citazione tweettabile"
|
39 |
-
|
40 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:15
|
41 |
-
msgctxt "Text explaining the checkbox on the visual editor"
|
42 |
-
msgid "Add via @YourTwitterName to this tweet"
|
43 |
-
msgstr "Aggiungi via @NomeUtente a questo tweet"
|
44 |
-
|
45 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:16
|
46 |
-
msgctxt "Checkbox label in visual editor"
|
47 |
-
msgid "Include via?"
|
48 |
-
msgstr "Aggiungi via?"
|
49 |
-
|
50 |
-
#: bctt_options.php:40
|
51 |
-
msgid "You do not have sufficient permissions to access this page."
|
52 |
-
msgstr "Non hai permessi sufficienti per accedere a questa pagina."
|
53 |
-
|
54 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
55 |
-
#: bctt_options.php:45
|
56 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
57 |
-
msgstr "Better Click To Tweet — un plugin di Ben Meredith"
|
58 |
-
|
59 |
-
#: bctt_options.php:53
|
60 |
-
msgid "About the Author"
|
61 |
-
msgstr "Sull'autore"
|
62 |
-
|
63 |
-
#: bctt_options.php:57
|
64 |
-
#, php-format
|
65 |
-
msgid ""
|
66 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a "
|
67 |
-
"freelance developer specializing in <a href=\"%s\">outrunning and "
|
68 |
-
"outsmarting hackers</a>."
|
69 |
-
msgstr ""
|
70 |
-
"Questo plugin è stato sviluppato da <a href=\"%s\">Ben Meredith</a>. Sono "
|
71 |
-
"uno sviluppatore freelance specializzato in <a href=\"%s\">outrunning e "
|
72 |
-
"outsmarting hacker</a>."
|
73 |
-
|
74 |
-
#: bctt_options.php:58
|
75 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
76 |
-
msgstr "Iscriviti per ricevere la mia guida GRATUITA sulle strategie web."
|
77 |
-
|
78 |
-
#: bctt_options.php:59
|
79 |
-
msgctxt "placeholder text for input field"
|
80 |
-
msgid "Your Email Address"
|
81 |
-
msgstr "Il tuo indirizzo Email"
|
82 |
-
|
83 |
-
#: bctt_options.php:60
|
84 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
85 |
-
msgstr "Niente Spam. Potrai annullare l'iscrizione con un click da ogni mail."
|
86 |
-
|
87 |
-
#: bctt_options.php:74
|
88 |
-
#, php-format
|
89 |
-
msgid ""
|
90 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
91 |
-
"out the <a href=%s>plugin on Github.</a>"
|
92 |
-
msgstr ""
|
93 |
-
"Sei uno sviluppatore? Mi piacerebbe collaborare con te per rendere questo "
|
94 |
-
"plugin migliore. Guarda il <a href=%s>plugin su Github.</a>"
|
95 |
-
|
96 |
-
#: bctt_options.php:75
|
97 |
-
#, php-format
|
98 |
-
msgid ""
|
99 |
-
"The best way you can support this and other plugins is to <a href=%s>donate</"
|
100 |
-
"a>"
|
101 |
-
msgstr ""
|
102 |
-
"Il modo migliore per supportare questo e altri plugin è fare una <a href="
|
103 |
-
"%s>donazione</a>"
|
104 |
-
|
105 |
-
#: bctt_options.php:75
|
106 |
-
#, php-format
|
107 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
108 |
-
msgstr ""
|
109 |
-
"Il secondo modo migliore è <a href=%s>scrivere un'onesta recensione.</a>"
|
110 |
-
|
111 |
-
#: bctt_options.php:76
|
112 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
113 |
-
msgstr ""
|
114 |
-
"Questo plugin ti ha permesso di risparmiare abbastanza tempo da meritare una "
|
115 |
-
"piccola spesa?"
|
116 |
-
|
117 |
-
#: bctt_options.php:77
|
118 |
-
msgid "Click here to buy me a Coke to say thanks."
|
119 |
-
msgstr "Clicca qui per regalarmi una Coca Cola e dirmi grazie."
|
120 |
-
|
121 |
-
#: bctt_options.php:87
|
122 |
-
msgid "Instructions"
|
123 |
-
msgstr "Istruzioni"
|
124 |
-
|
125 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
126 |
-
#: bctt_options.php:88
|
127 |
-
msgid ""
|
128 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
129 |
-
"shortcode in your post."
|
130 |
-
msgstr ""
|
131 |
-
"Per aggiungere citazioni Tweettabili al tuo post, aggiungi lo shortcode di "
|
132 |
-
"Better Click to Tweet al tuo post. "
|
133 |
-
|
134 |
-
#: bctt_options.php:89
|
135 |
-
msgid "Here's how you format the shortcode:"
|
136 |
-
msgstr "Ecco il format dello shortcode:"
|
137 |
-
|
138 |
-
#. translators: This text shows up as a sample tweet in the instructions for how to use the plugin.
|
139 |
-
#: bctt_options.php:89
|
140 |
-
msgid "Meaningful, tweetable quote."
|
141 |
-
msgstr "Una significativa e tweettabile citazione."
|
142 |
-
|
143 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
144 |
-
#: bctt_options.php:90
|
145 |
-
msgid ""
|
146 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
147 |
-
"add a pre-formatted shortcode to your post."
|
148 |
-
msgstr ""
|
149 |
-
"Se stai utilizzando l'editor visuale, clicca l'icona BCTT nella toolbar per "
|
150 |
-
"aggiungere uno shortcode preformattato al tuo post."
|
151 |
-
|
152 |
-
#: bctt_options.php:91
|
153 |
-
msgid ""
|
154 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
155 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
156 |
-
msgstr ""
|
157 |
-
"La lunghezza del tweet è automaticamente abbreviata a 117 caratteri meno la "
|
158 |
-
"lunghezza del tuo nome Twitter, per lasciare spazio per il nome e per il "
|
159 |
-
"link al post."
|
160 |
-
|
161 |
-
#: bctt_options.php:96
|
162 |
-
msgid "Settings"
|
163 |
-
msgstr "Impostazioni"
|
164 |
-
|
165 |
-
#: bctt_options.php:97
|
166 |
-
msgid ""
|
167 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
168 |
-
"include the @ symbol."
|
169 |
-
msgstr ""
|
170 |
-
"Inserisci il tuo nome Twitter per aggiungere \"via @tuonome\" ai tuoi tweet. "
|
171 |
-
"Non includere il simbolo @."
|
172 |
-
|
173 |
-
#: bctt_options.php:98
|
174 |
-
msgid ""
|
175 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
176 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
177 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
178 |
-
"services like bit.ly or yourls.org for tracking"
|
179 |
-
msgstr ""
|
180 |
-
"Spuntando l'opzione sottostante forzerai il plugin a mostrare lo shortlink "
|
181 |
-
"WordPress al posto dell'URL completa. Anche se ciò non influisce sul numero "
|
182 |
-
"dei caratteri del tweet, può essere utile se utilizzato insieme a servizi "
|
183 |
-
"come bit.ly o yourls.org per il tracking."
|
184 |
-
|
185 |
-
#: bctt_options.php:104
|
186 |
-
msgctxt "label for text input on settings screen"
|
187 |
-
msgid "Your Twitter Handle"
|
188 |
-
msgstr "Il tuo nome utente Twitter"
|
189 |
-
|
190 |
-
#: bctt_options.php:107
|
191 |
-
msgctxt "label for checkbox on settings screen"
|
192 |
-
msgid "Use Short URL?"
|
193 |
-
msgstr "Vuoi usare l'URL abbreviata?"
|
194 |
-
|
195 |
-
#: bctt_options.php:112
|
196 |
-
msgid "Save Changes"
|
197 |
-
msgstr "Salva le modifiche"
|
198 |
-
|
199 |
-
#: bctt_options.php:114
|
200 |
-
#, php-format
|
201 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
202 |
-
msgstr "Un plugin Open Source di <a href=%s>Ben Meredith</a>"
|
203 |
-
|
204 |
-
#: better-click-to-tweet.php:142
|
205 |
-
msgctxt "Text for the box on the reader-facing box"
|
206 |
-
msgid "Click To Tweet"
|
207 |
-
msgstr "Condividi il Tweet"
|
208 |
-
|
209 |
-
#: better-click-to-tweet.php:231
|
210 |
-
msgctxt "text for the link on the plugins page"
|
211 |
-
msgid "Settings"
|
212 |
-
msgstr "Impostazioni"
|
213 |
-
|
214 |
-
#. Plugin Name of the plugin/theme
|
215 |
-
msgid "Better Click To Tweet"
|
216 |
-
msgstr "Better Click To Tweet"
|
217 |
-
|
218 |
-
#. Description of the plugin/theme
|
219 |
-
msgid ""
|
220 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
221 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
222 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
223 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
224 |
-
"BETTER."
|
225 |
-
msgstr ""
|
226 |
-
"Il solo plugin plugin Click To Tweet che supporti la localizzazione. L'unico "
|
227 |
-
"Click To Tweet che tiene conto della lunghezza del tuo nome utente per "
|
228 |
-
"troncare la lunghezza dei tweet o che prenda in considerazione i caratteri "
|
229 |
-
"non romani. In poche parole, è il solo plugin Click To Click che funziona "
|
230 |
-
"bene. Anzi, MEGLIO."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-ru_RU.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-ru_RU.po
DELETED
@@ -1,197 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Better Click To Tweet
|
2 |
-
# This file is distributed under the same license as the Better Click To Tweet package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Better Click To Tweet 4.0\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/better-click-to-"
|
7 |
-
"tweet\n"
|
8 |
-
"POT-Creation-Date: 2015-03-27 20:56:20+00:00\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date: 2015-05-07 10:47+0300\n"
|
13 |
-
"Last-Translator: \n"
|
14 |
-
"Language-Team: \n"
|
15 |
-
"X-Generator: Poedit 1.7.6\n"
|
16 |
-
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
17 |
-
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18 |
-
"Language: ru_RU\n"
|
19 |
-
|
20 |
-
#: bctt_options.php:40
|
21 |
-
msgid "You do not have sufficient permissions to access this page."
|
22 |
-
msgstr "У вас нет доступа к этой странице."
|
23 |
-
|
24 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
25 |
-
#. it
|
26 |
-
#: bctt_options.php:45
|
27 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
28 |
-
msgstr "Better Click To Tweet — плагин от Ben Meredith"
|
29 |
-
|
30 |
-
#: bctt_options.php:53
|
31 |
-
msgid "About the Author"
|
32 |
-
msgstr "Об авторе"
|
33 |
-
|
34 |
-
#: bctt_options.php:57
|
35 |
-
msgid ""
|
36 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a "
|
37 |
-
"freelance developer specializing in <a href=\"%s\">outrunning and "
|
38 |
-
"outsmarting hackers</a>."
|
39 |
-
msgstr ""
|
40 |
-
"Этот плагин создан <a href=\"%s\">Ben Meredith</a>. Я фриланс разработчик, "
|
41 |
-
"специализирующийся на <a href=\"%s\">передовых и интеллектуальных "
|
42 |
-
"разработках</a>."
|
43 |
-
|
44 |
-
#: bctt_options.php:58
|
45 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
46 |
-
msgstr "Подпишитесь на мой БЕСПЛАТНЫЙ курс по стратегии в интернете."
|
47 |
-
|
48 |
-
#: bctt_options.php:59
|
49 |
-
msgctxt "placeholder text for input field"
|
50 |
-
msgid "Your Email Address"
|
51 |
-
msgstr "Ваш Email"
|
52 |
-
|
53 |
-
#: bctt_options.php:60
|
54 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
55 |
-
msgstr "Без спама. Можно отписаться в один клик из любого письма."
|
56 |
-
|
57 |
-
#: bctt_options.php:74
|
58 |
-
msgid ""
|
59 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
60 |
-
"out the <a href=%s>plugin on Github.</a>"
|
61 |
-
msgstr ""
|
62 |
-
"Вы разработчик? Я буду признателен вам за вклад в улучшение плагина. Зайдите "
|
63 |
-
"на страничку <a href=%s>плагина на Github.</a>"
|
64 |
-
|
65 |
-
#: bctt_options.php:75
|
66 |
-
msgid ""
|
67 |
-
"The best way you can support this and other plugins is to <a href=%s>donate</"
|
68 |
-
"a>"
|
69 |
-
msgstr ""
|
70 |
-
"Лучший способ, как вы можете поддержать автора этого плагина - <a href="
|
71 |
-
"%s>пожертовать</a>"
|
72 |
-
|
73 |
-
#: bctt_options.php:75
|
74 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
75 |
-
msgstr "Другой способ - <a href=%s>оставить честный отзыв.</a>"
|
76 |
-
|
77 |
-
#: bctt_options.php:76
|
78 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
79 |
-
msgstr ""
|
80 |
-
"Сэкономил ли этот плагин вам достаточно времени, чтобы быть достойным "
|
81 |
-
"небольшой оплаты?"
|
82 |
-
|
83 |
-
#: bctt_options.php:77
|
84 |
-
msgid "Click here to buy me a Coke to say thanks."
|
85 |
-
msgstr "Нажмите здесь, чтобы отблагодарить меня кока-колой."
|
86 |
-
|
87 |
-
#: bctt_options.php:87
|
88 |
-
msgid "Instructions"
|
89 |
-
msgstr "Использование"
|
90 |
-
|
91 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
92 |
-
#. it
|
93 |
-
#: bctt_options.php:88
|
94 |
-
msgid ""
|
95 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
96 |
-
"shortcode in your post."
|
97 |
-
msgstr ""
|
98 |
-
"Чтобы добавить блок с цитатой для твита разместите шорткод Better Click To "
|
99 |
-
"Tweet в вашем посте."
|
100 |
-
|
101 |
-
#: bctt_options.php:89
|
102 |
-
msgid "Here's how you format the shortcode:"
|
103 |
-
msgstr "Формат шорткода:"
|
104 |
-
|
105 |
-
#. translators: This text shows up as a sample tweet in the instructions for
|
106 |
-
#. how to use the plugin.
|
107 |
-
#: bctt_options.php:89
|
108 |
-
msgid "Meaningful, tweetable quote."
|
109 |
-
msgstr "Значимая цитата для твита."
|
110 |
-
|
111 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
112 |
-
#: bctt_options.php:90
|
113 |
-
msgid ""
|
114 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
115 |
-
"add a pre-formatted shortcode to your post."
|
116 |
-
msgstr ""
|
117 |
-
"Если вы используете визуальный редактор, нажмите кнопку BCTT в панели "
|
118 |
-
"инструментов, чтобы добавить готовый шорткод в свой пост."
|
119 |
-
|
120 |
-
#: bctt_options.php:91
|
121 |
-
msgid ""
|
122 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
123 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
124 |
-
msgstr ""
|
125 |
-
"Длина твита автоматически сокращается до 117 символов минус длина вашего "
|
126 |
-
"ника в Twitter. Это сделано, чтобы в твите оставить место для ника и ссылки "
|
127 |
-
"на пост."
|
128 |
-
|
129 |
-
#: bctt_options.php:96
|
130 |
-
msgid "Settings"
|
131 |
-
msgstr "Настройки"
|
132 |
-
|
133 |
-
#: bctt_options.php:97
|
134 |
-
msgid ""
|
135 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
136 |
-
"include the @ symbol."
|
137 |
-
msgstr ""
|
138 |
-
"Введите ваш ник в Twitter, чтобы добавить \"с помощью @вашник\" в твиты. "
|
139 |
-
"Символ @ указывать не надо."
|
140 |
-
|
141 |
-
#: bctt_options.php:98
|
142 |
-
msgid ""
|
143 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
144 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
145 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
146 |
-
"services like bit.ly or yourls.org for tracking"
|
147 |
-
msgstr ""
|
148 |
-
"Чекбокс внизу позволяет использовать короткие ссылки постов вместо полных "
|
149 |
-
"URL. Несмотря на то, что длина твита остается неизменной, это полезно при "
|
150 |
-
"использовании сторонних плагинов (например bit.ly или yourls.org), которые "
|
151 |
-
"изменяют короткие ссылки постов Wordpress в целях отслеживания переходов по "
|
152 |
-
"ним."
|
153 |
-
|
154 |
-
#: bctt_options.php:104
|
155 |
-
msgctxt "label for text input on settings screen"
|
156 |
-
msgid "Your Twitter Handle"
|
157 |
-
msgstr "Ваш ник в Twitter"
|
158 |
-
|
159 |
-
#: bctt_options.php:107
|
160 |
-
msgctxt "label for checkbox on settings screen"
|
161 |
-
msgid "Use Short URL?"
|
162 |
-
msgstr "Использовать короткие ссылки?"
|
163 |
-
|
164 |
-
#: bctt_options.php:112
|
165 |
-
msgid "Save Changes"
|
166 |
-
msgstr "Сохранить изменения"
|
167 |
-
|
168 |
-
#: bctt_options.php:114
|
169 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
170 |
-
msgstr "Плагин с открытым кодом от <a href=%s>Ben Meredith</a>"
|
171 |
-
|
172 |
-
#: better-click-to-tweet.php:138
|
173 |
-
msgctxt "Text for the box on the reader-facing box"
|
174 |
-
msgid "Click To Tweet"
|
175 |
-
msgstr "Твитнуть"
|
176 |
-
|
177 |
-
#: better-click-to-tweet.php:209
|
178 |
-
msgctxt "text for the link on the plugins page"
|
179 |
-
msgid "Settings"
|
180 |
-
msgstr "Настройки"
|
181 |
-
|
182 |
-
#. Plugin Name of the plugin/theme
|
183 |
-
msgid "Better Click To Tweet"
|
184 |
-
msgstr "Better Click To Tweet"
|
185 |
-
|
186 |
-
#. Description of the plugin/theme
|
187 |
-
msgid ""
|
188 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
189 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
190 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
191 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
192 |
-
"BETTER."
|
193 |
-
msgstr ""
|
194 |
-
"Единственный Click To Tweet плагин с возможностью локализации. Единственный "
|
195 |
-
"Click To Tweet плагин, который учитывает длину вашего ника в Twitter при "
|
196 |
-
"сокращении длинных твитов, а также корректно работающий с кодировками "
|
197 |
-
"отличными от латинской. Проще говоря, этот плагин ЛУЧШЕ других."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-sr_RS.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-sr_RS.po
DELETED
@@ -1,155 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Better Click To Tweet
|
2 |
-
# This file is distributed under the same license as the Better Click To Tweet package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Better Click To Tweet 3.0\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/better-click-to-tweet\n"
|
7 |
-
"POT-Creation-Date: 2015-01-15 17:21:50+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: 2015-03-10 15:56+0100\n"
|
12 |
-
"Last-Translator: \n"
|
13 |
-
"Language-Team: \n"
|
14 |
-
"X-Generator: Poedit 1.7.4\n"
|
15 |
-
"Language: sr_RS\n"
|
16 |
-
|
17 |
-
#: bctt_options.php:60
|
18 |
-
msgid "You do not have sufficient permissions to access this page."
|
19 |
-
msgstr "Nemate odgovarajuće dozvole za pristup ovoj stranici"
|
20 |
-
|
21 |
-
#: bctt_options.php:70
|
22 |
-
msgid "Instructions"
|
23 |
-
msgstr "Uputstva"
|
24 |
-
|
25 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
26 |
-
#. it
|
27 |
-
#: bctt_options.php:72
|
28 |
-
msgid ""
|
29 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet shortcode "
|
30 |
-
"in your post."
|
31 |
-
msgstr ""
|
32 |
-
"Da biste dodali stilizovane click-to-tweet okvire za citate, unesite Better Click To "
|
33 |
-
"Tweet shortcode u svoj post."
|
34 |
-
|
35 |
-
#: bctt_options.php:73
|
36 |
-
msgid "Here's how you format the shortcode:"
|
37 |
-
msgstr "Ovako treba da formatirate shortcode:"
|
38 |
-
|
39 |
-
#. translators: This text shows up as a sample tweet in the instructions for
|
40 |
-
#. how to use the plugin.
|
41 |
-
#: bctt_options.php:73
|
42 |
-
msgid "Meaningful, tweetable quote."
|
43 |
-
msgstr "Značajan citat na koji se može odgovoriti putem twitter-a."
|
44 |
-
|
45 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
46 |
-
#: bctt_options.php:74
|
47 |
-
msgid ""
|
48 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to add a "
|
49 |
-
"pre-formatted shortcode to your post."
|
50 |
-
msgstr ""
|
51 |
-
"Ako koristite vizuelni uređivač, kliknite na BCTT ptičicu na traci sa alatima da "
|
52 |
-
"biste dodali unapred formatirani shortcode svom postu."
|
53 |
-
|
54 |
-
#: bctt_options.php:75
|
55 |
-
msgid ""
|
56 |
-
"Tweet length is automatically shortened to 117 characters minus the length of your "
|
57 |
-
"twitter name, to leave room for it and a link back to the post."
|
58 |
-
msgstr ""
|
59 |
-
"Dužina tweet-a automatski se skraćuje na 117 karaktera, minus dužina vašeg twitter "
|
60 |
-
"imena, kako bi ostalo dovoljno mesta za ime i za link posta."
|
61 |
-
|
62 |
-
#: bctt_options.php:78 better-click-to-tweet.php:85
|
63 |
-
msgid "Settings"
|
64 |
-
msgstr "Podešavanja"
|
65 |
-
|
66 |
-
#: bctt_options.php:80
|
67 |
-
msgid ""
|
68 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not include "
|
69 |
-
"the @ symbol."
|
70 |
-
msgstr ""
|
71 |
-
"Unesite svoje twitter korisničko ime da dodate \"via @vašeime\" svojim tweet-ovima. "
|
72 |
-
"Nemojte pisati simbol ‘@’. "
|
73 |
-
|
74 |
-
#: bctt_options.php:81
|
75 |
-
msgid ""
|
76 |
-
"Checking the box below will force the plugin to show the WordPress shortlink in "
|
77 |
-
"place of the full URL. While this does not impact tweet character length, it is "
|
78 |
-
"useful alongside plugins which customize the WordPress shortlink using services like "
|
79 |
-
"bit.ly or yourls.org for tracking"
|
80 |
-
msgstr ""
|
81 |
-
"Ako štiklirate sledeći okvir, plugin će prikazati WordPress shortlink umesto punog "
|
82 |
-
"URL-a. Iako ne utiče na dužinu tweet-a u karakterima, može vam koristiti za razne "
|
83 |
-
"dodatke koji prilagođavaju WordPress shortlink uz pomoć usluga za praćenje kao što "
|
84 |
-
"su bit.ly ili yourls.org."
|
85 |
-
|
86 |
-
#: bctt_options.php:87
|
87 |
-
msgid "Your Twitter Handle"
|
88 |
-
msgstr "Vaše twitter ime"
|
89 |
-
|
90 |
-
#: bctt_options.php:90
|
91 |
-
msgid "Use Short URL?"
|
92 |
-
msgstr "Koristi skraćeni URL?"
|
93 |
-
|
94 |
-
#: bctt_options.php:100
|
95 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
96 |
-
msgstr "Plugin otvorenog izvora od autora <a href=%s>Ben Meredith</a>"
|
97 |
-
|
98 |
-
#: bctt_options.php:101
|
99 |
-
msgid ""
|
100 |
-
"Are you a developer? I would love your help making this plugin better. Check out the "
|
101 |
-
"<a href=%s>plugin on Github.</a>"
|
102 |
-
msgstr ""
|
103 |
-
"Jeste li programer? Bilo bi mi drago kad biste mi pomogli da unapredim ovaj plugin. "
|
104 |
-
"Pogledajte <a href=%s>plugin na Github-u.</a>"
|
105 |
-
|
106 |
-
#: bctt_options.php:102
|
107 |
-
msgid "The best way you can support this and other plugins is to <a href=%s>donate</a>"
|
108 |
-
msgstr ""
|
109 |
-
"Najbolji način da podržite ovaj plugin, ali i druge dodatke, jeste da <a href="
|
110 |
-
"%s>donirate</a>"
|
111 |
-
|
112 |
-
#: bctt_options.php:102
|
113 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
114 |
-
msgstr "Drugi najbolji način je da <a href=%s>napišete iskreni komentar.</a>"
|
115 |
-
|
116 |
-
#: bctt_options.php:103
|
117 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
118 |
-
msgstr ""
|
119 |
-
"Da li vam je ovaj plugin uštedeo dovoljno vremena da bi zaslužio određenu sumu novca?"
|
120 |
-
|
121 |
-
#: bctt_options.php:104
|
122 |
-
msgid "Click here to buy me a Coke to say thanks."
|
123 |
-
msgstr "Kliknite ovde da biste mi kupili koka-kolu u znak zahvalnosti."
|
124 |
-
|
125 |
-
#: better-click-to-tweet.php:49
|
126 |
-
msgid "Click To Tweet"
|
127 |
-
msgstr "Kliknite za Tweet"
|
128 |
-
|
129 |
-
#. Plugin Name of the plugin/theme
|
130 |
-
msgid "Better Click To Tweet"
|
131 |
-
msgstr "Better Click To Tweet"
|
132 |
-
|
133 |
-
#. Plugin URI of the plugin/theme
|
134 |
-
msgid "https://wordpress.org/plugins/better-click-to-tweet/"
|
135 |
-
msgstr "https://wordpress.org/plugins/better-click-to-tweet/"
|
136 |
-
|
137 |
-
#. Description of the plugin/theme
|
138 |
-
msgid ""
|
139 |
-
"The only Click To Tweet plugin to add translation support. The only Click To Tweet "
|
140 |
-
"plugin to take into account your Twitter username's length in truncating long "
|
141 |
-
"tweets, or to correctly take into account non-Roman characters. Simply put, as Click "
|
142 |
-
"To Tweet plugins go, this one is, well, BETTER."
|
143 |
-
msgstr ""
|
144 |
-
"Jedini Click To Tweet plugin sa podrškom za prevod. Jedini Click To Tweet plugin "
|
145 |
-
"koji uzima u obzir dužinu vašeg korisničkog imena prilikom skraćenja dugačkih tweet-"
|
146 |
-
"ova i koji ispravno prihvata ne-latinične slovne znake. Jednostavno rečeno, u "
|
147 |
-
"razvojnom nizu Click To Tweet plugin-ova, ovaj je BOLJI."
|
148 |
-
|
149 |
-
#. Author of the plugin/theme
|
150 |
-
msgid "Ben Meredith"
|
151 |
-
msgstr "Ben Meredith"
|
152 |
-
|
153 |
-
#. Author URI of the plugin/theme
|
154 |
-
msgid "https://www.wpsteward.com"
|
155 |
-
msgstr "https://www.wpsteward.com"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet-sv_SE.mo
DELETED
Binary file
|
trunk/languages/better-click-to-tweet-sv_SE.po
DELETED
@@ -1,187 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 Better Click To Tweet
|
2 |
-
# This file is distributed under the same license as the Better Click To Tweet package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: Better Click To Tweet 4.0\n"
|
6 |
-
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/better-click-to-tweet\n"
|
7 |
-
"POT-Creation-Date: 2015-06-25 13:16+0100\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: 2015-06-25 15:12+0100\n"
|
12 |
-
"Last-Translator: Stefan Nilsson <stefan@ducedo.com>\n"
|
13 |
-
"Language-Team: \n"
|
14 |
-
"X-Generator: Poedit 1.8.1\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
-
"Language: sv_SE\n"
|
17 |
-
|
18 |
-
#: bctt_options.php:40
|
19 |
-
msgid "You do not have sufficient permissions to access this page."
|
20 |
-
msgstr "Du har inte tillräckliga rättigheter för att få tillgång till den här sidan."
|
21 |
-
|
22 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
23 |
-
#. it
|
24 |
-
#: bctt_options.php:45
|
25 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
26 |
-
msgstr "Better Click To Tweet — ett plugin av Ben Meredith"
|
27 |
-
|
28 |
-
#: bctt_options.php:53
|
29 |
-
msgid "About the Author"
|
30 |
-
msgstr "Om utvecklaren"
|
31 |
-
|
32 |
-
#: bctt_options.php:57
|
33 |
-
msgid ""
|
34 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a freelance "
|
35 |
-
"developer specializing in <a href=\"%s\">outrunning and outsmarting hackers</a>."
|
36 |
-
msgstr ""
|
37 |
-
"Detta plugin är utvecklat av <a href=\"%s\">Ben Meredith</a>. Jag är en frilansande "
|
38 |
-
"utvecklare specialiserad i att <a href=\"%s\">springa om och överlista hackare</a>."
|
39 |
-
|
40 |
-
#: bctt_options.php:58
|
41 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
42 |
-
msgstr "Anmäl dig för att få min GRATIS guide om webbstrategi"
|
43 |
-
|
44 |
-
#: bctt_options.php:59
|
45 |
-
msgctxt "placeholder text for input field"
|
46 |
-
msgid "Your Email Address"
|
47 |
-
msgstr "Din e-postadress"
|
48 |
-
|
49 |
-
#: bctt_options.php:60
|
50 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
51 |
-
msgstr "Inget spam. Avsluta din prenumeration när som helst med ett klick"
|
52 |
-
|
53 |
-
#: bctt_options.php:74
|
54 |
-
msgid ""
|
55 |
-
"Are you a developer? I would love your help making this plugin better. Check out the "
|
56 |
-
"<a href=%s>plugin on Github.</a>"
|
57 |
-
msgstr ""
|
58 |
-
"Är du utvecklare? Jag skulle uppskatta din hjälp för att göra detta plugin ännu "
|
59 |
-
"bättre. Se <a href=%s>plugin på Github.</a>"
|
60 |
-
|
61 |
-
#: bctt_options.php:75
|
62 |
-
msgid "The best way you can support this and other plugins is to <a href=%s>donate</a>"
|
63 |
-
msgstr ""
|
64 |
-
"Den bästa metoden för att stödja utvecklingen av detta och andra plugin är genom att "
|
65 |
-
"<a href=%s>donera</a>"
|
66 |
-
|
67 |
-
#: bctt_options.php:75
|
68 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
69 |
-
msgstr "Den näst bästa metoden är att <a href=%s>lämna en ärlig recension.</a>"
|
70 |
-
|
71 |
-
#: bctt_options.php:76
|
72 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
73 |
-
msgstr ""
|
74 |
-
"Har detta plugin sparat dig tillräckligt mycket tid för att vara värt en krona?"
|
75 |
-
|
76 |
-
#: bctt_options.php:77
|
77 |
-
msgid "Click here to buy me a Coke to say thanks."
|
78 |
-
msgstr "Klicka här för att bjuda mig på en Cola som tack."
|
79 |
-
|
80 |
-
#: bctt_options.php:87
|
81 |
-
msgid "Instructions"
|
82 |
-
msgstr "Instruktioner"
|
83 |
-
|
84 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate
|
85 |
-
#. it
|
86 |
-
#: bctt_options.php:88
|
87 |
-
msgid ""
|
88 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet shortcode "
|
89 |
-
"in your post."
|
90 |
-
msgstr ""
|
91 |
-
"För att lägga till en stylad click-to-tweet citatbox, inkludera Better Click To "
|
92 |
-
"Tweet shortcoden i ditt inlägg."
|
93 |
-
|
94 |
-
#: bctt_options.php:89
|
95 |
-
msgid "Here's how you format the shortcode:"
|
96 |
-
msgstr "Så här formaterar du shortcoden:"
|
97 |
-
|
98 |
-
#. translators: This text shows up as a sample tweet in the instructions for
|
99 |
-
#. how to use the plugin.
|
100 |
-
#: bctt_options.php:89
|
101 |
-
msgid "Meaningful, tweetable quote."
|
102 |
-
msgstr "Meningsfullt, tweetbart citat."
|
103 |
-
|
104 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
105 |
-
#: bctt_options.php:90
|
106 |
-
msgid ""
|
107 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to add a "
|
108 |
-
"pre-formatted shortcode to your post."
|
109 |
-
msgstr ""
|
110 |
-
"Om du använder den visuella redigeraren, klicka på BCTT-fågeln i verktygsfältet för "
|
111 |
-
"att lägga till en förformaterad shortcode."
|
112 |
-
|
113 |
-
#: bctt_options.php:91
|
114 |
-
msgid ""
|
115 |
-
"Tweet length is automatically shortened to 117 characters minus the length of your "
|
116 |
-
"twitter name, to leave room for it and a link back to the post."
|
117 |
-
msgstr ""
|
118 |
-
"Tweet-längd kortas automatiskt ned till 117 tecken, minus längden på ditt Twitter-"
|
119 |
-
"användarnamn, för att lämna plats till länk till inlägget."
|
120 |
-
|
121 |
-
#: bctt_options.php:96
|
122 |
-
msgid "Settings"
|
123 |
-
msgstr "Inställningar"
|
124 |
-
|
125 |
-
#: bctt_options.php:97
|
126 |
-
msgid ""
|
127 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not include "
|
128 |
-
"the @ symbol."
|
129 |
-
msgstr ""
|
130 |
-
"Fyll i ditt Twitter-användarnamn för att lägga till “via @användarnamn” till dina "
|
131 |
-
"tweets. Inkludera inte @-symbolen."
|
132 |
-
|
133 |
-
#: bctt_options.php:98
|
134 |
-
msgid ""
|
135 |
-
"Checking the box below will force the plugin to show the WordPress shortlink in "
|
136 |
-
"place of the full URL. While this does not impact tweet character length, it is "
|
137 |
-
"useful alongside plugins which customize the WordPress shortlink using services like "
|
138 |
-
"bit.ly or yourls.org for tracking"
|
139 |
-
msgstr ""
|
140 |
-
"Kryssa i boxen nedanför för att tvinga detta plugin att visa WordPress shortlink "
|
141 |
-
"istället för dess fulla URL. Även om detta inte påverkar en tweets längd så är det "
|
142 |
-
"användbart tillsammans med plugin som anpassar WordPress shortlink med "
|
143 |
-
"spårningstjänster såsom bit.ly eller yourls.org"
|
144 |
-
|
145 |
-
#: bctt_options.php:104
|
146 |
-
msgctxt "label for text input on settings screen"
|
147 |
-
msgid "Your Twitter Handle"
|
148 |
-
msgstr "Ditt Twitter-användarnamn"
|
149 |
-
|
150 |
-
#: bctt_options.php:107
|
151 |
-
msgctxt "label for checkbox on settings screen"
|
152 |
-
msgid "Use Short URL?"
|
153 |
-
msgstr "Använd URL-förkortare?"
|
154 |
-
|
155 |
-
#: bctt_options.php:112
|
156 |
-
msgid "Save Changes"
|
157 |
-
msgstr "Spara ändringar"
|
158 |
-
|
159 |
-
#: bctt_options.php:114
|
160 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
161 |
-
msgstr "Ett open source plugin av <a href=%s>Ben Meredith</a>"
|
162 |
-
|
163 |
-
#: better-click-to-tweet.php:138
|
164 |
-
msgctxt "Text for the box on the reader-facing box"
|
165 |
-
msgid "Click To Tweet"
|
166 |
-
msgstr "Klicka för att Tweeta"
|
167 |
-
|
168 |
-
#: better-click-to-tweet.php:209
|
169 |
-
msgctxt "text for the link on the plugins page"
|
170 |
-
msgid "Settings"
|
171 |
-
msgstr "Inställningar"
|
172 |
-
|
173 |
-
#. Plugin Name of the plugin/theme
|
174 |
-
msgid "Better Click To Tweet"
|
175 |
-
msgstr "Better Click To Tweet"
|
176 |
-
|
177 |
-
#. Description of the plugin/theme
|
178 |
-
msgid ""
|
179 |
-
"The only Click To Tweet plugin to add translation support. The only Click To Tweet "
|
180 |
-
"plugin to take into account your Twitter username's length in truncating long "
|
181 |
-
"tweets, or to correctly take into account non-Roman characters. Simply put, as Click "
|
182 |
-
"To Tweet plugins go, this one is, well, BETTER."
|
183 |
-
msgstr ""
|
184 |
-
"Det enda Click To Tweet-pluginet med stöd för andra språk. Det enda Click To Tweet-"
|
185 |
-
"pluginet som tar hänsyn till längden på ditt Twitter-användarnamn och icke-latinska "
|
186 |
-
"tecken. Kort sagt, när det kommer till Click To Tweet-plugin så är detta, tja, "
|
187 |
-
"BÄTTRE."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/languages/better-click-to-tweet.pot
DELETED
@@ -1,202 +0,0 @@
|
|
1 |
-
#, fuzzy
|
2 |
-
msgid ""
|
3 |
-
msgstr ""
|
4 |
-
"Project-Id-Version: Better Click To Tweet\n"
|
5 |
-
"POT-Creation-Date: 2015-07-13 14:15-0400\n"
|
6 |
-
"PO-Revision-Date: 2015-07-13 12:09-0400\n"
|
7 |
-
"Last-Translator: \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-Generator: Poedit 1.8.2\n"
|
13 |
-
"X-Poedit-Basepath: ..\n"
|
14 |
-
"X-Poedit-WPHeader: better-click-to-tweet.php\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
18 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
19 |
-
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
21 |
-
|
22 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:12
|
23 |
-
msgctxt "Text that shows on mouseover for visual editor button"
|
24 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:13
|
28 |
-
msgctxt ""
|
29 |
-
"Text for title of the popup box when creating tweetable quote in the visual "
|
30 |
-
"editor"
|
31 |
-
msgid "Better Click To Tweet Shortcode Generator"
|
32 |
-
msgstr ""
|
33 |
-
|
34 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:14
|
35 |
-
msgctxt "Text for label on input box on popup box in visual editor"
|
36 |
-
msgid "Tweetable Quote"
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:15
|
40 |
-
msgctxt "Text explaining the checkbox on the visual editor"
|
41 |
-
msgid "Add via @YourTwitterName to this tweet"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: assets/tinymce/languages/bctt-mce-locale.php:16
|
45 |
-
msgctxt "Checkbox label in visual editor"
|
46 |
-
msgid "Include via?"
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#: bctt_options.php:40
|
50 |
-
msgid "You do not have sufficient permissions to access this page."
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
54 |
-
#: bctt_options.php:45
|
55 |
-
msgid "Better Click To Tweet — a plugin by Ben Meredith"
|
56 |
-
msgstr ""
|
57 |
-
|
58 |
-
#: bctt_options.php:53
|
59 |
-
msgid "About the Author"
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#: bctt_options.php:57
|
63 |
-
#, php-format
|
64 |
-
msgid ""
|
65 |
-
"This plugin is developed by <a href=\"%s\">Ben Meredith</a>. I am a "
|
66 |
-
"freelance developer specializing in <a href=\"%s\">outrunning and "
|
67 |
-
"outsmarting hackers</a>."
|
68 |
-
msgstr ""
|
69 |
-
|
70 |
-
#: bctt_options.php:58
|
71 |
-
msgid "Sign up to receive my FREE web strategy guide"
|
72 |
-
msgstr ""
|
73 |
-
|
74 |
-
#: bctt_options.php:59
|
75 |
-
msgctxt "placeholder text for input field"
|
76 |
-
msgid "Your Email Address"
|
77 |
-
msgstr ""
|
78 |
-
|
79 |
-
#: bctt_options.php:60
|
80 |
-
msgid "No Spam. One-click unsubscribe in every message"
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: bctt_options.php:74
|
84 |
-
#, php-format
|
85 |
-
msgid ""
|
86 |
-
"Are you a developer? I would love your help making this plugin better. Check "
|
87 |
-
"out the <a href=%s>plugin on Github.</a>"
|
88 |
-
msgstr ""
|
89 |
-
|
90 |
-
#: bctt_options.php:75
|
91 |
-
#, php-format
|
92 |
-
msgid ""
|
93 |
-
"The best way you can support this and other plugins is to <a href=%s>donate</"
|
94 |
-
"a>"
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
-
#: bctt_options.php:75
|
98 |
-
#, php-format
|
99 |
-
msgid "The second best way is to <a href=%s>leave an honest review.</a>"
|
100 |
-
msgstr ""
|
101 |
-
|
102 |
-
#: bctt_options.php:76
|
103 |
-
msgid "Did this plugin save you enough time to be worth some money?"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: bctt_options.php:77
|
107 |
-
msgid "Click here to buy me a Coke to say thanks."
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: bctt_options.php:87
|
111 |
-
msgid "Instructions"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#. translators: Treat "Better Click To Tweet" as a brand name, don't translate it
|
115 |
-
#: bctt_options.php:88
|
116 |
-
msgid ""
|
117 |
-
"To add styled click-to-tweet quote boxes include the Better Click To Tweet "
|
118 |
-
"shortcode in your post."
|
119 |
-
msgstr ""
|
120 |
-
|
121 |
-
#: bctt_options.php:89
|
122 |
-
msgid "Here's how you format the shortcode:"
|
123 |
-
msgstr ""
|
124 |
-
|
125 |
-
#. translators: This text shows up as a sample tweet in the instructions for how to use the plugin.
|
126 |
-
#: bctt_options.php:89
|
127 |
-
msgid "Meaningful, tweetable quote."
|
128 |
-
msgstr ""
|
129 |
-
|
130 |
-
#. translators: Also, treat "BCTT" as a brand name, don't translate it
|
131 |
-
#: bctt_options.php:90
|
132 |
-
msgid ""
|
133 |
-
"If you are using the visual editor, click the BCTT birdie in the toolbar to "
|
134 |
-
"add a pre-formatted shortcode to your post."
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: bctt_options.php:91
|
138 |
-
msgid ""
|
139 |
-
"Tweet length is automatically shortened to 117 characters minus the length "
|
140 |
-
"of your twitter name, to leave room for it and a link back to the post."
|
141 |
-
msgstr ""
|
142 |
-
|
143 |
-
#: bctt_options.php:96
|
144 |
-
msgid "Settings"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: bctt_options.php:97
|
148 |
-
msgid ""
|
149 |
-
"Enter your Twitter handle to add \"via @yourhandle\" to your tweets. Do not "
|
150 |
-
"include the @ symbol."
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: bctt_options.php:98
|
154 |
-
msgid ""
|
155 |
-
"Checking the box below will force the plugin to show the WordPress shortlink "
|
156 |
-
"in place of the full URL. While this does not impact tweet character length, "
|
157 |
-
"it is useful alongside plugins which customize the WordPress shortlink using "
|
158 |
-
"services like bit.ly or yourls.org for tracking"
|
159 |
-
msgstr ""
|
160 |
-
|
161 |
-
#: bctt_options.php:104
|
162 |
-
msgctxt "label for text input on settings screen"
|
163 |
-
msgid "Your Twitter Handle"
|
164 |
-
msgstr ""
|
165 |
-
|
166 |
-
#: bctt_options.php:107
|
167 |
-
msgctxt "label for checkbox on settings screen"
|
168 |
-
msgid "Use Short URL?"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: bctt_options.php:112
|
172 |
-
msgid "Save Changes"
|
173 |
-
msgstr ""
|
174 |
-
|
175 |
-
#: bctt_options.php:114
|
176 |
-
#, php-format
|
177 |
-
msgid "An open source plugin by <a href=%s>Ben Meredith</a>"
|
178 |
-
msgstr ""
|
179 |
-
|
180 |
-
#: better-click-to-tweet.php:142
|
181 |
-
msgctxt "Text for the box on the reader-facing box"
|
182 |
-
msgid "Click To Tweet"
|
183 |
-
msgstr ""
|
184 |
-
|
185 |
-
#: better-click-to-tweet.php:231
|
186 |
-
msgctxt "text for the link on the plugins page"
|
187 |
-
msgid "Settings"
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#. Plugin Name of the plugin/theme
|
191 |
-
msgid "Better Click To Tweet"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
|
195 |
-
#. Description of the plugin/theme
|
196 |
-
msgid ""
|
197 |
-
"The only Click To Tweet plugin to add translation support. The only Click To "
|
198 |
-
"Tweet plugin to take into account your Twitter username's length in "
|
199 |
-
"truncating long tweets, or to correctly take into account non-Roman "
|
200 |
-
"characters. Simply put, as Click To Tweet plugins go, this one is, well, "
|
201 |
-
"BETTER."
|
202 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trunk/readme.txt
DELETED
@@ -1,362 +0,0 @@
|
|
1 |
-
=== Better Click To Tweet ===
|
2 |
-
Contributors: ben.meredith@gmail.com, wpsteward
|
3 |
-
Donate link: https://www.wpsteward.com/donations/plugin-support/
|
4 |
-
Tags: click to tweet, twitter, tweet,
|
5 |
-
Requires at least: 3.8
|
6 |
-
Tested up to: 4.9
|
7 |
-
Stable tag: 5.6.1
|
8 |
-
License: GPLv2 or later
|
9 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
|
11 |
-
Insert click to tweet boxes into your posts, simply and securely. This plugin is customizable, regularly updated, and future-proof.
|
12 |
-
|
13 |
-
== Description ==
|
14 |
-
|
15 |
-
= The most popular Click To Tweet Plugin for WordPress (by a mile), for good reason. =
|
16 |
-
|
17 |
-
This plugin allows you to easily create tweetable content for your readers. Using a simple shortcode, your selected text is highlighted and made tweetable.
|
18 |
-
|
19 |
-
* Now [fully customizable](http://benlikes.us/bcttcustom "power user guide customization instructions") if you know CSS.
|
20 |
-
* Easily [remove the "via"](http://benlikes.us/7m "how to customize the better click to tweet plugin")
|
21 |
-
* Selectively [remove the URL](http://benlikes.us/7r "power user guide") from the resulting Tweet
|
22 |
-
* For the SEO-conscious: [make links nofollow.](http://benlikes.us/7r "power user guide")
|
23 |
-
|
24 |
-
><strong> Why Better?</strong><br>
|
25 |
-
>This plugin started as a complete retool of the "Click To Tweet" plugin by Todaymade. In addition to the user-focused changes above, the under-the-hood changes include correct character counting when dealing with non-Roman characters, translation-readiness, and use of the official shortcode API (which means security and forward-compatibility)
|
26 |
-
|
27 |
-
|
28 |
-
**Speaking of the area under the hood:** developers, please hop in and suggest improvements. You can submit pull requests at the [github repo](https://github.com/Benunc/better-click-to-tweet "plugin github repo") for this plugin.
|
29 |
-
|
30 |
-
Huge thanks to Andrew Norcross @norcross for the help with making the plugin even better as of v4.0 with enhancements to the Visual Editor's button. But you can't blame him for any of the other code!
|
31 |
-
|
32 |
-
Translation is now managed at [the official WordPress translation page](https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet "WordPress translation"). Thanks to the folks who helped translate in the past.
|
33 |
-
|
34 |
-
== Installation ==
|
35 |
-
|
36 |
-
**To install the plugin manually in WordPress:**
|
37 |
-
|
38 |
-
1. Login as Admin on your WordPress blog.
|
39 |
-
2. Click on the "Plugins" tab in the left menu.
|
40 |
-
3. Select "Add New."
|
41 |
-
4. Click on "Upload" at the top of the page.
|
42 |
-
5. Select the 'better-click-to-tweet.zip' on your computer, and upload. Activate the plugin once it is uploaded.
|
43 |
-
|
44 |
-
**To install the plugin manually with FTP:**
|
45 |
-
|
46 |
-
1. Unzip the 'better-click-to-tweet.zip' file. Upload that folder to the '/wp-content/plugins/' directory.
|
47 |
-
2. Login to your WordPress dashboard and activate the plugin through the "Plugins" tab in the left menu.
|
48 |
-
|
49 |
-
== Frequently Asked Questions ==
|
50 |
-
|
51 |
-
= Are there other style options? =
|
52 |
-
Yes! If you are a developer, there are [limitless options for styling](http://benlikes.us/bcttcustom "custom style for Better Click To Tweet").
|
53 |
-
|
54 |
-
If you are not a developer, I have released a premium add-on for selecting among several (and growing) different style options. Check out [Premium Styles](http://benlikes.us/bcttps "Premium Styles for Better Click To Tweet")
|
55 |
-
|
56 |
-
= How does Better Click To Tweet work? =
|
57 |
-
Better Click To Tweet enables you to create beautiful Click To Tweet boxes in your blog posts. Once you've installed and activated the plugin, click on the settings link to put in your Twitter username, and save the settings.
|
58 |
-
|
59 |
-
Then, wherever you want to insert a Click to Tweet quote, use a shortcode in the format `[bctt tweet="xxxxxxxxxxxx"]` replacing the `xxxxxxx` with your tweetable quote.
|
60 |
-
|
61 |
-
As of version 3.1, you can leave off the "via @YourHandle" on a tweet-by-tweet basis by including using a shortcode in the format of `[bctt tweet="xxxxxxxxxxx" via="no"]`
|
62 |
-
|
63 |
-
In the visual editor, you can click the blue birdy icon in the toolbar and a correctly formatted shortcode will be inserted in your text. For more info or clarifications, start a [support thread](https://wordpress.org/support/plugin/better-click-to-tweet "support forum"). I'll actively answer.
|
64 |
-
|
65 |
-
= How does the URL shortener functionality work? =
|
66 |
-
Better Click To Tweet gives you the maximum number of characters possible. Allow me to explain:
|
67 |
-
|
68 |
-
Twitter automatically routes every link through its own URL shortener (you might recognize t.co as the domain they use). For their t.co links, the length is automatically truncated to 23 characters for URLs. This leaves 117 characters after the URL for you to use to compose your tweet. Even a link that is run through bit.ly or a yourls.org install is still routed through t.co in the tweet.
|
69 |
-
|
70 |
-
The benefit of URL shorteners goes beyond just character length, though. Many users use bit.ly or a similar service to track numbers of clicks and other analytical data. I personally use yourls.org to power http://benlikes.us for my shortened links.
|
71 |
-
|
72 |
-
As of version 3.0, my plugin works alongside url shortening plugins to harness that power, if you choose to.
|
73 |
-
|
74 |
-
WordPress has a feature called "shortlinks" which changes the long URL to something like yourdomain.com/?p=3435. Various plugins in the official repository exist to change that shortlink to one using other outside services. Using a combination of those plugins and mine, your Better Click To Tweet boxes can now display a trackable link.
|
75 |
-
|
76 |
-
On the settings page for Better Click To Tweet, simply check the box indicating you'd like to use the short URL, and save changes. If you've got a plugin that correctly hijacks the built-in WordPress shortlink functionality, you're all set! I've tested my plugin with the following plugins, and will make every effort to keep this list updated:
|
77 |
-
|
78 |
-
* [WP Bitly](https://wordpress.org/plugins/wp-bitly/ "WP Bit.ly")
|
79 |
-
* [YOURLS Link Creator](https://wordpress.org/support/plugin/yourls-link-creator "YOURLS Link Creator")
|
80 |
-
* [Goo.gl](https://wordpress.org/plugins/googl/ "Goo.gl")
|
81 |
-
|
82 |
-
If you run into any issues with my plugin not working alongside a certain link shortener, start a [support thread](https://wordpress.org/support/plugin/better-click-to-tweet "support forum") and include a link to the other plugin. I'll see what I can do to work with the other developer.
|
83 |
-
|
84 |
-
I've also written [a tutorial](http://benlikes.us/79 "shortlink tutorial") for how to set up the shortlinks with bit.ly and yourls.org.
|
85 |
-
|
86 |
-
= Are there any other hidden tricks? =
|
87 |
-
Yes! Because I want the majority of users (who aren't as concerned with options like nofollow links and getting rid of the URL in the tweet) to be happy, most options are hidden. I've written [a tutorial for using those advanced options](http://benlikes.us/7r "power user guide")
|
88 |
-
|
89 |
-
= What do I do if it's not working right? =
|
90 |
-
I am active in [the support forums](https://wordpress.org/support/plugin/better-click-to-tweet "BCTT Support"), and in patching the plugin. Start a thread there, and I will gladly help you out. Most of the time you can expect a day or two before a response. I'm in the eastern US, and I like playing with my kids at night, so you might not hear back immediately. Don't panic.
|
91 |
-
|
92 |
-
= How can I help? =
|
93 |
-
Translations: https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet
|
94 |
-
Pull Requests: https://github.com/Benunc/better-click-to-tweet
|
95 |
-
Donations: http://benlikes.us/donate
|
96 |
-
|
97 |
-
== Screenshots ==
|
98 |
-
|
99 |
-
1. This in the editor...
|
100 |
-
1. Becomes this in your blog post!
|
101 |
-
|
102 |
-
== Changelog ==
|
103 |
-
|
104 |
-
= 5.6.1 =
|
105 |
-
* fix — another attempt at the "invalid headers" intermittent problem.
|
106 |
-
|
107 |
-
= 5.6.0 =
|
108 |
-
* fix — improving compatibility with WordPress 5.0 and the new block-based (Gutenberg) editor. Thanks again to @ajitbohra for the help
|
109 |
-
* fix — resolve "invalid headers" problem on certain new installs
|
110 |
-
|
111 |
-
= 5.5 =
|
112 |
-
* Enhancement — added compatibility with WordPress 5.0's new editor, codenamed Gutenberg (thanks to Ajit Bohra @ajitbohra for all the great work!)
|
113 |
-
* Enhancement — Some CSS modifications to make the plugin play nicely with the new editor.
|
114 |
-
* Enhancement — changed the twitter bird icon for an updated one on the front end. (Thanks to @oliverpitsch for the PR on Github.)
|
115 |
-
|
116 |
-
|
117 |
-
= 5.4.3 =
|
118 |
-
* Security fix — added a line to the output that secures the target _blank vulnerability. Thanks to @dmv912 on the wordpress forums for the call-out!
|
119 |
-
|
120 |
-
= 5.4.2 =
|
121 |
-
* Fix — removed a line that was breaking things.
|
122 |
-
|
123 |
-
= 5.4.1 =
|
124 |
-
* Fix — made the settings page more accessible with the help of Rachel Cherry's fantastic wa11y plugin. https://wordpress.org/plugins/wa11y/ Thanks Rachel!
|
125 |
-
* Started tinkering with Gutenberg compatibility, the new editor experience coming to WordPress, to make BCTT compatible with the Future of WordPress (no file changes on this, just wnate to let you know it's on the radar. Learn more at https://wordpress.org/gutenberg
|
126 |
-
|
127 |
-
= 5.4 =
|
128 |
-
* Enhancement — Now supports Twitter's new 280 character limit. Note that non-roman characters may effect the new truncation in strange ways. Please report any such strangeness to me in the support forums.
|
129 |
-
* Enhancement — updated some links in the back end to link to the all new (and still kinda bland) https://www.betterclicktotweet.com
|
130 |
-
|
131 |
-
= 5.3.1 =
|
132 |
-
* Security Fix — potential XSS vulnerability on settings page. (mild security risk only affecting logged-in administrator accounts previously compromised). Thanks Robbie at DXW @robbiepaul on Github for the responsible disclosure.
|
133 |
-
* If the last point didn't make any sense, please translate it to "UPDATE NOW. Previous versions of the plugin are mildly vulnerable to enterprising attackers."
|
134 |
-
|
135 |
-
= 5.3 =
|
136 |
-
* enhancement — cleaned up the various options checks that were happening on the front end (thanks @igmoweb on GitHub!)
|
137 |
-
* Readme changes. I also celebrated a milestone of 20K active installs, which was cause for great celebration, and at least one undocumented happy dance.
|
138 |
-
|
139 |
-
= 5.2.1 =
|
140 |
-
* fix — unused $handle_code variable has been removed. Was causing some errors for folks.
|
141 |
-
* fix — code introduced in 5.2 messed up the "via" option and the option to not include the URL. This has been fixed.
|
142 |
-
|
143 |
-
= 5.2 =
|
144 |
-
* security fix — adds (more) escaping throughout the plugin. Thanks to Paul de Wouters from HumanMade for the PR!
|
145 |
-
* enhancement — tested for compatibility with WordPress core 4.8
|
146 |
-
* but seriously, you should check out Premium Styles. http://benlikes.us/bcttps
|
147 |
-
|
148 |
-
= 5.1 =
|
149 |
-
* enhancement — I added a highly dismissable notice to the plugins page upon update, encouraging people to purchase my Premium styles add-on. The notice only shows to folks who have not previously customized their own styles, and once dismissed will never be shown to that user again.
|
150 |
-
* enhancement — I made several changes to the readme file so that the plugin is showcased nicely in the WordPress Plugin Directory's new design.
|
151 |
-
|
152 |
-
= 5.0.2 =
|
153 |
-
* fix — I was incorrectly calling translation module, breaking things when people updated to the latest version of Yoast SEO.
|
154 |
-
|
155 |
-
= 5.0.1 =
|
156 |
-
* fix — "subscribe" text on plugin settings page was not translatable.
|
157 |
-
* New customers are enjoying Premium Styles: http://benlikes.us/bcttps
|
158 |
-
|
159 |
-
= 5.0 =
|
160 |
-
* enhancement — settings page now looks good on mobile. Before it looked a bit like someone was actively hitting it with a bat.
|
161 |
-
* enhancement — added multiple action hooks to the settings page. This provides third party developers with the ability to add things to that page without hacking the core code.
|
162 |
-
* enhancement — made the function enqueuing the front end styles DRYer.
|
163 |
-
* change — the previous way (version 4.9) I had filtered the function enqueuing styles was throwing PHP warnings when I used it, so I introduced an options-based method for never enqueueing it in the first first place. Updated gist for that: http://benlikes.us/bcttgist2 This method will also pave the way for the most exciting update (for me) in the history of Better Click To Tweet:
|
164 |
-
* change — introduced the first premium add-on (Premium Styles), and made some changes to the settings page to facilitate that. The goal is threefold: (1) Don't introduce the option to folks who have already replaced the custom stylesheet using the power user guide http://benlikes.us/7r or by dequeueing the stylesheet using this gist http://benlikes.us/bcttgist1 (2) Introduce the option to purchase custom styles in a non-sleazy way. (3) Um, introduce the option to my tens of thousands of happy users to pay me for something.
|
165 |
-
|
166 |
-
|
167 |
-
= 4.10 =
|
168 |
-
* enhancement — added a 'prompt' shortcode attribute, so not you can change the words "Click To Tweet" on a per-box basis. Thanks to @apearlman on the Wordpress.org support forums for the suggestion!
|
169 |
-
* fix — changed the way the shortcode attributes are called, because my IDE kept throwing strange errors because the code wasn't clean enough.
|
170 |
-
* fix — removed some unused local variables because I used to not know how to code things good.
|
171 |
-
* dream — thought about ways to monetize this plugin, but ultimately decided against it for now, because I hate dashboard nags. But if you like it, donate: http://benlikes.us/donate
|
172 |
-
* change — decided to go with 4.10 instead of 5.0 in an attempt to move toward a version numbering system that makes sense, because I have learned much since 0.X --> 1.0.
|
173 |
-
* just for kicks and totally unrelated — wrote a cool post about rolling back WordPress plugins: http://benlikes.us/fk
|
174 |
-
|
175 |
-
= 4.9 =
|
176 |
-
* enhancement - Made the function that registers and enqueues the scripts filterable, so that developers who want to put all styles for Better Click To Tweet boxes in their theme files are able to do so using this snippet: https://gist.github.com/Benunc/533985231bbfde551d019620f628a921
|
177 |
-
* two updates in a row with no love for the non developer, but MUCH love for the developer. Trust me, this one is big time for CSS developers to be able to add styles to themes.
|
178 |
-
* changed some specifics in the FAQ, and the Readme in general. Encouraged people to donate at http://benlikes.us/donate
|
179 |
-
|
180 |
-
= 4.8 =
|
181 |
-
* made span classes filterable, so that other developers don't hate me when they try to extend the plugin.
|
182 |
-
* I know that first point doesn't sound like much, but it's huge for developer geeks. You're just gonna have to trust me.
|
183 |
-
* removed the names of translators from the "description" since they are now being handled by official language packs, and giving credit where it is due was getting complicated.
|
184 |
-
|
185 |
-
= 4.7.1 =
|
186 |
-
* updated links throughout the back end of the plugin to send me money, for people who are into that sort of thing. Shoutout to https://givewp.com for the SWEET donation integration on my site.
|
187 |
-
|
188 |
-
= 4.7 =
|
189 |
-
* added the ability to change the "via" addendum on a per-box basis using the new "username" shortcode attribute. The default behavior is (still) to go with the username you saved on the settings page.
|
190 |
-
* (non-geek explanation of that first point) Now if you have a guest post by @KanyeWest, your Better Click To Tweet box can add "via @KanyeWest" automatically to your reader's tweets!
|
191 |
-
* made some changes to the toolbar popup in the visual editor to facilitate the new "username" attribute, limiting confusion and causing much rejoicing.
|
192 |
-
* Made unsuccessful attempt at getting Kanye West to guest post as the ultimate demonstration of the new feature.
|
193 |
-
* Tested for compatibility with the upcoming WordPress 4.5, and I don't mean to sound arrogant, but it pretty much NAILS compatibility with 4.5.
|
194 |
-
* Added a module that shows up when a user is using WordPress in a language for which there is incomplete (or non-existent) translations for this plugin. For users where there is a complete (+90%) translation, nothing will show up. But for users where the translation is incomplete, they'll be encouraged to help with the translation efforts!
|
195 |
-
|
196 |
-
= 4.6.2 =
|
197 |
-
* Removed extra (old and unused) js file.
|
198 |
-
* changed some back-end links to go to my new page, www.wpsteward.com
|
199 |
-
* realized that my use of tags in the WP repo miiiight have been a touch on the obnoxious and unhelpful side, so now I just use 3.
|
200 |
-
* successfully overthrew an oppressive regime in my 5-year-old's preschool "mystery reader" cartel. Take that, Fox in Socks.
|
201 |
-
|
202 |
-
= 4.6.1 =
|
203 |
-
* Removed call to external twitter script for security concerns.
|
204 |
-
* changed some wording on the description.
|
205 |
-
|
206 |
-
= 4.6 =
|
207 |
-
* The click to tweet box is now output as a `<span` instead of a `<div>` giving the ability (with custom CSS) to "inline" a click to tweet box.
|
208 |
-
|
209 |
-
= 4.5.3 =
|
210 |
-
* fixed an issue that was causing browsers to load older cached versions of the css.
|
211 |
-
* made no noticable attempts at overthrowing governments, but I did post something on facebook about Donald Trump which made some waves.
|
212 |
-
|
213 |
-
= 4.5.2 =
|
214 |
-
* updated css for compatibility with the twenty sixteen theme.
|
215 |
-
* updated compatibility to WordPress 4.4.
|
216 |
-
* unsuccessful overthrow of all world governments. I would have gotten away with it too, if it weren't for those meddling kids.
|
217 |
-
|
218 |
-
= 4.5.1 =
|
219 |
-
* fixed bug introduced in v 4.5 incorrectly displaying ellipses on truncated tweets.
|
220 |
-
* added Greek translation.
|
221 |
-
|
222 |
-
= 4.5 =
|
223 |
-
* fixed issue causing tweets to display incorrectly on iOS Twitter App (thanks to Cameron Conaway for the bug report in the forums)
|
224 |
-
* Ampersands are now correctly displayed.
|
225 |
-
* began master plan moving toward world domination.
|
226 |
-
|
227 |
-
= 4.4.1 =
|
228 |
-
* Fixed CSS issue with spacing in the default theme.
|
229 |
-
|
230 |
-
= 4.4 =
|
231 |
-
* Twitter now opens in a new modal box instead of a new tab, (developers: this is done using a call to platform.twitter.com/widgets.js within the code of the output from the shortcode. This means that the script won't be loaded on pages or posts where it's not needed.)
|
232 |
-
|
233 |
-
= 4.3.1 =
|
234 |
-
* added Italian language
|
235 |
-
|
236 |
-
= 4.3 =
|
237 |
-
* added translation support (internationalization or i18n) to the button on the visual editor. Now the entire plugin is translatable!
|
238 |
-
* updated swedish, finnish, and spanish language files.
|
239 |
-
|
240 |
-
= 4.2.1 =
|
241 |
-
* added German and Swedish translations, updated info in readme with link to instructions for migrating from Click To Tweet to Better Click To Tweet.
|
242 |
-
* made minor change to the bcttstyle.css (sample) file that was bugging me on hover.
|
243 |
-
|
244 |
-
= 4.2 =
|
245 |
-
* added the ability to specify a custom URL as a shortcode parameter. (more info at the power user tutorial at http://benlikes.us/7r )
|
246 |
-
|
247 |
-
= 4.1.1 =
|
248 |
-
* added Russian translation
|
249 |
-
* added sample bcttstyle.css file (for moving to the root of the /uploads folder) to assets/css
|
250 |
-
|
251 |
-
= 4.1 =
|
252 |
-
* the plugin now looks for a custom css stylesheet before falling back to the default style, giving designers and developers full access to the CSS, without disrupting user experience for folks just looking to plug and play.
|
253 |
-
* added Finnish (fi) translation courtesy of Sampsa Daavitsainen at http://calltoaction.fi
|
254 |
-
|
255 |
-
= 4.0 =
|
256 |
-
* complete overhaul of the visual editor button courtesy @norcross
|
257 |
-
* added the ability to make all links "nofollow" by adding the parameter `nofollow="yes"` to the shortcode.
|
258 |
-
* complete overhaul of the settings page for better readability.
|
259 |
-
|
260 |
-
= 3.4.1 =
|
261 |
-
* added Serbian translation courtesy of [Borisa Djuraskovic](http://www.webhostinghub.com/ "Web Hosting Hub")
|
262 |
-
|
263 |
-
= 3.4 =
|
264 |
-
* small change to the outputted URL for vc3 compliance. Thanks to @tomazzaman on Github for the fix!
|
265 |
-
|
266 |
-
= 3.3 =
|
267 |
-
* fixed a bug that was creating (rare, server-configuration-related) "Fatal Error" notices for `mb_strlen()` and related multibyte functions.
|
268 |
-
* various code tweaks for readability and compliance with WordPress standards.
|
269 |
-
|
270 |
-
= 3.2.2 =
|
271 |
-
* fixed bug that was causing the URL not to display on certain clicks after the 3.2 update (thanks @aa_stardust for the heads up!)
|
272 |
-
|
273 |
-
= 3.2.1 =
|
274 |
-
* fixed the truncation math given the new options to remove the url (as of 3.2) and via (as of 3.1), to correctly get back all those lost characters.
|
275 |
-
|
276 |
-
= 3.2 =
|
277 |
-
* added the ability to leave off the url on a tweet-by-tweet basis (handwritten shortcodes only, the visual editor will not show it as an option on the popup window)
|
278 |
-
* code modifications for clarity.
|
279 |
-
|
280 |
-
= 3.1 =
|
281 |
-
* added the ability to leave off the `via @YourTwitterName` on a tweet-by-tweet basis.
|
282 |
-
* complete overhaul of the javascript file to enable that functionality without having to mess with hand-coding the shortcode.
|
283 |
-
|
284 |
-
= 3.0 =
|
285 |
-
* added option to use WordPress shortlink in place of full URL.
|
286 |
-
* further refinement of the math used in calculating tweet truncation length.
|
287 |
-
|
288 |
-
= 2.0.3 =
|
289 |
-
* updated CSS to remove underline on "Click to Tweet" on Twenty Fifteen theme (and others!)
|
290 |
-
|
291 |
-
= 2.0.2 =
|
292 |
-
* fixed bug introduced in 2.0 related to javascript.
|
293 |
-
|
294 |
-
= 2.0.1 =
|
295 |
-
* added in support for RSS feeds: when outputting to an RSS feed, the click-to-tweet text will be smartly formatted.
|
296 |
-
* added css declarations to deal with issues in the Twenty Fifteen theme.
|
297 |
-
* readme enhancements for better user experience.
|
298 |
-
|
299 |
-
= 2.0 =
|
300 |
-
* Major version release for internationalization: added Spanish (ES) translation, and updated code throughout for internationalization. Still to-do: add translation support for the tinymce plugin on the visual editor.
|
301 |
-
|
302 |
-
= 1.0 =
|
303 |
-
* updated the tweet length math to correctly parse text with non-standard characters. Thanks to WordPress forum user zachop at https://wordpress.org/support/topic/incorrect-handling-length-count-of-multi-byte-strings for the tip.
|
304 |
-
* various code cleanup issues, to make my code more readable and complaint with WordPress standards.
|
305 |
-
|
306 |
-
= 0.4 =
|
307 |
-
* rescued 9 characters that were being stolen by some incorrect math in my tweet-generating function. (now tweets won't be truncated until they actually need to be).
|
308 |
-
|
309 |
-
= 0.3 =
|
310 |
-
* added margin on the bottom of the bcct-clicktotweet div
|
311 |
-
|
312 |
-
= 0.2 =
|
313 |
-
* fixed a bug that was not displaying the CSS correctly.
|
314 |
-
* updated the FAQ and other readme items.
|
315 |
-
|
316 |
-
= 0.1 =
|
317 |
-
* Initial release.
|
318 |
-
|
319 |
-
== Upgrade Notice ==
|
320 |
-
= 4.3 =
|
321 |
-
* added translation support, updated three languages.
|
322 |
-
|
323 |
-
= 4.1 =
|
324 |
-
* added full customizability (instructions forthcoming at http://benlikes.us/7r )
|
325 |
-
* added Finnish translation.
|
326 |
-
|
327 |
-
= 4.0 =
|
328 |
-
* complete overhaul of the visual editor button courtesy @norcross
|
329 |
-
* added the ability to make all links "nofollow" by adding the parameter `nofollow="yes"` to the shortcode.
|
330 |
-
* complete overhaul of the settings page for better readability.
|
331 |
-
|
332 |
-
= 3.4.1 =
|
333 |
-
* added Serbian language files.
|
334 |
-
|
335 |
-
= 3.4 =
|
336 |
-
* small change to the outputted URL for vc3 compliance. Thanks to @tomazzaman on Github for the fix!
|
337 |
-
|
338 |
-
= 3.3 =
|
339 |
-
* fixed a bug for users experiencing Fatal Errors related to multibyte string functions.
|
340 |
-
|
341 |
-
= 3.2.2 =
|
342 |
-
* fixed bug that was causing the URL not to display on certain clicks after the 3.2 update (thanks @aa_stardust for the heads up!)
|
343 |
-
|
344 |
-
= 3.2.1 =
|
345 |
-
* fixed the truncation math given the new options to remove the url (as of 3.2) and via (as of 3.1), to correctly get back all those lost characters.
|
346 |
-
|
347 |
-
= 3.2 =
|
348 |
-
* added the ability to leave off the url on a tweet-by-tweet basis (handwritten shortcodes only, the visual editor will not show it as an option on the popup window)
|
349 |
-
|
350 |
-
= 3.1 =
|
351 |
-
* Added ability to leave off the via @YourTwitterName
|
352 |
-
|
353 |
-
= 2.0.3 =
|
354 |
-
* CSS update for "Click to Tweet" text being underlined in some themes.
|
355 |
-
|
356 |
-
= 2.0.2 =
|
357 |
-
* Fixes bug that was causing the visual editor to not show the BCTT button.
|
358 |
-
|
359 |
-
= 2.0 =
|
360 |
-
* Adds internationalization, and out of the box support for Spanish (ES) language.
|
361 |
-
|
362 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|