diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:35:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-03 12:51:43 +0300 |
commit | a7c723b681ddefdcaa84cb9b16681c65818d7110 (patch) | |
tree | 3c7100a90db00c3eacc41977cdb5bbae99e6ca40 /src/gui/setup_joystick.cpp | |
parent | 04fbf07c41bf78dea11aa9b7098c80f0da3801e3 (diff) | |
download | plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.gz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.bz2 plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.tar.xz plus-a7c723b681ddefdcaa84cb9b16681c65818d7110.zip |
add comments for translators
Diffstat (limited to 'src/gui/setup_joystick.cpp')
-rw-r--r-- | src/gui/setup_joystick.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp index 6732a3a49..1ac5dae8d 100644 --- a/src/gui/setup_joystick.cpp +++ b/src/gui/setup_joystick.cpp @@ -43,16 +43,22 @@ extern Joystick *joystick; Setup_Joystick::Setup_Joystick(const Widget2 *const widget) : SetupTab(widget), mCalibrateLabel(new Label(this, + // TRANSLATORS: joystick settings tab label _("Press the button to start calibration"))), + // TRANSLATORS: joystick settings tab button mCalibrateButton(new Button(this, _("Calibrate"), "calibrate", this)), + // TRANSLATORS: joystick settings tab button mDetectButton(new Button(this, _("Detect joysticks"), "detect", this)), mOriginalJoystickEnabled(config.getBoolValue("joystickEnabled")), + // TRANSLATORS: joystick settings tab checkbox mJoystickEnabled(new CheckBox(this, _("Enable joystick"))), mNamesModel(new NamesModel), mNamesDropDown(new DropDown(this, mNamesModel)), + // TRANSLATORS: joystick settings tab checkbox mUseInactiveCheckBox(new CheckBox(this, _("Use joystick if client " "window inactive"), config.getBoolValue("useInactiveJoystick"))) { + // TRANSLATORS: joystick settings tab name setName(_("Joystick")); Joystick::getNames(mNamesModel->getNames()); @@ -125,15 +131,19 @@ void Setup_Joystick::action(const gcn::ActionEvent &event) if (joystick->isCalibrating()) { + // TRANSLATORS: joystick settings tab button mCalibrateButton->setCaption(_("Calibrate")); mCalibrateLabel->setCaption + // TRANSLATORS: joystick settings tab label (_("Press the button to start calibration")); joystick->finishCalibration(); } else { + // TRANSLATORS: joystick settings tab button mCalibrateButton->setCaption(_("Stop")); mCalibrateLabel->setCaption( + // TRANSLATORS: joystick settings tab label _("Rotate the stick and don't press buttons")); joystick->startCalibration(); } |