| @@ -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, |