diff options
author | flow <flowlnlnln@gmail.com> | 2023-01-08 12:28:55 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-01-13 16:23:09 -0300 |
commit | bd36f8e220fb3019b0a9588b21ed1cbce5afbf93 (patch) | |
tree | bdf3f7d8149fe9aa291dc30732222f1f18c2d755 /launcher/ui/dialogs/ResourceDownloadDialog.h | |
parent | 3a168ba6dd3ea0fecce1e88a1d7538647b350c28 (diff) | |
download | PrismLauncher-bd36f8e220fb3019b0a9588b21ed1cbce5afbf93.tar.gz PrismLauncher-bd36f8e220fb3019b0a9588b21ed1cbce5afbf93.tar.bz2 PrismLauncher-bd36f8e220fb3019b0a9588b21ed1cbce5afbf93.zip |
fix(RD): set resource strings for ReviewMessageBox too
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/dialogs/ResourceDownloadDialog.h')
-rw-r--r-- | launcher/ui/dialogs/ResourceDownloadDialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/ui/dialogs/ResourceDownloadDialog.h b/launcher/ui/dialogs/ResourceDownloadDialog.h index 34120350..19843532 100644 --- a/launcher/ui/dialogs/ResourceDownloadDialog.h +++ b/launcher/ui/dialogs/ResourceDownloadDialog.h @@ -52,9 +52,9 @@ class ResourceDownloadDialog : public QDialog, public BasePageProvider { void connectButtons(); //: String that gets appended to the download dialog title ("Download " + resourcesString()) - [[nodiscard]] virtual QString resourceString() const { return tr("resources"); } + [[nodiscard]] virtual QString resourcesString() const { return tr("resources"); } - QString dialogTitle() override { return tr("Download %1").arg(resourceString()); }; + QString dialogTitle() override { return tr("Download %1").arg(resourcesString()); }; bool selectPage(QString pageId); ResourcePage* getSelectedPage(); @@ -99,7 +99,7 @@ class ModDownloadDialog final : public ResourceDownloadDialog { ~ModDownloadDialog() override = default; //: String that gets appended to the mod download dialog title ("Download " + resourcesString()) - [[nodiscard]] QString resourceString() const override { return tr("mods"); } + [[nodiscard]] QString resourcesString() const override { return tr("mods"); } [[nodiscard]] QString geometrySaveKey() const override { return "ModDownloadGeometry"; } QList<BasePage*> getPages() override; |