mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix strings detections and translates the entire "Notes" section
This commit is contained in:
parent
df66586602
commit
acfa949879
2 changed files with 67 additions and 7 deletions
|
|
@ -6766,13 +6766,13 @@ struct NotesSettingsView: View {
|
|||
var body: some View {
|
||||
Form {
|
||||
Section {
|
||||
Defaults.Toggle("Enable Notes", key: .enableNotes)
|
||||
Defaults.Toggle(String(localized: "Enable Notes"), key: .enableNotes)
|
||||
if Defaults[.enableNotes] {
|
||||
Defaults.Toggle("Enable Note Pinning", key: .enableNotePinning)
|
||||
Defaults.Toggle("Enable Note Search", key: .enableNoteSearch)
|
||||
Defaults.Toggle("Enable Color Filtering", key: .enableNoteColorFiltering)
|
||||
Defaults.Toggle("Enable Create from Clipboard", key: .enableCreateFromClipboard)
|
||||
Defaults.Toggle("Show Character Count", key: .enableNoteCharCount)
|
||||
Defaults.Toggle(String(localized: "Enable Note Pinning"), key: .enableNotePinning)
|
||||
Defaults.Toggle(String(localized: "Enable Note Search"), key: .enableNoteSearch)
|
||||
Defaults.Toggle(String(localized: "Enable Color Filtering"), key: .enableNoteColorFiltering)
|
||||
Defaults.Toggle(String(localized: "Enable Create from Clipboard"), key: .enableCreateFromClipboard)
|
||||
Defaults.Toggle(String(localized: "Show Character Count"), key: .enableNoteCharCount)
|
||||
}
|
||||
} header: {
|
||||
Text("General")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue