PluginProbe
Extendify / 3.2.2
Extendify v3.2.2
3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 All 128 releases
← All changes | src/AutoLaunch/fetchers/get-home.js +2 -2 3.1.5 → 3.2.2 View file →
@@ -8,13 +8,13 @@
8 8 retryTwice,
9 9 setStatus,
10 10 } from '@auto-launch/functions/helpers';
11 11 import { getHeadersAndFooters } from '@auto-launch/functions/wp';
12 +import { launchStrings } from '@auto-launch/strings';
12 13 import { PATTERNS_HOST } from '@constants';
13 14 import { digest } from '@shared/api/digest';
14 15 import { reqDataBasics } from '@shared/lib/data';
15 16 import { siteImageUrlsByType } from '@shared/lib/site-images';
16 -import { __ } from '@wordpress/i18n';
17 17
18 18 const url = `${PATTERNS_HOST}/api/home`;
19 19 const { wpLanguage, showImprint } = window.extSharedData;
20 20 const method = 'POST';
@@ -27,9 +27,9 @@
27 27 aiHeaders,
28 28 designBuild,
29 29 }) => {
30 30 // translators: this is for a action log UI. Keep it short
31 - setStatus(__('Preparing your home page', 'extendify-local'));
31 + setStatus(launchStrings().statusHome);
32 32
33 33 // A full-page design build already carries the whole home; skip the
34 34 // /api/home fetch and build the page from the built patterns directly.
35 35 const builtHome = designBuild?.builtPages?.find((p) => p.slug === 'home');