mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 00:29:09 +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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user