PayPal Donations - Version 1.8.5

Version Description

Download this release

Release Info

Developer artstorm
Plugin Icon 128x128 PayPal Donations
Version 1.8.5
Comparing to
See all releases

Code changes from version 1.8.4 to 1.8.5

lang/paypal-donations-sv_SE.mo CHANGED
Binary file
lang/paypal-donations-sv_SE.po CHANGED
@@ -1,60 +1,80 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PayPal Donations\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/paypal-donations\n"
5
- "POT-Creation-Date: 2013-03-09 16:48+0700\n"
6
- "PO-Revision-Date: \n"
7
  "Last-Translator: < >\n"
8
  "Language-Team: \n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.5.5\n"
14
 
15
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:106
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  msgid "Account Setup"
17
  msgstr "Konto inställningar"
18
 
19
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:112
20
  msgid "PayPal Account"
21
  msgstr "PayPal Konto"
22
 
23
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:119
24
- #, fuzzy
25
  msgid "Your PayPal Email or Secure Merchant Account ID."
26
- msgstr "Din PayPal epost adress eller ditt PayPal secure merchant konto ID."
27
 
28
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:126
29
  msgid "Currency"
30
  msgstr "Valuta"
31
 
32
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:133
33
  msgid "The currency to use for the donations."
34
  msgstr "Valutan som doneringarna ska ges i."
35
 
36
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:141
37
  msgid "Optional Settings"
38
  msgstr "Valfria inställningar"
39
 
40
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:147
41
  msgid "Page Style"
42
  msgstr "Sido Stil"
43
 
44
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:154
45
- #, fuzzy
46
  msgid ""
47
  "The name of a custom payment page style that exist in your\n"
48
  " PayPal account profile."
49
  msgstr ""
50
  "Ange namnet av en egen sidostil för betalningar i din PayPal konto profil."
51
 
52
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:162
53
  msgid "Return Page"
54
  msgstr "Återvändings Sida"
55
 
56
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:169
57
- #, fuzzy
58
  msgid ""
59
  "URL to which the donator comes to after completing the\n"
60
  " donation; for example, a URL on your site that displays "
@@ -64,173 +84,125 @@ msgstr ""
64
  "URL som den som har donerat kommer till efter att ha fullföljt donationen; "
65
  "till exempel, en URL på din sajt som visar ett \"Tack för din donation\"."
66
 
67
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:179
68
  msgid "Defaults"
69
  msgstr "Förval"
70
 
71
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:185
72
  msgid "Amount"
73
  msgstr "Summa"
74
 
75
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:192
76
  msgid "The default amount for a donation (Optional)."
77
  msgstr "Den förvalda summan för en donation (Valfri)."
78
 
79
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:199
80
  msgid "Purpose"
81
  msgstr "Syfte"
82
 
83
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:206
84
  msgid "The default purpose of a donation (Optional)."
85
  msgstr "Det förvalda syftet för en donering (Valfri)."
86
 
87
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:213
88
  msgid "Reference"
89
  msgstr "Referens"
90
 
91
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:220
92
  msgid "Default reference for the donation (Optional)."
93
  msgstr "Den förvalda referensen för en donering (Valfri)."
94
 
95
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:228
96
  msgid "Donation Button"
97
  msgstr "Donerings Knapp"
98
 
99
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:234
100
  msgid "Select Button"
101
  msgstr "Välj Knapp"
102
 
103
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:245
104
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:494
105
  msgid "Custom Button"
106
  msgstr "Egen Knapp"
107
 
108
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:252
109
  msgid "Enter a URL to a custom donation button."
110
  msgstr "Ange en URL till en egen donerings knapp."
111
 
112
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:259
113
  msgid "Country and Language"
114
  msgstr "Land och Språk"
115
 
116
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:266
117
  msgid "Localize the language and the country for the button."
118
  msgstr "Ställ in språk och land för knappen."
119
 
120
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:281
121
  msgid "Extras"
122
  msgstr "Extra"
123
 
124
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:287
125
  msgid "Disable PayPal Statistics"
126
  msgstr "Stäng av PayPals statistik insamling"
127
 
128
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:298
129
  msgid "Theme CSS Override: Center Button"
