diff options
| author | JosJuice <josjuice@gmail.com> | 2017-04-30 14:04:21 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-04-30 14:04:21 +0200 |
| commit | 0e93c189023a0f046be915858ce35ea66fc8e5d2 (patch) | |
| tree | e5e462740607cf4f5c2c427e5f22a6056922a848 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp | |
| parent | fcc2ed4550ad12ce77bb78a4207e35e70d4af3c6 (diff) | |
Use _trans consistently for controllers
Some strings were marked with _trans in some places but not
others. This commit adds extra _trans markers so that the
usage of _trans is consistent.
This shouldn't have any effect on which strings actually get
translated. (Note that _trans doesn't do anything at runtime.)
I also added a few new i18n comments.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp index 3b79a8fe61..103f6e517e 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Cursor.cpp @@ -26,8 +26,8 @@ Cursor::Cursor(const std::string& name_) : ControlGroup(name_, GroupType::Cursor for (auto& named_direction : named_directions) controls.emplace_back(std::make_unique<Input>(named_direction)); - controls.emplace_back(std::make_unique<Input>("Forward")); - controls.emplace_back(std::make_unique<Input>("Backward")); + controls.emplace_back(std::make_unique<Input>(_trans("Forward"))); + controls.emplace_back(std::make_unique<Input>(_trans("Backward"))); controls.emplace_back(std::make_unique<Input>(_trans("Hide"))); controls.emplace_back(std::make_unique<Input>("Recenter")); |
