summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp8
-rw-r--r--src/gui/windows/charcreatedialog.cpp19
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);
}
}