diff options
Diffstat (limited to 'src/view/com/auth/create/StepHeader.tsx')
-rw-r--r-- | src/view/com/auth/create/StepHeader.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/com/auth/create/StepHeader.tsx b/src/view/com/auth/create/StepHeader.tsx index 4b4eb5d23..41f912051 100644 --- a/src/view/com/auth/create/StepHeader.tsx +++ b/src/view/com/auth/create/StepHeader.tsx @@ -2,13 +2,18 @@ import React from 'react' import {StyleSheet, View} from 'react-native' import {Text} from 'view/com/util/text/Text' import {usePalette} from 'lib/hooks/usePalette' +import {Trans} from '@lingui/macro' export function StepHeader({step, title}: {step: string; title: string}) { const pal = usePalette('default') return ( <View style={styles.container}> <Text type="lg" style={[pal.textLight]}> - {step === '3' ? 'Last step!' : <>Step {step} of 3</>} + {step === '3' ? ( + <Trans>Last step!</Trans> + ) : ( + <Trans>Step {step} of 3</Trans> + )} </Text> <Text style={[pal.text]} type="title-xl"> {title} |