diff options
| author | 2016-02-19 15:58:46 +0100 | |
|---|---|---|
| committer | 2016-02-19 15:58:46 +0100 | |
| commit | cc1ca5eb93eb828a945e0c5ff8166b46387ed2eb (patch) | |
| tree | 19d3742581f657e99052cfb34509fca3cea507f3 /src/emu/ui/ctrlmenu.cpp | |
| parent | 288ac7f9490d170e6e2ce1c267ae32eafd1f423e (diff) | |
Doing some preps for internationalization (nw)
Diffstat (limited to 'src/emu/ui/ctrlmenu.cpp')
| -rw-r--r-- | src/emu/ui/ctrlmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/ctrlmenu.cpp b/src/emu/ui/ctrlmenu.cpp index 5d006693faf..74b35abd8e3 100644 --- a/src/emu/ui/ctrlmenu.cpp +++ b/src/emu/ui/ctrlmenu.cpp @@ -103,7 +103,7 @@ void ui_menu_controller_mapping::custom_render(void *selectedref, float top, flo float width, maxwidth = origx2 - origx1; ui_manager &mui = machine().ui(); - mui.draw_text_full(container, "Device Mapping", 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, + mui.draw_text_full(container, _("Device Mapping"), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); width += 2 * UI_BOX_LR_BORDER; maxwidth = MAX(maxwidth, width); @@ -123,7 +123,7 @@ void ui_menu_controller_mapping::custom_render(void *selectedref, float top, flo y1 += UI_BOX_TB_BORDER; // draw the text within it - mui.draw_text_full(container, "Device Mapping", x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, + mui.draw_text_full(container, _("Device Mapping"), x1, y1, x2 - x1, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NORMAL, UI_TEXT_COLOR, UI_TEXT_BG_COLOR, nullptr, nullptr); } |
