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 { TextInput, Button } from 'react-native-paper';
import API from './../API.js';
import { useNavigation } from '@react-navigation/native';
import AwesomeIcon from 'react-native-vector-icons/FontAwesome';
import i18n from "../i18nMessages.js";
let NewComment = ({ postid, newComentAdded }) => {
@@ -13,7 +14,7 @@ let NewComment = ({ postid, newComentAdded }) => {
return (
<View style={styles.NewComment}>
<TextInput
label="New Comment"
label={i18n.t("message.newComment")}
value={commentContent}
onChangeText={setCommentContent}
mode="outlined"
@@ -55,4 +56,4 @@ const styles = StyleSheet.create({
flexDirection: "row",
flex: 6
}
});
});