Skip to content

Commit

Permalink
Unified language names
Browse files Browse the repository at this point in the history
This should now show the native language and english translation
  • Loading branch information
supergeorg committed Jun 9, 2023
1 parent 39fbaae commit 30911b2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Shared/Views/Settings/SettingsAppView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ struct SettingsAppView: View {
Form {
Picker(selection: $localizationKey, label: Label(LocalizedStringKey("str.settings.appLanguage"), systemImage: "flag").foregroundColor(.primary), content: {
Text("🇬🇧 English").tag("en")
Text("🇩🇪 Deutsch").tag("de")
Text("🇫🇷 Français").tag("fr-FR")
Text("🇳🇱 Dutch").tag("nl")
Text("🇵🇱 Polska").tag("pl")
Text("🇨🇿 Czech").tag("cs")
Text("🇮🇹 Italian").tag("it")
Text("🇩🇪 Deutsch (German)").tag("de")
Text("🇫🇷 Français (French)").tag("fr-FR")
Text("🇳🇱 Nederlands (Dutch)").tag("nl")
Text("🇵🇱 Polska (Polish)").tag("pl")
Text("🇨🇿 Česky (Czech)").tag("cs")
Text("🇮🇹 Italiano (Italian)").tag("it")
Text("🇨🇳 汉文 (Chinese Simplified)").tag("zh_Hans")
if devMode {
Text("🇩🇰 Danish").tag("da")
Text("🇳🇴 Norwegian Bokmål").tag("nb")
Text("🇭🇺 Hungarian").tag("hu")
Text("🇨🇳 Chinese (Simplified)").tag("zh_Hans")
Text("🇹🇼 Chinese (Traditional)").tag("zh_Hant")
Text("🇩🇰 Dansk (Danish)").tag("da")
Text("🇳🇴 Norsk (Norwegian Bokmål)").tag("nb")
Text("🇭🇺 Magyar (Hungarian)").tag("hu")
Text("🇹🇼 漢文 (Chinese Traditional)").tag("zh_Hant")
}
})
MyDoubleStepper(amount: $timeoutInterval, description: "str.settings.serverTimeoutInterval", minAmount: 1.0, maxAmount: 1000.0, amountStep: 1.0, amountName: "s", systemImage: MySymbols.timeout)
Expand Down

0 comments on commit 30911b2

Please sign in to comment.