| @@ -4,12 +4,12 @@ | ||
| 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 { PATTERNS_HOST } from '@constants'; |
| 9 | 10 | import { reqDataBasics } from '@shared/lib/data'; |
| 10 | 11 | import { siteImageUrls } from '@shared/lib/site-images'; |
| 11 | -import { __ } from '@wordpress/i18n'; | |
| 12 | 12 | import { z } from 'zod'; |
| 13 | 13 | |
| 14 | 14 | const url = `${PATTERNS_HOST}/api/page-templates`; |
| 15 | 15 | const method = 'POST'; |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | return { pages: [] }; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | // translators: this is for a action log UI. Keep it short |
| 34 | - setStatus(__('Preparing your pages', 'extendify-local')); | |
| 34 | + setStatus(launchStrings().statusPages); | |
| 35 | 35 | |
| 36 | 36 | const body = JSON.stringify({ |
| 37 | 37 | ...reqDataBasics, |
| 38 | 38 | siteProfile, |