Skip to content

Commit

Permalink
Minor tweaks to user map/scenario default descriptions
Browse files Browse the repository at this point in the history
* Added period to "No description available." Technically this is just the default no-description text, but it
  appears most often for custom scenarios.
* "User made map" -> "Custom map."
  • Loading branch information
Vultraz committed Oct 6, 2017
1 parent 8517977 commit b2fcc8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game_initialization/create_engine.cpp
Expand Up @@ -146,7 +146,7 @@ std::string user_map::description() const
}

// map error message
return _("User made map");
return _("Custom map.");
}

random_map::random_map(const config& data)
Expand Down
2 changes: 1 addition & 1 deletion src/gui/dialogs/multiplayer/mp_create_game.cpp
Expand Up @@ -501,7 +501,7 @@ void mp_create_game::show_description(window& window, const std::string& new_des
{
styled_widget& description = find_widget<styled_widget>(&window, "description", false);

description.set_label(!new_description.empty() ? new_description : _("No description available"));
description.set_label(!new_description.empty() ? new_description : _("No description available."));
description.set_use_markup(true);
}

Expand Down

0 comments on commit b2fcc8d

Please sign in to comment.