diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index 8fda7d12ad..783d768cfe 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -258,6 +258,7 @@ Wiimote::Wiimote(const unsigned int index) m_buttons->controls.emplace_back(new ControllerEmu::Input(named_button)); // ir + // i18n: IR stands for infrared and refers to the pointer functionality of Wii Remotes groups.emplace_back(m_ir = new ControllerEmu::Cursor(_trans("IR"))); // swing diff --git a/Source/Core/Core/HotkeyManager.cpp b/Source/Core/Core/HotkeyManager.cpp index 714f8ba7a5..98d1b47cbe 100644 --- a/Source/Core/Core/HotkeyManager.cpp +++ b/Source/Core/Core/HotkeyManager.cpp @@ -18,6 +18,7 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/GCPadStatus.h" +// clang-format off const std::string hotkey_labels[] = { _trans("Open"), _trans("Change Disc"), @@ -73,7 +74,9 @@ const std::string hotkey_labels[] = { _trans("Toggle Texture Dumping"), _trans("Toggle Custom Textures"), + // i18n: IR stands for internal resolution _trans("Increase IR"), + // i18n: IR stands for internal resolution _trans("Decrease IR"), _trans("Freelook Decrease Speed"), @@ -148,6 +151,7 @@ const std::string hotkey_labels[] = { _trans("Save State"), _trans("Load State"), }; +// clang-format on static_assert(NUM_HOTKEYS == sizeof(hotkey_labels) / sizeof(hotkey_labels[0]), "Wrong count of hotkey_labels"); diff --git a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp index 0d2ede097d..8864f47cc5 100644 --- a/Source/Core/DolphinWX/Config/WiiConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/WiiConfigPane.cpp @@ -111,6 +111,7 @@ void WiiConfigPane::InitializeGUI() wxGBPosition(0, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); bt_settings_grid_sizer->Add(m_bt_sensor_bar_pos, wxGBPosition(0, 1), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); + // i18n: IR stands for infrared and refers to the pointer functionality of Wii Remotes bt_settings_grid_sizer->Add(new wxStaticText(this, wxID_ANY, _("IR Sensitivity:")), wxGBPosition(1, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); bt_settings_grid_sizer->Add(bt_sensor_bar_pos_sizer, wxGBPosition(1, 1), wxDefaultSpan, diff --git a/Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.cpp b/Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.cpp index 15ff00c607..82248f27d2 100644 --- a/Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.cpp +++ b/Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.cpp @@ -98,6 +98,7 @@ WiimoteInputConfigDialog::WiimoteInputConfigDialog(wxWindow* const parent, Input tab_motion_controls_ir->SetSizerAndFit(motion_controls_ir_sizer); + // i18n: IR stands for infrared and refers to the pointer functionality of Wii Remotes notebook->AddPage(tab_motion_controls_ir, _("Motion Controls and IR")); notebook->SetSelection(0); diff --git a/Source/Core/DolphinWX/TASInputDlg.cpp b/Source/Core/DolphinWX/TASInputDlg.cpp index 4fa046653f..f30b481c3f 100644 --- a/Source/Core/DolphinWX/TASInputDlg.cpp +++ b/Source/Core/DolphinWX/TASInputDlg.cpp @@ -131,6 +131,7 @@ void TASInputDlg::CreateWiiLayout(int num) m_controls[6] = &m_z_cont; m_main_stick = CreateStick(ID_MAIN_STICK, 1024, 768, 512, 384, true, false); + // i18n: IR stands for infrared and refers to the pointer functionality of Wii Remotes m_main_stick_szr = CreateStickLayout(&m_main_stick, _("IR")); m_x_cont = CreateControl(wxSL_VERTICAL, -1, 100, false, 1023, 512); diff --git a/Source/Core/DolphinWX/VideoConfigDiag.cpp b/Source/Core/DolphinWX/VideoConfigDiag.cpp index a69a366802..b9a15b87cd 100644 --- a/Source/Core/DolphinWX/VideoConfigDiag.cpp +++ b/Source/Core/DolphinWX/VideoConfigDiag.cpp @@ -285,6 +285,7 @@ static wxString true_color_desc = "quality by reducing color banding.\nIt has no impact on performance and causes " "few graphical issues.\n\n\nIf unsure, leave this checked."); static wxString vertex_rounding_desc = + // i18n: IR stands for internal resolution wxTRANSLATE("Round 2D vertices to whole pixels. Fixes some " "games at higher internal resolutions. This setting is disabled and turned off " "at 1x IR.\n\nIf unsure, leave this unchecked.");