| @@ -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 { AI_HOST } from '@constants'; |
| 9 | 10 | import { digest } from '@shared/api/digest'; |
| 10 | 11 | import { reqDataBasics } from '@shared/lib/data'; |
| 11 | -import { __ } from '@wordpress/i18n'; | |
| 12 | 12 | import { z } from 'zod'; |
| 13 | 13 | |
| 14 | 14 | const { pluginGroupId } = window.extSharedData; |
| 15 | 15 | const fallback = { sitePlugins: [] }; |
| @@ -27,9 +27,9 @@ | ||
| 27 | 27 | showStatus = true, |
| 28 | 28 | }) => { |
| 29 | 29 | if (showStatus) { |
| 30 | 30 | // translators: this is for a action log UI. Keep it short |
| 31 | - setStatus(__('Setting up site functionality', 'extendify-local')); | |
| 31 | + setStatus(launchStrings().statusPlugins); | |
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | const body = JSON.stringify({ |
| 35 | 35 | ...reqDataBasics, |