Match Mac and iOS Miniflux view string comments.

This commit is contained in:
Brent Simmons committed 2026-11-25 10:36:11 -08:00
1 parent 4ea99ea31b
commit 6bb323b629
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@
}
},
"Authentication" : {
"comment" : "Miniflux authentication mode"
"comment" : "Authentication"
},
"Author‘s website:" : {
"comment" : "Author's Website"
+4 -4
View File
@@ -30,12 +30,12 @@ struct MinifluxAccountView: View {
var body: some View {
AccountSetupSheet(accountType: .miniflux, isWorking: isValidating) {
Section {
Picker(NSLocalizedString("Authentication", comment: "Miniflux authentication mode"), selection: $usesAPIToken) {
Text(NSLocalizedString("Username and Password", comment: "Miniflux authentication mode")).tag(false)
Text(NSLocalizedString("API Token", comment: "Miniflux authentication mode")).tag(true)
Picker(NSLocalizedString("Authentication", comment: "Authentication"), selection: $usesAPIToken) {
Text(NSLocalizedString("Username and Password", comment: "Username and Password")).tag(false)
Text(NSLocalizedString("API Token", comment: "API Token")).tag(true)
}
if usesAPIToken {
SecureField(NSLocalizedString("API Token", comment: "Miniflux API token"), text: $apiToken)
SecureField(NSLocalizedString("API Token", comment: "API Token"), text: $apiToken)
} else {
TextField(NSLocalizedString("Username", comment: "Username"), text: $username)
.textContentType(.username)