aboutsummaryrefslogtreecommitdiff
path: root/client/menu/credits.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/credits.gd')
-rw-r--r--client/menu/credits.gd43
1 files changed, 23 insertions, 20 deletions
diff --git a/client/menu/credits.gd b/client/menu/credits.gd
index bca320a1..ffdc45b2 100644
--- a/client/menu/credits.gd
+++ b/client/menu/credits.gd
@@ -36,30 +36,33 @@ var cc_by_4 := {
func _ready():
super()
contributors.shuffle()
- label.text = "[center][b]"
- label.text += tr("Hurry Curry! - a game about cooking")
- label.text += "[/b]\n\n"
- label.text += tr("developed by")
- label.text += "\n\n[b]"
- label.text += ", ".join(contributors)
- label.text += "[/b]\n\n"
-
+ var text: String = "[center][b]%s[/b]\n\n%s\n\n[b]%s[/b]\n\n" % [
+ tr("Hurry Curry! - a game about cooking"),
+ tr("developed by"),
+ ", ".join(contributors)
+ ]
+ label.text = text
+
for k in cc_by_3.keys():
var v = cc_by_3[k]
- label.text += "[b]\"%s\" by %s[/b]\n" % [k, v]
- label.text += tr("Licensed under Creative Commons: By Attribution 3.0 License")
- label.text += "\nhttps://creativecommons.org/licenses/by/3.0/\n\n"
-
+ label.text += "[b]\"%s\" by %s[/b]\n%s\nhttps://creativecommons.org/licenses/by/3.0/\n\n" % [
+ k,
+ v,
+ tr("Licensed under Creative Commons: By Attribution 3.0 License")
+ ]
+
for k in cc_by_4.keys():
var v = cc_by_4[k]
- label.text += "[b]\"%s\" by %s[/b]\n" % [k, v]
- label.text += tr("Licensed under Creative Commons: By Attribution 4.0 License")
- label.text += "\nhttps://creativecommons.org/licenses/by/4.0/\n\n"
-
- label.text += "[b]"
- label.text += tr("Additional CC0 assets by:")
- label.text += "[/b]\n"
- label.text += "\n".join(cc_0)
+ label.text += "[b]\"%s\" by %s[/b]\n%s\nhttps://creativecommons.org/licenses/by/4.0/\n\n" % [
+ k,
+ v,
+ tr("Licensed under Creative Commons: By Attribution 4.0 License")
+ ]
+
+ label.text += "[b]%s[/b]\n%s" % [
+ tr("Additional CC0 assets by:"),
+ "\n".join(cc_0)
+ ]
func _on_back_pressed():
exit()