1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-22 05:23:14 +00:00

Added missing translations

And added hint tooltips to "Pixel Perfect" and "Overwrite Color" buttons
This commit is contained in:
OverloadedOrama 2020-08-27 14:30:26 +03:00
parent a5c3ea3ada
commit 850c5606de
6 changed files with 82 additions and 12 deletions

View file

@ -512,12 +512,21 @@ msgstr ""
msgid "About Pixelorama" msgid "About Pixelorama"
msgstr "" msgstr ""
msgid "Pixelorama - Pixelate your dreams!"
msgstr ""
msgid "Developed by Orama Interactive" msgid "Developed by Orama Interactive"
msgstr "" msgstr ""
msgid "Copyright 2019-2020 Orama Interactive"
msgstr ""
msgid "Website" msgid "Website"
msgstr "" msgstr ""
msgid "GitHub Repo"
msgstr ""
msgid "Donate" msgid "Donate"
msgstr "" msgstr ""
@ -825,13 +834,13 @@ msgstr ""
msgid "Select a brush" msgid "Select a brush"
msgstr "" msgstr ""
msgid "Brush: Pixel" msgid "Pixel brush"
msgstr "" msgstr ""
msgid "Brush: Circle" msgid "Circle brush"
msgstr "" msgstr ""
msgid "Brush: Filled Circle" msgid "Filled circle brush"
msgstr "" msgstr ""
msgid "Custom brush" msgid "Custom brush"
@ -840,12 +849,18 @@ msgstr ""
msgid "Brush size:" msgid "Brush size:"
msgstr "" msgstr ""
msgid "Overwrite" msgid "Overwrite Color"
msgstr ""
msgid "Overwrites color instead of blending it. This option is only relevant with colors that are not fully opaque"
msgstr "" msgstr ""
msgid "Pixel Perfect" msgid "Pixel Perfect"
msgstr "" msgstr ""
msgid "Makes lines smooth by removing the extra pixels on the edges"
msgstr ""
msgid "Brush color from" msgid "Brush color from"
msgstr "" msgstr ""
@ -985,9 +1000,30 @@ msgstr ""
msgid "Manage frame tags" msgid "Manage frame tags"
msgstr "" msgstr ""
msgid "Frame Tag Properties"
msgstr ""
msgid "Add a new frame tag"
msgstr ""
msgid "Name:"
msgstr ""
msgid "From:"
msgstr ""
msgid "To:"
msgstr ""
msgid "Animation plays only on frames of the same tag" msgid "Animation plays only on frames of the same tag"
msgstr "" msgstr ""
msgid "Tag %s (Frame %s)"
msgstr ""
msgid "Tag %s (Frames %s-%s)"
msgstr ""
msgid "If it's selected, the animation plays only on the frames that have the same tag.\n" msgid "If it's selected, the animation plays only on the frames that have the same tag.\n"
"If it's not, the animation will play for all frames, ignoring tags." "If it's not, the animation will play for all frames, ignoring tags."
msgstr "" msgstr ""
@ -1188,6 +1224,9 @@ msgstr ""
msgid "Create a new empty palette?" msgid "Create a new empty palette?"
msgstr "" msgstr ""
msgid "Error"
msgstr ""
msgid "Error: Palette must have a valid name." msgid "Error: Palette must have a valid name."
msgstr "" msgstr ""

View file

@ -98,7 +98,7 @@ __meta__ = {
[node name="ErrorDialog" type="AcceptDialog" parent="Dialogs"] [node name="ErrorDialog" type="AcceptDialog" parent="Dialogs"]
margin_right = 151.0 margin_right = 151.0
margin_bottom = 60.0 margin_bottom = 60.0
window_title = "Error!" window_title = "Error"
dialog_text = "This is an error message!" dialog_text = "This is an error message!"
[node name="BackupConfirmation" type="ConfirmationDialog" parent="Dialogs"] [node name="BackupConfirmation" type="ConfirmationDialog" parent="Dialogs"]

View file

@ -19,7 +19,7 @@ const languages_dict := {
"zh_TW" : ["繁體中文", "Chinese Traditional"], "zh_TW" : ["繁體中文", "Chinese Traditional"],
"no_NO" : ["Norsk", "Norwegian"], "no_NO" : ["Norsk", "Norwegian"],
"hu_HU" : ["Magyar", "Hungarian"], "hu_HU" : ["Magyar", "Hungarian"],
"ro_RO" : ["Romanian", "Romanian"], "ro_RO" : ["Română", "Romanian"],
"ko_KR" : ["한국어", "Korean"], "ko_KR" : ["한국어", "Korean"],
} }