130
  msgstr "Lägg till CSS som överskrider temat: Centrera knappen"
131
 
132
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  msgid "Enable Checkout Language"
134
  msgstr "Aktivera språk för checkout"
135
 
136
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:320
137
  msgid "Checkout Language"
138
  msgstr "Sätt språk för checkout"
139
 
140
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:331
141
  msgid "Return Method"
142
  msgstr "Återvändnings metod"
143
 
144
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:338
145
  msgid "Takes effect only if the return page is set."
146
  msgstr "Är bara aktuell om återvändnings sida är inställt."
147
 
148
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:356
149
  msgid "Required fields."
150
  msgstr "Dessa fällt måste fyllas i."
151
 
152
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:368
153
- msgid ""
154
- "Optional extra settings to fine tune the setup in certain\n"
155
- " scenarios."
156
  msgstr ""
157
  "Valfria extra inställningar att finjustera pluginet med under vissa "
158
  "omständigheter."
159
 
160
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:611
161
  msgid "GET method (default)"
162
  msgstr "GET metod (standard)"
163
 
164
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:612
165
  msgid "GET method, no variables"
166
  msgstr "GET metod, inga variabler"
167
 
168
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Admin.php:613
169
  msgid "POST method"
170
  msgstr "POST metod"
171
 
172
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Widget.php:17
173
  msgid "PayPal Donation Button"
174
  msgstr "PayPal Donerings Knapp"
175
 
176
- #: D:\Dropbox\Code\WordPress\paypal-donations/lib/PayPalDonations/Widget.php:86
177
  msgid "Donate"
178
  msgstr "Donera"
179
-
180
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/admin.php:8
181
- msgid "General"
182
- msgstr "Allmänt"
183
-
184
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/admin.php:9
185
- msgid "Advanced"
186
- msgstr "Avancerad"
187
-
188
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/widget-form.php:2
189
- msgid "Title:"
190
- msgstr "Titel:"
191
-
192
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/widget-form.php:8
193
- msgid "Text:"
194
- msgstr "Text:"
195
-
196
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/widget-form.php:14
197
- msgid "Purpose:"
198
- msgstr "Syfte:"
199
-
200
- #: D:\Dropbox\Code\WordPress\paypal-donations/views/widget-form.php:20
201
- msgid "Reference:"
202
- msgstr "Referens:"
203
-
204
- #~ msgid "Save Changes"
205
- #~ msgstr "Spara Ändringar"
206
-
207
- #~ msgid "The PayPal Donations settings have been updated."
208
- #~ msgstr "PayPal Donation inställningarna har uppdaterats."
209
-
210
- #~ msgid "PayPal Donations"
211
- #~ msgstr "PayPal Donations"
212
-
213
- #~ msgid "http://wpstorm.net/wordpress-plugins/paypal-donations/"
214
- #~ msgstr "http://wpstorm.net/wordpress-plugins/paypal-donations/"
215
-
216
- #~ msgid ""
217
- #~ "Easy and simple setup and insertion of PayPal donate buttons with a "
218
- #~ "shortcode or through a sidebar Widget. Donation purpose can be set for "
219
- #~ "each button. A few other customization options are available as well."
220
- #~ msgstr ""
221
- #~ "Snabb och enkel installation och konfigurering av PayPal donerings "
222
- #~ "knappar med en shortcode eller en Widget i sidopanelen. Syftet för "
223
- #~ "doneringen kan defineras för varje knapp. Ett par andra inställningar är "
224
- #~ "också tillgängliga."
225
-
226
- #~ msgid "Johan Steen"
227
- #~ msgstr "Johan Steen"
228
-
229
- #~ msgid "http://johansteen.se/"
230
- #~ msgstr "http://johansteen.se/"
231
-
232
- #~ msgid "PayPal Donations requires WordPress version 2.7 or later!"
233
- #~ msgstr "PayPal Donations kräver WordPress version 2.7 eller nyare!"
234
-
235
- #~ msgid "http://coding.cglounge.com/"
236
- #~ msgstr "http://coding.cglounge.com/"
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: PayPal Donations\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-09-21 10:02+0700\n"
6
+ "PO-Revision-Date: 2014-09-21 10:03+0700\n"
7
  "Last-Translator: < >\n"
