Internationalize remaining TODO-marked UI text in Expo app
This commit is contained in:
@@ -4,6 +4,7 @@ import { StyleSheet, SafeAreaView, FlatList, View, ActivityIndicator } from 'rea
|
||||
import API from "../API";
|
||||
import GroupCard from "../components/GroupCard";
|
||||
import AsyncStorage from '@react-native-async-storage/async-storage';
|
||||
import i18n from "../i18nMessages.js";
|
||||
|
||||
const GROUPS_CACHE_KEY = 'groups_following';
|
||||
|
||||
@@ -113,7 +114,7 @@ const Groups = ({navigation}) => {
|
||||
}} />
|
||||
</View> :
|
||||
<Searchbar
|
||||
placeholder="Search Groups"
|
||||
placeholder={i18n.t("message.searchGroups")}
|
||||
onChangeText={onChangeSearch}
|
||||
value={searchQuery}
|
||||
clearButtonMode="while-editing"
|
||||
@@ -125,7 +126,7 @@ const Groups = ({navigation}) => {
|
||||
/>
|
||||
}
|
||||
</View>
|
||||
<Title style={styles.title} >{searchQuery ? "Results:" : "Your Groups:"}</Title>
|
||||
<Title style={styles.title} >{searchQuery ? i18n.t("message.results") : i18n.t("message.yourGroups")}</Title>
|
||||
</>
|
||||
}
|
||||
style={{backgroundColor: "#edf2f7",}}
|
||||
|
||||
Reference in New Issue
Block a user