Add i18n comments for the acronym IR

This commit is contained in:
JosJuice 2017-04-08 13:27:17 +02:00
parent f41557b1c3
commit 254df247b1
6 changed files with 9 additions and 0 deletions

View File

@ -258,6 +258,7 @@ Wiimote::Wiimote(const unsigned int index)
m_buttons->controls.emplace_back(new ControllerEmu::Input(named_button)); m_buttons->controls.emplace_back(new ControllerEmu::Input(named_button));
// ir // 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"))); groups.emplace_back(m_ir = new ControllerEmu::Cursor(_trans("IR")));
// swing // swing

View File

@ -18,6 +18,7 @@
#include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/ControllerInterface.h"
#include "InputCommon/GCPadStatus.h" #include "InputCommon/GCPadStatus.h"
// clang-format off
const std::string hotkey_labels[] = { const std::string hotkey_labels[] = {
_trans("Open"), _trans("Open"),
_trans("Change Disc"), _trans("Change Disc"),
@ -73,7 +74,9 @@ const std::string hotkey_labels[] = {
_trans("Toggle Texture Dumping"), _trans("Toggle Texture Dumping"),
_trans("Toggle Custom Textures"), _trans("Toggle Custom Textures"),
// i18n: IR stands for internal resolution
_trans("Increase IR"), _trans("Increase IR"),
// i18n: IR stands for internal resolution
_trans("Decrease IR"), _trans("Decrease IR"),
_trans("Freelook Decrease Speed"), _trans("Freelook Decrease Speed"),
@ -148,6 +151,7 @@ const std::string hotkey_labels[] = {
_trans("Save State"), _trans("Save State"),
_trans("Load State"), _trans("Load State"),
}; };
// clang-format on
static_assert(NUM_HOTKEYS == sizeof(hotkey_labels) / sizeof(hotkey_labels[0]), static_assert(NUM_HOTKEYS == sizeof(hotkey_labels) / sizeof(hotkey_labels[0]),
"Wrong count of hotkey_labels"); "Wrong count of hotkey_labels");

View File

@ -111,6 +111,7 @@ void WiiConfigPane::InitializeGUI()
wxGBPosition(0, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); wxGBPosition(0, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL);
bt_settings_grid_sizer->Add(m_bt_sensor_bar_pos, wxGBPosition(0, 1), wxDefaultSpan, bt_settings_grid_sizer->Add(m_bt_sensor_bar_pos, wxGBPosition(0, 1), wxDefaultSpan,
wxALIGN_CENTER_VERTICAL); 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:")), bt_settings_grid_sizer->Add(new wxStaticText(this, wxID_ANY, _("IR Sensitivity:")),
wxGBPosition(1, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL); wxGBPosition(1, 0), wxDefaultSpan, wxALIGN_CENTER_VERTICAL);
bt_settings_grid_sizer->Add(bt_sensor_bar_pos_sizer, wxGBPosition(1, 1), wxDefaultSpan, bt_settings_grid_sizer->Add(bt_sensor_bar_pos_sizer, wxGBPosition(1, 1), wxDefaultSpan,

View File

@ -98,6 +98,7 @@ WiimoteInputConfigDialog::WiimoteInputConfigDialog(wxWindow* const parent, Input
tab_motion_controls_ir->SetSizerAndFit(motion_controls_ir_sizer); 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->AddPage(tab_motion_controls_ir, _("Motion Controls and IR"));
notebook->SetSelection(0); notebook->SetSelection(0);

View File

@ -131,6 +131,7 @@ void TASInputDlg::CreateWiiLayout(int num)
m_controls[6] = &m_z_cont; m_controls[6] = &m_z_cont;
m_main_stick = CreateStick(ID_MAIN_STICK, 1024, 768, 512, 384, true, false); 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_main_stick_szr = CreateStickLayout(&m_main_stick, _("IR"));
m_x_cont = CreateControl(wxSL_VERTICAL, -1, 100, false, 1023, 512); m_x_cont = CreateControl(wxSL_VERTICAL, -1, 100, false, 1023, 512);

View File

@ -285,6 +285,7 @@ static wxString true_color_desc =
"quality by reducing color banding.\nIt has no impact on performance and causes " "quality by reducing color banding.\nIt has no impact on performance and causes "
"few graphical issues.\n\n\nIf unsure, leave this checked."); "few graphical issues.\n\n\nIf unsure, leave this checked.");
static wxString vertex_rounding_desc = static wxString vertex_rounding_desc =
// i18n: IR stands for internal resolution
wxTRANSLATE("Round 2D vertices to whole pixels. Fixes some " wxTRANSLATE("Round 2D vertices to whole pixels. Fixes some "
"games at higher internal resolutions. This setting is disabled and turned off " "games at higher internal resolutions. This setting is disabled and turned off "
"at 1x IR.\n\nIf unsure, leave this unchecked."); "at 1x IR.\n\nIf unsure, leave this unchecked.");