Addon Manager: Unabbreviate "asc" and "desc".

@jyrkive https://github.com/wesnoth/wesnoth/pull/3418#issuecomment-410433850

(cherry-picked from commit ef71d0efcb)
This commit is contained in:
josteph 2018-08-04 08:55:54 +00:00 committed by Jyrki Vesterinen
parent f12fbb853d
commit 49bad2c725

View file

@ -355,14 +355,12 @@ void addon_manager::pre_show(window& window)
for(const auto& f : all_orders_) {
utils::string_map symbols;
// TRANSLATORS: ascending
symbols["order"] = _("asc");
symbols["order"] = _("ascending");
// TRANSLATORS: Sorting order of dates, oldest first
symbols["datelike_order"] = _("oldest to newest");
config entry{"label", VGETTEXT(f.label.c_str(), symbols)};
order_dropdown_entries.push_back(entry);
// TRANSLATORS: descending
symbols["order"] = _("desc");
symbols["order"] = _("descending");
// TRANSLATORS: Sorting order of dates, newest first
symbols["datelike_order"] = _("newest to oldest");
entry["label"] = VGETTEXT(f.label.c_str(), symbols);