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 | |
parent | 14bdb1d3ef3f337b34e68d054bee4a8bdd8bbc13 (diff) | |
download | manaplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.gz manaplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.bz2 manaplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.xz manaplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.zip |
Rename "other" gender into "hidden" gender.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 8 | ||||
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 19 |
2 files changed, 13 insertions, 14 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 2c5905aa5..d951984eb 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -264,7 +264,7 @@ void AvatarListBox::draw(Graphics *const graphics) break; default: case Gender::UNSPECIFIED: - case Gender::OTHER: + case Gender::HIDDEN: break; } } @@ -285,7 +285,7 @@ void AvatarListBox::draw(Graphics *const graphics) break; default: case Gender::UNSPECIFIED: - case Gender::OTHER: + case Gender::HIDDEN: break; } } @@ -502,7 +502,7 @@ void AvatarListBox::safeDraw(Graphics *const graphics) break; default: case Gender::UNSPECIFIED: - case Gender::OTHER: + case Gender::HIDDEN: break; } } @@ -523,7 +523,7 @@ void AvatarListBox::safeDraw(Graphics *const graphics) break; default: case Gender::UNSPECIFIED: - case Gender::OTHER: + case Gender::HIDDEN: break; } } 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); } } |