Changed some hint_tooltips

I'm trying to remove all the weird "_HT" strings and replace them with actual sentences instead. This will make it easier for translators
This commit is contained in:
OverloadedOrama 2020-03-26 03:24:25 +02:00
parent cd6d401a11
commit 278c9facb2
5 changed files with 13 additions and 16 deletions

View file

@ -1111,7 +1111,7 @@ margin_bottom = 32.0
margin_right = 32.0 margin_right = 32.0
margin_bottom = 32.0 margin_bottom = 32.0
rect_min_size = Vector2( 32, 32 ) rect_min_size = Vector2( 32, 32 )
hint_tooltip = "NEWPALETTE_HT" hint_tooltip = "Add a new palette"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
texture_normal = ExtResource( 21 ) texture_normal = ExtResource( 21 )
texture_hover = ExtResource( 22 ) texture_hover = ExtResource( 22 )
@ -1127,7 +1127,7 @@ items = [ "New Empty Palette", null, 0, false, false, 0, 0, null, "", false, "Im
margin_left = 36.0 margin_left = 36.0
margin_right = 68.0 margin_right = 68.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "EDITPALETTE_HT" hint_tooltip = "Edit currently selected palette"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
texture_normal = ExtResource( 23 ) texture_normal = ExtResource( 23 )
texture_hover = ExtResource( 24 ) texture_hover = ExtResource( 24 )
@ -1138,7 +1138,7 @@ margin_right = 175.0
margin_bottom = 32.0 margin_bottom = 32.0
grow_horizontal = 0 grow_horizontal = 0
rect_min_size = Vector2( 103, 0 ) rect_min_size = Vector2( 103, 0 )
hint_tooltip = "CHOOSEPALETTE_HT" hint_tooltip = "Choose a palette"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
clip_text = true clip_text = true

View file

@ -115,7 +115,7 @@ margin_bottom = 32.0
]] ]]
margin_right = 32.0 margin_right = 32.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERNEW_HT" hint_tooltip = "Create a new layer"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
texture_normal = ExtResource( 2 ) texture_normal = ExtResource( 2 )
texture_hover = ExtResource( 3 ) texture_hover = ExtResource( 3 )
@ -126,7 +126,7 @@ texture_hover = ExtResource( 3 )
margin_left = 36.0 margin_left = 36.0
margin_right = 68.0 margin_right = 68.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERREMOVE_HT" hint_tooltip = "Remove current layer"
mouse_default_cursor_shape = 8 mouse_default_cursor_shape = 8
disabled = true disabled = true
texture_normal = ExtResource( 4 ) texture_normal = ExtResource( 4 )
@ -139,20 +139,20 @@ texture_disabled = ExtResource( 6 )
margin_left = 72.0 margin_left = 72.0
margin_right = 104.0 margin_right = 104.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERUP_HT" hint_tooltip = "Move up the current layer"
mouse_default_cursor_shape = 8 mouse_default_cursor_shape = 8
disabled = true disabled = true
texture_normal = ExtResource( 7 ) texture_normal = ExtResource( 7 )
texture_hover = ExtResource( 8 ) texture_hover = ExtResource( 8 )
texture_disabled = ExtResource( 9 ) texture_disabled = ExtResource( 9 )
[node name="MovwDownLayer" type="TextureButton" parent="AnimationContainer/TimelineContainer/LayerButtons" groups=[ [node name="MoveDownLayer" type="TextureButton" parent="AnimationContainer/TimelineContainer/LayerButtons" groups=[
"UIButtons", "UIButtons",
]] ]]
margin_left = 108.0 margin_left = 108.0
margin_right = 140.0 margin_right = 140.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERDOWN_HT" hint_tooltip = "Move down the current layer"
mouse_default_cursor_shape = 8 mouse_default_cursor_shape = 8
disabled = true disabled = true
texture_normal = ExtResource( 10 ) texture_normal = ExtResource( 10 )
@ -165,7 +165,7 @@ texture_disabled = ExtResource( 12 )
margin_left = 144.0 margin_left = 144.0
margin_right = 176.0 margin_right = 176.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERCLONE_HT" hint_tooltip = "Clone current layer"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
texture_normal = ExtResource( 13 ) texture_normal = ExtResource( 13 )
texture_hover = ExtResource( 14 ) texture_hover = ExtResource( 14 )
@ -176,7 +176,7 @@ texture_hover = ExtResource( 14 )
margin_left = 180.0 margin_left = 180.0
margin_right = 212.0 margin_right = 212.0
margin_bottom = 32.0 margin_bottom = 32.0
hint_tooltip = "LAYERMERGE_HT" hint_tooltip = "Merge current layer with the one below"
mouse_default_cursor_shape = 8 mouse_default_cursor_shape = 8
disabled = true disabled = true
texture_normal = ExtResource( 15 ) texture_normal = ExtResource( 15 )
@ -491,7 +491,7 @@ margin_bottom = 196.0
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/AddLayer" to="." method="add_layer" binds= [ true ]] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/AddLayer" to="." method="add_layer" binds= [ true ]]
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/RemoveLayer" to="." method="_on_RemoveLayer_pressed"] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/RemoveLayer" to="." method="_on_RemoveLayer_pressed"]
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MoveUpLayer" to="." method="change_layer_order" binds= [ 1 ]] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MoveUpLayer" to="." method="change_layer_order" binds= [ 1 ]]
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MovwDownLayer" to="." method="change_layer_order" binds= [ -1 ]] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MoveDownLayer" to="." method="change_layer_order" binds= [ -1 ]]
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/CloneLayer" to="." method="add_layer" binds= [ false ]] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/CloneLayer" to="." method="add_layer" binds= [ false ]]
[connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MergeDownLayer" to="." method="_on_MergeDownLayer_pressed"] [connection signal="pressed" from="AnimationContainer/TimelineContainer/LayerButtons/MergeDownLayer" to="." method="_on_MergeDownLayer_pressed"]
[connection signal="value_changed" from="AnimationContainer/TimelineContainer/OpacityContainer/OpacitySlider" to="." method="_on_OpacitySlider_value_changed"] [connection signal="value_changed" from="AnimationContainer/TimelineContainer/OpacityContainer/OpacitySlider" to="." method="_on_OpacitySlider_value_changed"]

View file

@ -39,7 +39,7 @@ margin_bottom = 36.0
margin_top = 2.0 margin_top = 2.0
margin_right = 32.0 margin_right = 32.0
margin_bottom = 34.0 margin_bottom = 34.0
hint_tooltip = "LAYERVISIBILITY_HT" hint_tooltip = "Toggle layer's visibility"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
size_flags_horizontal = 0 size_flags_horizontal = 0
size_flags_vertical = 4 size_flags_vertical = 4

View file

@ -356,7 +356,7 @@ func _ready() -> void:
remove_layer_button = find_node_by_name(animation_timeline, "RemoveLayer") remove_layer_button = find_node_by_name(animation_timeline, "RemoveLayer")
move_up_layer_button = find_node_by_name(animation_timeline, "MoveUpLayer") move_up_layer_button = find_node_by_name(animation_timeline, "MoveUpLayer")
move_down_layer_button = find_node_by_name(animation_timeline, "MovwDownLayer") move_down_layer_button = find_node_by_name(animation_timeline, "MoveDownLayer")
merge_down_layer_button = find_node_by_name(animation_timeline, "MergeDownLayer") merge_down_layer_button = find_node_by_name(animation_timeline, "MergeDownLayer")
layer_opacity_slider = find_node_by_name(animation_timeline, "OpacitySlider") layer_opacity_slider = find_node_by_name(animation_timeline, "OpacitySlider")

View file

@ -629,9 +629,6 @@ msgstr ""
msgid "Layers" msgid "Layers"
msgstr "" msgstr ""
msgid "LAYERNEW_HT"
msgstr ""
msgid "Create a new layer" msgid "Create a new layer"
msgstr "" msgstr ""