Version Description
- 15-09-2020 =
- Tweak - Utilize
wp.i18n
for translation of strings forwp.updates.l10n
deprecated since WordPress 5.5
Download this release
Release Info
Developer | themegrilldev |
Plugin | ThemeGrill Demo Importer |
Version | 1.6.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.7
- assets/js/admin/demo-updates.js +105 -49
- assets/js/admin/demo-updates.min.js +1 -1
- includes/class-demo-importer.php +5 -118
- includes/class-themegrill-demo-importer.php +1 -1
- languages/themegrill-demo-importer.pot +222 -482
- readme.txt +4 -1
- themegrill-demo-importer.php +1 -1
assets/js/admin/demo-updates.js
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
-
( function( $, wp
|
2 |
-
var $document = $( document )
|
|
|
|
|
|
|
3 |
|
4 |
wp = wp || {};
|
5 |
|
@@ -10,18 +13,6 @@
|
|
10 |
*/
|
11 |
wp.updates = wp.updates || {};
|
12 |
|
13 |
-
/**
|
14 |
-
* Localized strings.
|
15 |
-
*
|
16 |
-
* @type {object}
|
17 |
-
*/
|
18 |
-
wp.updates.l10n = _.extend( wp.updates.l10n, settings.l10n || {} );
|
19 |
-
|
20 |
-
// Check for WordPress 5.5 version.
|
21 |
-
if ( 'undefined' === typeof wp.updates.l10n ) {
|
22 |
-
wp.updates.l10n = settings.l10n || {};
|
23 |
-
}
|
24 |
-
|
25 |
/**
|
26 |
* Sends an Ajax request to the server to import a demo.
|
27 |
*
|
@@ -46,14 +37,21 @@
|
|
46 |
|
47 |
$message.addClass( 'updating-message' );
|
48 |
$message.parents( '.theme' ).addClass( 'focus' );
|
49 |
-
if ( $message.html() !==
|
50 |
$message.data( 'originaltext', $message.html() );
|
51 |
}
|
52 |
|
53 |
$message
|
54 |
-
.text(
|
55 |
-
.attr(
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
// Remove previous error messages, if any.
|
59 |
$( '.install-theme-info, [data-slug="' + args.slug + '"]' ).removeClass( 'demo-import-failed' ).find( '.notice.notice-error' ).remove();
|
@@ -80,10 +78,17 @@
|
|
80 |
$message = $card.find( '.button-primary' )
|
81 |
.removeClass( 'updating-message' )
|
82 |
.addClass( 'updated-message disabled' )
|
83 |
-
.attr(
|
84 |
-
|
85 |
-
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
setTimeout( function() {
|
89 |
|
@@ -98,8 +103,15 @@
|
|
98 |
.attr( 'href', response.previewUrl )
|
99 |
.removeClass( 'demo-import updated-message disabled' )
|
100 |
.addClass( 'live-preview' )
|
101 |
-
.attr(
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
}, 1000 );
|
105 |
};
|
@@ -115,7 +127,11 @@
|
|
115 |
*/
|
116 |
wp.updates.importDemoError = function( response ) {
|
117 |
var $card, $button,
|
118 |
-
errorMessage =
|
|
|
|
|
|
|
|
|
119 |
$message = wp.updates.adminNotice( {
|
120 |
className: 'update-message notice-error notice-alt',
|
121 |
message: errorMessage
|
@@ -139,8 +155,15 @@
|
|
139 |
|
140 |
$button
|
141 |
.removeClass( 'updating-message' )
|
142 |
-
.attr(
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
|
145 |
wp.a11y.speak( errorMessage, 'assertive' );
|
146 |
|
@@ -168,27 +191,42 @@
|
|
168 |
if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) {
|
169 |
$pluginRow = $( 'tr[data-slug="' + args.slug + '"]' );
|
170 |
$message = $( '.theme-install-overlay .demo-import[data-slug="' + args.demo + '"]' );
|
171 |
-
message =
|
|
|
|
|
|
|
|
|
172 |
$pluginRow.find( '.plugin-status span' )
|
173 |
.addClass( 'updating-message' )
|
174 |
-
.attr(
|
175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
} else {
|
177 |
$message = $( '.demo-import[data-slug="' + args.demo + '"]' );
|
178 |
-
message =
|
|
|
|
|
|
|
|
|
179 |
$message.parents( '.theme' ).addClass( 'focus' );
|
180 |
}
|
181 |
|
182 |
-
if ( $message.html() !==
|
183 |
$message.data( 'originaltext', $message.html() );
|
184 |
}
|
185 |
|
186 |
$message
|
187 |
.attr( 'aria-label', message )
|
188 |
.addClass( 'updating-message' )
|
189 |
-
.text(
|
190 |
|
191 |
-
wp.a11y.speak(
|
192 |
|
193 |
$document.trigger( 'wp-plugin-bulk-installing', args );
|
194 |
|
@@ -211,10 +249,17 @@
|
|
211 |
$updateMessage
|
212 |
.removeClass( 'updating-message install-now' )
|
213 |
.addClass( 'updated-message active' )
|
214 |
-
.attr(
|
215 |
-
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
$document.trigger( 'wp-plugin-bulk-install-success', response );
|
220 |
};
|
@@ -242,13 +287,24 @@
|
|
242 |
return;
|
243 |
}
|
244 |
|
245 |
-
errorMessage =
|
|
|
|
|
|
|
|
|
246 |
|
247 |
$updateMessage
|
248 |
.removeClass( 'updating-message' )
|
249 |
.addClass( 'updated-message' )
|
250 |
-
.attr(
|
251 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
252 |
|
253 |
wp.a11y.speak( errorMessage, 'assertive' );
|
254 |
|
@@ -268,7 +324,7 @@
|
|
268 |
* 'update' or 'install'.
|
269 |
*/
|
270 |
wp.updates.isValidResponse = function( response, action ) {
|
271 |
-
var error =
|
272 |
errorMessage;
|
273 |
|
274 |
// Make sure the response is a valid data object and not a Promise object.
|
@@ -277,22 +333,22 @@
|
|
277 |
}
|
278 |
|
279 |
if ( _.isString( response ) && '-1' === response ) {
|
280 |
-
error =
|
281 |
} else if ( _.isString( response ) ) {
|
282 |
error = response;
|
283 |
} else if ( 'undefined' !== typeof response.readyState && 0 === response.readyState ) {
|
284 |
-
error =
|
285 |
} else if ( _.isString( response.statusText ) ) {
|
286 |
-
error = response.statusText + ' ' +
|
287 |
}
|
288 |
|
289 |
switch ( action ) {
|
290 |
case 'import':
|
291 |
-
errorMessage =
|
292 |
break;
|
293 |
|
294 |
case 'install':
|
295 |
-
errorMessage =
|
296 |
break;
|
297 |
}
|
298 |
|
@@ -313,7 +369,7 @@
|
|
313 |
$( '.button.updating-message' )
|
314 |
.removeClass( 'updating-message' )
|
315 |
.removeAttr( 'aria-label' )
|
316 |
-
.text(
|
317 |
|
318 |
wp.a11y.speak( errorMessage, 'assertive' );
|
319 |
|
@@ -352,4 +408,4 @@
|
|
352 |
$document.trigger( 'wp-updates-queue-job', job );
|
353 |
};
|
354 |
|
355 |
-
})( jQuery, window.wp
|
1 |
+
( function( $, wp ) {
|
2 |
+
var $document = $( document ),
|
3 |
+
__ = wp.i18n.__,
|
4 |
+
_x = wp.i18n._x,
|
5 |
+
sprintf = wp.i18n.sprintf;
|
6 |
|
7 |
wp = wp || {};
|
8 |
|
13 |
*/
|
14 |
wp.updates = wp.updates || {};
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
/**
|
17 |
* Sends an Ajax request to the server to import a demo.
|
18 |
*
|
37 |
|
38 |
$message.addClass( 'updating-message' );
|
39 |
$message.parents( '.theme' ).addClass( 'focus' );
|
40 |
+
if ( $message.html() !== __( 'Importing...', 'themegrill-demo-importer' ) ) {
|
41 |
$message.data( 'originaltext', $message.html() );
|
42 |
}
|
43 |
|
44 |
$message
|
45 |
+
.text( __( 'Importing...', 'themegrill-demo-importer' ) )
|
46 |
+
.attr(
|
47 |
+
'aria-label',
|
48 |
+
sprintf(
|
49 |
+
/* translators: %s: Demo name. */
|
50 |
+
_x( 'Importing %s...', 'demo', 'themegrill-demo-importer' ),
|
51 |
+
$message.data( 'name' )
|
52 |
+
)
|
53 |
+
);
|
54 |
+
wp.a11y.speak( __( 'Importing... please wait.', 'themegrill-demo-importer' ), 'polite' );
|
55 |
|
56 |
// Remove previous error messages, if any.
|
57 |
$( '.install-theme-info, [data-slug="' + args.slug + '"]' ).removeClass( 'demo-import-failed' ).find( '.notice.notice-error' ).remove();
|
78 |
$message = $card.find( '.button-primary' )
|
79 |
.removeClass( 'updating-message' )
|
80 |
.addClass( 'updated-message disabled' )
|
81 |
+
.attr(
|
82 |
+
'aria-label',
|
83 |
+
sprintf(
|
84 |
+
/* translators: %s: Demo name. */
|
85 |
+
_x( '%s imported!', 'demo', 'themegrill-demo-importer' ),
|
86 |
+
response.demoName
|
87 |
+
)
|
88 |
+
)
|
89 |
+
.text( __( 'Imported!', 'themegrill-demo-importer' ) );
|
90 |
+
|
91 |
+
wp.a11y.speak( __( 'Import completed successfully.', 'themegrill-demo-importer' ), 'polite' );
|
92 |
|
93 |
setTimeout( function() {
|
94 |
|
103 |
.attr( 'href', response.previewUrl )
|
104 |
.removeClass( 'demo-import updated-message disabled' )
|
105 |
.addClass( 'live-preview' )
|
106 |
+
.attr(
|
107 |
+
'aria-label',
|
108 |
+
sprintf(
|
109 |
+
/* translators: %s: Demo name. */
|
110 |
+
_x( 'Live Preview %s', 'demo', 'themegrill-demo-importer' ),
|
111 |
+
response.demoName
|
112 |
+
)
|
113 |
+
)
|
114 |
+
.text( __( 'Live Preview', 'themegrill-demo-importer' ) );
|
115 |
}
|
116 |
}, 1000 );
|
117 |
};
|
127 |
*/
|
128 |
wp.updates.importDemoError = function( response ) {
|
129 |
var $card, $button,
|
130 |
+
errorMessage = sprintf(
|
131 |
+
/* translators: %s: Demo import error message. */
|
132 |
+
__( 'Import failed: %s', 'themegrill-demo-importer' ),
|
133 |
+
response.errorMessage
|
134 |
+
),
|
135 |
$message = wp.updates.adminNotice( {
|
136 |
className: 'update-message notice-error notice-alt',
|
137 |
message: errorMessage
|
155 |
|
156 |
$button
|
157 |
.removeClass( 'updating-message' )
|
158 |
+
.attr(
|
159 |
+
'aria-label',
|
160 |
+
sprintf(
|
161 |
+
/* translators: %s: Demo name. */
|
162 |
+
_x( '%s import failed', 'demo', 'themegrill-demo-importer' ),
|
163 |
+
$button.data( 'name' )
|
164 |
+
)
|
165 |
+
)
|
166 |
+
.text( __( 'Import Failed!', 'themegrill-demo-importer' ) );
|
167 |
|
168 |
wp.a11y.speak( errorMessage, 'assertive' );
|
169 |
|
191 |
if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) {
|
192 |
$pluginRow = $( 'tr[data-slug="' + args.slug + '"]' );
|
193 |
$message = $( '.theme-install-overlay .demo-import[data-slug="' + args.demo + '"]' );
|
194 |
+
message = sprintf(
|
195 |
+
/* translators: %s: Plugin name. */
|
196 |
+
_x( 'Installing %s...', 'plugin', 'themegrill-demo-importer' ),
|
197 |
+
$pluginRow.data( 'name' )
|
198 |
+
);
|
199 |
$pluginRow.find( '.plugin-status span' )
|
200 |
.addClass( 'updating-message' )
|
201 |
+
.attr(
|
202 |
+
'aria-label',
|
203 |
+
sprintf(
|
204 |
+
/* translators: %s: Plugin name. */
|
205 |
+
_x( 'Installing %s...', 'plugin', 'themegrill-demo-importer' ),
|
206 |
+
$pluginRow.data( 'name' )
|
207 |
+
)
|
208 |
+
)
|
209 |
+
.text( __( 'Installing...', 'themegrill-demo-importer' ) );
|
210 |
} else {
|
211 |
$message = $( '.demo-import[data-slug="' + args.demo + '"]' );
|
212 |
+
message = sprintf(
|
213 |
+
/* translators: %s: Plugin name. */
|
214 |
+
_x( 'Installing %s...', 'plugin', 'themegrill-demo-importer' ),
|
215 |
+
args.name
|
216 |
+
);
|
217 |
$message.parents( '.theme' ).addClass( 'focus' );
|
218 |
}
|
219 |
|
220 |
+
if ( $message.html() !== __( 'Installing...', 'themegrill-demo-importer' ) ) {
|
221 |
$message.data( 'originaltext', $message.html() );
|
222 |
}
|
223 |
|
224 |
$message
|
225 |
.attr( 'aria-label', message )
|
226 |
.addClass( 'updating-message' )
|
227 |
+
.text( __( 'Installing...', 'themegrill-demo-importer' ) );
|
228 |
|
229 |
+
wp.a11y.speak( __( 'Installing... please wait.', 'themegrill-demo-importer' ), 'polite' );
|
230 |
|
231 |
$document.trigger( 'wp-plugin-bulk-installing', args );
|
232 |
|
249 |
$updateMessage
|
250 |
.removeClass( 'updating-message install-now' )
|
251 |
.addClass( 'updated-message active' )
|
252 |
+
.attr(
|
253 |
+
'aria-label',
|
254 |
+
sprintf(
|
255 |
+
/* translators: %s: Plugin name. */
|
256 |
+
_x( '%s installed!', 'plugin', 'themegrill-demo-importer' ),
|
257 |
+
response.pluginName
|
258 |
+
)
|
259 |
+
)
|
260 |
+
.text( _x( 'Installed!', 'plugin', 'themegrill-demo-importer' ) );
|
261 |
+
|
262 |
+
wp.a11y.speak( __( 'Installation completed successfully.', 'themegrill-demo-importer' ), 'polite' );
|
263 |
|
264 |
$document.trigger( 'wp-plugin-bulk-install-success', response );
|
265 |
};
|
287 |
return;
|
288 |
}
|
289 |
|
290 |
+
errorMessage = sprintf(
|
291 |
+
/* translators: %s: Bulk plugin installation error message. */
|
292 |
+
__( 'Installation failed: %s', 'themegrill-demo-importer' ),
|
293 |
+
response.errorMessage
|
294 |
+
);
|
295 |
|
296 |
$updateMessage
|
297 |
.removeClass( 'updating-message' )
|
298 |
.addClass( 'updated-message' )
|
299 |
+
.attr(
|
300 |
+
'aria-label',
|
301 |
+
sprintf(
|
302 |
+
/* translators: %s: Plugin name. */
|
303 |
+
_x( '%s installation failed', 'plugin', 'themegrill-demo-importer' ),
|
304 |
+
$pluginRow.data( 'name' )
|
305 |
+
)
|
306 |
+
)
|
307 |
+
.text( __( 'Installation Failed!', 'themegrill-demo-importer' ) );
|
308 |
|
309 |
wp.a11y.speak( errorMessage, 'assertive' );
|
310 |
|
324 |
* 'update' or 'install'.
|
325 |
*/
|
326 |
wp.updates.isValidResponse = function( response, action ) {
|
327 |
+
var error = __( 'Something went wrong.', 'themegrill-demo-importer' ),
|
328 |
errorMessage;
|
329 |
|
330 |
// Make sure the response is a valid data object and not a Promise object.
|
333 |
}
|
334 |
|
335 |
if ( _.isString( response ) && '-1' === response ) {
|
336 |
+
error = __( 'An error has occurred. Please reload the page and try again.', 'themegrill-demo-importer' );
|
337 |
} else if ( _.isString( response ) ) {
|
338 |
error = response;
|
339 |
} else if ( 'undefined' !== typeof response.readyState && 0 === response.readyState ) {
|
340 |
+
error = __( 'Connection lost or the server is busy. Please try again later.', 'themegrill-demo-importer' );
|
341 |
} else if ( _.isString( response.statusText ) ) {
|
342 |
+
error = response.statusText + ' ' + '<a href="https://docs.themegrill.com/knowledgebase/demo-import-process-failed/" target="_blank">' + __( 'Try this solution!', 'themegrill-demo-importer' ) + '</a>';
|
343 |
}
|
344 |
|
345 |
switch ( action ) {
|
346 |
case 'import':
|
347 |
+
errorMessage = __( 'Import failed: %s', 'themegrill-demo-importer' );
|
348 |
break;
|
349 |
|
350 |
case 'install':
|
351 |
+
errorMessage = __( 'Installation failed: %s', 'themegrill-demo-importer' );
|
352 |
break;
|
353 |
}
|
354 |
|
369 |
$( '.button.updating-message' )
|
370 |
.removeClass( 'updating-message' )
|
371 |
.removeAttr( 'aria-label' )
|
372 |
+
.text( __( 'Import Failed!', 'themegrill-demo-importer' ) );
|
373 |
|
374 |
wp.a11y.speak( errorMessage, 'assertive' );
|
375 |
|
408 |
$document.trigger( 'wp-updates-queue-job', job );
|
409 |
};
|
410 |
|
411 |
+
})( jQuery, window.wp );
|
assets/js/admin/demo-updates.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(l,
|
1 |
+
!function(l,s){var i=l(document),o=s.i18n.__,m=s.i18n._x,d=s.i18n.sprintf;(s=s||{}).updates=s.updates||{},s.updates.importDemo=function(e){var t=l('.demo-import[data-slug="'+e.slug+'"]');return i.find("body").hasClass("full-overlay-active")&&(t=l(".wp-full-overlay-header, .wp-full-overlay-footer").find(".demo-import")),e=_.extend({success:s.updates.importDemoSuccess,error:s.updates.importDemoError},e),t.addClass("updating-message"),t.parents(".theme").addClass("focus"),t.html()!==o("Importing...","themegrill-demo-importer")&&t.data("originaltext",t.html()),t.text(o("Importing...","themegrill-demo-importer")).attr("aria-label",d(m("Importing %s...","demo","themegrill-demo-importer"),t.data("name"))),s.a11y.speak(o("Importing... please wait.","themegrill-demo-importer"),"polite"),l('.install-theme-info, [data-slug="'+e.slug+'"]').removeClass("demo-import-failed").find(".notice.notice-error").remove(),i.trigger("wp-demo-importing",e),s.updates.ajax("import-demo",e)},s.updates.importDemoSuccess=function(e){var t,a=l(".wp-full-overlay-header, .wp-full-overlay-footer, [data-slug="+e.slug+"]");i.trigger("wp-demo-import-success",e),t=a.find(".button-primary").removeClass("updating-message").addClass("updated-message disabled").attr("aria-label",d(m("%s imported!","demo","themegrill-demo-importer"),e.demoName)).text(o("Imported!","themegrill-demo-importer")),s.a11y.speak(o("Import completed successfully.","themegrill-demo-importer"),"polite"),setTimeout(function(){e.previewUrl&&(t.siblings(".demo-preview").remove(),t.attr("target","_blank").attr("href",e.previewUrl).removeClass("demo-import updated-message disabled").addClass("live-preview").attr("aria-label",d(m("Live Preview %s","demo","themegrill-demo-importer"),e.demoName)).text(o("Live Preview","themegrill-demo-importer")))},1e3)},s.updates.importDemoError=function(e){var t,a=d(o("Import failed: %s","themegrill-demo-importer"),e.errorMessage),r=s.updates.adminNotice({className:"update-message notice-error notice-alt",message:a});s.updates.isValidResponse(e,"import")&&(s.updates.maybeHandleCredentialError(e,"import-demo")||(i.find("body").hasClass("full-overlay-active")?(t=l('.demo-import[data-slug="'+e.slug+'"]'),l(".install-theme-info").prepend(r)):t=l('[data-slug="'+e.slug+'"]').removeClass("focus").addClass("demo-import-failed").append(r).find(".demo-import"),t.removeClass("updating-message").attr("aria-label",d(m("%s import failed","demo","themegrill-demo-importer"),t.data("name"))).text(o("Import Failed!","themegrill-demo-importer")),s.a11y.speak(a,"assertive"),i.trigger("wp-demo-import-error",e)))},s.updates.bulkInstallPlugin=function(e){var t,a,r;return e=_.extend({success:s.updates.bulkInstallPluginSuccess,error:s.updates.bulkInstallPluginError},e),i.find("body").hasClass("full-overlay-active")?(t=l('tr[data-slug="'+e.slug+'"]'),a=l('.theme-install-overlay .demo-import[data-slug="'+e.demo+'"]'),r=d(m("Installing %s...","plugin","themegrill-demo-importer"),t.data("name")),t.find(".plugin-status span").addClass("updating-message").attr("aria-label",d(m("Installing %s...","plugin","themegrill-demo-importer"),t.data("name"))).text(o("Installing...","themegrill-demo-importer"))):(a=l('.demo-import[data-slug="'+e.demo+'"]'),r=d(m("Installing %s...","plugin","themegrill-demo-importer"),e.name),a.parents(".theme").addClass("focus")),a.html()!==o("Installing...","themegrill-demo-importer")&&a.data("originaltext",a.html()),a.attr("aria-label",r).addClass("updating-message").text(o("Installing...","themegrill-demo-importer")),s.a11y.speak(o("Installing... please wait.","themegrill-demo-importer"),"polite"),i.trigger("wp-plugin-bulk-installing",e),s.updates.ajax("install-required-plugin",e)},s.updates.bulkInstallPluginSuccess=function(e){l('tr[data-slug="'+e.slug+'"]').removeClass("install").addClass("installed").find(".plugin-status span").removeClass("updating-message install-now").addClass("updated-message active").attr("aria-label",d(m("%s installed!","plugin","themegrill-demo-importer"),e.pluginName)).text(m("Installed!","plugin","themegrill-demo-importer")),s.a11y.speak(o("Installation completed successfully.","themegrill-demo-importer"),"polite"),i.trigger("wp-plugin-bulk-install-success",e)},s.updates.bulkInstallPluginError=function(e){var t,a=l('tr[data-slug="'+e.slug+'"]'),r=a.find(".plugin-status span");s.updates.isValidResponse(e,"install")&&(s.updates.maybeHandleCredentialError(e,"install-plugin")||(t=d(o("Installation failed: %s","themegrill-demo-importer"),e.errorMessage),r.removeClass("updating-message").addClass("updated-message").attr("aria-label",d(m("%s installation failed","plugin","themegrill-demo-importer"),a.data("name"))).text(o("Installation Failed!","themegrill-demo-importer")),s.a11y.speak(t,"assertive"),i.trigger("wp-plugin-bulk-install-error",e)))},s.updates.isValidResponse=function(e,t){var a,r=o("Something went wrong.","themegrill-demo-importer");if(_.isObject(e)&&!_.isFunction(e.always))return!0;switch(_.isString(e)&&"-1"===e?r=o("An error has occurred. Please reload the page and try again.","themegrill-demo-importer"):_.isString(e)?r=e:"undefined"!=typeof e.readyState&&0===e.readyState?r=o("Connection lost or the server is busy. Please try again later.","themegrill-demo-importer"):_.isString(e.statusText)&&(r=e.statusText+' <a href="https://docs.themegrill.com/knowledgebase/demo-import-process-failed/" target="_blank">'+o("Try this solution!","themegrill-demo-importer")+"</a>"),t){case"import":a=o("Import failed: %s","themegrill-demo-importer");break;case"install":a=o("Installation failed: %s","themegrill-demo-importer")}return a=a.replace("%s",r),s.updates.addAdminNotice({id:"unknown_error",className:"notice-error is-dismissible",message:_.unescape(a)}),s.updates.ajaxLocked=!1,s.updates.queue=[],l(".button.updating-message").removeClass("updating-message").removeAttr("aria-label").text(o("Import Failed!","themegrill-demo-importer")),s.a11y.speak(a,"assertive"),!1},s.updates.queueChecker=function(){var e;if(!s.updates.ajaxLocked&&s.updates.queue.length){switch((e=s.updates.queue.shift()).action){case"import-demo":s.updates.importDemo(e.data);break;case"install-plugin":s.updates.bulkInstallPlugin(e.data)}i.trigger("wp-updates-queue-job",e)}}}(jQuery,window.wp);
|
includes/class-demo-importer.php
CHANGED
@@ -167,130 +167,14 @@ class TG_Demo_Importer {
|
|
167 |
// Register admin scripts.
|
168 |
wp_register_script( 'jquery-tiptip', $assets_path . 'js/jquery-tiptip/jquery.tipTip' . $suffix . '.js', array( 'jquery' ), '1.3', true );
|
169 |
wp_register_script( 'jquery-confirm', $assets_path . 'js/jquery-confirm/jquery-confirm' . $suffix . '.js', array( 'jquery' ), TGDM_VERSION, true );
|
170 |
-
wp_register_script( 'tg-demo-updates', $assets_path . 'js/admin/demo-updates' . $suffix . '.js', array( 'jquery', 'updates' ), TGDM_VERSION, true );
|
171 |
wp_register_script( 'tg-demo-importer', $assets_path . 'js/admin/demo-importer' . $suffix . '.js', array( 'jquery', 'jquery-tiptip', 'wp-backbone', 'wp-a11y', 'tg-demo-updates', 'jquery-confirm' ), TGDM_VERSION, true );
|
172 |
|
173 |
// Demo Importer appearance page.
|
174 |
if ( 'appearance_page_demo-importer' === $screen_id ) {
|
175 |
-
/**
|
176 |
-
* Default ThemeGrill Demo Importer update strings.
|
177 |
-
*/
|
178 |
-
$demo_update_settings['l10n'] = array(
|
179 |
-
'importing' => __( 'Importing...', 'themegrill-demo-importer' ),
|
180 |
-
'demoImportingLabel' => _x( 'Importing %s...', 'demo', 'themegrill-demo-importer' ), // no ellipsis
|
181 |
-
'importingMsg' => __( 'Importing... please wait.', 'themegrill-demo-importer' ),
|
182 |
-
'importedMsg' => __( 'Import completed successfully.', 'themegrill-demo-importer' ),
|
183 |
-
'importFailedShort' => __( 'Import Failed!', 'themegrill-demo-importer' ),
|
184 |
-
'importFailed' => __( 'Import failed: %s', 'themegrill-demo-importer' ),
|
185 |
-
'demoImportedLabel' => _x( '%s imported!', 'demo', 'themegrill-demo-importer' ),
|
186 |
-
'demoImportFailedLabel' => _x( '%s import failed', 'demo', 'themegrill-demo-importer' ),
|
187 |
-
'livePreview' => __( 'Live Preview', 'themegrill-demo-importer' ),
|
188 |
-
'livePreviewLabel' => _x( 'Live Preview %s', 'demo', 'themegrill-demo-importer' ),
|
189 |
-
'imported' => __( 'Imported!', 'themegrill-demo-importer' ),
|
190 |
-
'statusTextLink' => '<a href="https://docs.themegrill.com/knowledgebase/demo-import-process-failed/" target="_blank">' . __( 'Try this solution!', 'themegrill-demo-importer' ) . '</a>',
|
191 |
-
);
|
192 |
-
|
193 |
-
/**
|
194 |
-
* Update strings from WordPress.
|
195 |
-
*
|
196 |
-
* Added since WordPress 5.5 has removed them causing demo import issues.
|
197 |
-
*
|
198 |
-
* @since 1.6.6
|
199 |
-
*/
|
200 |
-
if ( version_compare( $GLOBALS['wp_version'], '5.5', '>=' ) ) {
|
201 |
-
$demo_update_settings_wordpress_translations = array(
|
202 |
-
/* translators: %s: Search query. */
|
203 |
-
'searchResults' => __( 'Search results for “%s”', 'themegrill-demo-importer' ),
|
204 |
-
'searchResultsLabel' => __( 'Search Results', 'themegrill-demo-importer' ),
|
205 |
-
'noPlugins' => __( 'You do not appear to have any plugins available at this time.', 'themegrill-demo-importer' ),
|
206 |
-
'noItemsSelected' => __( 'Please select at least one item to perform this action on.', 'themegrill-demo-importer' ),
|
207 |
-
'updating' => __( 'Updating...', 'themegrill-demo-importer' ), // No ellipsis.
|
208 |
-
'pluginUpdated' => _x( 'Updated!', 'plugin', 'themegrill-demo-importer' ),
|
209 |
-
'themeUpdated' => _x( 'Updated!', 'theme', 'themegrill-demo-importer' ),
|
210 |
-
'update' => __( 'Update', 'themegrill-demo-importer' ),
|
211 |
-
'updateNow' => __( 'Update Now', 'themegrill-demo-importer' ),
|
212 |
-
/* translators: %s: Plugin name and version. */
|
213 |
-
'pluginUpdateNowLabel' => _x( 'Update %s now', 'plugin', 'themegrill-demo-importer' ),
|
214 |
-
'updateFailedShort' => __( 'Update Failed!', 'themegrill-demo-importer' ),
|
215 |
-
/* translators: %s: Error string for a failed update. */
|
216 |
-
'updateFailed' => __( 'Update Failed: %s', 'themegrill-demo-importer' ),
|
217 |
-
/* translators: %s: Plugin name and version. */
|
218 |
-
'pluginUpdatingLabel' => _x( 'Updating %s...', 'plugin', 'themegrill-demo-importer' ), // No ellipsis.
|
219 |
-
/* translators: %s: Plugin name and version. */
|
220 |
-
'pluginUpdatedLabel' => _x( '%s updated!', 'plugin', 'themegrill-demo-importer' ),
|
221 |
-
/* translators: %s: Plugin name and version. */
|
222 |
-
'pluginUpdateFailedLabel' => _x( '%s update failed', 'plugin', 'themegrill-demo-importer' ),
|
223 |
-
/* translators: Accessibility text. */
|
224 |
-
'updatingMsg' => __( 'Updating... please wait.', 'themegrill-demo-importer' ), // No ellipsis.
|
225 |
-
/* translators: Accessibility text. */
|
226 |
-
'updatedMsg' => __( 'Update completed successfully.', 'themegrill-demo-importer' ),
|
227 |
-
/* translators: Accessibility text. */
|
228 |
-
'updateCancel' => __( 'Update canceled.', 'themegrill-demo-importer' ),
|
229 |
-
'beforeunload' => __( 'Updates may not complete if you navigate away from this page.', 'themegrill-demo-importer' ),
|
230 |
-
'installNow' => __( 'Install Now', 'themegrill-demo-importer' ),
|
231 |
-
/* translators: %s: Plugin name. */
|
232 |
-
'pluginInstallNowLabel' => _x( 'Install %s now', 'plugin', 'themegrill-demo-importer' ),
|
233 |
-
'installing' => __( 'Installing...', 'themegrill-demo-importer' ),
|
234 |
-
'pluginInstalled' => _x( 'Installed!', 'plugin', 'themegrill-demo-importer' ),
|
235 |
-
'themeInstalled' => _x( 'Installed!', 'theme', 'themegrill-demo-importer' ),
|
236 |
-
'installFailedShort' => __( 'Installation Failed!', 'themegrill-demo-importer' ),
|
237 |
-
/* translators: %s: Error string for a failed installation. */
|
238 |
-
'installFailed' => __( 'Installation failed: %s', 'themegrill-demo-importer' ),
|
239 |
-
/* translators: %s: Plugin name and version. */
|
240 |
-
'pluginInstallingLabel' => _x( 'Installing %s...', 'plugin', 'themegrill-demo-importer' ), // No ellipsis.
|
241 |
-
/* translators: %s: Theme name and version. */
|
242 |
-
'themeInstallingLabel' => _x( 'Installing %s...', 'theme', 'themegrill-demo-importer' ), // No ellipsis.
|
243 |
-
/* translators: %s: Plugin name and version. */
|
244 |
-
'pluginInstalledLabel' => _x( '%s installed!', 'plugin', 'themegrill-demo-importer' ),
|
245 |
-
/* translators: %s: Theme name and version. */
|
246 |
-
'themeInstalledLabel' => _x( '%s installed!', 'theme', 'themegrill-demo-importer' ),
|
247 |
-
/* translators: %s: Plugin name and version. */
|
248 |
-
'pluginInstallFailedLabel' => _x( '%s installation failed', 'plugin', 'themegrill-demo-importer' ),
|
249 |
-
/* translators: %s: Theme name and version. */
|
250 |
-
'themeInstallFailedLabel' => _x( '%s installation failed', 'theme', 'themegrill-demo-importer' ),
|
251 |
-
'installingMsg' => __( 'Installing... please wait.', 'themegrill-demo-importer' ),
|
252 |
-
'installedMsg' => __( 'Installation completed successfully.', 'themegrill-demo-importer' ),
|
253 |
-
/* translators: %s: Activation URL. */
|
254 |
-
'importerInstalledMsg' => __( 'Importer installed successfully. <a href="%s">Run importer</a>', 'themegrill-demo-importer' ),
|
255 |
-
/* translators: %s: Theme name. */
|
256 |
-
'aysDelete' => __( 'Are you sure you want to delete %s?', 'themegrill-demo-importer' ),
|
257 |
-
/* translators: %s: Plugin name. */
|
258 |
-
'aysDeleteUninstall' => __( 'Are you sure you want to delete %s and its data?', 'themegrill-demo-importer' ),
|
259 |
-
'aysBulkDelete' => __( 'Are you sure you want to delete the selected plugins and their data?', 'themegrill-demo-importer' ),
|
260 |
-
'aysBulkDeleteThemes' => __( 'Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?', 'themegrill-demo-importer' ),
|
261 |
-
'deleting' => __( 'Deleting...', 'themegrill-demo-importer' ),
|
262 |
-
/* translators: %s: Error string for a failed deletion. */
|
263 |
-
'deleteFailed' => __( 'Deletion failed: %s', 'themegrill-demo-importer' ),
|
264 |
-
'pluginDeleted' => _x( 'Deleted!', 'plugin', 'themegrill-demo-importer' ),
|
265 |
-
'themeDeleted' => _x( 'Deleted!', 'theme', 'themegrill-demo-importer' ),
|
266 |
-
'livePreview' => __( 'Live Preview', 'themegrill-demo-importer' ),
|
267 |
-
'activatePlugin' => is_network_admin() ? __( 'Network Activate', 'themegrill-demo-importer' ) : __( 'Activate', 'themegrill-demo-importer' ),
|
268 |
-
'activateTheme' => is_network_admin() ? __( 'Network Enable', 'themegrill-demo-importer' ) : __( 'Activate', 'themegrill-demo-importer' ),
|
269 |
-
/* translators: %s: Plugin name. */
|
270 |
-
'activatePluginLabel' => is_network_admin() ? _x( 'Network Activate %s', 'plugin', 'themegrill-demo-importer' ) : _x( 'Activate %s', 'plugin', 'themegrill-demo-importer' ),
|
271 |
-
/* translators: %s: Theme name. */
|
272 |
-
'activateThemeLabel' => is_network_admin() ? _x( 'Network Activate %s', 'theme', 'themegrill-demo-importer' ) : _x( 'Activate %s', 'theme', 'themegrill-demo-importer' ),
|
273 |
-
'activateImporter' => __( 'Run Importer', 'themegrill-demo-importer' ),
|
274 |
-
/* translators: %s: Importer name. */
|
275 |
-
'activateImporterLabel' => __( 'Run %s', 'themegrill-demo-importer' ),
|
276 |
-
'unknownError' => __( 'Something went wrong.', 'themegrill-demo-importer' ),
|
277 |
-
'connectionError' => __( 'Connection lost or the server is busy. Please try again later.', 'themegrill-demo-importer' ),
|
278 |
-
'nonceError' => __( 'An error has occurred. Please reload the page and try again.', 'themegrill-demo-importer' ),
|
279 |
-
/* translators: %s: Number of plugins. */
|
280 |
-
'pluginsFound' => __( 'Number of plugins found: %d', 'themegrill-demo-importer' ),
|
281 |
-
'noPluginsFound' => __( 'No plugins found. Try a different search.', 'themegrill-demo-importer' ),
|
282 |
-
);
|
283 |
-
|
284 |
-
$demo_update_settings['l10n'] = array_merge( $demo_update_settings['l10n'], $demo_update_settings_wordpress_translations );
|
285 |
-
}
|
286 |
-
|
287 |
wp_enqueue_style( 'tg-demo-importer' );
|
288 |
wp_enqueue_script( 'tg-demo-importer' );
|
289 |
-
|
290 |
-
'tg-demo-updates',
|
291 |
-
'_demoUpdatesSettings',
|
292 |
-
$demo_update_settings
|
293 |
-
);
|
294 |
wp_localize_script(
|
295 |
'tg-demo-importer',
|
296 |
'_demoImporterSettings',
|
@@ -336,6 +220,9 @@ class TG_Demo_Importer {
|
|
336 |
),
|
337 |
)
|
338 |
);
|
|
|
|
|
|
|
339 |
}
|
340 |
}
|
341 |
|
167 |
// Register admin scripts.
|
168 |
wp_register_script( 'jquery-tiptip', $assets_path . 'js/jquery-tiptip/jquery.tipTip' . $suffix . '.js', array( 'jquery' ), '1.3', true );
|
169 |
wp_register_script( 'jquery-confirm', $assets_path . 'js/jquery-confirm/jquery-confirm' . $suffix . '.js', array( 'jquery' ), TGDM_VERSION, true );
|
170 |
+
wp_register_script( 'tg-demo-updates', $assets_path . 'js/admin/demo-updates' . $suffix . '.js', array( 'jquery', 'updates', 'wp-i18n' ), TGDM_VERSION, true );
|
171 |
wp_register_script( 'tg-demo-importer', $assets_path . 'js/admin/demo-importer' . $suffix . '.js', array( 'jquery', 'jquery-tiptip', 'wp-backbone', 'wp-a11y', 'tg-demo-updates', 'jquery-confirm' ), TGDM_VERSION, true );
|
172 |
|
173 |
// Demo Importer appearance page.
|
174 |
if ( 'appearance_page_demo-importer' === $screen_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
wp_enqueue_style( 'tg-demo-importer' );
|
176 |
wp_enqueue_script( 'tg-demo-importer' );
|
177 |
+
|
|
|
|
|
|
|
|
|
178 |
wp_localize_script(
|
179 |
'tg-demo-importer',
|
180 |
'_demoImporterSettings',
|
220 |
),
|
221 |
)
|
222 |
);
|
223 |
+
|
224 |
+
// For translation of strings within scripts.
|
225 |
+
wp_set_script_translations( 'tg-demo-updates', 'themegrill-demo-importer' );
|
226 |
}
|
227 |
}
|
228 |
|
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.7';
|
24 |
|
25 |
/**
|
26 |
* Theme single instance of this class.
|
languages/themegrill-demo-importer.pot
CHANGED
@@ -2,17 +2,41 @@
|
|
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: "
|
7 |
-
"
|
8 |
-
"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"X-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
#: includes/admin/class-demo-importer-status.php:41
|
18 |
msgid "All Fine"
|
@@ -34,8 +58,8 @@ msgstr ""
|
|
34 |
msgid "Install package not available."
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: includes/admin/class-demo-pack-upgrader.php:37
|
38 |
#. translators: %s: package URL
|
|
|
39 |
msgid "Downloading install package from <span class=\"code\">%s</span>…"
|
40 |
msgstr ""
|
41 |
|
@@ -72,10 +96,7 @@ msgid "No valid demos were found."
|
|
72 |
msgstr ""
|
73 |
|
74 |
#: includes/admin/class-plugin-deactivate-notice.php:50
|
75 |
-
msgid ""
|
76 |
-
"It seems you've imported the theme demo successfully. Now, the purpose of "
|
77 |
-
"this plugin is fulfilled and it has no more use. So, if you're satisfied "
|
78 |
-
"with this import, you can safely deactivate it by clicking the button."
|
79 |
msgstr ""
|
80 |
|
81 |
#: includes/admin/class-plugin-deactivate-notice.php:62
|
@@ -83,16 +104,13 @@ msgid "Deactivate"
|
|
83 |
msgstr ""
|
84 |
|
85 |
#: includes/admin/class-plugin-deactivate-notice.php:78
|
86 |
-
#: includes/class-demo-importer.php:
|
87 |
msgid "Action failed. Please refresh the page and retry."
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: includes/admin/class-plugin-review-notice.php:57
|
91 |
#. Translators: %1$s current user display name.
|
92 |
-
|
93 |
-
"Howdy, %1$s! It seems that you have imported the theme demo in your site. "
|
94 |
-
"We hope that you are happy with it and if you can spare a minute, please "
|
95 |
-
"help us by leaving a 5-star review on WordPress.org."
|
96 |
msgstr ""
|
97 |
|
98 |
#: includes/admin/class-plugin-review-notice.php:70
|
@@ -121,9 +139,7 @@ msgid "Error fetching the FAQ's"
|
|
121 |
msgstr ""
|
122 |
|
123 |
#: includes/admin/views/html-admin-page-demo-import-faqs.php:36
|
124 |
-
msgid ""
|
125 |
-
"An error has occurred, which probably means our server is down. Try again "
|
126 |
-
"later."
|
127 |
msgstr ""
|
128 |
|
129 |
#: includes/admin/views/html-admin-page-demo-import-faqs.php:62
|
@@ -137,9 +153,7 @@ msgid "Demo Importer"
|
|
137 |
msgstr ""
|
138 |
|
139 |
#: includes/admin/views/html-admin-page-importer.php:16
|
140 |
-
msgid ""
|
141 |
-
"If you do not see the new demos on the list, please click this button to "
|
142 |
-
"fetch all the available demos."
|
143 |
msgstr ""
|
144 |
|
145 |
#: includes/admin/views/html-admin-page-importer.php:18
|
@@ -167,7 +181,7 @@ msgid "Themes list"
|
|
167 |
msgstr ""
|
168 |
|
169 |
#: includes/admin/views/html-admin-page-importer.php:67
|
170 |
-
#: includes/class-demo-importer.php:
|
171 |
msgid "No demos found. Try a different search."
|
172 |
msgstr ""
|
173 |
|
@@ -181,24 +195,24 @@ msgstr ""
|
|
181 |
msgid "Pro"
|
182 |
msgstr ""
|
183 |
|
|
|
|
|
184 |
#: includes/admin/views/html-admin-page-importer.php:91
|
185 |
#: includes/admin/views/html-admin-page-importer.php:172
|
186 |
#: includes/admin/views/html-admin-page-system-status-report.php:287
|
187 |
#: includes/admin/views/html-admin-page-system-status-report.php:334
|
188 |
-
#. translators: %s: Demo author name
|
189 |
-
#. translators: 1. Plugin author name.
|
190 |
msgid "By %s"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: includes/admin/views/html-admin-page-importer.php:100
|
194 |
#. translators: %s: Demo name
|
|
|
195 |
msgid "<span>Imported:</span> %s"
|
196 |
msgstr ""
|
197 |
|
198 |
#: includes/admin/views/html-admin-page-importer.php:109
|
199 |
#: includes/admin/views/html-admin-page-importer.php:150
|
200 |
#: includes/admin/views/html-admin-page-importer.php:254
|
201 |
-
#:
|
202 |
msgid "Live Preview"
|
203 |
msgstr ""
|
204 |
|
@@ -214,10 +228,15 @@ msgstr ""
|
|
214 |
#: includes/admin/views/html-admin-page-importer.php:116
|
215 |
#: includes/admin/views/html-admin-page-importer.php:147
|
216 |
#: includes/admin/views/html-admin-page-importer.php:251
|
217 |
-
#: includes/class-demo-importer.php:210
|
218 |
msgid "Update"
|
219 |
msgstr ""
|
220 |
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
#: includes/admin/views/html-admin-page-importer.php:122
|
222 |
msgid "Import"
|
223 |
msgstr ""
|
@@ -227,10 +246,25 @@ msgstr ""
|
|
227 |
msgid "Preview"
|
228 |
msgstr ""
|
229 |
|
|
|
|
|
|
|
|
|
|
|
230 |
#: includes/admin/views/html-admin-page-importer.php:137
|
231 |
msgid "Close"
|
232 |
msgstr ""
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
#: includes/admin/views/html-admin-page-importer.php:145
|
235 |
#: includes/admin/views/html-admin-page-importer.php:152
|
236 |
#: includes/admin/views/html-admin-page-importer.php:249
|
@@ -238,14 +272,14 @@ msgstr ""
|
|
238 |
msgid "Import Demo"
|
239 |
msgstr ""
|
240 |
|
|
|
241 |
#: includes/admin/views/html-admin-page-importer.php:183
|
242 |
#: includes/admin/views/html-admin-page-importer.php:192
|
243 |
-
#. translators: %s: Theme Name
|
244 |
msgid "%s theme is not active."
|
245 |
msgstr ""
|
246 |
|
247 |
-
#: includes/admin/views/html-admin-page-importer.php:199
|
248 |
#. translators: %s: Demo version
|
|
|
249 |
msgid "Version: %s"
|
250 |
msgstr ""
|
251 |
|
@@ -262,7 +296,7 @@ msgid "No plugins are required for this demo."
|
|
262 |
msgstr ""
|
263 |
|
264 |
#: includes/admin/views/html-admin-page-importer.php:260
|
265 |
-
#: includes/class-demo-importer.php:
|
266 |
msgid "Collapse Sidebar"
|
267 |
msgstr ""
|
268 |
|
@@ -446,12 +480,9 @@ msgstr ""
|
|
446 |
msgid "Child Theme:"
|
447 |
msgstr ""
|
448 |
|
|
|
449 |
#: includes/admin/views/html-admin-page-system-status-report.php:220
|
450 |
-
|
451 |
-
#. the anchor tag
|
452 |
-
msgid ""
|
453 |
-
"If you want to modify the features of the theme then, we recommend you to "
|
454 |
-
"use %1$s child theme. %2$s"
|
455 |
msgstr ""
|
456 |
|
457 |
#: includes/admin/views/html-admin-page-system-status-report.php:230
|
@@ -483,10 +514,7 @@ msgid "Copy & Paste"
|
|
483 |
msgstr ""
|
484 |
|
485 |
#: includes/admin/views/html-admin-page-system-status-report.php:351
|
486 |
-
msgid ""
|
487 |
-
"While creating support request, please provide us the details generated "
|
488 |
-
"below within the support request. It might help us to tackle on the issue "
|
489 |
-
"more conviniently."
|
490 |
msgstr ""
|
491 |
|
492 |
#: includes/admin/views/html-admin-page-system-status-report.php:358
|
@@ -497,412 +525,208 @@ msgstr ""
|
|
497 |
msgid "Demo Importer Status"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: includes/class-demo-importer.php:
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
#: includes/class-demo-importer.php:181
|
505 |
-
msgid "Importing... please wait."
|
506 |
-
msgstr ""
|
507 |
-
|
508 |
-
#: includes/class-demo-importer.php:182
|
509 |
-
msgid "Import completed successfully."
|
510 |
-
msgstr ""
|
511 |
-
|
512 |
-
#: includes/class-demo-importer.php:183
|
513 |
-
msgid "Import Failed!"
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: includes/class-demo-importer.php:184
|
517 |
-
msgid "Import failed: %s"
|
518 |
-
msgstr ""
|
519 |
-
|
520 |
-
#: includes/class-demo-importer.php:189
|
521 |
-
msgid "Imported!"
|
522 |
msgstr ""
|
523 |
|
524 |
#: includes/class-demo-importer.php:190
|
525 |
-
msgid "
|
526 |
-
msgstr ""
|
527 |
-
|
528 |
-
#: includes/class-demo-importer.php:203
|
529 |
-
#. translators: %s: Search query.
|
530 |
-
msgid "Search results for “%s”"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: includes/class-demo-importer.php:204
|
534 |
-
msgid "Search Results"
|
535 |
-
msgstr ""
|
536 |
-
|
537 |
-
#: includes/class-demo-importer.php:205
|
538 |
-
msgid "You do not appear to have any plugins available at this time."
|
539 |
-
msgstr ""
|
540 |
-
|
541 |
-
#: includes/class-demo-importer.php:206
|
542 |
-
msgid "Please select at least one item to perform this action on."
|
543 |
-
msgstr ""
|
544 |
-
|
545 |
-
#: includes/class-demo-importer.php:207
|
546 |
-
msgid "Updating..."
|
547 |
-
msgstr ""
|
548 |
-
|
549 |
-
#: includes/class-demo-importer.php:211
|
550 |
-
msgid "Update Now"
|
551 |
-
msgstr ""
|
552 |
-
|
553 |
-
#: includes/class-demo-importer.php:214
|
554 |
-
msgid "Update Failed!"
|
555 |
-
msgstr ""
|
556 |
-
|
557 |
-
#: includes/class-demo-importer.php:216
|
558 |
-
#. translators: %s: Error string for a failed update.
|
559 |
-
msgid "Update Failed: %s"
|
560 |
-
msgstr ""
|
561 |
-
|
562 |
-
#: includes/class-demo-importer.php:224
|
563 |
-
#. translators: Accessibility text.
|
564 |
-
msgid "Updating... please wait."
|
565 |
-
msgstr ""
|
566 |
-
|
567 |
-
#: includes/class-demo-importer.php:226
|
568 |
-
#. translators: Accessibility text.
|
569 |
-
msgid "Update completed successfully."
|
570 |
-
msgstr ""
|
571 |
-
|
572 |
-
#: includes/class-demo-importer.php:228
|
573 |
-
#. translators: Accessibility text.
|
574 |
-
msgid "Update canceled."
|
575 |
-
msgstr ""
|
576 |
-
|
577 |
-
#: includes/class-demo-importer.php:229
|
578 |
-
msgid "Updates may not complete if you navigate away from this page."
|
579 |
-
msgstr ""
|
580 |
-
|
581 |
-
#: includes/class-demo-importer.php:230
|
582 |
-
msgid "Install Now"
|
583 |
-
msgstr ""
|
584 |
-
|
585 |
-
#: includes/class-demo-importer.php:233
|
586 |
-
msgid "Installing..."
|
587 |
-
msgstr ""
|
588 |
-
|
589 |
-
#: includes/class-demo-importer.php:236
|
590 |
-
msgid "Installation Failed!"
|
591 |
-
msgstr ""
|
592 |
-
|
593 |
-
#: includes/class-demo-importer.php:238
|
594 |
-
#. translators: %s: Error string for a failed installation.
|
595 |
-
msgid "Installation failed: %s"
|
596 |
-
msgstr ""
|
597 |
-
|
598 |
-
#: includes/class-demo-importer.php:251
|
599 |
-
msgid "Installing... please wait."
|
600 |
-
msgstr ""
|
601 |
-
|
602 |
-
#: includes/class-demo-importer.php:252
|
603 |
-
msgid "Installation completed successfully."
|
604 |
-
msgstr ""
|
605 |
-
|
606 |
-
#: includes/class-demo-importer.php:254
|
607 |
-
#. translators: %s: Activation URL.
|
608 |
-
msgid "Importer installed successfully. <a href=\"%s\">Run importer</a>"
|
609 |
-
msgstr ""
|
610 |
-
|
611 |
-
#: includes/class-demo-importer.php:256
|
612 |
-
#. translators: %s: Theme name.
|
613 |
-
msgid "Are you sure you want to delete %s?"
|
614 |
-
msgstr ""
|
615 |
-
|
616 |
-
#: includes/class-demo-importer.php:258
|
617 |
-
#. translators: %s: Plugin name.
|
618 |
-
msgid "Are you sure you want to delete %s and its data?"
|
619 |
-
msgstr ""
|
620 |
-
|
621 |
-
#: includes/class-demo-importer.php:259
|
622 |
-
msgid "Are you sure you want to delete the selected plugins and their data?"
|
623 |
-
msgstr ""
|
624 |
-
|
625 |
-
#: includes/class-demo-importer.php:260
|
626 |
-
msgid ""
|
627 |
-
"Caution: These themes may be active on other sites in the network. Are you "
|
628 |
-
"sure you want to proceed?"
|
629 |
-
msgstr ""
|
630 |
-
|
631 |
-
#: includes/class-demo-importer.php:261
|
632 |
-
msgid "Deleting..."
|
633 |
-
msgstr ""
|
634 |
-
|
635 |
-
#: includes/class-demo-importer.php:263
|
636 |
-
#. translators: %s: Error string for a failed deletion.
|
637 |
-
msgid "Deletion failed: %s"
|
638 |
-
msgstr ""
|
639 |
-
|
640 |
-
#: includes/class-demo-importer.php:267
|
641 |
-
msgid "Network Activate"
|
642 |
-
msgstr ""
|
643 |
-
|
644 |
-
#: includes/class-demo-importer.php:267 includes/class-demo-importer.php:268
|
645 |
-
msgid "Activate"
|
646 |
-
msgstr ""
|
647 |
-
|
648 |
-
#: includes/class-demo-importer.php:268
|
649 |
-
msgid "Network Enable"
|
650 |
-
msgstr ""
|
651 |
-
|
652 |
-
#: includes/class-demo-importer.php:273
|
653 |
-
msgid "Run Importer"
|
654 |
-
msgstr ""
|
655 |
-
|
656 |
-
#: includes/class-demo-importer.php:275
|
657 |
-
#. translators: %s: Importer name.
|
658 |
-
msgid "Run %s"
|
659 |
-
msgstr ""
|
660 |
-
|
661 |
-
#: includes/class-demo-importer.php:276
|
662 |
-
msgid "Something went wrong."
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/class-demo-importer.php:
|
666 |
-
msgid "
|
667 |
-
msgstr ""
|
668 |
-
|
669 |
-
#: includes/class-demo-importer.php:278
|
670 |
-
msgid "An error has occurred. Please reload the page and try again."
|
671 |
-
msgstr ""
|
672 |
-
|
673 |
-
#: includes/class-demo-importer.php:280
|
674 |
-
#. translators: %s: Number of plugins.
|
675 |
-
msgid "Number of plugins found: %d"
|
676 |
-
msgstr ""
|
677 |
-
|
678 |
-
#: includes/class-demo-importer.php:281
|
679 |
-
msgid "No plugins found. Try a different search."
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: includes/class-demo-importer.php:
|
683 |
-
msgid ""
|
684 |
-
"Importing demo data will ensure that your site will look similar as theme "
|
685 |
-
"demo. It makes you easy to modify the content instead of creating them from "
|
686 |
-
"scratch. Also, consider before importing the demo: %1$s %2$s %3$s %4$s %5$s "
|
687 |
-
"%6$s"
|
688 |
-
msgstr ""
|
689 |
-
|
690 |
-
#: includes/class-demo-importer.php:308
|
691 |
-
msgid ""
|
692 |
-
"Importing the demo on the site if you have already added the content is "
|
693 |
-
"highly discouraged."
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: includes/class-demo-importer.php:
|
697 |
-
msgid ""
|
698 |
-
"You need to import demo on fresh WordPress install to exactly replicate the "
|
699 |
-
"theme demo."
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: includes/class-demo-importer.php:
|
703 |
-
msgid ""
|
704 |
-
"It will install the required plugins as well as activate them for "
|
705 |
-
"installing the required theme demo within your site."
|
706 |
-
msgstr ""
|
707 |
-
|
708 |
-
#: includes/class-demo-importer.php:314
|
709 |
msgid "Copyright images will get replaced with other placeholder images."
|
710 |
msgstr ""
|
711 |
|
712 |
-
#: includes/class-demo-importer.php:
|
713 |
-
msgid ""
|
714 |
-
"None of the posts, pages, attachments or any other data already existing in "
|
715 |
-
"your site will be deleted or modified."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: includes/class-demo-importer.php:
|
719 |
msgid "It will take some time to import the theme demo."
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: includes/class-demo-importer.php:
|
723 |
msgid "Search Demos"
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: includes/class-demo-importer.php:
|
727 |
msgid "Search demos..."
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: includes/class-demo-importer.php:326
|
731 |
#. translators: %s: support forums URL
|
732 |
-
|
733 |
-
"An unexpected error occurred. Something may be wrong with ThemeGrill demo "
|
734 |
-
"server’s configuration. If you continue to have problems, please try "
|
735 |
-
"the <a href=\"%s\">support forums</a>."
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: includes/class-demo-importer.php:
|
739 |
msgid "Try Again"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: includes/class-demo-importer.php:
|
743 |
msgid "Please suggest us!"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: includes/class-demo-importer.php:
|
747 |
msgid "Number of Demos found: %d"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: includes/class-demo-importer.php:
|
751 |
msgid "Expand Sidebar"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: includes/class-demo-importer.php:334
|
755 |
#. translators: accessibility text
|
|
|
756 |
msgid "Select one or more Demo features to filter by"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: includes/class-demo-importer.php:
|
760 |
msgid "Confirm!"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: includes/class-demo-importer.php:361
|
764 |
#. translators: 1: ThemeGrill Demo Importer 2: five stars
|
|
|
765 |
msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
766 |
msgstr ""
|
767 |
|
768 |
-
|
769 |
-
msgid "ThemeGrill Demo Importer"
|
770 |
-
msgstr ""
|
771 |
-
|
772 |
-
#: includes/class-demo-importer.php:363
|
773 |
msgid "Thanks :)"
|
774 |
msgstr ""
|
775 |
|
776 |
-
#: includes/class-demo-importer.php:
|
777 |
msgid "Thank you for importing with ThemeGrill Demo Importer."
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: includes/class-demo-importer.php:
|
|
|
781 |
msgid "Help & Support"
|
782 |
msgstr ""
|
783 |
|
784 |
-
#: includes/class-demo-importer.php:
|
785 |
-
msgid ""
|
786 |
-
"Should you need help understanding, using, or extending ThemeGrill Demo "
|
787 |
-
"Importer, <a href=\"%s\">please read our documentation</a>. You will find "
|
788 |
-
"all kinds of resources including snippets, tutorials and much more."
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/class-demo-importer.php:
|
792 |
-
msgid ""
|
793 |
-
"For further assistance with ThemeGrill Demo Importer core you can use the "
|
794 |
-
"<a href=\"%1$s\">community forum</a>. If you need help with premium themes "
|
795 |
-
"sold by ThemeGrill, please <a href=\"%2$s\">use our free support forum</a>."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/class-demo-importer.php:
|
799 |
msgid "Community forum"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#: includes/class-demo-importer.php:
|
803 |
msgid "ThemeGrill Support"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: includes/class-demo-importer.php:
|
|
|
807 |
msgid "Found a bug?"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: includes/class-demo-importer.php:
|
811 |
-
msgid ""
|
812 |
-
"If you find a bug within ThemeGrill Demo Importer you can create a ticket "
|
813 |
-
"via <a href=\"%1$s\">Github issues</a>. Ensure you read the <a "
|
814 |
-
"href=\"%2$s\">contribution guide</a> prior to submitting your report. To "
|
815 |
-
"help us solve your issue, please be as descriptive as possible."
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: includes/class-demo-importer.php:
|
819 |
msgid "Report a bug"
|
820 |
msgstr ""
|
821 |
|
822 |
-
#: includes/class-demo-importer.php:
|
823 |
msgid "For more information:"
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/class-demo-importer.php:
|
827 |
msgid "About Demo Importer"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: includes/class-demo-importer.php:
|
831 |
msgid "WordPress.org project"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: includes/class-demo-importer.php:
|
835 |
msgid "Github project"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: includes/class-demo-importer.php:
|
839 |
msgid "Official themes"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/class-demo-importer.php:
|
843 |
msgid "Official plugins"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: includes/class-demo-importer.php:
|
|
|
847 |
msgid "This demo requires %1$s version of %2$s theme to get imported"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: includes/class-demo-importer.php:
|
851 |
-
|
852 |
-
"This demo requires %1$s version of %2$s theme and %3$s version of %4$s as "
|
853 |
-
"well as %5$s version of %6$s plugins to get imported"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: includes/class-demo-importer.php:
|
857 |
-
#: includes/class-demo-importer.php:
|
|
|
|
|
858 |
msgid "Zakra Pro"
|
859 |
msgstr ""
|
860 |
|
861 |
-
#: includes/class-demo-importer.php:
|
862 |
-
#: includes/class-demo-importer.php:
|
|
|
|
|
863 |
msgid "Companion Elementor"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: includes/class-demo-importer.php:
|
867 |
-
|
868 |
-
"This demo requires %1$s version of %2$s theme and %3$s version of %4$s "
|
869 |
-
"plugin to get imported"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: includes/class-demo-importer.php:
|
|
|
873 |
msgid "This demo requires %1$s version of %2$s plugin to get imported"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/class-demo-importer.php:
|
877 |
msgid "%s Pro"
|
878 |
msgstr ""
|
879 |
|
880 |
-
|
881 |
-
msgid "ThemeGrill"
|
882 |
-
msgstr ""
|
883 |
-
|
884 |
-
#: includes/class-demo-importer.php:718
|
885 |
msgid "No demo specified."
|
886 |
msgstr ""
|
887 |
|
888 |
-
#: includes/class-demo-importer.php:
|
889 |
msgid "Sorry, you are not allowed to import content."
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: includes/class-demo-importer.php:
|
893 |
#: includes/functions-demo-importer.php:110
|
894 |
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: includes/class-demo-importer.php:
|
898 |
msgid "The XML file dummy content is missing."
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: includes/class-demo-importer.php:
|
902 |
msgid "The DAT file customizer data is missing."
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: includes/class-demo-importer.php:
|
906 |
msgid "The WIE file widget content is missing."
|
907 |
msgstr ""
|
908 |
|
@@ -931,10 +755,12 @@ msgstr ""
|
|
931 |
msgid "Free Support"
|
932 |
msgstr ""
|
933 |
|
|
|
934 |
#: includes/class-themegrill-demo-importer.php:269
|
935 |
msgid "This plugin requires %s to be activated to work."
|
936 |
msgstr ""
|
937 |
|
|
|
938 |
#: includes/class-themegrill-demo-importer.php:269
|
939 |
msgid "Official ThemeGrill Theme"
|
940 |
msgstr ""
|
@@ -947,23 +773,23 @@ msgstr ""
|
|
947 |
msgid "Sorry, you are not allowed to install plugins on this site."
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: includes/functions-demo-importer.php:351
|
951 |
#. translators: %s: Number of plugins
|
|
|
952 |
msgid "%s plugin successfully installed."
|
953 |
msgstr ""
|
954 |
|
955 |
-
#: includes/functions-demo-importer.php:358
|
956 |
#. translators: %s: Number of plugins
|
|
|
957 |
msgid "%s plugins successfully installed."
|
958 |
msgstr ""
|
959 |
|
960 |
-
#: includes/functions-demo-importer.php:368
|
961 |
#. translators: %s: Number of failed installs
|
|
|
962 |
msgid "%s install failed."
|
963 |
msgstr ""
|
964 |
|
965 |
-
#: includes/functions-demo-importer.php:373
|
966 |
#. translators: %s: Number of failed installs
|
|
|
967 |
msgid "%s installs failed."
|
968 |
msgstr ""
|
969 |
|
@@ -972,15 +798,11 @@ msgid "Show more details"
|
|
972 |
msgstr ""
|
973 |
|
974 |
#: includes/importers/class-customizer-importer.php:36
|
975 |
-
msgid ""
|
976 |
-
"The customizer import file is not in a correct format. Please make sure to "
|
977 |
-
"use the correct customizer import file."
|
978 |
msgstr ""
|
979 |
|
980 |
#: includes/importers/class-customizer-importer.php:40
|
981 |
-
msgid ""
|
982 |
-
"The customizer import file is not suitable for current theme. You can only "
|
983 |
-
"import customizer settings for the same theme or a child theme."
|
984 |
msgstr ""
|
985 |
|
986 |
#: includes/importers/class-widget-importer.php:34
|
@@ -1036,21 +858,15 @@ msgid "Remember to update the passwords and roles of imported users."
|
|
1036 |
msgstr ""
|
1037 |
|
1038 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:197
|
1039 |
-
msgid ""
|
1040 |
-
"The export file could not be found at <code>%s</code>. It is likely that "
|
1041 |
-
"this was caused by a permissions problem."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:213
|
1045 |
-
msgid ""
|
1046 |
-
"This WXR file (version %s) may not be supported by this version of the "
|
1047 |
-
"importer. Please consider updating."
|
1048 |
msgstr ""
|
1049 |
|
1050 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:238
|
1051 |
-
msgid ""
|
1052 |
-
"Failed to import author %s. Their posts will be attributed to the current "
|
1053 |
-
"user."
|
1054 |
msgstr ""
|
1055 |
|
1056 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:264
|
@@ -1058,17 +874,11 @@ msgid "Assign Authors"
|
|
1058 |
msgstr ""
|
1059 |
|
1060 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:265
|
1061 |
-
msgid ""
|
1062 |
-
"To make it simpler for you to edit and save the imported content, you may "
|
1063 |
-
"want to reassign the author of the imported item to an existing user of "
|
1064 |
-
"this site, such as your primary administrator account."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:267
|
1068 |
-
msgid ""
|
1069 |
-
"If a new user is created by WordPress, a new password will be randomly "
|
1070 |
-
"generated and the new user’s role will be set as %s. Manually "
|
1071 |
-
"changing the new user’s details will be necessary."
|
1072 |
msgstr ""
|
1073 |
|
1074 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:277
|
@@ -1108,9 +918,7 @@ msgid "- Select -"
|
|
1108 |
msgstr ""
|
1109 |
|
1110 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:386
|
1111 |
-
msgid ""
|
1112 |
-
"Failed to create new user for %s. Their posts will be attributed to the "
|
1113 |
-
"current user."
|
1114 |
msgstr ""
|
1115 |
|
1116 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:438
|
@@ -1158,13 +966,13 @@ msgstr ""
|
|
1158 |
msgid "Could not create temporary file."
|
1159 |
msgstr ""
|
1160 |
|
1161 |
-
#: includes/importers/wordpress-importer/class-wxr-importer.php:1045
|
1162 |
#. translators: 1: The WordPress error message. 2: The WordPress error code.
|
|
|
1163 |
msgid "Request failed due to an error: %1$s (%2$s)"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: includes/importers/wordpress-importer/class-wxr-importer.php:1061
|
1167 |
#. translators: 1: The HTTP error message. 2: The HTTP error code.
|
|
|
1168 |
msgid "Remote server returned the following unexpected result: %1$s (%2$s)"
|
1169 |
msgstr ""
|
1170 |
|
@@ -1197,16 +1005,11 @@ msgid "Import WordPress"
|
|
1197 |
msgstr ""
|
1198 |
|
1199 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1257
|
1200 |
-
msgid ""
|
1201 |
-
"A new version of this importer is available. Please update to version %s to "
|
1202 |
-
"ensure compatibility with newer export files."
|
1203 |
msgstr ""
|
1204 |
|
1205 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1272
|
1206 |
-
msgid ""
|
1207 |
-
"Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import "
|
1208 |
-
"the posts, pages, comments, custom fields, categories, and tags into this "
|
1209 |
-
"site."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1273
|
@@ -1227,185 +1030,122 @@ msgid "There was an error when reading this WXR file"
|
|
1227 |
msgstr ""
|
1228 |
|
1229 |
#: includes/importers/wordpress-importer/class-wxr-parser.php:43
|
1230 |
-
msgid ""
|
1231 |
-
"Details are shown above. The importer will now try again with a different "
|
1232 |
-
"parser..."
|
1233 |
msgstr ""
|
1234 |
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
#. Description of the plugin/theme
|
1240 |
-
msgid ""
|
1241 |
-
"Import ThemeGrill official themes demo content, widgets and theme settings "
|
1242 |
-
"with just one click."
|
1243 |
-
msgstr ""
|
1244 |
-
|
1245 |
-
#. Author URI of the plugin/theme
|
1246 |
-
msgid "https://themegrill.com"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
|
1250 |
-
|
1251 |
msgctxt "demo"
|
1252 |
-
msgid "
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#:
|
1256 |
-
|
1257 |
-
msgid "Imported"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
|
|
|
1261 |
msgctxt "demo"
|
1262 |
-
msgid "
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#:
|
1266 |
-
|
1267 |
-
msgid "%s imported!"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
-
#:
|
1271 |
-
|
1272 |
-
msgid "%s import failed"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
|
|
|
1276 |
msgctxt "demo"
|
1277 |
msgid "Live Preview %s"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
#: includes/admin/views/html-admin-page-importer.php:139
|
1286 |
-
msgctxt "Button label for a demo"
|
1287 |
-
msgid "Next"
|
1288 |
-
msgstr ""
|
1289 |
-
|
1290 |
-
#: includes/class-demo-importer.php:136
|
1291 |
-
msgctxt "Admin menu name"
|
1292 |
-
msgid "Demo Importer"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
|
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#:
|
1301 |
-
|
1302 |
-
|
1303 |
-
msgid "Update %s now"
|
1304 |
msgstr ""
|
1305 |
|
1306 |
-
|
1307 |
-
|
|
|
|
|
1308 |
msgctxt "plugin"
|
1309 |
-
msgid "
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#:
|
1313 |
-
|
1314 |
-
|
1315 |
-
msgid "
|
1316 |
msgstr ""
|
1317 |
|
1318 |
-
#:
|
1319 |
-
|
1320 |
-
msgctxt "plugin"
|
1321 |
-
msgid "%s update failed"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: includes/class-demo-importer.php:232
|
1325 |
#. translators: %s: Plugin name.
|
|
|
1326 |
msgctxt "plugin"
|
1327 |
-
msgid "
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#:
|
1331 |
msgctxt "plugin"
|
1332 |
msgid "Installed!"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
-
#:
|
1336 |
-
|
1337 |
-
msgctxt "plugin"
|
1338 |
-
msgid "Installing %s..."
|
1339 |
-
msgstr ""
|
1340 |
-
|
1341 |
-
#: includes/class-demo-importer.php:244
|
1342 |
-
#. translators: %s: Plugin name and version.
|
1343 |
-
msgctxt "plugin"
|
1344 |
-
msgid "%s installed!"
|
1345 |
-
msgstr ""
|
1346 |
-
|
1347 |
-
#: includes/class-demo-importer.php:248
|
1348 |
-
#. translators: %s: Plugin name and version.
|
1349 |
-
msgctxt "plugin"
|
1350 |
-
msgid "%s installation failed"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
|
|
1356 |
msgstr ""
|
1357 |
|
1358 |
-
#: includes/class-demo-importer.php:270
|
1359 |
#. translators: %s: Plugin name.
|
|
|
1360 |
msgctxt "plugin"
|
1361 |
-
msgid "
|
1362 |
-
msgstr ""
|
1363 |
-
|
1364 |
-
#: includes/class-demo-importer.php:270
|
1365 |
-
msgctxt "plugin"
|
1366 |
-
msgid "Activate %s"
|
1367 |
-
msgstr ""
|
1368 |
-
|
1369 |
-
#: includes/class-demo-importer.php:209
|
1370 |
-
msgctxt "theme"
|
1371 |
-
msgid "Updated!"
|
1372 |
-
msgstr ""
|
1373 |
-
|
1374 |
-
#: includes/class-demo-importer.php:235
|
1375 |
-
msgctxt "theme"
|
1376 |
-
msgid "Installed!"
|
1377 |
msgstr ""
|
1378 |
|
1379 |
-
#:
|
1380 |
-
|
1381 |
-
msgctxt "theme"
|
1382 |
-
msgid "Installing %s..."
|
1383 |
msgstr ""
|
1384 |
|
1385 |
-
#:
|
1386 |
-
|
1387 |
-
msgctxt "theme"
|
1388 |
-
msgid "%s installed!"
|
1389 |
msgstr ""
|
1390 |
|
1391 |
-
#:
|
1392 |
-
|
1393 |
-
msgctxt "theme"
|
1394 |
-
msgid "%s installation failed"
|
1395 |
msgstr ""
|
1396 |
|
1397 |
-
#:
|
1398 |
-
|
1399 |
-
msgid "Deleted!"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#:
|
1403 |
-
|
1404 |
-
msgctxt "theme"
|
1405 |
-
msgid "Network Activate %s"
|
1406 |
msgstr ""
|
1407 |
-
|
1408 |
-
#: includes/class-demo-importer.php:272
|
1409 |
-
msgctxt "theme"
|
1410 |
-
msgid "Activate %s"
|
1411 |
-
msgstr ""
|
2 |
# This file is distributed under the GPLv3 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ThemeGrill Demo Importer 1.6.7\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: 2020-09-15T03:21:38+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"
|
16 |
+
|
17 |
+
#. Plugin Name of the plugin
|
18 |
+
#. translators: %s: official ThemeGrill themes URL
|
19 |
+
#: includes/class-demo-importer.php:249
|
20 |
+
#: includes/class-themegrill-demo-importer.php:269
|
21 |
+
msgid "ThemeGrill Demo Importer"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#. Plugin URI of the plugin
|
25 |
+
msgid "https://themegrill.com/demo-importer/"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#. Description of the plugin
|
29 |
+
msgid "Import ThemeGrill official themes demo content, widgets and theme settings with just one click."
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#. Author of the plugin
|
33 |
+
#: includes/class-demo-importer.php:545
|
34 |
+
msgid "ThemeGrill"
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#. Author URI of the plugin
|
38 |
+
msgid "https://themegrill.com"
|
39 |
+
msgstr ""
|
40 |
|
41 |
#: includes/admin/class-demo-importer-status.php:41
|
42 |
msgid "All Fine"
|
58 |
msgid "Install package not available."
|
59 |
msgstr ""
|
60 |
|
|
|
61 |
#. translators: %s: package URL
|
62 |
+
#: includes/admin/class-demo-pack-upgrader.php:37
|
63 |
msgid "Downloading install package from <span class=\"code\">%s</span>…"
|
64 |
msgstr ""
|
65 |
|
96 |
msgstr ""
|
97 |
|
98 |
#: includes/admin/class-plugin-deactivate-notice.php:50
|
99 |
+
msgid "It seems you've imported the theme demo successfully. Now, the purpose of this plugin is fulfilled and it has no more use. So, if you're satisfied with this import, you can safely deactivate it by clicking the button."
|
|
|
|
|
|
|
100 |
msgstr ""
|
101 |
|
102 |
#: includes/admin/class-plugin-deactivate-notice.php:62
|
104 |
msgstr ""
|
105 |
|
106 |
#: includes/admin/class-plugin-deactivate-notice.php:78
|
107 |
+
#: includes/class-demo-importer.php:1274
|
108 |
msgid "Action failed. Please refresh the page and retry."
|
109 |
msgstr ""
|
110 |
|
|
|
111 |
#. Translators: %1$s current user display name.
|
112 |
+
#: includes/admin/class-plugin-review-notice.php:57
|
113 |
+
msgid "Howdy, %1$s! It seems that you have imported the theme demo in your site. We hope that you are happy with it and if you can spare a minute, please help us by leaving a 5-star review on WordPress.org."
|
|
|
|
|
114 |
msgstr ""
|
115 |
|
116 |
#: includes/admin/class-plugin-review-notice.php:70
|
139 |
msgstr ""
|
140 |
|
141 |
#: includes/admin/views/html-admin-page-demo-import-faqs.php:36
|
142 |
+
msgid "An error has occurred, which probably means our server is down. Try again later."
|
|
|
|
|
143 |
msgstr ""
|
144 |
|
145 |
#: includes/admin/views/html-admin-page-demo-import-faqs.php:62
|
153 |
msgstr ""
|
154 |
|
155 |
#: includes/admin/views/html-admin-page-importer.php:16
|
156 |
+
msgid "If you do not see the new demos on the list, please click this button to fetch all the available demos."
|
|
|
|
|
157 |
msgstr ""
|
158 |
|
159 |
#: includes/admin/views/html-admin-page-importer.php:18
|
181 |
msgstr ""
|
182 |
|
183 |
#: includes/admin/views/html-admin-page-importer.php:67
|
184 |
+
#: includes/class-demo-importer.php:214
|
185 |
msgid "No demos found. Try a different search."
|
186 |
msgstr ""
|
187 |
|
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:172
|
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"
|
205 |
msgstr ""
|
206 |
|
|
|
207 |
#. translators: %s: Demo name
|
208 |
+
#: includes/admin/views/html-admin-page-importer.php:100
|
209 |
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:150
|
214 |
#: includes/admin/views/html-admin-page-importer.php:254
|
215 |
+
#: assets/js/admin/demo-updates.js:114
|
216 |
msgid "Live Preview"
|
217 |
msgstr ""
|
218 |
|
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:251
|
|
|
231 |
msgid "Update"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#. translators: %s: Demo name
|
235 |
+
#: includes/admin/views/html-admin-page-importer.php:120
|
236 |
+
msgctxt "demo"
|
237 |
+
msgid "Import %s"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
#: includes/admin/views/html-admin-page-importer.php:122
|
241 |
msgid "Import"
|
242 |
msgstr ""
|
246 |
msgid "Preview"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/admin/views/html-admin-page-importer.php:130
|
250 |
+
msgctxt "demo"
|
251 |
+
msgid "Imported"
|
252 |
+
msgstr ""
|
253 |
+
|
254 |
#: includes/admin/views/html-admin-page-importer.php:137
|
255 |
msgid "Close"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: includes/admin/views/html-admin-page-importer.php:138
|
259 |
+
msgctxt "Button label for a demo"
|
260 |
+
msgid "Previous"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
+
#: includes/admin/views/html-admin-page-importer.php:139
|
264 |
+
msgctxt "Button label for a demo"
|
265 |
+
msgid "Next"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
#: includes/admin/views/html-admin-page-importer.php:145
|
269 |
#: includes/admin/views/html-admin-page-importer.php:152
|
270 |
#: includes/admin/views/html-admin-page-importer.php:249
|
272 |
msgid "Import Demo"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#. translators: %s: Theme Name
|
276 |
#: includes/admin/views/html-admin-page-importer.php:183
|
277 |
#: includes/admin/views/html-admin-page-importer.php:192
|
|
|
278 |
msgid "%s theme is not active."
|
279 |
msgstr ""
|
280 |
|
|
|
281 |
#. translators: %s: Demo version
|
282 |
+
#: includes/admin/views/html-admin-page-importer.php:199
|
283 |
msgid "Version: %s"
|
284 |
msgstr ""
|
285 |
|
296 |
msgstr ""
|
297 |
|
298 |
#: includes/admin/views/html-admin-page-importer.php:260
|
299 |
+
#: includes/class-demo-importer.php:215
|
300 |
msgid "Collapse Sidebar"
|
301 |
msgstr ""
|
302 |
|
480 |
msgid "Child Theme:"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#. translators: 1. Opening anchor tag for ThemeGrill Child Tutorial, 2. Closing the anchor tag
|
484 |
#: includes/admin/views/html-admin-page-system-status-report.php:220
|
485 |
+
msgid "If you want to modify the features of the theme then, we recommend you to use %1$s child theme. %2$s"
|
|
|
|
|
|
|
|
|
486 |
msgstr ""
|
487 |
|
488 |
#: includes/admin/views/html-admin-page-system-status-report.php:230
|
514 |
msgstr ""
|
515 |
|
516 |
#: includes/admin/views/html-admin-page-system-status-report.php:351
|
517 |
+
msgid "While creating support request, please provide us the details generated below within the support request. It might help us to tackle on the issue more conviniently."
|
|
|
|
|
|
|
518 |
msgstr ""
|
519 |
|
520 |
#: includes/admin/views/html-admin-page-system-status-report.php:358
|
525 |
msgid "Demo Importer Status"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: includes/class-demo-importer.php:136
|
529 |
+
msgctxt "Admin menu name"
|
530 |
+
msgid "Demo Importer"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
msgstr ""
|
532 |
|
533 |
#: includes/class-demo-importer.php:190
|
534 |
+
msgid "Importing demo data will ensure that your site will look similar as theme demo. It makes you easy to modify the content instead of creating them from scratch. Also, consider before importing the demo: %1$s %2$s %3$s %4$s %5$s %6$s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: includes/class-demo-importer.php:192
|
538 |
+
msgid "Importing the demo on the site if you have already added the content is highly discouraged."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: includes/class-demo-importer.php:194
|
542 |
+
msgid "You need to import demo on fresh WordPress install to exactly replicate the theme demo."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: includes/class-demo-importer.php:196
|
546 |
+
msgid "It will install the required plugins as well as activate them for installing the required theme demo within your site."
|
|
|
|
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: includes/class-demo-importer.php:198
|
|
|
|
|
|
|
|
|
|
|
|
|
550 |
msgid "Copyright images will get replaced with other placeholder images."
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: includes/class-demo-importer.php:200
|
554 |
+
msgid "None of the posts, pages, attachments or any other data already existing in your site will be deleted or modified."
|
|
|
|
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: includes/class-demo-importer.php:202
|
558 |
msgid "It will take some time to import the theme demo."
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: includes/class-demo-importer.php:207
|
562 |
msgid "Search Demos"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: includes/class-demo-importer.php:208
|
566 |
msgid "Search demos..."
|
567 |
msgstr ""
|
568 |
|
|
|
569 |
#. translators: %s: support forums URL
|
570 |
+
#: includes/class-demo-importer.php:210
|
571 |
+
msgid "An unexpected error occurred. Something may be wrong with ThemeGrill demo server’s configuration. If you continue to have problems, please try the <a href=\"%s\">support forums</a>."
|
|
|
|
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: includes/class-demo-importer.php:211
|
575 |
msgid "Try Again"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: includes/class-demo-importer.php:212
|
579 |
msgid "Please suggest us!"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: includes/class-demo-importer.php:213
|
583 |
msgid "Number of Demos found: %d"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: includes/class-demo-importer.php:216
|
587 |
msgid "Expand Sidebar"
|
588 |
msgstr ""
|
589 |
|
|
|
590 |
#. translators: accessibility text
|
591 |
+
#: includes/class-demo-importer.php:218
|
592 |
msgid "Select one or more Demo features to filter by"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: includes/class-demo-importer.php:219
|
596 |
msgid "Confirm!"
|
597 |
msgstr ""
|
598 |
|
|
|
599 |
#. translators: 1: ThemeGrill Demo Importer 2: five stars
|
600 |
+
#: includes/class-demo-importer.php:248
|
601 |
msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: includes/class-demo-importer.php:250
|
|
|
|
|
|
|
|
|
605 |
msgid "Thanks :)"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: includes/class-demo-importer.php:253
|
609 |
msgid "Thank you for importing with ThemeGrill Demo Importer."
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: includes/class-demo-importer.php:273
|
613 |
+
#: includes/class-demo-importer.php:275
|
614 |
msgid "Help & Support"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: includes/class-demo-importer.php:277
|
618 |
+
msgid "Should you need help understanding, using, or extending ThemeGrill Demo Importer, <a href=\"%s\">please read our documentation</a>. You will find all kinds of resources including snippets, tutorials and much more."
|
|
|
|
|
|
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: includes/class-demo-importer.php:281
|
622 |
+
msgid "For further assistance with ThemeGrill Demo Importer core you can use the <a href=\"%1$s\">community forum</a>. If you need help with premium themes sold by ThemeGrill, please <a href=\"%2$s\">use our free support forum</a>."
|
|
|
|
|
|
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: includes/class-demo-importer.php:285
|
626 |
msgid "Community forum"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: includes/class-demo-importer.php:285
|
630 |
msgid "ThemeGrill Support"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: includes/class-demo-importer.php:292
|
634 |
+
#: includes/class-demo-importer.php:294
|
635 |
msgid "Found a bug?"
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/class-demo-importer.php:295
|
639 |
+
msgid "If you find a bug within ThemeGrill Demo Importer you can create a ticket via <a href=\"%1$s\">Github issues</a>. Ensure you read the <a href=\"%2$s\">contribution guide</a> prior to submitting your report. To help us solve your issue, please be as descriptive as possible."
|
|
|
|
|
|
|
|
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: includes/class-demo-importer.php:296
|
643 |
msgid "Report a bug"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: includes/class-demo-importer.php:302
|
647 |
msgid "For more information:"
|
648 |
msgstr ""
|
649 |
|
650 |
+
#: includes/class-demo-importer.php:303
|
651 |
msgid "About Demo Importer"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: includes/class-demo-importer.php:304
|
655 |
msgid "WordPress.org project"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: includes/class-demo-importer.php:305
|
659 |
msgid "Github project"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: includes/class-demo-importer.php:306
|
663 |
msgid "Official themes"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: includes/class-demo-importer.php:307
|
667 |
msgid "Official plugins"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: includes/class-demo-importer.php:469
|
671 |
+
#: includes/class-demo-importer.php:530
|
672 |
msgid "This demo requires %1$s version of %2$s theme to get imported"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: includes/class-demo-importer.php:475
|
676 |
+
#: includes/class-demo-importer.php:503
|
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:479
|
681 |
+
#: includes/class-demo-importer.php:489
|
682 |
+
#: includes/class-demo-importer.php:495
|
683 |
+
#: includes/class-demo-importer.php:507
|
684 |
msgid "Zakra Pro"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: includes/class-demo-importer.php:481
|
688 |
+
#: includes/class-demo-importer.php:509
|
689 |
+
#: includes/class-demo-importer.php:517
|
690 |
+
#: includes/class-demo-importer.php:523
|
691 |
msgid "Companion Elementor"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: includes/class-demo-importer.php:485
|
695 |
+
#: includes/class-demo-importer.php:513
|
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:493
|
700 |
+
#: includes/class-demo-importer.php:521
|
701 |
msgid "This demo requires %1$s version of %2$s plugin to get imported"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: includes/class-demo-importer.php:541
|
705 |
msgid "%s Pro"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: includes/class-demo-importer.php:605
|
|
|
|
|
|
|
|
|
709 |
msgid "No demo specified."
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: includes/class-demo-importer.php:621
|
713 |
msgid "Sorry, you are not allowed to import content."
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: includes/class-demo-importer.php:653
|
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:736
|
722 |
msgid "The XML file dummy content is missing."
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: includes/class-demo-importer.php:827
|
726 |
msgid "The DAT file customizer data is missing."
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: includes/class-demo-importer.php:852
|
730 |
msgid "The WIE file widget content is missing."
|
731 |
msgstr ""
|
732 |
|
755 |
msgid "Free Support"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#. translators: %s: official ThemeGrill themes URL
|
759 |
#: includes/class-themegrill-demo-importer.php:269
|
760 |
msgid "This plugin requires %s to be activated to work."
|
761 |
msgstr ""
|
762 |
|
763 |
+
#. translators: %s: official ThemeGrill themes URL
|
764 |
#: includes/class-themegrill-demo-importer.php:269
|
765 |
msgid "Official ThemeGrill Theme"
|
766 |
msgstr ""
|
773 |
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:351
|
778 |
msgid "%s plugin successfully installed."
|
779 |
msgstr ""
|
780 |
|
|
|
781 |
#. translators: %s: Number of plugins
|
782 |
+
#: includes/functions-demo-importer.php:358
|
783 |
msgid "%s plugins successfully installed."
|
784 |
msgstr ""
|
785 |
|
|
|
786 |
#. translators: %s: Number of failed installs
|
787 |
+
#: includes/functions-demo-importer.php:368
|
788 |
msgid "%s install failed."
|
789 |
msgstr ""
|
790 |
|
|
|
791 |
#. translators: %s: Number of failed installs
|
792 |
+
#: includes/functions-demo-importer.php:373
|
793 |
msgid "%s installs failed."
|
794 |
msgstr ""
|
795 |
|
798 |
msgstr ""
|
799 |
|
800 |
#: includes/importers/class-customizer-importer.php:36
|
801 |
+
msgid "The customizer import file is not in a correct format. Please make sure to use the correct customizer import file."
|
|
|
|
|
802 |
msgstr ""
|
803 |
|
804 |
#: includes/importers/class-customizer-importer.php:40
|
805 |
+
msgid "The customizer import file is not suitable for current theme. You can only import customizer settings for the same theme or a child theme."
|
|
|
|
|
806 |
msgstr ""
|
807 |
|
808 |
#: includes/importers/class-widget-importer.php:34
|
858 |
msgstr ""
|
859 |
|
860 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:197
|
861 |
+
msgid "The export file could not be found at <code>%s</code>. It is likely that this was caused by a permissions problem."
|
|
|
|
|
862 |
msgstr ""
|
863 |
|
864 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:213
|
865 |
+
msgid "This WXR file (version %s) may not be supported by this version of the importer. Please consider updating."
|
|
|
|
|
866 |
msgstr ""
|
867 |
|
868 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:238
|
869 |
+
msgid "Failed to import author %s. Their posts will be attributed to the current user."
|
|
|
|
|
870 |
msgstr ""
|
871 |
|
872 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:264
|
874 |
msgstr ""
|
875 |
|
876 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:265
|
877 |
+
msgid "To make it simpler for you to edit and save the imported content, you may want to reassign the author of the imported item to an existing user of this site, such as your primary administrator account."
|
|
|
|
|
|
|
878 |
msgstr ""
|
879 |
|
880 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:267
|
881 |
+
msgid "If a new user is created by WordPress, a new password will be randomly generated and the new user’s role will be set as %s. Manually changing the new user’s details will be necessary."
|
|
|
|
|
|
|
882 |
msgstr ""
|
883 |
|
884 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:277
|
918 |
msgstr ""
|
919 |
|
920 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:386
|
921 |
+
msgid "Failed to create new user for %s. Their posts will be attributed to the current user."
|
|
|
|
|
922 |
msgstr ""
|
923 |
|
924 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:438
|
966 |
msgid "Could not create temporary file."
|
967 |
msgstr ""
|
968 |
|
|
|
969 |
#. translators: 1: The WordPress error message. 2: The WordPress error code.
|
970 |
+
#: includes/importers/wordpress-importer/class-wxr-importer.php:1045
|
971 |
msgid "Request failed due to an error: %1$s (%2$s)"
|
972 |
msgstr ""
|
973 |
|
|
|
974 |
#. translators: 1: The HTTP error message. 2: The HTTP error code.
|
975 |
+
#: includes/importers/wordpress-importer/class-wxr-importer.php:1061
|
976 |
msgid "Remote server returned the following unexpected result: %1$s (%2$s)"
|
977 |
msgstr ""
|
978 |
|
1005 |
msgstr ""
|
1006 |
|
1007 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1257
|
1008 |
+
msgid "A new version of this importer is available. Please update to version %s to ensure compatibility with newer export files."
|
|
|
|
|
1009 |
msgstr ""
|
1010 |
|
1011 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1272
|
1012 |
+
msgid "Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, pages, comments, custom fields, categories, and tags into this site."
|
|
|
|
|
|
|
1013 |
msgstr ""
|
1014 |
|
1015 |
#: includes/importers/wordpress-importer/class-wxr-importer.php:1273
|
1030 |
msgstr ""
|
1031 |
|
1032 |
#: includes/importers/wordpress-importer/class-wxr-parser.php:43
|
1033 |
+
msgid "Details are shown above. The importer will now try again with a different parser..."
|
|
|
|
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: assets/js/admin/demo-updates.js:40
|
1037 |
+
#: assets/js/admin/demo-updates.js:45
|
1038 |
+
msgid "Importing..."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#. translators: %s: Demo name.
|
1042 |
+
#: assets/js/admin/demo-updates.js:50
|
1043 |
msgctxt "demo"
|
1044 |
+
msgid "Importing %s..."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: assets/js/admin/demo-updates.js:54
|
1048 |
+
msgid "Importing... please wait."
|
|
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#. translators: %s: Demo name.
|
1052 |
+
#: assets/js/admin/demo-updates.js:85
|
1053 |
msgctxt "demo"
|
1054 |
+
msgid "%s imported!"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
+
#: assets/js/admin/demo-updates.js:89
|
1058 |
+
msgid "Imported!"
|
|
|
1059 |
msgstr ""
|
1060 |
|
1061 |
+
#: assets/js/admin/demo-updates.js:91
|
1062 |
+
msgid "Import completed successfully."
|
|
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#. translators: %s: Demo name.
|
1066 |
+
#: assets/js/admin/demo-updates.js:110
|
1067 |
msgctxt "demo"
|
1068 |
msgid "Live Preview %s"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#. translators: %s: Demo import error message.
|
1072 |
+
#: assets/js/admin/demo-updates.js:132
|
1073 |
+
#: assets/js/admin/demo-updates.js:347
|
1074 |
+
msgid "Import failed: %s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#. translators: %s: Demo name.
|
1078 |
+
#: assets/js/admin/demo-updates.js:162
|
1079 |
+
msgctxt "demo"
|
1080 |
+
msgid "%s import failed"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: assets/js/admin/demo-updates.js:166
|
1084 |
+
#: assets/js/admin/demo-updates.js:372
|
1085 |
+
msgid "Import Failed!"
|
|
|
1086 |
msgstr ""
|
1087 |
|
1088 |
+
#. translators: %s: Plugin name.
|
1089 |
+
#: assets/js/admin/demo-updates.js:196
|
1090 |
+
#: assets/js/admin/demo-updates.js:205
|
1091 |
+
#: assets/js/admin/demo-updates.js:214
|
1092 |
msgctxt "plugin"
|
1093 |
+
msgid "Installing %s..."
|
1094 |
msgstr ""
|
1095 |
|
1096 |
+
#: assets/js/admin/demo-updates.js:209
|
1097 |
+
#: assets/js/admin/demo-updates.js:220
|
1098 |
+
#: assets/js/admin/demo-updates.js:227
|
1099 |
+
msgid "Installing..."
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: assets/js/admin/demo-updates.js:229
|
1103 |
+
msgid "Installing... please wait."
|
|
|
|
|
1104 |
msgstr ""
|
1105 |
|
|
|
1106 |
#. translators: %s: Plugin name.
|
1107 |
+
#: assets/js/admin/demo-updates.js:256
|
1108 |
msgctxt "plugin"
|
1109 |
+
msgid "%s installed!"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: assets/js/admin/demo-updates.js:260
|
1113 |
msgctxt "plugin"
|
1114 |
msgid "Installed!"
|
1115 |
msgstr ""
|
1116 |
|
1117 |
+
#: assets/js/admin/demo-updates.js:262
|
1118 |
+
msgid "Installation completed successfully."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1119 |
msgstr ""
|
1120 |
|
1121 |
+
#. translators: %s: Bulk plugin installation error message.
|
1122 |
+
#: assets/js/admin/demo-updates.js:292
|
1123 |
+
#: assets/js/admin/demo-updates.js:351
|
1124 |
+
msgid "Installation failed: %s"
|
1125 |
msgstr ""
|
1126 |
|
|
|
1127 |
#. translators: %s: Plugin name.
|
1128 |
+
#: assets/js/admin/demo-updates.js:303
|
1129 |
msgctxt "plugin"
|
1130 |
+
msgid "%s installation failed"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: assets/js/admin/demo-updates.js:307
|
1134 |
+
msgid "Installation Failed!"
|
|
|
|
|
1135 |
msgstr ""
|
1136 |
|
1137 |
+
#: assets/js/admin/demo-updates.js:327
|
1138 |
+
msgid "Something went wrong."
|
|
|
|
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: assets/js/admin/demo-updates.js:336
|
1142 |
+
msgid "An error has occurred. Please reload the page and try again."
|
|
|
|
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: assets/js/admin/demo-updates.js:340
|
1146 |
+
msgid "Connection lost or the server is busy. Please try again later."
|
|
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: assets/js/admin/demo-updates.js:342
|
1150 |
+
msgid "Try this solution!"
|
|
|
|
|
1151 |
msgstr ""
|
|
|
|
|
|
|
|
|
|
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.6 - 06-08-2020 =
|
76 |
* Introduce - Demo Importer Status page
|
77 |
* Tweak - Added compatibility with WordPress v5.5
|
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
|
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.7 - 15-09-2020 =
|
76 |
+
* Tweak - Utilize `wp.i18n` for translation of strings for `wp.updates.l10n` deprecated since WordPress 5.5
|
77 |
+
|
78 |
= 1.6.6 - 06-08-2020 =
|
79 |
* Introduce - Demo Importer Status page
|
80 |
* Tweak - Added compatibility with WordPress v5.5
|
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.7
|
7 |
* Author: ThemeGrill
|
8 |
* Author URI: https://themegrill.com
|
9 |
* License: GPLv3 or later
|