Version Description
- 10-09-2019 =
- Tweak - Support for Zakra Premium version demo import.
Download this release
Release Info
Developer | ThemeGrill |
Plugin | ThemeGrill Demo Importer |
Version | 1.6.0 |
Comparing to | |
See all releases |
Code changes from version 1.5.9 to 1.6.0
includes/admin/views/html-admin-page-importer.php
CHANGED
@@ -70,6 +70,10 @@ defined( 'ABSPATH' ) || exit;
|
|
70 |
<div class="theme-screenshot blank"></div>
|
71 |
<# } #>
|
72 |
|
|
|
|
|
|
|
|
|
73 |
<# if ( data.isPro ) { #>
|
74 |
<span class="premium-demo-banner"><?php esc_html_e( 'Pro', 'themegrill-demo-importer' ); ?></span>
|
75 |
<# } #>
|
@@ -97,7 +101,9 @@ defined( 'ABSPATH' ) || exit;
|
|
97 |
<# if ( data.active ) { #>
|
98 |
<a class="button button-primary live-preview" target="_blank" href="<?php echo esc_url_raw( home_url( '/' ) ); ?>"><?php esc_html_e( 'Live Preview', 'themegrill-demo-importer' ); ?></a>
|
99 |
<# } else { #>
|
100 |
-
<# if ( data.
|
|
|
|
|
101 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
102 |
<# } else { #>
|
103 |
<?php
|
@@ -122,7 +128,9 @@ defined( 'ABSPATH' ) || exit;
|
|
122 |
<button class="close-full-overlay"><span class="screen-reader-text"><?php esc_html_e( 'Close', 'themegrill-demo-importer' ); ?></span></button>
|
123 |
<button class="previous-theme"><span class="screen-reader-text"><?php echo esc_html_x( 'Previous', 'Button label for a demo', 'themegrill-demo-importer' ); ?></span></button>
|
124 |
<button class="next-theme"><span class="screen-reader-text"><?php echo esc_html_x( 'Next', 'Button label for a demo', 'themegrill-demo-importer' ); ?></span></button>
|
125 |
-
<# if ( data.
|
|
|
|
|
126 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
127 |
<# } else if ( data.requiredTheme ) { #>
|
128 |
<button class="button button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
@@ -138,6 +146,10 @@ defined( 'ABSPATH' ) || exit;
|
|
138 |
<div class="install-theme-info">
|
139 |
<h3 class="theme-name">
|
140 |
{{ data.name }}
|
|
|
|
|
|
|
|
|
141 |
<# if ( data.isPro ) { #>
|
142 |
<span class="premium-demo-tag"><?php esc_html_e( 'Pro', 'themegrill-demo-importer' ); ?></span>
|
143 |
<# } #>
|
@@ -153,6 +165,15 @@ defined( 'ABSPATH' ) || exit;
|
|
153 |
<img class="theme-screenshot" src="{{ data.screenshot_url }}" alt="" />
|
154 |
|
155 |
<div class="theme-details">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
<# if ( ! data.isPro && data.requiredTheme ) { #>
|
157 |
<div class="demo-message notice notice-error notice-alt"><p>
|
158 |
<?php
|
@@ -209,7 +230,9 @@ defined( 'ABSPATH' ) || exit;
|
|
209 |
</div>
|
210 |
<div class="wp-full-overlay-footer">
|
211 |
<div class="demo-import-actions">
|
212 |
-
<# if ( data.
|
|
|
|
|
213 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
214 |
<# } else if ( data.requiredTheme ) { #>
|
215 |
<button class="button button-hero button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
70 |
<div class="theme-screenshot blank"></div>
|
71 |
<# } #>
|
72 |
|
73 |
+
<# if ( data.isPremium ) { #>
|
74 |
+
<span class="premium-demo-banner"><?php esc_html_e( 'Premium', 'themegrill-demo-importer' ); ?></span>
|
75 |
+
<# } #>
|
76 |
+
|
77 |
<# if ( data.isPro ) { #>
|
78 |
<span class="premium-demo-banner"><?php esc_html_e( 'Pro', 'themegrill-demo-importer' ); ?></span>
|
79 |
<# } #>
|
101 |
<# if ( data.active ) { #>
|
102 |
<a class="button button-primary live-preview" target="_blank" href="<?php echo esc_url_raw( home_url( '/' ) ); ?>"><?php esc_html_e( 'Live Preview', 'themegrill-demo-importer' ); ?></a>
|
103 |
<# } else { #>
|
104 |
+
<# if ( data.isPremium ) { #>
|
105 |
+
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
106 |
+
<# } else if ( data.isPro ) { #>
|
107 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
108 |
<# } else { #>
|
109 |
<?php
|
128 |
<button class="close-full-overlay"><span class="screen-reader-text"><?php esc_html_e( 'Close', 'themegrill-demo-importer' ); ?></span></button>
|
129 |
<button class="previous-theme"><span class="screen-reader-text"><?php echo esc_html_x( 'Previous', 'Button label for a demo', 'themegrill-demo-importer' ); ?></span></button>
|
130 |
<button class="next-theme"><span class="screen-reader-text"><?php echo esc_html_x( 'Next', 'Button label for a demo', 'themegrill-demo-importer' ); ?></span></button>
|
131 |
+
<# if ( data.isPremium ) { #>
|
132 |
+
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
133 |
+
<# } else if ( data.isPro ) { #>
|
134 |
<a class="button button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
135 |
<# } else if ( data.requiredTheme ) { #>
|
136 |
<button class="button button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
146 |
<div class="install-theme-info">
|
147 |
<h3 class="theme-name">
|
148 |
{{ data.name }}
|
149 |
+
<# if ( data.isPremium ) { #>
|
150 |
+
<span class="premium-demo-tag"><?php esc_html_e( 'Premium', 'themegrill-demo-importer' ); ?></span>
|
151 |
+
<# } #>
|
152 |
+
|
153 |
<# if ( data.isPro ) { #>
|
154 |
<span class="premium-demo-tag"><?php esc_html_e( 'Pro', 'themegrill-demo-importer' ); ?></span>
|
155 |
<# } #>
|
165 |
<img class="theme-screenshot" src="{{ data.screenshot_url }}" alt="" />
|
166 |
|
167 |
<div class="theme-details">
|
168 |
+
<# if ( ! data.isPremium && data.requiredTheme ) { #>
|
169 |
+
<div class="demo-message notice notice-error notice-alt"><p>
|
170 |
+
<?php
|
171 |
+
/* translators: %s: Theme Name */
|
172 |
+
printf( esc_html__( '%s theme is not active.', 'themegrill-demo-importer' ), '<strong>{{{ data.theme }}}</strong>' );
|
173 |
+
?>
|
174 |
+
</p></div>
|
175 |
+
<# } #>
|
176 |
+
|
177 |
<# if ( ! data.isPro && data.requiredTheme ) { #>
|
178 |
<div class="demo-message notice notice-error notice-alt"><p>
|
179 |
<?php
|
230 |
</div>
|
231 |
<div class="wp-full-overlay-footer">
|
232 |
<div class="demo-import-actions">
|
233 |
+
<# if ( data.isPremium ) { #>
|
234 |
+
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
235 |
+
<# } else if ( data.isPro ) { #>
|
236 |
<a class="button button-hero button-primary purchase-now" href="{{ data.homepage }}" target="_blank"><?php esc_html_e( 'Buy Now', 'themegrill-demo-importer' ); ?></a>
|
237 |
<# } else if ( data.requiredTheme ) { #>
|
238 |
<button class="button button-hero button-primary hide-if-no-js disabled"><?php esc_html_e( 'Import Demo', 'themegrill-demo-importer' ); ?></button>
|
includes/class-demo-importer.php
CHANGED
@@ -456,6 +456,21 @@ class TG_Demo_Importer {
|
|
456 |
include_once dirname( __FILE__ ) . '/admin/views/html-admin-page-importer.php';
|
457 |
}
|
458 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
459 |
/**
|
460 |
* Ajax handler for getting demos from github.
|
461 |
*/
|
@@ -526,6 +541,7 @@ class TG_Demo_Importer {
|
|
526 |
'name' => $package_data->title,
|
527 |
'theme' => $is_pro_theme_demo ? sprintf( esc_html__( '%s Pro', 'themegrill-demo-importer' ), $available_packages->name ) : $available_packages->name,
|
528 |
'isPro' => $is_pro_theme_demo ? false : isset( $package_data->isPro ),
|
|
|
529 |
'active' => $package_slug === $demo_activated_id,
|
530 |
'author' => isset( $package_data->author ) ? $package_data->author : __( 'ThemeGrill', 'themegrill-demo-importer' ),
|
531 |
'version' => isset( $package_data->version ) ? $package_data->version : $available_packages->version,
|
456 |
include_once dirname( __FILE__ ) . '/admin/views/html-admin-page-importer.php';
|
457 |
}
|
458 |
|
459 |
+
/**
|
460 |
+
* Check for Zakra Premium theme plan.
|
461 |
+
*
|
462 |
+
* @return bool
|
463 |
+
*/
|
464 |
+
public function zakra_is_premium_theme_plan() {
|
465 |
+
|
466 |
+
if ( is_plugin_active( 'zakra-pro/zakra-pro.php' ) && is_plugin_active( 'companion-elementor/companion-elementor.php') ) {
|
467 |
+
return true;
|
468 |
+
}
|
469 |
+
|
470 |
+
return false;
|
471 |
+
|
472 |
+
}
|
473 |
+
|
474 |
/**
|
475 |
* Ajax handler for getting demos from github.
|
476 |
*/
|
541 |
'name' => $package_data->title,
|
542 |
'theme' => $is_pro_theme_demo ? sprintf( esc_html__( '%s Pro', 'themegrill-demo-importer' ), $available_packages->name ) : $available_packages->name,
|
543 |
'isPro' => $is_pro_theme_demo ? false : isset( $package_data->isPro ),
|
544 |
+
'isPremium' => $this->zakra_is_premium_theme_plan() ? false : isset( $package_data->isPremium ),
|
545 |
'active' => $package_slug === $demo_activated_id,
|
546 |
'author' => isset( $package_data->author ) ? $package_data->author : __( 'ThemeGrill', 'themegrill-demo-importer' ),
|
547 |
'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.
|
24 |
|
25 |
/**
|
26 |
* Theme single instance of this class.
|
20 |
*
|
21 |
* @var string
|
22 |
*/
|
23 |
+
public $version = '1.6.0';
|
24 |
|
25 |
/**
|
26 |
* Theme single instance of this class.
|
languages/themegrill-demo-importer.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the GPLv3 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ThemeGrill Demo Importer 1.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/themegrill/themegrill-demo-importer/issues\n"
|
8 |
-
"POT-Creation-Date: 2019-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -87,94 +87,103 @@ msgid "No demos found. Try a different search."
|
|
87 |
msgstr ""
|
88 |
|
89 |
#: includes/admin/views/html-admin-page-importer.php:74
|
90 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
|
|
|
|
|
|
|
|
|
|
91 |
msgid "Pro"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
95 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
96 |
#. translators: %s: Demo author name
|
97 |
msgid "By %s"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
101 |
#. translators: %s: Demo name
|
102 |
msgid "<span>Imported:</span> %s"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
106 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
107 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
108 |
#: includes/class-demo-importer.php:184
|
109 |
msgid "Live Preview"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
113 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
114 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
|
|
|
|
|
|
115 |
msgid "Buy Now"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
119 |
msgid "Import"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
123 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
124 |
msgid "Preview"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
128 |
msgid "Close"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
132 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
133 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
134 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
135 |
msgid "Import Demo"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
|
|
139 |
#. translators: %s: Theme Name
|
140 |
msgid "%s theme is not active."
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
144 |
#. translators: %s: Demo version
|
145 |
msgid "Version: %s"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
149 |
msgid "Plugins Information"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
153 |
msgid "Required Plugins"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
157 |
msgid "No plugins are required for this demo."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
161 |
#: includes/class-demo-importer.php:229
|
162 |
msgid "Collapse Sidebar"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
166 |
msgid "Collapse"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
170 |
msgid "Enter desktop preview mode"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
174 |
msgid "Enter tablet preview mode"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
178 |
msgid "Enter mobile preview mode"
|
179 |
msgstr ""
|
180 |
|
@@ -417,7 +426,7 @@ msgstr ""
|
|
417 |
msgid "Cheatin’ huh?"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: includes/class-demo-importer.php:
|
421 |
msgid "%s Pro"
|
422 |
msgstr ""
|
423 |
|
@@ -425,28 +434,28 @@ msgstr ""
|
|
425 |
msgid "ThemeGrill"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: includes/class-demo-importer.php:
|
429 |
msgid "No demo specified."
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: includes/class-demo-importer.php:
|
433 |
msgid "Sorry, you are not allowed to import content."
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/class-demo-importer.php:
|
437 |
#: includes/functions-demo-importer.php:110
|
438 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
439 |
msgstr ""
|
440 |
|
441 |
-
#: includes/class-demo-importer.php:
|
442 |
msgid "The XML file dummy content is missing."
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: includes/class-demo-importer.php:
|
446 |
msgid "The DAT file customizer data is missing."
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: includes/class-demo-importer.php:
|
450 |
msgid "The WIE file widget content is missing."
|
451 |
msgstr ""
|
452 |
|
@@ -768,13 +777,13 @@ msgstr ""
|
|
768 |
msgid "https://themegrill.com"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
772 |
#. translators: %s: Demo name
|
773 |
msgctxt "demo"
|
774 |
msgid "Import %s"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
778 |
msgctxt "demo"
|
779 |
msgid "Imported"
|
780 |
msgstr ""
|
@@ -799,12 +808,12 @@ msgctxt "demo"
|
|
799 |
msgid "Live Preview %s"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
803 |
msgctxt "Button label for a demo"
|
804 |
msgid "Previous"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: includes/admin/views/html-admin-page-importer.php:
|
808 |
msgctxt "Button label for a demo"
|
809 |
msgid "Next"
|
810 |
msgstr ""
|
2 |
# This file is distributed under the GPLv3 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ThemeGrill Demo Importer 1.6.0\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/themegrill/themegrill-demo-importer/issues\n"
|
8 |
+
"POT-Creation-Date: 2019-09-10 04:33:13+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
87 |
msgstr ""
|
88 |
|
89 |
#: includes/admin/views/html-admin-page-importer.php:74
|
90 |
+
#: includes/admin/views/html-admin-page-importer.php:150
|
91 |
+
msgid "Premium"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: includes/admin/views/html-admin-page-importer.php:78
|
95 |
+
#: includes/admin/views/html-admin-page-importer.php:154
|
96 |
msgid "Pro"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: includes/admin/views/html-admin-page-importer.php:84
|
100 |
+
#: includes/admin/views/html-admin-page-importer.php:161
|
101 |
#. translators: %s: Demo author name
|
102 |
msgid "By %s"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/admin/views/html-admin-page-importer.php:93
|
106 |
#. translators: %s: Demo name
|
107 |
msgid "<span>Imported:</span> %s"
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: includes/admin/views/html-admin-page-importer.php:102
|
111 |
+
#: includes/admin/views/html-admin-page-importer.php:139
|
112 |
+
#: includes/admin/views/html-admin-page-importer.php:241
|
113 |
#: includes/class-demo-importer.php:184
|
114 |
msgid "Live Preview"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/admin/views/html-admin-page-importer.php:105
|
118 |
+
#: includes/admin/views/html-admin-page-importer.php:107
|
119 |
+
#: includes/admin/views/html-admin-page-importer.php:132
|
120 |
+
#: includes/admin/views/html-admin-page-importer.php:134
|
121 |
+
#: includes/admin/views/html-admin-page-importer.php:234
|
122 |
+
#: includes/admin/views/html-admin-page-importer.php:236
|
123 |
msgid "Buy Now"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: includes/admin/views/html-admin-page-importer.php:113
|
127 |
msgid "Import"
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: includes/admin/views/html-admin-page-importer.php:115
|
131 |
+
#: includes/admin/views/html-admin-page-importer.php:267
|
132 |
msgid "Preview"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: includes/admin/views/html-admin-page-importer.php:128
|
136 |
msgid "Close"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: includes/admin/views/html-admin-page-importer.php:136
|
140 |
+
#: includes/admin/views/html-admin-page-importer.php:141
|
141 |
+
#: includes/admin/views/html-admin-page-importer.php:238
|
142 |
+
#: includes/admin/views/html-admin-page-importer.php:243
|
143 |
msgid "Import Demo"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: includes/admin/views/html-admin-page-importer.php:172
|
147 |
+
#: includes/admin/views/html-admin-page-importer.php:181
|
148 |
#. translators: %s: Theme Name
|
149 |
msgid "%s theme is not active."
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: includes/admin/views/html-admin-page-importer.php:188
|
153 |
#. translators: %s: Demo version
|
154 |
msgid "Version: %s"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/admin/views/html-admin-page-importer.php:195
|
158 |
msgid "Plugins Information"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: includes/admin/views/html-admin-page-importer.php:200
|
162 |
msgid "Required Plugins"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/admin/views/html-admin-page-importer.php:223
|
166 |
msgid "No plugins are required for this demo."
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: includes/admin/views/html-admin-page-importer.php:247
|
170 |
#: includes/class-demo-importer.php:229
|
171 |
msgid "Collapse Sidebar"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: includes/admin/views/html-admin-page-importer.php:249
|
175 |
msgid "Collapse"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: includes/admin/views/html-admin-page-importer.php:254
|
179 |
msgid "Enter desktop preview mode"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/admin/views/html-admin-page-importer.php:257
|
183 |
msgid "Enter tablet preview mode"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/admin/views/html-admin-page-importer.php:260
|
187 |
msgid "Enter mobile preview mode"
|
188 |
msgstr ""
|
189 |
|
426 |
msgid "Cheatin’ huh?"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: includes/class-demo-importer.php:542
|
430 |
msgid "%s Pro"
|
431 |
msgstr ""
|
432 |
|
434 |
msgid "ThemeGrill"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: includes/class-demo-importer.php:600
|
438 |
msgid "No demo specified."
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: includes/class-demo-importer.php:616
|
442 |
msgid "Sorry, you are not allowed to import content."
|
443 |
msgstr ""
|
444 |
|
445 |
+
#: includes/class-demo-importer.php:648
|
446 |
#: includes/functions-demo-importer.php:110
|
447 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: includes/class-demo-importer.php:731
|
451 |
msgid "The XML file dummy content is missing."
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: includes/class-demo-importer.php:822
|
455 |
msgid "The DAT file customizer data is missing."
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: includes/class-demo-importer.php:847
|
459 |
msgid "The WIE file widget content is missing."
|
460 |
msgstr ""
|
461 |
|
777 |
msgid "https://themegrill.com"
|
778 |
msgstr ""
|
779 |
|
780 |
+
#: includes/admin/views/html-admin-page-importer.php:111
|
781 |
#. translators: %s: Demo name
|
782 |
msgctxt "demo"
|
783 |
msgid "Import %s"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/admin/views/html-admin-page-importer.php:121
|
787 |
msgctxt "demo"
|
788 |
msgid "Imported"
|
789 |
msgstr ""
|
808 |
msgid "Live Preview %s"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: includes/admin/views/html-admin-page-importer.php:129
|
812 |
msgctxt "Button label for a demo"
|
813 |
msgid "Previous"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/admin/views/html-admin-page-importer.php:130
|
817 |
msgctxt "Button label for a demo"
|
818 |
msgid "Next"
|
819 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: ThemeGrill, shivapoudel
|
3 |
Tags: themegrill, theme demos, demo, importer, one click import
|
4 |
Requires at least: 4.7
|
5 |
-
Tested up to: 5.2.
|
6 |
-
Stable tag: 1.
|
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.5.9 - 22-07-2019 =
|
76 |
* Tweak - Display all available theme demos on main demo import page.
|
77 |
|
2 |
Contributors: ThemeGrill, shivapoudel
|
3 |
Tags: themegrill, theme demos, demo, importer, one click import
|
4 |
Requires at least: 4.7
|
5 |
+
Tested up to: 5.2.3
|
6 |
+
Stable tag: 1.6.0
|
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.0 - 10-09-2019 =
|
76 |
+
* Tweak - Support for Zakra Premium version demo import.
|
77 |
+
|
78 |
= 1.5.9 - 22-07-2019 =
|
79 |
* Tweak - Display all available theme demos on main demo import page.
|
80 |
|
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.
|
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.0
|
7 |
* Author: ThemeGrill
|
8 |
* Author URI: https://themegrill.com
|
9 |
* License: GPLv3 or later
|