Skip to content

Commit

Permalink
translations: fix some source strings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
StanleyKid-22 authored and rkitover committed Feb 10, 2023
1 parent 49140fe commit d756f67
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 70 deletions.
96 changes: 37 additions & 59 deletions po/wxvbam/wxvbam.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -17,60 +17,60 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: wxvbam.cpp:265
#: wxvbam.cpp:264
msgid "visualboyadvance-m"
msgstr ""

#: wxvbam.cpp:329 wxvbam.cpp:346
#: wxvbam.cpp:333 wxvbam.cpp:350
#, c-format
msgid "Invalid configuration file provided: %s"
msgstr ""

#: wxvbam.cpp:484
#: wxvbam.cpp:489
msgid "Could not create main window"
msgstr ""

#: wxvbam.cpp:565
#: wxvbam.cpp:570
msgid "Save built-in XRC file and exit"
msgstr ""

#: wxvbam.cpp:568
#: wxvbam.cpp:573
msgid "Save built-in vba-over.ini and exit"
msgstr ""

#: wxvbam.cpp:571
#: wxvbam.cpp:576
msgid "Print configuration path and exit"
msgstr ""

#: wxvbam.cpp:574
#: wxvbam.cpp:579
msgid "Start in full-screen mode"
msgstr ""

#: wxvbam.cpp:577
#: wxvbam.cpp:582
msgid "Set a configuration file"
msgstr ""

#: wxvbam.cpp:581
#: wxvbam.cpp:586
msgid "Delete shared link state first, if it exists"
msgstr ""

#: wxvbam.cpp:588
#: wxvbam.cpp:593
msgid "List all settable options and exit"
msgstr ""

#: wxvbam.cpp:591
#: wxvbam.cpp:596
msgid "ROM file"
msgstr ""

#: wxvbam.cpp:593
#: wxvbam.cpp:598
msgid "<config>=<value>"
msgstr ""

#: wxvbam.cpp:624
#: wxvbam.cpp:629
msgid "Configuration / build error: can't find built-in xrc"
msgstr ""

#: wxvbam.cpp:632
#: wxvbam.cpp:637
#, c-format
msgid ""
"Wrote built-in configuration to %s.\n"
Expand All @@ -79,25 +79,25 @@ msgid ""
"built-in:"
msgstr ""

#: wxvbam.cpp:646
#: wxvbam.cpp:651
msgid "Configuration is read from, in order:"
msgstr ""

#: wxvbam.cpp:660
#: wxvbam.cpp:665
#, c-format
msgid ""
"Wrote built-in override file to %s\n"
"To override, delete all but changed section. First found section is used "
"from search path:"
msgstr ""

#: wxvbam.cpp:666
#: wxvbam.cpp:671
msgid ""
"\n"
"\tbuilt-in"
msgstr ""

#: wxvbam.cpp:681
#: wxvbam.cpp:686
msgid ""
"Options set from the command line are saved if any configuration changes are "
"made in the user interface.\n"
Expand All @@ -106,17 +106,17 @@ msgid ""
"\n"
msgstr ""

#: wxvbam.cpp:689
#: wxvbam.cpp:694
msgid ""
"The commands available for the Keyboard/* option are:\n"
"\n"
msgstr ""

#: wxvbam.cpp:700
#: wxvbam.cpp:705
msgid "Configuration file not found."
msgstr ""

#: wxvbam.cpp:731
#: wxvbam.cpp:736
msgid "Bad configuration option or multiple ROM files given:\n"
msgstr ""

Expand Down Expand Up @@ -188,11 +188,11 @@ msgstr ""
msgid "Removing cheats"
msgstr ""

#: guiinit.cpp:759
#: guiinit.cpp:759 xrc/JoyPanel.xrc:364
msgid "Game Shark"
msgstr ""

#: guiinit.cpp:760
#: guiinit.cpp:760 cmdevents.cpp:703
msgid "Game Genie"
msgstr ""

