Browse Source

Merge branch 'devErnesto'

ErnestoOrtiz2 3 years ago
parent
commit
fe21fdc184
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
 import React from 'react';
2
 import React from 'react';
3
 import { StyleSheet, Text, View } from 'react-native';
3
 import { StyleSheet, Text, View } from 'react-native';
4
 
4
 
5
-import { t } from './locales/index.js'
6
 
5
 
7
 export default function App() {
6
 export default function App() {
8
   return (
7
   return (
9
     <View style={styles.container}>
8
     <View style={styles.container}>
10
-      <Text>{t("Hola")}</Text>
9
+      <Text>"Hello"</Text>
11
       <StatusBar style="auto" />
10
       <StatusBar style="auto" />
12
     </View>
11
     </View>
13
   );
12
   );

+ 2
- 1
locales/en.json View File

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