Skip to content

Commit

Permalink
Merge pull request PlayCover#158 from Wind-Explorer/develop
Browse files Browse the repository at this point in the history
[Enhancement] Improved device picker UI
  • Loading branch information
Depal1 authored Aug 14, 2022
2 parents e169e71 + ea59a1b commit 706955e
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 8 deletions.
10 changes: 5 additions & 5 deletions PlayCover/View/AppSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ struct AppSettingsView: View {
Text("60 Hz").tag(0)
Text("120 Hz").tag(1)
}).pickerStyle(SegmentedPickerStyle()).frame(maxWidth: 300).padding()
Picker(selection: $ipadModel, label: Text("settings.picker.ipadModel"), content: {
Text("1st Gen").tag("iPad6,7")
Text("3rd Gen").tag("iPad8,6")
Text("5th Gen").tag("iPad13,8")
}).pickerStyle(SegmentedPickerStyle()).frame(maxWidth: 300).padding()
Picker(selection: $ipadModel, label: Text("settings.picker.iosDevice"), content: {
Text("iPad Pro (12.9-inch) (1st gen) | A9X | 4GB").tag("iPad6,7")
Text("iPad Pro (12.9-inch) (3rd gen) | A12Z | 4GB").tag("iPad8,6")
Text("iPad Pro (12.9-inch) (5th gen) | M1 | 8GB").tag("iPad13,8")
}).pickerStyle(MenuPickerStyle()).frame(maxWidth: 300).padding()
if adaptiveDisplay && !enableWindowAutoSize {
Spacer()
Picker(selection: $selectedWindowSize, label: Text("settings.picker.screenSize"), content: {
Expand Down
2 changes: 2 additions & 0 deletions PlayCover/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

Expand Down
4 changes: 2 additions & 2 deletions PlayCover/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app Preferences";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -87,7 +87,7 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.ipadModel" = "Select Ipad Pro model";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

Expand Down
3 changes: 2 additions & 1 deletion PlayCover/es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.ipadModel" = "Seleciona un modelo de Ipad";
"settings.picker.iosDevice" = "Seleciona un modelo de Ipad";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

"settings.reset" = "Reset settings and keymapping";
"settings.resetCompleted" = "Settings have been reverted back to default!";
"settings.picker.ipadModel" = "Select iOS device";

"setupView.header" = "Follow steps below for fixing common issues";
"setupView.subheader" = "Resolves apps not allowing logins, crashes at start and more";
Expand Down
2 changes: 2 additions & 0 deletions PlayCover/fr.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Sauvegarder le compte actuel";
"playapp.activateAccount" = "Activer un compte";
"playapp.deleteAccount" = "Supprimer un compte";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Sélectionner la région du compte";
"storeAccount.selectAccRegion.usa" = "Amérique";
Expand Down Expand Up @@ -83,6 +84,7 @@

"settings.picker.displayRefreshRate" = "Taux de rafraîchissement de l'écran";
"settings.picker.screenSize" = "Résolution de l'écran";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Sensibilité de la souris : %.f";

Expand Down
2 changes: 2 additions & 0 deletions PlayCover/id.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -90,6 +91,7 @@

"settings.reset" = "Reset settings and keymapping";
"settings.resetCompleted" = "Settings have been reverted back to default!";
"settings.picker.iosDevice" = "Select iOS device";

"setupView.header" = "Follow steps below for fixing common issues";
"setupView.subheader" = "Resolves apps not allowing logins, crashes at start and more";
Expand Down
2 changes: 2 additions & 0 deletions PlayCover/it.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

Expand Down
2 changes: 2 additions & 0 deletions PlayCover/ja.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "今のアカウントを保存";
"playapp.activateAccount" = "アカウントを有効にする";
"playapp.deleteAccount" = "アカウントを削除";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "アカウントの地域を変更する";
"storeAccount.selectAccRegion.usa" = "米国";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "画面のリフレッシュレート";
"settings.picker.screenSize" = "ディスプレー解像度";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "マウス感度: ";

Expand Down
2 changes: 2 additions & 0 deletions PlayCover/ko.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

Expand Down
2 changes: 2 additions & 0 deletions PlayCover/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -90,6 +91,7 @@

"settings.reset" = "Reset settings and keymapping";
"settings.resetCompleted" = "Settings have been reverted back to default!";
"settings.picker.iosDevice" = "Select iOS device";

"setupView.header" = "Follow steps below for fixing common issues";
"setupView.subheader" = "Resolves apps not allowing logins, crashes at start and more";
Expand Down
2 changes: 2 additions & 0 deletions PlayCover/vi.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"playapp.storeCurrentAccount" = "Store current account";
"playapp.activateAccount" = "Activate an account";
"playapp.deleteAccount" = "Delete an account";
"playapp.clearPreferences" = "Clear app preferences";

"storeAccount.selectAccRegion" = "Select account region";
"storeAccount.selectAccRegion.usa" = "America";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "Screen refresh rate";
"settings.picker.screenSize" = "Display resolution";
"settings.picker.iosDevice" = "Select iOS device";

"settings.slider.mouseSensitivity" = "Mouse sensitivity: ";

Expand Down
2 changes: 2 additions & 0 deletions PlayCover/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"playapp.storeCurrentAccount" = "保存现有账号";
"playapp.activateAccount" = "激活账号";
"playapp.deleteAccount" = "删除账号";
"playapp.clearPreferences" = "清除应用偏好设置";

"storeAccount.selectAccRegion" = "选择账号地区服务器";
"storeAccount.selectAccRegion.usa" = "美服";
Expand Down Expand Up @@ -85,6 +86,7 @@

"settings.picker.displayRefreshRate" = "屏幕刷新率";
"settings.picker.screenSize" = "屏幕分辨率";
"settings.picker.iosDevice" = "选择 iOS 机型";

"settings.slider.mouseSensitivity" = "鼠标灵敏度:";

Expand Down

0 comments on commit 706955e

Please sign in to comment.