equipment profiles: translate the new strings into all 11 locales

The merge request added 18 user-facing strings and no locale entries, so
every non-English profile would have rendered the equipment card, picker
banner and routine warning in English. Terminology follows each pack's
existing 'Equipment' key (Geräte / Equipo / Attrezzi / Sprzęt / Инвентарь …).

Also replaces the literal \u2019 escape in the Settings footer with the
character itself — the locale key has to match the string as it is written.
This commit is contained in:
Duarte Santos committed 2026-08-25 14:06:40 +02:00
1 parent 5a1f1d673f
commit 6eabeda89b
12 files changed
+232 -12

No files matched your search

+1 -1
View File
@@ -344,7 +344,7 @@ function EquipmentCard({ S, update }) {
if (s.activeEquipId === p.id) s.activeEquipId = (s.equipProfiles[0] && s.equipProfiles[0].id) || null
}),
})
return <Section title={t('Equipment')} footer={t('Filters the exercise library and picker, and flags routine exercises that need something you don\u2019t have in the active profile.')}>
return <Section title={t('Equipment')} footer={t('Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.')}>
{profiles.length > 0 && <Row icon="dumbbell" iconTint="var(--acc)" title={t('Filter by equipment')}>
<Switch checked={!!S.equipFilterOn} onChange={v => update(s => { s.equipFilterOn = v })} />
</Row>}