Version Description
Download this release
Release Info
Developer | artstorm |
Plugin | PayPal Donations |
Version | 1.4.9.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.9.4 to 1.4.9.5
- languages/paypal-donations-lt_LT.mo +0 -0
- languages/paypal-donations-lt_LT.po +165 -0
- paypal-donations.php +10 -17
- readme.txt +9 -2
languages/paypal-donations-lt_LT.mo
ADDED
Binary file
|
languages/paypal-donations-lt_LT.po
ADDED
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: PayPal Donations v1.3.2\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2011-09-02 19:37+0200\n"
|
7 |
+
"Last-Translator: Alexandr K.\n"
|
8 |
+
"Language-Team: Nata Strazda <nata@epastas.lt>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Poedit-Language: Lithuanian\n"
|
14 |
+
"X-Poedit-Country: LITHUANIA\n"
|
15 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
16 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Poedit-Basepath: ../\n"
|
18 |
+
"X-Textdomain-Support: yes\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#@ paypal-donations
|
22 |
+
#: paypal-donations.php:94
|
23 |
+
msgid "PayPal Donations requires WordPress version 2.7 or later!"
|
24 |
+
msgstr "Dovanas per PayPal reikia WordPress versija 2.7 arba naujesnė versija!"
|
25 |
+
|
26 |
+
#@ paypal-donations
|
27 |
+
#: paypal-donations.php:201
|
28 |
+
msgid "The PayPal Donations settings have been updated."
|
29 |
+
msgstr "Dovanas per PayPal nustatymai buvo atnaujinti."
|
30 |
+
|
31 |
+
#@ paypal-donations
|
32 |
+
#: paypal-donations.php:212
|
33 |
+
msgid "PayPal Account"
|
34 |
+
msgstr "PayPal konto"
|
35 |
+
|
36 |
+
#@ paypal-donations
|
37 |
+
#: paypal-donations.php:213
|
38 |
+
msgid "Your PayPal email address or your PayPal secure merchant account ID."
|
39 |
+
msgstr "Sinu PayPali aadressile või oma PayPal turvaline kaupmees konto ID."
|
40 |
+
|
41 |
+
#@ paypal-donations
|
42 |
+
#: paypal-donations.php:216
|
43 |
+
msgid "Currency"
|
44 |
+
msgstr "raha"
|
45 |
+
|
46 |
+
#@ paypal-donations
|
47 |
+
#: paypal-donations.php:224
|
48 |
+
msgid "The currency to use for the donations."
|
49 |
+
msgstr "Valuuta kasutada annetused."
|
50 |
+
|
51 |
+
#@ paypal-donations
|
52 |
+
#: paypal-donations.php:228
|
53 |
+
msgid "Optional Settings"
|
54 |
+
msgstr "valikseaded"
|
55 |
+
|
56 |
+
#@ paypal-donations
|
57 |
+
#: paypal-donations.php:231
|
58 |
+
msgid "Page Style"
|
59 |
+
msgstr "Page Style"
|
60 |
+
|
61 |
+
#@ paypal-donations
|
62 |
+
#: paypal-donations.php:232
|
63 |
+
msgid "Specify the name of a custom payment page style from your PayPal account profile."
|
64 |
+
msgstr "Specify the name of a custom payment page style from your PayPal account profile."
|
65 |
+
|
66 |
+
#@ paypal-donations
|
67 |
+
#: paypal-donations.php:235
|
68 |
+
msgid "Return Page"
|
69 |
+
msgstr "tagasi Page"
|
70 |
+
|
71 |
+
#@ paypal-donations
|
72 |
+
#: paypal-donations.php:236
|
73 |
+
msgid "URL to which the donator comes to after completing the donation; for example, a URL on your site that displays a \"Thank you for your donation\"."
|
74 |
+
msgstr "URL Teikėjos ateina baigę donorystės, pavyzdžiui, URL jūsų svetainėje, kad rodo \"Dėkojame už jūsų donorystės\"."
|
75 |
+
|
76 |
+
#@ paypal-donations
|
77 |
+
#: paypal-donations.php:240
|
78 |
+
msgid "Defaults"
|
79 |
+
msgstr "vaikimisi"
|
80 |
+
|
81 |
+
#@ paypal-donations
|
82 |
+
#: paypal-donations.php:243
|
83 |
+
msgid "Amount"
|
84 |
+
msgstr "summa"
|
85 |
+
|
86 |
+
#@ paypal-donations
|
87 |
+
#: paypal-donations.php:244
|
88 |
+
msgid "The default amount for a donation (Optional)."
|
89 |
+
msgstr "Default summa annetuse (valikuline)."
|
90 |
+
|
91 |
+
#@ paypal-donations
|
92 |
+
#: paypal-donations.php:247
|
93 |
+
msgid "Purpose"
|
94 |
+
msgstr "eesmärk"
|
95 |
+
|
96 |
+
#@ paypal-donations
|
97 |
+
#: paypal-donations.php:248
|
98 |
+
msgid "The default purpose of a donation (Optional)."
|
99 |
+
msgstr "Default eesmärk annetuse (valikuline)."
|
100 |
+
|
101 |
+
#@ paypal-donations
|
102 |
+
#: paypal-donations.php:251
|
103 |
+
msgid "Reference"
|
104 |
+
msgstr "viide"
|
105 |
+
|
106 |
+
#@ paypal-donations
|
107 |
+
#: paypal-donations.php:252
|
108 |
+
msgid "Default reference for the donation (Optional)."
|
109 |
+
msgstr "Vaikimisi viide annetamise EEST (valikuline)."
|
110 |
+
|
111 |
+
#@ paypal-donations
|
112 |
+
#: paypal-donations.php:256
|
113 |
+
msgid "Donation Button"
|
114 |
+
msgstr "donorystės mygtukas"
|
115 |
+
|
116 |
+
#@ paypal-donations
|
117 |
+
#: paypal-donations.php:259
|
118 |
+
msgid "Select Button"
|
119 |
+
msgstr "SELECT mygtukas"
|
120 |
+
|
121 |
+
#@ paypal-donations
|
122 |
+
#: paypal-donations.php:276
|
123 |
+
msgid "Custom Button:"
|
124 |
+
msgstr "Pasirinktinis mygtukas:"
|
125 |
+
|
126 |
+
#@ paypal-donations
|
127 |
+
#: paypal-donations.php:279
|
128 |
+
msgid "Enter a URL to a custom donation button."
|
129 |
+
msgstr "Įveskite URL individualizuotos donorystės mygtuką."
|
130 |
+
|
131 |
+
#@ paypal-donations
|
132 |
+
#: paypal-donations.php:286
|
133 |
+
msgid "Save Changes"
|
134 |
+
msgstr "išsaugoti pakeitimus"
|
135 |
+
|
136 |
+
#@ paypal-donations
|
137 |
+
#: paypal-donations.php:306
|
138 |
+
msgid "PayPal Donation Button"
|
139 |
+
msgstr "PayPal donorystės mygtukas"
|
140 |
+
|
141 |
+
#@ paypal-donations
|
142 |
+
#: paypal-donations.php:359
|
143 |
+
msgid "Donate"
|
144 |
+
msgstr "aukoti"
|
145 |
+
|
146 |
+
#@ paypal-donations
|
147 |
+
#: paypal-donations.php:363
|
148 |
+
msgid "Title:"
|
149 |
+
msgstr "pavadinimas:"
|
150 |
+
|
151 |
+
#@ paypal-donations
|
152 |
+
#: paypal-donations.php:369
|
153 |
+
msgid "Text:"
|
154 |
+
msgstr "tekstas:"
|
155 |
+
|
156 |
+
#@ paypal-donations
|
157 |
+
#: paypal-donations.php:375
|
158 |
+
msgid "Purpose:"
|
159 |
+
msgstr "tikslas:"
|
160 |
+
|
161 |
+
#@ paypal-donations
|
162 |
+
#: paypal-donations.php:381
|
163 |
+
msgid "Reference:"
|
164 |
+
msgstr "nuoroda:"
|
165 |
+
|
paypal-donations.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: PayPal Donations
|
4 |
Plugin URI: http://wpstorm.net/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.9.
|
7 |
Author: Johan Steen
|
8 |
Author URI: http://wpstorm.net/
|
9 |
Text Domain: paypal-donations
|
@@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
26 |
*/
|
27 |
|
28 |
|
29 |
-
class
|
30 |
var $plugin_options = 'paypal_donations_options';
|
31 |
var $donate_buttons = array('small' => 'https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif',
|
32 |
'large' => 'https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif',
|
@@ -70,12 +70,8 @@ class paypal_donations {
|
|
70 |
'de_DE/CH' => 'Switzerland - German',
|
71 |
'fr_FR/CH' => 'Switzerland - French',
|
72 |
'en_US' => 'United States - U.S. English');
|
73 |
-
|
74 |
-
|
75 |
-
*
|
76 |
-
*/
|
77 |
-
function paypal_donations()
|
78 |
-
{
|
79 |
// define URL
|
80 |
define('paypal_donations_ABSPATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
81 |
define('paypal_donations_URLPATH', WP_PLUGIN_URL.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
@@ -85,12 +81,10 @@ class paypal_donations {
|
|
85 |
|
86 |
// Check installed Wordpress version.
|
87 |
global $wp_version;
|
88 |
-
if ( version_compare($wp_version, '2.7', '>=') )
|
89 |
-
// include_once (dirname (__FILE__)."/tinymce/tinymce.php");
|
90 |
$this->init_hooks();
|
91 |
-
|
92 |
$this->version_warning();
|
93 |
-
}
|
94 |
}
|
95 |
|
96 |
/**
|
@@ -155,7 +149,7 @@ class paypal_donations {
|
|
155 |
|
156 |
# Build the button
|
157 |
$paypal_btn = "\n<!-- Begin PayPal Donations by http://wpstorm.net/ -->\n";
|
158 |
-
$paypal_btn .= '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">';
|
159 |
$paypal_btn .= '<div class="paypal-donations">';
|
160 |
$paypal_btn .= '<input type="hidden" name="cmd" value="_donations" />';
|
161 |
$paypal_btn .= '<input type="hidden" name="business" value="' .$pd_options['paypal_account']. '" />';
|
@@ -170,7 +164,7 @@ class paypal_donations {
|
|
170 |
if ($reference)
|
171 |
$paypal_btn .= '<input type="hidden" name="item_number" value="' .$reference. '" />'; // LightWave Plugin
|
172 |
if ($amount)
|
173 |
-
$paypal_btn .=
|
174 |
|
175 |
// More Settings
|
176 |
if (isset($pd_options['currency_code']))
|
@@ -199,9 +193,8 @@ class paypal_donations {
|
|
199 |
*
|
200 |
*/
|
201 |
function wp_admin() {
|
202 |
-
if (function_exists('add_options_page'))
|
203 |
add_options_page( 'PayPal Donations Options', 'PayPal Donations', 'administrator', __FILE__, array(&$this, 'options_page') );
|
204 |
-
}
|
205 |
}
|
206 |
|
207 |
function admin_message($message) {
|
@@ -440,7 +433,7 @@ function paypal_donations_deinstall() {
|
|
440 |
}
|
441 |
|
442 |
// Start the Plugin
|
443 |
-
add_action( 'plugins_loaded', create_function( '', 'global $paypal_donations; $paypal_donations = new
|
444 |
|
445 |
/**
|
446 |
* For backwards compability with earlier WordPress Versions
|
3 |
Plugin Name: PayPal Donations
|
4 |
Plugin URI: http://wpstorm.net/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.9.5
|
7 |
Author: Johan Steen
|
8 |
Author URI: http://wpstorm.net/
|
9 |
Text Domain: paypal-donations
|
26 |
*/
|
27 |
|
28 |
|
29 |
+
class Paypal_Donations {
|
30 |
var $plugin_options = 'paypal_donations_options';
|
31 |
var $donate_buttons = array('small' => 'https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif',
|
32 |
'large' => 'https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif',
|
70 |
'de_DE/CH' => 'Switzerland - German',
|
71 |
'fr_FR/CH' => 'Switzerland - French',
|
72 |
'en_US' => 'United States - U.S. English');
|
73 |
+
|
74 |
+
public function __construct() {
|
|
|
|
|
|
|
|
|
75 |
// define URL
|
76 |
define('paypal_donations_ABSPATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
77 |
define('paypal_donations_URLPATH', WP_PLUGIN_URL.'/'.plugin_basename( dirname(__FILE__) ).'/' );
|
81 |
|
82 |
// Check installed Wordpress version.
|
83 |
global $wp_version;
|
84 |
+
if ( version_compare($wp_version, '2.7', '>=') )
|
|
|
85 |
$this->init_hooks();
|
86 |
+
else
|
87 |
$this->version_warning();
|
|
|
88 |
}
|
89 |
|
90 |
/**
|
149 |
|
150 |
# Build the button
|
151 |
$paypal_btn = "\n<!-- Begin PayPal Donations by http://wpstorm.net/ -->\n";
|
152 |
+
$paypal_btn .= '<form action="' . apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr') . '" method="post">';
|
153 |
$paypal_btn .= '<div class="paypal-donations">';
|
154 |
$paypal_btn .= '<input type="hidden" name="cmd" value="_donations" />';
|
155 |
$paypal_btn .= '<input type="hidden" name="business" value="' .$pd_options['paypal_account']. '" />';
|
164 |
if ($reference)
|
165 |
$paypal_btn .= '<input type="hidden" name="item_number" value="' .$reference. '" />'; // LightWave Plugin
|
166 |
if ($amount)
|
167 |
+
$paypal_btn .= '<input type="hidden" name="amount" value="' . apply_filters( 'paypal_donations_amount', $amount ) . '" />';
|
168 |
|
169 |
// More Settings
|
170 |
if (isset($pd_options['currency_code']))
|
193 |
*
|
194 |
*/
|
195 |
function wp_admin() {
|
196 |
+
if (function_exists('add_options_page'))
|
197 |
add_options_page( 'PayPal Donations Options', 'PayPal Donations', 'administrator', __FILE__, array(&$this, 'options_page') );
|
|
|
198 |
}
|
199 |
|
200 |
function admin_message($message) {
|
433 |
}
|
434 |
|
435 |
// Start the Plugin
|
436 |
+
add_action( 'plugins_loaded', create_function( '', 'global $paypal_donations; $paypal_donations = new Paypal_Donations();' ) );
|
437 |
|
438 |
/**
|
439 |
* For backwards compability with earlier WordPress Versions
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: artstorm
|
|
3 |
Donate link: http://wpstorm.net/wordpress-plugins/paypal-donations/#donation
|
4 |
Tags: paypal, donation, shortcode, widget, donate, button, sidebar
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to: 3.1
|
7 |
-
Stable tag: 1.4.9.
|
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,13 @@ Please visit [PayPal Donations' Comments](http://wpstorm.net/wordpress-plugins/p
|
|
60 |
|
61 |
== Changelog ==
|
62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
= Version 1.4.9.4 - 22 May 2011 =
|
64 |
* Included Norwegian translations by [Tore Johnny Bråtveit](http://www.punktlig-ikt.no/).
|
65 |
|
3 |
Donate link: http://wpstorm.net/wordpress-plugins/paypal-donations/#donation
|
4 |
Tags: paypal, donation, shortcode, widget, donate, button, sidebar
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 3.2.1
|
7 |
+
Stable tag: 1.4.9.5
|
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 |
+
|
64 |
+
= Version 1.4.9.5 - 3 Sep 2011 =
|
65 |
+
* Added filter 'paypal_donations_url', to hook into the URL used, to be able to try the button against PayPal's Sandbox for instance.
|
66 |
+
* Added filter 'paypal_donations_amount', to hook into the set amount before rendering the button.
|
67 |
+
* Included Lithuanian translation by [Nata Strazda](http://www.webhostinghub.com/).
|
68 |
+
* Changed the plugin class name from paypal_donations to Paypal_Donations.
|
69 |
+
|
70 |
= Version 1.4.9.4 - 22 May 2011 =
|
71 |
* Included Norwegian translations by [Tore Johnny Bråtveit](http://www.punktlig-ikt.no/).
|
72 |
|