mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 01:40:22 +00:00
Match Mac and iOS Miniflux view string comments.
This commit is contained in:
1 parent
4ea99ea31b
commit
6bb323b629
2 files changed
+5
-5
No files matched your search
@@ -262,7 +262,7 @@
|
||||
}
|
||||
},
|
||||
"Authentication" : {
|
||||
"comment" : "Miniflux authentication mode"
|
||||
"comment" : "Authentication"
|
||||
},
|
||||
"Author‘s website:" : {
|
||||
"comment" : "Author's Website"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user