Internationalize remaining TODO-marked UI text in Expo app

This commit is contained in:
Adolfo Reyna
2026-02-20 22:30:20 -05:00
parent a8d21d31f8
commit 06e620dbf6
16 changed files with 230 additions and 69 deletions

View File

@@ -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",}}