8
  "Language-Team: \n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
 
13
 
14
+ #: views/admin.php:8
15
+ msgid "General"
16
+ msgstr "Allmänt"
17
+
18
+ #: views/admin.php:9
19
+ msgid "Advanced"
20
+ msgstr "Avancerad"
21
+
22
+ #: views/widget-form.php:2
23
+ msgid "Title:"
24
+ msgstr "Titel:"
25
+
26
+ #: views/widget-form.php:8
27
+ msgid "Text:"
28
+ msgstr "Text:"
29
+
30
+ #: views/widget-form.php:14
31
+ msgid "Purpose:"
32
+ msgstr "Syfte:"
33
+
34
+ #: views/widget-form.php:20
35
+ msgid "Reference:"
36
+ msgstr "Referens:"
37
+
38
+ #: src/PayPalDonations/Admin.php:105
39
  msgid "Account Setup"
40
  msgstr "Konto inställningar"
41
 
42
+ #: src/PayPalDonations/Admin.php:111
43
  msgid "PayPal Account"
44
  msgstr "PayPal Konto"
45
 
46
+ #: src/PayPalDonations/Admin.php:118
 
47
  msgid "Your PayPal Email or Secure Merchant Account ID."
48
+ msgstr "Din PayPal epost adress eller ditt PayPal Secure Merchant Account ID."
49
 
50
+ #: src/PayPalDonations/Admin.php:125
51
  msgid "Currency"
52
  msgstr "Valuta"
53
 
54
+ #: src/PayPalDonations/Admin.php:132
55
  msgid "The currency to use for the donations."
56
  msgstr "Valutan som doneringarna ska ges i."
57
 
58
+ #: src/PayPalDonations/Admin.php:140
59
  msgid "Optional Settings"
60
  msgstr "Valfria inställningar"
61
 
62
+ #: src/PayPalDonations/Admin.php:146
63
  msgid "Page Style"
64
  msgstr "Sido Stil"
65
 
66
+ #: src/PayPalDonations/Admin.php:153
 
67
  msgid ""
68
  "The name of a custom payment page style that exist in your\n"
69
  " PayPal account profile."
70
  msgstr ""
71
  "Ange namnet av en egen sidostil för betalningar i din PayPal konto profil."
72
 
73
+ #: src/PayPalDonations/Admin.php:161
74
  msgid "Return Page"
75
  msgstr "Återvändings Sida"
76
 
77
+ #: src/PayPalDonations/Admin.php:168
 
78
  msgid ""
79
  "URL to which the donator comes to after completing the\n"
80
  " donation; for example, a URL on your site that displays "
84
  "URL som den som har donerat kommer till efter att ha fullföljt donationen; "
85
  "till exempel, en URL på din sajt som visar ett \"Tack för din donation\"."
86
 
87
+ #: src/PayPalDonations/Admin.php:178
88
  msgid "Defaults"
89
  msgstr "Förval"
90
 
91
+ #: src/PayPalDonations/Admin.php:184
92
  msgid "Amount"
93
  msgstr "Summa"
94
 
95
+ #: src/PayPalDonations/Admin.php:191
96
  msgid "The default amount for a donation (Optional)."
97
  msgstr "Den förvalda summan för en donation (Valfri)."
98
 
99
+ #: src/PayPalDonations/Admin.php:198
100
  msgid "Purpose"
101
  msgstr "Syfte"
102
 
103
+ #: src/PayPalDonations/Admin.php:205
104
  msgid "The default purpose of a donation (Optional)."
105
  msgstr "Det förvalda syftet för en donering (Valfri)."
106
 
107
+ #: src/PayPalDonations/Admin.php:212
108
  msgid "Reference"
109
  msgstr "Referens"
110
 
111
+ #: src/PayPalDonations/Admin.php:219
112
  msgid "Default reference for the donation (Optional)."
113
  msgstr "Den förvalda referensen för en donering (Valfri)."
114
 
115
+ #: src/PayPalDonations/Admin.php:227
116
  msgid "Donation Button"
