mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-17 02:05:13 +00:00
Correct platform name depending on device (#1883)
This commit is contained in:
parent
54dd7521c0
commit
7c8ea23ae9
2 changed files with 576 additions and 1 deletions
|
@ -243,7 +243,7 @@ struct DisplaySettingsView: View {
|
||||||
@Bindable var userPreferences = userPreferences
|
@Bindable var userPreferences = userPreferences
|
||||||
|
|
||||||
if UIDevice.current.userInterfaceIdiom == .pad {
|
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||||
Section("iPad") {
|
Section("settings.display.section.platform") {
|
||||||
Toggle("settings.display.show-ipad-column", isOn: $userPreferences.showiPadSecondaryColumn)
|
Toggle("settings.display.show-ipad-column", isOn: $userPreferences.showiPadSecondaryColumn)
|
||||||
}
|
}
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
|
|
|
@ -44265,6 +44265,581 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"settings.display.section.platform" : {
|
||||||
|
"extractionState" : "manual",
|
||||||
|
"localizations" : {
|
||||||
|
"be" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ca" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"de" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"en-GB" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"eu" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fr" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"it" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ja" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ko" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nb" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nl" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pl" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pt-BR" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tr" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"uk" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hans" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zh-Hant" : {
|
||||||
|
"variations" : {
|
||||||
|
"device" : {
|
||||||
|
"applevision" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Apple Vision"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ipad" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPad"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"iphone" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "iPhone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mac" : {
|
||||||
|
"stringUnit" : {
|
||||||
|
"state" : "translated",
|
||||||
|
"value" : "Mac"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"settings.display.section.theme" : {
|
"settings.display.section.theme" : {
|
||||||
"localizations" : {
|
"localizations" : {
|
||||||
"be" : {
|
"be" : {
|
||||||
|
|
Loading…
Reference in a new issue