summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-30 22:43:38 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-30 22:43:38 +0300
commit2b62aea7eaa69010c00476ccd7e03729ccac6226 (patch)
treed479bbfa52f344df12da471b534343f402f62a9d /src/gui/windows/charcreatedialog.cpp
parent14bdb1d3ef3f337b34e68d054bee4a8bdd8bbc13 (diff)
downloadplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.gz
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.bz2
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.xz
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.zip
Rename "other" gender into "hidden" gender.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp19
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);
}
}