Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit
Swift apple-silicond3dmetaldxmtdxvkgame-porting-toolkitgptkmac-gamingmacosmetalfxrosetta-2steamsteam-playwinewinecx
feat(app): show the credits in the sidebar
raymondchins0e3bc8e50d5f
diff --git a/app/Sources/BridgeplayApp/Resources/Localization/Localizable.xcstrings b/app/Sources/BridgeplayApp/Resources/Localization/Localizable.xcstringsindex c3b0d38..9935b75 100644--- a/app/Sources/BridgeplayApp/Resources/Localization/Localizable.xcstrings+++ b/app/Sources/BridgeplayApp/Resources/Localization/Localizable.xcstrings@@ -940,6 +940,22 @@}}},+ "A fork of [NotProton](https://github.com/NotProtonNot/NotProton), running on [CodeWeavers](https://www.codeweavers.com)' open-source Wine and Apple's Game Porting Toolkit." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Un fork di [NotProton](https://github.com/NotProtonNot/NotProton), che usa il Wine open source di [CodeWeavers](https://www.codeweavers.com) e il Game Porting Toolkit di Apple."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "[NotProton](https://github.com/NotProtonNot/NotProton) 的分支,基于 [CodeWeavers](https://www.codeweavers.com) 的开源 Wine 和 Apple 的 Game Porting Toolkit 运行。"+ }+ }+ }+ },"A game or Wine tool is running on build %@. Quit it before updating Bridgeplay." : {"localizations" : {"it" : {@@ -3343,6 +3359,22 @@}}},+ "Credits" : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Riconoscimenti"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "致谢"+ }+ }+ }+ },"CrossOver" : {"shouldTranslate" : false},@@ -4674,6 +4706,22 @@}}},+ "If CrossOver works for you, [buy it](https://www.codeweavers.com/crossover) to support Wine." : {+ "localizations" : {+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Se CrossOver fa al caso tuo, [acquistalo](https://www.codeweavers.com/crossover) per sostenere Wine."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "如果 CrossOver 适合你,[购买它](https://www.codeweavers.com/crossover)来支持 Wine。"+ }+ }+ }+ },"If macOS shows the switch, turn it on. Setup carries on by itself." : {"localizations" : {"it" : {diff --git a/app/Sources/BridgeplayApp/Views/RootView.swift b/app/Sources/BridgeplayApp/Views/RootView.swiftindex a4913fb..d3f10f4 100644--- a/app/Sources/BridgeplayApp/Views/RootView.swift+++ b/app/Sources/BridgeplayApp/Views/RootView.swift@@ -60,11 +60,13 @@ struct RootView: View {}.safeAreaInset(edge: .bottom, spacing: 0) {VStack(alignment: .leading, spacing: 10) {+ creditslibraryCardText(verbatim: ProductVersion.display).font(BP.sans(11, .medium)).foregroundStyle(BP.fg3)- .lineLimit(1)+ .lineLimit(2)+ .frame(maxWidth: .infinity, alignment: .leading).padding(.horizontal, 6)}.padding(.horizontal, 12)@@ -113,6 +115,20 @@ struct RootView: View {.preferredColorScheme(.dark)}+ private var credits: some View {+ VStack(alignment: .leading, spacing: 4) {+ Text("Credits")+ .font(BP.sans(11, .semibold))+ .foregroundStyle(BP.fg2)+ Text("A fork of [NotProton](https://github.com/NotProtonNot/NotProton), running on [CodeWeavers](https://www.codeweavers.com)' open-source Wine and Apple's Game Porting Toolkit.")+ Text("If CrossOver works for you, [buy it](https://www.codeweavers.com/crossover) to support Wine.")+ }+ .font(BP.sans(11))+ .foregroundStyle(BP.fg3)+ .frame(maxWidth: .infinity, alignment: .leading)+ .padding(.horizontal, 6)+ }+// The landing page's games marquee in miniature, under the hero line.private var libraryCard: some View {TimelineView(.animation(minimumInterval: 1 / 30, paused: reduceMotion)) { context in