some header localisation added

This commit is contained in:
Kashif Shehzad Baloch 2024-01-04 16:45:52 +05:00
parent b6fad0b435
commit 8c829be3df
7 changed files with 17 additions and 9 deletions

View File

@ -146,4 +146,6 @@ export const de = {
OrderDetails: 'Bestelgegevens',
Subtotal: 'Subtotaal',
Assigntome: 'Toewijzen aan mij',
'About Us': 'Over Ons',
'Product Page': 'Product Pagina',
}

View File

@ -145,4 +145,6 @@ export const en = {
OrderDetails: 'Order Details',
Subtotal: 'Subtotal',
Assigntome: 'Assign to me',
'About Us': 'About Us',
'Product Page': 'Product Page'
}

View File

@ -146,5 +146,6 @@ export const fr = {
OrderDetails: 'Détails de la commande',
Subtotal: 'Sous-total',
Assigntome: 'Attribuer à moi',
'About Us': 'À Propos de Nous',
'Product Page': 'Page Produit',
}

View File

@ -143,5 +143,6 @@ export const km = {
OrderDetails: 'ព័ត៌មានការបញ្ជាទិញ',
Subtotal: 'សរុបរង',
Assigntome: 'ផ្ដល់ទៅខ្លួនឯង',
'About Us': 'អំពីយើង',
'Product Page': 'ទំព័រផលិតផល',
}

View File

@ -139,5 +139,6 @@ export const zh = {
OrderDetails: '订单详情',
Subtotal: '小计',
Assigntome: '分配给我',
'About Us': '关于我们',
'Product Page': '产品页面',
}

View File

@ -10,17 +10,17 @@ import styles from './styles'
const links = [
{
title: i18n.t('ProductPage'),
title: 'Product Page',
url:
'https://enatega.com/enatega-single-vendor/'
},
{ title: i18n.t('Docs'), url: 'https://enatega.com/docs/enatega-singlevendor-rider-app-introduction/' },
{ title: 'Docs', url: 'https://enatega.com/docs/enatega-singlevendor-rider-app-introduction/' },
{
title: i18n.t('Blog'),
title: 'Blog',
url:
'https://enatega.com/blog/'
},
{ title: i18n.t('AboutUs'), url: 'https://ninjascode.com/our-team/' }
{ title: 'About Us', url: 'https://ninjascode.com/our-team/' }
]
function Help() {
const navigation = useNavigation()
@ -42,7 +42,7 @@ function Help() {
style={styles.itemContainer}
key={index}>
<TextDefault textColor={colors.fontMainColor} H4>
{title}
{i18n.t(title)}
</TextDefault>
<AntDesign name="arrowright" size={scale(20)} />
</TouchableOpacity>

View File

@ -2,6 +2,7 @@ import { useNavigation, useRoute } from '@react-navigation/native'
import React, { useLayoutEffect } from 'react'
import { WebView } from 'react-native-webview'
import { MainWrapper, Spinner } from '../../components'
import i18n from '../../../i18n'
function HelpBrowser() {
const navigation = useNavigation()
@ -11,7 +12,7 @@ function HelpBrowser() {
useLayoutEffect(() => {
navigation.setOptions({
headerRight: null,
headerTitle: title
headerTitle: i18n.t(title)
})
}, [navigation])