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.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/emu/ui/dsplmenu.cpp b/src/emu/ui/dsplmenu.cpp
index 57797f6281e..93cf3771133 100644
--- a/src/emu/ui/dsplmenu.cpp
+++ b/src/emu/ui/dsplmenu.cpp
@@ -79,7 +79,11 @@ ui_menu_display_options::ui_menu_display_options(running_machine &machine, rende
break;
p2 = descr.find_first_of(delim, p1 + 1);
if (p2 != std::string::npos)
+ {
+ std::string txt(descr.substr(p1, p2 - p1));
+ if (txt != "or" && txt != "none")
m_list.push_back(descr.substr(p1, p2 - p1));
+ }
else
{
m_list.push_back(descr.substr(p1));
@@ -198,7 +202,7 @@ void ui_menu_display_options::custom_render(void *selectedref, float top, float
{
float width;
ui_manager &mui = machine().ui();
- mui.draw_text_full(container, "Display Options", 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE,
+ mui.draw_text_full(container, _("Display Options"), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE,
ARGB_WHITE, ARGB_BLACK, &width, nullptr);
width += 2 * UI_BOX_LR_BORDER;
float maxwidth = MAX(origx2 - origx1, width);
@@ -218,6 +222,6 @@ void ui_menu_display_options::custom_render(void *selectedref, float top, float
y1 += UI_BOX_TB_BORDER;
// draw the text within it
- mui.draw_text_full(container, "Display Options", x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NORMAL,
+ mui.draw_text_full(container, _("Display Options"), x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NORMAL,
UI_TEXT_COLOR, UI_TEXT_BG_COLOR, nullptr, nullptr);
}