diff --git a/core/src/com/unciv/ui/components/TranslatedSelectBox.kt b/core/src/com/unciv/ui/components/TranslatedSelectBox.kt index 509eff17ba..caa8afef75 100644 --- a/core/src/com/unciv/ui/components/TranslatedSelectBox.kt +++ b/core/src/com/unciv/ui/components/TranslatedSelectBox.kt @@ -7,7 +7,7 @@ import com.unciv.models.translations.tr class TranslatedSelectBox(values : Collection, default:String, skin: Skin) : SelectBox(skin) { class TranslatedString(val value: String) { - val translation = value.tr() + val translation = value.tr(hideIcons = true) override fun toString() = translation // Equality contract needs to be implemented else TranslatedSelectBox.setSelected won't work properly override fun equals(other: Any?): Boolean = other is TranslatedString && value == other.value