addon: reorder types and remove comment and remove "UI " from strings
This commit is contained in:
parent
94b075d720
commit
0a602e1c7c
3 changed files with 3 additions and 4 deletions
|
@ -109,11 +109,10 @@ enum ADDON_TYPE {
|
|||
ADDON_MP_MAPS, /**< Multiplayer plain (no WML) map pack. */
|
||||
ADDON_MP_ERA, /**< Multiplayer era. */
|
||||
ADDON_MP_FACTION, /**< Multiplayer faction. */
|
||||
// NOTE: following two still require proper engine support
|
||||
ADDON_MOD, /**< Modification of the game. */
|
||||
ADDON_MEDIA, /**< Miscellaneous content/media (unit packs, terrain packs, music packs, etc.). */
|
||||
ADDON_THEME, /**< GUI2 Themes */
|
||||
ADDON_OTHER, /**< an add-on that fits in no other category */
|
||||
ADDON_THEME, /** GUI2 Themes */
|
||||
ADDON_TYPES_COUNT
|
||||
};
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ const std::vector<std::pair<ADDON_TYPE, std::string>> addon_manager::type_filter
|
|||
{ADDON_MP_FACTION, N_("addons_of_type^MP factions")},
|
||||
{ADDON_MOD, N_("addons_of_type^Modifications")},
|
||||
{ADDON_CORE, N_("addons_of_type^Cores")},
|
||||
{ADDON_THEME, N_("addons_of_type^UI Themes")},
|
||||
{ADDON_THEME, N_("addons_of_type^Themes")},
|
||||
{ADDON_MEDIA, N_("addons_of_type^Resources")},
|
||||
// FIXME: (also in WML) should this and Unknown be a single option in the UI?
|
||||
{ADDON_OTHER, N_("addons_of_type^Other")},
|
||||
|
|
|
@ -179,7 +179,7 @@ void editor_edit_pbl::pre_show()
|
|||
type_list.emplace_back("label", _("Map Pack"));
|
||||
type_list.emplace_back("label", _("Modification"));
|
||||
type_list.emplace_back("label", _("Media"));
|
||||
type_list.emplace_back("label", _("UI Theme"));
|
||||
type_list.emplace_back("label", _("Theme"));
|
||||
type_list.emplace_back("label", _("Other"));
|
||||
types.set_values(type_list);
|
||||
types.set_selected(selected);
|
||||
|
|
Loading…
Add table
Reference in a new issue