117
  msgstr "Donerings Knapp"
118
 
119
+ #: src/PayPalDonations/Admin.php:233
120
  msgid "Select Button"
121
  msgstr "Välj Knapp"
122
 
123
+ #: src/PayPalDonations/Admin.php:244 src/PayPalDonations/Admin.php:527
 
124
  msgid "Custom Button"
125
  msgstr "Egen Knapp"
126
 
127
+ #: src/PayPalDonations/Admin.php:251
128
  msgid "Enter a URL to a custom donation button."
129
  msgstr "Ange en URL till en egen donerings knapp."
130
 
131
+ #: src/PayPalDonations/Admin.php:258
132
  msgid "Country and Language"
133
  msgstr "Land och Språk"
134
 
135
+ #: src/PayPalDonations/Admin.php:265
136
  msgid "Localize the language and the country for the button."
137
  msgstr "Ställ in språk och land för knappen."
138
 
139
+ #: src/PayPalDonations/Admin.php:280
140
  msgid "Extras"
141
  msgstr "Extra"
142
 
143
+ #: src/PayPalDonations/Admin.php:286
144
  msgid "Disable PayPal Statistics"
145
  msgstr "Stäng av PayPals statistik insamling"
146
 
147
+ #: src/PayPalDonations/Admin.php:298
148
  msgid "Theme CSS Override: Center Button"
149
  msgstr "Lägg till CSS som överskrider temat: Centrera knappen"
150
 
151
+ #: src/PayPalDonations/Admin.php:312
152
+ msgid "Open PayPal in New Tab"
153
+ msgstr "Öppna PayPal i en ny flik"
154
+
155
+ #: src/PayPalDonations/Admin.php:325
156
+ msgid "Remove Line Feeds"
157
+ msgstr "Ta bort radbrytningar"
158
+
159
+ #: src/PayPalDonations/Admin.php:332
160
+ msgid ""
161
+ "Enable this if your theme or a plugin adds autostyling to shortcodes/widgets."
162
+ msgstr "Aktivera detta om ditt tema eller något plugin automatiskt stylar shortcodes/widgets."
163
+
164
+ #: src/PayPalDonations/Admin.php:339
165
  msgid "Enable Checkout Language"
166
  msgstr "Aktivera språk för checkout"
167
 
168
+ #: src/PayPalDonations/Admin.php:350
169
  msgid "Checkout Language"
170
  msgstr "Sätt språk för checkout"
171
 
172
+ #: src/PayPalDonations/Admin.php:361
173
  msgid "Return Method"
174
  msgstr "Återvändnings metod"
175
 
176
+ #: src/PayPalDonations/Admin.php:368
177
  msgid "Takes effect only if the return page is set."
178
  msgstr "Är bara aktuell om återvändnings sida är inställt."
179
 
180
+ #: src/PayPalDonations/Admin.php:388
181
  msgid "Required fields."
182
  msgstr "Dessa fällt måste fyllas i."
183
 
184
+ #: src/PayPalDonations/Admin.php:402
185
+ msgid "Optional extra settings to fine tune the setup in certain scenarios."
 
 
186
  msgstr ""
187
  "Valfria extra inställningar att finjustera pluginet med under vissa "
188
  "omständigheter."
189
 
190
+ #: src/PayPalDonations/Admin.php:678
191
  msgid "GET method (default)"
192
  msgstr "GET metod (standard)"
193
 
194
+ #: src/PayPalDonations/Admin.php:679
195
  msgid "GET method, no variables"
196
  msgstr "GET metod, inga variabler"
197
 
198
+ #: src/PayPalDonations/Admin.php:680
199
  msgid "POST method"
200
  msgstr "POST metod"
201
 
202
+ #: src/PayPalDonations/Widget.php:18
203
  msgid "PayPal Donation Button"
204
  msgstr "PayPal Donerings Knapp"
205
 
206
+ #: src/PayPalDonations/Widget.php:89
207
  msgid "Donate"
208
  msgstr "Donera"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
lang/paypal-donations.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-03-22 04:16+0000\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -123,7 +123,7 @@ msgstr ""
123
  msgid "Select Button"
124
  msgstr ""
125
 
