PluginProbe
Extendify / 3.2.1
Extendify v3.2.1
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-strings.js +2 -2 3.1.23.2.1 View file →
@@ -4,11 +4,11 @@
4 4 fetchWithTimeout,
5 5 retryTwice,
6 6 setStatus,
7 7 } from '@auto-launch/functions/helpers';
8 +import { launchStrings } from '@auto-launch/strings';
8 9 import { AI_HOST } from '@constants';
9 10 import { reqDataBasics } from '@shared/lib/data';
10 -import { __ } from '@wordpress/i18n';
11 11
12 12 const fallback = { aiHeaders: [], aiBlogTitles: [], heroDescription: '' };
13 13 const url = `${AI_HOST}/api/site-strings`;
14 14 const method = 'POST';
@@ -15,9 +15,9 @@
15 15 const headers = { 'Content-Type': 'application/json' };
16 16
17 17 export const handleSiteStrings = async ({ siteProfile }) => {
18 18 // translators: this is for a action log UI. Keep it short
19 - setStatus(__('Generating site content ideas', 'extendify-local'));
19 + setStatus(launchStrings().statusIdeas);
20 20
21 21 const body = JSON.stringify({ ...reqDataBasics, siteProfile });
22 22
23 23 const response = await retryTwice(() =>