1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-27 16:03:14 +00:00

Updated Translations.pot and some tool hint tooltips

This commit is contained in:
Manolis Papadeas 2021-05-25 02:51:10 +03:00
parent 0257adb97b
commit 4e8acdf002
6 changed files with 23 additions and 7 deletions

View file

@ -19,6 +19,9 @@ msgstr ""
msgid "File Name:" msgid "File Name:"
msgstr "" msgstr ""
msgid "Project Name:"
msgstr ""
msgid "Image Size" msgid "Image Size"
msgstr "" msgstr ""
@ -778,11 +781,20 @@ msgid "Lighten/Darken\n\n"
"%s for right mouse button" "%s for right mouse button"
msgstr "" msgstr ""
msgid "Line Tool\n\n"
"%s for left mouse button\n"
"%s for right mouse button\n\n"
"Hold %s to snap the angle of the line\n"
"Hold %s to center the shape on the click origin\n"
"Hold %s to displace the shape's origin\n"
msgstr ""
msgid "Rectangle Tool\n\n" msgid "Rectangle Tool\n\n"
"%s for left mouse button\n" "%s for left mouse button\n"
"%s for right mouse button\n\n" "%s for right mouse button\n\n"
"Hold %s to create a 1:1 shape\n" "Hold %s to create a 1:1 shape\n"
"Hold %s to center the shape on the click origin\n" "Hold %s to center the shape on the click origin\n"
"Hold %s to displace the shape's origin\n"
msgstr "" msgstr ""
msgid "Ellipse Tool\n\n" msgid "Ellipse Tool\n\n"
@ -790,6 +802,7 @@ msgid "Ellipse Tool\n\n"
"%s for right mouse button\n\n" "%s for right mouse button\n\n"
"Hold %s to create a 1:1 shape\n" "Hold %s to create a 1:1 shape\n"
"Hold %s to center the shape on the click origin\n" "Hold %s to center the shape on the click origin\n"
"Hold %s to displace the shape's origin\n"
msgstr "" msgstr ""
msgid "Rectangle" msgid "Rectangle"
@ -1009,6 +1022,9 @@ msgstr ""
msgid "Pixel Perfect" msgid "Pixel Perfect"
msgstr "" msgstr ""
msgid "Fill inside"
msgstr ""
msgid "Makes lines smooth by removing the extra pixels on the edges" msgid "Makes lines smooth by removing the extra pixels on the edges"
msgstr "" msgstr ""

View file

@ -576,7 +576,6 @@ Hold %s to snap the angle of the line
Hold %s to center the shape on the click origin Hold %s to center the shape on the click origin
Hold %s to displace the shape's origin""") % [InputMap.get_action_list("left_linetool_tool")[0].as_text(), InputMap.get_action_list("right_linetool_tool")[0].as_text(), "Shift", "Ctrl", "Alt"] Hold %s to displace the shape's origin""") % [InputMap.get_action_list("left_linetool_tool")[0].as_text(), InputMap.get_action_list("right_linetool_tool")[0].as_text(), "Shift", "Ctrl", "Alt"]
var recttool : BaseButton = find_node_by_name(root, "RectangleTool") var recttool : BaseButton = find_node_by_name(root, "RectangleTool")
recttool.hint_tooltip = tr("""Rectangle Tool recttool.hint_tooltip = tr("""Rectangle Tool
@ -584,7 +583,8 @@ Hold %s to displace the shape's origin""") % [InputMap.get_action_list("left_lin
%s for right mouse button %s for right mouse button
Hold %s to create a 1:1 shape Hold %s to create a 1:1 shape
Hold %s to center the shape on the click origin""") % [InputMap.get_action_list("left_rectangletool_tool")[0].as_text(), InputMap.get_action_list("right_rectangletool_tool")[0].as_text(), "Shift", "Ctrl" ] Hold %s to center the shape on the click origin
Hold %s to displace the shape's origin""") % [InputMap.get_action_list("left_rectangletool_tool")[0].as_text(), InputMap.get_action_list("right_rectangletool_tool")[0].as_text(), "Shift", "Ctrl", "Alt"]
var ellipsetool : BaseButton = find_node_by_name(root, "EllipseTool") var ellipsetool : BaseButton = find_node_by_name(root, "EllipseTool")
ellipsetool.hint_tooltip = tr("""Ellipse Tool ellipsetool.hint_tooltip = tr("""Ellipse Tool
@ -593,7 +593,8 @@ Hold %s to center the shape on the click origin""") % [InputMap.get_action_list(
%s for right mouse button %s for right mouse button
Hold %s to create a 1:1 shape Hold %s to create a 1:1 shape
Hold %s to center the shape on the click origin""") % [InputMap.get_action_list("left_ellipsetool_tool")[0].as_text(), InputMap.get_action_list("right_ellipsetool_tool")[0].as_text(), "Shift", "Ctrl" ] Hold %s to center the shape on the click origin
Hold %s to displace the shape's origin""") % [InputMap.get_action_list("left_ellipsetool_tool")[0].as_text(), InputMap.get_action_list("right_ellipsetool_tool")[0].as_text(), "Shift", "Ctrl", "Alt"]
var color_switch : BaseButton = find_node_by_name(root, "ColorSwitch") var color_switch : BaseButton = find_node_by_name(root, "ColorSwitch")
color_switch.hint_tooltip = tr("""Switch left and right colors color_switch.hint_tooltip = tr("""Switch left and right colors

View file

@ -55,7 +55,6 @@ __meta__ = {
[node name="SplashDialog" parent="Dialogs" instance=ExtResource( 27 )] [node name="SplashDialog" parent="Dialogs" instance=ExtResource( 27 )]
[node name="CreateNewImage" parent="Dialogs" instance=ExtResource( 28 )] [node name="CreateNewImage" parent="Dialogs" instance=ExtResource( 28 )]
margin_right = 375.0
[node name="OpenSprite" parent="Dialogs" instance=ExtResource( 12 )] [node name="OpenSprite" parent="Dialogs" instance=ExtResource( 12 )]

View file

@ -50,6 +50,7 @@ margin_left = 19.0
margin_top = 130.0 margin_top = 130.0
margin_right = 109.0 margin_right = 109.0
margin_bottom = 154.0 margin_bottom = 154.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 4 size_flags_horizontal = 4
text = "Fill inside" text = "Fill inside"
align = 1 align = 1

View file

@ -142,14 +142,14 @@ func _on_TemplatesOptions_item_selected(id : int) -> void:
if ratio_box.pressed: if ratio_box.pressed:
ratio_box.pressed = false ratio_box.pressed = false
temporary_release = true temporary_release = true
if id > 0: if id > 0:
width_value.value = templates[id - 1].resolution.x width_value.value = templates[id - 1].resolution.x
height_value.value = templates[id - 1].resolution.y height_value.value = templates[id - 1].resolution.y
else: else:
width_value.value = Global.default_image_width width_value.value = Global.default_image_width
height_value.value = Global.default_image_height height_value.value = Global.default_image_height
if temporary_release: if temporary_release:
ratio_box.pressed = true ratio_box.pressed = true

View file

@ -43,7 +43,6 @@ text = "Project Name:"
margin_left = 104.0 margin_left = 104.0
margin_right = 359.0 margin_right = 359.0
margin_bottom = 24.0 margin_bottom = 24.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
placeholder_text = "Enter name... (Default \"untitled\")" placeholder_text = "Enter name... (Default \"untitled\")"