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/Agent/workflows/theme/update-logo.js +18 -0 3.0.5 → 3.2.2 View file →
@@ -1,5 +1,6 @@
1 1 import { UpdateLogoConfirm } from '@agent/workflows/theme/components/UpdateLogoConfirm';
2 +import { __ } from '@wordpress/i18n';
2 3
3 4 const { abilities } = window.extAgentData;
4 5
5 6 export default {
@@ -6,6 +7,23 @@
6 7 available: () => abilities?.canEditSettings && abilities?.canUploadMedia,
7 8 id: 'update-logo',
8 9 whenFinished: {
9 10 component: UpdateLogoConfirm,
11 + },
12 + example: {
13 + text: __('Change website logo', 'extendify-local'),
14 + agentResponse: {
15 + // translators: This message shows above a UI where the user can upload or replace their site logo.
16 + reply: __(
17 + 'Below you can upload or replace your website logo.',
18 + 'extendify-local',
19 + ),
20 + whenFinishedTool: {
21 + id: 'update-logo',
22 + labels: {
23 + confirm: __('Updated the site logo', 'extendify-local'),
24 + cancel: __('Canceled the site logo update', 'extendify-local'),
25 + },
26 + },
27 + },
10 28 },
11 29 };