Expand All @@ -216,11 +216,6 @@ msgstr ""
msgid "Number cannot be empty"
msgstr ""

#: guiinit.cpp:871
#, c-format
msgid "Search produced %d results. Please refine better"
msgstr ""

#: guiinit.cpp:883
msgid "Search produced no results"
msgstr ""
Expand Down Expand Up @@ -554,12 +549,8 @@ msgstr ""
msgid "ROM + MBC7 + BATT"
msgstr ""

#: cmdevents.cpp:703
msgid "GameGenie"
msgstr ""

#: cmdevents.cpp:707
msgid "GameShark V3.0"
msgid "Game Shark 3.0"
msgstr ""

#: cmdevents.cpp:711
Expand Down Expand Up @@ -665,8 +656,8 @@ msgstr ""

#: cmdevents.cpp:1066
msgid ""
"GS & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots (*.gsv)|"
"*.gsv"
"Game Shark & PAC Snapshots (*.sps;*.xps)|*.sps;*.xps|Game Shark SP Snapshots "
"(*.gsv)|*.gsv"
msgstr ""

#: cmdevents.cpp:1066
Expand Down Expand Up @@ -806,7 +797,7 @@ msgid "FACTORY RESET"
msgstr ""

#: cmdevents.cpp:2897
msgid "Nintendo Game Boy / Color / Advance) emulator."
msgid "Nintendo Game Boy / Color / Advance emulator."
msgstr ""

#: cmdevents.cpp:2898
Expand Down Expand Up @@ -872,23 +863,23 @@ msgstr ""
msgid "OK"
msgstr ""

#: opts.cpp:354
#: opts.cpp:384
msgid ""
"The INI file was written for a more recent version of VBA-M. Some INI option "
"values may have been reset."
msgstr ""

#: opts.cpp:521 opts.cpp:542 opts.cpp:778
#: opts.cpp:551 opts.cpp:572 opts.cpp:808
#, c-format
msgid "Invalid key binding %s for %s"
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
msgid "Invalid value %s for option %s"
msgstr ""

#: opts.cpp:800
#: opts.cpp:830
#, c-format
msgid "Unknown option %s with value %s"
msgstr ""
Expand Down Expand Up @@ -1406,7 +1397,7 @@ msgid "Break into GDB after loading the game."
msgstr ""

#: config/internal/option-internal.cpp:461
msgid "Port to connect GDB to."
msgid "Port to connect GDB to"
msgstr ""

#: config/internal/option-internal.cpp:464
Expand Down Expand Up @@ -1703,12 +1694,7 @@ msgstr ""
msgid "FAudio: Creating source voice failed!"
msgstr ""

#: dsound.cpp:89
#, c-format
msgid "Cannot create DirectSound %08x"
msgstr ""

#: dsound.cpp:103
#: dsound.cpp:89 dsound.cpp:103
#, c-format
msgid "Cannot create Direct Sound %08x"
msgstr ""
Expand Down Expand Up @@ -2153,7 +2139,7 @@ msgid "Filters"
msgstr ""

#: xrc/DisplayConfig.xrc:79
msgid "Display filter :"
msgid "Display filter:"
msgstr ""

#: xrc/DisplayConfig.xrc:86
Expand Down Expand Up @@ -3046,10 +3032,6 @@ msgstr ""
msgid "Motion Left / Dark"
msgstr ""

#: xrc/JoyPanel.xrc:364
msgid "GameShark"
msgstr ""

#: xrc/JoyPanel.xrc:386
msgid "Motion Right / Light"
msgstr ""
Expand Down Expand Up @@ -3318,18 +3300,14 @@ msgstr ""
msgid "Game Shark &code file..."
msgstr ""

#: xrc/MainMenu.xrc:164
msgid "&Gameshark snapshot..."
#: xrc/MainMenu.xrc:164 xrc/MainMenu.xrc:173
msgid "&Game Shark snapshot..."
msgstr ""

