Better Click To Tweet - Version 4.5.1

Version Description

  • fixed bug introduced in v 4.5 incorrectly displaying ellipses on truncated tweets.
  • added Greek translation.
Download this release

Release Info

Developer ben.meredith@gmail.com
Plugin Icon 128x128 Better Click To Tweet
Version 4.5.1
Comparing to
See all releases

Code changes from version 4.5 to 4.5.1

better-click-to-tweet.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Better Click To Tweet
4
  Description: The only Click To Tweet plugin to add translation support. The only Click To Tweet plugin to take into account your Twitter username's length in truncating long tweets, or to correctly take into account non-Roman characters. Simply put, as Click To Tweet plugins go, this one is, well, BETTER.
5
- Version: 4.5
6
  Author: Ben Meredith
7
  Author URI: http://benandjacq.com
8
  Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
@@ -46,7 +46,7 @@ function bctt_shorten( $input, $length, $ellipsis = true, $strip_html = true ) {
46
  $trimmed_text = mb_substr( $input, 0, $last_space );
47
 
48
  if ( $ellipsis ) {
49
- $trimmed_text .= '…';
50
  }
51
 
52
  return $trimmed_text;
@@ -61,7 +61,7 @@ function bctt_shorten( $input, $length, $ellipsis = true, $strip_html = true ) {
61
  $trimmed_text = substr( $input, 0, $last_space );
62
 
63
  if ( $ellipsis ) {
64
- $trimmed_text .= '…';
65
  }
66
 
67
  return $trimmed_text;
2
  /*
3
  Plugin Name: Better Click To Tweet
4
  Description: The only Click To Tweet plugin to add translation support. The only Click To Tweet plugin to take into account your Twitter username's length in truncating long tweets, or to correctly take into account non-Roman characters. Simply put, as Click To Tweet plugins go, this one is, well, BETTER.
5
+ Version: 4.5.1
6
  Author: Ben Meredith
7
  Author URI: http://benandjacq.com
8
  Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
46
  $trimmed_text = mb_substr( $input, 0, $last_space );
47
 
48
  if ( $ellipsis ) {
49
+ $trimmed_text .= "…";
50
  }
51
 
52
  return $trimmed_text;
61
  $trimmed_text = substr( $input, 0, $last_space );
62
 
63
  if ( $ellipsis ) {
64
+ $trimmed_text .= "…";
65
  }
66
 
67
  return $trimmed_text;
languages/better-click-to-tweet-el.mo ADDED
Binary file
languages/better-click-to-tweet-el.po ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 πρόσθετο."
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: click to tweet, twitter, tweet, twitter plugin, Twitter boxes, share, social media, post, posts, plugin, auto post, bitly, bit.ly, yourls, yourls.org, translate-me, Español, Deutsch, Russian, Finnish, Svenska, Suomi, Italiano,
5
  Requires at least: 3.8
6
  Tested up to: 4.3
7
- Stable tag: 4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,6 +109,10 @@ I want to maximize the usefulness of this plugin by translating it into multiple
109
 
110
  == Changelog ==
111
 
 
 
 
 
112
  = 4.5 =
113
  * fixed issue causing tweets to display incorrectly on iOS Twitter App (thanks to Cameron Conaway for the bug report in the forums)
114
  * Ampersands are now correctly displayed.
4
  Tags: click to tweet, twitter, tweet, twitter plugin, Twitter boxes, share, social media, post, posts, plugin, auto post, bitly, bit.ly, yourls, yourls.org, translate-me, Español, Deutsch, Russian, Finnish, Svenska, Suomi, Italiano,
5
  Requires at least: 3.8
6
  Tested up to: 4.3
7
+ Stable tag: 4.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 4.5.1 =
113
+ * fixed bug introduced in v 4.5 incorrectly displaying ellipses on truncated tweets.
114
+ * added Greek translation.
115
+
116
  = 4.5 =
117
  * fixed issue causing tweets to display incorrectly on iOS Twitter App (thanks to Cameron Conaway for the bug report in the forums)
118
  * Ampersands are now correctly displayed.