Using metadata for TreeItems in Preferences & About

To avoid issues with the TreeItem strings being translated. Starting to get more translation-friendly again, will commit changes to Translations.pot, en.po and el.po soon.
This commit is contained in:
OverloadedOrama 2019-12-31 19:04:54 +02:00
parent 6beb4eed07
commit 2be469ec22
4 changed files with 25 additions and 11 deletions

View file

@ -1,4 +1,10 @@
extends WindowDialog
func _on_SplashDialog_about_to_show() -> void:
var current_version : String = ProjectSettings.get_setting("application/config/Version")
window_title = "Pixelorama" + " " + current_version
$Contents/DevelopedBy.text = "Pixelorama" + " " + current_version + " - " + tr("MADEBY_LABEL")
func _on_ArtCredits_pressed() -> void:
OS.shell_open("https://www.instagram.com/erevos_art")