126
- #: src/PayPalDonations/Admin.php:244 src/PayPalDonations/Admin.php:513
127
  msgid "Custom Button"
128
  msgstr ""
129
 
@@ -156,38 +156,47 @@ msgid "Open PayPal in New Tab"
156
  msgstr ""
157
 
158
  #: src/PayPalDonations/Admin.php:325
 
 
 
 
 
 
 
 
 
159
  msgid "Enable Checkout Language"
160
  msgstr ""
161
 
162
- #: src/PayPalDonations/Admin.php:336
163
  msgid "Checkout Language"
164
  msgstr ""
165
 
166
- #: src/PayPalDonations/Admin.php:347
167
  msgid "Return Method"
168
  msgstr ""
169
 
170
- #: src/PayPalDonations/Admin.php:354
171
  msgid "Takes effect only if the return page is set."
172
  msgstr ""
173
 
174
- #: src/PayPalDonations/Admin.php:374
175
  msgid "Required fields."
176
  msgstr ""
177
 
178
- #: src/PayPalDonations/Admin.php:388
179
  msgid "Optional extra settings to fine tune the setup in certain scenarios."
180
  msgstr ""
181
 
182
- #: src/PayPalDonations/Admin.php:647
183
  msgid "GET method (default)"
184
  msgstr ""
185
 
186
- #: src/PayPalDonations/Admin.php:648
187
  msgid "GET method, no variables"
188
  msgstr ""
189
 
190
- #: src/PayPalDonations/Admin.php:649
191
  msgid "POST method"
192
  msgstr ""
193
 
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2014-09-21 10:10+0700\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
123
  msgid "Select Button"
124
  msgstr ""
125
 
126
+ #: src/PayPalDonations/Admin.php:244 src/PayPalDonations/Admin.php:527
127
  msgid "Custom Button"
128
  msgstr ""
129
 
156
  msgstr ""
157
 
158
  #: src/PayPalDonations/Admin.php:325
159
+ msgid "Remove Line Feeds"
160
+ msgstr ""
161
+
162
+ #: src/PayPalDonations/Admin.php:332
163
+ msgid ""
164
+ "Enable this if your theme or a plugin adds autostyling to shortcodes/widgets."
165
+ msgstr ""
166
+
167
+ #: src/PayPalDonations/Admin.php:339
168
  msgid "Enable Checkout Language"
169
  msgstr ""
170
 
171
+ #: src/PayPalDonations/Admin.php:350
172
  msgid "Checkout Language"
173
  msgstr ""
174
 
175
+ #: src/PayPalDonations/Admin.php:361
176
  msgid "Return Method"
177
  msgstr ""
178
 
179
+ #: src/PayPalDonations/Admin.php:368
180
  msgid "Takes effect only if the return page is set."
181
  msgstr ""
182
 
183
+ #: src/PayPalDonations/Admin.php:388
184
  msgid "Required fields."
185
  msgstr ""
186
 
187
+ #: src/PayPalDonations/Admin.php:402
188
  msgid "Optional extra settings to fine tune the setup in certain scenarios."
189
  msgstr ""
190
 
191
+ #: src/PayPalDonations/Admin.php:678
192
  msgid "GET method (default)"
193
  msgstr ""
194
 
195
+ #: src/PayPalDonations/Admin.php:679
196
  msgid "GET method, no variables"
197
  msgstr ""
198
 
199
+ #: src/PayPalDonations/Admin.php:680
200
  msgid "POST method"
201
  msgstr ""
202
 
paypal-donations.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://johansteen.se/code/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
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
- Version: 1.8.4
9
  License: GPLv2 or later
10
  Text Domain: paypal-donations
11
 
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
  Author: Johan Steen
7
  Author URI: http://johansteen.se/
8
+ Version: 1.8.5
9
  License: GPLv2 or later
10
  Text Domain: paypal-donations
11
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: artstorm
3
  Donate link: http://johansteen.se/donate/
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 3.0
6
- Tested up to: 3.9
7
- Stable tag: 1.8.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -82,6 +82,10 @@ Contributions are appreciated and encouraged.
82
 
83
  == Changelog ==
84
 
 
 
 
 
