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/datmenu.cpp | |
parent | 3be56e3cef6e7778c0ad5b7aac253e6da2876cd2 (diff) | |
parent | 72dd79838fc7b942cedc9099a9cffb01b3bb8637 (diff) |
Merge pull request #13 from mamedev/master
Sync to base master
Diffstat (limited to 'src/emu/ui/datmenu.cpp')
-rw-r--r-- | src/emu/ui/datmenu.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/emu/ui/datmenu.cpp b/src/emu/ui/datmenu.cpp index 5e2d574edc0..ba8dde22bad 100644 --- a/src/emu/ui/datmenu.cpp +++ b/src/emu/ui/datmenu.cpp @@ -56,9 +56,9 @@ ui_menu_dats_view::ui_menu_dats_view(running_machine &machine, render_container issoft = true; if (machine.datfile().has_software(m_list, m_short, m_parent)) - m_items_list.emplace_back("Software History", UI_HISTORY_LOAD, machine.datfile().rev_history()); + m_items_list.emplace_back(_("Software History"), UI_HISTORY_LOAD, machine.datfile().rev_history()); if (swinfo && !swinfo->usage.empty()) - m_items_list.emplace_back("Software Usage", 0, ""); + m_items_list.emplace_back(_("Software Usage"), 0, ""); } //------------------------------------------------- @@ -196,7 +196,7 @@ void ui_menu_dats_view::custom_render(void *selectedref, float top, float bottom // bottom std::string revision; - revision.assign("Revision: ").append(m_items_list[actual].revision); + revision.assign(_("Revision: ")).append(m_items_list[actual].revision); mui.draw_text_full(container, revision.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); width += 2 * UI_BOX_LR_BORDER; @@ -288,16 +288,16 @@ void ui_menu_dats_view::init_items() { datfile_manager &datfile = machine().datfile(); if (datfile.has_history(m_driver)) - m_items_list.emplace_back("History", UI_HISTORY_LOAD, datfile.rev_history()); + m_items_list.emplace_back(_("History"), UI_HISTORY_LOAD, datfile.rev_history()); if (datfile.has_mameinfo(m_driver)) - m_items_list.emplace_back("Mameinfo", UI_MAMEINFO_LOAD, datfile.rev_mameinfo()); + m_items_list.emplace_back(_("Mameinfo"), UI_MAMEINFO_LOAD, datfile.rev_mameinfo()); if (datfile.has_messinfo(m_driver)) - m_items_list.emplace_back("Messinfo", UI_MESSINFO_LOAD, datfile.rev_messinfo()); + m_items_list.emplace_back(_("Messinfo"), UI_MESSINFO_LOAD, datfile.rev_messinfo()); if (datfile.has_sysinfo(m_driver)) - m_items_list.emplace_back("Sysinfo", UI_SYSINFO_LOAD, datfile.rev_sysinfo()); + m_items_list.emplace_back(_("Sysinfo"), UI_SYSINFO_LOAD, datfile.rev_sysinfo()); if (datfile.has_story(m_driver)) - m_items_list.emplace_back("Mamescore", UI_STORY_LOAD, datfile.rev_storyinfo()); + m_items_list.emplace_back(_("Mamescore"), UI_STORY_LOAD, datfile.rev_storyinfo()); if (datfile.has_command(m_driver)) - m_items_list.emplace_back("Command", UI_COMMAND_LOAD, ""); + m_items_list.emplace_back(_("Command"), UI_COMMAND_LOAD, ""); } |