diff --git a/project.godot b/project.godot index 6b848d4f6..824c0d084 100644 --- a/project.godot +++ b/project.godot @@ -15,7 +15,7 @@ config/version="v1.0-alpha3" config/tags=PackedStringArray("project") run/main_scene="res://src/ui_parts/main_scene.tscn" config/use_custom_user_dir=true -config/features=PackedStringArray("4.2") +config/features=PackedStringArray("4.3") run/low_processor_mode=true boot_splash/bg_color=Color(0.1065, 0.1181, 0.15, 1) boot_splash/image="res://visual/splash.png" @@ -34,6 +34,11 @@ SVG="*res://src/SVG.gd" Indications="*res://src/Indications.gd" HandlerGUI="*res://src/HandlerGUI.gd" +[debug] + +gdscript/warnings/int_as_enum_without_cast=0 +gdscript/warnings/int_as_enum_without_match=0 + [display] window/size/viewport_width=1024 @@ -63,18 +68,18 @@ open_settings={ } import={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":79,"physical_keycode":0,"key_label":0,"unicode":111,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":73,"physical_keycode":0,"key_label":0,"unicode":105,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":79,"physical_keycode":0,"key_label":0,"unicode":111,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":73,"physical_keycode":0,"key_label":0,"unicode":105,"location":0,"echo":false,"script":null) ] } export={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":69,"physical_keycode":0,"key_label":0,"unicode":101,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":69,"physical_keycode":0,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) ] } save={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } copy_svg_text={ @@ -95,53 +100,53 @@ reset_svg={ } delete={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194312,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194312,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } zoom_in={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":61,"physical_keycode":0,"key_label":0,"unicode":61,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":61,"physical_keycode":0,"key_label":0,"unicode":61,"location":0,"echo":false,"script":null) ] } zoom_out={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":45,"physical_keycode":0,"key_label":0,"unicode":45,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":45,"physical_keycode":0,"key_label":0,"unicode":45,"location":0,"echo":false,"script":null) ] } zoom_reset={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":48,"physical_keycode":0,"key_label":0,"unicode":48,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":48,"physical_keycode":0,"key_label":0,"unicode":48,"location":0,"echo":false,"script":null) ] } move_up={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":4194320,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":4194320,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } move_down={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) ] } undo={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":122,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null) ] } redo={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":true,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":90,"echo":false,"script":null) -, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":89,"physical_keycode":0,"key_label":0,"unicode":121,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":true,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":90,"location":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":89,"physical_keycode":0,"key_label":0,"unicode":121,"location":0,"echo":false,"script":null) ] } duplicate={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":100,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":68,"physical_keycode":0,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) ] } select_all={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"command_or_control_autoremap":true,"alt_pressed":false,"shift_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) ] } view_show_grid={ @@ -178,102 +183,102 @@ about_website={ } move_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":77,"physical_keycode":0,"key_label":0,"unicode":109,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":77,"physical_keycode":0,"key_label":0,"unicode":109,"location":0,"echo":false,"script":null) ] } move_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":77,"physical_keycode":0,"key_label":0,"unicode":77,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":77,"physical_keycode":0,"key_label":0,"unicode":77,"location":0,"echo":false,"script":null) ] } line_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":76,"physical_keycode":0,"key_label":0,"unicode":108,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":76,"physical_keycode":0,"key_label":0,"unicode":108,"location":0,"echo":false,"script":null) ] } line_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":76,"physical_keycode":0,"key_label":0,"unicode":76,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":76,"physical_keycode":0,"key_label":0,"unicode":76,"location":0,"echo":false,"script":null) ] } horizontal_line_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":72,"physical_keycode":0,"key_label":0,"unicode":104,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":72,"physical_keycode":0,"key_label":0,"unicode":104,"location":0,"echo":false,"script":null) ] } horizontal_line_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":72,"physical_keycode":0,"key_label":0,"unicode":72,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":72,"physical_keycode":0,"key_label":0,"unicode":72,"location":0,"echo":false,"script":null) ] } vertical_line_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":86,"physical_keycode":0,"key_label":0,"unicode":118,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":86,"physical_keycode":0,"key_label":0,"unicode":118,"location":0,"echo":false,"script":null) ] } vertical_line_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":86,"physical_keycode":0,"key_label":0,"unicode":86,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":86,"physical_keycode":0,"key_label":0,"unicode":86,"location":0,"echo":false,"script":null) ] } close_path_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":122,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":122,"location":0,"echo":false,"script":null) ] } close_path_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":90,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":90,"physical_keycode":0,"key_label":0,"unicode":90,"location":0,"echo":false,"script":null) ] } elliptical_arc_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) ] } elliptical_arc_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":65,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":65,"physical_keycode":0,"key_label":0,"unicode":65,"location":0,"echo":false,"script":null) ] } quadratic_bezier_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":113,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":113,"location":0,"echo":false,"script":null) ] } quadratic_bezier_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":81,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":81,"physical_keycode":0,"key_label":0,"unicode":81,"location":0,"echo":false,"script":null) ] } shorthand_quadratic_bezier_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":84,"physical_keycode":0,"key_label":0,"unicode":116,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":84,"physical_keycode":0,"key_label":0,"unicode":116,"location":0,"echo":false,"script":null) ] } shorthand_quadratic_bezier_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":84,"physical_keycode":0,"key_label":0,"unicode":84,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":84,"physical_keycode":0,"key_label":0,"unicode":84,"location":0,"echo":false,"script":null) ] } cubic_bezier_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":67,"physical_keycode":0,"key_label":0,"unicode":99,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":67,"physical_keycode":0,"key_label":0,"unicode":99,"location":0,"echo":false,"script":null) ] } cubic_bezier_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":67,"physical_keycode":0,"key_label":0,"unicode":67,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":67,"physical_keycode":0,"key_label":0,"unicode":67,"location":0,"echo":false,"script":null) ] } shorthand_cubic_bezier_relative={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":115,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) ] } shorthand_cubic_bezier_absolute={ "deadzone": 0.5, -"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":83,"echo":false,"script":null) +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":83,"location":0,"echo":false,"script":null) ] } diff --git a/src/GlobalSettings.gd b/src/GlobalSettings.gd index 5b11b282f..6c355cc21 100644 --- a/src/GlobalSettings.gd +++ b/src/GlobalSettings.gd @@ -1,6 +1,9 @@ ## This singleton handles save data and settings. extends Node + +signal keybinds_changed + # Session data var save_data := SaveData.new() const save_path = "user://save.tres" @@ -173,6 +176,7 @@ func save_palettes() -> void: func save_keybind(action: String) -> void: config.set_value("keybinds", action, InputMap.action_get_events(action)) config.save(config_path) + keybinds_changed.emit() func modify_save_data(property: String, new_value: Variant) -> void: diff --git a/src/ui_parts/global_menu.gd b/src/ui_parts/global_menu.gd new file mode 100644 index 000000000..801a0c242 --- /dev/null +++ b/src/ui_parts/global_menu.gd @@ -0,0 +1,210 @@ +extends Node + + +var global_rid: RID +var appl_rid: RID +var help_rid: RID + +var file_rid: RID +var file_index: int +var file_clear_svg_index: int +var file_optimize_index: int +var file_clear_assoc_index: int +var file_reset_svg_index: int + +var edit_rid: RID +var edit_index: int +var tool_rid: RID +var tool_index: int + +var view_rid: RID +var view_index: int +var view_show_grid_index: int +var view_show_handles_index: int +var view_rasterized_svg_index: int + +var snap_rid: RID +var snap_index: int +var snap_enable_index: int +var snap_0125_index: int +var snap_025_index: int +var snap_05_index: int +var snap_1_index: int +var snap_2_index: int +var snap_4_index: int + + +func _enter_tree() -> void: + if not DisplayServer.has_feature(DisplayServer.FEATURE_GLOBAL_MENU): + queue_free() + return + # Included menus. + global_rid = NativeMenu.get_system_menu(NativeMenu.MAIN_MENU_ID) + appl_rid = NativeMenu.get_system_menu(NativeMenu.APPLICATION_MENU_ID) + help_rid = NativeMenu.get_system_menu(NativeMenu.HELP_MENU_ID) + # Custom menus. + _generate_main_menus() + _setup_menu_items() + GlobalSettings.keybinds_changed.connect(_reset_menu_items) + SVG.svg_text_changed.connect(_on_svg_text_changed) + + +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + _clear_menu_items() + NativeMenu.remove_item(global_rid, snap_index) + NativeMenu.remove_item(global_rid, view_index) + NativeMenu.remove_item(global_rid, tool_index) + NativeMenu.remove_item(global_rid, edit_index) + NativeMenu.remove_item(global_rid, file_index) + NativeMenu.free_menu(file_rid) + NativeMenu.free_menu(edit_rid) + NativeMenu.free_menu(tool_rid) + NativeMenu.free_menu(view_rid) + NativeMenu.free_menu(snap_rid) + _generate_main_menus() + _setup_menu_items() + + +func _generate_main_menus() -> void: + file_rid = NativeMenu.create_menu() + edit_rid = NativeMenu.create_menu() + tool_rid = NativeMenu.create_menu() + view_rid = NativeMenu.create_menu() + snap_rid = NativeMenu.create_menu() + file_index = NativeMenu.add_submenu_item(global_rid, tr("File"), file_rid) + edit_index = NativeMenu.add_submenu_item(global_rid, tr("Edit"), edit_rid) + tool_index = NativeMenu.add_submenu_item(global_rid, tr("Tool"), tool_rid) + view_index = NativeMenu.add_submenu_item(global_rid, tr("View"), view_rid) + snap_index = NativeMenu.add_submenu_item(global_rid, tr("Snap"), snap_rid) + + +func _reset_menu_items() -> void: + _setup_menu_items() + + +func _clear_menu_items() -> void: + NativeMenu.clear(appl_rid) + NativeMenu.clear(help_rid) + NativeMenu.clear(file_rid) + NativeMenu.clear(edit_rid) + NativeMenu.clear(tool_rid) + NativeMenu.clear(view_rid) + NativeMenu.clear(snap_rid) + + +func _setup_menu_items() -> void: + # Included App and Help menus. + _add_action(appl_rid, "open_settings", tr("GodSVG Settings...")) + NativeMenu.add_icon_item(help_rid, load("res://visual/icons/Gear.svg"), tr("GodSVG Settings..."), _action_call, _action_call, "open_settings") + NativeMenu.add_icon_item(help_rid, load("res://visual/icons/Link.svg"), tr("GodSVG Repository"), _action_call, _action_call, "about_repo") + NativeMenu.add_icon_item(help_rid, load("res://visual/icon.svg"), tr("About GodSVG"), _action_call, _action_call, "about_info") + NativeMenu.add_icon_item(help_rid, load("res://visual/icons/Heart.svg"), tr("Donate to GodSVG"), _action_call, _action_call, "about_donate") + # File menu. + _add_action(file_rid, "import", tr("Import SVG")) + _add_action(file_rid, "export", tr("Export Image")) + _add_action(file_rid, "save", tr("Export SVG")) + NativeMenu.add_separator(file_rid) + _add_action(file_rid, "copy_svg_text") + file_clear_svg_index = _add_action(file_rid, "clear_svg") + file_optimize_index = _add_action(file_rid, "optimize_svg") + NativeMenu.add_separator(file_rid) + file_clear_assoc_index = _add_action(file_rid, "clear_file_path", tr("Clear Association")) + file_reset_svg_index = _add_action(file_rid, "reset_svg") + _on_svg_text_changed() + # Edit and Tool menus. + _add_many_actions(edit_rid, GlobalSettings.configurable_keybinds["edit"]) + _add_many_actions(tool_rid, GlobalSettings.unconfigurable_keybinds) + # View menu. + view_show_grid_index = NativeMenu.add_check_item(view_rid, tr("Show Grid"), _action_call, _action_call, "view_show_grid") + view_show_handles_index = NativeMenu.add_check_item(view_rid, tr("Show Handles"), _action_call, _action_call, "view_show_handles") + view_rasterized_svg_index = NativeMenu.add_check_item(view_rid, tr("Rasterized SVG"), _action_call, _action_call, "view_rasterized_svg") + _on_display_view_settings_updated(true, true, false) + NativeMenu.add_separator(view_rid) + _add_action(view_rid, "zoom_in") + _add_action(view_rid, "zoom_out") + _add_action(view_rid, "zoom_reset") + # Snap menu. + snap_enable_index = NativeMenu.add_check_item(snap_rid, tr("Enable Snap"), _action_call, _action_call, "snap_toggle") + NativeMenu.add_separator(snap_rid) + snap_0125_index = NativeMenu.add_radio_check_item(snap_rid, "0.125", _set_snap, _set_snap, 0.125) + snap_025_index = NativeMenu.add_radio_check_item(snap_rid, "0.25", _set_snap, _set_snap, 0.25) + snap_05_index = NativeMenu.add_radio_check_item(snap_rid, "0.5", _set_snap, _set_snap, 0.5) + snap_1_index = NativeMenu.add_radio_check_item(snap_rid, "1", _set_snap, _set_snap, 1) + snap_2_index = NativeMenu.add_radio_check_item(snap_rid, "2", _set_snap, _set_snap, 2) + snap_4_index = NativeMenu.add_radio_check_item(snap_rid, "4", _set_snap, _set_snap, 4) + + +func _add_many_actions(menu_rid: RID, actions: Array) -> void: + for action in actions: + _add_action(menu_rid, action) + + +func _add_action(menu_rid: RID, action_name: StringName, display_name: String = "") -> int: + if display_name.is_empty(): + display_name = action_name.capitalize().replace("Svg", "SVG") + display_name = tr(display_name) + var key = _get_keycode_for_events(InputMap.action_get_events(action_name)) + return NativeMenu.add_item(menu_rid, display_name, _action_call, _action_call, action_name, key) + + +func _get_keycode_for_events(input_events: Array[InputEvent]) -> Key: + for input_event in input_events: + if input_event is InputEventKey: + var key = input_event.get_keycode_with_modifiers() + if key != KEY_NONE: + return key + key = input_event.get_physical_keycode_with_modifiers() + if key != KEY_NONE: + return key + return KEY_NONE + + +func _on_svg_text_changed() -> void: + NativeMenu.set_item_disabled(file_rid, file_clear_svg_index, SVG.text == SVG.DEFAULT) + var empty_path: bool = GlobalSettings.save_data.current_file_path.is_empty() + NativeMenu.set_item_disabled(file_rid, file_clear_assoc_index, empty_path) + NativeMenu.set_item_disabled(file_rid, file_reset_svg_index, empty_path or SVG.does_svg_data_match_disk_contents()) + + +func _on_code_editor_optimize_button_enable_updated(is_optimize_enabled: bool) -> void: + NativeMenu.set_item_disabled(file_rid, file_optimize_index, not is_optimize_enabled) + + +func _on_display_view_settings_updated(show_grid: bool, show_handles: bool, rasterized_svg: bool) -> void: + NativeMenu.set_item_checked(view_rid, view_show_grid_index, show_grid) + NativeMenu.set_item_checked(view_rid, view_show_handles_index, show_handles) + NativeMenu.set_item_checked(view_rid, view_rasterized_svg_index, rasterized_svg) + + +func _on_display_snap_settings_updated(snap_enabled: bool, snap_amount: float) -> void: + NativeMenu.set_item_checked(snap_rid, snap_enable_index, snap_enabled) + NativeMenu.set_item_checked(snap_rid, snap_0125_index, false) + NativeMenu.set_item_checked(snap_rid, snap_025_index, false) + NativeMenu.set_item_checked(snap_rid, snap_05_index, false) + NativeMenu.set_item_checked(snap_rid, snap_1_index, false) + NativeMenu.set_item_checked(snap_rid, snap_2_index, false) + NativeMenu.set_item_checked(snap_rid, snap_4_index, false) + if is_equal_approx(snap_amount, 0.125): + NativeMenu.set_item_checked(snap_rid, snap_0125_index, true) + elif is_equal_approx(snap_amount, 0.25): + NativeMenu.set_item_checked(snap_rid, snap_025_index, true) + elif is_equal_approx(snap_amount, 0.5): + NativeMenu.set_item_checked(snap_rid, snap_05_index, true) + elif is_equal_approx(snap_amount, 1): + NativeMenu.set_item_checked(snap_rid, snap_1_index, true) + elif is_equal_approx(snap_amount, 2): + NativeMenu.set_item_checked(snap_rid, snap_2_index, true) + elif is_equal_approx(snap_amount, 4): + NativeMenu.set_item_checked(snap_rid, snap_4_index, true) + + +func _set_snap(tag: float) -> void: + %Display.set_snap_amount(tag) + + +func _action_call(tag: StringName) -> void: + var a = InputEventAction.new() + a.action = tag + a.pressed = true + Input.parse_input_event(a) diff --git a/src/ui_parts/main_scene.tscn b/src/ui_parts/main_scene.tscn index b6b590dd1..883eca737 100644 --- a/src/ui_parts/main_scene.tscn +++ b/src/ui_parts/main_scene.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=6 format=3 uid="uid://ce6j54x27pom"] +[gd_scene load_steps=7 format=3 uid="uid://ce6j54x27pom"] [ext_resource type="PackedScene" uid="uid://cr1fdlmbknnko" path="res://src/ui_parts/code_editor.tscn" id="1_0jgh3"] [ext_resource type="Texture2D" uid="uid://co75w07yqmcro" path="res://visual/icons/theme/SplitGrabber2.svg" id="1_7y812"] [ext_resource type="PackedScene" uid="uid://ccynisiuyn5qn" path="res://src/ui_parts/inspector.tscn" id="1_afxvd"] [ext_resource type="Script" path="res://src/ui_parts/main_scene.gd" id="1_c0fkj"] [ext_resource type="PackedScene" uid="uid://bvrncl7e6yn5b" path="res://src/ui_parts/display.tscn" id="3_qbqbs"] +[ext_resource type="Script" path="res://src/ui_parts/global_menu.gd" id="5_wda5e"] [node name="MainScene" type="HBoxContainer"] anchors_preset = 15 @@ -42,3 +43,10 @@ layout_mode = 2 unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 + +[node name="GlobalMenu" type="Node" parent="."] +script = ExtResource("5_wda5e") + +[connection signal="optimize_button_enable_updated" from="HSplitContainer/PanelContainer/MainContainer/CodeEditor" to="GlobalMenu" method="_on_code_editor_optimize_button_enable_updated"] +[connection signal="snap_settings_updated" from="HSplitContainer/Display" to="GlobalMenu" method="_on_display_snap_settings_updated"] +[connection signal="view_settings_updated" from="HSplitContainer/Display" to="GlobalMenu" method="_on_display_view_settings_updated"] diff --git a/translations/GodSVG.pot b/translations/GodSVG.pot index 98e56d96d..998b44058 100644 --- a/translations/GodSVG.pot +++ b/translations/GodSVG.pot @@ -44,6 +44,7 @@ msgstr "" msgid "" "If turned on, scrolling will pan the view. To zoom, hold CTRL while " "scrolling." +msgstr "" msgid "UI scale" msgstr "" @@ -60,24 +61,42 @@ msgstr "" msgid "Close" msgstr "" +msgid "GodSVG Settings…" +msgstr "" + msgid "GodSVG Repository" msgstr "" msgid "About…" msgstr "" +msgid "About GodSVG…" +msgstr "" + msgid "Documentation…" msgstr "" msgid "Donate…" msgstr "" +msgid "Donate to GodSVG…" +msgstr "" + +msgid "Zoom In" +msgstr "" + msgid "Zoom in" msgstr "" +msgid "Zoom Reset" +msgstr "" + msgid "Zoom reset" msgstr "" +msgid "Zoom Out" +msgstr "" + msgid "Zoom out" msgstr "" @@ -515,6 +534,33 @@ msgstr "" msgid "Tool" msgstr "" +msgid "Snap" +msgstr "" + +msgid "Enable Snap" +msgstr "" + +msgid "Import SVG" +msgstr "" + +msgid "Export Image" +msgstr "" + +msgid "Export SVG" +msgstr "" + +msgid "Copy SVG Text" +msgstr "" + +msgid "Optimize SVG" +msgstr "" + +msgid "Clear Association" +msgstr "" + +msgid "Select All" +msgstr "" + msgid "Move to" msgstr "" @@ -544,3 +590,63 @@ msgstr "" msgid "Shorthand Cubic Bezier to" msgstr "" + +msgid "Move Relative" +msgstr "" + +msgid "Move Absolute" +msgstr "" + +msgid "Line Relative" +msgstr "" + +msgid "Line Absolute" +msgstr "" + +msgid "Horizontal Line Relative" +msgstr "" + +msgid "Horizontal Line Absolute" +msgstr "" + +msgid "Vertical Line Relative" +msgstr "" + +msgid "Vertical Line Absolute" +msgstr "" + +msgid "Close Path Relative" +msgstr "" + +msgid "Close Path Absolute" +msgstr "" + +msgid "Elliptical Arc Relative" +msgstr "" + +msgid "Elliptical Arc Absolute" +msgstr "" + +msgid "Quadratic Bezier Relative" +msgstr "" + +msgid "Quadratic Bezier Absolute" +msgstr "" + +msgid "Shorthand Quadratic Bezier Relative" +msgstr "" + +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "" + +msgid "Cubic Bezier Relative" +msgstr "" + +msgid "Cubic Bezier Absolute" +msgstr "" + +msgid "Shorthand Cubic Bezier Relative" +msgstr "" + +msgid "Shorthand Cubic Bezier Absolute" +msgstr "" diff --git a/translations/bg.po b/translations/bg.po index 25c8704d6..3edfbf5ef 100644 --- a/translations/bg.po +++ b/translations/bg.po @@ -65,24 +65,48 @@ msgstr "Отвори" msgid "Close" msgstr "Затвори" +#, fuzzy +msgid "GodSVG Settings…" +msgstr "Настройки" + msgid "GodSVG Repository" msgstr "Репозиторията на GodSVG" msgid "About…" msgstr "Относно приложението…" +#, fuzzy +msgid "About GodSVG…" +msgstr "Относно приложението…" + msgid "Documentation…" msgstr "Документация…" msgid "Donate…" msgstr "Направи дарение…" +#, fuzzy +msgid "Donate to GodSVG…" +msgstr "Направи дарение…" + +#, fuzzy +msgid "Zoom In" +msgstr "Увеличи" + msgid "Zoom in" msgstr "Увеличи" +#, fuzzy +msgid "Zoom Reset" +msgstr "Рестартирай мащаба" + msgid "Zoom reset" msgstr "Рестартирай мащаба" +#, fuzzy +msgid "Zoom Out" +msgstr "Намали" + msgid "Zoom out" msgstr "Намали" @@ -529,6 +553,41 @@ msgstr "Гледка" msgid "Tool" msgstr "Инструмент" +#, fuzzy +msgid "Snap" +msgstr "Размер на захващането" + +#, fuzzy +msgid "Enable Snap" +msgstr "Включи захващането" + +#, fuzzy +msgid "Import SVG" +msgstr "Импортирай" + +#, fuzzy +msgid "Export Image" +msgstr "Експортирай" + +#, fuzzy +msgid "Export SVG" +msgstr "Експортирай" + +#, fuzzy +msgid "Copy SVG Text" +msgstr "Копирай всичкия текст" + +#, fuzzy +msgid "Optimize SVG" +msgstr "Оптимизирай" + +msgid "Clear Association" +msgstr "" + +#, fuzzy +msgid "Select All" +msgstr "Избери" + msgid "Move to" msgstr "Премести до" @@ -558,3 +617,83 @@ msgstr "Кубична крива на Безие до" msgid "Shorthand Cubic Bezier to" msgstr "Кратка кубична крива на Безие до" + +#, fuzzy +msgid "Move Relative" +msgstr "Относително" + +#, fuzzy +msgid "Move Absolute" +msgstr "Абсолютно" + +#, fuzzy +msgid "Line Relative" +msgstr "Относително" + +#, fuzzy +msgid "Line Absolute" +msgstr "Абсолютно" + +#, fuzzy +msgid "Horizontal Line Relative" +msgstr "Хоризонтална отсечка до" + +#, fuzzy +msgid "Horizontal Line Absolute" +msgstr "Хоризонтална отсечка до" + +#, fuzzy +msgid "Vertical Line Relative" +msgstr "Вертикална отсечка до" + +#, fuzzy +msgid "Vertical Line Absolute" +msgstr "Вертикална отсечка до" + +#, fuzzy +msgid "Close Path Relative" +msgstr "Затвори пътеката" + +#, fuzzy +msgid "Close Path Absolute" +msgstr "Затвори пътеката" + +#, fuzzy +msgid "Elliptical Arc Relative" +msgstr "Елиптична дъга до" + +#, fuzzy +msgid "Elliptical Arc Absolute" +msgstr "Елиптична дъга до" + +#, fuzzy +msgid "Quadratic Bezier Relative" +msgstr "Квадратна крива на Безие до" + +#, fuzzy +msgid "Quadratic Bezier Absolute" +msgstr "Квадратна крива на Безие до" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Relative" +msgstr "Кратка квадратна крива на Безие до" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "Кратка квадратна крива на Безие до" + +#, fuzzy +msgid "Cubic Bezier Relative" +msgstr "Кубична крива на Безие до" + +#, fuzzy +msgid "Cubic Bezier Absolute" +msgstr "Кубична крива на Безие до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Relative" +msgstr "Кратка кубична крива на Безие до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Absolute" +msgstr "Кратка кубична крива на Безие до" diff --git a/translations/de.po b/translations/de.po index 41a35f49e..0a9e28411 100644 --- a/translations/de.po +++ b/translations/de.po @@ -66,24 +66,48 @@ msgstr "Öffnen" msgid "Close" msgstr "Schließen" +#, fuzzy +msgid "GodSVG Settings…" +msgstr "Einstellungen" + msgid "GodSVG Repository" msgstr "GodSVG Repository" msgid "About…" msgstr "Über…" +#, fuzzy +msgid "About GodSVG…" +msgstr "Über…" + msgid "Documentation…" msgstr "Dokumentation…" msgid "Donate…" msgstr "Spenden…" +#, fuzzy +msgid "Donate to GodSVG…" +msgstr "Spenden…" + +#, fuzzy +msgid "Zoom In" +msgstr "Hineinzoomen" + msgid "Zoom in" msgstr "Hineinzoomen" +#, fuzzy +msgid "Zoom Reset" +msgstr "Zoom zurücksetzen" + msgid "Zoom reset" msgstr "Zoom zurücksetzen" +#, fuzzy +msgid "Zoom Out" +msgstr "Herauszoomen" + msgid "Zoom out" msgstr "Herauszoomen" @@ -545,6 +569,42 @@ msgstr "" msgid "Tool" msgstr "" +#, fuzzy +msgid "Snap" +msgstr "Einrastgröße" + +#, fuzzy +msgid "Enable Snap" +msgstr "Einrasten aktivieren" + +#, fuzzy +msgid "Import SVG" +msgstr "Importieren" + +#, fuzzy +msgid "Export Image" +msgstr "Exportieren" + +#, fuzzy +msgid "Export SVG" +msgstr "Exportieren" + +#, fuzzy +msgid "Copy SVG Text" +msgstr "Text kopieren" + +#, fuzzy +msgid "Optimize SVG" +msgstr "Optimieren" + +#, fuzzy +msgid "Clear Association" +msgstr "Dateizuordnung entfernen" + +#, fuzzy +msgid "Select All" +msgstr "Farbe löschen" + #, fuzzy msgid "Move to" msgstr "Nach unten" @@ -578,5 +638,67 @@ msgid "Shorthand Cubic Bezier to" msgstr "" #, fuzzy -#~ msgid "Clear association" -#~ msgstr "Dateizuordnung entfernen" +msgid "Move Relative" +msgstr "Relativ" + +#, fuzzy +msgid "Move Absolute" +msgstr "Absolut" + +#, fuzzy +msgid "Line Relative" +msgstr "Relativ" + +#, fuzzy +msgid "Line Absolute" +msgstr "Absolut" + +msgid "Horizontal Line Relative" +msgstr "" + +msgid "Horizontal Line Absolute" +msgstr "" + +msgid "Vertical Line Relative" +msgstr "" + +msgid "Vertical Line Absolute" +msgstr "" + +#, fuzzy +msgid "Close Path Relative" +msgstr "Schließen" + +#, fuzzy +msgid "Close Path Absolute" +msgstr "Schließen" + +msgid "Elliptical Arc Relative" +msgstr "" + +msgid "Elliptical Arc Absolute" +msgstr "" + +msgid "Quadratic Bezier Relative" +msgstr "" + +msgid "Quadratic Bezier Absolute" +msgstr "" + +msgid "Shorthand Quadratic Bezier Relative" +msgstr "" + +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "" + +msgid "Cubic Bezier Relative" +msgstr "" + +msgid "Cubic Bezier Absolute" +msgstr "" + +msgid "Shorthand Cubic Bezier Relative" +msgstr "" + +msgid "Shorthand Cubic Bezier Absolute" +msgstr "" diff --git a/translations/en.po b/translations/en.po index ebb342359..c85c7b554 100644 --- a/translations/en.po +++ b/translations/en.po @@ -62,24 +62,42 @@ msgstr "" msgid "Close" msgstr "" +msgid "GodSVG Settings…" +msgstr "" + msgid "GodSVG Repository" msgstr "" msgid "About…" msgstr "" +msgid "About GodSVG…" +msgstr "" + msgid "Documentation…" msgstr "" msgid "Donate…" msgstr "" +msgid "Donate to GodSVG…" +msgstr "" + +msgid "Zoom In" +msgstr "" + msgid "Zoom in" msgstr "" +msgid "Zoom Reset" +msgstr "" + msgid "Zoom reset" msgstr "" +msgid "Zoom Out" +msgstr "" + msgid "Zoom out" msgstr "" @@ -519,6 +537,33 @@ msgstr "" msgid "Tool" msgstr "" +msgid "Snap" +msgstr "" + +msgid "Enable Snap" +msgstr "" + +msgid "Import SVG" +msgstr "" + +msgid "Export Image" +msgstr "" + +msgid "Export SVG" +msgstr "" + +msgid "Copy SVG Text" +msgstr "" + +msgid "Optimize SVG" +msgstr "" + +msgid "Clear Association" +msgstr "" + +msgid "Select All" +msgstr "" + msgid "Move to" msgstr "" @@ -548,3 +593,63 @@ msgstr "" msgid "Shorthand Cubic Bezier to" msgstr "" + +msgid "Move Relative" +msgstr "" + +msgid "Move Absolute" +msgstr "" + +msgid "Line Relative" +msgstr "" + +msgid "Line Absolute" +msgstr "" + +msgid "Horizontal Line Relative" +msgstr "" + +msgid "Horizontal Line Absolute" +msgstr "" + +msgid "Vertical Line Relative" +msgstr "" + +msgid "Vertical Line Absolute" +msgstr "" + +msgid "Close Path Relative" +msgstr "" + +msgid "Close Path Absolute" +msgstr "" + +msgid "Elliptical Arc Relative" +msgstr "" + +msgid "Elliptical Arc Absolute" +msgstr "" + +msgid "Quadratic Bezier Relative" +msgstr "" + +msgid "Quadratic Bezier Absolute" +msgstr "" + +msgid "Shorthand Quadratic Bezier Relative" +msgstr "" + +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "" + +msgid "Cubic Bezier Relative" +msgstr "" + +msgid "Cubic Bezier Absolute" +msgstr "" + +msgid "Shorthand Cubic Bezier Relative" +msgstr "" + +msgid "Shorthand Cubic Bezier Absolute" +msgstr "" diff --git a/translations/ru.po b/translations/ru.po index 5de84905d..b22653c2d 100644 --- a/translations/ru.po +++ b/translations/ru.po @@ -66,24 +66,48 @@ msgstr "Открыть" msgid "Close" msgstr "Закрыть" +#, fuzzy +msgid "GodSVG Settings…" +msgstr "Настройки" + msgid "GodSVG Repository" msgstr "Репозиторий GodSVG" msgid "About…" msgstr "Про программу…" +#, fuzzy +msgid "About GodSVG…" +msgstr "Про программу…" + msgid "Documentation…" msgstr "Документация…" msgid "Donate…" msgstr "Сделать пожертвование…" +#, fuzzy +msgid "Donate to GodSVG…" +msgstr "Сделать пожертвование…" + +#, fuzzy +msgid "Zoom In" +msgstr "Приблизить масштаб" + msgid "Zoom in" msgstr "Приблизить масштаб" +#, fuzzy +msgid "Zoom Reset" +msgstr "Сбросить масштаб" + msgid "Zoom reset" msgstr "Сбросить масштаб" +#, fuzzy +msgid "Zoom Out" +msgstr "Отдалить масштаб" + msgid "Zoom out" msgstr "Отдалить масштаб" @@ -530,6 +554,41 @@ msgstr "Просмотр" msgid "Tool" msgstr "Инструмент" +#, fuzzy +msgid "Snap" +msgstr "Размер привязки" + +#, fuzzy +msgid "Enable Snap" +msgstr "Включить привязку" + +msgid "Import SVG" +msgstr "Импортировать SVG" + +#, fuzzy +msgid "Export Image" +msgstr "Экспортовать" + +#, fuzzy +msgid "Export SVG" +msgstr "Импортировать SVG" + +#, fuzzy +msgid "Copy SVG Text" +msgstr "Скопировать весь текст" + +#, fuzzy +msgid "Optimize SVG" +msgstr "Оптимизировать" + +#, fuzzy +msgid "Clear Association" +msgstr "Удалить" + +#, fuzzy +msgid "Select All" +msgstr "Выбрать" + msgid "Move to" msgstr "Подвинуть до" @@ -561,8 +620,81 @@ msgid "Shorthand Cubic Bezier to" msgstr "Сокращенная кубическая Безье до" #, fuzzy -#~ msgid "Clear association" -#~ msgstr "Удалить" +msgid "Move Relative" +msgstr "Относительная" + +#, fuzzy +msgid "Move Absolute" +msgstr "Абсолютная" + +#, fuzzy +msgid "Line Relative" +msgstr "Относительная" -#~ msgid "Import SVG" -#~ msgstr "Импортировать SVG" +#, fuzzy +msgid "Line Absolute" +msgstr "Абсолютная" + +#, fuzzy +msgid "Horizontal Line Relative" +msgstr "Горизонтальная линия до" + +#, fuzzy +msgid "Horizontal Line Absolute" +msgstr "Горизонтальная линия до" + +#, fuzzy +msgid "Vertical Line Relative" +msgstr "Вертикальная линия до" + +#, fuzzy +msgid "Vertical Line Absolute" +msgstr "Вертикальная линия до" + +#, fuzzy +msgid "Close Path Relative" +msgstr "Закрыть путь" + +#, fuzzy +msgid "Close Path Absolute" +msgstr "Закрыть путь" + +#, fuzzy +msgid "Elliptical Arc Relative" +msgstr "Эллиптическая дуга до" + +#, fuzzy +msgid "Elliptical Arc Absolute" +msgstr "Эллиптическая дуга до" + +#, fuzzy +msgid "Quadratic Bezier Relative" +msgstr "Квадратичная Безье до" + +#, fuzzy +msgid "Quadratic Bezier Absolute" +msgstr "Квадратичная Безье до" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Relative" +msgstr "Сокращенная квадратичная Безье до" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "Сокращенная квадратичная Безье до" + +#, fuzzy +msgid "Cubic Bezier Relative" +msgstr "Кибическая Безье до" + +#, fuzzy +msgid "Cubic Bezier Absolute" +msgstr "Кибическая Безье до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Relative" +msgstr "Сокращенная кубическая Безье до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Absolute" +msgstr "Сокращенная кубическая Безье до" diff --git a/translations/uk.po b/translations/uk.po index 7a5b42c0d..e60f670a7 100644 --- a/translations/uk.po +++ b/translations/uk.po @@ -45,6 +45,13 @@ msgstr "" msgid "Use CTRL for zooming" msgstr "Використовувати CTRL для масштабування" +msgid "" +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." +msgstr "" +"Якщо увімкнено, гортання буде рухати вікно перегляду. Щоб масштабувати, " +"затисніть CTRL доки гортаєте." + msgid "UI scale" msgstr "Масштаб інтерфейсу" @@ -60,24 +67,48 @@ msgstr "Відкрити" msgid "Close" msgstr "Закрити" +#, fuzzy +msgid "GodSVG Settings…" +msgstr "Налаштування" + msgid "GodSVG Repository" msgstr "Репозиторій GodSVG" msgid "About…" msgstr "Про додаток…" +#, fuzzy +msgid "About GodSVG…" +msgstr "Про додаток…" + msgid "Documentation…" msgstr "Документація…" msgid "Donate…" msgstr "Зробити пожертвування…" +#, fuzzy +msgid "Donate to GodSVG…" +msgstr "Зробити пожертвування…" + +#, fuzzy +msgid "Zoom In" +msgstr "Збільшити масштаб" + msgid "Zoom in" msgstr "Збільшити масштаб" +#, fuzzy +msgid "Zoom Reset" +msgstr "Скинути масштаб" + msgid "Zoom reset" msgstr "Скинути масштаб" +#, fuzzy +msgid "Zoom Out" +msgstr "Зменшити масштаб" + msgid "Zoom out" msgstr "Зменшити масштаб" @@ -524,6 +555,41 @@ msgstr "Перегляд" msgid "Tool" msgstr "Інструмент" +#, fuzzy +msgid "Snap" +msgstr "Розмір прилипання" + +#, fuzzy +msgid "Enable Snap" +msgstr "Активувати прилипання" + +msgid "Import SVG" +msgstr "Імпортувати SVG" + +#, fuzzy +msgid "Export Image" +msgstr "Експортувати" + +#, fuzzy +msgid "Export SVG" +msgstr "Імпортувати SVG" + +#, fuzzy +msgid "Copy SVG Text" +msgstr "Скопіювати весь текст" + +#, fuzzy +msgid "Optimize SVG" +msgstr "Оптимізувати" + +#, fuzzy +msgid "Clear Association" +msgstr "Видалити асоціацію" + +#, fuzzy +msgid "Select All" +msgstr "Обрати" + msgid "Move to" msgstr "Пересунути до" @@ -554,16 +620,82 @@ msgstr "Кубічна Безьє до" msgid "Shorthand Cubic Bezier to" msgstr "Скорочена кубічна Безьє до" -#~ msgid "" -#~ "If turned on, scrolling will pan the view. To zoom, hold CTRL while " -#~ "scrolling." -#~ msgstr "" -#~ "Якщо увімкнено, гортання буде рухати вікно перегляду. Щоб масштабувати, " -#~ "затисніть CTRL доки гортаєте." +#, fuzzy +msgid "Move Relative" +msgstr "Відносно" + +#, fuzzy +msgid "Move Absolute" +msgstr "Абсолютна" + +#, fuzzy +msgid "Line Relative" +msgstr "Відносно" + +#, fuzzy +msgid "Line Absolute" +msgstr "Абсолютна" + +#, fuzzy +msgid "Horizontal Line Relative" +msgstr "Горизонтальна лінія до" + +#, fuzzy +msgid "Horizontal Line Absolute" +msgstr "Горизонтальна лінія до" + +#, fuzzy +msgid "Vertical Line Relative" +msgstr "Вертикальна лінія до" + +#, fuzzy +msgid "Vertical Line Absolute" +msgstr "Вертикальна лінія до" + +#, fuzzy +msgid "Close Path Relative" +msgstr "Закрити шлях" + +#, fuzzy +msgid "Close Path Absolute" +msgstr "Закрити шлях" + +#, fuzzy +msgid "Elliptical Arc Relative" +msgstr "Еліптична дуга до" #, fuzzy -#~ msgid "Clear association" -#~ msgstr "Видалити асоціацію" +msgid "Elliptical Arc Absolute" +msgstr "Еліптична дуга до" -#~ msgid "Import SVG" -#~ msgstr "Імпортувати SVG" +#, fuzzy +msgid "Quadratic Bezier Relative" +msgstr "Квадратичний Безьє до" + +#, fuzzy +msgid "Quadratic Bezier Absolute" +msgstr "Квадратичний Безьє до" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Relative" +msgstr "Скорочена квадратична Безьє" + +#, fuzzy +msgid "Shorthand Quadratic Bezier Absolute" +msgstr "Скорочена квадратична Безьє" + +#, fuzzy +msgid "Cubic Bezier Relative" +msgstr "Кубічна Безьє до" + +#, fuzzy +msgid "Cubic Bezier Absolute" +msgstr "Кубічна Безьє до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Relative" +msgstr "Скорочена кубічна Безьє до" + +#, fuzzy +msgid "Shorthand Cubic Bezier Absolute" +msgstr "Скорочена кубічна Безьє до"