mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Corrects some String detection for pickers
This commit is contained in:
parent
c76224a39d
commit
69d00d2f7a
4 changed files with 171 additions and 15 deletions
|
|
@ -1398,6 +1398,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"±10 Seconds" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "±10 Segundos"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"0" : {
|
"0" : {
|
||||||
"comment" : "A label displayed in a circular gauge to indicate the minimum battery level.",
|
"comment" : "A label displayed in a circular gauge to indicate the minimum battery level.",
|
||||||
"isCommentAutoGenerated" : true,
|
"isCommentAutoGenerated" : true,
|
||||||
|
|
@ -7507,6 +7517,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Denied" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Negado"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Denied/Revoked" : {
|
"Denied/Revoked" : {
|
||||||
"comment" : "A label describing an extension with denied or revoked permissions.",
|
"comment" : "A label describing an extension with denied or revoked permissions.",
|
||||||
"isCommentAutoGenerated" : true,
|
"isCommentAutoGenerated" : true,
|
||||||
|
|
@ -7573,6 +7593,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Digital" : {
|
||||||
|
"shouldTranslate" : false
|
||||||
|
},
|
||||||
"Dimensions" : {
|
"Dimensions" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"pt-BR" : {
|
"pt-BR" : {
|
||||||
|
|
@ -9264,6 +9287,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Event color" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Cor do evento"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Event List" : {
|
"Event List" : {
|
||||||
"comment" : "A section header in the calendar settings view, describing the list of calendar events.",
|
"comment" : "A section header in the calendar settings view, describing the list of calendar events.",
|
||||||
"isCommentAutoGenerated" : true,
|
"isCommentAutoGenerated" : true,
|
||||||
|
|
@ -9757,6 +9790,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Full Access" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Acesso Total"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Fully charged" : {
|
"Fully charged" : {
|
||||||
"comment" : "Charging fallback label when already charged",
|
"comment" : "Charging fallback label when already charged",
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
|
|
@ -14030,6 +14073,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Minutes" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Minutos"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Mirror" : {
|
"Mirror" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"ar" : {
|
"ar" : {
|
||||||
|
|
@ -15648,6 +15701,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Not Determined" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Não Determinado"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Not Now" : {
|
"Not Now" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"ar" : {
|
"ar" : {
|
||||||
|
|
@ -17920,6 +17983,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Restricted" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Restrito"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Resume" : {
|
"Resume" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"fr" : {
|
"fr" : {
|
||||||
|
|
@ -17998,6 +18071,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Ring" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Círculo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Sampling can continue while the notch is closed when the timeout is disabled." : {
|
"Sampling can continue while the notch is closed when the timeout is disabled." : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"pt-BR" : {
|
"pt-BR" : {
|
||||||
|
|
@ -19435,6 +19518,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Skip forward or backward by ten seconds" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Pular dez segundos para frente ou para trás"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Slider color" : {
|
"Slider color" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"ar" : {
|
"ar" : {
|
||||||
|
|
@ -20111,6 +20204,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Standard previous/next track controls" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Controles anterior/próxima padrão "
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Start" : {
|
"Start" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"fr" : {
|
"fr" : {
|
||||||
|
|
@ -21309,6 +21412,16 @@
|
||||||
},
|
},
|
||||||
"shouldTranslate" : false
|
"shouldTranslate" : false
|
||||||
},
|
},
|
||||||
|
"Track Skip" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Pular Música"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"trackpad" : {
|
"trackpad" : {
|
||||||
"shouldTranslate" : false
|
"shouldTranslate" : false
|
||||||
},
|
},
|
||||||
|
|
@ -21496,6 +21609,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Unknown" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Desconhecido"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Unlock advanced features and improve your experience. Upgrade now for more customizations!" : {
|
"Unlock advanced features and improve your experience. Upgrade now for more customizations!" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"ar" : {
|
"ar" : {
|
||||||
|
|
@ -22748,6 +22871,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"White" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Branco"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"Widget Updates" : {
|
"Widget Updates" : {
|
||||||
"comment" : "A label describing the number of times the extension has updated its widget.",
|
"comment" : "A label describing the number of times the extension has updated its widget.",
|
||||||
"isCommentAutoGenerated" : true,
|
"isCommentAutoGenerated" : true,
|
||||||
|
|
@ -22798,6 +22931,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Write Only" : {
|
||||||
|
"localizations" : {
|
||||||
|
"pt-BR" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apenas Escrita"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"You" : {
|
"You" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"fr" : {
|
"fr" : {
|
||||||
|
|
|
||||||
|
|
@ -2459,9 +2459,10 @@ struct CalendarSettings: View {
|
||||||
Defaults.Toggle(String(localized:"Show lock screen reminder"), key: .enableLockScreenReminderWidget)
|
Defaults.Toggle(String(localized:"Show lock screen reminder"), key: .enableLockScreenReminderWidget)
|
||||||
.settingsHighlight(id: highlightID("Show lock screen reminder"))
|
.settingsHighlight(id: highlightID("Show lock screen reminder"))
|
||||||
|
|
||||||
Picker("Chip color", selection: $lockScreenReminderChipStyle) {
|
Picker(String(localized: "Chip color"), selection: $lockScreenReminderChipStyle) {
|
||||||
ForEach(LockScreenReminderChipStyle.allCases) { style in
|
ForEach(LockScreenReminderChipStyle.allCases) { style in
|
||||||
Text(style.rawValue).tag(style)
|
|
||||||
|
Text(style.localizedName).tag(style)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.pickerStyle(.segmented)
|
.pickerStyle(.segmented)
|
||||||
|
|
@ -2499,12 +2500,12 @@ struct CalendarSettings: View {
|
||||||
|
|
||||||
private func statusText(for status: EKAuthorizationStatus) -> String {
|
private func statusText(for status: EKAuthorizationStatus) -> String {
|
||||||
switch status {
|
switch status {
|
||||||
case .fullAccess, .authorized: return "Full Access"
|
case .fullAccess, .authorized: return String(localized:"Full Access")
|
||||||
case .writeOnly: return "Write Only"
|
case .writeOnly: return String(localized:"Write Only")
|
||||||
case .denied: return "Denied"
|
case .denied: return String(localized:"Denied")
|
||||||
case .restricted: return "Restricted"
|
case .restricted: return String(localized:"Restricted")
|
||||||
case .notDetermined: return "Not Determined"
|
case .notDetermined: return String(localized:"Not Determined")
|
||||||
@unknown default: return "Unknown"
|
@unknown default: return String(localized:"Unknown")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -231,4 +231,13 @@ enum LockScreenReminderChipStyle: String, CaseIterable, Defaults.Serializable, I
|
||||||
case monochrome = "White"
|
case monochrome = "White"
|
||||||
|
|
||||||
var id: String { rawValue }
|
var id: String { rawValue }
|
||||||
|
|
||||||
|
var localizedName: String {
|
||||||
|
switch self {
|
||||||
|
case .eventColor:
|
||||||
|
return String(localized: "Event color")
|
||||||
|
case .monochrome:
|
||||||
|
return String(localized: "White")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -438,18 +438,18 @@ enum MusicSkipBehavior: String, CaseIterable, Identifiable, Defaults.Serializabl
|
||||||
var displayName: String {
|
var displayName: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .track:
|
case .track:
|
||||||
return "Track Skip"
|
return String(localized: "Track Skip")
|
||||||
case .tenSecond:
|
case .tenSecond:
|
||||||
return "±10 Seconds"
|
return String(localized: "±10 Seconds")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var description: String {
|
var description: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .track:
|
case .track:
|
||||||
return "Standard previous/next track controls"
|
return String(localized: "Standard previous/next track controls")
|
||||||
case .tenSecond:
|
case .tenSecond:
|
||||||
return "Skip forward or backward by ten seconds"
|
return String(localized: "Skip forward or backward by ten seconds")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -484,9 +484,12 @@ enum ReminderPresentationStyle: String, CaseIterable, Identifiable, Defaults.Ser
|
||||||
|
|
||||||
var displayName: String {
|
var displayName: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .ringCountdown: return "Ring"
|
case .ringCountdown:
|
||||||
case .digital: return "Digital"
|
return String(localized: "Ring")
|
||||||
case .minutes: return "Minutes"
|
case .digital:
|
||||||
|
return String(localized: "Digital")
|
||||||
|
case .minutes:
|
||||||
|
return String(localized: "Minutes")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue