diff options
author | 2016-02-22 18:29:53 +0100 | |
---|---|---|
committer | 2016-02-22 18:29:53 +0100 | |
commit | d44f8f4c2bdf19fdd55a45c779b746160d90d4fa (patch) | |
tree | 16d68eab6a3734ac0aaad0a6bc35e764a5a6fde9 /src/emu/ui/selector.cpp | |
parent | 3be56e3cef6e7778c0ad5b7aac253e6da2876cd2 (diff) | |
parent | 72dd79838fc7b942cedc9099a9cffb01b3bb8637 (diff) |
Merge pull request #13 from mamedev/master
Sync to base master
Diffstat (limited to 'src/emu/ui/selector.cpp')
-rw-r--r-- | src/emu/ui/selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/selector.cpp b/src/emu/ui/selector.cpp index c9cc3c7b6c0..f4c94e6bc2d 100644 --- a/src/emu/ui/selector.cpp +++ b/src/emu/ui/selector.cpp @@ -149,7 +149,7 @@ void ui_menu_selector::custom_render(void *selectedref, float top, float bottom, { float width; ui_manager &mui = machine().ui(); - std::string tempbuf = std::string("Selection List - Search: ").append(m_search).append("_"); + std::string tempbuf = std::string(_("Selection List - Search: ")).append(m_search).append("_"); // get the size of the text mui.draw_text_full(container, tempbuf.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, @@ -178,7 +178,7 @@ void ui_menu_selector::custom_render(void *selectedref, float top, float bottom, // bottom text // get the text for 'UI Select' std::string ui_select_text = machine().input().seq_name(machine().ioport().type_seq(IPT_UI_SELECT, 0, SEQ_TYPE_STANDARD)); - tempbuf.assign("Double click or press ").append(ui_select_text).append(" to select"); + tempbuf.assign(_("Double click or press ")).append(ui_select_text).append(_(" to select")); mui.draw_text_full(container, tempbuf.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_NEVER, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); |