Internationalize remaining TODO-marked UI text in Expo app
This commit is contained in:
@@ -43,23 +43,23 @@ let MenuView = ({ navigation }) => {
|
||||
style={{ paddingTop: 10 }}
|
||||
imageStyle={{ resizeMode: "contain", opacity: 0.05 }}
|
||||
>
|
||||
<List.Section title="Current Profile">
|
||||
<List.Section title={i18n.t("message.currentProfile")}>
|
||||
<ProfileCardHorizontal profileObj={viewer} skipFollow={true} skiptOnPress={true} />
|
||||
</List.Section>
|
||||
<List.Section title="User Actions">
|
||||
<List.Section title={i18n.t("message.userActions")}>
|
||||
<List.Item title={i18n.t('message.profile')} onPress={() => { navigation.navigate("ProfileSettings") }} left={props => <List.Icon {...props} icon="person" />} />
|
||||
<List.Item title={i18n.t('message.settings')} left={props => <List.Icon {...props} icon="settings" />} />
|
||||
<List.Item title={i18n.t('message.logout')} onPress={() => { navigation.navigate("Logout") }} left={props => <List.Icon {...props} icon="logout" />} />
|
||||
</List.Section>
|
||||
<List.Section title="Fellowship App">
|
||||
<List.Section title={i18n.t("message.fellowshipApp")}>
|
||||
<List.Item title={i18n.t('message.invite')} onPress={() => { navigation.navigate("Invite") }} left={props => <List.Icon {...props} icon="person-add" />} />
|
||||
<List.Item title={i18n.t('message.about')} left={props => <List.Icon {...props} icon="more" />} />
|
||||
</List.Section>
|
||||
<View style={{ padding: 10 }}>
|
||||
<Text>Language:</Text>
|
||||
<Text>{i18n.t("message.language")}:</Text>
|
||||
<RadioButton.Group onValueChange={newValue => changeLang(newValue)} value={value}>
|
||||
<RadioButton.Item value="es" label="Español" />
|
||||
<RadioButton.Item value="en" label="English" />
|
||||
<RadioButton.Item value="es" label={i18n.t("message.languageSpanish")} />
|
||||
<RadioButton.Item value="en" label={i18n.t("message.languageEnglish")} />
|
||||
</RadioButton.Group>
|
||||
</View>
|
||||
</ImageBackground>
|
||||
@@ -67,4 +67,4 @@ let MenuView = ({ navigation }) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default MenuView;
|
||||
export default MenuView;
|
||||
|
||||
Reference in New Issue
Block a user