diff --git a/src/components/common/theme-demo.stories.tsx b/src/components/common/theme-demo.stories.tsx index 732ff808..bbe15bd0 100644 --- a/src/components/common/theme-demo.stories.tsx +++ b/src/components/common/theme-demo.stories.tsx @@ -5,32 +5,32 @@ import { LoadingSpinner } from './loading-spinner'; import { EmptyState } from './empty-state'; function ThemeDemoComponent() { - const { t, i18n } = useTranslation(); + const { t, i18n } = useTranslation(['common', 'wallet', 'transaction']); return (
{t('common.loading')}
+{t('loading')}
{t('transaction.send')}
-{t('transaction.pending')}
+{t('transaction:send')}
+{t('transaction:pending')}
{t('security.password')}
+{t('password')}
{t('security.mnemonic')}
-{t('security.copyMnemonic')}
+{t('mnemonic')}
+{t('copyMnemonic')}
{t('a11y.passwordStrength', { strength: config.label })}
{t(currentSlideData.descriptionKey)}
+{currentSlideData.description}
{/* Dots indicator */}{t('home:welcome.subtitle')}
+{t('welcome.subtitle')}
{t('onboarding:create.backupHint')}
+{t('create.backupHint')}
{t('onboarding:create.verifyDesc')}
+{t('create.verifyDesc')}
{t('onboarding:chainSelector.subtitle')}
+{t('chainSelector.subtitle')}
{t('wallet:empty')}
-{t('wallet:emptyHint')}
+{t('empty')}
+{t('emptyHint')}