diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-04 15:44:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-04 16:24:42 +0300 |
commit | bc2c095db69be01837d07af1151b0f0a3061713f (patch) | |
tree | 98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/gui/windows/skilldialog.cpp | |
parent | 9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff) | |
download | plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2 plus-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz plus-bc2c095db69be01837d07af1151b0f0a3061713f.zip |
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/gui/windows/skilldialog.cpp')
-rw-r--r-- | src/gui/windows/skilldialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index e8d1836f8..b80f6d5fe 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -161,6 +161,7 @@ void SkillDialog::action(const ActionEvent &event) { mUseButton->setEnabled(false); mIncreaseButton->setEnabled(false); + // TRANSLATORS: skills dialog button mUseButton->setCaption(_("Use")); } } @@ -333,6 +334,7 @@ void SkillDialog::loadXmlFile(const std::string &fileName) skill->model = model; skill->update(); skill->useButton = XML::getProperty( + // TRANSLATORS: skills dialog button node, "useButton", _("Use")); skill->owner = parseOwner(XML::getProperty( node, "owner", "player")); @@ -507,7 +509,9 @@ void SkillDialog::addSkill(const SkillOwner::Type owner, skill->range = range; skill->sp = sp; skill->update(); + // TRANSLATORS: skills dialog button skill->useButton = _("Use"); + // TRANSLATORS: skill error message skill->errorText = strprintf(_("Failed skill: %s"), name.c_str()); mDefaultModel->addSkill(skill); @@ -592,6 +596,7 @@ void SkillDialog::updateTabSelection() else { mUseButton->setEnabled(false); + // TRANSLATORS: inventory button mUseButton->setCaption(_("Use")); } } |