From 1fe1614d16d0514de3bd51ea4a9ddbd198aafb51 Mon Sep 17 00:00:00 2001 From: Dummerle Date: Sun, 3 Oct 2021 22:18:38 +0200 Subject: [PATCH] Remove some unused translations --- rare/languages/placeholder.ts | 1679 ++++++++++------- .../tabs/games/game_info/game_dlc_widget.py | 4 +- .../tabs/games/game_info/game_dlc_widget.ui | 4 +- rare/ui/components/tabs/games/games_tab.py | 6 +- rare/ui/components/tabs/games/games_tab.ui | 2 +- rare/ui/components/tabs/settings/legendary.py | 5 +- rare/ui/components/tabs/settings/legendary.ui | 4 +- rare/ui/components/tabs/settings/rare.py | 2 +- rare/ui/components/tabs/settings/rare.ui | 2 +- .../components/tabs/settings/rpc_settings.py | 6 +- .../components/tabs/settings/rpc_settings.ui | 10 +- rare/ui/components/tabs/store/browse_games.py | 4 +- rare/ui/components/tabs/store/browse_games.ui | 26 +- .../components/tabs/store/shop_game_info.py | 10 +- .../components/tabs/store/shop_game_info.ui | 8 +- rare/ui/components/tabs/store/store.py | 4 +- rare/ui/components/tabs/store/store.ui | 2 +- rare/ui/components/tabs/store/wishlist.py | 5 +- rare/ui/components/tabs/store/wishlist.ui | 2 +- .../components/tabs/store/wishlist_widget.py | 5 +- .../components/tabs/store/wishlist_widget.ui | 2 +- rare/ui/utils/pathedit.py | 4 +- rare/ui/utils/pathedit.ui | 2 +- 23 files changed, 1078 insertions(+), 720 deletions(-) diff --git a/rare/languages/placeholder.ts b/rare/languages/placeholder.ts index 6d11d3c4..f45bf9bd 100644 --- a/rare/languages/placeholder.ts +++ b/rare/languages/placeholder.ts @@ -52,32 +52,70 @@ GNU General Public License v3.0 - - - This is a beta version, so you can get bugs. If you get a bug, please report it by creating an Issue on <a href='https://github.com/Dummerle/Rare/issues'>Github</a>. You can also contact me on Discord (Dummerle#7419). Or you can join the <a href='https://discord.gg/YvmABK9YSk'>Discord server</a> - - - - - - App - - - Download finished - - - - - Download finished. {} is playable now - - - - - BaseInstalledWidget - - - Launch - +< message > + + This +is +a +beta +version, so +you +can +get +bugs.If +you +get +a +bug, please +report +it +by +creating +an +Issue +on < a +href = +& +apos; +https://github.com/Dummerle/Rare/issues'>Github</a>. You can also contact me on Discord (Dummerle#7419). Or you can join the <a href='https://discord.gg/YvmABK9YSk'>Discord server</a> + + < translation +type = "unfinished" > +< /message> +< /context> +< context > +App < /name> +< message > + + Download +finished < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Download +finished. +{ +} +is +playable +now < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +BaseInstalledWidget < /name> +< message > + + Launch < /source> + < translation +type = "unfinished" > @@ -120,27 +158,57 @@ - - Do you want to launch {} - - - - - Game cannot run offline. Please start game in Online mode - - - - - Origin is not installed. Do you want to download installer file? - - - - - BaseUninstalledWidget - - - Reload Image - + + Do +you +want +to +launch +{ +} + +< translation +type = "unfinished" > +< /message> +< message > + + Game +cannot +run +offline.Please +start +game in Online +mode < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Origin +is +not +installed.Do +you +want +to +download +installer +file ? + < translation type = "unfinished" > +< /message> +< /context> +< context > +BaseUninstalledWidget < /name> +< message > + + Reload +Image < /source> +< translation +type = "unfinished" > @@ -349,77 +417,118 @@ Install size: {} GB - - - - Remove Download - - - - - DownloadTab - - - No active Download - - - - - Stop Download - - - - - Updates - - - - - No updates available - - - - - Installing Game: - - - - - Download finished. Reload library - - - - - Installing Game: No active download - - - - - Download speed - - - - - Cache used - - - - - Downloaded - - - - - Time left: - - - - - DxvkSettings - - - DxvkSettings - +< /message> +< message > + + Remove +Download < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +DownloadTab < /name> +< message > + + No +active +Download < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Stop +Download < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Updates < /source> + < translation +type = "unfinished" > +< /message> +< message > + + No +updates +available < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Installing +Game: +< translation +type = "unfinished" > +< /message> +< message > + + Download +finished.Reload +library < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Installing +Game: No +active +download < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Download +speed < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Cache +used < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Downloaded < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Time +left: +< translation +type = "unfinished" > +< /message> +< /context> +< context > +DxvkSettings < /name> +< message > + + DxvkSettings < /source> + < translation +type = "unfinished" > @@ -578,11 +687,6 @@ GameDlcWidget - - - GameDlcWidget - - DLC Name @@ -682,42 +786,84 @@ - - Uninstall Game - - - - - Install Game - - - - - Link to Origin/Launch - - - - - Repair file does not exist or game does not need a repair. Please verify game first - - - - - Verification failed, {} file(s) corrupted, {} file(s) are missing. Do you want to repair them? - - - - - Loading - - - - - GameListHeadBar - - - All - + + Uninstall +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Install +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Link +to +Origin / Launch < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Repair +file +does +not +exist +or +game +does +not +need +a +repair.Please +verify +game +first < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Verification +failed, {} +file(s) +corrupted, {} +file(s) +are +missing.Do +you +want +to +repair +them ? + < translation type = "unfinished" > +< /message> +< message > + + Loading < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +GameListHeadBar < /name> +< message > + + All < /source> + < translation +type = "unfinished" > @@ -730,32 +876,47 @@ - - 32 Bit Games - - - - - Exclude Origin - - - - - Import Game - - - - - Search Game - - - - - GameSettings - - - GameSettings - + + 32 +Bit +Games < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Exclude +Origin < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Import +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Search +Game < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +GameSettings < /name> +< message > + + GameSettings < /source> + < translation +type = "unfinished" > @@ -849,47 +1010,64 @@ - GameWidget - - - Free - - - - - GamesTab - - - StackedWidget - - - - - Installed Games: {} Available Games: {} - - - - - Launch - - - - - Sync CLoud saves - - - - - Game running - - - - - IconWidgetUninstalled - - - Game Info - +GameWidget < /name> +< message > + + Free < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +GamesTab < /name> +< message > + + Installed +Games: { +} +Available +Games: { +} + +< translation +type = "unfinished" > +< /message> +< message > + + Launch < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Sync +CLoud +saves < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Game +running < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +IconWidgetUninstalled < /name> +< message > + + Game +Info < /source> +< translation +type = "unfinished" > @@ -996,42 +1174,59 @@ Successfully imported {}. Reload library - - - - Failed to import {} - - - - - InfoTabs - - - Back - - - - - Information - - - - - Settings - - - - - Downloadable Content - - - - - InstallDialog - - - error - +< /message> +< message > + + Failed +to +import {} + + +< translation +type = "unfinished" > +< /message> +< /context> +< context > +InfoTabs < /name> +< message > + + Back < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Information < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Settings < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Downloadable +Content < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +InstallDialog < /name> +< message > + + error < /source> + < translation +type = "unfinished" > @@ -1137,45 +1332,85 @@ Error - - - - InstalledIconWidget - - - Update available - - - - - Game running - - - - - Start game without version check - - - - - Start Game - - - - - Launch/Link - - - - - InstalledListWidget - - - Launch - - - - +< /message> +< /context> +< context > +InstalledIconWidget < /name> +< message > + + Update +available < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Game +running < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Start +game +without +version +check < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Start +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Launch / Link < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Game +needs +verification < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Please +verify +game +before +playing < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +InstalledListWidget < /name> +< message > + + Launch < /source> + < translation +type = "unfinished" > +< /message> +< message > + Link/Play @@ -1193,101 +1428,143 @@ - - <h2>Launching Rare</h2> - - - - - Downloading images - - - - - Downloading Images - - - - - Ready - - - - - Starting... - - - - - LegendarySettings - - - LegendarySettings - - - - - Default Installation Directory - - - - - Download Settings - - - - - Max Workers - - - - - Less is slower (0: Default) - - - - - Max Memory - - - - - MiB - - - - - Preferred CDN - - - - - Default - - - - - Disable HTTPS - - - - - Sync with Epic Games Launcher - - - - - TextLabel - - - - - Exportable Games - - - - - No games to export to EGS + + <h2>Launching +Rare < /h2> + +< /message> +< message > + + Downloading +images < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Downloading +Images < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Starting +... + +< translation +type = "unfinished" > +< /message> +< /context> +< context > +LegendarySettings < /name> +< message > + + Default +Installation +Directory < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Download +Settings < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Max +Workers < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Less +is +slower(0 +: +Default +) + +< translation +type = "unfinished" > +< /message> +< message > + + Max +Memory < /source> +< translation +type = "unfinished" > +< /message> +< message > + + MiB < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Preferred +CDN < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Default < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Disable +HTTPS < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Sync +with Epic Games +Launcher < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Exportable +Games < /source> +< translation +type = "unfinished" > +< /message> +< message > + + No +games +to +export +to +EGS < /source> @@ -1458,55 +1735,80 @@ Back - - - - Next - - - - - MainWindow - - - There is a download active. Do you really want to exit app? - - - - - MiniWidget - - - Logged in as - - - - - Account settings - - - - - Logout - - - - - Do you really want to logout - - - - - PathEdit - - - Choose path - - - - - PathEdit - +< /message> +< message > + + Next < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +MainWindow < /name> +< message > + + There +is +a +download +active.Do +you +really +want +to +exit +app ? + < translation type = "unfinished" > +< /message> +< /context> +< context > +MiniWidget < /name> +< message > + + Logged in as < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Account +settings < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Logout < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Do +you +really +want +to +logout < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +PathEdit < /name> +< message > + + Choose +path < /source> +< translation +type = "unfinished" > @@ -1520,72 +1822,88 @@ - PathInputDialog - - - Cancel - - - - - RPCSettings - - - DiscordRPC - - - - - Discord RPC - - - - - When Playing - - - - - Always - - - - - Never - - - - - Show - - - - - Show Game - - - - - Show OS - - - - - Show Time playing - - - - - RareSettings - - - RareSettings - - - - - Interface - +PathInputDialog < /name> +< message > + + Cancel < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +RPCSettings < /name> +< message > + + Discord +RPC < /source> +< translation +type = "unfinished" > +< /message> +< message > + + When +Playing < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Always < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Never < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Show < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Show +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Show +OS < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Show +Time +playing < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +RareSettings < /name> +< message > + + Interface < /source> + < translation +type = "unfinished" > @@ -1779,11 +2097,6 @@ ShopWidget - - - Form - - Free Games @@ -2057,32 +2370,41 @@ Downloading... - - - - Download finished - - - - - TabWidget - - - Games - - - - - Store (Beta) - - - - - TrayIcon - - - Exit - +< /message> +< message > + + Download +finished < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +TabWidget < /name> +< message > + + Games < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Store(Beta) < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +TrayIcon < /name> +< message > + + Exit < /source> + < translation +type = "unfinished" > @@ -2106,76 +2428,101 @@ Uninstall - - - - Cancel - - - - - UninstalledInfo - - - Loading - - - - - UninstalledTabInfo - - - Back - - - - - Game Info - - - - - Metadata - - - - - UpdateWidget - - - Update Game - - - - - Version: - - - - - VerifyThread - - - Path does not exist - - - - - No files to validate - - - - - Wishlist - - - StackedWidget - - - - - Wishlist - +< /message> +< message > + + Cancel < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +UninstalledInfo < /name> +< message > + + Loading < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +UninstalledTabInfo < /name> +< message > + + Back < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Game +Info < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Metadata < /source> + < translation +type = "unfinished" > +< /message> +< /context> +< context > +UpdateWidget < /name> +< message > + + Update +Game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Version +: + +< translation +type = "unfinished" > +< /message> +< /context> +< context > +VerifyThread < /name> +< message > + + Path +does +not +exist < /source> +< translation +type = "unfinished" > +< /message> +< message > + + No +files +to +validate < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +Wishlist < /name> +< message > + + Wishlist < /source> + < translation +type = "unfinished" > @@ -2230,11 +2577,6 @@ WishlistWidget - - - Form - - TextLabel @@ -2256,11 +2598,6 @@ browse_games - - - Form - - An error occured @@ -2320,47 +2657,63 @@ Platform - - - - Other Tags - - - - - shop_info - - - Form - - - - - Back - - - - - Error - - - - - TextLabel - - - - - You already own this game - - - - - Buy Game in Epic Games Store - - - - +< /message> +< message > + + Other +Tags < /source> +< translation +type = "unfinished" > +< /message> +< /context> +< context > +shop_info < /name> +< message > + + Back < /source> + < translation +type = "unfinished" > +< /message> +< message > + + Error < /source> + < translation +type = "unfinished" > +< /message> +< message > + + TextLabel < /source> + < translation +type = "unfinished" > +< /message> +< message > + + You +already +own +this +game < /source> +< translation +type = "unfinished" > +< /message> +< message > + + Buy +Game in Epic +Games +Store < /source> +< translation +type = "unfinished" > +< /message> +< message > + Add to wishlist diff --git a/rare/ui/components/tabs/games/game_info/game_dlc_widget.py b/rare/ui/components/tabs/games/game_info/game_dlc_widget.py index 09a309fc..2349d69f 100644 --- a/rare/ui/components/tabs/games/game_info/game_dlc_widget.py +++ b/rare/ui/components/tabs/games/game_info/game_dlc_widget.py @@ -14,12 +14,13 @@ from PyQt5 import QtCore, QtGui, QtWidgets class Ui_GameDlcWidget(object): def setupUi(self, GameDlcWidget): GameDlcWidget.setObjectName("GameDlcWidget") - GameDlcWidget.resize(424, 162) + GameDlcWidget.resize(424, 163) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(GameDlcWidget.sizePolicy().hasHeightForWidth()) GameDlcWidget.setSizePolicy(sizePolicy) + GameDlcWidget.setWindowTitle("GameDlcWidget") GameDlcWidget.setFrameShape(QtWidgets.QFrame.StyledPanel) GameDlcWidget.setFrameShadow(QtWidgets.QFrame.Raised) self.dlc_layout = QtWidgets.QHBoxLayout(GameDlcWidget) @@ -135,7 +136,6 @@ class Ui_GameDlcWidget(object): def retranslateUi(self, GameDlcWidget): _translate = QtCore.QCoreApplication.translate - GameDlcWidget.setWindowTitle(_translate("GameDlcWidget", "GameDlcWidget")) self.dlc_name_label.setText(_translate("GameDlcWidget", "DLC Name")) self.version_label.setText(_translate("GameDlcWidget", "Version")) self.status_label.setText(_translate("GameDlcWidget", "Status")) diff --git a/rare/ui/components/tabs/games/game_info/game_dlc_widget.ui b/rare/ui/components/tabs/games/game_info/game_dlc_widget.ui index e24cf88d..75518f7c 100644 --- a/rare/ui/components/tabs/games/game_info/game_dlc_widget.ui +++ b/rare/ui/components/tabs/games/game_info/game_dlc_widget.ui @@ -7,7 +7,7 @@ 0 0 424 - 162 + 163 @@ -17,7 +17,7 @@ - GameDlcWidget + GameDlcWidget QFrame::StyledPanel diff --git a/rare/ui/components/tabs/games/games_tab.py b/rare/ui/components/tabs/games/games_tab.py index f7879653..0057a2a4 100644 --- a/rare/ui/components/tabs/games/games_tab.py +++ b/rare/ui/components/tabs/games/games_tab.py @@ -8,13 +8,14 @@ # run again. Do not edit this file unless you know what you are doing. -from PyQt5 import QtCore, QtGui, QtWidgets +from PyQt5 import QtCore, QtWidgets class Ui_GamesTab(object): def setupUi(self, GamesTab): GamesTab.setObjectName("GamesTab") GamesTab.resize(1071, 678) + GamesTab.setWindowTitle("StackedWidget") self.games = QtWidgets.QWidget() self.games.setObjectName("games") self.verticalLayout = QtWidgets.QVBoxLayout(self.games) @@ -41,8 +42,7 @@ class Ui_GamesTab(object): QtCore.QMetaObject.connectSlotsByName(GamesTab) def retranslateUi(self, GamesTab): - _translate = QtCore.QCoreApplication.translate - GamesTab.setWindowTitle(_translate("GamesTab", "StackedWidget")) + pass if __name__ == "__main__": diff --git a/rare/ui/components/tabs/games/games_tab.ui b/rare/ui/components/tabs/games/games_tab.ui index 4091e3b7..08e73954 100644 --- a/rare/ui/components/tabs/games/games_tab.ui +++ b/rare/ui/components/tabs/games/games_tab.ui @@ -11,7 +11,7 @@ - StackedWidget + StackedWidget diff --git a/rare/ui/components/tabs/settings/legendary.py b/rare/ui/components/tabs/settings/legendary.py index 6ee414e8..281caaa0 100644 --- a/rare/ui/components/tabs/settings/legendary.py +++ b/rare/ui/components/tabs/settings/legendary.py @@ -15,6 +15,7 @@ class Ui_LegendarySettings(object): def setupUi(self, LegendarySettings): LegendarySettings.setObjectName("LegendarySettings") LegendarySettings.resize(796, 732) + LegendarySettings.setWindowTitle("LegendarySettings") self.settings_layout = QtWidgets.QHBoxLayout(LegendarySettings) self.settings_layout.setObjectName("settings_layout") self.left_layout = QtWidgets.QVBoxLayout() @@ -103,6 +104,7 @@ class Ui_LegendarySettings(object): self.manifest_path_layout.setObjectName("manifest_path_layout") self.egl_sync_layout.addLayout(self.manifest_path_layout) self.manifest_path_info = QtWidgets.QLabel(self.egl_sync_group) + self.manifest_path_info.setText("TextLabel") self.manifest_path_info.setObjectName("manifest_path_info") self.egl_sync_layout.addWidget(self.manifest_path_info) self.export_import_layout = QtWidgets.QHBoxLayout() @@ -235,7 +237,6 @@ class Ui_LegendarySettings(object): def retranslateUi(self, LegendarySettings): _translate = QtCore.QCoreApplication.translate - LegendarySettings.setWindowTitle(_translate("LegendarySettings", "LegendarySettings")) self.install_dir_group.setTitle(_translate("LegendarySettings", "Default Installation Directory")) self.download_group.setTitle(_translate("LegendarySettings", "Download Settings")) self.max_workers_label.setText(_translate("LegendarySettings", "Max Workers")) @@ -247,7 +248,6 @@ class Ui_LegendarySettings(object): self.preferred_cdn_line.setPlaceholderText(_translate("LegendarySettings", "Default")) self.disable_https_label.setText(_translate("LegendarySettings", "Disable HTTPS")) self.egl_sync_group.setTitle(_translate("LegendarySettings", "Sync with Epic Games Launcher")) - self.manifest_path_info.setText(_translate("LegendarySettings", "TextLabel")) self.export_group.setTitle(_translate("LegendarySettings", "Exportable Games")) self.export_label.setText(_translate("LegendarySettings", "No games to export to EGS")) self.export_all_button.setText(_translate("LegendarySettings", "Export all Games")) @@ -267,7 +267,6 @@ class Ui_LegendarySettings(object): if __name__ == "__main__": import sys - app = QtWidgets.QApplication(sys.argv) LegendarySettings = QtWidgets.QWidget() ui = Ui_LegendarySettings() diff --git a/rare/ui/components/tabs/settings/legendary.ui b/rare/ui/components/tabs/settings/legendary.ui index bb18c87f..ef004e70 100644 --- a/rare/ui/components/tabs/settings/legendary.ui +++ b/rare/ui/components/tabs/settings/legendary.ui @@ -11,7 +11,7 @@ - LegendarySettings + LegendarySettings @@ -172,7 +172,7 @@ - TextLabel + TextLabel diff --git a/rare/ui/components/tabs/settings/rare.py b/rare/ui/components/tabs/settings/rare.py index bd6eec80..6b77cdf0 100644 --- a/rare/ui/components/tabs/settings/rare.py +++ b/rare/ui/components/tabs/settings/rare.py @@ -15,6 +15,7 @@ class Ui_RareSettings(object): def setupUi(self, RareSettings): RareSettings.setObjectName("RareSettings") RareSettings.resize(674, 532) + RareSettings.setWindowTitle("RareSettings") self.rare_layout = QtWidgets.QHBoxLayout(RareSettings) self.rare_layout.setObjectName("rare_layout") self.left_layout = QtWidgets.QVBoxLayout() @@ -149,7 +150,6 @@ class Ui_RareSettings(object): def retranslateUi(self, RareSettings): _translate = QtCore.QCoreApplication.translate - RareSettings.setWindowTitle(_translate("RareSettings", "RareSettings")) self.interface_group.setTitle(_translate("RareSettings", "Interface")) self.lang_label.setText(_translate("RareSettings", "Language")) self.color_label.setText(_translate("RareSettings", "Color Scheme")) diff --git a/rare/ui/components/tabs/settings/rare.ui b/rare/ui/components/tabs/settings/rare.ui index d02476f1..36cd8814 100644 --- a/rare/ui/components/tabs/settings/rare.ui +++ b/rare/ui/components/tabs/settings/rare.ui @@ -11,7 +11,7 @@ - RareSettings + RareSettings diff --git a/rare/ui/components/tabs/settings/rpc_settings.py b/rare/ui/components/tabs/settings/rpc_settings.py index 8c95e1fe..21c4d275 100644 --- a/rare/ui/components/tabs/settings/rpc_settings.py +++ b/rare/ui/components/tabs/settings/rpc_settings.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'rpc_settings.ui' +# Form implementation generated from reading ui file 'rare/ui/components/tabs/settings/rpc_settings.ui' # # Created by: PyQt5 UI code generator 5.15.4 # @@ -14,6 +14,8 @@ from PyQt5 import QtCore, QtWidgets class Ui_RPCSettings(object): def setupUi(self, RPCSettings): RPCSettings.setObjectName("RPCSettings") + RPCSettings.resize(174, 146) + RPCSettings.setWindowTitle("DiscordRPC") self.layout = QtWidgets.QGridLayout(RPCSettings) self.layout.setObjectName("layout") self.enable = QtWidgets.QComboBox(RPCSettings) @@ -45,7 +47,6 @@ class Ui_RPCSettings(object): def retranslateUi(self, RPCSettings): _translate = QtCore.QCoreApplication.translate - RPCSettings.setWindowTitle(_translate("RPCSettings", "DiscordRPC")) RPCSettings.setTitle(_translate("RPCSettings", "Discord RPC")) self.enable.setItemText(0, _translate("RPCSettings", "When Playing")) self.enable.setItemText(1, _translate("RPCSettings", "Always")) @@ -58,7 +59,6 @@ class Ui_RPCSettings(object): if __name__ == "__main__": import sys - app = QtWidgets.QApplication(sys.argv) RPCSettings = QtWidgets.QGroupBox() ui = Ui_RPCSettings() diff --git a/rare/ui/components/tabs/settings/rpc_settings.ui b/rare/ui/components/tabs/settings/rpc_settings.ui index ea0a9c7b..a2b82103 100644 --- a/rare/ui/components/tabs/settings/rpc_settings.ui +++ b/rare/ui/components/tabs/settings/rpc_settings.ui @@ -2,8 +2,16 @@ RPCSettings + + + 0 + 0 + 174 + 146 + + - DiscordRPC + DiscordRPC Discord RPC diff --git a/rare/ui/components/tabs/store/browse_games.py b/rare/ui/components/tabs/store/browse_games.py index af8dddbe..c5dd3b41 100644 --- a/rare/ui/components/tabs/store/browse_games.py +++ b/rare/ui/components/tabs/store/browse_games.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'browse_games.ui' +# Form implementation generated from reading ui file 'rare/ui/components/tabs/store/browse_games.ui' # # Created by: PyQt5 UI code generator 5.15.4 # @@ -15,6 +15,7 @@ class Ui_browse_games(object): def setupUi(self, browse_games): browse_games.setObjectName("browse_games") browse_games.resize(706, 541) + browse_games.setWindowTitle("Form") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(browse_games) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.stack = QtWidgets.QStackedWidget(browse_games) @@ -110,7 +111,6 @@ class Ui_browse_games(object): def retranslateUi(self, browse_games): _translate = QtCore.QCoreApplication.translate - browse_games.setWindowTitle(_translate("browse_games", "Form")) self.error_label.setText(_translate("browse_games", "An error occured")) self.price_gb.setTitle(_translate("browse_games", "Price")) self.clear_price.setText(_translate("browse_games", "Clear price filter")) diff --git a/rare/ui/components/tabs/store/browse_games.ui b/rare/ui/components/tabs/store/browse_games.ui index b4516ccc..46ca9b2b 100644 --- a/rare/ui/components/tabs/store/browse_games.ui +++ b/rare/ui/components/tabs/store/browse_games.ui @@ -11,7 +11,7 @@ - Form + Form @@ -138,13 +138,13 @@ - - - - Discount - - - + + + + Discount + + + @@ -188,11 +188,11 @@ 20 - 40 - - - - + 40 + + + + diff --git a/rare/ui/components/tabs/store/shop_game_info.py b/rare/ui/components/tabs/store/shop_game_info.py index c9611258..250dd8c8 100644 --- a/rare/ui/components/tabs/store/shop_game_info.py +++ b/rare/ui/components/tabs/store/shop_game_info.py @@ -15,6 +15,7 @@ class Ui_shop_info(object): def setupUi(self, shop_info): shop_info.setObjectName("shop_info") shop_info.resize(702, 468) + shop_info.setWindowTitle("Form") self.verticalLayout = QtWidgets.QVBoxLayout(shop_info) self.verticalLayout.setObjectName("verticalLayout") self.back_button = QtWidgets.QPushButton(shop_info) @@ -50,13 +51,16 @@ class Ui_shop_info(object): self.owned_label.setObjectName("owned_label") self.verticalLayout_2.addWidget(self.owned_label) self.price = QtWidgets.QLabel(shop_info) - self.price.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse) + self.price.setText("TextLabel") + self.price.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse | QtCore.Qt.TextSelectableByMouse) self.price.setObjectName("price") self.verticalLayout_2.addWidget(self.price) self.discount_price = QtWidgets.QLabel(shop_info) + self.discount_price.setText("TextLabel") self.discount_price.setObjectName("discount_price") self.verticalLayout_2.addWidget(self.discount_price) self.tags = QtWidgets.QLabel(shop_info) + self.tags.setText("TextLabel") self.tags.setObjectName("tags") self.verticalLayout_2.addWidget(self.tags) self.open_store_button = QtWidgets.QPushButton(shop_info) @@ -100,14 +104,10 @@ class Ui_shop_info(object): def retranslateUi(self, shop_info): _translate = QtCore.QCoreApplication.translate - shop_info.setWindowTitle(_translate("shop_info", "Form")) self.back_button.setText(_translate("shop_info", "Back")) self.title.setText(_translate("shop_info", "Error")) self.dev.setText(_translate("shop_info", "TextLabel")) self.owned_label.setText(_translate("shop_info", "You already own this game")) - self.price.setText(_translate("shop_info", "TextLabel")) - self.discount_price.setText(_translate("shop_info", "TextLabel")) - self.tags.setText(_translate("shop_info", "TextLabel")) self.open_store_button.setText(_translate("shop_info", "Buy Game in Epic Games Store")) self.wishlist_button.setText(_translate("shop_info", "Add to wishlist")) self.req_group_box.setTitle(_translate("shop_info", "Requirements")) diff --git a/rare/ui/components/tabs/store/shop_game_info.ui b/rare/ui/components/tabs/store/shop_game_info.ui index fb6e3314..f0c11b7e 100644 --- a/rare/ui/components/tabs/store/shop_game_info.ui +++ b/rare/ui/components/tabs/store/shop_game_info.ui @@ -11,7 +11,7 @@ - Form + Form @@ -78,7 +78,7 @@ - TextLabel + TextLabel Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse @@ -88,14 +88,14 @@ - TextLabel + TextLabel - TextLabel + TextLabel diff --git a/rare/ui/components/tabs/store/store.py b/rare/ui/components/tabs/store/store.py index 08c3df0e..c16a2377 100644 --- a/rare/ui/components/tabs/store/store.py +++ b/rare/ui/components/tabs/store/store.py @@ -8,13 +8,14 @@ # run again. Do not edit this file unless you know what you are doing. -from PyQt5 import QtCore, QtGui, QtWidgets +from PyQt5 import QtCore, QtWidgets class Ui_ShopWidget(object): def setupUi(self, ShopWidget): ShopWidget.setObjectName("ShopWidget") ShopWidget.resize(850, 572) + ShopWidget.setWindowTitle("Form") self.verticalLayout_7 = QtWidgets.QVBoxLayout(ShopWidget) self.verticalLayout_7.setObjectName("verticalLayout_7") self.horizontalLayout_2 = QtWidgets.QHBoxLayout() @@ -150,7 +151,6 @@ class Ui_ShopWidget(object): def retranslateUi(self, ShopWidget): _translate = QtCore.QCoreApplication.translate - ShopWidget.setWindowTitle(_translate("ShopWidget", "Form")) self.free_game_group_box.setTitle(_translate("ShopWidget", "Free Games")) self.discounts_gb.setTitle(_translate("ShopWidget", "Discounts from your wishlist")) self.filter_game_gb.setTitle(_translate("ShopWidget", "Games")) diff --git a/rare/ui/components/tabs/store/store.ui b/rare/ui/components/tabs/store/store.ui index 773c8286..c1d7d2f1 100644 --- a/rare/ui/components/tabs/store/store.ui +++ b/rare/ui/components/tabs/store/store.ui @@ -11,7 +11,7 @@ - Form + Form diff --git a/rare/ui/components/tabs/store/wishlist.py b/rare/ui/components/tabs/store/wishlist.py index f5532ace..3ef63d01 100644 --- a/rare/ui/components/tabs/store/wishlist.py +++ b/rare/ui/components/tabs/store/wishlist.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'wishlist.ui' +# Form implementation generated from reading ui file 'rare/ui/components/tabs/store/wishlist.ui' # # Created by: PyQt5 UI code generator 5.15.4 # @@ -15,6 +15,7 @@ class Ui_Wishlist(object): def setupUi(self, Wishlist): Wishlist.setObjectName("Wishlist") Wishlist.resize(736, 398) + Wishlist.setWindowTitle("StackedWidget") self.page = QtWidgets.QWidget() self.page.setObjectName("page") self.verticalLayout = QtWidgets.QVBoxLayout(self.page) @@ -92,7 +93,6 @@ class Ui_Wishlist(object): def retranslateUi(self, Wishlist): _translate = QtCore.QCoreApplication.translate - Wishlist.setWindowTitle(_translate("Wishlist", "StackedWidget")) self.title_label.setText(_translate("Wishlist", "Wishlist")) self.sort_label.setText(_translate("Wishlist", "Sort by")) self.sort_cb.setItemText(0, _translate("Wishlist", "Name")) @@ -108,7 +108,6 @@ class Ui_Wishlist(object): if __name__ == "__main__": import sys - app = QtWidgets.QApplication(sys.argv) Wishlist = QtWidgets.QStackedWidget() ui = Ui_Wishlist() diff --git a/rare/ui/components/tabs/store/wishlist.ui b/rare/ui/components/tabs/store/wishlist.ui index 190d6847..b10eea91 100644 --- a/rare/ui/components/tabs/store/wishlist.ui +++ b/rare/ui/components/tabs/store/wishlist.ui @@ -11,7 +11,7 @@ - StackedWidget + StackedWidget diff --git a/rare/ui/components/tabs/store/wishlist_widget.py b/rare/ui/components/tabs/store/wishlist_widget.py index 1355cdb7..02ec722d 100644 --- a/rare/ui/components/tabs/store/wishlist_widget.py +++ b/rare/ui/components/tabs/store/wishlist_widget.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Form implementation generated from reading ui file 'wishlist_widget.ui' +# Form implementation generated from reading ui file 'rare/ui/components/tabs/store/wishlist_widget.ui' # # Created by: PyQt5 UI code generator 5.15.4 # @@ -15,6 +15,7 @@ class Ui_WishlistWidget(object): def setupUi(self, WishlistWidget): WishlistWidget.setObjectName("WishlistWidget") WishlistWidget.resize(523, 172) + WishlistWidget.setWindowTitle("Form") self.horizontalLayout = QtWidgets.QHBoxLayout(WishlistWidget) self.horizontalLayout.setObjectName("horizontalLayout") self.widget = QtWidgets.QWidget(WishlistWidget) @@ -71,7 +72,6 @@ class Ui_WishlistWidget(object): def retranslateUi(self, WishlistWidget): _translate = QtCore.QCoreApplication.translate - WishlistWidget.setWindowTitle(_translate("WishlistWidget", "Form")) self.title_label.setText(_translate("WishlistWidget", "TextLabel")) self.developer.setText(_translate("WishlistWidget", "TextLabel")) self.discount_price.setText(_translate("WishlistWidget", "TextLabel")) @@ -80,7 +80,6 @@ class Ui_WishlistWidget(object): if __name__ == "__main__": import sys - app = QtWidgets.QApplication(sys.argv) WishlistWidget = QtWidgets.QWidget() ui = Ui_WishlistWidget() diff --git a/rare/ui/components/tabs/store/wishlist_widget.ui b/rare/ui/components/tabs/store/wishlist_widget.ui index 6d9b4446..23a2b6d9 100644 --- a/rare/ui/components/tabs/store/wishlist_widget.ui +++ b/rare/ui/components/tabs/store/wishlist_widget.ui @@ -11,7 +11,7 @@ - Form + Form diff --git a/rare/ui/utils/pathedit.py b/rare/ui/utils/pathedit.py index 943ca95e..c229820b 100644 --- a/rare/ui/utils/pathedit.py +++ b/rare/ui/utils/pathedit.py @@ -8,13 +8,14 @@ # run again. Do not edit this file unless you know what you are doing. -from PyQt5 import QtCore, QtGui, QtWidgets +from PyQt5 import QtCore, QtWidgets class Ui_PathEdit(object): def setupUi(self, PathEdit): PathEdit.setObjectName("PathEdit") PathEdit.resize(385, 30) + PathEdit.setWindowTitle("PathEdit") self.layout_pathedit = QtWidgets.QHBoxLayout(PathEdit) self.layout_pathedit.setContentsMargins(0, 0, 0, 0) self.layout_pathedit.setObjectName("layout_pathedit") @@ -31,7 +32,6 @@ class Ui_PathEdit(object): def retranslateUi(self, PathEdit): _translate = QtCore.QCoreApplication.translate - PathEdit.setWindowTitle(_translate("PathEdit", "PathEdit")) self.text_edit.setPlaceholderText(_translate("PathEdit", "Default")) self.path_select.setText(_translate("PathEdit", "Browse...")) diff --git a/rare/ui/utils/pathedit.ui b/rare/ui/utils/pathedit.ui index ce0f08b3..5de84e4b 100644 --- a/rare/ui/utils/pathedit.ui +++ b/rare/ui/utils/pathedit.ui @@ -11,7 +11,7 @@ - PathEdit + PathEdit