mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-08-11 17:04:42 -04:00
Added missing translations
And added hint tooltips to "Pixel Perfect" and "Overwrite Color" buttons
This commit is contained in:
parent
a5c3ea3ada
commit
850c5606de
6 changed files with 82 additions and 12 deletions
|
@ -26,9 +26,9 @@ func _on_FrameTagDialog_about_to_show() -> void:
|
|||
var hbox_cont := HBoxContainer.new()
|
||||
var tag_label := Label.new()
|
||||
if tag.from == tag.to:
|
||||
tag_label.text = "Tag %s (Frame %s)" % [i + 1, tag.from]
|
||||
tag_label.text = tr("Tag %s (Frame %s)") % [i + 1, tag.from]
|
||||
else:
|
||||
tag_label.text = "Tag %s (Frames %s-%s)" % [i + 1, tag.from, tag.to]
|
||||
tag_label.text = tr("Tag %s (Frames %s-%s)") % [i + 1, tag.from, tag.to]
|
||||
hbox_cont.add_child(tag_label)
|
||||
|
||||
var edit_button := Button.new()
|
||||
|
@ -75,7 +75,7 @@ func _on_EditButton_pressed(_tag_id : int) -> void:
|
|||
options_dialog.get_node("GridContainer/FromSpinBox").value = Global.current_project.animation_tags[_tag_id].from
|
||||
options_dialog.get_node("GridContainer/ToSpinBox").value = Global.current_project.animation_tags[_tag_id].to
|
||||
if !delete_tag_button:
|
||||
delete_tag_button = options_dialog.add_button("Delete Tag", true, "delete_tag")
|
||||
delete_tag_button = options_dialog.add_button("Delete", true, "delete_tag")
|
||||
else:
|
||||
delete_tag_button.visible = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue