mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Add localization support for sidebar
This commit is contained in:
parent
b4517c7601
commit
846f4787be
1 changed files with 20 additions and 20 deletions
|
|
@ -43,26 +43,26 @@ private enum SettingsTab: String, CaseIterable, Identifiable {
|
||||||
|
|
||||||
var title: String {
|
var title: String {
|
||||||
switch self {
|
switch self {
|
||||||
case .general: return "General"
|
case .general: return String(localized: "General")
|
||||||
case .liveActivities: return "Live Activities"
|
case .liveActivities: return String(localized: "Live Activities")
|
||||||
case .appearance: return "Appearance"
|
case .appearance: return String(localized: "Appearance")
|
||||||
case .lockScreen: return "Lock Screen"
|
case .lockScreen: return String(localized: "Lock Screen")
|
||||||
case .media: return "Media"
|
case .media: return String(localized: "Media")
|
||||||
case .devices: return "Devices"
|
case .devices: return String(localized: "Devices")
|
||||||
case .extensions: return "Extensions"
|
case .extensions: return String(localized: "Extensions")
|
||||||
case .timer: return "Timer"
|
case .timer: return String(localized: "Timer")
|
||||||
case .calendar: return "Calendar"
|
case .calendar: return String(localized: "Calendar")
|
||||||
case .hudAndOSD: return "Controls"
|
case .hudAndOSD: return String(localized: "Controls")
|
||||||
case .battery: return "Battery"
|
case .battery: return String(localized: "Battery")
|
||||||
case .stats: return "Stats"
|
case .stats: return String(localized: "Stats")
|
||||||
case .clipboard: return "Clipboard"
|
case .clipboard: return String(localized: "Clipboard")
|
||||||
case .screenAssistant: return "Screen Assistant"
|
case .screenAssistant: return String(localized: "Screen Assistant")
|
||||||
case .colorPicker: return "Color Picker"
|
case .colorPicker: return String(localized: "Color Picker")
|
||||||
case .downloads: return "Downloads"
|
case .downloads: return String(localized: "Downloads")
|
||||||
case .shelf: return "Shelf"
|
case .shelf: return String(localized: "Shelf")
|
||||||
case .shortcuts: return "Shortcuts"
|
case .shortcuts: return String(localized: "Shortcuts")
|
||||||
case .notes: return "Notes"
|
case .notes: return String(localized: "Notes")
|
||||||
case .about: return "About"
|
case .about: return String(localized: "About")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue