diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 18442e871..85581633a 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -608,7 +608,7 @@ msgstr "" msgid "GitHub Contributors" msgstr "" -msgid "Art by" +msgid "Art by: %s" msgstr "" msgid "untitled" diff --git a/src/UI/Dialogs/SplashDialog.gd b/src/UI/Dialogs/SplashDialog.gd index 8d7825276..9a90c18eb 100644 --- a/src/UI/Dialogs/SplashDialog.gd +++ b/src/UI/Dialogs/SplashDialog.gd @@ -2,7 +2,7 @@ extends WindowDialog func _on_SplashDialog_about_to_show() -> void: - var art_by_label : Label = Global.find_node_by_name(self, "ArtByLabel") + var art_by_label : Button = Global.find_node_by_name(self, "ArtistName") var show_on_startup_button : CheckBox = Global.find_node_by_name(self, "ShowOnStartup") var developed_by_label : Label = Global.find_node_by_name(self, "DevelopedBy") var become_platinum : Button = Global.find_node_by_name(self, "BecomePlatinum") @@ -13,7 +13,7 @@ func _on_SplashDialog_about_to_show() -> void: show_on_startup_button.pressed = !Global.config_cache.get_value("preferences", "startup") window_title = "Pixelorama" + " " + Global.current_version - art_by_label.text = tr("Art by") + ":" + art_by_label.text = tr("Art by: %s") % "Wishdream" become_platinum.text = "- " + tr("Become a Platinum Sponsor") become_gold.text = "- " + tr("Become a Gold Sponsor") become_patron.text = "- " + tr("Become a Patron") diff --git a/src/UI/Dialogs/SplashDialog.tscn b/src/UI/Dialogs/SplashDialog.tscn index acd0b7d1c..f84fa9b3a 100644 --- a/src/UI/Dialogs/SplashDialog.tscn +++ b/src/UI/Dialogs/SplashDialog.tscn @@ -53,25 +53,15 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="ArtByLabel" type="Label" parent="Contents/SplashArt/ArtBy"] -margin_top = 3.0 -margin_right = 42.0 -margin_bottom = 17.0 -mouse_default_cursor_shape = 2 -size_flags_horizontal = 0 -custom_colors/font_color = Color( 1, 1, 1, 1 ) -text = "Art by:" - [node name="ArtistName" type="Button" parent="Contents/SplashArt/ArtBy"] -margin_left = 39.0 -margin_right = 124.0 +margin_right = 77.0 margin_bottom = 21.0 hint_tooltip = "https://twitter.com/WishdreamStar" mouse_default_cursor_shape = 2 custom_colors/font_color = Color( 1, 1, 1, 1 ) custom_colors/font_color_hover = Color( 0.764706, 0.764706, 0.764706, 1 ) custom_colors/font_color_pressed = Color( 0.521569, 0.521569, 0.521569, 1 ) -text = "Wishdream" +text = "Art by: %s" flat = true [node name="ButtonsPatronsLogos" type="HBoxContainer" parent="Contents"]