diff --git a/README.md b/README.md index c2f36a4..45c848a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Download and install Quest games from ROOKIE Public Mirror (like [VRP Rookie Sid --- -- [ QRookie](#-qrookie) +- [QRookie](#-qrookie) - [Screenshots](#screenshots) - [Download](#download) - [Arch Linux](#arch-linux) @@ -131,7 +131,7 @@ See [releases](https://github.com/glaumar/QRookie/releases). See [releases](https://github.com/glaumar/QRookie/releases). > [!WARNING] -> *The MacOS Bundle is automatically build using github action and is not signed or notarized* +> *The MacOS Bundle is automatically built using a github action and is not signed or notarized* > [!WARNING] > *The MacOS Bundle does not include **java runtime**. If you want to use the `rename pkg` function, you need to install the java runtime additionally:* @@ -148,11 +148,11 @@ See [releases](https://github.com/glaumar/QRookie/releases). > *If you don’t know nix at all, we don’t recommend using this method to install QRookie.* > [!WARNING] -> *More than 3GB of data may be downloaded during first installation* +> *More than 3GB of data may be downloaded during the first installation* -1. **install nix:** I recommend using the [graphical installer](https://determinate.systems/posts/graphical-nix-installer/) for installation. (From [here](https://nixcademy.com/2024/01/15/nix-on-macos/) you can find more ways to install nix on MacOS) +1. **Install nix:** We recommend using the [graphical installer](https://determinate.systems/posts/graphical-nix-installer/) for installation. (From [here](https://nixcademy.com/2024/01/15/nix-on-macos/) you can find more ways to install nix on MacOS) -2. **install QRookie using flake:** +2. **Install QRookie using flake:** ```shell export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 @@ -174,7 +174,7 @@ QRookie currently does not support `install.txt`. Some games may fail to install - `~/.var/app/io.github.glaumar.QRookie/data/QRookie/` (Flatpak) - `~/Library/Application Support/QRookie` (MacOS) -and manually install them ([ Howto: Sideload Manually](https://vrpirates.wiki/en/Howto/Manual-Sideloading)). +and manually install them ([Howto: Sideload Manually](https://vrpirates.wiki/en/Howto/Manual-Sideloading)). ## 2. Are all the games provided by QRookie? Are these games infected with viruses? @@ -195,10 +195,10 @@ paru -S android-sdk-build-tools android-apktool ```shell # build cmake -B build -S . -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr' -cmake --build build --target qrookie +cmake --build build --target QRookie # run -./build/qrookie +./build/QRookie # install (not recommended) cmake --install build @@ -282,9 +282,9 @@ cd ./macOs/ ## MacOS (Nix) ### Install Nix -I recommend using the [graphical installer](https://determinate.systems/posts/graphical-nix-installer/) for installation. +We recommend using the [graphical installer](https://determinate.systems/posts/graphical-nix-installer/) for installation. -For more details, refer to [here](https://nixcademy.com/2024/01/15/nix-on-macos/) +For more details, see [here](https://nixcademy.com/2024/01/15/nix-on-macos/) ### Build Some dependencies in Nix are not supported on Darwin, but they can actually run if you force them to compile. diff --git a/content/Tabs/Devices/ApplicationDelegate.qml b/content/Tabs/Devices/ApplicationDelegate.qml index 11f5ed8..d63c509 100644 --- a/content/Tabs/Devices/ApplicationDelegate.qml +++ b/content/Tabs/Devices/ApplicationDelegate.qml @@ -37,7 +37,7 @@ Kirigami.Card { footer: Button { id: action_button icon.name: "uninstall" - text: qsTr("Uninstall to All Users") + text: qsTr("Uninstall For All Users") onClicked: { uninstallButtonClicked(); } diff --git a/content/Tabs/Devices/Device.qml b/content/Tabs/Devices/Device.qml index f7c5021..b8654ea 100644 --- a/content/Tabs/Devices/Device.qml +++ b/content/Tabs/Devices/Device.qml @@ -190,7 +190,7 @@ RowLayout { app.vrp.settings.lastWirelessAddr = wireless_adress.text; } else { wireless_error_message.visible = true; - wireless_error_message.text = qsTr("Failed to connect to " + wireless_adress.text); + wireless_error_message.text = qsTr("Failed to connect to %1").arg(wireless_adress.text); } }); } @@ -219,7 +219,7 @@ RowLayout { app.deviceManager.connectToWirelessDeviceQml(address).then((connected) => { if (!connected) { wireless_error_message.visible = true; - wireless_error_message.text = qsTr("Failed to connect to " + address); + wireless_error_message.text = qsTr("Failed to connect to %1").arg(address); } device_card.autoConnect = true; }); diff --git a/content/Tabs/Downloads/DownloadDelegate.qml b/content/Tabs/Downloads/DownloadDelegate.qml index 4a74bbf..994cddc 100644 --- a/content/Tabs/Downloads/DownloadDelegate.qml +++ b/content/Tabs/Downloads/DownloadDelegate.qml @@ -56,7 +56,7 @@ Kirigami.Card { status_label.color = Kirigami.Theme.textColor; if (isNaN(progress) || progress <= 0) { progress_bar.indeterminate = true; - status_label.text = qsTr("Starting Downloading"); + status_label.text = qsTr("Starting Download"); } } else if (status === VrpManager.DownloadError) { delete_button.enabled = true; @@ -116,7 +116,7 @@ Kirigami.Card { anchors.margins: 10 anchors.right: progress_bar.right anchors.bottom: progress_bar.top - text: "Unknown Status" + text: qsTr("Unknown Status") } Button { @@ -125,7 +125,7 @@ Kirigami.Card { anchors.right: parent.right anchors.bottom: parent.bottom anchors.margins: 10 - text: "delete" + text: qsTr("Delete") icon.name: "delete" onClicked: { deleteButtonClicked(); diff --git a/content/Tabs/Downloads/Downloads.qml b/content/Tabs/Downloads/Downloads.qml index 5c780c1..4bfc1f9 100644 --- a/content/Tabs/Downloads/Downloads.qml +++ b/content/Tabs/Downloads/Downloads.qml @@ -29,7 +29,7 @@ RowLayout { Label { id: download_title - text: qsTr("Downloading") + " (" + downloading_list.count + ")" + text: qsTr("Downloading (%1)").arg(downloading_list.count) font.bold: true font.pointSize: Qt.application.font.pointSize * 2 } @@ -109,7 +109,7 @@ RowLayout { id: local_title Layout.alignment: Qt.AlignLeft - text: qsTr("Local") + " (" + local_list.count + ")" + text: qsTr("Local (%1)").arg(local_list.count) font.bold: true font.pointSize: Qt.application.font.pointSize * 2 } @@ -128,7 +128,7 @@ RowLayout { app.vrp.settings.renamePackage = checked; } text: qsTr("Rename pkg") - ToolTip.text: qsTr("Rename the package before installing the game.This is useful when Quest prevents you from launching an game whose free trial has expired.") + ToolTip.text: qsTr("Rename the package before installing the game. This is useful when a Quest prevents you from launching a game whose free trial has expired.") ToolTip.visible: hovered } diff --git a/content/Tabs/Downloads/LocalDelegate.qml b/content/Tabs/Downloads/LocalDelegate.qml index 97bf20b..068d8d0 100644 --- a/content/Tabs/Downloads/LocalDelegate.qml +++ b/content/Tabs/Downloads/LocalDelegate.qml @@ -130,7 +130,7 @@ Kirigami.Card { anchors.right: parent.right anchors.bottom: parent.bottom anchors.margins: 10 - text: "Delete" + text: qsTr("Delete") icon.name: "delete" onClicked: { deleteButtonClicked(); diff --git a/content/Tabs/Games/GameDelegate.qml b/content/Tabs/Games/GameDelegate.qml index b8fb771..6c550d5 100644 --- a/content/Tabs/Games/GameDelegate.qml +++ b/content/Tabs/Games/GameDelegate.qml @@ -68,7 +68,7 @@ Kirigami.Card { break; case VrpManager.Downloading: if (isNaN(progress) || progress <= 0) { - action_button.text = qsTr("Starting Downloading"); + action_button.text = qsTr("Starting Download"); progress_bar.indeterminate = true; progress_bar.visible = true; action_button.icon.name = "download"; @@ -143,7 +143,7 @@ Kirigami.Card { Label { Layout.alignment: Qt.AlignRight - text: "Version: " + versionCode + text: qsTr("Version: %1").arg(versionCode) } Label { @@ -182,7 +182,7 @@ Kirigami.Card { id: action_button Layout.fillWidth: true - text: qsTr("Downlad") + text: qsTr("Download") onClicked: { if (status === VrpManager.Installable || status === VrpManager.UpdatableLocally || status === VrpManager.InstallError) installButtonClicked(); diff --git a/content/Tabs/Users/Users.qml b/content/Tabs/Users/Users.qml index dd63749..923519e 100644 --- a/content/Tabs/Users/Users.qml +++ b/content/Tabs/Users/Users.qml @@ -41,8 +41,8 @@ RowLayout { installed_apps_number.text = app.deviceManager.selectedUsersInstalledApps > -1 ? app.deviceManager.selectedUsersInstalledApps : qsTr("loading..."); - installed_tab.text = qsTr("Installed (") + app.deviceManager.selectedUsersInstalledApps + qsTr(")"); - available_tab.text = qsTr("Available (") + app.deviceManager.availableAppsCount + qsTr(")"); + installed_tab.text = qsTr("Installed (%1)").arg(app.deviceManager.selectedUsersInstalledApps); + available_tab.text = qsTr("Available (%1)").arg(app.deviceManager.availableAppsCount); } target: app.deviceManager @@ -51,7 +51,7 @@ RowLayout { header: Label { id: users_title - text: "Users" + text: qsTr("Users") font.bold: true font.pointSize: Qt.application.font.pointSize * 2 } @@ -76,7 +76,7 @@ RowLayout { Label { id: users_info_label - text: "User Info" + text: qsTr("User Info") font.bold: true font.pointSize: Qt.application.font.pointSize * 1.5 }