Changeset 392687
- Timestamp:
- 06/03/2011 11:51:39 AM (15 years ago)
- Location:
- tf-button/trunk
- Files:
-
- 6 edited
-
languages/tf-button-nl_BE.mo (modified) (previous)
-
languages/tf-button-nl_BE.po (modified) (2 diffs)
-
languages/tf-button-nl_NL.mo (modified) (previous)
-
languages/tf-button-nl_NL.po (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
tf-button.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tf-button/trunk/languages/tf-button-nl_BE.po
r392151 r392687 3 3 "Project-Id-Version: TF Button\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2011-06-0 2 10:20+0100\n"6 "PO-Revision-Date: 2011-06-0 2 10:20+0100\n"5 "POT-Creation-Date: 2011-06-03 13:33+0100\n" 6 "PO-Revision-Date: 2011-06-03 13:33+0100\n" 7 7 "Last-Translator: Jan Heuninck <jan@janheuninck.com>\n" 8 8 "Language-Team: Jan Heuninck <jan@janheuninck.be>\n" … … 16 16 "X-Poedit-SearchPath-1: ..\n" 17 17 18 #: ../tf-button.php:1 2318 #: ../tf-button.php:119 19 19 msgid "Title" 20 20 msgstr "Titel" 21 21 22 #: ../tf-button.php:12 722 #: ../tf-button.php:123 23 23 msgid "Username" 24 24 msgstr "Gebruikersnaam" 25 25 26 #: ../tf-button.php:1 3126 #: ../tf-button.php:127 27 27 msgid "Show count" 28 28 msgstr "Toon aantal volgers" 29 29 30 #: ../tf-button.php:1 3330 #: ../tf-button.php:129 31 31 msgid "Yes" 32 32 msgstr "Ja" 33 33 34 #: ../tf-button.php:13 434 #: ../tf-button.php:131 35 35 msgid "No" 36 36 msgstr "Nee" 37 37 38 #: ../tf-button.php:13 839 msgid " Color button"40 msgstr "K leur knop"38 #: ../tf-button.php:134 39 msgid "Button" 40 msgstr "Knop" 41 41 42 #: ../tf-button.php:1 4042 #: ../tf-button.php:136 43 43 msgid "White" 44 44 msgstr "Licht" 45 45 46 #: ../tf-button.php:1 4146 #: ../tf-button.php:138 47 47 msgid "Grey" 48 48 msgstr "Donker" 49 49 50 #: ../tf-button.php:14 550 #: ../tf-button.php:141 51 51 msgid "Text color" 52 52 msgstr "Kleur tekst" 53 53 54 #: ../tf-button.php:14 954 #: ../tf-button.php:145 55 55 msgid "Link color" 56 56 msgstr "Kleur link" 57 57 58 #: ../tf-button.php:1 5358 #: ../tf-button.php:149 59 59 msgid "Language" 60 60 msgstr "Taal" 61 61 62 #: ../tf-button.php:15 562 #: ../tf-button.php:151 63 63 msgid "English" 64 64 msgstr "Engels" 65 65 66 #: ../tf-button.php:15 666 #: ../tf-button.php:152 67 67 msgid "French" 68 68 msgstr "Frans" 69 69 70 #: ../tf-button.php:15 770 #: ../tf-button.php:153 71 71 msgid "German" 72 72 msgstr "Duits" 73 73 74 #: ../tf-button.php:15 874 #: ../tf-button.php:154 75 75 msgid "Italian" 76 76 msgstr "Italiaans" 77 77 78 #: ../tf-button.php:15 978 #: ../tf-button.php:155 79 79 msgid "Japanese" 80 80 msgstr "Japans" 81 81 82 #: ../tf-button.php:1 6082 #: ../tf-button.php:156 83 83 msgid "Korean" 84 84 msgstr "Koreaans" 85 85 86 #: ../tf-button.php:1 6186 #: ../tf-button.php:157 87 87 msgid "Russian" 88 88 msgstr "Russisch" 89 89 90 #: ../tf-button.php:1 6290 #: ../tf-button.php:158 91 91 msgid "Spanish" 92 92 msgstr "Spaans" 93 93 94 #: ../tf-button.php:1 6394 #: ../tf-button.php:159 95 95 msgid "Turkish" 96 96 msgstr "Turks" 97 97 98 #: ../tf-button.php:16 798 #: ../tf-button.php:163 99 99 msgid "Width" 100 100 msgstr "Breedte" 101 101 102 #: ../tf-button.php:1 71102 #: ../tf-button.php:167 103 103 msgid "Align" 104 104 msgstr "Uitlijning" 105 105 106 #: ../tf-button.php:1 73106 #: ../tf-button.php:169 107 107 msgid "Left" 108 108 msgstr "Links" 109 109 110 #: ../tf-button.php:17 4110 #: ../tf-button.php:171 111 111 msgid "Right" 112 112 msgstr "Rechts" 113 113 114 #~ msgid "Color button" 115 #~ msgstr "Kleur knop" -
tf-button/trunk/languages/tf-button-nl_NL.po
r392151 r392687 3 3 "Project-Id-Version: TF Button\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2011-06-0 2 10:21+0100\n"6 "PO-Revision-Date: 2011-06-0 2 10:21+0100\n"5 "POT-Creation-Date: 2011-06-03 13:34+0100\n" 6 "PO-Revision-Date: 2011-06-03 13:34+0100\n" 7 7 "Last-Translator: Jan Heuninck <jan@janheuninck.com>\n" 8 8 "Language-Team: Jan Heuninck <jan@janheuninck.be>\n" … … 16 16 "X-Poedit-SearchPath-1: ..\n" 17 17 18 #: ../tf-button.php:1 2318 #: ../tf-button.php:119 19 19 msgid "Title" 20 20 msgstr "Titel" 21 21 22 #: ../tf-button.php:12 722 #: ../tf-button.php:123 23 23 msgid "Username" 24 24 msgstr "Gebruikersnaam" 25 25 26 #: ../tf-button.php:1 3126 #: ../tf-button.php:127 27 27 msgid "Show count" 28 28 msgstr "Toon aantal volgers" 29 29 30 #: ../tf-button.php:1 3330 #: ../tf-button.php:129 31 31 msgid "Yes" 32 32 msgstr "Ja" 33 33 34 #: ../tf-button.php:13 434 #: ../tf-button.php:131 35 35 msgid "No" 36 36 msgstr "Nee" 37 37 38 #: ../tf-button.php:13 839 msgid " Color button"40 msgstr "K leur knop"38 #: ../tf-button.php:134 39 msgid "Button" 40 msgstr "Knop" 41 41 42 #: ../tf-button.php:1 4042 #: ../tf-button.php:136 43 43 msgid "White" 44 44 msgstr "Licht" 45 45 46 #: ../tf-button.php:1 4146 #: ../tf-button.php:138 47 47 msgid "Grey" 48 48 msgstr "Donker" 49 49 50 #: ../tf-button.php:14 550 #: ../tf-button.php:141 51 51 msgid "Text color" 52 52 msgstr "Kleur tekst" 53 53 54 #: ../tf-button.php:14 954 #: ../tf-button.php:145 55 55 msgid "Link color" 56 56 msgstr "Kleur link" 57 57 58 #: ../tf-button.php:1 5358 #: ../tf-button.php:149 59 59 msgid "Language" 60 60 msgstr "Taal" 61 61 62 #: ../tf-button.php:15 562 #: ../tf-button.php:151 63 63 msgid "English" 64 64 msgstr "Engels" 65 65 66 #: ../tf-button.php:15 666 #: ../tf-button.php:152 67 67 msgid "French" 68 68 msgstr "Frans" 69 69 70 #: ../tf-button.php:15 770 #: ../tf-button.php:153 71 71 msgid "German" 72 72 msgstr "Duits" 73 73 74 #: ../tf-button.php:15 874 #: ../tf-button.php:154 75 75 msgid "Italian" 76 76 msgstr "Italiaans" 77 77 78 #: ../tf-button.php:15 978 #: ../tf-button.php:155 79 79 msgid "Japanese" 80 80 msgstr "Japans" 81 81 82 #: ../tf-button.php:1 6082 #: ../tf-button.php:156 83 83 msgid "Korean" 84 84 msgstr "Koreaans" 85 85 86 #: ../tf-button.php:1 6186 #: ../tf-button.php:157 87 87 msgid "Russian" 88 88 msgstr "Russisch" 89 89 90 #: ../tf-button.php:1 6290 #: ../tf-button.php:158 91 91 msgid "Spanish" 92 92 msgstr "Spaans" 93 93 94 #: ../tf-button.php:1 6394 #: ../tf-button.php:159 95 95 msgid "Turkish" 96 96 msgstr "Turks" 97 97 98 #: ../tf-button.php:16 798 #: ../tf-button.php:163 99 99 msgid "Width" 100 100 msgstr "Breedte" 101 101 102 #: ../tf-button.php:1 71102 #: ../tf-button.php:167 103 103 msgid "Align" 104 104 msgstr "Uitlijning" 105 105 106 #: ../tf-button.php:1 73106 #: ../tf-button.php:169 107 107 msgid "Left" 108 108 msgstr "Links" 109 109 110 #: ../tf-button.php:17 4110 #: ../tf-button.php:171 111 111 msgid "Right" 112 112 msgstr "Rechts" 113 113 114 #~ msgid "Color button" 115 #~ msgstr "Kleur knop" -
tf-button/trunk/readme.txt
r392651 r392687 1 1 === TF Button === 2 2 Contributors: janheuninck 3 Tags: twitter, widget, follow 3 Tags: twitter, widget, follow, sidebar, social 4 4 Requires at least: 2.8 5 5 Tested up to: 3.1.3 6 Stable tag: 0. 26 Stable tag: 0.3 7 7 8 8 Add the new Twitter Follow Button to your website to increase engagement and create a lasting connection with your audience. … … 11 11 12 12 Adds a Twitter Follow Button widget in your sidebar. 13 14 Available in English, French and Dutch! 13 15 14 16 == Installation == … … 28 30 == Changelog == 29 31 32 = 0.3 = 33 Minor code improvements 34 Added French translation 35 30 36 = 0.2 = 31 37 Added Dutch translation -
tf-button/trunk/tf-button.php
r392651 r392687 1 1 <?php 2 /* Copyright 2011 JAN HEUNINCK (email : jan@janheuninck.be) 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License, version 2, as 6 published by the Free Software Foundation. 7 8 This program is distributed in the hope that it will be useful, 9 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License 14 along with this program; if not, write to the Free Software 15 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 16 */ 17 2 18 /* 3 19 Plugin Name: TF Button 4 20 Description: Add the Twitter Follow Button to your website to increase engagement and create a lasting connection with your audience. 5 21 Author: Jan Heuninck 6 Version: 0. 222 Version: 0.3 7 23 Author URI: http://www.janheuninck.be 8 9 Copyright 2011 JAN HEUNINCK (email : jan@janheuninck.be)10 11 This program is free software; you can redistribute it and/or modify12 it under the terms of the GNU General Public License, version 2, as13 published by the Free Software Foundation.14 15 This program is distributed in the hope that it will be useful,16 but WITHOUT ANY WARRANTY; without even the implied warranty of17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the18 GNU General Public License for more details.19 20 You should have received a copy of the GNU General Public License21 along with this program; if not, write to the Free Software22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA23 24 */ 24 25 … … 114 115 $width = esc_attr($instance['width']); 115 116 $align = esc_attr($instance['align']); 116 117 117 ?> 118 118 <p> … … 125 125 </p> 126 126 <p> 127 <label for="<?php echo $this->get_field_id('show_count '); ?>"><?php _e('Show count', 'tf-button'); ?>:</label><br />128 < select id="<?php echo $this->get_field_id('show_count'); ?>" name="<?php echo $this->get_field_name('show_count'); ?>">129 <option value="true"<?php echo ($show_count == 'true' ? ' selected=\"selected\"' : ''); ?>><?php _e('Yes', 'tf-button'); ?></option>130 <option value="false"<?php echo ($show_count == 'false' ? ' selected=\"selected\"' : ''); ?>><?php _e('No', 'tf-button'); ?></option>131 < /select>127 <label for="<?php echo $this->get_field_id('show_count_yes'); ?>"><?php _e('Show count', 'tf-button'); ?>:</label><br /> 128 <input type="radio" id="<?php echo $this->get_field_name('show_count_yes'); ?>" name="<?php echo $this->get_field_name('show_count'); ?>" value="true"<?php checked('true', $show_count); ?>/> 129 <label><?php _e('Yes', 'tf-button'); ?></label> 130 <input type="radio" id="<?php echo $this->get_field_name('show_count_no'); ?>" name="<?php echo $this->get_field_name('show_count'); ?>" value="false"<?php checked('false', $show_count); ?>/> 131 <label><?php _e('No', 'tf-button'); ?></label> 132 132 </p> 133 133 <p> 134 <label for="<?php echo $this->get_field_id('button '); ?>"><?php _e('Color button', 'tf-button'); ?>:</label><br />135 < select id="<?php echo $this->get_field_id('button'); ?>" name="<?php echo $this->get_field_name('button'); ?>">136 <option value="white"<?php echo ($button == 'white' ? ' selected=\"selected\"' : ''); ?>><?php _e('White', 'tf-button'); ?></option>137 <option value="grey"<?php echo ($button == 'grey' ? ' selected=\"selected\"' : ''); ?>><?php _e('Grey', 'tf-button'); ?></option>138 < /select>134 <label for="<?php echo $this->get_field_id('button_white'); ?>"><?php _e('Button', 'tf-button'); ?>:</label><br /> 135 <input type="radio" id="<?php echo $this->get_field_name('button_white'); ?>" name="<?php echo $this->get_field_name('button'); ?>" value="white"<?php checked('white', $button); ?>/> 136 <label><?php _e('White', 'tf-button'); ?></label> 137 <input type="radio" id="<?php echo $this->get_field_name('button_grey'); ?>" name="<?php echo $this->get_field_name('button'); ?>" value="grey"<?php checked('grey', $button); ?>/> 138 <label><?php _e('Grey', 'tf-button'); ?></label> 139 139 </p> 140 140 <p> … … 149 149 <label for="<?php echo $this->get_field_id('language'); ?>"><?php _e('Language', 'tf-button'); ?>:</label> 150 150 <select id="<?php echo $this->get_field_id('language'); ?>" name="<?php echo $this->get_field_name('language'); ?>"> 151 <option value="en"<?php echo ($language == 'en' ? ' selected=\"selected\"' : ''); ?>><?php _e('English', 'tf-button'); ?></option>152 <option value="fr"<?php echo ($language == 'fr' ? ' selected=\"selected\"' : ''); ?>><?php _e('French', 'tf-button'); ?></option>153 <option value="de"<?php echo ($language == 'de' ? ' selected=\"selected\"' : ''); ?>><?php _e('German', 'tf-button'); ?></option>154 <option value="it"<?php echo ($language == 'it' ? ' selected=\"selected\"' : ''); ?>><?php _e('Italian', 'tf-button'); ?></option>155 <option value="ja"<?php echo ($language == 'ja' ? ' selected=\"selected\"' : ''); ?>><?php _e('Japanese', 'tf-button'); ?></option>156 <option value="ko"<?php echo ($language == 'ko' ? ' selected=\"selected\"' : ''); ?>><?php _e('Korean', 'tf-button'); ?></option>157 <option value="ru"<?php echo ($language == 'ru' ? ' selected=\"selected\"' : ''); ?>><?php _e('Russian', 'tf-button'); ?></option>158 <option value="es"<?php echo ($language == 'es' ? ' selected=\"selected\"' : ''); ?>><?php _e('Spanish', 'tf-button'); ?></option>159 <option value="tr"<?php echo ($language == 'tr' ? ' selected=\"selected\"' : ''); ?>><?php _e('Turkish', 'tf-button'); ?></option>151 <option value="en"<?php selected('en', $language); ?>><?php _e('English', 'tf-button'); ?></option> 152 <option value="fr"<?php selected('fr', $language); ?>><?php _e('French', 'tf-button'); ?></option> 153 <option value="de"<?php selected('de', $language); ?>><?php _e('German', 'tf-button'); ?></option> 154 <option value="it"<?php selected('it', $language); ?>><?php _e('Italian', 'tf-button'); ?></option> 155 <option value="ja"<?php selected('ja', $language); ?>><?php _e('Japanese', 'tf-button'); ?></option> 156 <option value="ko"<?php selected('ko', $language); ?>><?php _e('Korean', 'tf-button'); ?></option> 157 <option value="ru"<?php selected('ru', $language); ?>><?php _e('Russian', 'tf-button'); ?></option> 158 <option value="es"<?php selected('es', $language); ?>><?php _e('Spanish', 'tf-button'); ?></option> 159 <option value="tr"<?php selected('tr', $language); ?>><?php _e('Turkish', 'tf-button'); ?></option> 160 160 </select> 161 161 </p> … … 166 166 <p> 167 167 <label for="<?php echo $this->get_field_id('align'); ?>"><?php _e('Align', 'tf-button'); ?>:</label><br /> 168 < select id="<?php echo $this->get_field_id('align'); ?>" name="<?php echo $this->get_field_name('align'); ?>">169 <option value="left"<?php echo ($align == 'left' ? ' selected=\"selected\"' : ''); ?>><?php _e('Left', 'tf-button'); ?></option>170 <option value="right"<?php echo ($align == 'right' ? ' selected=\"selected\"' : ''); ?>><?php _e('Right', 'tf-button'); ?></option>171 < /select>168 <input type="radio" id="<?php echo $this->get_field_name('align_left'); ?>" name="<?php echo $this->get_field_name('align'); ?>" value="left"<?php checked('left', $align); ?>/> 169 <label><?php _e('Left', 'tf-button'); ?></label> 170 <input type="radio" id="<?php echo $this->get_field_name('align_right'); ?>" name="<?php echo $this->get_field_name('align'); ?>" value="right"<?php checked('right', $align); ?>/> 171 <label><?php _e('Right', 'tf-button'); ?></label> 172 172 </p> 173 173 <?php … … 175 175 } 176 176 177 // register TF_Button_Widget widget177 // Register TF_Button_Widget widget 178 178 add_action('widgets_init', create_function('', 'return register_widget("TF_Button_Widget");')); 179 179 180 180 // Load translations 181 181 load_plugin_textdomain('tf-button', false, dirname(plugin_basename( __FILE__ )) . '/languages/'); 182 182 183 ?>
Note: See TracChangeset
for help on using the changeset viewer.