fix(RD): correctly set the strings for the specific resource names
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
7d128c79a3
commit
b3330cb0da
5 changed files with 14 additions and 11 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue