mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix string detection issues and complete pt-BR localization (100% done, as far as I can tell)
This commit is contained in:
parent
879a4589d2
commit
f6f6321def
14 changed files with 402 additions and 77 deletions
|
|
@ -432,17 +432,17 @@ struct InlineHUD: View {
|
|||
func Type2Name(_ type: SneakContentType) -> String {
|
||||
switch(type) {
|
||||
case .volume:
|
||||
return "Volume"
|
||||
return String(localized: "Volume")
|
||||
case .brightness:
|
||||
return "Brightness"
|
||||
return String(localized: "Brightness")
|
||||
case .backlight:
|
||||
return "Backlight"
|
||||
return String(localized: "Backlight")
|
||||
case .mic:
|
||||
return "Mic"
|
||||
return String(localized: "Mic")
|
||||
case .bluetoothAudio:
|
||||
return BluetoothAudioManager.shared.lastConnectedDevice?.name ?? "Bluetooth"
|
||||
case .capsLock:
|
||||
return "Caps Lock"
|
||||
return String(localized: "Caps Lock")
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue