diff options
| author | nokoe <nokoe@mailbox.org> | 2024-07-18 15:43:13 +0200 | 
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-07-18 15:43:53 +0200 | 
| commit | e7eef46339e293359d532493d6bb34bd50e3f972 (patch) | |
| tree | 3e89d8f8b53e725b28aefa9daa8744e0371aade4 /client/menu/credits.gd | |
| parent | 1dd3f549debdffd85639d74248a12dd884c5a59b (diff) | |
| download | hurrycurry-e7eef46339e293359d532493d6bb34bd50e3f972.tar hurrycurry-e7eef46339e293359d532493d6bb34bd50e3f972.tar.bz2 hurrycurry-e7eef46339e293359d532493d6bb34bd50e3f972.tar.zst | |
fix bbcode in translation
Diffstat (limited to 'client/menu/credits.gd')
| -rw-r--r-- | client/menu/credits.gd | 43 | 
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() | 
