| @@ -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'); |