translations: fix some source strings

Fix some more strings marked for translation in the source code to be
more correct and easier to localize.

References #1071 #1029

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Stanley Kid 2023-02-10 05:45:25 +00:00 committed by Rafael Kitover
parent 49140fe5dd
commit d756f6716f
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
8 changed files with 48 additions and 70 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-06 14:51-0800\n" "POT-Creation-Date: 2023-02-10 05:48+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,60 +17,60 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: wxvbam.cpp:265 #: wxvbam.cpp:264
msgid "visualboyadvance-m" msgid "visualboyadvance-m"
msgstr "" msgstr ""
#: wxvbam.cpp:329 wxvbam.cpp:346 #: wxvbam.cpp:333 wxvbam.cpp:350
#, c-format #, c-format
msgid "Invalid configuration file provided: %s" msgid "Invalid configuration file provided: %s"
msgstr "" msgstr ""
#: wxvbam.cpp:484 #: wxvbam.cpp:489
msgid "Could not create main window" msgid "Could not create main window"
msgstr "" msgstr ""
#: wxvbam.cpp:565 #: wxvbam.cpp:570
msgid "Save built-in XRC file and exit" msgid "Save built-in XRC file and exit"
msgstr "" msgstr ""
#: wxvbam.cpp:568 #: wxvbam.cpp:573
msgid "Save built-in vba-over.ini and exit" msgid "Save built-in vba-over.ini and exit"
msgstr "" msgstr ""
#: wxvbam.cpp:571 #: wxvbam.cpp:576
msgid "Print configuration path and exit" msgid "Print configuration path and exit"
msgstr "" msgstr ""
#: wxvbam.cpp:574 #: wxvbam.cpp:579
msgid "Start in full-screen mode" msgid "Start in full-screen mode"
msgstr "" msgstr ""
#: wxvbam.cpp:577 #: wxvbam.cpp:582
msgid "Set a configuration file" msgid "Set a configuration file"
msgstr "" msgstr ""
#: wxvbam.cpp:581 #: wxvbam.cpp:586
msgid "Delete shared link state first, if it exists" msgid "Delete shared link state first, if it exists"
msgstr "" msgstr ""
#: wxvbam.cpp:588 #: wxvbam.cpp:593
msgid "List all settable options and exit" msgid "List all settable options and exit"
msgstr "" msgstr ""
#: wxvbam.cpp:591 #: wxvbam.cpp:596
msgid "ROM file" msgid "ROM file"
msgstr "" msgstr ""
#: wxvbam.cpp:593 #: wxvbam.cpp:598
msgid "<config>=<value>" msgid "<config>=<value>"
msgstr "" msgstr ""
#: wxvbam.cpp:624 #: wxvbam.cpp:629
msgid "Configuration / build error: can't find built-in xrc" msgid "Configuration / build error: can't find built-in xrc"
msgstr "" msgstr ""
#: wxvbam.cpp:632 #: wxvbam.cpp:637
#, c-format #, c-format
msgid "" msgid ""
"Wrote built-in configuration to %s.\n" "Wrote built-in configuration to %s.\n"
@ -79,11 +79,11 @@ msgid ""
"built-in:" "built-in:"
msgstr "" msgstr ""
#: wxvbam.cpp:646 #: wxvbam.cpp:651
msgid "Configuration is read from, in order:" msgid "Configuration is read from, in order:"
msgstr "" msgstr ""
#: wxvbam.cpp:660 #: wxvbam.cpp:665
#, c-format #, c-format
msgid "" msgid ""
"Wrote built-in override file to %s\n" "Wrote built-in override file to %s\n"
@ -91,13 +91,13 @@ msgid ""
"from search path:" "from search path:"
msgstr "" msgstr ""
#: wxvbam.cpp:666 #: wxvbam.cpp:671
msgid "" msgid ""
"\n" "\n"
"\tbuilt-in" "\tbuilt-in"
msgstr "" msgstr ""
#: wxvbam.cpp:681 #: wxvbam.cpp:686
msgid "" msgid ""
"Options set from the command line are saved if any configuration changes are " "Options set from the command line are saved if any configuration changes are "
"made in the user interface.\n" "made in the user interface.\n"
@ -106,17 +106,17 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: wxvbam.cpp:689 #: wxvbam.cpp:694
msgid "" msgid ""
"The commands available for the Keyboard/* option are:\n" "The commands available for the Keyboard/* option are:\n"
"\n" "\n"
msgstr "" msgstr ""
#: wxvbam.cpp:700 #: wxvbam.cpp:705
msgid "Configuration file not found." msgid "Configuration file not found."
msgstr "" msgstr ""
#: wxvbam.cpp:731 #: wxvbam.cpp:736
msgid "Bad configuration option or multiple ROM files given:\n" msgid "Bad configuration option or multiple ROM files given:\n"
msgstr "" msgstr ""
@ -188,11 +188,11 @@ msgstr ""
msgid "Removing cheats" msgid "Removing cheats"
msgstr "" msgstr ""
#: guiinit.cpp:759 #: guiinit.cpp:759 xrc/JoyPanel.xrc:364
msgid "Game Shark" msgid "Game Shark"
msgstr "" msgstr ""
#: guiinit.cpp:760 #: guiinit.cpp:760 cmdevents.cpp:703
msgid "Game Genie" msgid "Game Genie"
msgstr "" msgstr ""
@ -216,11 +216,6 @@ msgstr ""
msgid "Number cannot be empty" msgid "Number cannot be empty"
msgstr "" msgstr ""
#: guiinit.cpp:871
#, c-format
msgid "Search produced %d results. Please refine better"
msgstr ""
#: guiinit.cpp:883 #: guiinit.cpp:883
msgid "Search produced no results" msgid "Search produced no results"
msgstr "" msgstr ""
@ -554,12 +549,8 @@ msgstr ""
msgid "ROM + MBC7 + BATT" msgid "ROM + MBC7 + BATT"
msgstr "" msgstr ""
#: cmdevents.cpp:703
msgid "GameGenie"
msgstr ""
#: cmdevents.cpp:707 #: cmdevents.cpp:707
msgid "GameShark V3.0" msgid "Game Shark 3.0"
msgstr "" msgstr ""
#: cmdevents.cpp:711 #: cmdevents.cpp:711
@ -665,8 +656,8 @@ msgstr ""
#: cmdevents.cpp:1066 #: cmdevents.cpp:1066
msgid "" msgid ""
"GS & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots (*.gsv)|" "Game Shark & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots "
"*.gsv" "(*.gsv)|*.gsv"
msgstr "" msgstr ""
#: cmdevents.cpp:1066 #: cmdevents.cpp:1066
@ -806,7 +797,7 @@ msgid "FACTORY RESET"
msgstr "" msgstr ""
#: cmdevents.cpp:2897 #: cmdevents.cpp:2897
msgid "Nintendo Game Boy / Color / Advance) emulator." msgid "Nintendo Game Boy / Color / Advance emulator."
msgstr "" msgstr ""
#: cmdevents.cpp:2898 #: cmdevents.cpp:2898
@ -872,23 +863,23 @@ msgstr ""
msgid "OK" msgid "OK"
msgstr "" msgstr ""
#: opts.cpp:354 #: opts.cpp:384
msgid "" msgid ""
"The INI file was written for a more recent version of VBA-M. Some INI option " "The INI file was written for a more recent version of VBA-M. Some INI option "
"values may have been reset." "values may have been reset."
msgstr "" msgstr ""
#: opts.cpp:521 opts.cpp:542 opts.cpp:778 #: opts.cpp:551 opts.cpp:572 opts.cpp:808
#, c-format #, c-format
msgid "Invalid key binding %s for %s" msgid "Invalid key binding %s for %s"
msgstr "" msgstr ""
#: opts.cpp:701 opts.cpp:710 opts.cpp:719 opts.cpp:728 config/option.cpp:464 #: opts.cpp:731 opts.cpp:740 opts.cpp:749 opts.cpp:758 config/option.cpp:464
#, c-format #, c-format
msgid "Invalid value %s for option %s" msgid "Invalid value %s for option %s"
msgstr "" msgstr ""
#: opts.cpp:800 #: opts.cpp:830
#, c-format #, c-format
msgid "Unknown option %s with value %s" msgid "Unknown option %s with value %s"
msgstr "" msgstr ""
@ -1406,7 +1397,7 @@ msgid "Break into GDB after loading the game."
msgstr "" msgstr ""
#: config/internal/option-internal.cpp:461 #: config/internal/option-internal.cpp:461
msgid "Port to connect GDB to." msgid "Port to connect GDB to"
msgstr "" msgstr ""
#: config/internal/option-internal.cpp:464 #: config/internal/option-internal.cpp:464
@ -1703,12 +1694,7 @@ msgstr ""
msgid "FAudio: Creating source voice failed!" msgid "FAudio: Creating source voice failed!"
msgstr "" msgstr ""
#: dsound.cpp:89 #: dsound.cpp:89 dsound.cpp:103
#, c-format
msgid "Cannot create DirectSound %08x"
msgstr ""
#: dsound.cpp:103
#, c-format #, c-format
msgid "Cannot create Direct Sound %08x" msgid "Cannot create Direct Sound %08x"
msgstr "" msgstr ""
@ -2153,7 +2139,7 @@ msgid "Filters"
msgstr "" msgstr ""
#: xrc/DisplayConfig.xrc:79 #: xrc/DisplayConfig.xrc:79
msgid "Display filter :" msgid "Display filter:"
msgstr "" msgstr ""
#: xrc/DisplayConfig.xrc:86 #: xrc/DisplayConfig.xrc:86
@ -3046,10 +3032,6 @@ msgstr ""
msgid "Motion Left / Dark" msgid "Motion Left / Dark"
msgstr "" msgstr ""
#: xrc/JoyPanel.xrc:364
msgid "GameShark"
msgstr ""
#: xrc/JoyPanel.xrc:386 #: xrc/JoyPanel.xrc:386
msgid "Motion Right / Light" msgid "Motion Right / Light"
msgstr "" msgstr ""
@ -3318,18 +3300,14 @@ msgstr ""
msgid "Game Shark &code file..." msgid "Game Shark &code file..."
msgstr "" msgstr ""
#: xrc/MainMenu.xrc:164 #: xrc/MainMenu.xrc:164 xrc/MainMenu.xrc:173
msgid "&Gameshark snapshot..." msgid "&Game Shark snapshot..."
msgstr "" msgstr ""
#: xrc/MainMenu.xrc:166 #: xrc/MainMenu.xrc:166
msgid "&Import" msgid "&Import"
msgstr "" msgstr ""
#: xrc/MainMenu.xrc:173
msgid "&Game Shark snapshot..."
msgstr ""
#: xrc/MainMenu.xrc:175 #: xrc/MainMenu.xrc:175
msgid "&Export" msgid "&Export"
msgstr "" msgstr ""

