mirror of
https://github.com/holub/mame
synced 2025-07-08 19:31:59 +03:00
Fix up some bad English, fix more unlocalisable stuff
This commit is contained in:
parent
e7e26e2b25
commit
4e25da61c7
@ -322,7 +322,7 @@ void save_ui_options(running_machine &machine)
|
||||
file.close();
|
||||
}
|
||||
else
|
||||
machine.popmessage(_("**Error to save ui.ini**"));
|
||||
machine.popmessage(_("**Error saving ui.ini**"));
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
@ -344,7 +344,7 @@ void save_main_option(running_machine &machine)
|
||||
bool result = options.parse_ini_file((core_file&)file, OPTION_PRIORITY_MAME_INI, OPTION_PRIORITY_DRIVER_INI, error);
|
||||
if (!result)
|
||||
{
|
||||
osd_printf_error(_("**Error to load %s.ini**"), emulator_info::get_configname());
|
||||
osd_printf_error(_("**Error loading %s.ini**"), emulator_info::get_configname());
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -369,7 +369,7 @@ void save_main_option(running_machine &machine)
|
||||
file.close();
|
||||
}
|
||||
else {
|
||||
machine.popmessage(_("**Error to save %s.ini**"), emulator_info::get_configname());
|
||||
machine.popmessage(_("**Error saving %s.ini**"), emulator_info::get_configname());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -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 = string_format(_("Double click or press %1$s to select"), ui_select_text);
|
||||
|
||||
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);
|
||||
|
@ -1558,7 +1558,7 @@ void ui_menu_select_game::general_info(const game_driver *driver, std::string &b
|
||||
util::stream_format(str, _("Support Cocktail: %1$s\n"), ((driver->flags & MACHINE_NO_COCKTAIL) ? _("Yes") : _("No")));
|
||||
util::stream_format(str, _("Driver is Bios: %1$s\n"), ((driver->flags & MACHINE_IS_BIOS_ROOT) ? _("Yes") : _("No")));
|
||||
util::stream_format(str, _("Support Save: %1$s\n"), ((driver->flags & MACHINE_SUPPORTS_SAVE) ? _("Yes") : _("No")));
|
||||
util::stream_format(str, _("Screen Orentation: %1$s\n"), ((driver->flags & ORIENTATION_SWAP_XY) ? _("Vertical") : _("Horizontal")));
|
||||
util::stream_format(str, _("Screen Orientation: %1$s\n"), ((driver->flags & ORIENTATION_SWAP_XY) ? _("Vertical") : _("Horizontal")));
|
||||
bool found = false;
|
||||
for (const rom_entry *rom = driver->rom; !ROMENTRY_ISEND(rom); ++rom)
|
||||
if (ROMENTRY_ISREGION(rom) && ROMREGION_ISDISKDATA(rom))
|
||||
|
@ -173,7 +173,7 @@ static void load_ui_options(running_machine &machine)
|
||||
{
|
||||
bool result = machine.ui().options().parse_ini_file((core_file&)file, OPTION_PRIORITY_MAME_INI, OPTION_PRIORITY_DRIVER_INI, error);
|
||||
if (!result)
|
||||
osd_printf_error("**Error to load ui.ini**");
|
||||
osd_printf_error(_("**Error loading ui.ini**"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user