View file

@ -31,6 +31,7 @@ margin_right = 112.0
margin_bottom = 42.0 margin_bottom = 42.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
hint_tooltip = "Makes lines smooth by removing the extra pixels on the edges"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
size_flags_horizontal = 4 size_flags_horizontal = 4
text = "Pixel Perfect" text = "Pixel Perfect"

View file

@ -6,30 +6,60 @@
[node name="ToolOptions" instance=ExtResource( 1 )] [node name="ToolOptions" instance=ExtResource( 1 )]
script = ExtResource( 3 ) script = ExtResource( 3 )
[node name="Label" parent="." index="0"]
margin_right = 128.0
[node name="Brush" parent="." index="1"]
margin_right = 128.0
[node name="Type" parent="Brush" index="0"]
margin_left = 7.0
margin_right = 43.0
[node name="Size" parent="Brush" index="1"]
margin_left = 47.0
margin_right = 121.0
[node name="BrushSize" parent="." index="2"]
margin_left = 18.0
margin_right = 110.0
[node name="Overwrite" type="CheckBox" parent="." index="3"] [node name="Overwrite" type="CheckBox" parent="." index="3"]
margin_left = 12.0
margin_top = 74.0 margin_top = 74.0
margin_right = 103.0 margin_right = 128.0
margin_bottom = 98.0 margin_bottom = 98.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
hint_tooltip = "Overwrites color instead of blending it. This option is only relevant with colors that are not fully opaque"
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
size_flags_horizontal = 4 size_flags_horizontal = 4
text = "Overwrite" text = "Overwrite Color"
align = 1 align = 1
__meta__ = { __meta__ = {
"_editor_description_": "" "_editor_description_": ""
} }
[node name="PixelPerfect" parent="." index="4"] [node name="PixelPerfect" parent="." index="4"]
margin_left = 10.0
margin_top = 102.0 margin_top = 102.0
margin_right = 118.0
margin_bottom = 126.0 margin_bottom = 126.0
[node name="EmptySpacer" parent="." index="6"] [node name="EmptySpacer" parent="." index="6"]
margin_top = 130.0 margin_top = 130.0
margin_right = 128.0
margin_bottom = 142.0 margin_bottom = 142.0
[node name="Mirror" parent="." index="7"] [node name="Mirror" parent="." index="7"]
margin_top = 146.0 margin_top = 146.0
margin_right = 128.0
margin_bottom = 163.0 margin_bottom = 163.0
[node name="Horizontal" parent="Mirror" index="0"]
margin_left = 26.0
margin_right = 41.0
[node name="Vertical" parent="Mirror" index="1"]
margin_left = 85.0
margin_right = 102.0
[connection signal="toggled" from="Overwrite" to="." method="_on_Overwrite_toggled"] [connection signal="toggled" from="Overwrite" to="." method="_on_Overwrite_toggled"]

View file

@ -26,9 +26,9 @@ func _on_FrameTagDialog_about_to_show() -> void:
var hbox_cont := HBoxContainer.new() var hbox_cont := HBoxContainer.new()
var tag_label := Label.new() var tag_label := Label.new()
if tag.from == tag.to: 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: 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) hbox_cont.add_child(tag_label)
var edit_button := Button.new() 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/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 options_dialog.get_node("GridContainer/ToSpinBox").value = Global.current_project.animation_tags[_tag_id].to
if !delete_tag_button: 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: else:
delete_tag_button.visible = true delete_tag_button.visible = true