PluginProbe
Extendify / trunk
Extendify vtrunk
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 0.6.0 All 127 releases
← All changes | src/AutoLaunch/fetchers/get-profile.js +2 -2 3.1.6 → trunk View file →
@@ -1,11 +1,11 @@
1 1 import { getProfileShape } from '@auto-launch/fetchers/shape';
2 2 import { fetchWithTimeout, setStatus } from '@auto-launch/functions/helpers';
3 3 import { updateOption } from '@auto-launch/functions/wp';
4 4 import { overrideWithUrlParams } from '@auto-launch/state/url-params';
5 +import { launchStrings } from '@auto-launch/strings';
5 6 import { AI_HOST } from '@constants';
6 7 import { reqDataBasics } from '@shared/lib/data';
7 -import { __ } from '@wordpress/i18n';
8 8 import { z } from 'zod';
9 9
10 10 const localShape = z.object({
11 11 siteProfile: getProfileShape,
@@ -21,9 +21,9 @@
21 21 descriptionRaw,
22 22 urlParams,
23 23 }) => {
24 24 // translators: this is for a action log UI. Keep it short
25 - setStatus(__('Creating a site profile', 'extendify-local'));
25 + setStatus(launchStrings().statusProfile);
26 26
27 27 const body = JSON.stringify({
28 28 ...reqDataBasics,
29 29 title: title || window.extSharedData.siteTitle,