Super Progressive Web Apps - Version 2.0.2

Version Description

  • Date: 16.January.2019
  • Bug Fix: Fix fatal error in PHP versions prior to PHP 5.5. "Cant use function return value in write context".
Download this release

Release Info

Developer arunbasillal
Plugin Icon 128x128 Super Progressive Web Apps
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.1 to 2.0.2

3rd-party/onesignal.php CHANGED
@@ -105,7 +105,14 @@ function superpwa_onesignal_sw_filename( $sw_filename ) {
105
  */
106
  function superpwa_onesignal_sw( $sw ) {
107
 
108
- if ( ! empty ( preg_grep( '#Content-Type: text/javascript#i', headers_list() ) ) ) {
 
 
 
 
 
 
 
109
 
110
  $onesignal = 'importScripts( \'' . superpwa_httpsify( plugin_dir_url( 'onesignal-free-web-push-notifications/onesignal.php' ) ) . 'sdk_files/OneSignalSDKWorker.js.php\' );' . PHP_EOL;
111
 
105
  */
106
  function superpwa_onesignal_sw( $sw ) {
107
 
108
+ /**
109
+ * Checking to see if we are already sending the Content-Type header.
110
+ *
111
+ * @see superpwa_generate_sw_and_manifest_on_fly()
112
+ */
113
+ $match = preg_grep( '#Content-Type: text/javascript#i', headers_list() );
114
+
115
+ if ( ! empty ( $match ) ) {
116
 
117
  $onesignal = 'importScripts( \'' . superpwa_httpsify( plugin_dir_url( 'onesignal-free-web-push-notifications/onesignal.php' ) ) . 'sdk_files/OneSignalSDKWorker.js.php\' );' . PHP_EOL;
118
 
languages/super-progressive-web-apps.pot CHANGED
@@ -1,392 +1,392 @@
1
- # Copyright (C) 2019 SuperPWA
2
- # This file is distributed under the same license as the Super Progressive Web Apps plugin.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: Super Progressive Web Apps 2.0.1\n"
6
- "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/super-progressive-web-apps\n"
7
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
- "Language-Team: LANGUAGE <LL@li.org>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2019-01-15T05:23:48+00:00\n"
13
- "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
- "X-Generator: WP-CLI 2.1.0\n"
15
- "X-Domain: super-progressive-web-apps\n"
16
-
17
- #. Plugin Name of the plugin
18
- #: addons/utm-tracking.php:35
19
- #: admin/admin-ui-setup.php:28
20
- #: admin/admin-ui-setup.php:31
21
- #: admin/admin-ui-setup.php:34
22
- msgid "Super Progressive Web Apps"
23
- msgstr ""
24
-
25
- #. Plugin URI of the plugin
26
- msgid "https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=plugin-uri"
27
- msgstr ""
28
-
29
- #. Description of the plugin
30
- msgid "Convert your WordPress website into a Progressive Web App"
31
- msgstr ""
32
-
33
- #. Author of the plugin
34
- #: admin/admin-ui-setup.php:28
35
- msgid "SuperPWA"
36
- msgstr ""
37
-
38
- #. Author URI of the plugin
39
- msgid "https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=author-uri"
40
- msgstr ""
41
-
42
- #: 3rd-party/onesignal.php:220
43
- msgid "<strong>SuperPWA</strong> is not compatible with OneSignal on multisites yet. Disable one of these plugins until the compatibility is available.<br>Please refer to the <a href=\"%s\" target=\"_blank\">OneSignal integration documentation</a> for more info. "
44
- msgstr ""
45
-
46
- #: 3rd-party/onesignal.php:242
47
- msgid "<strong>Action Required to integrate SuperPWA with OneSignal:</strong><br>1. Go to <a href=\"%s\" target=\"_blank\">OneSignal Configuration > Scroll down to Advanced Settings &rarr;</a><br>2. Enable <strong>Use my own manifest.json</strong><br>3. Set <code>%s</code>as <strong>Custom manifest.json URL</strong> and Save Settings.<br>Please refer the <a href=\"%s\" target=\"_blank\">OneSignal integration documentation</a> for more info. "
48
- msgstr ""
49
-
50
- #: addons/utm-tracking.php:35
51
- #: admin/admin-ui-render-addons.php:49
52
- msgid "UTM Tracking"
53
- msgstr ""
54
-
55
- #: addons/utm-tracking.php:146
56
- msgid "Current Start URL"
57
- msgstr ""
58
-
59
- #: addons/utm-tracking.php:155
60
- msgid "Campaign Source"
61
- msgstr ""
62
-
63
- #: addons/utm-tracking.php:164
64
- msgid "Campaign Medium"
65
- msgstr ""
66
-
67
- #: addons/utm-tracking.php:173
68
- msgid "Campaign Name"
69
- msgstr ""
70
-
71
- #: addons/utm-tracking.php:182
72
- msgid "Campaign Term"
73
- msgstr ""
74
-
75
- #: addons/utm-tracking.php:191
76
- msgid "Campaign Content"
77
- msgstr ""
78
-
79
- #: addons/utm-tracking.php:234
80
- msgid "This add-on automatically adds UTM campaign parameters to the <code>Start Page</code> URL in your <a href=\"%s\" target=\"_blank\">manifest</a>. This will help you identify visitors coming specifically from your app. <a href=\"%s\" target=\"_blank\">Read more</a> about UTM Tracking."
81
- msgstr ""
82
-
83
- #: addons/utm-tracking.php:264
84
- msgid "Campaign Source is mandatory and defaults to <code>superpwa</code>. The remaining fields are optional."
85
- msgstr ""
86
-
87
- #: addons/utm-tracking.php:362
88
- #: admin/admin-ui-render-settings.php:419
89
- msgid "Settings saved."
90
- msgstr ""
91
-
92
- #: addons/utm-tracking.php:371
93
- msgid "UTM Tracking for"
94
- msgstr ""
95
-
96
- #: addons/utm-tracking.php:382
97
- #: admin/admin-ui-render-settings.php:442
98
- msgid "Save Settings"
99
- msgstr ""
100
-
101
- #: admin/admin-ui-render-addons.php:50
102
- msgid "Track visits from your app by adding UTM tracking parameters to the Start Page URL."
103
- msgstr ""
104
-
105
- #: admin/admin-ui-render-addons.php:55
106
- msgid "Customize Settings &rarr;"
107
- msgstr ""
108
-
109
- #: admin/admin-ui-render-addons.php:60
110
- msgid "Apple Touch Icons"
111
- msgstr ""
112
-
113
- #: admin/admin-ui-render-addons.php:61
114
- msgid "Set the Application Icon and Splash Screen Icon as Apple Touch Icons for compatibility with iOS devices."
115
- msgstr ""
116
-
117
- #: admin/admin-ui-render-addons.php:66
118
- msgid "More Details &rarr;"
119
- msgstr ""
120
-
121
- #: admin/admin-ui-render-addons.php:115
122
- msgid "<strong>Add-On activated: %s.</strong> <a href=\"%s\"%s>%s</a>"
123
- msgstr ""
124
-
125
- #: admin/admin-ui-render-addons.php:123
126
- msgid "Add-On deactivated"
127
- msgstr ""
128
-
129
- #: admin/admin-ui-render-addons.php:135
130
- msgid "Add-Ons for"
131
- msgstr ""
132
-
133
- #: admin/admin-ui-render-addons.php:137
134
- msgid "Add-Ons extend the functionality of SuperPWA."
135
- msgstr ""
136
-
137
- #: admin/admin-ui-render-addons.php:177
138
- #: admin/admin-ui-render-addons.php:349
139
- msgid "Deactivate"
140
- msgstr ""
141
-
142
- #: admin/admin-ui-render-addons.php:182
143
- msgid "More information about %s"
144
- msgstr ""
145
-
146
- #: admin/admin-ui-render-addons.php:182
147
- msgid "More Details"
148
- msgstr ""
149
-
150
- #: admin/admin-ui-render-addons.php:197
151
- msgid "<span class=\"compatibility-compatible\"><strong>Add-On active.</strong> <a href=\"%s\"%s>%s</a></span>"
152
- msgstr ""
153
-
154
- #: admin/admin-ui-render-addons.php:200
155
- msgid "<span class=\"compatibility-compatible\"><strong>Compatible</strong> with your version of SuperPWA</span>"
156
- msgstr ""
157
-
158
- #: admin/admin-ui-render-addons.php:203
159
- msgid "<span class=\"compatibility-incompatible\"><strong>Please upgrade</strong> to the latest version of SuperPWA</span>"
160
- msgstr ""
161
-
162
- #: admin/admin-ui-render-addons.php:217
163
- msgid "SuperPWA Newsletter"
164
- msgstr ""
165
-
166
- #: admin/admin-ui-render-addons.php:221
167
- msgid "Learn more about Progressive Web Apps<br>and get latest updates about SuperPWA"
168
- msgstr ""
169
-
170
- #: admin/admin-ui-render-addons.php:229
171
- msgid "Enter your email"
172
- msgstr ""
173
-
174
- #: admin/admin-ui-render-addons.php:231
175
- msgid "Subscribe"
176
- msgstr ""
177
-
178
- #: admin/admin-ui-render-addons.php:233
179
- msgid "we'll share our <code>root</code> password before we share your email with anyone else."
180
- msgstr ""
181
-
182
- #: admin/admin-ui-render-addons.php:345
183
- msgid "Activate"
184
- msgstr ""
185
-
186
- #: admin/admin-ui-render-addons.php:354
187
- msgid "Install"
188
- msgstr ""
189
-
190
- #: admin/admin-ui-render-settings.php:61
191
- msgid "Used when there is insufficient space to display the full name of the application. <span id=\"superpwa-app-short-name-limit\"><code>12</code> characters or less.</span>"
192
- msgstr ""
193
-
194
- #: admin/admin-ui-render-settings.php:84
195
- msgid "A brief description of what your app is about."
196
- msgstr ""
197
-
198
- #: admin/admin-ui-render-settings.php:105
199
- #: admin/admin-ui-render-settings.php:128
200
- msgid "Choose Icon"
201
- msgstr ""
202
-
203
- #: admin/admin-ui-render-settings.php:109
204
- msgid "This will be the icon of your app when installed on the phone. Must be a <code>PNG</code> image exactly <code>192x192</code> in size."
205
- msgstr ""
206
-
207
- #: admin/admin-ui-render-settings.php:132
208
- msgid "This icon will be displayed on the splash screen of your app on supported devices. Must be a <code>PNG</code> image exactly <code>512x512</code> in size."
209
- msgstr ""
210
-
211
- #: admin/admin-ui-render-settings.php:152
212
- msgid "Background color of the splash screen."
213
- msgstr ""
214
-
215
- #: admin/admin-ui-render-settings.php:172
216
- msgid "Theme color is used on supported devices to tint the UI elements of the browser and app switcher. When in doubt, use the same color as <code>Background Color</code>."
217
- msgstr ""
218
-
219
- #: admin/admin-ui-render-settings.php:202
220
- msgid "Specify the page to load when the application is launched from a device. Current start page is <code>%s</code>"
221
- msgstr ""
222
-
223
- #: admin/admin-ui-render-settings.php:210
224
- msgid "Use AMP version of the start page."
225
- msgstr ""
226
-
227
- #: admin/admin-ui-render-settings.php:216
228
- msgid "Do not check this if your start page is the homepage, the blog index, or the archives page. AMP for WordPress does not create AMP versions for these pages."
229
- msgstr ""
230
-
231
- #: admin/admin-ui-render-settings.php:229
232
- msgid "Please enable AMP support for Page in <a href=\"%s\">Theme Settings > Theme Panel</a> > AMP > Post Type Support."
233
- msgstr ""
234
-
235
- #: admin/admin-ui-render-settings.php:263
236
- msgid "Offline page is displayed when the device is offline and the requested page is not already cached. Current offline page is <code>%s</code>"
237
- msgstr ""
238
-
239
- #: admin/admin-ui-render-settings.php:283
240
- msgid "Follow Device Orientation"
241
- msgstr ""
242
-
243
- #: admin/admin-ui-render-settings.php:286
244
- msgid "Portrait"
245
- msgstr ""
246
-
247
- #: admin/admin-ui-render-settings.php:289
248
- msgid "Landscape"
249
- msgstr ""
250
-
251
- #: admin/admin-ui-render-settings.php:295
252
- msgid "Set the orientation of your app on devices. When set to <code>Follow Device Orientation</code> your app will rotate as the device is rotated."
253
- msgstr ""
254
-
255
- #: admin/admin-ui-render-settings.php:317
256
- msgid "Full Screen"
257
- msgstr ""
258
-
259
- #: admin/admin-ui-render-settings.php:320
260
- msgid "Standalone"
261
- msgstr ""
262
-
263
- #: admin/admin-ui-render-settings.php:323
264
- msgid "Minimal UI"
265
- msgstr ""
266
-
267
- #: admin/admin-ui-render-settings.php:326
268
- msgid "Browser"
269
- msgstr ""
270
-
271
- #: admin/admin-ui-render-settings.php:332
272
- msgid "Display mode decides what browser UI is shown when your app is launched. <code>Standalone</code> is default. <a href=\"%s\" target=\"_blank\">What's the difference? &rarr;</a>"
273
- msgstr ""
274
-
275
- #: admin/admin-ui-render-settings.php:355
276
- msgid "Manifest generated successfully. You can <a href=\"%s\" target=\"_blank\">See it here &rarr;</a>"
277
- msgstr ""
278
-
279
- #: admin/admin-ui-render-settings.php:358
280
- msgid "Manifest generation failed. <a href=\"%s\" target=\"_blank\">Fix it &rarr;</a>"
281
- msgstr ""
282
-
283
- #: admin/admin-ui-render-settings.php:379
284
- msgid "Service worker generated successfully. <a href=\"%s\" target=\"_blank\">See it here &rarr;</a>"
285
- msgstr ""
286
-
287
- #: admin/admin-ui-render-settings.php:382
288
- msgid "Service worker generation failed. <a href=\"%s\" target=\"_blank\">Fix it &rarr;</a>"
289
- msgstr ""
290
-
291
- #: admin/admin-ui-render-settings.php:395
292
- msgid "Your website is served over HTTPS."
293
- msgstr ""
294
-
295
- #: admin/admin-ui-render-settings.php:398
296
- msgid "Progressive Web Apps require that your website is served over HTTPS. Please contact your host to add a SSL certificate to your domain."
297
- msgstr ""
298
-
299
- #: admin/admin-ui-setup.php:31
300
- #: admin/basic-setup.php:337
301
- msgid "Settings"
302
- msgstr ""
303
-
304
- #: admin/admin-ui-setup.php:34
305
- msgid "Add-Ons"
306
- msgstr ""
307
-
308
- #: admin/admin-ui-setup.php:63
309
- msgid "Application Name"
310
- msgstr ""
311
-
312
- #: admin/admin-ui-setup.php:72
313
- msgid "Application Short Name"
314
- msgstr ""
315
-
316
- #: admin/admin-ui-setup.php:81
317
- msgid "Description"
318
- msgstr ""
319
-
320
- #: admin/admin-ui-setup.php:90
321
- msgid "Application Icon"
322
- msgstr ""
323
-
324
- #: admin/admin-ui-setup.php:99
325
- msgid "Splash Screen Icon"
326
- msgstr ""
327
-
328
- #: admin/admin-ui-setup.php:108
329
- msgid "Background Color"
330
- msgstr ""
331
-
332
- #: admin/admin-ui-setup.php:117
333
- msgid "Theme Color"
334
- msgstr ""
335
-
336
- #: admin/admin-ui-setup.php:126
337
- msgid "Start Page"
338
- msgstr ""
339
-
340
- #: admin/admin-ui-setup.php:135
341
- msgid "Offline Page"
342
- msgstr ""
343
-
344
- #: admin/admin-ui-setup.php:144
345
- msgid "Orientation"
346
- msgstr ""
347
-
348
- #: admin/admin-ui-setup.php:153
349
- msgid "Display"
350
- msgstr ""
351
-
352
- #: admin/admin-ui-setup.php:162
353
- msgid "Status"
354
- msgstr ""
355
-
356
- #: admin/admin-ui-setup.php:170
357
- msgid "Manifest"
358
- msgstr ""
359
-
360
- #: admin/admin-ui-setup.php:179
361
- msgid "Service Worker"
362
- msgstr ""
363
-
364
- #: admin/admin-ui-setup.php:188
365
- msgid "HTTPS"
366
- msgstr ""
367
-
368
- #: admin/admin-ui-setup.php:325
369
- msgid "If you like SuperPWA, please <a href=\"%s\" target=\"_blank\">make a donation</a> or leave a <a href=\"%s\" target=\"_blank\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> rating to support continued development. Thanks a bunch!"
370
- msgstr ""
371
-
372
- #: admin/basic-setup.php:103
373
- msgid "Your app is ready with the default settings. "
374
- msgstr ""
375
-
376
- #: admin/basic-setup.php:107
377
- msgid "<a href=\"%s\">Customize your app &rarr;</a>"
378
- msgstr ""
379
-
380
- #: admin/basic-setup.php:109
381
- #: admin/basic-setup.php:143
382
- msgid "Thank you for installing <strong>Super Progressive Web Apps!</strong> "
383
- msgstr ""
384
-
385
- #: admin/basic-setup.php:118
386
- #: admin/basic-setup.php:152
387
- msgid "<strong>SuperPWA</strong>: Successfully updated to version %s. Thank you! <a href=\"%s\" target=\"_blank\">Discover new features and read the story &rarr;</a>"
388
- msgstr ""
389
-
390
- #: admin/basic-setup.php:353
391
- msgid "Demo"
392
- msgstr ""
1
+ # Copyright (C) 2019 SuperPWA
2
+ # This file is distributed under the same license as the Super Progressive Web Apps plugin.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Super Progressive Web Apps 2.0.1\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/super-progressive-web-apps\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2019-01-15T05:23:48+00:00\n"
13
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
+ "X-Generator: WP-CLI 2.1.0\n"
15
+ "X-Domain: super-progressive-web-apps\n"
16
+
17
+ #. Plugin Name of the plugin
18
+ #: addons/utm-tracking.php:35
19
+ #: admin/admin-ui-setup.php:28
20
+ #: admin/admin-ui-setup.php:31
21
+ #: admin/admin-ui-setup.php:34
22
+ msgid "Super Progressive Web Apps"
23
+ msgstr ""
24
+
25
+ #. Plugin URI of the plugin
26
+ msgid "https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=plugin-uri"
27
+ msgstr ""
28
+
29
+ #. Description of the plugin
30
+ msgid "Convert your WordPress website into a Progressive Web App"
31
+ msgstr ""
32
+
33
+ #. Author of the plugin
34
+ #: admin/admin-ui-setup.php:28
35
+ msgid "SuperPWA"
36
+ msgstr ""
37
+
38
+ #. Author URI of the plugin
39
+ msgid "https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=author-uri"
40
+ msgstr ""
41
+
42
+ #: 3rd-party/onesignal.php:220
43
+ msgid "<strong>SuperPWA</strong> is not compatible with OneSignal on multisites yet. Disable one of these plugins until the compatibility is available.<br>Please refer to the <a href=\"%s\" target=\"_blank\">OneSignal integration documentation</a> for more info. "
44
+ msgstr ""
45
+
46
+ #: 3rd-party/onesignal.php:242
47
+ msgid "<strong>Action Required to integrate SuperPWA with OneSignal:</strong><br>1. Go to <a href=\"%s\" target=\"_blank\">OneSignal Configuration > Scroll down to Advanced Settings &rarr;</a><br>2. Enable <strong>Use my own manifest.json</strong><br>3. Set <code>%s</code>as <strong>Custom manifest.json URL</strong> and Save Settings.<br>Please refer the <a href=\"%s\" target=\"_blank\">OneSignal integration documentation</a> for more info. "
48
+ msgstr ""
49
+
50
+ #: addons/utm-tracking.php:35
51
+ #: admin/admin-ui-render-addons.php:49
52
+ msgid "UTM Tracking"
53
+ msgstr ""
54
+
55
+ #: addons/utm-tracking.php:146
56
+ msgid "Current Start URL"
57
+ msgstr ""
58
+
59
+ #: addons/utm-tracking.php:155
60
+ msgid "Campaign Source"
61
+ msgstr ""
62
+
63
+ #: addons/utm-tracking.php:164
64
+ msgid "Campaign Medium"
65
+ msgstr ""
66
+
67
+ #: addons/utm-tracking.php:173
68
+ msgid "Campaign Name"
69
+ msgstr ""
70
+
71
+ #: addons/utm-tracking.php:182
72
+ msgid "Campaign Term"
73
+ msgstr ""
74
+
75
+ #: addons/utm-tracking.php:191
76
+ msgid "Campaign Content"
77
+ msgstr ""
78
+
79
+ #: addons/utm-tracking.php:234
80
+ msgid "This add-on automatically adds UTM campaign parameters to the <code>Start Page</code> URL in your <a href=\"%s\" target=\"_blank\">manifest</a>. This will help you identify visitors coming specifically from your app. <a href=\"%s\" target=\"_blank\">Read more</a> about UTM Tracking."
81
+ msgstr ""
82
+
83
+ #: addons/utm-tracking.php:264
84
+ msgid "Campaign Source is mandatory and defaults to <code>superpwa</code>. The remaining fields are optional."
85
+ msgstr ""
86
+
87
+ #: addons/utm-tracking.php:362
88
+ #: admin/admin-ui-render-settings.php:419
89
+ msgid "Settings saved."
90
+ msgstr ""
91
+
92
+ #: addons/utm-tracking.php:371
93
+ msgid "UTM Tracking for"
94
+ msgstr ""
95
+
96
+ #: addons/utm-tracking.php:382
97
+ #: admin/admin-ui-render-settings.php:442
98
+ msgid "Save Settings"
99
+ msgstr ""
100
+
101
+ #: admin/admin-ui-render-addons.php:50
102
+ msgid "Track visits from your app by adding UTM tracking parameters to the Start Page URL."
103
+ msgstr ""
104
+
105
+ #: admin/admin-ui-render-addons.php:55
106
+ msgid "Customize Settings &rarr;"
107
+ msgstr ""
108
+
109
+ #: admin/admin-ui-render-addons.php:60
110
+ msgid "Apple Touch Icons"
111
+ msgstr ""
112
+
113
+ #: admin/admin-ui-render-addons.php:61
114
+ msgid "Set the Application Icon and Splash Screen Icon as Apple Touch Icons for compatibility with iOS devices."
115
+ msgstr ""
116
+
117
+ #: admin/admin-ui-render-addons.php:66
118
+ msgid "More Details &rarr;"
119
+ msgstr ""
120
+
121
+ #: admin/admin-ui-render-addons.php:115
122
+ msgid "<strong>Add-On activated: %s.</strong> <a href=\"%s\"%s>%s</a>"
123
+ msgstr ""
124
+
125
+ #: admin/admin-ui-render-addons.php:123
126
+ msgid "Add-On deactivated"
127
+ msgstr ""
128
+
129
+ #: admin/admin-ui-render-addons.php:135
130
+ msgid "Add-Ons for"
131
+ msgstr ""
132
+
133
+ #: admin/admin-ui-render-addons.php:137
134
+ msgid "Add-Ons extend the functionality of SuperPWA."
135
+ msgstr ""
136
+
137
+ #: admin/admin-ui-render-addons.php:177
138
+ #: admin/admin-ui-render-addons.php:349
139
+ msgid "Deactivate"
140
+ msgstr ""
141
+
142
+ #: admin/admin-ui-render-addons.php:182
143
+ msgid "More information about %s"
144
+ msgstr ""
145
+
146
+ #: admin/admin-ui-render-addons.php:182
147
+ msgid "More Details"
148
+ msgstr ""
149
+
150
+ #: admin/admin-ui-render-addons.php:197
151
+ msgid "<span class=\"compatibility-compatible\"><strong>Add-On active.</strong> <a href=\"%s\"%s>%s</a></span>"
152
+ msgstr ""
153
+
154
+ #: admin/admin-ui-render-addons.php:200
155
+ msgid "<span class=\"compatibility-compatible\"><strong>Compatible</strong> with your version of SuperPWA</span>"
156
+ msgstr ""
157
+
158
+ #: admin/admin-ui-render-addons.php:203
159
+ msgid "<span class=\"compatibility-incompatible\"><strong>Please upgrade</strong> to the latest version of SuperPWA</span>"
160
+ msgstr ""
161
+
162
+ #: admin/admin-ui-render-addons.php:217
163
+ msgid "SuperPWA Newsletter"
164
+ msgstr ""
165
+
166
+ #: admin/admin-ui-render-addons.php:221
167
+ msgid "Learn more about Progressive Web Apps<br>and get latest updates about SuperPWA"
168
+ msgstr ""
169
+
170
+ #: admin/admin-ui-render-addons.php:229
171
+ msgid "Enter your email"
172
+ msgstr ""
173
+
174
+ #: admin/admin-ui-render-addons.php:231
175
+ msgid "Subscribe"
176
+ msgstr ""
177
+
178
+ #: admin/admin-ui-render-addons.php:233
179
+ msgid "we'll share our <code>root</code> password before we share your email with anyone else."
180
+ msgstr ""
181
+
182
+ #: admin/admin-ui-render-addons.php:345
183
+ msgid "Activate"
184
+ msgstr ""
185
+
186
+ #: admin/admin-ui-render-addons.php:354
187
+ msgid "Install"
188
+ msgstr ""
189
+
190
+ #: admin/admin-ui-render-settings.php:61
191
+ msgid "Used when there is insufficient space to display the full name of the application. <span id=\"superpwa-app-short-name-limit\"><code>12</code> characters or less.</span>"
192
+ msgstr ""
193
+
194
+ #: admin/admin-ui-render-settings.php:84
195
+ msgid "A brief description of what your app is about."
196
+ msgstr ""
197
+
198
+ #: admin/admin-ui-render-settings.php:105
199
+ #: admin/admin-ui-render-settings.php:128
200
+ msgid "Choose Icon"
201
+ msgstr ""
202
+
203
+ #: admin/admin-ui-render-settings.php:109
204
+ msgid "This will be the icon of your app when installed on the phone. Must be a <code>PNG</code> image exactly <code>192x192</code> in size."
205
+ msgstr ""
206
+
207
+ #: admin/admin-ui-render-settings.php:132
208
+ msgid "This icon will be displayed on the splash screen of your app on supported devices. Must be a <code>PNG</code> image exactly <code>512x512</code> in size."
209
+ msgstr ""
210
+
211
+ #: admin/admin-ui-render-settings.php:152
212
+ msgid "Background color of the splash screen."
213
+ msgstr ""
214
+
215
+ #: admin/admin-ui-render-settings.php:172
216
+ msgid "Theme color is used on supported devices to tint the UI elements of the browser and app switcher. When in doubt, use the same color as <code>Background Color</code>."
217
+ msgstr ""
218
+
219
+ #: admin/admin-ui-render-settings.php:202
220
+ msgid "Specify the page to load when the application is launched from a device. Current start page is <code>%s</code>"
221
+ msgstr ""
222
+
223
+ #: admin/admin-ui-render-settings.php:210
224
+ msgid "Use AMP version of the start page."
225
+ msgstr ""
226
+
227
+ #: admin/admin-ui-render-settings.php:216
228
+ msgid "Do not check this if your start page is the homepage, the blog index, or the archives page. AMP for WordPress does not create AMP versions for these pages."
229
+ msgstr ""
230
+
231
+ #: admin/admin-ui-render-settings.php:229
232
+ msgid "Please enable AMP support for Page in <a href=\"%s\">Theme Settings > Theme Panel</a> > AMP > Post Type Support."
233
+ msgstr ""
234
+
235
+ #: admin/admin-ui-render-settings.php:263
236
+ msgid "Offline page is displayed when the device is offline and the requested page is not already cached. Current offline page is <code>%s</code>"
237
+ msgstr ""
238
+
239
+ #: admin/admin-ui-render-settings.php:283
240
+ msgid "Follow Device Orientation"
241
+ msgstr ""
242
+
243
+ #: admin/admin-ui-render-settings.php:286
244
+ msgid "Portrait"
245
+ msgstr ""
246
+
247
+ #: admin/admin-ui-render-settings.php:289
248
+ msgid "Landscape"
249
+ msgstr ""
250
+
251
+ #: admin/admin-ui-render-settings.php:295
252
+ msgid "Set the orientation of your app on devices. When set to <code>Follow Device Orientation</code> your app will rotate as the device is rotated."
253
+ msgstr ""
254
+
255
+ #: admin/admin-ui-render-settings.php:317
256
+ msgid "Full Screen"
257
+ msgstr ""
258
+
259
+ #: admin/admin-ui-render-settings.php:320
260
+ msgid "Standalone"
261
+ msgstr ""
262
+
263
+ #: admin/admin-ui-render-settings.php:323
264
+ msgid "Minimal UI"
265
+ msgstr ""
266
+
267
+ #: admin/admin-ui-render-settings.php:326
268
+ msgid "Browser"
269
+ msgstr ""
270
+
271
+ #: admin/admin-ui-render-settings.php:332
272
+ msgid "Display mode decides what browser UI is shown when your app is launched. <code>Standalone</code> is default. <a href=\"%s\" target=\"_blank\">What's the difference? &rarr;</a>"
273
+ msgstr ""
274
+
275
+ #: admin/admin-ui-render-settings.php:355
276
+ msgid "Manifest generated successfully. You can <a href=\"%s\" target=\"_blank\">See it here &rarr;</a>"
277
+ msgstr ""
278
+
279
+ #: admin/admin-ui-render-settings.php:358
280
+ msgid "Manifest generation failed. <a href=\"%s\" target=\"_blank\">Fix it &rarr;</a>"
281
+ msgstr ""
282
+
283
+ #: admin/admin-ui-render-settings.php:379
284
+ msgid "Service worker generated successfully. <a href=\"%s\" target=\"_blank\">See it here &rarr;</a>"
285
+ msgstr ""
286
+
287
+ #: admin/admin-ui-render-settings.php:382
288
+ msgid "Service worker generation failed. <a href=\"%s\" target=\"_blank\">Fix it &rarr;</a>"
289
+ msgstr ""
290
+
291
+ #: admin/admin-ui-render-settings.php:395
292
+ msgid "Your website is served over HTTPS."
293
+ msgstr ""
294
+
295
+ #: admin/admin-ui-render-settings.php:398
296
+ msgid "Progressive Web Apps require that your website is served over HTTPS. Please contact your host to add a SSL certificate to your domain."
297
+ msgstr ""
298
+
299
+ #: admin/admin-ui-setup.php:31
300
+ #: admin/basic-setup.php:337
301
+ msgid "Settings"
302
+ msgstr ""
303
+
304
+ #: admin/admin-ui-setup.php:34
305
+ msgid "Add-Ons"
306
+ msgstr ""
307
+
308
+ #: admin/admin-ui-setup.php:63
309
+ msgid "Application Name"
310
+ msgstr ""
311
+
312
+ #: admin/admin-ui-setup.php:72
313
+ msgid "Application Short Name"
314
+ msgstr ""
315
+
316
+ #: admin/admin-ui-setup.php:81
317
+ msgid "Description"
318
+ msgstr ""
319
+
320
+ #: admin/admin-ui-setup.php:90
321
+ msgid "Application Icon"
322
+ msgstr ""
323
+
324
+ #: admin/admin-ui-setup.php:99
325
+ msgid "Splash Screen Icon"
326
+ msgstr ""
327
+
328
+ #: admin/admin-ui-setup.php:108
329
+ msgid "Background Color"
330
+ msgstr ""
331
+
332
+ #: admin/admin-ui-setup.php:117
333
+ msgid "Theme Color"
334
+ msgstr ""
335
+
336
+ #: admin/admin-ui-setup.php:126
337
+ msgid "Start Page"
338
+ msgstr ""
339
+
340
+ #: admin/admin-ui-setup.php:135
341
+ msgid "Offline Page"
342
+ msgstr ""
343
+
344
+ #: admin/admin-ui-setup.php:144
345
+ msgid "Orientation"
346
+ msgstr ""
347
+
348
+ #: admin/admin-ui-setup.php:153
349
+ msgid "Display"
350
+ msgstr ""
351
+
352
+ #: admin/admin-ui-setup.php:162
353
+ msgid "Status"
354
+ msgstr ""
355
+
356
+ #: admin/admin-ui-setup.php:170
357
+ msgid "Manifest"
358
+ msgstr ""
359
+
360
+ #: admin/admin-ui-setup.php:179
361
+ msgid "Service Worker"
362
+ msgstr ""
363
+
364
+ #: admin/admin-ui-setup.php:188
365
+ msgid "HTTPS"
366
+ msgstr ""
367
+
368
+ #: admin/admin-ui-setup.php:325
369
+ msgid "If you like SuperPWA, please <a href=\"%s\" target=\"_blank\">make a donation</a> or leave a <a href=\"%s\" target=\"_blank\">&#9733;&#9733;&#9733;&#9733;&#9733;</a> rating to support continued development. Thanks a bunch!"
370
+ msgstr ""
371
+
372
+ #: admin/basic-setup.php:103
373
+ msgid "Your app is ready with the default settings. "
374
+ msgstr ""
375
+
376
+ #: admin/basic-setup.php:107
377
+ msgid "<a href=\"%s\">Customize your app &rarr;</a>"
378
+ msgstr ""
379
+
380
+ #: admin/basic-setup.php:109
381
+ #: admin/basic-setup.php:143
382
+ msgid "Thank you for installing <strong>Super Progressive Web Apps!</strong> "
383
+ msgstr ""
384
+
385
+ #: admin/basic-setup.php:118
386
+ #: admin/basic-setup.php:152
387
+ msgid "<strong>SuperPWA</strong>: Successfully updated to version %s. Thank you! <a href=\"%s\" target=\"_blank\">Discover new features and read the story &rarr;</a>"
388
+ msgstr ""
389
+
390
+ #: admin/basic-setup.php:353
391
+ msgid "Demo"
392
+ msgstr ""
readme.txt CHANGED
@@ -178,6 +178,10 @@ Feel free to get in touch if you have any questions.
178
 
179
  == Changelog ==
180
 
 
 
 
 
181
  = 2.0.1 =
182
  * Date: [15.January.2019](https://superpwa.com/superpwa-2-0/?utm_source=wordpress.org&utm_medium=changelog#2.0.1)
183
  * Enhancement: Added compatibility for setups where dynamic files are not supported.
@@ -297,6 +301,9 @@ Feel free to get in touch if you have any questions.
297
 
298
  == Upgrade Notice ==
299
 
 
 
 
300
  = 2.0.1 =
301
  * Enhancement: Added compatibility for setups where dynamic files are not supported.
302
 
178
 
179
  == Changelog ==
180
 
181
+ = 2.0.2 =
182
+ * Date: 16.January.2019
183
+ * Bug Fix: Fix fatal error in PHP versions prior to PHP 5.5. "Cant use function return value in write context".
184
+
185
  = 2.0.1 =
186
  * Date: [15.January.2019](https://superpwa.com/superpwa-2-0/?utm_source=wordpress.org&utm_medium=changelog#2.0.1)
187
  * Enhancement: Added compatibility for setups where dynamic files are not supported.
301
 
302
  == Upgrade Notice ==
303
 
304
+ = 2.0.2 =
305
+ * Bug Fix: Fix fatal error in PHP versions prior to PHP 5.5. "Cant use function return value in write context".
306
+
307
  = 2.0.1 =
308
  * Enhancement: Added compatibility for setups where dynamic files are not supported.
309
 
superpwa.php CHANGED
@@ -6,7 +6,7 @@
6
  * Author: SuperPWA
7
  * Author URI: https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=author-uri
8
  * Contributors: Arun Basil Lal, Jose Varghese
9
- * Version: 2.0.1
10
  * Text Domain: super-progressive-web-apps
11
  * Domain Path: /languages
12
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
@@ -43,7 +43,7 @@ if ( ! defined('ABSPATH') ) exit;
43
  * @since 1.0
44
  */
45
  if ( ! defined( 'SUPERPWA_VERSION' ) ) {
46
- define( 'SUPERPWA_VERSION' , '2.0.1' );
47
  }
48
 
49
  /**
6
  * Author: SuperPWA
7
  * Author URI: https://superpwa.com/?utm_source=superpwa-plugin&utm_medium=author-uri
8
  * Contributors: Arun Basil Lal, Jose Varghese
9
+ * Version: 2.0.2
10
  * Text Domain: super-progressive-web-apps
11
  * Domain Path: /languages
12
  * License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
43
  * @since 1.0
44
  */
45
  if ( ! defined( 'SUPERPWA_VERSION' ) ) {
46
+ define( 'SUPERPWA_VERSION' , '2.0.2' );
47
  }
48
 
49
  /**