diff --git a/components/CopyButton.tsx b/components/CopyButton.tsx index 1d4f97a915..5427aaa8ed 100644 --- a/components/CopyButton.tsx +++ b/components/CopyButton.tsx @@ -1,13 +1,13 @@ -import React, { useState } from 'react'; -import { Pressable } from 'react-native'; -import { Theme } from './ui/styleUtils'; +import React, {useState} from 'react'; +import {Pressable} from 'react-native'; +import {Theme} from './ui/styleUtils'; import Clipboard from '@react-native-clipboard/clipboard'; -import { Icon } from 'react-native-elements'; -import { Text } from './ui'; -import { useTranslation } from 'react-i18next'; +import {Icon} from 'react-native-elements'; +import {Text} from './ui'; +import {useTranslation} from 'react-i18next'; -export const CopyButton: React.FC = ({ content }) => { - const { t } = useTranslation('common'); +export const CopyButton: React.FC = ({content}) => { + const {t} = useTranslation('common'); const [buttonText, setButtonText] = useState(t('clipboard.copy')); return ( @@ -22,10 +22,12 @@ export const CopyButton: React.FC = ({ content }) => { type={'material'} name={'file-copy'} color={Theme.Colors.Icon} - style={{ marginRight: 2 }} + style={{marginRight: 2}} size={19} /> - {buttonText} + + {buttonText} + ); }; diff --git a/components/EditableListItem.tsx b/components/EditableListItem.tsx index 4a6443ee8a..54bf378fd3 100644 --- a/components/EditableListItem.tsx +++ b/components/EditableListItem.tsx @@ -37,7 +37,7 @@ export const EditableListItem: React.FC = props => { color={Theme.Colors.Icon} /> - + {props.title} diff --git a/components/MessageOverlay.tsx b/components/MessageOverlay.tsx index 92d375bae4..2f91480c2a 100644 --- a/components/MessageOverlay.tsx +++ b/components/MessageOverlay.tsx @@ -29,6 +29,7 @@ export const MessageOverlay: React.FC = props => { {props.title && ( = props => { raised={props.raised} title={ = props => { raised={props.raised} title={ ) => { onPress={() => selectItem(index)} key={index}> - + diff --git a/components/ui/themes/DefaultTheme.ts b/components/ui/themes/DefaultTheme.ts index ae38ddafeb..dce36e64d3 100644 --- a/components/ui/themes/DefaultTheme.ts +++ b/components/ui/themes/DefaultTheme.ts @@ -625,14 +625,14 @@ export const DefaultTheme = { fontFamily: 'Inter_700Bold', fontSize: 18, lineHeight: 19, - paddingTop: 4, + paddingTop: 5, }, subHeader: { color: Colors.mediumLightGrayText, fontFamily: 'Inter_600SemiBold', lineHeight: 19, fontSize: 13, - paddingTop: 3, + paddingTop: 4, }, semiBoldHeader: { color: Colors.Black, diff --git a/components/ui/themes/PurpleTheme.ts b/components/ui/themes/PurpleTheme.ts index a7bd7ed151..0938a8c47d 100644 --- a/components/ui/themes/PurpleTheme.ts +++ b/components/ui/themes/PurpleTheme.ts @@ -627,14 +627,14 @@ export const PurpleTheme = { fontFamily: 'Inter_700Bold', fontSize: 18, lineHeight: 19, - paddingTop: 4, + paddingTop: 5, }, subHeader: { color: Colors.mediumLightGrayText, fontFamily: 'Inter_600SemiBold', lineHeight: 19, fontSize: 13, - paddingTop: 3, + paddingTop: 4, }, semiBoldHeader: { color: Colors.Black, diff --git a/locales/kan.json b/locales/kan.json index 158d1471c1..01454fe612 100644 --- a/locales/kan.json +++ b/locales/kan.json @@ -348,8 +348,8 @@ } }, "MainLayout": { - "home": "ಲೇಔಟ್", - "scan": "ಮನೆ", + "home": "ಮನೆ", + "scan": "ಸ್ಕ್ಯಾನ್", "history": "ಇತಿಹಾಸ", "request": "ವಿನಂತಿ", "settings": "ಸೆಟ್ಟಿಂಗ್‌ಗಳು" diff --git a/screens/AuthScreen.tsx b/screens/AuthScreen.tsx index 1a30a9efb5..3630661a28 100644 --- a/screens/AuthScreen.tsx +++ b/screens/AuthScreen.tsx @@ -40,12 +40,14 @@ export const AuthScreen: React.FC = props => { {t('header')} diff --git a/screens/History/HistoryScreen.tsx b/screens/History/HistoryScreen.tsx index c00642d72a..c696d21e0b 100644 --- a/screens/History/HistoryScreen.tsx +++ b/screens/History/HistoryScreen.tsx @@ -1,15 +1,15 @@ import React from 'react'; -import { RefreshControl } from 'react-native'; -import { Icon } from 'react-native-elements'; -import { useTranslation } from 'react-i18next'; -import { Centered, Column, Text } from '../../components/ui'; -import { useHistoryTab } from './HistoryScreenController'; -import { ActivityLogText } from '../../components/ActivityLogText'; -import { MainRouteProps } from '../../routes/main'; -import { Theme } from '../../components/ui/styleUtils'; +import {RefreshControl} from 'react-native'; +import {Icon} from 'react-native-elements'; +import {useTranslation} from 'react-i18next'; +import {Centered, Column, Text} from '../../components/ui'; +import {useHistoryTab} from './HistoryScreenController'; +import {ActivityLogText} from '../../components/ActivityLogText'; +import {MainRouteProps} from '../../routes/main'; +import {Theme} from '../../components/ui/styleUtils'; export const HistoryScreen: React.FC = () => { - const { t } = useTranslation('HistoryScreen'); + const {t} = useTranslation('HistoryScreen'); const controller = useHistoryTab(); return ( @@ -23,7 +23,7 @@ export const HistoryScreen: React.FC = () => { onRefresh={controller.REFRESH} /> }> - {controller.activities.map((activity) => ( + {controller.activities.map(activity => ( = () => { {controller.activities.length === 0 && ( - + {t('noHistory')} diff --git a/screens/Home/IntroSlidersScreen.tsx b/screens/Home/IntroSlidersScreen.tsx index 297fa41bc6..644811a19a 100644 --- a/screens/Home/IntroSlidersScreen.tsx +++ b/screens/Home/IntroSlidersScreen.tsx @@ -91,11 +91,16 @@ export const IntroSlidersScreen: React.FC = props => { crossAlign="center" backgroundColor={Theme.Colors.whiteText} width={Dimensions.get('screen').width}> - + {item.title} @@ -115,6 +120,7 @@ export const IntroSlidersScreen: React.FC = props => { style={{borderRadius: 10, height: 50, marginTop: -10}}> = props => { style={{borderRadius: 10, height: 50, marginTop: -10}}> = props => { /> diff --git a/screens/Home/MyVcsTab.tsx b/screens/Home/MyVcsTab.tsx index 6ef2872214..e3282fc672 100644 --- a/screens/Home/MyVcsTab.tsx +++ b/screens/Home/MyVcsTab.tsx @@ -128,6 +128,7 @@ export const MyVcsTab: React.FC = props => { = props => { {t('bringYourDigitalID')} diff --git a/screens/PasscodeScreen.tsx b/screens/PasscodeScreen.tsx index 3cd62d54e3..985e1d8d12 100644 --- a/screens/PasscodeScreen.tsx +++ b/screens/PasscodeScreen.tsx @@ -68,11 +68,12 @@ export const PasscodeScreen: React.FC = props => { + style={{...Theme.TextStyles.header, paddingTop: 7}}> {t('header')} @@ -92,11 +93,12 @@ export const PasscodeScreen: React.FC = props => { + style={{...Theme.TextStyles.header, paddingTop: 7}}> {t('confirmPasscode')} @@ -126,6 +128,7 @@ export const PasscodeScreen: React.FC = props => { { function noShareableVcText() { return ( - + {t('noShareableVcs')} ); diff --git a/screens/Settings/AboutInji.tsx b/screens/Settings/AboutInji.tsx index a0bcd9042d..e33b239525 100644 --- a/screens/Settings/AboutInji.tsx +++ b/screens/Settings/AboutInji.tsx @@ -39,7 +39,7 @@ export const AboutInji: React.FC = ({appId}) => { style={{marginRight: 15}} /> - + {t('aboutInji')} @@ -57,18 +57,20 @@ export const AboutInji: React.FC = ({appId}) => { setShowAboutInji(!showAboutInji); }}> - + {t('appID')} : {appId} - + {t('aboutDetailes')} - + {t('forMoreDetailes')} = ({appId}) => { onPress={() => { aboutInjiUrl && Linking.openURL(aboutInjiUrl); }}> - + {t('clickHere')} @@ -89,13 +94,14 @@ export const AboutInji: React.FC = ({appId}) => { crossAlign="center" style={Theme.Styles.versionContainer}> {t('version')}: {__InjiVersion.getValue()} {__TuvaliVersion.getpackageVersion() != 'unknown' && ( { source={Theme.ReceivedCardsIcon} style={{marginLeft: 10, marginRight: 9}} /> - + {t('receivedCards')} diff --git a/screens/Settings/ReceivedCardsModal.tsx b/screens/Settings/ReceivedCardsModal.tsx index 0d1d34ea80..ae9d8be2b8 100644 --- a/screens/Settings/ReceivedCardsModal.tsx +++ b/screens/Settings/ReceivedCardsModal.tsx @@ -49,6 +49,7 @@ export const ReceivedCardsModal: React.FC = ({ /> @@ -56,6 +57,7 @@ export const ReceivedCardsModal: React.FC = ({ {t('noReceivedVcsText')} diff --git a/screens/Settings/SettingScreen.tsx b/screens/Settings/SettingScreen.tsx index 95bd789b5f..3cf2462d5a 100644 --- a/screens/Settings/SettingScreen.tsx +++ b/screens/Settings/SettingScreen.tsx @@ -32,7 +32,7 @@ const LanguageSetting: React.FC = () => { containerStyle={Theme.Styles.settingsIconBg} /> - + {t('language')} @@ -77,6 +77,7 @@ export const SettingScreen: React.FC< style={{display: Platform.OS !== 'ios' ? 'flex' : 'none'}} backgroundColor={Theme.Colors.lightGreyBackgroundColor}> - + {t('receiveCard')} @@ -105,6 +106,7 @@ export const SettingScreen: React.FC< {t('basicSettings')} @@ -131,7 +133,7 @@ export const SettingScreen: React.FC< style={{marginRight: 15}} /> - + {t('bioUnlock')} @@ -190,7 +192,7 @@ export const SettingScreen: React.FC< style={{marginRight: 15}} /> - + {t('injiTourGuide')} @@ -207,7 +209,7 @@ export const SettingScreen: React.FC< containerStyle={Theme.Styles.settingsIconBg} /> - + {t('logout')} diff --git a/screens/SetupLanguageScreen.tsx b/screens/SetupLanguageScreen.tsx index 0a6135c763..9d670bf9fb 100644 --- a/screens/SetupLanguageScreen.tsx +++ b/screens/SetupLanguageScreen.tsx @@ -47,10 +47,18 @@ export const SetupLanguageScreen: React.FC = props => { size={58} /> - + {t('header')} - + {t('description')}