Merge pull request #4406 from JosJuice/debug-i18n-comments

Add debug i18n comments and revise existing i18n comments
This commit is contained in:
Markus Wick 2016-10-31 12:31:48 +01:00 committed by GitHub
commit 9ac4598c09
3 changed files with 7 additions and 4 deletions

View File

@ -28,13 +28,13 @@ static const char* const named_buttons[] = {"A", "B", "X", "Y", "Z", _t
_trans("Mic")};
static const char* const named_triggers[] = {
// i18n: Left
// i18n: The left trigger button (labeled L on real controllers)
_trans("L"),
// i18n: Right
// i18n: The right trigger button (labeled R on real controllers)
_trans("R"),
// i18n: Left-Analog
// i18n: The left trigger button (labeled L on real controllers) used as an analog input
_trans("L-Analog"),
// i18n: Right-Analog
// i18n: The right trigger button (labeled R on real controllers) used as an analog input
_trans("R-Analog")};
GCPad::GCPad(const unsigned int index) : m_index(index)

View File

@ -467,6 +467,7 @@ wxMenu* MainMenuBar::CreateSymbolsMenu() const
wxMenu* MainMenuBar::CreateProfilerMenu() const
{
auto* const profiler_menu = new wxMenu;
// i18n: "Profile" is used as a verb, not a noun.
profiler_menu->AppendCheckItem(IDM_PROFILE_BLOCKS, _("&Profile Blocks"));
profiler_menu->AppendSeparator();
profiler_menu->Append(IDM_WRITE_PROFILE, _("&Write to profile.txt, Show"));

View File

@ -222,8 +222,10 @@ void MainToolBar::AddDebuggerToolBarButtons()
AddToolBarButton(IDM_SKIP, TOOLBAR_DEBUG_SKIP, _("Skip"),
_("Skips the next instruction completely"));
AddSeparator();
// i18n: Here, PC is an acronym for program counter, not personal computer.
AddToolBarButton(IDM_GOTOPC, TOOLBAR_DEBUG_GOTOPC, _("Show PC"),
_("Go to the current instruction"));
// i18n: Here, PC is an acronym for program counter, not personal computer.
AddToolBarButton(IDM_SETPC, TOOLBAR_DEBUG_SETPC, _("Set PC"), _("Set the current instruction"));
}