From d80086adf5bff8f0d38d0d2011c4008354106e8f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 30 Oct 2016 16:37:29 +0100 Subject: [PATCH] Add debug i18n comments and revise existing i18n comments --- Source/Core/Core/HW/GCPadEmu.cpp | 8 ++++---- Source/Core/DolphinWX/MainMenuBar.cpp | 1 + Source/Core/DolphinWX/MainToolBar.cpp | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/HW/GCPadEmu.cpp b/Source/Core/Core/HW/GCPadEmu.cpp index 366b3d310d..7863fe0d74 100644 --- a/Source/Core/Core/HW/GCPadEmu.cpp +++ b/Source/Core/Core/HW/GCPadEmu.cpp @@ -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) diff --git a/Source/Core/DolphinWX/MainMenuBar.cpp b/Source/Core/DolphinWX/MainMenuBar.cpp index df66275b2c..a95c6f82bc 100644 --- a/Source/Core/DolphinWX/MainMenuBar.cpp +++ b/Source/Core/DolphinWX/MainMenuBar.cpp @@ -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")); diff --git a/Source/Core/DolphinWX/MainToolBar.cpp b/Source/Core/DolphinWX/MainToolBar.cpp index 371ed9def1..a849c6e460 100644 --- a/Source/Core/DolphinWX/MainToolBar.cpp +++ b/Source/Core/DolphinWX/MainToolBar.cpp @@ -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")); }