Feature modules: a feature ported from a plugin keeps that plugin's words (words), so nothing is retranslated; the keep-my-changes question takes its own line
This commit is contained in:
parent
1f95d27018
commit
6d3f91bf2e
3 changed files with 27 additions and 6 deletions
|
|
@ -137,7 +137,7 @@ function ModeSettingsOf({ table, notify }: { table: FeatureTable; notify: Notify
|
|||
return <Section title={t('wb.modes.section')} hint={t('wb.modes.sectionHint')} id="modes">
|
||||
{table.modes.map(mode => {
|
||||
const current = state.mode === mode.id;
|
||||
return <Row key={mode.id} label={name(mode.id)} hint={tx(mode.description, undefined, '')} keywords={`mode preset ${mode.id}`}
|
||||
return <Row key={mode.id} label={name(mode.id)} hint={tx(mode.description, undefined, '')} keywords={`mode preset ${mode.id}`} wide={asking?.to === mode.id}
|
||||
badge={<>{current && <Badge tone="accent">{t('wb.modes.current')}</Badge>}{mode.recommended && <Badge>{t('wb.modes.recommended')}</Badge>}</>}>
|
||||
{asking?.to === mode.id
|
||||
? <span className="wbf-ask" role="alertdialog">{t('wb.modes.keepQuestion')} <small>{t('wb.modes.keepHint', { count: asking.changes })}</small>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue