diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/menu/credits.gd | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/client/menu/credits.gd b/client/menu/credits.gd index 80356b3b..4c553590 100644 --- a/client/menu/credits.gd +++ b/client/menu/credits.gd @@ -18,7 +18,6 @@ extends Menu const SPACER: String = "\n\n\n" -const THX: String = "[b]Thank You For Playing[/b]" var contributors := ["sofviic", "metamuffin", "nokoe", "tpart", "BigBrotherNii"] var cc_by_3 := { @@ -38,6 +37,7 @@ var links := { "Creative Commons: By Attribution\n4.0 License":"https://creativecommons.org/licenses/by/4.0", "Weblate":"https://translate.codeberg.org/projects/hurrycurry/", } +var thx: String = "[b]"+tr("Thank You For Playing")+"[/b]" @onready var label = $MarginContainer/Panel/MarginContainer/VBoxContainer/RichTextLabel @@ -56,19 +56,13 @@ func _ready(): var cc_3 : String = "[b]"+tr("Licensed under Creative Commons: By Attribution 3.0 License")+"[/b]\n\n[table=3]" for i in cc_by_3.keys(): - cc_3 += "[cell]%s[/cell][cell]"+tr("by")+"[/cell][cell]%s[/cell]" % [ - i, - cc_by_3[i] - ] + cc_3 += "[cell]"+i+"[/cell][cell]"+tr("by")+"[/cell][cell]"+cc_by_3[i]+"[/cell]" cc_3 += "[/table]" label.text += cc_3 + SPACER var cc_4 : String = "[b]"+tr("Licensed under Creative Commons: By Attribution 4.0 License")+"[/b]\n\n[table=3]" for i in cc_by_4.keys(): - cc_4 += "[cell]%s[/cell][cell]"+tr("by")+"[/cell][cell]%s[/cell]" % [ - i, - cc_by_4[i] - ] + cc_4 += "[cell]"+i+"[/cell][cell]"+tr("by")+"[/cell][cell]"+cc_by_4[i]+"[/cell]" cc_4 += "[/table]" label.text += cc_4 + SPACER @@ -81,15 +75,12 @@ func _ready(): var info: String = "[b]"+tr("For further information on")+"[/b]\n\n[table=3]" for i in links.keys(): - info += "[cell]%s[/cell][cell]"+tr("visit")+"[/cell][cell]%s[/cell]" % [ - i, - links[i] - ] + info += "[cell]"+i+"[/cell][cell]"+tr("by")+"[/cell][cell]"+links[i]+"[/cell]" info += "[/table]" label.text += info + SPACER - label.text += SPACER + THX + SPACER + SPACER + SPACER + label.text += SPACER + thx + SPACER + SPACER + SPACER func _on_back_pressed(): exit() |