1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-30 23:19:49 +00:00

Change "Art by" translation string

Found in the splash dialog
This commit is contained in:
OverloadedOrama 2020-08-21 20:13:22 +03:00
parent 52effb12cd
commit 3a88a5c861
3 changed files with 5 additions and 15 deletions

View file

@ -608,7 +608,7 @@ msgstr ""
msgid "GitHub Contributors"
msgstr ""
msgid "Art by"
msgid "Art by: %s"
msgstr ""
msgid "untitled"

View file

@ -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")

View file

@ -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"]