File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import React, { useEffect } from 'react';
33import { View } from 'react-native' ;
44import { WebView } from 'react-native-webview' ;
55
6+ import { translate } from '@/core' ;
67import { Text } from '@/ui' ;
78
89export default function WWW ( ) {
@@ -21,7 +22,9 @@ export default function WWW() {
2122 if ( ! url || typeof url !== 'string' ) {
2223 return (
2324 < View className = "flex-1 items-center justify-center bg-white" >
24- < Text className = "text-lg text-red-500" > Invalid URL</ Text >
25+ < Text className = "text-lg text-red-500" >
26+ { translate ( 'www.invalidUrl' ) }
27+ </ Text >
2528 </ View >
2629 ) ;
2730 }
Original file line number Diff line number Diff line change 5353 "version" : " Version" ,
5454 "website" : " Website"
5555 },
56- "welcome" : " Welcome to rootstrap app site"
56+ "welcome" : " Welcome to rootstrap app site" ,
57+ "www" : {
58+ "invalidUrl" : " Invalid Url"
59+ }
5760}
You can’t perform that action at this time.
0 commit comments