revertme: force explicit translation when ui is being updated ...

This commit is contained in:
betalars 2025-05-21 11:23:13 +02:00
parent eaf16c40cc
commit cfa3e566e8
1 changed files with 9 additions and 8 deletions

View File

@ -37,17 +37,18 @@ class_name CollectableUi extends CenterContainer
if is_inside_tree() and not is_board:
match id:
Scenes.id.YOUTH_DRAEVEN:
if title_override == "": title_label.text = "Starlight"
if subtitle_override == "": cn_label.text = "[b]CN:[/b] Alienation"
# FIXME: this explicit translation should not be nessecary
if title_override == "": title_label.text = TranslationServer.translate("Starlight")
if subtitle_override == "": cn_label.text = TranslationServer.translate("[b]CN:[/b] Alienation")
Scenes.id.YOUTH_CHILDHOOD:
if title_override == "": title_label.text = "Crafted Mask"
if subtitle_override == "": cn_label.text = "[b]CN:[/b] Eating issues, Alienation, Swearing"
if title_override == "": title_label.text = TranslationServer.translate("crafted Mask")
if subtitle_override == "": cn_label.text = TranslationServer.translate("[b]CN:[/b] Eating issues, Alienation, Swearing")
Scenes.id.YOUTH_VOICE_TRAINING:
if title_override == "": title_label.text = "Comic Stash"
if subtitle_override == "": cn_label.text = "[b]CN:[/b] Internalised Mysoginy, Nudity, Bullying, Comic Voilence"
if title_override == "": title_label.text = TranslationServer.translate("Comic Stash")
if subtitle_override == "": cn_label.text = TranslationServer.translate("[b]CN:[/b] Internalised Mysoginy, Nudity, Bullying, Comic Voilence")
Scenes.id.YOUTH_JUI_JUTSU:
if title_override == "": title_label.text = "Sports Clothes"
if subtitle_override == "": cn_label.text = "[b]CN:[/b] Body Issues (Gender-Dysphoria), non-consensual Sex, Dissociation, Self-sabotaging Thoughts, Swearing"
if title_override == "": title_label.text = TranslationServer.translate("Sports Clothes")
if subtitle_override == "": cn_label.text = TranslationServer.translate("[b]CN:[/b] Body Issues (Gender-Dysphoria), non-consensual Sex, Dissociation, Self-sabotaging Thoughts, Swearing")
Scenes.id.TRANSITION:
if title_override == "": title_label.text = "Starlight"
if subtitle_override == "": cn_label.text = ""