summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/dsplmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/dsplmenu.cpp')
-rw-r--r--src/emu/ui/dsplmenu.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/emu/ui/dsplmenu.cpp b/src/emu/ui/dsplmenu.cpp
index b9f9b3f9650..ed443815b25 100644
--- a/src/emu/ui/dsplmenu.cpp
+++ b/src/emu/ui/dsplmenu.cpp
@@ -35,21 +35,21 @@ ui_menu_display_options::video_modes ui_menu_display_options::m_video = {
ui_menu_display_options::dspl_option ui_menu_display_options::m_options[] = {
{ 0, nullptr, nullptr },
- { 0, "Video Mode", OSDOPTION_VIDEO },
+ { 0, __("Video Mode"), OSDOPTION_VIDEO },
#if defined(UI_WINDOWS) && !defined(UI_SDL)
- { 0, "Hardware Stretch", WINOPTION_HWSTRETCH },
- { 0, "Triple Buffering", WINOPTION_TRIPLEBUFFER },
- { 0, "HLSL", WINOPTION_HLSL_ENABLE },
+ { 0, __("Hardware Stretch"), WINOPTION_HWSTRETCH },
+ { 0, __("Triple Buffering"), WINOPTION_TRIPLEBUFFER },
+ { 0, __("HLSL"), WINOPTION_HLSL_ENABLE },
#endif
- { 0, "GLSL", OSDOPTION_GL_GLSL },
- { 0, "Bilinear Filtering", OSDOPTION_FILTER },
- { 0, "Bitmap Prescaling", OSDOPTION_PRESCALE },
- { 0, "Multi-Threaded Rendering", OSDOPTION_MULTITHREADING },
- { 0, "Window Mode", OSDOPTION_WINDOW },
- { 0, "Enforce Aspect Ratio", OSDOPTION_KEEPASPECT },
- { 0, "Start Out Maximized", OSDOPTION_MAXIMIZE },
- { 0, "Synchronized Refresh", OSDOPTION_SYNCREFRESH },
- { 0, "Wait Vertical Sync", OSDOPTION_WAITVSYNC }
+ { 0, __("GLSL"), OSDOPTION_GL_GLSL },
+ { 0, __("Bilinear Filtering"), OSDOPTION_FILTER },
+ { 0, __("Bitmap Prescaling"), OSDOPTION_PRESCALE },
+ { 0, __("Multi-Threaded Rendering"), OSDOPTION_MULTITHREADING },
+ { 0, __("Window Mode"), OSDOPTION_WINDOW },
+ { 0, __("Enforce Aspect Ratio"), OSDOPTION_KEEPASPECT },
+ { 0, __("Start Out Maximized"), OSDOPTION_MAXIMIZE },
+ { 0, __("Synchronized Refresh"), OSDOPTION_SYNCREFRESH },
+ { 0, __("Wait Vertical Sync"), OSDOPTION_WAITVSYNC }
};
@@ -176,17 +176,17 @@ void ui_menu_display_options::populate()
// add video mode option
std::string v_text(m_video[m_list[m_options[1].status]]);
UINT32 arrow_flags = get_arrow_flags(0, m_list.size() - 1, m_options[1].status);
- item_append(m_options[1].description, v_text.c_str(), arrow_flags, (void *)(FPTR)1);
+ item_append(_(m_options[1].description), v_text.c_str(), arrow_flags, (void *)(FPTR)1);
// add options items
for (int opt = 2; opt < ARRAY_LENGTH(m_options); ++opt)
if (strcmp(m_options[opt].option, OSDOPTION_PRESCALE) != 0)
- item_append(m_options[opt].description, m_options[opt].status ? "On" : "Off",
+ item_append(_(m_options[opt].description), m_options[opt].status ? _("On") : _("Off"),
m_options[opt].status ? MENU_FLAG_RIGHT_ARROW : MENU_FLAG_LEFT_ARROW, (void *)(FPTR)opt);
else
{
arrow_flags = get_arrow_flags(1, 3, m_options[opt].status);
- item_append(m_options[opt].description, string_format("%d", m_options[opt].status).c_str(), arrow_flags, (void *)(FPTR)opt);
+ item_append(_(m_options[opt].description), string_format("%d", m_options[opt].status).c_str(), arrow_flags, (void *)(FPTR)opt);
}
item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);