mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Show localized strings for "Platform" view.
This commit is contained in:
parent
63dda42e34
commit
ec5779cb1a
1 changed files with 4 additions and 4 deletions
|
|
@ -19,9 +19,9 @@ public enum Architecture: String, Codable, Equatable, Hashable, Identifiable, Ca
|
|||
public var displayString: String {
|
||||
switch self {
|
||||
case .arm64:
|
||||
return "Apple Silicon"
|
||||
return localizeString("Apple Silicon")
|
||||
case .x86_64:
|
||||
return "Intel"
|
||||
return localizeString("Intel")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -44,9 +44,9 @@ public enum ArchitectureVariant: String, Codable, Equatable, Hashable, Identifia
|
|||
public var displayString: String {
|
||||
switch self {
|
||||
case .appleSilicon:
|
||||
return "Apple Silicon"
|
||||
return localizeString("Apple Silicon")
|
||||
case .universal:
|
||||
return "Universal"
|
||||
return localizeString("Universal")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue