fix #215, wip #216: translation table enhancements

This commit is contained in:
betalars 2025-08-16 16:27:05 +02:00
parent 6f3a7cc039
commit 6e99663e91
10 changed files with 41 additions and 7 deletions

View File

@ -349,6 +349,10 @@ _data = {
[sub_resource type="GDScript" id="GDScript_kt5p7"] [sub_resource type="GDScript" id="GDScript_kt5p7"]
script/source = "extends Label script/source = "extends Label
func _ready() -> void:
if not OS.has_feature(\"debug\"):
hide()
func _process(_delta): func _process(_delta):
text = \"%d/%d\" % [Engine.get_frames_per_second(), Engine.max_fps] text = \"%d/%d\" % [Engine.get_frames_per_second(), Engine.max_fps]
" "

View File

@ -572,3 +572,33 @@ To see its beauty. It helped a lot.,To see its beauty. It helped a lot.,Weil es
"This is where I understood that Lukas never asked me, that I froze because he jumped me, and that I am not alone.","This is where I understood that Lukas never asked me, that I froze because he jumped me, and that I am not alone.","Da habe ich verstanden, dass Lukas mich nie gefragt hatte, dass ich eingefroren bin, weil er mich überumpelt hat, dass er hätte mitbekommen müssen, wie ich weggetreten bin und, dass ich damit wirklich nicht alleine bin.",,, "This is where I understood that Lukas never asked me, that I froze because he jumped me, and that I am not alone.","This is where I understood that Lukas never asked me, that I froze because he jumped me, and that I am not alone.","Da habe ich verstanden, dass Lukas mich nie gefragt hatte, dass ich eingefroren bin, weil er mich überumpelt hat, dass er hätte mitbekommen müssen, wie ich weggetreten bin und, dass ich damit wirklich nicht alleine bin.",,,
"It still took me some time to fully accept, that I was not to blame.","It still took me some time to fully accept, that I was not to blame.","Es hat trotzdem noch eine Weile gebraucht, bis die Schuldgefühle weg waren.",,, "It still took me some time to fully accept, that I was not to blame.","It still took me some time to fully accept, that I was not to blame.","Es hat trotzdem noch eine Weile gebraucht, bis die Schuldgefühle weg waren.",,,
More Options,More Options,Mehr Optionen,,, More Options,More Options,Mehr Optionen,,,
MementoLabel_collect,collect,einsammeln,,,
MementoLabel_CN,CN,CN,,,
MementoLabel_Draeven,,,,,
MementoLabel_DraevenCN,Alienation,Einsamkeit,,,
MementoLabel_Childhood,,,,,
MementoLabel_ChildhoodCN,"Eating Issues, Alienation, Swearing","Probleme mit Essen, soziale Isolation, Fluchen",,,
MementoLabel_Voice,,,,,
MementoLabel_VoiceCN,"Internalised Mysoginy, Nudity, Bullying, Comic Voilence","Internalisierte Mysogynie, Nacktheit, Mobbing, fiktive Gewalt",,,
MementoLabel_Jui_Jutsu,,,,,
MementoLabel_Jui_JutsuCN,"Body Issues (Gender-Dysphoria), Non-consensual Sex, Dissociation, Self-Blame, Swearing","Probleme mit dem Körperbild (Geschlechtsdysphorie), nicht-konsensueller Sex, Dissoziation, Selbstvorwürfe, Fluchen",,,
MementoLabel_Transition,,,,,
MementoLabel_TransitionCN,null,none,,,
MementoLabel_DnD,,,,,
MementoLabel_DndCN,,,,,
MementoLabel_Voluntary,,,,,
MementoLabel_VoluntaryCN,,,,,
MementoLabel_Christmas,,,,,
MementoLabel_ChristmasCN,,,,,
MementoLabel_Eating,,,,,
MementoLabel_EatingCN,,,,,
MementoLabel_Uni,,,,,
MementoLabel_UniCN,,,,,
MementoLabel_Therapy,,,,,
MementoLabel_TherapyCN,,,,,
MementoLabel_Burnout,,,,,
MementoLabel_BurnoutCN,,,,,
Menu_A11y_disclaimer,Greyed-out items do not work yet.,Ausgegraute Optionen funktionieren noch nicht.,,,
Menu_A11y_fonts,Font-Style,Schriftart,,,
Menu_A11y_ subtitles,Subtitles,Untertitel,,,
Menu_A11y_scale,UI Scale,UI-Skalierung,,,

1 keys en de es ja notes
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604

View File

@ -39,16 +39,16 @@ class_name CollectableUi extends CenterContainer
Scenes.id.YOUTH_DRAEVEN: Scenes.id.YOUTH_DRAEVEN:
# FIXME: this explicit translation should not be nessecary # FIXME: this explicit translation should not be nessecary
if title_override == "": title_label.text = TranslationServer.translate("Starlight") if title_override == "": title_label.text = TranslationServer.translate("Starlight")
if subtitle_override == "": cn_label.text = TranslationServer.translate("[b]CN:[/b] Alienation") if subtitle_override == "": cn_label.text = "[b]%s[/b]: %s" % [TranslationServer.translate("MementoLabel_CN"), TranslationServer.translate("MementoLabel_DraevenCN")]
Scenes.id.YOUTH_CHILDHOOD: Scenes.id.YOUTH_CHILDHOOD:
if title_override == "": title_label.text = TranslationServer.translate("crafted Mask") 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") if subtitle_override == "": cn_label.text = "[b]%s[/b]: %s" % [TranslationServer.translate("MementoLabel_CN"), TranslationServer.translate("MementoLabel_ChildhoodCN")]
Scenes.id.YOUTH_VOICE_TRAINING: Scenes.id.YOUTH_VOICE_TRAINING:
if title_override == "": title_label.text = TranslationServer.translate("Comic Stash") 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") if subtitle_override == "": cn_label.text = "[b]%s[/b]: %s" % [TranslationServer.translate("MementoLabel_CN"), TranslationServer.translate("MementoLabel_VoiceCN")]
Scenes.id.YOUTH_JUI_JUTSU: Scenes.id.YOUTH_JUI_JUTSU:
if title_override == "": title_label.text = TranslationServer.translate("Sports Clothes") 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") if subtitle_override == "": cn_label.text = "[b]%s[/b]: %s" % [TranslationServer.translate("MementoLabel_CN"), TranslationServer.translate("MementoLabel_Jui_JutsuCN")]
Scenes.id.TRANSITION: Scenes.id.TRANSITION:
if title_override == "": title_label.text = TranslationServer.translate("Move on") if title_override == "": title_label.text = TranslationServer.translate("Move on")
if subtitle_override == "": cn_label.text = "" if subtitle_override == "": cn_label.text = ""
@ -67,7 +67,7 @@ class_name CollectableUi extends CenterContainer
Scenes.id.ADULT_UNI: Scenes.id.ADULT_UNI:
if title_override == "": title_label.text = TranslationServer.translate("Science Poster") if title_override == "": title_label.text = TranslationServer.translate("Science Poster")
if subtitle_override == "": cn_label.text = "" if subtitle_override == "": cn_label.text = ""
Scenes.id.ADULT_THERAOY: Scenes.id.ADULT_THERAPY:
if title_override == "": title_label.text = TranslationServer.translate("Doctors Note") if title_override == "": title_label.text = TranslationServer.translate("Doctors Note")
if subtitle_override == "": cn_label.text = "" if subtitle_override == "": cn_label.text = ""
Scenes.id.ADULT_BURNOUT: Scenes.id.ADULT_BURNOUT:

View File

@ -902,7 +902,7 @@ unique_name_in_owner = true
modulate = Color(0, 0, 0, 1) modulate = Color(0, 0, 0, 1)
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 4 size_flags_horizontal = 4
text = "collect" text = "MementoLabel_collect"
[node name="OptionPrompt" type="TextureRect" parent="VBoxContainer/HBoxContainer"] [node name="OptionPrompt" type="TextureRect" parent="VBoxContainer/HBoxContainer"]
unique_name_in_owner = true unique_name_in_owner = true

View File

@ -17,7 +17,7 @@ enum id {
ADULD_CHRISTMAS, ADULD_CHRISTMAS,
ADULT_EATING, ADULT_EATING,
ADULT_UNI, ADULT_UNI,
ADULT_THERAOY, ADULT_THERAPY,
ADULT_BURNOUT ADULT_BURNOUT
} }