Localize app to German, implement auto-save to gallery, always-on camera stream, fix expo-media-library and expo-file-system deprecation/compile errors
This commit is contained in:
@@ -32,7 +32,7 @@ export default function HomeScreen({ onStart, onNavigateToAdmin, adminPassword =
|
||||
setPasswordModalVisible(false);
|
||||
onNavigateToAdmin();
|
||||
} else {
|
||||
setErrorText('Incorrect Password');
|
||||
setErrorText('Falsches Passwort');
|
||||
setEnteredPassword('');
|
||||
}
|
||||
};
|
||||
@@ -51,15 +51,15 @@ export default function HomeScreen({ onStart, onNavigateToAdmin, adminPassword =
|
||||
|
||||
<View style={styles.content}>
|
||||
<Text style={styles.logo}>SCHNAPPIX</Text>
|
||||
<Text style={styles.title}>Welcome to our celebration!</Text>
|
||||
<Text style={styles.title}>Willkommen zu unserer Feier!</Text>
|
||||
|
||||
<View style={styles.divider} />
|
||||
|
||||
<View style={styles.startButton}>
|
||||
<Text style={styles.startButtonText}>TAP ANYWHERE TO START</Text>
|
||||
<Text style={styles.startButtonText}>ZUM STARTEN ÜBERALL TIPPEN</Text>
|
||||
</View>
|
||||
|
||||
<Text style={styles.footer}>Take photos • Create a collage • Print instantly</Text>
|
||||
<Text style={styles.footer}>Fotos machen • Collage erstellen • Sofort drucken</Text>
|
||||
</View>
|
||||
|
||||
{/* Password Prompt Modal */}
|
||||
@@ -71,13 +71,13 @@ export default function HomeScreen({ onStart, onNavigateToAdmin, adminPassword =
|
||||
>
|
||||
<View style={styles.modalOverlay}>
|
||||
<View style={styles.modalContent}>
|
||||
<Text style={styles.modalTitle}>Admin Access</Text>
|
||||
<Text style={styles.modalSub}>Enter password to open settings</Text>
|
||||
<Text style={styles.modalTitle}>Admin-Zugang</Text>
|
||||
<Text style={styles.modalSub}>Passwort eingeben, um Einstellungen zu öffnen</Text>
|
||||
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
secureTextEntry
|
||||
placeholder="Enter password"
|
||||
placeholder="Passwort eingeben"
|
||||
placeholderTextColor={THEME.colors.textMuted}
|
||||
value={enteredPassword}
|
||||
onChangeText={setEnteredPassword}
|
||||
@@ -92,13 +92,13 @@ export default function HomeScreen({ onStart, onNavigateToAdmin, adminPassword =
|
||||
style={[styles.button, styles.cancelButton]}
|
||||
onPress={() => setPasswordModalVisible(false)}
|
||||
>
|
||||
<Text style={styles.buttonText}>Cancel</Text>
|
||||
<Text style={styles.buttonText}>Abbrechen</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity
|
||||
style={[styles.button, styles.confirmButton]}
|
||||
onPress={handlePasswordSubmit}
|
||||
>
|
||||
<Text style={styles.buttonText}>Open</Text>
|
||||
<Text style={styles.buttonText}>Öffnen</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user