From b7bbfe18975ec73fda36dcb4993b6458e73bf32f Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Sat, 5 Mar 2016 13:13:49 +0100 Subject: selsoft: fixed failure to load software from the BIOS menu selection. (nw) --- src/emu/ui/selsoft.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/ui/selsoft.cpp') diff --git a/src/emu/ui/selsoft.cpp b/src/emu/ui/selsoft.cpp index 2c8fa5135ea..93be1b636ba 100644 --- a/src/emu/ui/selsoft.cpp +++ b/src/emu/ui/selsoft.cpp @@ -2040,7 +2040,7 @@ void ui_bios_selection::handle() { // process the menu const ui_menu_event *event = process(0); - ui_options &moptions = machine().ui().options(); + emu_options &moptions = machine().options(); if (event != nullptr && event->iptkey == IPT_UI_SELECT && event->itemref != nullptr) for (auto & elem : m_bios) if ((void*)&elem.name == event->itemref) @@ -2073,7 +2073,7 @@ void ui_bios_selection::handle() drivlist.next(); software_list_device *swlist = software_list_device::find_by_name(drivlist.config(), ui_swinfo->listname.c_str()); software_info *swinfo = swlist->find(ui_swinfo->shortname.c_str()); - if (!moptions.skip_parts_menu() && swinfo->has_multiple_parts(ui_swinfo->interface.c_str())) + if (!machine().ui().options().skip_parts_menu() && swinfo->has_multiple_parts(ui_swinfo->interface.c_str())) { std::unordered_map parts; for (const software_part *swpart = swinfo->first_part(); swpart != nullptr; swpart = swpart->next()) -- cgit v1.2.3-70-g09d2 From 16aa806e6dc44762525d7b876c5969c224a0dcff Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Sun, 6 Mar 2016 03:06:25 +0100 Subject: fix more unlocalisable stuff and resync translations. nw --- language/Afrikaans/strings.po | 9 +++------ language/Albanian/strings.po | 9 +++------ language/Arabic/strings.po | 9 +++------ language/Basque/strings.po | 9 +++------ language/Belarusian/strings.po | 9 +++------ language/Bosnian/strings.po | 9 +++------ language/Bulgarian/strings.po | 9 +++------ language/Burmese/strings.po | 9 +++------ language/Catalan/strings.po | 9 +++------ language/Chinese_Simplified/strings.po | 17 ++++++++++------- language/Chinese_Traditional/strings.po | 17 ++++++++++------- language/Croatian/strings.po | 9 +++------ language/Czech/strings.po | 9 +++------ language/Danish/strings.po | 9 +++------ language/Dutch/strings.po | 9 +++------ language/English/strings.po | 9 +++------ language/Estonian/strings.po | 9 +++------ language/Finnish/strings.po | 9 +++------ language/French/strings.po | 17 ++++++++++------- language/French_Belgium/strings.po | 17 ++++++++++------- language/French_Canada/strings.po | 9 +++------ language/Georgian/strings.po | 9 +++------ language/German/strings.po | 17 ++++++++++------- language/Greek/strings.po | 17 ++++++++++------- language/Hebrew/strings.po | 9 +++------ language/Hindi/strings.po | 9 +++------ language/Hungarian/strings.po | 9 +++------ language/Indonesian/strings.po | 9 +++------ language/Italian/strings.po | 17 ++++++++++------- language/Japanese/strings.po | 17 ++++++++++------- language/Korean/strings.po | 9 +++------ language/Latvian/strings.po | 9 +++------ language/Lithuanian/strings.po | 9 +++------ language/Macedonian/strings.po | 9 +++------ language/Norwegian/strings.po | 9 +++------ language/Persian/strings.po | 9 +++------ language/Polish/strings.po | 9 +++------ language/Portuguese/strings.po | 9 +++------ language/Portuguese_Brazil/strings.po | 17 ++++++++++------- language/Romanian/strings.po | 9 +++------ language/Russian/strings.po | 17 ++++++++++------- language/Serbian/strings.po | 17 ++++++++++------- language/Serbian_Cyrillic/strings.po | 17 ++++++++++------- language/Slovak/strings.po | 9 +++------ language/Slovenian/strings.po | 9 +++------ language/Spanish/strings.po | 17 ++++++++++------- language/Spanish_Mexico/strings.po | 9 +++------ language/Swedish/strings.po | 9 +++------ language/Thai/strings.po | 9 +++------ language/Turkish/strings.po | 9 +++------ language/Ukrainian/strings.po | 9 +++------ language/Vietnamese/strings.po | 9 +++------ src/emu/ui/custui.cpp | 2 +- src/emu/ui/selsoft.cpp | 2 +- 54 files changed, 249 insertions(+), 327 deletions(-) (limited to 'src/emu/ui/selsoft.cpp') diff --git a/language/Afrikaans/strings.po b/language/Afrikaans/strings.po index b3f9db27a96..080ea694805 100644 --- a/language/Afrikaans/strings.po +++ b/language/Afrikaans/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Albanian/strings.po b/language/Albanian/strings.po index a74cfb58c55..b8e5acd4a13 100644 --- a/language/Albanian/strings.po +++ b/language/Albanian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Arabic/strings.po b/language/Arabic/strings.po index 3bafc8ece9b..b83f8340d3d 100644 --- a/language/Arabic/strings.po +++ b/language/Arabic/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Basque/strings.po b/language/Basque/strings.po index e5c048f9193..066437d34d8 100644 --- a/language/Basque/strings.po +++ b/language/Basque/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Belarusian/strings.po b/language/Belarusian/strings.po index 248e68d18f3..b739ca04aa1 100644 --- a/language/Belarusian/strings.po +++ b/language/Belarusian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -320,11 +320,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Bosnian/strings.po b/language/Bosnian/strings.po index 75d61ec9b26..c53837d04a9 100644 --- a/language/Bosnian/strings.po +++ b/language/Bosnian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Bulgarian/strings.po b/language/Bulgarian/strings.po index 57a92248b13..270b97f5848 100644 --- a/language/Bulgarian/strings.po +++ b/language/Bulgarian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Burmese/strings.po b/language/Burmese/strings.po index 2565018f321..97c6f4fcd86 100644 --- a/language/Burmese/strings.po +++ b/language/Burmese/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Catalan/strings.po b/language/Catalan/strings.po index 425d1f02163..953c74bd1a5 100644 --- a/language/Catalan/strings.po +++ b/language/Catalan/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Chinese_Simplified/strings.po b/language/Chinese_Simplified/strings.po index 846f5e9df6d..7e08c4551fe 100644 --- a/language/Chinese_Simplified/strings.po +++ b/language/Chinese_Simplified/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-06 01:10+0800\n" "Last-Translator: YuiFAN\n" "Language-Team: MAME Language Team\n" @@ -320,12 +320,9 @@ msgid "UI Colors Settings" msgstr "UI 色彩设定" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "双击或按下 " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " 以改变颜色值" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2075,6 +2072,12 @@ msgstr " 色彩" msgid " PENS" msgstr " PENS" +#~ msgid "Double click or press " +#~ msgstr "双击或按下 " + +#~ msgid " to change the color value" +#~ msgstr " 以改变颜色值" + #~ msgid " to select" #~ msgstr " 以选择" diff --git a/language/Chinese_Traditional/strings.po b/language/Chinese_Traditional/strings.po index 9a4ab038568..587ff0327eb 100644 --- a/language/Chinese_Traditional/strings.po +++ b/language/Chinese_Traditional/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-06 01:00+0800\n" "Last-Translator: YuiFAN\n" "Language-Team: MAME Language Team\n" @@ -320,12 +320,9 @@ msgid "UI Colors Settings" msgstr "UI 色彩設定" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "雙擊或按下 " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " 以改變顏色值" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2075,5 +2072,11 @@ msgstr " 色彩" msgid " PENS" msgstr " PENS" +#~ msgid "Double click or press " +#~ msgstr "雙擊或按下 " + +#~ msgid " to change the color value" +#~ msgstr " 以改變顏色值" + #~ msgid " to select" #~ msgstr " 以選擇" diff --git a/language/Croatian/strings.po b/language/Croatian/strings.po index 9188470f1cd..89a23362687 100644 --- a/language/Croatian/strings.po +++ b/language/Croatian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Czech/strings.po b/language/Czech/strings.po index 5f1c8442b59..51c5de67269 100644 --- a/language/Czech/strings.po +++ b/language/Czech/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Danish/strings.po b/language/Danish/strings.po index e37fae4f1a3..d2a396fa653 100644 --- a/language/Danish/strings.po +++ b/language/Danish/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Dutch/strings.po b/language/Dutch/strings.po index b25e3a4d938..c6e093535c8 100644 --- a/language/Dutch/strings.po +++ b/language/Dutch/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/English/strings.po b/language/English/strings.po index 880c9b5b389..4834d401003 100644 --- a/language/English/strings.po +++ b/language/English/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Estonian/strings.po b/language/Estonian/strings.po index 7b91156d0ff..aefff826185 100644 --- a/language/Estonian/strings.po +++ b/language/Estonian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Finnish/strings.po b/language/Finnish/strings.po index 69cc3dd35fb..850c387caac 100644 --- a/language/Finnish/strings.po +++ b/language/Finnish/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/French/strings.po b/language/French/strings.po index f68c1fae616..5d4d12aa5fe 100644 --- a/language/French/strings.po +++ b/language/French/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: Benjamin Siskoo\n" @@ -323,12 +323,9 @@ msgid "UI Colors Settings" msgstr "Paramètrage des Couleurs de l'Interface" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Double cliquer ou presser " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " pour changer la valeur de la couleur" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2092,6 +2089,12 @@ msgstr " COULEURS" msgid " PENS" msgstr " PENS" +#~ msgid "Double click or press " +#~ msgstr "Double cliquer ou presser " + +#~ msgid " to change the color value" +#~ msgstr " pour changer la valeur de la couleur" + #~ msgid " to select" #~ msgstr " à sélectionner" diff --git a/language/French_Belgium/strings.po b/language/French_Belgium/strings.po index dbd637fa15f..9b8fcc172cd 100644 --- a/language/French_Belgium/strings.po +++ b/language/French_Belgium/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-02 18:52+0100\n" "Last-Translator: Mevi \n" "Language-Team: MAME Language Team\n" @@ -321,12 +321,9 @@ msgid "UI Colors Settings" msgstr "Paramètres des couleurs de l'interface" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Double-cliquer ou appuyer sur " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " pour changer la valeur de la couleur" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2105,6 +2102,12 @@ msgstr " COULEURS" msgid " PENS" msgstr " MARQUEURS" +#~ msgid "Double click or press " +#~ msgstr "Double-cliquer ou appuyer sur " + +#~ msgid " to change the color value" +#~ msgstr " pour changer la valeur de la couleur" + #~ msgid " to select" #~ msgstr " pour sélectionner" diff --git a/language/French_Canada/strings.po b/language/French_Canada/strings.po index 38624627c8c..56958ca0aad 100644 --- a/language/French_Canada/strings.po +++ b/language/French_Canada/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Georgian/strings.po b/language/Georgian/strings.po index f77c1eed923..3c543a65493 100644 --- a/language/Georgian/strings.po +++ b/language/Georgian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/German/strings.po b/language/German/strings.po index d6e98203ade..eb72ac3e86a 100644 --- a/language/German/strings.po +++ b/language/German/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-27 14:59+0100\n" "Last-Translator: Lothar Serra Mari \n" "Language-Team: MAME Language Team\n" @@ -323,12 +323,9 @@ msgid "UI Colors Settings" msgstr "Farbeinstellungen für Benutzeroberfläche" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Doppelklicken Sie oder drücken Sie " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " um den Farbwert zu ändern" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2107,6 +2104,12 @@ msgstr " FARBEN" msgid " PENS" msgstr " STIFTE" +#~ msgid "Double click or press " +#~ msgstr "Doppelklicken Sie oder drücken Sie " + +#~ msgid " to change the color value" +#~ msgstr " um den Farbwert zu ändern" + #~ msgid " to select" #~ msgstr " um auszuwählen" diff --git a/language/Greek/strings.po b/language/Greek/strings.po index 4baa3680ecc..ee9469a2ead 100644 --- a/language/Greek/strings.po +++ b/language/Greek/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-01 16:29+0200\n" "Last-Translator: Mame.gr\n" "Language-Team: MAME Language Team\n" @@ -322,12 +322,9 @@ msgid "UI Colors Settings" msgstr "Ρυθμίσεις χρωμάτων UI" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Κάντε διπλό κλικ ή πιέστε το πλήκτρο " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " για να αλλάξετε την τιμή του χρώματος" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2110,6 +2107,12 @@ msgstr " ΧΡΩΜΑΤΑ" msgid " PENS" msgstr " ΓΡΑΦΙΔΕΣ" +#~ msgid "Double click or press " +#~ msgstr "Κάντε διπλό κλικ ή πιέστε το πλήκτρο " + +#~ msgid " to change the color value" +#~ msgstr " για να αλλάξετε την τιμή του χρώματος" + #~ msgid " to select" #~ msgstr " για επιλογή" diff --git a/language/Hebrew/strings.po b/language/Hebrew/strings.po index 960b791e837..c9f02575315 100644 --- a/language/Hebrew/strings.po +++ b/language/Hebrew/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Hindi/strings.po b/language/Hindi/strings.po index 557643fe3ac..26b2847ed18 100644 --- a/language/Hindi/strings.po +++ b/language/Hindi/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Hungarian/strings.po b/language/Hungarian/strings.po index 65c0f80c313..ba262bd054a 100644 --- a/language/Hungarian/strings.po +++ b/language/Hungarian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Indonesian/strings.po b/language/Indonesian/strings.po index 8eae6019587..fb71d2c3224 100644 --- a/language/Indonesian/strings.po +++ b/language/Indonesian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Italian/strings.po b/language/Italian/strings.po index 1da0347cd15..998b92d09df 100644 --- a/language/Italian/strings.po +++ b/language/Italian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Angelo Salese,Antonio Paradossi,Fabio Priuli\n" "Language-Team: MAME Language Team\n" @@ -322,12 +322,9 @@ msgid "UI Colors Settings" msgstr "Impostazione Colori UI" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Doppio click o premi " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " per cambiare il colore" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2079,6 +2076,12 @@ msgstr " COLORI" msgid " PENS" msgstr " PEN" +#~ msgid "Double click or press " +#~ msgstr "Doppio click o premi " + +#~ msgid " to change the color value" +#~ msgstr " per cambiare il colore" + #~ msgid " to select" #~ msgstr " per scegliere" diff --git a/language/Japanese/strings.po b/language/Japanese/strings.po index 572976b98e6..5666d3d335d 100644 --- a/language/Japanese/strings.po +++ b/language/Japanese/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-23 01:39+0900\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -322,12 +322,9 @@ msgid "UI Colors Settings" msgstr "UIの色設定" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "値を変更するには" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr "を押すかダブルクリックしてください" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2075,3 +2072,9 @@ msgstr " 色" #: src/emu/ui/viewgfx.cpp:391 msgid " PENS" msgstr " ペン" + +#~ msgid "Double click or press " +#~ msgstr "値を変更するには" + +#~ msgid " to change the color value" +#~ msgstr "を押すかダブルクリックしてください" diff --git a/language/Korean/strings.po b/language/Korean/strings.po index cc0679b8ffd..facda0d7628 100644 --- a/language/Korean/strings.po +++ b/language/Korean/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Latvian/strings.po b/language/Latvian/strings.po index 16527ca8564..ed051074185 100644 --- a/language/Latvian/strings.po +++ b/language/Latvian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Lithuanian/strings.po b/language/Lithuanian/strings.po index 850915034b7..5d11e6d5f59 100644 --- a/language/Lithuanian/strings.po +++ b/language/Lithuanian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Macedonian/strings.po b/language/Macedonian/strings.po index 66c492b246a..68b0b0253be 100644 --- a/language/Macedonian/strings.po +++ b/language/Macedonian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Norwegian/strings.po b/language/Norwegian/strings.po index 288dc55c143..c76ee7110ec 100644 --- a/language/Norwegian/strings.po +++ b/language/Norwegian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Persian/strings.po b/language/Persian/strings.po index 49fbd7e2d4b..be5e3211d53 100644 --- a/language/Persian/strings.po +++ b/language/Persian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Polish/strings.po b/language/Polish/strings.po index d4b30fa3c34..829a9a9cef5 100644 --- a/language/Polish/strings.po +++ b/language/Polish/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -320,11 +320,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Portuguese/strings.po b/language/Portuguese/strings.po index 840850ef4cc..d8424d0e771 100644 --- a/language/Portuguese/strings.po +++ b/language/Portuguese/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Portuguese_Brazil/strings.po b/language/Portuguese_Brazil/strings.po index 0b630edebbb..e9954ace1f3 100644 --- a/language/Portuguese_Brazil/strings.po +++ b/language/Portuguese_Brazil/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-02 14:00+0100\n" "Last-Translator: Ashura-X\n" "Language-Team: MAME Language Team\n" @@ -320,12 +320,9 @@ msgid "UI Colors Settings" msgstr "Configurações de cores do UI" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Duplo-clique ou pressione" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr "para mudar o valor da cor" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2051,6 +2048,12 @@ msgstr " CORES" msgid " PENS" msgstr " CANETAS" +#~ msgid "Double click or press " +#~ msgstr "Duplo-clique ou pressione" + +#~ msgid " to change the color value" +#~ msgstr "para mudar o valor da cor" + #~ msgid " to select" #~ msgstr " para selecionar" diff --git a/language/Romanian/strings.po b/language/Romanian/strings.po index 10c8e87c42e..379c3480b27 100644 --- a/language/Romanian/strings.po +++ b/language/Romanian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -320,11 +320,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Russian/strings.po b/language/Russian/strings.po index 263b119024d..29c7fd4e2d8 100644 --- a/language/Russian/strings.po +++ b/language/Russian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -322,12 +322,9 @@ msgid "UI Colors Settings" msgstr "Настройка цветов интерфейса" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Кликните два раза или нажмите " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " для изменения цвета" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2047,6 +2044,12 @@ msgstr " ЦВЕТА" msgid " PENS" msgstr "" +#~ msgid "Double click or press " +#~ msgstr "Кликните два раза или нажмите " + +#~ msgid " to change the color value" +#~ msgstr " для изменения цвета" + #~ msgid " to select" #~ msgstr " для выбора" diff --git a/language/Serbian/strings.po b/language/Serbian/strings.po index 69b90df74b6..df4f30ef417 100644 --- a/language/Serbian/strings.po +++ b/language/Serbian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-02 21:46+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -323,12 +323,9 @@ msgid "UI Colors Settings" msgstr "Podešenje boja korisničkog interfejsa" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Dupli klik ili pritisak tastera" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " da se promeni vrednost boje" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2097,6 +2094,12 @@ msgstr " BOJE" msgid " PENS" msgstr "" +#~ msgid "Double click or press " +#~ msgstr "Dupli klik ili pritisak tastera" + +#~ msgid " to change the color value" +#~ msgstr " da se promeni vrednost boje" + #~ msgid " to select" #~ msgstr " za izabrati" diff --git a/language/Serbian_Cyrillic/strings.po b/language/Serbian_Cyrillic/strings.po index 1cac4977d2c..756ffbf41c3 100644 --- a/language/Serbian_Cyrillic/strings.po +++ b/language/Serbian_Cyrillic/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-23 12:43+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -323,12 +323,9 @@ msgid "UI Colors Settings" msgstr "Подeшeњe боjа корисничког интeрфejса" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Дупли клик или притисак тастeра" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " да сe промeни врeдност боje" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2095,6 +2092,12 @@ msgstr " БОЈЕ" msgid " PENS" msgstr "" +#~ msgid "Double click or press " +#~ msgstr "Дупли клик или притисак тастeра" + +#~ msgid " to change the color value" +#~ msgstr " да сe промeни врeдност боje" + #~ msgid " to select" #~ msgstr " за изабрати" diff --git a/language/Slovak/strings.po b/language/Slovak/strings.po index a5388df529a..6f1e3d9de55 100644 --- a/language/Slovak/strings.po +++ b/language/Slovak/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Slovenian/strings.po b/language/Slovenian/strings.po index 9450280ed83..a4dc4c625f5 100644 --- a/language/Slovenian/strings.po +++ b/language/Slovenian/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -320,11 +320,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Spanish/strings.po b/language/Spanish/strings.po index b3ca57300a1..ad92f36e041 100644 --- a/language/Spanish/strings.po +++ b/language/Spanish/strings.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:34+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-03-05 13:02+0100\n" "Last-Translator: Ismael Ferreras Morezuelas \n" "Language-Team: Español; Castellano <>\n" @@ -325,12 +325,9 @@ msgid "UI Colors Settings" msgstr "Ajustes de color de interfaz" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "Haz doble clic o pulsa " - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" -msgstr " para cambiar el color" +#, c-format +msgid "Double click or press %1$s to change the color value" +msgstr "" #: src/emu/ui/custui.cpp:617 msgid "Menu Preview" @@ -2100,6 +2097,12 @@ msgstr " COLORES" msgid " PENS" msgstr " PLUMAS" +#~ msgid "Double click or press " +#~ msgstr "Haz doble clic o pulsa " + +#~ msgid " to change the color value" +#~ msgstr " para cambiar el color" + #~ msgid " to select" #~ msgstr " para seleccionar" diff --git a/language/Spanish_Mexico/strings.po b/language/Spanish_Mexico/strings.po index 9c3cdf2f219..525ce308353 100644 --- a/language/Spanish_Mexico/strings.po +++ b/language/Spanish_Mexico/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Swedish/strings.po b/language/Swedish/strings.po index df5d4a79354..6839a024fbd 100644 --- a/language/Swedish/strings.po +++ b/language/Swedish/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Thai/strings.po b/language/Thai/strings.po index b88061ddf41..a2935d32654 100644 --- a/language/Thai/strings.po +++ b/language/Thai/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -317,11 +317,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Turkish/strings.po b/language/Turkish/strings.po index 850f4529b2e..dbc9a79d360 100644 --- a/language/Turkish/strings.po +++ b/language/Turkish/strings.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Ukrainian/strings.po b/language/Ukrainian/strings.po index 00d1e0ff7a2..8ef2a00e2e0 100644 --- a/language/Ukrainian/strings.po +++ b/language/Ukrainian/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -319,11 +319,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/language/Vietnamese/strings.po b/language/Vietnamese/strings.po index 3a4b07a32eb..f099804a296 100644 --- a/language/Vietnamese/strings.po +++ b/language/Vietnamese/strings.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: MAME\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-06 12:23+1100\n" +"POT-Creation-Date: 2016-03-06 03:03+0100\n" "PO-Revision-Date: 2016-02-20 18:03+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: MAME Language Team\n" @@ -318,11 +318,8 @@ msgid "UI Colors Settings" msgstr "" #: src/emu/ui/custui.cpp:591 -msgid "Double click or press " -msgstr "" - -#: src/emu/ui/custui.cpp:591 -msgid " to change the color value" +#, c-format +msgid "Double click or press %1$s to change the color value" msgstr "" #: src/emu/ui/custui.cpp:617 diff --git a/src/emu/ui/custui.cpp b/src/emu/ui/custui.cpp index 1acecd1ba20..a6279ac5b54 100644 --- a/src/emu/ui/custui.cpp +++ b/src/emu/ui/custui.cpp @@ -588,7 +588,7 @@ void ui_menu_colors_ui::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)); - topbuf.assign(_("Double click or press ")).append(ui_select_text.c_str()).append(_(" to change the color value")); + topbuf = string_format(_("Double click or press %1$s to change the color value"), ui_select_text); mui.draw_text_full(container, topbuf.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_NEVER, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); diff --git a/src/emu/ui/selsoft.cpp b/src/emu/ui/selsoft.cpp index 93be1b636ba..04cfaa375f9 100644 --- a/src/emu/ui/selsoft.cpp +++ b/src/emu/ui/selsoft.cpp @@ -826,7 +826,7 @@ void ui_menu_select_software::custom_render(void *selectedref, float top, float size_t found = copyright.find("\n"); tempbuf[0].clear(); - tempbuf[1].assign(emulator_info::get_appname()).append(" ").append(build_version); + tempbuf[1] = string_format("%s %s", emulator_info::get_appname(), build_version); tempbuf[2] = copyright.substr(0, found); tempbuf[3] = copyright.substr(found + 1); tempbuf[4].clear(); -- cgit v1.2.3-70-g09d2 From d13aba424f7200ea68c5621ff5833d621f7f372d Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Sun, 6 Mar 2016 21:37:53 +0100 Subject: fixed crash when displaying external DATs file in some circumstances. (nw) --- src/emu/ui/datfile.h | 5 ++-- src/emu/ui/datmenu.cpp | 14 ++-------- src/emu/ui/mainmenu.cpp | 2 +- src/emu/ui/selgame.cpp | 68 ++++++++++++++++++++++++++++++++++++++++--------- src/emu/ui/selsoft.cpp | 12 ++++----- 5 files changed, 67 insertions(+), 34 deletions(-) (limited to 'src/emu/ui/selsoft.cpp') diff --git a/src/emu/ui/datfile.h b/src/emu/ui/datfile.h index 66d76d17501..7b38599ba21 100644 --- a/src/emu/ui/datfile.h +++ b/src/emu/ui/datfile.h @@ -31,7 +31,6 @@ public: void load_software_info(std::string &softlist, std::string &buffer, std::string &softname, std::string &parentname); void command_sub_menu(const game_driver *drv, std::vector &menuitems); void reset_run() { first_run = true; } - bool has_software(std::string &softlist, std::string &softname, std::string &parentname); std::string rev_history() const { return m_history_rev; } std::string rev_mameinfo() const { return m_mame_rev; } @@ -45,9 +44,11 @@ public: bool has_command(const game_driver *driver) { return (m_cmdidx.find(driver) != m_cmdidx.end()); } bool has_sysinfo(const game_driver *driver) { return (m_sysidx.find(driver) != m_sysidx.end()); } bool has_story(const game_driver *driver) { return (m_storyidx.find(driver) != m_storyidx.end()); } + bool has_software(std::string &softlist, std::string &softname, std::string &parentname); - bool has_data(const game_driver *d) + bool has_data(const game_driver *a = nullptr) { + const game_driver *d = (a != nullptr) ? a : &machine().system(); return (has_history(d) || has_mameinfo(d) || has_messinfo(d) || has_command(d) || has_sysinfo(d) || has_story(d)); } private: diff --git a/src/emu/ui/datmenu.cpp b/src/emu/ui/datmenu.cpp index 6c240311c62..93c776f3e51 100644 --- a/src/emu/ui/datmenu.cpp +++ b/src/emu/ui/datmenu.cpp @@ -99,10 +99,7 @@ void ui_menu_dats_view::handle() void ui_menu_dats_view::populate() { machine().pause(); - if (!issoft) - get_data(); - else - get_data_sw(); + (issoft == true) ? get_data_sw() : get_data(); item_append(MENU_SEPARATOR_ITEM, nullptr, (MENU_FLAG_UI_DATS | MENU_FLAG_LEFT_ARROW | MENU_FLAG_RIGHT_ARROW), nullptr); customtop = 2.0f * machine().ui().get_line_height() + 4.0f * UI_BOX_TB_BORDER; @@ -119,12 +116,7 @@ void ui_menu_dats_view::custom_render(void *selectedref, float top, float bottom ui_manager &mui = machine().ui(); float maxwidth = origx2 - origx1; float width; - std::string driver; - - if (issoft) - driver = m_swinfo->longname; - else - driver = m_driver->description; + std::string driver = (issoft == true) ? m_swinfo->longname : m_driver->description; mui.draw_text_full(container, driver.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, nullptr); @@ -251,7 +243,6 @@ void ui_menu_dats_view::get_data() { std::string tempbuf(buffer.substr(xstart[x], xend[x] - xstart[x])); item_append(tempbuf.c_str(), nullptr, (MENU_FLAG_UI_DATS | MENU_FLAG_DISABLE), (void *)(FPTR)(x + 1)); - } } @@ -276,7 +267,6 @@ void ui_menu_dats_view::get_data_sw() { std::string tempbuf(buffer.substr(xstart[x], xend[x] - xstart[x])); item_append(tempbuf.c_str(), nullptr, (MENU_FLAG_UI_DATS | MENU_FLAG_DISABLE), (void *)(FPTR)(x + 1)); - } } diff --git a/src/emu/ui/mainmenu.cpp b/src/emu/ui/mainmenu.cpp index 66381a3df1f..0cf449e8f84 100644 --- a/src/emu/ui/mainmenu.cpp +++ b/src/emu/ui/mainmenu.cpp @@ -132,7 +132,7 @@ void ui_menu_main::populate() item_append(_("Cheat"), nullptr, 0, (void *)CHEAT); // add dats menu - if (machine().ui().options().enabled_dats() && machine().datfile().has_data(&machine().system())) + if (machine().ui().options().enabled_dats() && machine().datfile().has_data()) item_append(_("External DAT View"), nullptr, 0, (void *)EXTERNAL_DATS); item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr); diff --git a/src/emu/ui/selgame.cpp b/src/emu/ui/selgame.cpp index d0996d65d59..dcc9e1d2d68 100644 --- a/src/emu/ui/selgame.cpp +++ b/src/emu/ui/selgame.cpp @@ -299,10 +299,31 @@ void ui_menu_select_game::handle() } // Infos - else if (ui_globals::rpanel == RP_INFOS && ui_globals::curdats_view > UI_FIRST_LOAD) + else if (ui_globals::rpanel == RP_INFOS) { - ui_globals::curdats_view--; - topline_datsview = 0; + if (!isfavorite()) + { + const game_driver *drv = (const game_driver *)m_event->itemref; + if ((FPTR)drv > skip_main_items && ui_globals::curdats_view > UI_FIRST_LOAD) + { + ui_globals::curdats_view--; + topline_datsview = 0; + } + } + else + { + ui_software_info *drv = (ui_software_info *)m_event->itemref; + if (drv->startempty == 1 && ui_globals::curdats_view > UI_FIRST_LOAD) + { + ui_globals::curdats_view--; + topline_datsview = 0; + } + else if ((FPTR)drv > skip_main_items && ui_globals::cur_sw_dats_view > 0) + { + ui_globals::cur_sw_dats_view--; + topline_datsview = 0; + } + } } } @@ -318,10 +339,31 @@ void ui_menu_select_game::handle() } // Infos - else if (ui_globals::rpanel == RP_INFOS && ui_globals::curdats_view < UI_LAST_LOAD) + else if (ui_globals::rpanel == RP_INFOS) { - ui_globals::curdats_view++; - topline_datsview = 0; + if (!isfavorite()) + { + const game_driver *drv = (const game_driver *)m_event->itemref; + if ((FPTR)drv > skip_main_items && ui_globals::curdats_view < UI_LAST_LOAD) + { + ui_globals::curdats_view++; + topline_datsview = 0; + } + } + else + { + ui_software_info *drv = (ui_software_info *)m_event->itemref; + if (drv->startempty == 1 && ui_globals::curdats_view < UI_LAST_LOAD) + { + ui_globals::curdats_view++; + topline_datsview = 0; + } + else if ((FPTR)drv > skip_main_items && ui_globals::cur_sw_dats_view < 1) + { + ui_globals::cur_sw_dats_view++; + topline_datsview = 0; + } + } } } @@ -363,13 +405,15 @@ void ui_menu_select_game::handle() } else { - ui_software_info *swinfo = (ui_software_info *)m_event->itemref; - if ((FPTR)swinfo > skip_main_items && machine().datfile().has_data(swinfo->driver)) + ui_software_info *ui_swinfo = (ui_software_info *)m_event->itemref; + datfile_manager &mdat = machine().datfile(); + + if ((FPTR)ui_swinfo > skip_main_items) { - if (swinfo->startempty == 1) - ui_menu::stack_push(global_alloc_clear(machine(), container, swinfo->driver)); - else - ui_menu::stack_push(global_alloc_clear(machine(), container, swinfo)); + if (ui_swinfo->startempty == 1 && mdat.has_history(ui_swinfo->driver)) + ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo->driver)); + else if (mdat.has_software(ui_swinfo->listname, ui_swinfo->shortname, ui_swinfo->parentname) || !ui_swinfo->usage.empty()) + ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo)); } } } diff --git a/src/emu/ui/selsoft.cpp b/src/emu/ui/selsoft.cpp index 04cfaa375f9..3bf2e237553 100644 --- a/src/emu/ui/selsoft.cpp +++ b/src/emu/ui/selsoft.cpp @@ -242,14 +242,12 @@ void ui_menu_select_software::handle() else if (m_event->iptkey == IPT_UI_DATS && machine().ui().options().enabled_dats()) { ui_software_info *ui_swinfo = (ui_software_info *)m_event->itemref; + datfile_manager &mdat = machine().datfile(); - if ((FPTR)ui_swinfo > 1 && machine().datfile().has_data(ui_swinfo->driver)) - { - if (ui_swinfo->startempty == 1) - ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo->driver)); - else - ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo)); - } + if (ui_swinfo->startempty == 1 && mdat.has_history(ui_swinfo->driver)) + ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo->driver)); + else if (mdat.has_software(ui_swinfo->listname, ui_swinfo->shortname, ui_swinfo->parentname) || !ui_swinfo->usage.empty()) + ui_menu::stack_push(global_alloc_clear(machine(), container, ui_swinfo)); } // handle UI_LEFT_PANEL -- cgit v1.2.3-70-g09d2