summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-04-14 23:20:39 +0200
committerGitHub <noreply@github.com>2018-04-14 23:20:39 +0200
commitee955e37a98dc20b96c9ed948dc6af96e85fdb51 (patch)
tree2bfcd16cc0f34e14cd08d21387f7e13a9bc2f6f5 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
parentaafa8a10e10e26b4068b19cdc5b1bb36dfa9fbf2 (diff)
parent7ed28297b237779f0e4b6d7045cd27e10a8cfb0e (diff)
Merge pull request #6564 from JosJuice/translate-certain-button-names
Translate certain button names but not all
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
index b5e7ff5a1a..6784f6e24e 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Slider.cpp
@@ -20,8 +20,8 @@ namespace ControllerEmu
Slider::Slider(const std::string& name_, const std::string& ui_name_)
: ControlGroup(name_, ui_name_, GroupType::Slider)
{
- controls.emplace_back(std::make_unique<Input>("Left"));
- controls.emplace_back(std::make_unique<Input>("Right"));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Left")));
+ controls.emplace_back(std::make_unique<Input>(Translate, _trans("Right")));
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Dead Zone"), 0, 0, 50));
}