Version Description
- 7-01-2021 =
- Tweak - Require
Companion Addons for Elementor
plugin to import certain demos according to the demo config set
Download this release
Release Info
Developer | themegrilldev |
Plugin | ThemeGrill Demo Importer |
Version | 1.6.9 |
Comparing to | |
See all releases |
Code changes from version 1.6.8 to 1.6.9
includes/admin/views/html-admin-page-importer.php
CHANGED
@@ -112,6 +112,8 @@ defined( 'ABSPATH' ) || exit;
|
|
112 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
113 |
<# } else if ( data.isPro ) { #>
|
114 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
|
|
|
|
115 |
<# } else if ( data.requiredVersion ) { #>
|
116 |
<a class="button button-primary" href="<?php echo current_user_can( 'update_themes' ) ? esc_url( admin_url( '/update-core.php' ) ) : '#'; ?>" title="{{ data.updateThemeNotice }}" target="_blank"><?php esc_html_e( 'Update', 'themegrill-demo-importer' ); ?></a>
|
117 |
<# } else { #>
|
@@ -141,6 +143,8 @@ defined( 'ABSPATH' ) || exit;
|
|
141 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
142 |
<# } else if ( data.isPro ) { #>
|
143 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
|
|
|
|
144 |
<# } else if ( data.requiredTheme ) { #>
|
145 |
<button class="button button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
146 |
<# } else if ( data.requiredVersion ) { #>
|
@@ -245,6 +249,8 @@ defined( 'ABSPATH' ) || exit;
|
|
245 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
246 |
<# } else if ( data.isPro ) { #>
|
247 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
|
|
|
|
248 |
<# } else if ( data.requiredTheme ) { #>
|
249 |
<button class="button button-hero button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
250 |
<# } else if ( data.requiredVersion ) { #>
|
112 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
113 |
<# } else if ( data.isPro ) { #>
|
114 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
115 |
+
<# } else if ( data.isAllThemePlan ) { #>
|
116 |
+
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Upgrade Theme Plan', 'themegrill-demo-importer' ); ?></a>
|
117 |
<# } else if ( data.requiredVersion ) { #>
|
118 |
<a class="button button-primary" href="<?php echo current_user_can( 'update_themes' ) ? esc_url( admin_url( '/update-core.php' ) ) : '#'; ?>" title="{{ data.updateThemeNotice }}" target="_blank"><?php esc_html_e( 'Update', 'themegrill-demo-importer' ); ?></a>
|
119 |
<# } else { #>
|
143 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
144 |
<# } else if ( data.isPro ) { #>
|
145 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
146 |
+
<# } else if ( data.isAllThemePlan ) { #>
|
147 |
+
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Upgrade Theme Plan', 'themegrill-demo-importer' ); ?></a>
|
148 |
<# } else if ( data.requiredTheme ) { #>
|
149 |
<button class="button button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
150 |
<# } else if ( data.requiredVersion ) { #>
|
249 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
250 |
<# } else if ( data.isPro ) { #>
|
251 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
252 |
+
<# } else if ( data.isAllThemePlan ) { #>
|
253 |
+
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Upgrade Theme Plan', 'themegrill-demo-importer' ); ?></a>
|
254 |
<# } else if ( data.requiredTheme ) { #>
|
255 |
<button class="button button-hero button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
256 |
<# } else if ( data.requiredVersion ) { #>
|
includes/class-demo-importer.php
CHANGED
@@ -350,6 +350,21 @@ class TG_Demo_Importer {
|
|
350 |
|
351 |
}
|
352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
/**
|
354 |
* Ajax handler for getting demos from github.
|
355 |
*/
|
@@ -454,9 +469,19 @@ class TG_Demo_Importer {
|
|
454 |
}
|
455 |
}
|
456 |
} else {
|
457 |
-
if (
|
458 |
-
$
|
|
|
|
|
459 |
$required_version_installed = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
}
|
461 |
}
|
462 |
}
|
@@ -524,6 +549,16 @@ class TG_Demo_Importer {
|
|
524 |
);
|
525 |
}
|
526 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
} else {
|
528 |
if ( $required_version ) {
|
529 |
$required_message = sprintf(
|
@@ -532,6 +567,24 @@ class TG_Demo_Importer {
|
|
532 |
$current_theme_name
|
533 |
);
|
534 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
}
|
536 |
|
537 |
// Prepare all demos.
|
@@ -541,6 +594,7 @@ class TG_Demo_Importer {
|
|
541 |
'theme' => $is_pro_theme_demo ? sprintf( esc_html__( '%s Pro', 'themegrill-demo-importer' ), $available_packages->name ) : $available_packages->name,
|
542 |
'isPro' => $is_pro_theme_demo ? false : isset( $package_data->isPro ),
|
543 |
'isPremium' => $this->zakra_is_premium_theme_plan() ? false : isset( $package_data->isPremium ),
|
|
|
544 |
'active' => $package_slug === $demo_activated_id,
|
545 |
'author' => isset( $package_data->author ) ? $package_data->author : __( 'ThemeGrill', 'themegrill-demo-importer' ),
|
546 |
'version' => isset( $package_data->version ) ? $package_data->version : $available_packages->version,
|
350 |
|
351 |
}
|
352 |
|
353 |
+
/**
|
354 |
+
* Check for ThemeGrill All Themes Plan
|
355 |
+
*
|
356 |
+
* @return bool
|
357 |
+
*/
|
358 |
+
public function themegrill_is_all_themes_plan() {
|
359 |
+
|
360 |
+
if ( is_plugin_active( 'companion-elementor/companion-elementor.php') ) {
|
361 |
+
return true;
|
362 |
+
}
|
363 |
+
|
364 |
+
return false;
|
365 |
+
|
366 |
+
}
|
367 |
+
|
368 |
/**
|
369 |
* Ajax handler for getting demos from github.
|
370 |
*/
|
469 |
}
|
470 |
}
|
471 |
} else {
|
472 |
+
if (
|
473 |
+
$current_template === $theme && version_compare( $minimum_version, $current_theme_version, '>' ) ||
|
474 |
+
( 'companion-elementor' === $theme && version_compare( $minimum_version, $companion_elementor_plugin_name, '>' ) )
|
475 |
+
) {
|
476 |
$required_version_installed = true;
|
477 |
+
|
478 |
+
if ( $current_template === $theme ) {
|
479 |
+
$required_version = $minimum_version;
|
480 |
+
}
|
481 |
+
|
482 |
+
if ( 'companion-elementor' === $theme ) {
|
483 |
+
$companion_elementor_required_version = $minimum_version;
|
484 |
+
}
|
485 |
}
|
486 |
}
|
487 |
}
|
549 |
);
|
550 |
}
|
551 |
}
|
552 |
+
|
553 |
+
if ( ! $required_version && ( $zakra_pro_required_version && $companion_elementor_required_version ) ) {
|
554 |
+
$required_message = sprintf(
|
555 |
+
esc_html__( 'This demo requires %1$s version of %2$s as well as %3$s version of %4$s plugins to get imported', 'themegrill-demo-importer' ),
|
556 |
+
$zakra_pro_required_version,
|
557 |
+
esc_html__( 'Zakra Pro', 'themegrill-demo-importer' ),
|
558 |
+
$companion_elementor_required_version,
|
559 |
+
esc_html__( 'Companion Elementor', 'themegrill-demo-importer' )
|
560 |
+
);
|
561 |
+
}
|
562 |
} else {
|
563 |
if ( $required_version ) {
|
564 |
$required_message = sprintf(
|
567 |
$current_theme_name
|
568 |
);
|
569 |
}
|
570 |
+
|
571 |
+
if ( $companion_elementor_required_version ) {
|
572 |
+
if ( $required_version ) {
|
573 |
+
$required_message = sprintf(
|
574 |
+
esc_html__( 'This demo requires %1$s version of %2$s theme and %3$s version of %4$s plugin to get imported', 'themegrill-demo-importer' ),
|
575 |
+
$required_version,
|
576 |
+
$current_theme_name,
|
577 |
+
$companion_elementor_required_version,
|
578 |
+
esc_html__( 'Companion Elementor', 'themegrill-demo-importer' )
|
579 |
+
);
|
580 |
+
} else {
|
581 |
+
$required_message = sprintf(
|
582 |
+
esc_html__( 'This demo requires %1$s version of %2$s plugin to get imported', 'themegrill-demo-importer' ),
|
583 |
+
$companion_elementor_required_version,
|
584 |
+
esc_html__( 'Companion Elementor', 'themegrill-demo-importer' )
|
585 |
+
);
|
586 |
+
}
|
587 |
+
}
|
588 |
}
|
589 |
|
590 |
// Prepare all demos.
|
594 |
'theme' => $is_pro_theme_demo ? sprintf( esc_html__( '%s Pro', 'themegrill-demo-importer' ), $available_packages->name ) : $available_packages->name,
|
595 |
'isPro' => $is_pro_theme_demo ? false : isset( $package_data->isPro ),
|
596 |
'isPremium' => $this->zakra_is_premium_theme_plan() ? false : isset( $package_data->isPremium ),
|
597 |
+
'isAllThemePlan' => $this->themegrill_is_all_themes_plan() ? false : isset( $package_data->isAllThemePlan ),
|
598 |
'active' => $package_slug === $demo_activated_id,
|
599 |
'author' => isset( $package_data->author ) ? $package_data->author : __( 'ThemeGrill', 'themegrill-demo-importer' ),
|
600 |
'version' => isset( $package_data->version ) ? $package_data->version : $available_packages->version,
|
includes/class-themegrill-demo-importer.php
CHANGED
@@ -20,7 +20,7 @@ final class ThemeGrill_Demo_Importer {
|
|
20 |
*
|
21 |
* @var string
|
22 |
*/
|
23 |
-
public $version = '1.6.
|
24 |
|
25 |
/**
|
26 |
* Theme single instance of this class.
|
20 |
*
|
21 |
* @var string
|
22 |
*/
|
23 |
+
public $version = '1.6.9';
|
24 |
|
25 |
/**
|
26 |
* Theme single instance of this class.
|
includes/functions-demo-importer.php
CHANGED
@@ -265,11 +265,6 @@ function tg_set_elementor_active_kit() {
|
|
265 |
$page_id = $page_ids[0]->ID;
|
266 |
}
|
267 |
|
268 |
-
// Delete posts.
|
269 |
-
foreach ( $delete_ids as $delete_id ) {
|
270 |
-
wp_delete_post( $delete_id, true );
|
271 |
-
}
|
272 |
-
|
273 |
// Update `elementor_active_kit` page.
|
274 |
if ( $page_id > 0 ) {
|
275 |
wp_update_post(
|
265 |
$page_id = $page_ids[0]->ID;
|
266 |
}
|
267 |
|
|
|
|
|
|
|
|
|
|
|
268 |
// Update `elementor_active_kit` page.
|
269 |
if ( $page_id > 0 ) {
|
270 |
wp_update_post(
|
languages/themegrill-demo-importer.pot
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPLv3 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ThemeGrill Demo Importer 1.6.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/themegrill-demo-importer\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:
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: themegrill-demo-importer\n"
|
@@ -30,7 +30,7 @@ msgid "Import ThemeGrill official themes demo content, widgets and theme setting
|
|
30 |
msgstr ""
|
31 |
|
32 |
#. Author of the plugin
|
33 |
-
#: includes/class-demo-importer.php:
|
34 |
msgid "ThemeGrill"
|
35 |
msgstr ""
|
36 |
|
@@ -104,7 +104,7 @@ msgid "Deactivate"
|
|
104 |
msgstr ""
|
105 |
|
106 |
#: includes/admin/class-plugin-deactivate-notice.php:78
|
107 |
-
#: includes/class-demo-importer.php:
|
108 |
msgid "Action failed. Please refresh the page and retry."
|
109 |
msgstr ""
|
110 |
|
@@ -186,19 +186,19 @@ msgid "No demos found. Try a different search."
|
|
186 |
msgstr ""
|
187 |
|
188 |
#: includes/admin/views/html-admin-page-importer.php:81
|
189 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
190 |
msgid "Premium"
|
191 |
msgstr ""
|
192 |
|
193 |
#: includes/admin/views/html-admin-page-importer.php:85
|
194 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
195 |
msgid "Pro"
|
196 |
msgstr ""
|
197 |
|
198 |
#. translators: %s: Demo author name
|
199 |
#. translators: 1. Plugin author name.
|
200 |
#: includes/admin/views/html-admin-page-importer.php:91
|
201 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
202 |
#: includes/admin/views/html-admin-page-system-status-report.php:287
|
203 |
#: includes/admin/views/html-admin-page-system-status-report.php:334
|
204 |
msgid "By %s"
|
@@ -210,109 +210,115 @@ msgid "<span>Imported:</span> %s"
|
|
210 |
msgstr ""
|
211 |
|
212 |
#: includes/admin/views/html-admin-page-importer.php:109
|
213 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
214 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
215 |
#: assets/js/admin/demo-updates.js:114
|
216 |
msgid "Live Preview"
|
217 |
msgstr ""
|
218 |
|
219 |
#: includes/admin/views/html-admin-page-importer.php:112
|
220 |
#: includes/admin/views/html-admin-page-importer.php:114
|
221 |
-
#: includes/admin/views/html-admin-page-importer.php:141
|
222 |
#: includes/admin/views/html-admin-page-importer.php:143
|
223 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
224 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
|
|
225 |
msgid "Buy Now"
|
226 |
msgstr ""
|
227 |
|
228 |
#: includes/admin/views/html-admin-page-importer.php:116
|
229 |
#: includes/admin/views/html-admin-page-importer.php:147
|
230 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
msgid "Update"
|
232 |
msgstr ""
|
233 |
|
234 |
#. translators: %s: Demo name
|
235 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
236 |
msgctxt "demo"
|
237 |
msgid "Import %s"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
241 |
msgid "Import"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
245 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
246 |
msgid "Preview"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
250 |
msgctxt "demo"
|
251 |
msgid "Imported"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
255 |
msgid "Close"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
259 |
msgctxt "Button label for a demo"
|
260 |
msgid "Previous"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
264 |
msgctxt "Button label for a demo"
|
265 |
msgid "Next"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
269 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
270 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
271 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
272 |
msgid "Import Demo"
|
273 |
msgstr ""
|
274 |
|
275 |
#. translators: %s: Theme Name
|
276 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
277 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
278 |
msgid "%s theme is not active."
|
279 |
msgstr ""
|
280 |
|
281 |
#. translators: %s: Demo version
|
282 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
283 |
msgid "Version: %s"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
287 |
msgid "Plugins Information"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
291 |
msgid "Required Plugins"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
295 |
msgid "No plugins are required for this demo."
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
299 |
#: includes/class-demo-importer.php:215
|
300 |
msgid "Collapse Sidebar"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
304 |
msgid "Collapse"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
308 |
msgid "Enter desktop preview mode"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
312 |
msgid "Enter tablet preview mode"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
316 |
msgid "Enter mobile preview mode"
|
317 |
msgstr ""
|
318 |
|
@@ -667,66 +673,76 @@ msgstr ""
|
|
667 |
msgid "Official plugins"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: includes/class-demo-importer.php:
|
671 |
-
#: includes/class-demo-importer.php:
|
672 |
msgid "This demo requires %1$s version of %2$s theme to get imported"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: includes/class-demo-importer.php:
|
676 |
-
#: includes/class-demo-importer.php:
|
677 |
msgid "This demo requires %1$s version of %2$s theme and %3$s version of %4$s as well as %5$s version of %6$s plugins to get imported"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: includes/class-demo-importer.php:
|
681 |
-
#: includes/class-demo-importer.php:
|
682 |
-
#: includes/class-demo-importer.php:
|
683 |
-
#: includes/class-demo-importer.php:
|
|
|
684 |
msgid "Zakra Pro"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: includes/class-demo-importer.php:
|
688 |
-
#: includes/class-demo-importer.php:
|
689 |
-
#: includes/class-demo-importer.php:
|
690 |
-
#: includes/class-demo-importer.php:
|
|
|
|
|
|
|
691 |
msgid "Companion Elementor"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/class-demo-importer.php:
|
695 |
-
#: includes/class-demo-importer.php:
|
|
|
696 |
msgid "This demo requires %1$s version of %2$s theme and %3$s version of %4$s plugin to get imported"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: includes/class-demo-importer.php:
|
700 |
-
#: includes/class-demo-importer.php:
|
|
|
701 |
msgid "This demo requires %1$s version of %2$s plugin to get imported"
|
702 |
msgstr ""
|
703 |
|
704 |
-
#: includes/class-demo-importer.php:
|
|
|
|
|
|
|
|
|
705 |
msgid "%s Pro"
|
706 |
msgstr ""
|
707 |
|
708 |
-
#: includes/class-demo-importer.php:
|
709 |
msgid "No demo specified."
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: includes/class-demo-importer.php:
|
713 |
msgid "Sorry, you are not allowed to import content."
|
714 |
msgstr ""
|
715 |
|
716 |
-
#: includes/class-demo-importer.php:
|
717 |
#: includes/functions-demo-importer.php:110
|
718 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: includes/class-demo-importer.php:
|
722 |
msgid "The XML file dummy content is missing."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: includes/class-demo-importer.php:
|
726 |
msgid "The DAT file customizer data is missing."
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: includes/class-demo-importer.php:
|
730 |
msgid "The WIE file widget content is missing."
|
731 |
msgstr ""
|
732 |
|
@@ -774,26 +790,26 @@ msgid "Sorry, you are not allowed to install plugins on this site."
|
|
774 |
msgstr ""
|
775 |
|
776 |
#. translators: %s: Number of plugins
|
777 |
-
#: includes/functions-demo-importer.php:
|
778 |
msgid "%s plugin successfully installed."
|
779 |
msgstr ""
|
780 |
|
781 |
#. translators: %s: Number of plugins
|
782 |
-
#: includes/functions-demo-importer.php:
|
783 |
msgid "%s plugins successfully installed."
|
784 |
msgstr ""
|
785 |
|
786 |
#. translators: %s: Number of failed installs
|
787 |
-
#: includes/functions-demo-importer.php:
|
788 |
msgid "%s install failed."
|
789 |
msgstr ""
|
790 |
|
791 |
#. translators: %s: Number of failed installs
|
792 |
-
#: includes/functions-demo-importer.php:
|
793 |
msgid "%s installs failed."
|
794 |
msgstr ""
|
795 |
|
796 |
-
#: includes/functions-demo-importer.php:
|
797 |
msgid "Show more details"
|
798 |
msgstr ""
|
799 |
|
1 |
+
# Copyright (C) 2021 ThemeGrill
|
2 |
# This file is distributed under the GPLv3 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ThemeGrill Demo Importer 1.6.9\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/themegrill-demo-importer\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: 2021-01-07T05:38:16+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: themegrill-demo-importer\n"
|
30 |
msgstr ""
|
31 |
|
32 |
#. Author of the plugin
|
33 |
+
#: includes/class-demo-importer.php:599
|
34 |
msgid "ThemeGrill"
|
35 |
msgstr ""
|
36 |
|
104 |
msgstr ""
|
105 |
|
106 |
#: includes/admin/class-plugin-deactivate-notice.php:78
|
107 |
+
#: includes/class-demo-importer.php:1331
|
108 |
msgid "Action failed. Please refresh the page and retry."
|
109 |
msgstr ""
|
110 |
|
186 |
msgstr ""
|
187 |
|
188 |
#: includes/admin/views/html-admin-page-importer.php:81
|
189 |
+
#: includes/admin/views/html-admin-page-importer.php:165
|
190 |
msgid "Premium"
|
191 |
msgstr ""
|
192 |
|
193 |
#: includes/admin/views/html-admin-page-importer.php:85
|
194 |
+
#: includes/admin/views/html-admin-page-importer.php:169
|
195 |
msgid "Pro"
|
196 |
msgstr ""
|
197 |
|
198 |
#. translators: %s: Demo author name
|
199 |
#. translators: 1. Plugin author name.
|
200 |
#: includes/admin/views/html-admin-page-importer.php:91
|
201 |
+
#: includes/admin/views/html-admin-page-importer.php:176
|
202 |
#: includes/admin/views/html-admin-page-system-status-report.php:287
|
203 |
#: includes/admin/views/html-admin-page-system-status-report.php:334
|
204 |
msgid "By %s"
|
210 |
msgstr ""
|
211 |
|
212 |
#: includes/admin/views/html-admin-page-importer.php:109
|
213 |
+
#: includes/admin/views/html-admin-page-importer.php:154
|
214 |
+
#: includes/admin/views/html-admin-page-importer.php:260
|
215 |
#: assets/js/admin/demo-updates.js:114
|
216 |
msgid "Live Preview"
|
217 |
msgstr ""
|
218 |
|
219 |
#: includes/admin/views/html-admin-page-importer.php:112
|
220 |
#: includes/admin/views/html-admin-page-importer.php:114
|
|
|
221 |
#: includes/admin/views/html-admin-page-importer.php:143
|
222 |
+
#: includes/admin/views/html-admin-page-importer.php:145
|
223 |
+
#: includes/admin/views/html-admin-page-importer.php:249
|
224 |
+
#: includes/admin/views/html-admin-page-importer.php:251
|
225 |
msgid "Buy Now"
|
226 |
msgstr ""
|
227 |
|
228 |
#: includes/admin/views/html-admin-page-importer.php:116
|
229 |
#: includes/admin/views/html-admin-page-importer.php:147
|
230 |
+
#: includes/admin/views/html-admin-page-importer.php:253
|
231 |
+
msgid "Upgrade Theme Plan"
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: includes/admin/views/html-admin-page-importer.php:118
|
235 |
+
#: includes/admin/views/html-admin-page-importer.php:151
|
236 |
+
#: includes/admin/views/html-admin-page-importer.php:257
|
237 |
msgid "Update"
|
238 |
msgstr ""
|
239 |
|
240 |
#. translators: %s: Demo name
|
241 |
+
#: includes/admin/views/html-admin-page-importer.php:122
|
242 |
msgctxt "demo"
|
243 |
msgid "Import %s"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: includes/admin/views/html-admin-page-importer.php:124
|
247 |
msgid "Import"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: includes/admin/views/html-admin-page-importer.php:126
|
251 |
+
#: includes/admin/views/html-admin-page-importer.php:286
|
252 |
msgid "Preview"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: includes/admin/views/html-admin-page-importer.php:132
|
256 |
msgctxt "demo"
|
257 |
msgid "Imported"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: includes/admin/views/html-admin-page-importer.php:139
|
261 |
msgid "Close"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: includes/admin/views/html-admin-page-importer.php:140
|
265 |
msgctxt "Button label for a demo"
|
266 |
msgid "Previous"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/admin/views/html-admin-page-importer.php:141
|
270 |
msgctxt "Button label for a demo"
|
271 |
msgid "Next"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: includes/admin/views/html-admin-page-importer.php:149
|
275 |
+
#: includes/admin/views/html-admin-page-importer.php:156
|
276 |
+
#: includes/admin/views/html-admin-page-importer.php:255
|
277 |
+
#: includes/admin/views/html-admin-page-importer.php:262
|
278 |
msgid "Import Demo"
|
279 |
msgstr ""
|
280 |
|
281 |
#. translators: %s: Theme Name
|
282 |
+
#: includes/admin/views/html-admin-page-importer.php:187
|
283 |
+
#: includes/admin/views/html-admin-page-importer.php:196
|
284 |
msgid "%s theme is not active."
|
285 |
msgstr ""
|
286 |
|
287 |
#. translators: %s: Demo version
|
288 |
+
#: includes/admin/views/html-admin-page-importer.php:203
|
289 |
msgid "Version: %s"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: includes/admin/views/html-admin-page-importer.php:210
|
293 |
msgid "Plugins Information"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: includes/admin/views/html-admin-page-importer.php:215
|
297 |
msgid "Required Plugins"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: includes/admin/views/html-admin-page-importer.php:238
|
301 |
msgid "No plugins are required for this demo."
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/admin/views/html-admin-page-importer.php:266
|
305 |
#: includes/class-demo-importer.php:215
|
306 |
msgid "Collapse Sidebar"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: includes/admin/views/html-admin-page-importer.php:268
|
310 |
msgid "Collapse"
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: includes/admin/views/html-admin-page-importer.php:273
|
314 |
msgid "Enter desktop preview mode"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: includes/admin/views/html-admin-page-importer.php:276
|
318 |
msgid "Enter tablet preview mode"
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: includes/admin/views/html-admin-page-importer.php:279
|
322 |
msgid "Enter mobile preview mode"
|
323 |
msgstr ""
|
324 |
|
673 |
msgid "Official plugins"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: includes/class-demo-importer.php:494
|
677 |
+
#: includes/class-demo-importer.php:565
|
678 |
msgid "This demo requires %1$s version of %2$s theme to get imported"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: includes/class-demo-importer.php:500
|
682 |
+
#: includes/class-demo-importer.php:528
|
683 |
msgid "This demo requires %1$s version of %2$s theme and %3$s version of %4$s as well as %5$s version of %6$s plugins to get imported"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: includes/class-demo-importer.php:504
|
687 |
+
#: includes/class-demo-importer.php:514
|
688 |
+
#: includes/class-demo-importer.php:520
|
689 |
+
#: includes/class-demo-importer.php:532
|
690 |
+
#: includes/class-demo-importer.php:557
|
691 |
msgid "Zakra Pro"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/class-demo-importer.php:506
|
695 |
+
#: includes/class-demo-importer.php:534
|
696 |
+
#: includes/class-demo-importer.php:542
|
697 |
+
#: includes/class-demo-importer.php:548
|
698 |
+
#: includes/class-demo-importer.php:559
|
699 |
+
#: includes/class-demo-importer.php:578
|
700 |
+
#: includes/class-demo-importer.php:584
|
701 |
msgid "Companion Elementor"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: includes/class-demo-importer.php:510
|
705 |
+
#: includes/class-demo-importer.php:538
|
706 |
+
#: includes/class-demo-importer.php:574
|
707 |
msgid "This demo requires %1$s version of %2$s theme and %3$s version of %4$s plugin to get imported"
|
708 |
msgstr ""
|
709 |
|
710 |
+
#: includes/class-demo-importer.php:518
|
711 |
+
#: includes/class-demo-importer.php:546
|
712 |
+
#: includes/class-demo-importer.php:582
|
713 |
msgid "This demo requires %1$s version of %2$s plugin to get imported"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: includes/class-demo-importer.php:555
|
717 |
+
msgid "This demo requires %1$s version of %2$s as well as %3$s version of %4$s plugins to get imported"
|
718 |
+
msgstr ""
|
719 |
+
|
720 |
+
#: includes/class-demo-importer.php:594
|
721 |
msgid "%s Pro"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: includes/class-demo-importer.php:659
|
725 |
msgid "No demo specified."
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/class-demo-importer.php:675
|
729 |
msgid "Sorry, you are not allowed to import content."
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: includes/class-demo-importer.php:707
|
733 |
#: includes/functions-demo-importer.php:110
|
734 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: includes/class-demo-importer.php:790
|
738 |
msgid "The XML file dummy content is missing."
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: includes/class-demo-importer.php:884
|
742 |
msgid "The DAT file customizer data is missing."
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: includes/class-demo-importer.php:909
|
746 |
msgid "The WIE file widget content is missing."
|
747 |
msgstr ""
|
748 |
|
790 |
msgstr ""
|
791 |
|
792 |
#. translators: %s: Number of plugins
|
793 |
+
#: includes/functions-demo-importer.php:406
|
794 |
msgid "%s plugin successfully installed."
|
795 |
msgstr ""
|
796 |
|
797 |
#. translators: %s: Number of plugins
|
798 |
+
#: includes/functions-demo-importer.php:413
|
799 |
msgid "%s plugins successfully installed."
|
800 |
msgstr ""
|
801 |
|
802 |
#. translators: %s: Number of failed installs
|
803 |
+
#: includes/functions-demo-importer.php:423
|
804 |
msgid "%s install failed."
|
805 |
msgstr ""
|
806 |
|
807 |
#. translators: %s: Number of failed installs
|
808 |
+
#: includes/functions-demo-importer.php:428
|
809 |
msgid "%s installs failed."
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/functions-demo-importer.php:431
|
813 |
msgid "Show more details"
|
814 |
msgstr ""
|
815 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: ThemeGrill, shivapoudel
|
|
3 |
Tags: themegrill, theme demos, demo, importer, one click import
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 1.6.
|
7 |
License: GPLv3 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -72,6 +72,9 @@ Yes you can! Join in on our [GitHub repository](https://github.com/themegrill/th
|
|
72 |
3. Finally, Import the Demo with just one click.
|
73 |
|
74 |
== Changelog ==
|
|
|
|
|
|
|
75 |
= 1.6.8 - 23-11-2020 =
|
76 |
* Fix - WooCommerce default pages not set properly after the theme demo import
|
77 |
* Fix - Elementor default kit introduced from version 3.0.0 not applied after the theme demo import
|
3 |
Tags: themegrill, theme demos, demo, importer, one click import
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 1.6.9
|
7 |
License: GPLv3 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
72 |
3. Finally, Import the Demo with just one click.
|
73 |
|
74 |
== Changelog ==
|
75 |
+
= 1.6.9 - 7-01-2021 =
|
76 |
+
* Tweak - Require `Companion Addons for Elementor` plugin to import certain demos according to the demo config set
|
77 |
+
|
78 |
= 1.6.8 - 23-11-2020 =
|
79 |
* Fix - WooCommerce default pages not set properly after the theme demo import
|
80 |
* Fix - Elementor default kit introduced from version 3.0.0 not applied after the theme demo import
|
themegrill-demo-importer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ThemeGrill Demo Importer
|
4 |
* Plugin URI: https://themegrill.com/demo-importer/
|
5 |
* Description: Import ThemeGrill official themes demo content, widgets and theme settings with just one click.
|
6 |
-
* Version: 1.6.
|
7 |
* Author: ThemeGrill
|
8 |
* Author URI: https://themegrill.com
|
9 |
* License: GPLv3 or later
|
3 |
* Plugin Name: ThemeGrill Demo Importer
|
4 |
* Plugin URI: https://themegrill.com/demo-importer/
|
5 |
* Description: Import ThemeGrill official themes demo content, widgets and theme settings with just one click.
|
6 |
+
* Version: 1.6.9
|
7 |
* Author: ThemeGrill
|
8 |
* Author URI: https://themegrill.com
|
9 |
* License: GPLv3 or later
|