mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 12:26:18 +00:00
Adds missing tr functions for certain GUI strings that should be translatable (#2598)
* Adds missing tr functions for certain GUI strings that should be translatable * set clang format off for multi-line strings, set userDir as arg --------- Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
This commit is contained in:
parent
f1aea5176d
commit
0efe9a4d0f
5 changed files with 55 additions and 54 deletions
|
@ -77,11 +77,11 @@ HelpDialog::HelpDialog(bool* open_flag, QWidget* parent) : QDialog(parent) {
|
|||
QVBoxLayout* containerLayout = new QVBoxLayout(containerWidget);
|
||||
|
||||
// Add expandable sections to container layout
|
||||
auto* quickstartSection = new ExpandableSection("Quickstart", quickstart());
|
||||
auto* faqSection = new ExpandableSection("FAQ", faq());
|
||||
auto* syntaxSection = new ExpandableSection("Syntax", syntax());
|
||||
auto* specialSection = new ExpandableSection("Special Bindings", special());
|
||||
auto* bindingsSection = new ExpandableSection("Keybindings", bindings());
|
||||
auto* quickstartSection = new ExpandableSection(tr("Quickstart"), quickstart());
|
||||
auto* faqSection = new ExpandableSection(tr("FAQ"), faq());
|
||||
auto* syntaxSection = new ExpandableSection(tr("Syntax"), syntax());
|
||||
auto* specialSection = new ExpandableSection(tr("Special Bindings"), special());
|
||||
auto* bindingsSection = new ExpandableSection(tr("Keybindings"), bindings());
|
||||
|
||||
containerLayout->addWidget(quickstartSection);
|
||||
containerLayout->addWidget(faqSection);
|
||||
|
@ -109,4 +109,4 @@ HelpDialog::HelpDialog(bool* open_flag, QWidget* parent) : QDialog(parent) {
|
|||
connect(syntaxSection, &ExpandableSection::expandedChanged, this, &HelpDialog::adjustSize);
|
||||
connect(specialSection, &ExpandableSection::expandedChanged, this, &HelpDialog::adjustSize);
|
||||
connect(bindingsSection, &ExpandableSection::expandedChanged, this, &HelpDialog::adjustSize);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue