mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Fix strings detections and translates the entire "Downloaads"
This commit is contained in:
parent
345eebd498
commit
da61290622
3 changed files with 44 additions and 3 deletions
|
|
@ -83,6 +83,17 @@ enum DownloadIndicatorStyle: String, Defaults.Serializable {
|
|||
case progress = "Progress"
|
||||
case percentage = "Percentage"
|
||||
case circle = "Circle"
|
||||
|
||||
var localizedName: String {
|
||||
switch self {
|
||||
case .progress:
|
||||
return String(localized: "Progress")
|
||||
case .percentage:
|
||||
return String(localized: "Percentage")
|
||||
case .circle:
|
||||
return String(localized: "Circle")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum DownloadIconStyle: String, Defaults.Serializable {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue