Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Add-Ons to Mods, remove Qt client text #2151

Merged
merged 2 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions client/page_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ page_main::page_main(QWidget *parent, fc_client *gui) : QWidget(parent)
ui.bload->setText(_("Load saved game"));
ui.bconnect->setText(_("Connect to network game"));
ui.bquit->setText(_("Quit"));
ui.baddon->setText(_("Add-Ons"));
ui.bmods->setText(_("Mods"));

connect(ui.btut, &QAbstractButton::clicked, gui,
&fc_client::start_tutorial);
connect(ui.bstart, &QAbstractButton::clicked, gui,
&fc_client::start_new_game);
connect(ui.baddon, &QAbstractButton::clicked, gui,
connect(ui.bmods, &QAbstractButton::clicked, gui,
&fc_client::load_modpack);
connect(ui.bscenario, &QPushButton::clicked,
[gui]() { gui->switch_page(PAGE_SCENARIO); });
Expand All @@ -46,10 +46,8 @@ page_main::page_main(QWidget *parent, fc_client *gui) : QWidget(parent)
connect(ui.bload, &QPushButton::clicked,
[gui]() { gui->switch_page(PAGE_LOAD); });

// TRANS: "version 2.6.0, Qt client"
msgbuf = QString(_("%1%2, Qt client"))
.arg(word_version())
.arg(freeciv21_version());
// TRANS: "version 2.6.0"
msgbuf = QString(_("%1%2")).arg(word_version()).arg(freeciv21_version());
ui.lversion->setText(QString(msgbuf) + beta);
setLayout(ui.gridLayout);
}
Expand Down
4 changes: 2 additions & 2 deletions client/page_main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
</widget>
</item>
<item row="8" column="0">
<widget class="QPushButton" name="baddon">
<widget class="QPushButton" name="bmods">
<property name="text">
<string>Add Ons</string>
<string>Mods</string>
</property>
<property name="main_pagebt" stdset="0">
<bool>true</bool>
Expand Down
Binary file modified docs/_static/images/gui-elements/start-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading