Version Description
Download this release
Release Info
Developer | artstorm |
Plugin | PayPal Donations |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.4.1
- paypal-donations.php +211 -210
- readme.txt +4 -1
paypal-donations.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: PayPal Donations
|
4 |
Plugin URI: http://coding.cglounge.com/wordpress-plugins/paypal-donations/
|
5 |
Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
|
6 |
-
Version: 1.4
|
7 |
Author: Johan Steen
|
8 |
Author URI: http://coding.cglounge.com/
|
9 |
Text Domain: paypal-donations
|
@@ -49,238 +49,239 @@ class paypal_donations {
|
|
49 |
'CZK' => 'Czech Koruna',
|
50 |
'ILS' => 'Israeli Shekel',
|
51 |
'MXN' => 'Mexican Peso');
|
52 |
-
|
53 |
-
|
54 |
-
'
|
55 |
-
'
|
56 |
-
'
|
|
|
57 |
|
58 |
-
'en_AG' => 'Antigua and Barbuda - U.K. English',
|
59 |
-
'en_AR' => 'Argentina - U.K. English',
|
60 |
-
'en_AM' => 'Armenia - U.K. English',
|
61 |
-
'en_AW' => 'Aruba - U.K. English',
|
62 |
'en_AU' => 'Australia - Australian English',
|
63 |
-
'
|
64 |
-
'
|
65 |
-
'en_AZ' => 'Azerbaijan Republic - U.K. English',
|
66 |
-
'en_BS' => 'Bahamas - U.K. English',
|
67 |
|
68 |
-
'en_BH' => 'Bahrain - U.K. English',
|
69 |
-
'en_BB' => 'Barbados - U.K. English',
|
70 |
-
'
|
71 |
-
'
|
72 |
-
'
|
73 |
-
'en_BZ' => 'Belize - U.K. English',
|
74 |
-
'en_BJ' => 'Benin - U.K. English',
|
75 |
-
'en_BM' => 'Bermuda - U.K. English',
|
76 |
-
'en_BT' => 'Bhutan - U.K. English',
|
77 |
|
78 |
-
'en_BO' => 'Bolivia - U.K. English',
|
79 |
-
'en_BA' => 'Bosnia and Herzegovina - U.K. English',
|
80 |
-
'en_BW' => 'Botswana - U.K. English',
|
81 |
-
'en_BR' => 'Brazil - U.K. English',
|
82 |
-
'en_VG' => 'British Virgin Islands - U.K. English',
|
83 |
-
'en_BN' => 'Brunei - U.K. English',
|
84 |
-
'en_BG' => 'Bulgaria - U.K. English',
|
85 |
-
'en_BF' => 'Burkina Faso - U.K. English',
|
86 |
-
'en_BI' => 'Burundi - U.K. English',
|
87 |
|
88 |
-
'en_KH' => 'Cambodia - U.K. English',
|
89 |
-
'en_CA' => 'Canada - U.S. English',
|
90 |
-
'
|
91 |
-
'en_CV' => 'Cape Verde - U.K. English',
|
92 |
-
'en_KY' => 'Cayman Islands - U.K. English',
|
93 |
-
'en_TD' => 'Chad - U.K. English',
|
94 |
-
'en_CL' => 'Chile - U.K. English',
|
95 |
-
'en_C2' => 'China - U.S. English',
|
96 |
-
'
|
97 |
|
98 |
-
'en_CO' => 'Colombia - U.K. English',
|
99 |
-
'en_KM' => 'Comoros - U.K. English',
|
100 |
-
'en_CK' => 'Cook Islands - U.K. English',
|
101 |
-
'en_CR' => 'Costa Rica - U.K. English',
|
102 |
-
'en_HR' => 'Croatia - U.K. English',
|
103 |
-
'en_CY' => 'Cyprus - U.K. English',
|
104 |
-
'en_CZ' => 'Czech Republic - U.K. English',
|
105 |
-
'en_CD' => 'Democratic Republic of the Congo - U.K. English',
|
106 |
-
'en_DK' => 'Denmark - U.K. English',
|
107 |
|
108 |
-
'en_DJ' => 'Djibouti - U.K. English',
|
109 |
-
'en_DM' => 'Dominica - U.K. English',
|
110 |
-
'en_DO' => 'Dominican Republic - U.K. English',
|
111 |
-
'en_EC' => 'Ecuador - U.K. English',
|
112 |
-
'en_SV' => 'El Salvador - U.K. English',
|
113 |
-
'en_ER' => 'Eritrea - U.K. English',
|
114 |
-
'en_EE' => 'Estonia - U.K. English',
|
115 |
-
'en_ET' => 'Ethiopia - U.K. English',
|
116 |
-
'en_FK' => 'Falkland Islands - U.K. English',
|
117 |
|
118 |
-
'en_FO' => 'Faroe Islands - U.K. English',
|
119 |
-
'en_FM' => 'Federated States of Micronesia - U.K. English',
|
120 |
-
'en_FJ' => 'Fiji - U.K. English',
|
121 |
-
'en_FI' => 'Finland - U.K. English',
|
122 |
-
'fr_FR' => 'France - French',
|
123 |
-
'
|
124 |
-
'en_GF' => 'French Guiana - U.K. English',
|
125 |
-
'en_PF' => 'French Polynesia - U.K. English',
|
126 |
-
'en_GA' => 'Gabon Republic - U.K. English',
|
127 |
|
128 |
-
'en_GM' => 'Gambia - U.K. English',
|
129 |
-
'de_DE' => 'Germany - German',
|
130 |
-
'
|
131 |
-
'en_GI' => 'Gibraltar - U.K. English',
|
132 |
-
'en_GR' => 'Greece - U.K. English',
|
133 |
-
'en_GL' => 'Greenland - U.K. English',
|
134 |
-
'en_GD' => 'Grenada - U.K. English',
|
135 |
-
'en_GP' => 'Guadeloupe - U.K. English',
|
136 |
-
'en_GT' => 'Guatemala - U.K. English',
|
137 |
|
138 |
-
'en_GN' => 'Guinea - U.K. English',
|
139 |
-
'en_GW' => 'Guinea Bissau - U.K. English',
|
140 |
-
'en_GY' => 'Guyana - U.K. English',
|
141 |
-
'en_HN' => 'Honduras - U.K. English',
|
142 |
-
'zh_HK' => 'Hong Kong - Traditional Chinese',
|
143 |
-
'
|
144 |
-
'en_HU' => 'Hungary - U.K. English',
|
145 |
-
'en_IS' => 'Iceland - U.K. English',
|
146 |
-
'en_IN' => 'India - U.K. English',
|
147 |
|
148 |
-
'en_ID' => 'Indonesia - U.K. English',
|
149 |
-
'en_IE' => 'Ireland - U.K. English',
|
150 |
-
'en_IL' => 'Israel - U.K. English',
|
151 |
-
'it_IT' => 'Italy - Italian',
|
152 |
-
'
|
153 |
-
'en_JM' => 'Jamaica - U.K. English',
|
154 |
-
'ja_JP' => 'Japan - Japanese',
|
155 |
-
'
|
156 |
-
'en_JO' => 'Jordan - U.K. English',
|
157 |
|
158 |
-
'en_KZ' => 'Kazakhstan - U.K. English',
|
159 |
-
'en_KE' => 'Kenya - U.K. English',
|
160 |
-
'en_KI' => 'Kiribati - U.K. English',
|
161 |
-
'en_KW' => 'Kuwait - U.K. English',
|
162 |
-
'en_KG' => 'Kyrgyzstan - U.K. English',
|
163 |
-
'en_LA' => 'Laos - U.K. English',
|
164 |
-
'en_LV' => 'Latvia - U.K. English',
|
165 |
-
'en_LS' => 'Lesotho - U.K. English',
|
166 |
-
'en_LI' => 'Liechtenstein - U.K. English',
|
167 |
|
168 |
-
'en_LT' => 'Lithuania - U.K. English',
|
169 |
-
'en_LU' => 'Luxembourg - U.K. English',
|
170 |
-
'en_MG' => 'Madagascar - U.K. English',
|
171 |
-
'en_MW' => 'Malawi - U.K. English',
|
172 |
-
'en_MY' => 'Malaysia - U.K. English',
|
173 |
-
'en_MV' => 'Maldives - U.K. English',
|
174 |
-
'en_ML' => 'Mali - U.K. English',
|
175 |
-
'en_MT' => 'Malta - U.K. English',
|
176 |
-
'en_MH' => 'Marshall Islands - U.K. English',
|
177 |
|
178 |
-
'en_MQ' => 'Martinique - U.K. English',
|
179 |
-
'en_MR' => 'Mauritania - U.K. English',
|
180 |
-
'en_MU' => 'Mauritius - U.K. English',
|
181 |
-
'en_YT' => 'Mayotte - U.K. English',
|
182 |
-
'
|
183 |
-
'en_MX' => 'Mexico - U.S. English',
|
184 |
-
'en_MN' => 'Mongolia - U.K. English',
|
185 |
-
'en_MS' => 'Montserrat - U.K. English',
|
186 |
-
'en_MA' => 'Morocco - U.K. English',
|
187 |
|
188 |
-
'en_MZ' => 'Mozambique - U.K. English',
|
189 |
-
'en_NA' => 'Namibia - U.K. English',
|
190 |
-
'en_NR' => 'Nauru - U.K. English',
|
191 |
-
'en_NP' => 'Nepal - U.K. English',
|
192 |
-
'nl_NL' => 'Netherlands - Dutch',
|
193 |
-
'
|
194 |
-
'en_AN' => 'Netherlands Antilles - U.K. English',
|
195 |
-
'en_NC' => 'New Caledonia - U.K. English',
|
196 |
-
'en_NZ' => 'New Zealand - U.K. English',
|
197 |
|
198 |
-
'en_NI' => 'Nicaragua - U.K. English',
|
199 |
-
'en_NE' => 'Niger - U.K. English',
|
200 |
-
'en_NU' => 'Niue - U.K. English',
|
201 |
-
'en_NF' => 'Norfolk Island - U.K. English',
|
202 |
-
'en_NO' => 'Norway - U.K. English',
|
203 |
-
'en_OM' => 'Oman - U.K. English',
|
204 |
-
'en_PW' => 'Palau - U.K. English',
|
205 |
-
'en_PA' => 'Panama - U.K. English',
|
206 |
-
'en_PG' => 'Papua New Guinea - U.K. English',
|
207 |
|
208 |
-
'en_PE' => 'Peru - U.K. English',
|
209 |
-
'en_PH' => 'Philippines - U.K. English',
|
210 |
-
'en_PN' => 'Pitcairn Islands - U.K. English',
|
211 |
-
'pl_PL' => 'Poland - Polish',
|
212 |
-
'
|
213 |
-
'en_PT' => 'Portugal - U.K. English',
|
214 |
-
'en_QA' => 'Qatar - U.K. English',
|
215 |
-
'en_CG' => 'Republic of the Congo - U.K. English',
|
216 |
-
'en_RE' => 'Reunion - U.K. English',
|
217 |
|
218 |
-
'en_RO' => 'Romania - U.K. English',
|
219 |
-
'en_RU' => 'Russia - U.K. English',
|
220 |
-
'en_RW' => 'Rwanda - U.K. English',
|
221 |
-
'en_VC' => 'Saint Vincent and the Grenadines - U.K. English',
|
222 |
-
'en_WS' => 'Samoa - U.K. English',
|
223 |
-
'en_SM' => 'San Marino - U.K. English',
|
224 |
-
'en_ST' => 'S�o Tom� and Pr�ncipe - U.K. English',
|
225 |
-
'en_SA' => 'Saudi Arabia - U.K. English',
|
226 |
-
'en_SN' => 'Senegal - U.K. English',
|
227 |
|
228 |
-
'en_SC' => 'Seychelles - U.K. English',
|
229 |
-
'en_SL' => 'Sierra Leone - U.K. English',
|
230 |
-
'en_SG' => 'Singapore - U.K. English',
|
231 |
-
'en_SK' => 'Slovakia - U.K. English',
|
232 |
-
'en_SI' => 'Slovenia - U.K. English',
|
233 |
-
'en_SB' => 'Solomon Islands - U.K. English',
|
234 |
-
'en_SO' => 'Somalia - U.K. English',
|
235 |
-
'en_ZA' => 'South Africa - U.K. English',
|
236 |
-
'en_KR' => 'South Korea - U.K. English',
|
237 |
|
238 |
-
'es_ES' => 'Spain - Spanish',
|
239 |
-
'
|
240 |
-
'en_LK' => 'Sri Lanka - U.K. English',
|
241 |
-
'en_SH' => 'St. Helena - U.K. English',
|
242 |
-
'en_KN' => 'St. Kitts and Nevis - U.K. English',
|
243 |
-
'en_LC' => 'St. Lucia - U.K. English',
|
244 |
-
'en_PM' => 'St. Pierre and Miquelon - U.K. English',
|
245 |
-
'en_SR' => 'Suriname - U.K. English',
|
246 |
-
'en_SJ' => 'Svalbard and Jan Mayen Islands - U.K. English',
|
247 |
|
248 |
-
'en_SZ' => 'Swaziland - U.K. English',
|
249 |
-
'en_SE' => 'Sweden - U.K. English',
|
250 |
-
'
|
251 |
-
'
|
252 |
-
'
|
253 |
-
'en_TW' => 'Taiwan - U.K. English',
|
254 |
-
'en_TJ' => 'Tajikistan - U.K. English',
|
255 |
-
'en_TZ' => 'Tanzania - U.K. English',
|
256 |
-
'en_TH' => 'Thailand - U.K. English',
|
257 |
|
258 |
-
'en_TG' => 'Togo - U.K. English',
|
259 |
-
'en_TO' => 'Tonga - U.K. English',
|
260 |
-
'en_TT' => 'Trinidad and Tobago - U.K. English',
|
261 |
-
'en_TN' => 'Tunisia - U.K. English',
|
262 |
-
'en_TR' => 'Turkey - U.K. English',
|
263 |
-
'en_TM' => 'Turkmenistan - U.K. English',
|
264 |
-
'en_TC' => 'Turks and Caicos Islands - U.K. English',
|
265 |
-
'en_TV' => 'Tuvalu - U.K. English',
|
266 |
-
'en_UG' => 'Uganda - U.K. English',
|
267 |
|
268 |
-
'en_UA' => 'Ukraine - U.K. English',
|
269 |
-
'en_AE' => 'United Arab Emirates - U.K. English',
|
270 |
-
'
|
271 |
-
'en_US' => 'United States - U.S. English'
|
272 |
-
'fr_US' => 'United States - French',
|
273 |
-
'es_US' => 'United States - Spanish',
|
274 |
-
'zh_US' => 'United States - Simplified Chinese',
|
275 |
-
'en_UY' => 'Uruguay - U.K. English',
|
276 |
-
'en_VU' => 'Vanuatu - U.K. English',
|
277 |
|
278 |
-
'en_VA' => 'Vatican City State - U.K. English',
|
279 |
-
'en_VE' => 'Venezuela - U.K. English',
|
280 |
-
'en_VN' => 'Vietnam - U.K. English',
|
281 |
-
'en_WF' => 'Wallis and Futuna Islands - U.K. English',
|
282 |
-
'en_YE' => 'Yemen - U.K. English',
|
283 |
-
'en_ZM' => 'Zambia - U.K. English');
|
284 |
/**
|
285 |
* Constructor
|
286 |
*
|
@@ -522,7 +523,7 @@ class paypal_donations {
|
|
522 |
<?php foreach ( $this->localized_buttons as $key => $localize ) {
|
523 |
echo '<option value="'.$key.'"';
|
524 |
if ($button_localized == $key) { echo ' selected="selected"'; }
|
525 |
-
echo '>'
|
526 |
}?></select>
|
527 |
<span class="setting-description"><br/><?php _e( 'Localize the language and the country for the button (Updated after saving the settings).', 'paypal-donations' ) ?></span></td>
|
528 |
</tr>
|
3 |
Plugin Name: PayPal Donations
|
4 |
Plugin URI: http://coding.cglounge.com/wordpress-plugins/paypal-donations/
|
5 |
Description: Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
|
6 |
+
Version: 1.4.1
|
7 |
Author: Johan Steen
|
8 |
Author URI: http://coding.cglounge.com/
|
9 |
Text Domain: paypal-donations
|
49 |
'CZK' => 'Czech Koruna',
|
50 |
'ILS' => 'Israeli Shekel',
|
51 |
'MXN' => 'Mexican Peso');
|
52 |
+
// Languages that PayPal default to en_US has been commented out for the time being.
|
53 |
+
var $localized_buttons = array(//'en_AL' => 'Albania - U.K. English',
|
54 |
+
//'en_DZ' => 'Algeria - U.K. English',
|
55 |
+
//'en_AD' => 'Andorra - U.K. English',
|
56 |
+
//'en_AO' => 'Angola - U.K. English',
|
57 |
+
//'en_AI' => 'Anguilla - U.K. English',
|
58 |
|
59 |
+
//'en_AG' => 'Antigua and Barbuda - U.K. English',
|
60 |
+
//'en_AR' => 'Argentina - U.K. English',
|
61 |
+
//'en_AM' => 'Armenia - U.K. English',
|
62 |
+
//'en_AW' => 'Aruba - U.K. English',
|
63 |
'en_AU' => 'Australia - Australian English',
|
64 |
+
'de_DE/AT' => 'Austria - German', //de_DE/AT/i/ (de_AT)
|
65 |
+
//'en_US/AT' => 'Austria - U.S. English', //en_US/AT/i/ (en_AT) -- ACTIVATE THIS ONE
|
66 |
+
//'en_AZ' => 'Azerbaijan Republic - U.K. English',
|
67 |
+
//'en_BS' => 'Bahamas - U.K. English',
|
68 |
|
69 |
+
//'en_BH' => 'Bahrain - U.K. English',
|
70 |
+
//'en_BB' => 'Barbados - U.K. English',
|
71 |
+
//'en_US/BE' => 'Belgium - U.S. English', //en_US/BE/i (en_BE) -- ACTIVATE THIS ONE
|
72 |
+
'nl_NL/BE' => 'Belgium - Dutch', //nl_NL/BE/i (nl_BE)
|
73 |
+
'fr_FR/BE' => 'Belgium - French', //fr_FR/BE/i (fr_BE)
|
74 |
+
//'en_BZ' => 'Belize - U.K. English',
|
75 |
+
//'en_BJ' => 'Benin - U.K. English',
|
76 |
+
//'en_BM' => 'Bermuda - U.K. English',
|
77 |
+
//'en_BT' => 'Bhutan - U.K. English',
|
78 |
|
79 |
+
//'en_BO' => 'Bolivia - U.K. English',
|
80 |
+
//'en_BA' => 'Bosnia and Herzegovina - U.K. English',
|
81 |
+
//'en_BW' => 'Botswana - U.K. English',
|
82 |
+
//'en_BR' => 'Brazil - U.K. English',
|
83 |
+
//'en_VG' => 'British Virgin Islands - U.K. English',
|
84 |
+
//'en_BN' => 'Brunei - U.K. English',
|
85 |
+
//'en_BG' => 'Bulgaria - U.K. English',
|
86 |
+
//'en_BF' => 'Burkina Faso - U.K. English',
|
87 |
+
//'en_BI' => 'Burundi - U.K. English',
|
88 |
|
89 |
+
//'en_KH' => 'Cambodia - U.K. English',
|
90 |
+
//'en_CA' => 'Canada - U.S. English',
|
91 |
+
'fr_XC' => 'Canada - French', //fr_XC/i (fr_CA)
|
92 |
+
//'en_CV' => 'Cape Verde - U.K. English',
|
93 |
+
//'en_KY' => 'Cayman Islands - U.K. English',
|
94 |
+
//'en_TD' => 'Chad - U.K. English',
|
95 |
+
//'en_CL' => 'Chile - U.K. English',
|
96 |
+
//'en_C2' => 'China - U.S. English',
|
97 |
+
'zh_XC' => 'China - Simplified Chinese', //zh_XC/i (zh_C2)
|
98 |
|
99 |
+
//'en_CO' => 'Colombia - U.K. English',
|
100 |
+
//'en_KM' => 'Comoros - U.K. English',
|
101 |
+
//'en_CK' => 'Cook Islands - U.K. English',
|
102 |
+
//'en_CR' => 'Costa Rica - U.K. English',
|
103 |
+
//'en_HR' => 'Croatia - U.K. English',
|
104 |
+
//'en_CY' => 'Cyprus - U.K. English',
|
105 |
+
//'en_CZ' => 'Czech Republic - U.K. English',
|
106 |
+
//'en_CD' => 'Democratic Republic of the Congo - U.K. English',
|
107 |
+
//'en_DK' => 'Denmark - U.K. English',
|
108 |
|
109 |
+
//'en_DJ' => 'Djibouti - U.K. English',
|
110 |
+
//'en_DM' => 'Dominica - U.K. English',
|
111 |
+
//'en_DO' => 'Dominican Republic - U.K. English',
|
112 |
+
//'en_EC' => 'Ecuador - U.K. English',
|
113 |
+
//'en_SV' => 'El Salvador - U.K. English',
|
114 |
+
//'en_ER' => 'Eritrea - U.K. English',
|
115 |
+
//'en_EE' => 'Estonia - U.K. English',
|
116 |
+
//'en_ET' => 'Ethiopia - U.K. English',
|
117 |
+
//'en_FK' => 'Falkland Islands - U.K. English',
|
118 |
|
119 |
+
//'en_FO' => 'Faroe Islands - U.K. English',
|
120 |
+
//'en_FM' => 'Federated States of Micronesia - U.K. English',
|
121 |
+
//'en_FJ' => 'Fiji - U.K. English',
|
122 |
+
//'en_FI' => 'Finland - U.K. English',
|
123 |
+
'fr_FR/FR' => 'France - French', //fr_FR/FR/i/ (fr_FR)
|
124 |
+
//'en_US/FR' => 'France - U.S. English', //en_US/FR/i/ (en_FR) -- ACTIVATE THIS ONE
|
125 |
+
//'en_GF' => 'French Guiana - U.K. English',
|
126 |
+
//'en_PF' => 'French Polynesia - U.K. English',
|
127 |
+
//'en_GA' => 'Gabon Republic - U.K. English',
|
128 |
|
129 |
+
//'en_GM' => 'Gambia - U.K. English',
|
130 |
+
'de_DE/DE' => 'Germany - German', //de_DE/DE/i (de_DE)
|
131 |
+
//'en_US/DE' => 'Germany - U.S. English', //en_US/DE/i (en_DE) -- ACTIVATE THIS ONE
|
132 |
+
//'en_GI' => 'Gibraltar - U.K. English',
|
133 |
+
//'en_GR' => 'Greece - U.K. English',
|
134 |
+
//'en_GL' => 'Greenland - U.K. English',
|
135 |
+
//'en_GD' => 'Grenada - U.K. English',
|
136 |
+
//'en_GP' => 'Guadeloupe - U.K. English',
|
137 |
+
//'en_GT' => 'Guatemala - U.K. English',
|
138 |
|
139 |
+
//'en_GN' => 'Guinea - U.K. English',
|
140 |
+
//'en_GW' => 'Guinea Bissau - U.K. English',
|
141 |
+
//'en_GY' => 'Guyana - U.K. English',
|
142 |
+
//'en_HN' => 'Honduras - U.K. English',
|
143 |
+
//'zh_HK/HK' => 'Hong Kong - Traditional Chinese', //zh_HK/HK/i (zh_HK) -- ACTIVATE THIS ONE
|
144 |
+
//'en_GB/HK' => 'Hong Kong - U.K. English', //en_GB/HK/i (en_HK) -- ACTIVATE THIS ONE
|
145 |
+
//'en_HU' => 'Hungary - U.K. English',
|
146 |
+
//'en_IS' => 'Iceland - U.K. English',
|
147 |
+
//'en_IN' => 'India - U.K. English',
|
148 |
|
149 |
+
//'en_ID' => 'Indonesia - U.K. English',
|
150 |
+
//'en_IE' => 'Ireland - U.K. English',
|
151 |
+
//'en_IL' => 'Israel - U.K. English',
|
152 |
+
'it_IT/IT' => 'Italy - Italian', //it_IT/IT/i (it_IT)
|
153 |
+
//'en_US/IT' => 'Italy - U.S. English', //en_US/IT/i (en_IT -- ACTIVATE THIS ONE
|
154 |
+
//'en_JM' => 'Jamaica - U.K. English',
|
155 |
+
'ja_JP/JP' => 'Japan - Japanese', //ja_JP/JP/i (ja_JP)
|
156 |
+
//'en_US/JP' => 'Japan - U.S. English', //en_US/JP/i (en_JP) -- ACTIVATE THIS ONE
|
157 |
+
//'en_JO' => 'Jordan - U.K. English',
|
158 |
|
159 |
+
//'en_KZ' => 'Kazakhstan - U.K. English',
|
160 |
+
//'en_KE' => 'Kenya - U.K. English',
|
161 |
+
//'en_KI' => 'Kiribati - U.K. English',
|
162 |
+
//'en_KW' => 'Kuwait - U.K. English',
|
163 |
+
//'en_KG' => 'Kyrgyzstan - U.K. English',
|
164 |
+
//'en_LA' => 'Laos - U.K. English',
|
165 |
+
//'en_LV' => 'Latvia - U.K. English',
|
166 |
+
//'en_LS' => 'Lesotho - U.K. English',
|
167 |
+
//'en_LI' => 'Liechtenstein - U.K. English',
|
168 |
|
169 |
+
//'en_LT' => 'Lithuania - U.K. English',
|
170 |
+
//'en_LU' => 'Luxembourg - U.K. English',
|
171 |
+
//'en_MG' => 'Madagascar - U.K. English',
|
172 |
+
//'en_MW' => 'Malawi - U.K. English',
|
173 |
+
//'en_MY' => 'Malaysia - U.K. English',
|
174 |
+
//'en_MV' => 'Maldives - U.K. English',
|
175 |
+
//'en_ML' => 'Mali - U.K. English',
|
176 |
+
//'en_MT' => 'Malta - U.K. English',
|
177 |
+
//'en_MH' => 'Marshall Islands - U.K. English',
|
178 |
|
179 |
+
//'en_MQ' => 'Martinique - U.K. English',
|
180 |
+
//'en_MR' => 'Mauritania - U.K. English',
|
181 |
+
//'en_MU' => 'Mauritius - U.K. English',
|
182 |
+
//'en_YT' => 'Mayotte - U.K. English',
|
183 |
+
'es_XC' => 'Mexico - Spanish', //es_XC/i (es_MX)
|
184 |
+
//'en_MX' => 'Mexico - U.S. English',
|
185 |
+
//'en_MN' => 'Mongolia - U.K. English',
|
186 |
+
//'en_MS' => 'Montserrat - U.K. English',
|
187 |
+
//'en_MA' => 'Morocco - U.K. English',
|
188 |
|
189 |
+
//'en_MZ' => 'Mozambique - U.K. English',
|
190 |
+
//'en_NA' => 'Namibia - U.K. English',
|
191 |
+
//'en_NR' => 'Nauru - U.K. English',
|
192 |
+
//'en_NP' => 'Nepal - U.K. English',
|
193 |
+
'nl_NL/NL' => 'Netherlands - Dutch', //nl_NL/NL/i (nl_NL)
|
194 |
+
//'en_US/NL' => 'Netherlands - U.S. English', //en_US/NL/i (en_NL) -- ACTIVATE THIS ONE
|
195 |
+
//'en_AN' => 'Netherlands Antilles - U.K. English',
|
196 |
+
//'en_NC' => 'New Caledonia - U.K. English',
|
197 |
+
//'en_NZ' => 'New Zealand - U.K. English',
|
198 |
|
199 |
+
//'en_NI' => 'Nicaragua - U.K. English',
|
200 |
+
//'en_NE' => 'Niger - U.K. English',
|
201 |
+
//'en_NU' => 'Niue - U.K. English',
|
202 |
+
//'en_NF' => 'Norfolk Island - U.K. English',
|
203 |
+
//'en_NO' => 'Norway - U.K. English',
|
204 |
+
//'en_OM' => 'Oman - U.K. English',
|
205 |
+
//'en_PW' => 'Palau - U.K. English',
|
206 |
+
//'en_PA' => 'Panama - U.K. English',
|
207 |
+
//'en_PG' => 'Papua New Guinea - U.K. English',
|
208 |
|
209 |
+
//'en_PE' => 'Peru - U.K. English',
|
210 |
+
//'en_PH' => 'Philippines - U.K. English',
|
211 |
+
//'en_PN' => 'Pitcairn Islands - U.K. English',
|
212 |
+
'pl_PL/PL' => 'Poland - Polish', //pl_PL/PL/i (pl_PL)
|
213 |
+
//'en_US/PL' => 'Poland - U.S. English', //en_US/PL/i (en_PL) -- ACTIVATE THIS ONE
|
214 |
+
//'en_PT' => 'Portugal - U.K. English',
|
215 |
+
//'en_QA' => 'Qatar - U.K. English',
|
216 |
+
//'en_CG' => 'Republic of the Congo - U.K. English',
|
217 |
+
//'en_RE' => 'Reunion - U.K. English',
|
218 |
|
219 |
+
//'en_RO' => 'Romania - U.K. English',
|
220 |
+
//'en_RU' => 'Russia - U.K. English',
|
221 |
+
//'en_RW' => 'Rwanda - U.K. English',
|
222 |
+
//'en_VC' => 'Saint Vincent and the Grenadines - U.K. English',
|
223 |
+
//'en_WS' => 'Samoa - U.K. English',
|
224 |
+
//'en_SM' => 'San Marino - U.K. English',
|
225 |
+
//'en_ST' => 'S�o Tom� and Pr�ncipe - U.K. English',
|
226 |
+
//'en_SA' => 'Saudi Arabia - U.K. English',
|
227 |
+
//'en_SN' => 'Senegal - U.K. English',
|
228 |
|
229 |
+
//'en_SC' => 'Seychelles - U.K. English',
|
230 |
+
//'en_SL' => 'Sierra Leone - U.K. English',
|
231 |
+
//'en_SG' => 'Singapore - U.K. English',
|
232 |
+
//'en_SK' => 'Slovakia - U.K. English',
|
233 |
+
//'en_SI' => 'Slovenia - U.K. English',
|
234 |
+
//'en_SB' => 'Solomon Islands - U.K. English',
|
235 |
+
//'en_SO' => 'Somalia - U.K. English',
|
236 |
+
//'en_ZA' => 'South Africa - U.K. English',
|
237 |
+
//'en_KR' => 'South Korea - U.K. English',
|
238 |
|
239 |
+
'es_ES/ES' => 'Spain - Spanish', //es_ES/ES/i (es_ES)
|
240 |
+
//'en_US/ES' => 'Spain - U.S. English', //en_US/ES/i (en_ES) -- ACTIVATE THIS ONE
|
241 |
+
//'en_LK' => 'Sri Lanka - U.K. English',
|
242 |
+
//'en_SH' => 'St. Helena - U.K. English',
|
243 |
+
//'en_KN' => 'St. Kitts and Nevis - U.K. English',
|
244 |
+
//'en_LC' => 'St. Lucia - U.K. English',
|
245 |
+
//'en_PM' => 'St. Pierre and Miquelon - U.K. English',
|
246 |
+
//'en_SR' => 'Suriname - U.K. English',
|
247 |
+
//'en_SJ' => 'Svalbard and Jan Mayen Islands - U.K. English',
|
248 |
|
249 |
+
//'en_SZ' => 'Swaziland - U.K. English',
|
250 |
+
//'en_SE' => 'Sweden - U.K. English',
|
251 |
+
'de_DE/CH' => 'Switzerland - German', //de_DE/CH/i (de_CH)
|
252 |
+
'fr_FR/CH' => 'Switzerland - French', //fr_FR/CH/i (fr_CH)
|
253 |
+
//'en_US/CH' => 'Switzerland - U.S. English', //en_US/CH/i (en_CH) -- ACTIVATE THIS ONE
|
254 |
+
//'en_TW' => 'Taiwan - U.K. English',
|
255 |
+
//'en_TJ' => 'Tajikistan - U.K. English',
|
256 |
+
//'en_TZ' => 'Tanzania - U.K. English',
|
257 |
+
//'en_TH' => 'Thailand - U.K. English',
|
258 |
|
259 |
+
//'en_TG' => 'Togo - U.K. English',
|
260 |
+
//'en_TO' => 'Tonga - U.K. English',
|
261 |
+
//'en_TT' => 'Trinidad and Tobago - U.K. English',
|
262 |
+
//'en_TN' => 'Tunisia - U.K. English',
|
263 |
+
//'en_TR' => 'Turkey - U.K. English',
|
264 |
+
//'en_TM' => 'Turkmenistan - U.K. English',
|
265 |
+
//'en_TC' => 'Turks and Caicos Islands - U.K. English',
|
266 |
+
//'en_TV' => 'Tuvalu - U.K. English',
|
267 |
+
//'en_UG' => 'Uganda - U.K. English',
|
268 |
|
269 |
+
//'en_UA' => 'Ukraine - U.K. English',
|
270 |
+
//'en_AE' => 'United Arab Emirates - U.K. English',
|
271 |
+
//'en_US/GB' => 'United Kingdom - U.K. English', //en_US/GB/i (en_GB) -- ACTIVATE THIS ONE
|
272 |
+
'en_US' => 'United States - U.S. English');
|
273 |
+
//'fr_US' => 'United States - French', //fr_XC/i
|
274 |
+
//'es_US' => 'United States - Spanish', //es_XC/i
|
275 |
+
//'zh_US' => 'United States - Simplified Chinese', //zh_XC/i
|
276 |
+
//'en_UY' => 'Uruguay - U.K. English',
|
277 |
+
//'en_VU' => 'Vanuatu - U.K. English',
|
278 |
|
279 |
+
//'en_VA' => 'Vatican City State - U.K. English',
|
280 |
+
//'en_VE' => 'Venezuela - U.K. English',
|
281 |
+
//'en_VN' => 'Vietnam - U.K. English',
|
282 |
+
//'en_WF' => 'Wallis and Futuna Islands - U.K. English',
|
283 |
+
//'en_YE' => 'Yemen - U.K. English',
|
284 |
+
//'en_ZM' => 'Zambia - U.K. English');
|
285 |
/**
|
286 |
* Constructor
|
287 |
*
|
523 |
<?php foreach ( $this->localized_buttons as $key => $localize ) {
|
524 |
echo '<option value="'.$key.'"';
|
525 |
if ($button_localized == $key) { echo ' selected="selected"'; }
|
526 |
+
echo '>'.$localize.'</option>';
|
527 |
}?></select>
|
528 |
<span class="setting-description"><br/><?php _e( 'Localize the language and the country for the button (Updated after saving the settings).', 'paypal-donations' ) ?></span></td>
|
529 |
</tr>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://coding.cglounge.com/wordpress-plugins/paypal-donations/#pint
|
|
4 |
Tags: paypal, donation, shortcode, widget, donate, button, sidebar
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.8.4
|
7 |
-
Stable tag: 1.4
|
8 |
|
9 |
Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
|
10 |
|
@@ -60,6 +60,9 @@ Please visit [PayPal Donations' Comments](http://coding.cglounge.com/wordpress-p
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
63 |
= Version 1.4 - 6 Sep 2009 =
|
64 |
* Added a dropdown menu to select country and language to localize the graphics of the donation button.
|
65 |
|
4 |
Tags: paypal, donation, shortcode, widget, donate, button, sidebar
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 2.8.4
|
7 |
+
Stable tag: 1.4.1
|
8 |
|
9 |
Easy and simple setup and insertion of PayPal donate buttons with a shortcode or through a sidebar Widget. Donation purpose can be set for each button. A few other customization options are available as well.
|
10 |
|
60 |
|
61 |
== Changelog ==
|
62 |
|
63 |
+
= Version 1.4.1 - 6 Sep 2009 =
|
64 |
+
* Corrected available language translations for the button graphics.
|
65 |
+
|
66 |
= Version 1.4 - 6 Sep 2009 =
|
67 |
* Added a dropdown menu to select country and language to localize the graphics of the donation button.
|
68 |
|