summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/info.cpp')
-rw-r--r--src/frontend/mame/ui/info.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/frontend/mame/ui/info.cpp b/src/frontend/mame/ui/info.cpp
index 1c9e649dce7..e3f557ed54e 100644
--- a/src/frontend/mame/ui/info.cpp
+++ b/src/frontend/mame/ui/info.cpp
@@ -28,27 +28,27 @@ constexpr machine_flags::type MACHINE_WARNINGS = machine_flags::NO_COCKTAIL | m
constexpr machine_flags::type MACHINE_BTANB = machine_flags::NO_SOUND_HW | machine_flags::IS_INCOMPLETE;
constexpr std::pair<device_t::feature_type, char const *> FEATURE_NAMES[] = {
- { device_t::feature::PROTECTION, __("protection") },
- { device_t::feature::TIMING, __("timing") },
- { device_t::feature::GRAPHICS, __("graphics") },
- { device_t::feature::PALETTE, __("color palette") },
- { device_t::feature::SOUND, __("sound") },
- { device_t::feature::CAPTURE, __("capture hardware") },
- { device_t::feature::CAMERA, __("camera") },
- { device_t::feature::MICROPHONE, __("microphone") },
- { device_t::feature::CONTROLS, __("controls") },
- { device_t::feature::KEYBOARD, __("keyboard") },
- { device_t::feature::MOUSE, __("mouse") },
- { device_t::feature::MEDIA, __("media") },
- { device_t::feature::DISK, __("disk") },
- { device_t::feature::PRINTER, __("printer") },
- { device_t::feature::TAPE, __("magnetic tape") },
- { device_t::feature::PUNCH, __("punch tape") },
- { device_t::feature::DRUM, __("magnetic drum") },
- { device_t::feature::ROM, __("solid state storage") },
- { device_t::feature::COMMS, __("communications") },
- { device_t::feature::LAN, __("LAN") },
- { device_t::feature::WAN, __("WAN") } };
+ { device_t::feature::PROTECTION, N_p("emulation-feature", "protection") },
+ { device_t::feature::TIMING, N_p("emulation-feature", "timing") },
+ { device_t::feature::GRAPHICS, N_p("emulation-feature", "graphics") },
+ { device_t::feature::PALETTE, N_p("emulation-feature", "color palette") },
+ { device_t::feature::SOUND, N_p("emulation-feature", "sound") },
+ { device_t::feature::CAPTURE, N_p("emulation-feature", "capture hardware") },
+ { device_t::feature::CAMERA, N_p("emulation-feature", "camera") },
+ { device_t::feature::MICROPHONE, N_p("emulation-feature", "microphone") },
+ { device_t::feature::CONTROLS, N_p("emulation-feature", "controls") },
+ { device_t::feature::KEYBOARD, N_p("emulation-feature", "keyboard") },
+ { device_t::feature::MOUSE, N_p("emulation-feature", "mouse") },
+ { device_t::feature::MEDIA, N_p("emulation-feature", "media") },
+ { device_t::feature::DISK, N_p("emulation-feature", "disk") },
+ { device_t::feature::PRINTER, N_p("emulation-feature", "printer") },
+ { device_t::feature::TAPE, N_p("emulation-feature", "magnetic tape") },
+ { device_t::feature::PUNCH, N_p("emulation-feature", "punch tape") },
+ { device_t::feature::DRUM, N_p("emulation-feature", "magnetic drum") },
+ { device_t::feature::ROM, N_p("emulation-feature", "solid state storage") },
+ { device_t::feature::COMMS, N_p("emulation-feature", "communications") },
+ { device_t::feature::LAN, N_p("emulation-feature", "LAN") },
+ { device_t::feature::WAN, N_p("emulation-feature", "WAN") } };
} // anonymous namespace
@@ -253,7 +253,7 @@ std::string machine_info::warnings_string() const
{
if (unemulated_features() & feature.first)
{
- util::stream_format(buf, first ? _("%s") : _(", %s"), _(feature.second));
+ util::stream_format(buf, first ? _("%s") : _(", %s"), _("emulation-feature", feature.second));
first = false;
}
}
@@ -269,7 +269,7 @@ std::string machine_info::warnings_string() const
{
if (imperfect_features() & feature.first)
{
- util::stream_format(buf, first ? _("%s") : _(", %s"), _(feature.second));
+ util::stream_format(buf, first ? _("%s") : _(", %s"), _("emulation-feature", feature.second));
first = false;
}
}