diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-30 22:43:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-30 22:43:38 +0300 |
commit | 2b62aea7eaa69010c00476ccd7e03729ccac6226 (patch) | |
tree | d479bbfa52f344df12da471b534343f402f62a9d /src/gui/windows | |
parent | 14bdb1d3ef3f337b34e68d054bee4a8bdd8bbc13 (diff) | |
download | manaverse-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.gz manaverse-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.bz2 manaverse-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.xz manaverse-2b62aea7eaa69010c00476ccd7e03729ccac6226.zip |
Rename "other" gender into "hidden" gender.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index f3ff5ca32..be5756102 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -285,12 +285,12 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mGenderStrip->addButton(_("F"), "f", false); if (features.getIntValue("forceAccountGender") == -1) { - if (serverFeatures->haveCharOtherGender()) + if (serverFeatures->haveCharHiddenGender()) { // TRANSLATORS: one char size male character gender mGenderStrip->addButton(_("M"), "m", true); - // TRANSLATORS: one char size other character gender - mGenderStrip->addButton(_("O"), "o", false); + // TRANSLATORS: one char size hidden character gender + mGenderStrip->addButton(_("H"), "h", false); } else { @@ -304,14 +304,13 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, { // TRANSLATORS: one char size male character gender mGenderStrip->addButton(_("M"), "m", true); - if (serverFeatures->haveCharOtherGender()) + if (serverFeatures->haveCharHiddenGender()) { - // TRANSLATORS: one char size other character gender - mGenderStrip->addButton(_("O"), "o", false); + // TRANSLATORS: one char size hidden character gender + mGenderStrip->addButton(_("H"), "h", false); } } - mGenderStrip->setVisible(Visible_true); add(mGenderStrip); @@ -591,10 +590,10 @@ void CharCreateDialog::action(const ActionEvent &event) mGender = Gender::UNSPECIFIED; mPlayer->setGender(mDefaultGender); } - else if (id == "gender_o") + else if (id == "gender_h") { - mGender = Gender::OTHER; - mPlayer->setGender(Gender::OTHER); + mGender = Gender::HIDDEN; + mPlayer->setGender(Gender::HIDDEN); } } |