View File

@ -700,11 +700,11 @@ EVT_HANDLER_MASK(RomInformation, "ROM information...", CMDEN_GB | CMDEN_GBA)
break; break;
case 0x55: case 0x55:
type = _("GameGenie"); type = _("Game Genie");
break; break;
case 0x56: case 0x56:
type = _("GameShark V3.0"); type = _("Game Shark 3.0");
break; break;
case 0xfc: case 0xfc:
@ -1063,7 +1063,7 @@ EVT_HANDLER_MASK(ImportGamesharkActionReplaySnapshot,
"Import Game Shark Action Replay snapshot...", CMDEN_GB | CMDEN_GBA) "Import Game Shark Action Replay snapshot...", CMDEN_GB | CMDEN_GBA)
{ {
wxFileDialog dlg(this, _("Select snapshot file"), gss_path, wxEmptyString, wxFileDialog dlg(this, _("Select snapshot file"), gss_path, wxEmptyString,
panel->game_type() == IMAGE_GBA ? _("GS & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots (*.gsv)|*.gsv") : _("Game Boy Snapshot (*.gbs)|*.gbs"), panel->game_type() == IMAGE_GBA ? _("Game Shark & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots (*.gsv)|*.gsv") : _("Game Boy Snapshot (*.gbs)|*.gbs"),
wxFD_OPEN | wxFD_FILE_MUST_EXIST); wxFD_OPEN | wxFD_FILE_MUST_EXIST);
int ret = ShowModal(&dlg); int ret = ShowModal(&dlg);
gss_path = dlg.GetDirectory(); gss_path = dlg.GetDirectory();
@ -2894,7 +2894,7 @@ EVT_HANDLER(wxID_ABOUT, "About...")
// but at least win32 standard about is nothing special // but at least win32 standard about is nothing special
ai.SetWebSite(wxT("http://www.vba-m.com/")); ai.SetWebSite(wxT("http://www.vba-m.com/"));
ai.SetIcon(GetIcons().GetIcon(wxSize(32, 32), wxIconBundle::FALLBACK_NEAREST_LARGER)); ai.SetIcon(GetIcons().GetIcon(wxSize(32, 32), wxIconBundle::FALLBACK_NEAREST_LARGER));
ai.SetDescription(_("Nintendo Game Boy / Color / Advance) emulator.")); ai.SetDescription(_("Nintendo Game Boy / Color / Advance emulator."));
ai.SetCopyright(_("Copyright (C) 1999-2003 Forgotten\nCopyright (C) 2004-2006 VBA development team\nCopyright (C) 2007-2020 VBA-M development team")); ai.SetCopyright(_("Copyright (C) 1999-2003 Forgotten\nCopyright (C) 2004-2006 VBA development team\nCopyright (C) 2007-2020 VBA-M development team"));
ai.SetLicense(_( ai.SetLicense(_(
"This program is free software: you can redistribute it and / or modify\n" "This program is free software: you can redistribute it and / or modify\n"

View File

@ -458,7 +458,7 @@ const std::array<OptionData, kNbOptions + 1> kAllOptionsData = {
OptionData{"preferences/gdbBreakOnLoad", "DebugGDBBreakOnLoad", OptionData{"preferences/gdbBreakOnLoad", "DebugGDBBreakOnLoad",
_("Break into GDB after loading the game.")}, _("Break into GDB after loading the game.")},
OptionData{"preferences/gdbPort", "DebugGDBPort", OptionData{"preferences/gdbPort", "DebugGDBPort",
_("Port to connect GDB to.")}, _("Port to connect GDB to")},
#ifndef NO_LINK #ifndef NO_LINK
OptionData{"preferences/LinkNumPlayers", "", OptionData{"preferences/LinkNumPlayers", "",
_("Number of players in network")}, _("Number of players in network")},

View File

@ -86,7 +86,7 @@ bool DirectSound::init(long sampleRate)
hr = CoCreateInstance(CLSID_DirectSound8, NULL, CLSCTX_INPROC_SERVER, IID_IDirectSound8, (LPVOID*)&pDirectSound); hr = CoCreateInstance(CLSID_DirectSound8, NULL, CLSCTX_INPROC_SERVER, IID_IDirectSound8, (LPVOID*)&pDirectSound);
if (hr != S_OK) { if (hr != S_OK) {
wxLogError(_("Cannot create DirectSound %08x"), hr); wxLogError(_("Cannot create Direct Sound %08x"), hr);
return false; return false;
} }

View File

@ -864,7 +864,7 @@ public:
// since listctrl is virtual, it should be able to handle // since listctrl is virtual, it should be able to handle
// at least 256k results, which is about the most you // at least 256k results, which is about the most you
// will ever get // will ever get
#if 0 /*
if (list->addrs.size() > 1000) if (list->addrs.size() > 1000)
{ {
@ -874,7 +874,7 @@ public:
return; return;
} }
#endif */
} }
} }
} }

View File

@ -76,7 +76,7 @@
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag> <flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border> <border>5</border>
<object class="wxStaticText"> <object class="wxStaticText">
<label>Display filter :</label> <label>Display filter:</label>
</object> </object>
</object> </object>
<object class="sizeritem"> <object class="sizeritem">

View File

@ -361,7 +361,7 @@
</object> </object>
<object class="sizeritem"> <object class="sizeritem">
<object class="wxStaticText"> <object class="wxStaticText">
<label>GameShark</label> <label>Game Shark</label>
</object> </object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag> <flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border> <border>5</border>

View File

@ -161,7 +161,7 @@
<label>Game Shark _code file...</label> <label>Game Shark _code file...</label>
</object> </object>
<object class="wxMenuItem" name="ImportGamesharkActionReplaySnapshot"> <object class="wxMenuItem" name="ImportGamesharkActionReplaySnapshot">
<label>_Gameshark snapshot...</label> <label>_Game Shark snapshot...</label>
</object> </object>
<label>_Import</label> <label>_Import</label>
</object> </object>