diff options
author | flow <flowlnlnln@gmail.com> | 2022-12-30 16:59:35 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-01-13 16:23:08 -0300 |
commit | b3330cb0da39db6e8add3bbe35cd6d417374146a (patch) | |
tree | af12118e0606dd57698330a360240fa6eda9fc03 /launcher/ui/pages/modplatform/ResourcePage.h | |
parent | 7d128c79a3cceb5e88157ead72009642ee0e4a07 (diff) | |
download | PrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.tar.gz PrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.tar.bz2 PrismLauncher-b3330cb0da39db6e8add3bbe35cd6d417374146a.zip |
fix(RD): correctly set the strings for the specific resource names
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/pages/modplatform/ResourcePage.h')
-rw-r--r-- | launcher/ui/pages/modplatform/ResourcePage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/ResourcePage.h b/launcher/ui/pages/modplatform/ResourcePage.h index 547c4056..71fc6593 100644 --- a/launcher/ui/pages/modplatform/ResourcePage.h +++ b/launcher/ui/pages/modplatform/ResourcePage.h @@ -36,6 +36,9 @@ class ResourcePage : public QWidget, public BasePage { [[nodiscard]] virtual auto metaEntryBase() const -> QString = 0; [[nodiscard]] virtual auto debugName() const -> QString = 0; + //: The plural version of 'resource' + [[nodiscard]] virtual inline QString resourcesString() const { return tr("resources"); } + //: The singular version of 'resources' [[nodiscard]] virtual inline QString resourceString() const { return tr("resource"); } /* Features this resource's page supports */ |