PluginProbe
Extendify / 3.2.2
Extendify v3.2.2
3.2.2 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 All 128 releases
← All changes | src/AutoLaunch/functions/pages.js +3 -2 3.1.6 → 3.2.2 View file →
@@ -1,11 +1,12 @@
1 1 import { importImage, updateOption } from '@auto-launch/functions/wp';
2 +import { launchStrings } from '@auto-launch/strings';
2 3 import { PATTERNS_HOST } from '@constants';
3 4 import { reqDataBasics } from '@shared/lib/data';
4 5 import { pageNames } from '@shared/lib/pages';
5 6 import apiFetch from '@wordpress/api-fetch';
6 7 import { createBlock, parse, serialize } from '@wordpress/blocks';
7 -import { __, sprintf } from '@wordpress/i18n';
8 +import { __ } from '@wordpress/i18n';
8 9 import { setStatus } from './helpers';
9 10
10 11 // Slugs that plugins own — skip creating design-build pages for these.
11 12 export const PLUGIN_OWNED_PAGES = [
@@ -142,9 +143,9 @@
142 143 for (const page of pagesRaw) {
143 144 const content = [];
144 145 const seenPatternTypes = new Set();
145 146
146 - setStatus(sprintf(__('Adding page: %s', 'extendify-local'), page.name));
147 + setStatus(launchStrings().statusAddingPage(page.name));
147 148
148 149 for (const [_, pattern] of page.patterns.entries()) {
149 150 const code = pattern.code;
150 151 const slug = sectionSlug(pattern);