Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add i18n comments for the acronym IR #5226

Merged
merged 1 commit into from
Apr 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Source/Core/Core/HotkeyManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -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");

Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/Config/WiiConfigPane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/Input/WiimoteInputConfigDiag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/TASInputDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions Source/Core/DolphinWX/VideoConfigDiag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down