feat: full Chinese (zh-Hans) localization — i18n all hardcoded strings, zh-CN download page
Some checks failed
Daily Product Intelligence / report (push) Has been cancelled
Play Store Review Triage / triage (push) Has been cancelled
Sentry noise-gate report / report (push) Has been cancelled

This commit is contained in:
xieyao
2026-09-09 04:05:43 +08:00
parent 646f9cbf77
commit f0185cbd23
10 changed files with 77 additions and 33 deletions

View File

@@ -233,7 +233,7 @@ export default function EditConnectionScreen() {
<Text style={[styles.label, isDark && styles.labelDark]}>{t("connection.shared.serverUrl")}</Text>
<TextInput
style={[styles.input, isDark && styles.inputDark]}
placeholder="http://192.168.1.100:4096"
placeholder={t("connection.edit.urlPlaceholder")}
placeholderTextColor={isDark ? "#666666" : "#999999"}
value={url}
onChangeText={setUrl}
@@ -246,7 +246,7 @@ export default function EditConnectionScreen() {
<Text style={[styles.label, isDark && styles.labelDark]}>{t("connection.shared.directoryOptional")}</Text>
<TextInput
style={[styles.input, isDark && styles.inputDark]}
placeholder="/path/to/project"
placeholder={t("connection.add.quick.directoryPlaceholder")}
placeholderTextColor={isDark ? "#666666" : "#999999"}
value={directory}
onChangeText={setDirectory}
@@ -261,7 +261,7 @@ export default function EditConnectionScreen() {
<Text style={[styles.label, isDark && styles.labelDark]}>{t("connection.shared.username")}</Text>
<TextInput
style={[styles.input, isDark && styles.inputDark]}
placeholder="admin"
placeholder={t("connection.add.quick.usernamePlaceholder")}
placeholderTextColor={isDark ? "#666666" : "#999999"}
value={username}
onChangeText={setUsername}