Add debug i18n comments and revise existing i18n comments

This commit is contained in:
JosJuice 2016-10-30 16:37:29 +01:00
parent 146ee6de91
commit d80086adf5
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"));
}