Browse Source

Quite la importacion del modulo de traduccion

ErnestoOrtiz2 2 years ago
parent
commit
9727de04c6
2 changed files with 3 additions and 3 deletions
  1. 1
    2
      App.js
  2. 2
    1
      locales/en.json

+ 1
- 2
App.js View File

@@ -2,12 +2,11 @@ import { StatusBar } from 'expo-status-bar';
2 2
 import React from 'react';
3 3
 import { StyleSheet, Text, View } from 'react-native';
4 4
 
5
-import { t } from './locales/index.js'
6 5
 
7 6
 export default function App() {
8 7
   return (
9 8
     <View style={styles.container}>
10
-      <Text>{t("Hola")}</Text>
9
+      <Text>"Hello"</Text>
11 10
       <StatusBar style="auto" />
12 11
     </View>
13 12
   );

+ 2
- 1
locales/en.json View File

@@ -1,3 +1,4 @@
1 1
 {
2
-    "Hola": "Hello"
2
+    "Hola": "Hello",
3
+    "Hello": "Hola"
3 4
 }