| 1 |
import { designWorkflows } from '@agent/follow-ups/design-workflows'; |
| 2 |
import { __ } from '@wordpress/i18n'; |
| 3 |
|
| 4 |
export default { |
| 5 |
id: 'change-site-title', |
| 6 |
follows: designWorkflows, |
| 7 |
order: 7, |
| 8 |
// translators: Title of a card in the AI Agent chat, suggesting the user review their website title. |
| 9 |
title: __('Check your website title', 'extendify-local'), |
| 10 |
// translators: Body of a card in the AI Agent chat, explaining where the website title appears. |
| 11 |
body: __( |
| 12 |
'Your title shows in browser tabs and search results. Make sure it says what your site is about.', |
| 13 |
'extendify-local', |
| 14 |
), |
| 15 |
action: { |
| 16 |
// translators: Button on a card in the AI Agent chat that starts changing the website title. |
| 17 |
label: __('Change title', 'extendify-local'), |
| 18 |
workflowId: 'edit-wp-setting', |
| 19 |
}, |
| 20 |
score: ({ abilities }) => (abilities?.canEditSettings ? 2 : 0), |
| 21 |
}; |
| 22 |
|