Skip to content

Commit

Permalink
new wording and missing campaign id.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Nov 15, 2023
1 parent fd4b74a commit a157150
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/gui/dialogs/campaign_selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,9 @@ void campaign_selection::pre_show(window& window)
widget_data data;
widget_item item;

item["label"] = _("Most mainline campaigns are missing. If you’re on Linux, then this most likely means the incorrect package was installed. To get the rest of the campaigns you will need to either: correctly install the wesnoth metapackage, install each campaign’s package one by one, or install Wesnoth via Steam or Flatpak.");
// TRANSLATORS: "more than 15" gives a little leeway to add or remove one without changing the translatable text.
// It's already ambiguous, 1.18 has 19 campaigns, if you include the tutorial and multiplayer-only World Conquest.
item["label"] = _("Wesnoth normally includes more than 15 mainline campaigns, even before installing any from the add-ons server. If you’ve installed the game via a package manager, there’s probably a separate package to install the complete game data.");
data.emplace("description", item);

pages.add_page(data);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/dialogs/campaign_selection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class campaign_selection : public modal_dialog

std::vector<std::string> last_search_words_;

inline const static std::string missing_campaign_ = "missing-campaign";
inline const static std::string missing_campaign_ = "////missing-campaign////";
};

} // namespace dialogs

0 comments on commit a157150

Please sign in to comment.