#: xrc/MainMenu.xrc:166
msgid "&Import"
msgstr ""

#: xrc/MainMenu.xrc:173
msgid "&Game Shark snapshot..."
msgstr ""

#: xrc/MainMenu.xrc:175
msgid "&Export"
msgstr ""
Expand Down
8 changes: 4 additions & 4 deletions src/wx/cmdevents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,11 +700,11 @@ EVT_HANDLER_MASK(RomInformation, "ROM information...", CMDEN_GB | CMDEN_GBA)
break;

case 0x55:
type = _("GameGenie");
type = _("Game Genie");
break;

case 0x56:
type = _("GameShark V3.0");
type = _("Game Shark 3.0");
break;

case 0xfc:
Expand Down Expand Up @@ -1063,7 +1063,7 @@ EVT_HANDLER_MASK(ImportGamesharkActionReplaySnapshot,
"Import Game Shark Action Replay snapshot...", CMDEN_GB | CMDEN_GBA)
{
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);
int ret = ShowModal(&dlg);
gss_path = dlg.GetDirectory();
Expand Down Expand Up @@ -2894,7 +2894,7 @@ EVT_HANDLER(wxID_ABOUT, "About...")
// but at least win32 standard about is nothing special
ai.SetWebSite(wxT("http://www.vba-m.com/"));
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.SetLicense(_(
"This program is free software: you can redistribute it and / or modify\n"
Expand Down
2 changes: 1 addition & 1 deletion src/wx/config/internal/option-internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ const std::array<OptionData, kNbOptions + 1> kAllOptionsData = {
OptionData{"preferences/gdbBreakOnLoad", "DebugGDBBreakOnLoad",
_("Break into GDB after loading the game.")},
OptionData{"preferences/gdbPort", "DebugGDBPort",
_("Port to connect GDB to.")},
_("Port to connect GDB to")},
#ifndef NO_LINK
OptionData{"preferences/LinkNumPlayers", "",
_("Number of players in network")},
Expand Down
2 changes: 1 addition & 1 deletion src/wx/dsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bool DirectSound::init(long sampleRate)
hr = CoCreateInstance(CLSID_DirectSound8, NULL, CLSCTX_INPROC_SERVER, IID_IDirectSound8, (LPVOID*)&pDirectSound);

if (hr != S_OK) {
wxLogError(_("Cannot create DirectSound %08x"), hr);
wxLogError(_("Cannot create Direct Sound %08x"), hr);
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions src/wx/guiinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ static class CheatFind_t : public wxEvtHandler {
// since listctrl is virtual, it should be able to handle
// at least 256k results, which is about the most you
// will ever get
#if 0
/*
if (list->addrs.size() > 1000)
{
Expand All @@ -874,7 +874,7 @@ static class CheatFind_t : public wxEvtHandler {
return;
}
#endif
*/
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/wx/xrc/DisplayConfig.xrc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
<object class="wxStaticText">
<label>Display filter :</label>
<label>Display filter:</label>
</object>
</object>
<object class="sizeritem">
Expand Down
2 changes: 1 addition & 1 deletion src/wx/xrc/JoyPanel.xrc
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
</object>
<object class="sizeritem">
<object class="wxStaticText">
<label>GameShark</label>
<label>Game Shark</label>
</object>
<flag>wxALL|wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL</flag>
<border>5</border>
Expand Down
2 changes: 1 addition & 1 deletion src/wx/xrc/MainMenu.xrc
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
<label>Game Shark _code file...</label>
</object>
<object class="wxMenuItem" name="ImportGamesharkActionReplaySnapshot">
<label>_Gameshark snapshot...</label>
<label>_Game Shark snapshot...</label>
</object>
<label>_Import</label>
</object>
Expand Down

0 comments on commit d756f67

Please sign in to comment.