Skip to content

Commit

Permalink
add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Aug 26, 2023
1 parent 9b47291 commit c787a4b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@
"zapSoon": "Zaps werden bald hinzugefügt...",
"enutsPub": "eNuts: ",
"seeFullHistory": "Gesamter Transaktionsverlauf",
"hideLatestTxs": "Aktuellste Transaktionen verbergen"
"hideLatestTxs": "Aktuellste Transaktionen verbergen",
"hiddenTxs": "Transaktionen verborgen",
"next": "Weiter"
},
"error": {
"addAllMintIdsErr": "Fehler beim Abrufen der Schlüsselsatz-IDs von Mint",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@
"zapSoon": "Zaps will be added soon...",
"enutsPub": "eNuts public key: ",
"seeFullHistory": "See full transaction history",
"hideLatestTxs": "Hide your latest transactions"
"hideLatestTxs": "Hide your latest transactions",
"hiddenTxs": "Latest transactions hidden",
"next": "Next"
},
"error": {
"addAllMintIdsErr": "Error while getting keyset ids from mint",
Expand Down
4 changes: 3 additions & 1 deletion assets/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@
"emptyMint": "Mint ne dispose pas de fonds.",
"zapSoon": "Les zaps seront bientôt ajoutés...",
"enutsPub": "eNuts clé public: ",
"seeFullHistory": "Gesamter Transaktionsverlauf"
"seeFullHistory": "Gesamter Transaktionsverlauf",
"hiddenTxs": "Dernières transactions masquées",
"next": "Suivant"
},
"error": {
"addAllMintIdsErr": "Erreur lors de l'obtention de l'ensemble de clés de la mint",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function Balance({ balance, nav }: IBalanceProps) {
}
{hidden.txs &&
<Txt
txt='Latest transactions hidden'
txt={t('hiddenTxs')}
styles={[globals(color).pressTxt, { color: mainColors.WHITE, marginVertical: 50 }]}
/>
}
Expand Down
4 changes: 3 additions & 1 deletion src/screens/Onboarding.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import Logo from '@comps/Logo'
import type { TOnboardingPageProps } from '@model/nav'
import { NS } from '@src/i18n'
import { H_Colors } from '@styles/colors'
import { useTranslation } from 'react-i18next'
import { Image, StyleSheet } from 'react-native'
import Onboarding from 'react-native-onboarding-swiper'

export default function OnboardingScreen({ navigation }: TOnboardingPageProps) {
const { t } = useTranslation()
const { t } = useTranslation([NS.common])
return (
<Onboarding
showSkip={false}
Expand Down Expand Up @@ -36,6 +37,7 @@ export default function OnboardingScreen({ navigation }: TOnboardingPageProps) {
transitionAnimationDuration={250}
titleStyles={styles.title}
subTitleStyles={styles.subTitle}
nextLabel={t('next')}
/>
)
}
Expand Down

0 comments on commit c787a4b

Please sign in to comment.