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/state/launch-data.js +2 -5 3.1.63.2.1 View file →
@@ -10,11 +10,11 @@
10 10 getStringsShape,
11 11 getStyleShape,
12 12 } from '@auto-launch/fetchers/shape';
13 13 import { clearSiteImages } from '@auto-launch/functions/wp';
14 +import { launchStrings } from '@auto-launch/strings';
14 15 import { siteImageUrls } from '@shared/lib/site-images';
15 16 import { safeLocalStorage } from '@shared/state/safe-local-storage';
16 -import { __ } from '@wordpress/i18n';
17 17 import { create } from 'zustand';
18 18 import { createJSONStorage, devtools, persist } from 'zustand/middleware';
19 19 import { overrideWithUrlParams, urlParams, urlParamsShape } from './url-params';
20 20
@@ -27,9 +27,9 @@
27 27 const initialState = {
28 28 go: false,
29 29 showExtendifyCodeScreen: false,
30 30 // translators: this is for a action log UI. Keep it short
31 - statusMessages: [__('Booting things up', 'extendify-local')],
31 + statusMessages: [launchStrings().statusBooting],
32 32 errorMessage: null,
33 33 errorCount: 0,
34 34 title: null,
35 35 description: null,
@@ -63,10 +63,8 @@
63 63 title: undefined,
64 64 description: undefined,
65 65 descriptionBackup: undefined,
66 66 descriptionRaw: undefined,
67 - pulse: false,
68 - setPulse: (value) => set({ pulse: value }),
69 67 setData: (key, value) => {
70 68 if (!isValidKey(key)) return;
71 69 if (get()[key] === value) return; // avoid unnecessary updates
72 70 set({ [key]: value });
@@ -173,9 +171,8 @@
173 171 const {
174 172 statusMessages,
175 173 errorMessage,
176 174 errorCount,
177 - pulse,
178 175 description,
179 176 descriptionRaw,
180 177 title,
181 178 showExtendifyCodeScreen,