Correct platform name depending on device (#1883)

This commit is contained in:
Ahnaf Mahmud 2024-01-13 16:51:32 +00:00 committed by GitHub
parent 54dd7521c0
commit 7c8ea23ae9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 576 additions and 1 deletions

View file

@ -243,7 +243,7 @@ struct DisplaySettingsView: View {
@Bindable var userPreferences = userPreferences
if UIDevice.current.userInterfaceIdiom == .pad {
Section("iPad") {
Section("settings.display.section.platform") {
Toggle("settings.display.show-ipad-column", isOn: $userPreferences.showiPadSecondaryColumn)
}
#if !os(visionOS)

View file

@ -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" : {
"localizations" : {
"be" : {