85
  = Version 1.8.4 - 5 May 2014 =
86
  * Additional currencies: Malaysian Ringgit, Russian Ruble.
87
  * Additional Checkout Languages: Belgium, Switzerland, Poland, Russia.
3
  Donate link: http://johansteen.se/donate/
4
  Tags: paypal, donation, shortcode, widget, donate, button, sidebar
5
  Requires at least: 3.0
6
+ Tested up to: 4.0
7
+ Stable tag: 1.8.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
82
 
83
  == Changelog ==
84
 
85
+ = Version 1.8.5 - 21 Sep 2014 =
86
+ * Add support for PayPal Sandbox.
87
+ * Update Swedish translation.
88
+
89
  = Version 1.8.4 - 5 May 2014 =
90
  * Additional currencies: Malaysian Ringgit, Russian Ruble.
91
  * Additional Checkout Languages: Belgium, Switzerland, Poland, Russia.
src/PayPalDonations/Admin.php CHANGED
@@ -334,6 +334,20 @@ class PayPalDonations_Admin
334
  ),
335
  )
336
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
337
  add_settings_field(
338
  'set_checkout_language',
339
  __('Enable Checkout Language', PayPalDonations::TEXT_DOMAIN),
@@ -629,6 +643,23 @@ class PayPalDonations_Admin
629
  echo "<p class='description'>{$args['description']}</p>";
630
  }
631
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
632
  public function setCheckoutLangugageCallback($args)
633
  {
634
  $optionKey = PayPalDonations::OPTION_DB_KEY;
334
  ),
335
  )
336
  );
337
+ add_settings_field(
338
+ 'sandbox',
339
+ __('Enable PayPal Sandbox', PayPalDonations::TEXT_DOMAIN),
340
+ array($this, 'setPayPalSandboxCallback'),
341
+ self::PAGE_SLUG,
342
+ 'extras_section',
343
+ array(
344
+ 'label_for' => 'sandbox',
345
+ 'description' => sprintf(
346
+ __('Enable PayPal sandbox for testing. Visit %s for more information and to register a merchant and customer testing accounts.', PayPalDonations::TEXT_DOMAIN),
347
+ '<a href="http://developer.paypal.com/">http://developer.paypal.com/</a>'
348
+ ),
349
+ )
350
+ );
351
  add_settings_field(
352
  'set_checkout_language',
353
  __('Enable Checkout Language', PayPalDonations::TEXT_DOMAIN),
643
  echo "<p class='description'>{$args['description']}</p>";
644
  }
645
 
646
+ public function setPayPalSandboxCallback($args)
647
+ {
648
+ $optionKey = PayPalDonations::OPTION_DB_KEY;
649
+ $options = get_option($optionKey);
650
+ $checked = isset($options['sandbox']) ?
651
+ $options['sandbox'] :
652
+ false;
653
+ echo "<input type='checkbox' id='sandbox' ";
654
+ echo "name='{$optionKey}[sandbox]' value='1' ";
655
+ if ($checked) {
656
+ echo 'checked ';
657
+ }
658
+ echo "/>";
659
+
660
+ echo "<p class='description'>{$args['description']}</p>";
661
+ }
662
+
663
  public function setCheckoutLangugageCallback($args)
664
  {
665
  $optionKey = PayPalDonations::OPTION_DB_KEY;
views/paypal-button.php CHANGED
@@ -1,5 +1,9 @@
1
  <!-- Begin PayPal Donations by http://johansteen.se/ -->
2
- <form action="<?php echo apply_filters( 'paypal_donations_url', 'https://www.paypal.com/cgi-bin/webscr'); ?>" method="post"<?php
 
 
 
 
3
  if (isset($pd_options['new_tab'])) {
4
  echo ' target="_blank"';
5
  }
1
  <!-- Begin PayPal Donations by http://johansteen.se/ -->
2
+ <?php
3
+ $url = isset($pd_options['sandbox']) ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
4
+ ?>
5
+
6
+ <form action="<?php echo apply_filters('paypal_donations_url', $url); ?>" method="post"<?php
7
  if (isset($pd_options['new_tab'])) {
8
  echo ' target="_blank"';
9
  }