Internationalize remaining TODO-marked UI text in Expo app
This commit is contained in:
@@ -71,33 +71,33 @@ let MenuView = ({ navigation }) => {
|
||||
>
|
||||
<ProfileCardHorizontal profileObj={viewer} skipFollow={true} skiptOnPress={true} key={viewer._id} />
|
||||
<List.Accordion
|
||||
title="Change Active Profile"
|
||||
title={i18n.t("message.changeActiveProfile")}
|
||||
left={props => <List.Icon {...props} icon="published-with-changes" />}
|
||||
|
||||
>
|
||||
{profileLists}
|
||||
</List.Accordion>
|
||||
<List.Section title="User Actions">
|
||||
<List.Section title={i18n.t("message.userActions")}>
|
||||
<List.Item key='ProfileEditor' title={i18n.t('message.profile')} onPress={() => { navigation.navigate("ProfileSettings") }} left={props => <List.Icon {...props} icon="person" />} />
|
||||
<List.Item key='Settings' title={i18n.t('message.settings')} left={props => <List.Icon {...props} icon="settings" />} />
|
||||
<List.Item key="Logout" 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 key='Invite' title={i18n.t('message.invite')} onPress={() => { navigation.navigate("Invite") }} left={props => <List.Icon {...props} icon="person-add" />} />
|
||||
<List.Item key='About' title={i18n.t('message.about')} left={props => <List.Icon {...props} icon="more" />} />
|
||||
</List.Section>
|
||||
<View style={{ padding: 10 }}>
|
||||
<Text>App Language:</Text>
|
||||
<Text>{i18n.t("message.appLanguage")}:</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="da" label="Danish" />
|
||||
<RadioButton.Item value="fr" label="French" />
|
||||
<RadioButton.Item value="es" label={i18n.t("message.languageSpanish")} />
|
||||
<RadioButton.Item value="en" label={i18n.t("message.languageEnglish")} />
|
||||
<RadioButton.Item value="da" label={i18n.t("message.languageDanish")} />
|
||||
<RadioButton.Item value="fr" label={i18n.t("message.languageFrench")} />
|
||||
</RadioButton.Group>
|
||||
</View>
|
||||
<View style={{ padding: 10, alignContent: "center", flex: 1 }}>
|
||||
<Text>Version: {Updates.runtimeVersion}</Text>
|
||||
<Text>Channel: {Updates.Channel}</Text>
|
||||
<Text>{i18n.t("message.version")}: {Updates.runtimeVersion}</Text>
|
||||
<Text>{i18n.t("message.channel")}: {Updates.Channel}</Text>
|
||||
</View>
|
||||
</ImageBackground>
|
||||
</ScrollView>
|
||||
|
||||
Reference in New Issue
Block a user