diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 5fe09a321..975e911b9 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -19,6 +19,9 @@ msgstr "" msgid "File Name:" msgstr "" +msgid "Project Name:" +msgstr "" + msgid "Image Size" msgstr "" @@ -778,11 +781,20 @@ msgid "Lighten/Darken\n\n" "%s for right mouse button" 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" "%s for left mouse button\n" "%s for right mouse button\n\n" "Hold %s to create a 1:1 shape\n" "Hold %s to center the shape on the click origin\n" +"Hold %s to displace the shape's origin\n" msgstr "" msgid "Ellipse Tool\n\n" @@ -790,6 +802,7 @@ msgid "Ellipse Tool\n\n" "%s for right mouse button\n\n" "Hold %s to create a 1:1 shape\n" "Hold %s to center the shape on the click origin\n" +"Hold %s to displace the shape's origin\n" msgstr "" msgid "Rectangle" @@ -1009,6 +1022,9 @@ msgstr "" msgid "Pixel Perfect" msgstr "" +msgid "Fill inside" +msgstr "" + msgid "Makes lines smooth by removing the extra pixels on the edges" msgstr "" diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 2d8d73d56..7547d73f0 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -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 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") 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 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") 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 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") color_switch.hint_tooltip = tr("""Switch left and right colors diff --git a/src/Main.tscn b/src/Main.tscn index 41f9a466d..67df2a3ea 100644 --- a/src/Main.tscn +++ b/src/Main.tscn @@ -55,7 +55,6 @@ __meta__ = { [node name="SplashDialog" parent="Dialogs" instance=ExtResource( 27 )] [node name="CreateNewImage" parent="Dialogs" instance=ExtResource( 28 )] -margin_right = 375.0 [node name="OpenSprite" parent="Dialogs" instance=ExtResource( 12 )] diff --git a/src/Tools/Pencil.tscn b/src/Tools/Pencil.tscn index 5cba382b2..0b0f19179 100644 --- a/src/Tools/Pencil.tscn +++ b/src/Tools/Pencil.tscn @@ -50,6 +50,7 @@ margin_left = 19.0 margin_top = 130.0 margin_right = 109.0 margin_bottom = 154.0 +mouse_default_cursor_shape = 2 size_flags_horizontal = 4 text = "Fill inside" align = 1 diff --git a/src/UI/Dialogs/CreateNewImage.gd b/src/UI/Dialogs/CreateNewImage.gd index af1c361e6..113011c1f 100644 --- a/src/UI/Dialogs/CreateNewImage.gd +++ b/src/UI/Dialogs/CreateNewImage.gd @@ -142,14 +142,14 @@ func _on_TemplatesOptions_item_selected(id : int) -> void: if ratio_box.pressed: ratio_box.pressed = false temporary_release = true - + if id > 0: width_value.value = templates[id - 1].resolution.x height_value.value = templates[id - 1].resolution.y else: width_value.value = Global.default_image_width height_value.value = Global.default_image_height - + if temporary_release: ratio_box.pressed = true diff --git a/src/UI/Dialogs/CreateNewImage.tscn b/src/UI/Dialogs/CreateNewImage.tscn index 884eaa7f9..49bce7c91 100644 --- a/src/UI/Dialogs/CreateNewImage.tscn +++ b/src/UI/Dialogs/CreateNewImage.tscn @@ -43,7 +43,6 @@ text = "Project Name:" margin_left = 104.0 margin_right = 359.0 margin_bottom = 24.0 -mouse_default_cursor_shape = 2 size_flags_horizontal = 3 placeholder_text = "Enter name... (Default \"untitled\")"