diff --git a/export_presets.cfg b/export_presets.cfg index 6a78d2b0..7a1be19d 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -7,7 +7,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="web-build/*, *.md, visual/editor_only/*" +exclude_filter="web-build/*, *.md, godot_only/*" export_path="" encryption_include_filters="" encryption_exclude_filters="" @@ -70,7 +70,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="web-build/*, *.md, *.ico, visual/editor_only/*" +exclude_filter="web-build/*, *.md, *.ico, godot_only/*" export_path="" encryption_include_filters="" encryption_exclude_filters="" @@ -110,7 +110,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="web-build/*, *.md, *.ico, visual/editor_only/*" +exclude_filter="web-build/*, *.md, *.ico, godot_only/*" export_path="../GodSVG meta/GodSVG exports/GodSVG_macos.zip" encryption_include_filters="" encryption_exclude_filters="" @@ -216,7 +216,7 @@ custom_features="" export_filter="exclude" export_files=PackedStringArray() include_filter="" -exclude_filter="web-build/*, *.md, *.ico, visual/editor_only/*" +exclude_filter="web-build/*, *.md, *.ico, godot_only/*" export_path="" encryption_include_filters="" encryption_exclude_filters="" @@ -254,7 +254,7 @@ dedicated_server=false custom_features="" export_filter="all_resources" include_filter="" -exclude_filter="web-build/*, *.md, *.ico, visual/editor_only/*" +exclude_filter="web-build/*, *.md, *.ico, godot_only/*" export_path="" encryption_include_filters="" encryption_exclude_filters="" @@ -381,6 +381,7 @@ permissions/mount_format_filesystems=false permissions/mount_unmount_filesystems=false permissions/nfc=false permissions/persistent_activity=false +permissions/post_notifications=false permissions/process_outgoing_calls=false permissions/read_calendar=false permissions/read_call_log=false diff --git a/godot_only/Scripts.gd b/godot_only/Scripts.gd new file mode 100644 index 00000000..74aa9321 --- /dev/null +++ b/godot_only/Scripts.gd @@ -0,0 +1,5 @@ +class_name Scripts extends RefCounted + +# Simple solution to running some scripts by just running the project. +static func update_translations() -> void: + load("res://godot_only/scripts/update_translations.gd").new() diff --git a/visual/godot_only/BetterLineEdit.svg b/godot_only/icons/BetterLineEdit.svg similarity index 100% rename from visual/godot_only/BetterLineEdit.svg rename to godot_only/icons/BetterLineEdit.svg diff --git a/visual/godot_only/BetterLineEdit.svg.import b/godot_only/icons/BetterLineEdit.svg.import similarity index 74% rename from visual/godot_only/BetterLineEdit.svg.import rename to godot_only/icons/BetterLineEdit.svg.import index d8ba6486..c0ad41ef 100644 --- a/visual/godot_only/BetterLineEdit.svg.import +++ b/godot_only/icons/BetterLineEdit.svg.import @@ -3,7 +3,7 @@ importer="texture" type="CompressedTexture2D" uid="uid://cvgj1ej5gr81o" -path="res://.godot/imported/BetterLineEdit.svg-a2d2a62bdb304b4891d0634d0d2e4c63.ctex" +path="res://.godot/imported/BetterLineEdit.svg-33c8d74a467cb95950aa75271d901c24.ctex" metadata={ "has_editor_variant": true, "vram_texture": false @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://visual/godot_only/BetterLineEdit.svg" -dest_files=["res://.godot/imported/BetterLineEdit.svg-a2d2a62bdb304b4891d0634d0d2e4c63.ctex"] +source_file="res://godot_only/icons/BetterLineEdit.svg" +dest_files=["res://.godot/imported/BetterLineEdit.svg-33c8d74a467cb95950aa75271d901c24.ctex"] [params] diff --git a/visual/godot_only/BetterTextEdit.svg b/godot_only/icons/BetterTextEdit.svg similarity index 100% rename from visual/godot_only/BetterTextEdit.svg rename to godot_only/icons/BetterTextEdit.svg diff --git a/visual/godot_only/BetterTextEdit.svg.import b/godot_only/icons/BetterTextEdit.svg.import similarity index 74% rename from visual/godot_only/BetterTextEdit.svg.import rename to godot_only/icons/BetterTextEdit.svg.import index 1fb872c2..0e8aca51 100644 --- a/visual/godot_only/BetterTextEdit.svg.import +++ b/godot_only/icons/BetterTextEdit.svg.import @@ -3,7 +3,7 @@ importer="texture" type="CompressedTexture2D" uid="uid://bxdad4w7o7u7n" -path="res://.godot/imported/BetterTextEdit.svg-8d29d288cfe6e11d561b58da21e3e545.ctex" +path="res://.godot/imported/BetterTextEdit.svg-f06d86b1b5bf325dabaff5aebeb88925.ctex" metadata={ "has_editor_variant": true, "vram_texture": false @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://visual/godot_only/BetterTextEdit.svg" -dest_files=["res://.godot/imported/BetterTextEdit.svg-8d29d288cfe6e11d561b58da21e3e545.ctex"] +source_file="res://godot_only/icons/BetterTextEdit.svg" +dest_files=["res://.godot/imported/BetterTextEdit.svg-f06d86b1b5bf325dabaff5aebeb88925.ctex"] [params] diff --git a/godot_only/scripts/update_translations.gd b/godot_only/scripts/update_translations.gd new file mode 100644 index 00000000..b86897f1 --- /dev/null +++ b/godot_only/scripts/update_translations.gd @@ -0,0 +1,72 @@ +extends RefCounted + +# Don't have a better solution than handling all these different whitespace variations... +const delimiters = { + 'TranslationServer.translate("': '")', + 'TranslationServer.translate(\n\t\t\t"': '")', + 'TranslationServer.translate(\n\t\t\t\t"': '")', + 'TranslationServer.translate(\n\t\t\t\t\t"': '")', + "TranslationServer.translate('": "')", + 'TranslationServer.translate("""': '""")', + 'TranslationServer.translate_plural("': '")', + "TranslationServer.translate_plural('": "')", + 'TranslationServer.translate_plural("""': '""")', +} + +var strings: PackedStringArray = PackedStringArray(["translation-credits"]) + +func _init() -> void: + search_directory(ProjectSettings.globalize_path("src")) + update_translations() + + +func search_directory(dir: String) -> void: + for dir_name in DirAccess.get_directories_at(dir): + search_directory(dir.path_join(dir_name)) + + for file_name in DirAccess.get_files_at(dir): + var file_text := FileAccess.get_file_as_string(dir.path_join(file_name)) + for start_delim: String in delimiters: + var end_delim: String = delimiters[start_delim] + var cursor := 0 + while true: + cursor = file_text.find(start_delim, cursor) + if cursor == -1: + break + + var string_start := cursor + start_delim.length() + cursor = file_text.find(end_delim, cursor) + var string := file_text.substr(string_start, cursor - string_start) + if not string in strings: + strings.append(string) + +func update_translations() -> void: + var location := ProjectSettings.globalize_path("translations/GodSVG.pot") + DirAccess.make_dir_recursive_absolute(location) + var fa := FileAccess.open(location, FileAccess.WRITE) + + fa.store_string("#, fuzzy\n") + fa.store_string("msgid \"\"\n") + fa.store_string("msgstr \"\"\n") + fa.store_string("\"Project-Id-Version: GodSVG\\n\"\n") + fa.store_string("\"POT-Creation-Date: \\n\"\n") + fa.store_string("\"PO-Revision-Date: \\n\"\n") + fa.store_string("\"Last-Translator: \\n\"\n") + fa.store_string("\"Language-Team: \\n\"\n") + fa.store_string("\"MIME-Version: 1.0\\n\"\n") + fa.store_string("\"Content-Type: text/plain; charset=UTF-8\\n\"\n") + fa.store_string("\"Content-Transfer-Encoding: 8bit\\n\"\n") + fa.store_string("\"X-Generator: Poedit 3.4.2\\n\"\n") + + for string in strings: + fa.store_string('\nmsgid "%s"\nmsgstr ""\n' % string) + fa = null + + var files := DirAccess.get_files_at(ProjectSettings.globalize_path("translations")) + for file in files: + if file.get_extension() != "po": + continue + + var args := PackedStringArray(["--update", "--quiet", "--verbose", "--backup=off", + ProjectSettings.globalize_path("translations").path_join(file), location]) + OS.execute("msgmerge", args) diff --git a/src/FileUtils.gd b/src/FileUtils.gd index 3257d711..5ed5db46 100644 --- a/src/FileUtils.gd +++ b/src/FileUtils.gd @@ -134,7 +134,7 @@ static func apply_svg_from_path(path: String) -> int: if not error.is_empty(): var alert_dialog := AlertDialog.instantiate() HandlerGUI.add_overlay(alert_dialog) - alert_dialog.setup(error, TranslationServer.translate("Alert!"), 280.0) + alert_dialog.setup(error) return ERR_FILE_CANT_OPEN var svg_text := svg_file.get_as_text() diff --git a/src/HandlerGUI.gd b/src/HandlerGUI.gd index 63513aba..e8bda206 100644 --- a/src/HandlerGUI.gd +++ b/src/HandlerGUI.gd @@ -302,16 +302,14 @@ func web_load_svg() -> void: warning_panel.set_svg(file_data) HandlerGUI.add_overlay(warning_panel) else: - var error := "" - if extension.is_empty(): - error = TranslationServer.translate( - "The file extension is empty. Only \"svg\" files are supported.") - else: - error = TranslationServer.translate( - "\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files are supported.").format({"passed_extension": extension}) var alert_dialog := AlertDialog.instantiate() HandlerGUI.add_overlay(alert_dialog) - alert_dialog.setup(error, TranslationServer.translate("Alert!"), 280.0) + if extension.is_empty(): + alert_dialog.setup(TranslationServer.translate( + "The file extension is empty. Only \"svg\" files are supported.")) + else: + alert_dialog.setup(TranslationServer.translate( + "\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files are supported.").format({"passed_extension": extension})) const web_glue = """var fileData; diff --git a/src/TranslationUtils.gd b/src/TranslationUtils.gd index 5f4ee4a5..2f179bf1 100644 --- a/src/TranslationUtils.gd +++ b/src/TranslationUtils.gd @@ -24,6 +24,46 @@ static func get_shortcut_description(action_name: String) -> String: "view_show_handles": return TranslationServer.translate("Show handles") "view_rasterized_svg": return TranslationServer.translate("Show rasterized SVG") "debug": return TranslationServer.translate("View debug information") + "move_relative": return "%s (%s)" %\ + [get_command_char_description("M"), TranslationServer.translate("Relative")] + "move_absolute": return "%s (%s)" %\ + [get_command_char_description("M"), TranslationServer.translate("Absolute")] + "line_relative": return "%s (%s)" %\ + [get_command_char_description("L"), TranslationServer.translate("Relative")] + "line_absolute": return "%s (%s)" %\ + [get_command_char_description("L"), TranslationServer.translate("Absolute")] + "horizontal_line_relative": return "%s (%s)" %\ + [get_command_char_description("H"), TranslationServer.translate("Relative")] + "horizontal_line_absolute": return "%s (%s)" %\ + [get_command_char_description("H"), TranslationServer.translate("Absolute")] + "vertical_line_relative": return "%s (%s)" %\ + [get_command_char_description("V"), TranslationServer.translate("Relative")] + "vertical_line_absolute": return "%s (%s)" %\ + [get_command_char_description("V"), TranslationServer.translate("Absolute")] + "close_path_relative": return "%s (%s)" %\ + [get_command_char_description("Z"), TranslationServer.translate("Relative")] + "close_path_absolute": return "%s (%s)" %\ + [get_command_char_description("Z"), TranslationServer.translate("Absolute")] + "elliptical_arc_relative": return "%s (%s)" %\ + [get_command_char_description("A"), TranslationServer.translate("Relative")] + "elliptical_arc_absolute": return "%s (%s)" %\ + [get_command_char_description("A"), TranslationServer.translate("Absolute")] + "quadratic_bezier_relative": return "%s (%s)" %\ + [get_command_char_description("Q"), TranslationServer.translate("Relative")] + "quadratic_bezier_absolute": return "%s (%s)" %\ + [get_command_char_description("Q"), TranslationServer.translate("Absolute")] + "shorthand_quadratic_bezier_relative": return "%s (%s)" %\ + [get_command_char_description("T"), TranslationServer.translate("Relative")] + "shorthand_quadratic_bezier_absolute": return "%s (%s)" %\ + [get_command_char_description("T"), TranslationServer.translate("Absolute")] + "cubic_bezier_relative": return "%s (%s)" %\ + [get_command_char_description("C"), TranslationServer.translate("Relative")] + "cubic_bezier_absolute": return "%s (%s)" %\ + [get_command_char_description("C"), TranslationServer.translate("Absolute")] + "shorthand_cubic_bezier_relative": return "%s (%s)" %\ + [get_command_char_description("S"), TranslationServer.translate("Relative")] + "shorthand_cubic_bezier_absolute": return "%s (%s)" %\ + [get_command_char_description("S"), TranslationServer.translate("Absolute")] _: return action_name diff --git a/src/parsers/SVGParser.gd b/src/parsers/SVGParser.gd index e1886832..a3bddc4e 100644 --- a/src/parsers/SVGParser.gd +++ b/src/parsers/SVGParser.gd @@ -68,8 +68,10 @@ class ParseResult extends RefCounted: static func get_error_string(parse_error: ParseError) -> String: match parse_error: - ParseError.ERR_NOT_SVG: return "Doesn’t describe an SVG." - ParseError.ERR_IMPROPER_NESTING: return "Improper nesting." + ParseError.ERR_NOT_SVG: + return TranslationServer.translate("Doesn’t describe an SVG.") + ParseError.ERR_IMPROPER_NESTING: + return TranslationServer.translate("Improper nesting.") _: return "" static func text_to_svg(text: String) -> ParseResult: diff --git a/src/ui_elements/BetterLineEdit.gd b/src/ui_elements/BetterLineEdit.gd index df83f683..5e4618bb 100644 --- a/src/ui_elements/BetterLineEdit.gd +++ b/src/ui_elements/BetterLineEdit.gd @@ -1,4 +1,4 @@ -@icon("res://visual/godot_only/BetterLineEdit.svg") +@icon("res://godot_only/icons/BetterLineEdit.svg") class_name BetterLineEdit extends LineEdit ## A LineEdit with a few tweaks to make it nicer to use. diff --git a/src/ui_elements/BetterTabContainer.gd b/src/ui_elements/BetterTabContainer.gd deleted file mode 100644 index c1faec79..00000000 --- a/src/ui_elements/BetterTabContainer.gd +++ /dev/null @@ -1,24 +0,0 @@ -@icon("res://visual/godot_only/BetterTabContainer.svg") -class_name BetterTabContainer extends TabContainer -## A TabContainer that automatically localizes tab titles. - -var tab_keys: Array[String] - -# Localize tab titles. -func _ready() -> void: - for i in get_tab_count(): - tab_keys.append(get_tab_title(i)) - translate_titles() - -func _notification(what: int) -> void: - if what == Utils.CustomNotification.LANGUAGE_CHANGED: - translate_titles() - - -func translate_titles() -> void: - # FIXME Awaiting and then forcing the text to change fixes a bug - # that causes spacing between the tabbar and the content. - await get_tree().process_frame - set_tab_title(0, tab_keys[0] + "1") - for i in tab_keys.size(): - set_tab_title(i, TranslationServer.translate(tab_keys[i])) diff --git a/src/ui_elements/BetterTextEdit.gd b/src/ui_elements/BetterTextEdit.gd index 239e21db..ff902f4b 100644 --- a/src/ui_elements/BetterTextEdit.gd +++ b/src/ui_elements/BetterTextEdit.gd @@ -1,4 +1,4 @@ -@icon("res://visual/godot_only/BetterTextEdit.svg") +@icon("res://godot_only/icons/BetterTextEdit.svg") class_name BetterTextEdit extends TextEdit ## A TextEdit with some improvements. diff --git a/src/ui_elements/configure_color_popup.gd b/src/ui_elements/configure_color_popup.gd index ceedb3f3..9042f4fc 100644 --- a/src/ui_elements/configure_color_popup.gd +++ b/src/ui_elements/configure_color_popup.gd @@ -11,11 +11,22 @@ signal color_deletion_requested var color_palette: ColorPalette var idx: int + +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func _ready() -> void: set_label_text(color_palette.color_names[idx]) color_edit.value = color_palette.colors[idx] + update_translation() +func update_translation() -> void: + %LabelContainer/EditButton.tooltip_text =\ + TranslationServer.translate("Edit color name") + $ConfigureContainer/BottomContainer/DeleteButton.tooltip_text =\ + TranslationServer.translate("Delete color") func _on_edit_button_pressed() -> void: color_name_edit.text = color_palette.color_names[idx] color_name_edit.show() diff --git a/src/ui_elements/configure_color_popup.tscn b/src/ui_elements/configure_color_popup.tscn index b10d9c92..91bc3e6b 100644 --- a/src/ui_elements/configure_color_popup.tscn +++ b/src/ui_elements/configure_color_popup.tscn @@ -36,7 +36,6 @@ horizontal_alignment = 1 [node name="EditButton" type="Button" parent="ConfigureContainer/TopContainer/LabelContainer"] layout_mode = 2 -tooltip_text = "Edit color name" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"FlatButton" @@ -65,7 +64,6 @@ enable_palettes = false [node name="DeleteButton" type="Button" parent="ConfigureContainer/BottomContainer"] layout_mode = 2 -tooltip_text = "Delete color" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"IconButton" diff --git a/src/ui_elements/palette_config.gd b/src/ui_elements/palette_config.gd index d4c770b3..ba71fd29 100644 --- a/src/ui_elements/palette_config.gd +++ b/src/ui_elements/palette_config.gd @@ -16,6 +16,12 @@ var currently_edited_idx := -1 @onready var colors_container: HFlowContainer = %MainContainer/ColorsContainer @onready var action_button: Button = $HBoxContainer/ActionButton +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + %MainContainer/HBoxContainer/EditButton.tooltip_text = TranslationServer.translate( + "Edit palette name") + + # Used to setup a palette for this element. func assign_palette(palette: ColorPalette) -> void: current_palette = palette diff --git a/src/ui_elements/palette_config.tscn b/src/ui_elements/palette_config.tscn index e61ac49c..0f6e0b82 100644 --- a/src/ui_elements/palette_config.tscn +++ b/src/ui_elements/palette_config.tscn @@ -65,7 +65,6 @@ script = ExtResource("2_coqnx") layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 -tooltip_text = "Edit palette name" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"FlatButton" diff --git a/src/ui_elements/pathdata_field.gd b/src/ui_elements/pathdata_field.gd index bab7c78b..ac50afff 100644 --- a/src/ui_elements/pathdata_field.gd +++ b/src/ui_elements/pathdata_field.gd @@ -53,6 +53,10 @@ func set_value(new_value: String, update_type := Utils.UpdateType.REGULAR) -> vo attribute.set_value(new_value) +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func set_attribute(new_attribute: AttributePath) -> void: attribute = new_attribute set_value(attribute.get_value()) @@ -64,7 +68,11 @@ func set_attribute(new_attribute: AttributePath) -> void: commands_container.draw.connect(commands_draw) Indications.hover_changed.connect(_on_selections_or_hover_changed) Indications.selection_changed.connect(_on_selections_or_hover_changed) + update_translation() + +func update_translation() -> void: + line_edit.placeholder_text = TranslationServer.translate("No path data") func _on_line_edit_focus_entered() -> void: focused.emit() diff --git a/src/ui_elements/transform_field.gd b/src/ui_elements/transform_field.gd index 45a2870f..7929e514 100644 --- a/src/ui_elements/transform_field.gd +++ b/src/ui_elements/transform_field.gd @@ -21,11 +21,20 @@ func set_value(new_value: String, update_type := Utils.UpdateType.REGULAR) -> vo attribute.set_value(new_value) +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func _ready() -> void: set_value(attribute.get_value()) attribute.value_changed.connect(set_value) line_edit.tooltip_text = attribute.name line_edit.text_submitted.connect(set_value) + update_translation() + + +func update_translation() -> void: + line_edit.placeholder_text = TranslationServer.translate("No transforms") func _on_focus_entered() -> void: focused.emit() diff --git a/src/ui_elements/transform_field.tscn b/src/ui_elements/transform_field.tscn index b8c8627b..4b8f01e9 100644 --- a/src/ui_elements/transform_field.tscn +++ b/src/ui_elements/transform_field.tscn @@ -16,7 +16,6 @@ size_flags_horizontal = 3 focus_mode = 1 mouse_filter = 1 theme_type_variation = &"RightConnectedLineEdit" -placeholder_text = "No transforms" script = ExtResource("2_aucxm") code_font_tooltip = true diff --git a/src/ui_elements/transform_popup.gd b/src/ui_elements/transform_popup.gd index 54af3476..8e13f7d5 100644 --- a/src/ui_elements/transform_popup.gd +++ b/src/ui_elements/transform_popup.gd @@ -31,10 +31,18 @@ var UR := UndoRedo.new() @onready var add_button: Button = %AddButton @onready var apply_matrix: Button = %ApplyMatrix +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translations() + func _ready() -> void: add_button.pressed.connect(popup_new_transform_context.bind(0, add_button)) apply_matrix.pressed.connect(_on_apply_matrix_pressed) rebuild() + update_translations() + +func update_translations() -> void: + %ApplyMatrix.tooltip_text = TranslationServer.translate("Apply the matrix") func rebuild() -> void: var transform_count := attribute_ref.get_transform_count() diff --git a/src/ui_elements/transform_popup.tscn b/src/ui_elements/transform_popup.tscn index 293a2a12..1d2db029 100644 --- a/src/ui_elements/transform_popup.tscn +++ b/src/ui_elements/transform_popup.tscn @@ -103,7 +103,6 @@ code_font_tooltip = true unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 4 -tooltip_text = "Apply the matrix" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"TranslucentButton" diff --git a/src/ui_elements/unknown_field.gd b/src/ui_elements/unknown_field.gd index 31e8a58e..b2657377 100644 --- a/src/ui_elements/unknown_field.gd +++ b/src/ui_elements/unknown_field.gd @@ -16,9 +16,17 @@ func set_value(new_value: String, update_type := Utils.UpdateType.REGULAR) -> vo attribute.set_value(new_value) +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func _ready() -> void: super() set_value(attribute.get_value()) + update_translation() + + +func update_translation() -> void: tooltip_text = attribute.name + "\n(%s)" %\ TranslationServer.translate("GodSVG doesn’t recognize this attribute") diff --git a/src/ui_parts/about_menu.gd b/src/ui_parts/about_menu.gd index 53fcd8a5..32e73d93 100644 --- a/src/ui_parts/about_menu.gd +++ b/src/ui_parts/about_menu.gd @@ -5,6 +5,22 @@ extends PanelContainer @onready var translations_list: PanelGrid = %Translations/List @onready var donors_list: PanelGrid = %DonorsList @onready var version_label: Label = %VersionLabel +@onready var close_button: Button = $VBoxContainer/CloseButton + +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + +func update_translation() -> void: + %ProjectFounder/Label.text = TranslationServer.translate("Project Founder and Manager") + %Developers/Label.text = TranslationServer.translate("Developers") + %Translations/Label.text = TranslationServer.translate("Translators") + $VBoxContainer/TabContainer.set_tab_title(0, TranslationServer.translate("Authors")) + $VBoxContainer/TabContainer.set_tab_title(1, TranslationServer.translate("Donors")) + $VBoxContainer/TabContainer.set_tab_title(2, TranslationServer.translate("License")) + $VBoxContainer/TabContainer.set_tab_title(3, TranslationServer.translate( + "Third-party licenses")) + %Components.text = TranslationServer.translate("Godot third-party components") func _ready() -> void: version_label.text = "GodSVG v" + ProjectSettings.get_setting("application/config/version") @@ -22,9 +38,8 @@ func _ready() -> void: translation_items.append(lang + ": " + credits) translations_list.items = translation_items translations_list.setup() + close_button.pressed.connect(queue_free) + update_translation() func _on_components_pressed() -> void: OS.shell_open("https://github.com/godotengine/godot/blob/master/COPYRIGHT.txt") - -func _on_close_pressed() -> void: - HandlerGUI.remove_overlay() diff --git a/src/ui_parts/about_menu.tscn b/src/ui_parts/about_menu.tscn index 3eed347f..cbf64500 100644 --- a/src/ui_parts/about_menu.tscn +++ b/src/ui_parts/about_menu.tscn @@ -1,8 +1,7 @@ -[gd_scene load_steps=9 format=3 uid="uid://mhfp37lr7q4f"] +[gd_scene load_steps=8 format=3 uid="uid://mhfp37lr7q4f"] [ext_resource type="Script" path="res://src/ui_parts/about_menu.gd" id="1_xxltt"] [ext_resource type="Texture2D" uid="uid://barsurula6j8n" path="res://visual/icon.svg" id="2_y5kl0"] -[ext_resource type="Script" path="res://src/ui_elements/BetterTabContainer.gd" id="3_1xgiv"] [ext_resource type="FontFile" uid="uid://dtb4wkus51hxs" path="res://visual/fonts/FontMono.ttf" id="3_e8i1t"] [ext_resource type="FontFile" uid="uid://dc0w4sx0h0fui" path="res://visual/fonts/FontBold.ttf" id="4_n6gp0"] [ext_resource type="Texture2D" uid="uid://cgxpm1e3v0i3v" path="res://visual/icons/Link.svg" id="6_hbk78"] @@ -69,7 +68,6 @@ text = "© 2023 MewPurPur custom_minimum_size = Vector2(0, 280) layout_mode = 2 size_flags_vertical = 3 -script = ExtResource("3_1xgiv") [node name="Authors" type="ScrollContainer" parent="VBoxContainer/TabContainer"] layout_mode = 2 @@ -87,7 +85,6 @@ theme_override_constants/separation = 6 [node name="Label" type="Label" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/ProjectFounder"] layout_mode = 2 -text = "Project Founder and Manager" horizontal_alignment = 1 [node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/ProjectFounder"] @@ -105,7 +102,6 @@ theme_override_constants/separation = 6 [node name="Label" type="Label" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/Developers"] layout_mode = 2 -text = "Developers" horizontal_alignment = 1 [node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/Developers"] @@ -124,7 +120,6 @@ theme_override_constants/separation = 6 [node name="Label" type="Label" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/Translations"] layout_mode = 2 -text = "Translators" horizontal_alignment = 1 [node name="List" type="GridContainer" parent="VBoxContainer/TabContainer/Authors/VBoxContainer/Translations"] @@ -209,12 +204,12 @@ text = "License: Expat" horizontal_alignment = 1 [node name="Components" type="Button" parent="VBoxContainer/TabContainer/Third-party Licenses/VBoxContainer/ThirdParties/Godot"] +unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 focus_mode = 0 mouse_default_cursor_shape = 2 theme_override_font_sizes/font_size = 12 -text = "Godot third-party components" icon = ExtResource("6_hbk78") [node name="NotoSans" type="VBoxContainer" parent="VBoxContainer/TabContainer/Third-party Licenses/VBoxContainer/ThirdParties"] @@ -365,7 +360,7 @@ DISCLAIMER THE FONT SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE." autowrap_mode = 3 -[node name="Close" type="Button" parent="VBoxContainer"] +[node name="CloseButton" type="Button" parent="VBoxContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 @@ -374,4 +369,3 @@ mouse_default_cursor_shape = 2 text = "Close" [connection signal="pressed" from="VBoxContainer/TabContainer/Third-party Licenses/VBoxContainer/ThirdParties/Godot/Components" to="." method="_on_components_pressed"] -[connection signal="pressed" from="VBoxContainer/Close" to="." method="_on_close_pressed"] diff --git a/src/ui_parts/alert_dialog.gd b/src/ui_parts/alert_dialog.gd index 76f58a9e..75043745 100644 --- a/src/ui_parts/alert_dialog.gd +++ b/src/ui_parts/alert_dialog.gd @@ -8,7 +8,8 @@ func _ready() -> void: ok_button.pressed.connect(queue_free) ok_button.grab_focus() -func setup(message: String, title_text := "Alert!", min_width := 180.0) -> void: - label.text = tr(message) - title.text = tr(title_text) - label.custom_minimum_size.x = min_width +func setup(message: String) -> void: + label.text = message + title.text = TranslationServer.translate("Alert!") + ok_button.text = TranslationServer.translate("OK") + label.custom_minimum_size.x = 280.0 diff --git a/src/ui_parts/alert_dialog.tscn b/src/ui_parts/alert_dialog.tscn index 56098028..ece0d503 100644 --- a/src/ui_parts/alert_dialog.tscn +++ b/src/ui_parts/alert_dialog.tscn @@ -30,7 +30,6 @@ layout_mode = 2 layout_mode = 2 theme_override_fonts/font = ExtResource("1_3yrpq") theme_override_font_sizes/font_size = 16 -text = "Alert!" horizontal_alignment = 1 [node name="Label" type="RichTextLabel" parent="MainContainer/TextContainer"] @@ -43,4 +42,3 @@ fit_content = true layout_mode = 2 size_flags_horizontal = 4 mouse_default_cursor_shape = 2 -text = "OK" diff --git a/src/ui_parts/code_editor.gd b/src/ui_parts/code_editor.gd index 83c05f04..eb559713 100644 --- a/src/ui_parts/code_editor.gd +++ b/src/ui_parts/code_editor.gd @@ -71,7 +71,7 @@ func update_error(err_id: SVGParser.ParseError) -> void: # When the error is shown, the code editor's theme is changed to match up. if not error_bar.visible: error_bar.show() - error_label.text = tr(SVGParser.get_error_string(err_id)) + error_label.text = SVGParser.get_error_string(err_id) var error_bar_real_height := error_bar.size.y - 2 code_edit.custom_minimum_size.y -= error_bar_real_height code_edit.size.y -= error_bar_real_height diff --git a/src/ui_parts/display.gd b/src/ui_parts/display.gd index 7a3504ee..483856ab 100644 --- a/src/ui_parts/display.gd +++ b/src/ui_parts/display.gd @@ -23,12 +23,23 @@ const NumberField = preload("res://src/ui_elements/number_field.tscn") @onready var snap_button: BetterToggleButtonType = %LeftMenu/Snapping/SnapButton @onready var panel_container: PanelContainer = $PanelContainer @onready var viewport_panel: PanelContainer = $ViewportPanel - @onready var debug_container: MarginContainer = $ViewportPanel/DebugContainer @onready var debug_label: Label = $ViewportPanel/DebugContainer/DebugLabel +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translations() + elif what == Utils.CustomNotification.NUMBER_PRECISION_CHANGED: + update_snap_config() + elif what == NOTIFICATION_WM_ABOUT: + open_about.call_deferred() + elif what == Utils.CustomNotification.THEME_CHANGED: + update_theme() + func _ready() -> void: + update_translations() + update_theme() update_snap_config() view_settings_updated.emit(grid_visuals.visible, controls.visible, viewport.display_texture.rasterized) @@ -61,25 +72,27 @@ func _unhandled_input(input_event: InputEvent) -> void: open_sponsor() -func _notification(what: int) -> void: - if what == Utils.CustomNotification.NUMBER_PRECISION_CHANGED: - update_snap_config() - elif what == NOTIFICATION_WM_ABOUT: - open_about.call_deferred() - elif what in [NOTIFICATION_READY, Utils.CustomNotification.THEME_CHANGED]: - var stylebox := StyleBoxFlat.new() - stylebox.bg_color = ThemeGenerator.overlay_panel_inner_color - stylebox.set_content_margin_all(6) - panel_container.add_theme_stylebox_override("panel", stylebox) - var frame := StyleBoxFlat.new() - frame.draw_center = false - frame.border_width_left = 2 - frame.border_width_top = 2 - frame.border_color = ThemeGenerator.connected_button_border_color_pressed - frame.content_margin_left = 2 - frame.content_margin_top = 2 - viewport_panel.add_theme_stylebox_override("panel", frame) - +func update_translations() -> void: + %LeftMenu/Settings.tooltip_text = TranslationServer.translate("Settings") + %LeftMenu/Visuals.tooltip_text = TranslationServer.translate("Visuals") + %LeftMenu/Snapping/SnapButton.tooltip_text = TranslationServer.translate( + "Enable snapping") + %LeftMenu/Snapping/SnapNumberEdit.tooltip_text = TranslationServer.translate( + "Snap size") + +func update_theme() -> void: + var stylebox := StyleBoxFlat.new() + stylebox.bg_color = ThemeGenerator.overlay_panel_inner_color + stylebox.set_content_margin_all(6) + panel_container.add_theme_stylebox_override("panel", stylebox) + var frame := StyleBoxFlat.new() + frame.draw_center = false + frame.border_width_left = 2 + frame.border_width_top = 2 + frame.border_color = ThemeGenerator.connected_button_border_color_pressed + frame.content_margin_left = 2 + frame.content_margin_top = 2 + viewport_panel.add_theme_stylebox_override("panel", frame) func update_snap_config() -> void: var snap_config := GlobalSettings.save_data.snap @@ -117,11 +130,11 @@ func _on_more_options_pressed() -> void: about_btn, Utils.create_btn(TranslationServer.translate("Donate…"), open_sponsor, false, load("res://visual/icons/Heart.svg")), - Utils.create_btn(TranslationServer.translate("GodSVG Repository"), + Utils.create_btn(TranslationServer.translate("GodSVG repository"), open_godsvg_repo, false, load("res://visual/icons/Link.svg")), - Utils.create_btn(TranslationServer.translate("GodSVG Website"), + Utils.create_btn(TranslationServer.translate("GodSVG website"), open_godsvg_website, false, load("res://visual/icons/Link.svg")), - Utils.create_btn(TranslationServer.translate("Check for Updates"), + Utils.create_btn(TranslationServer.translate("Check for updates"), open_update_checker, false, load("res://visual/icons/Reload.svg"))] var separator_indices: Array[int] = [2,4] diff --git a/src/ui_parts/display.tscn b/src/ui_parts/display.tscn index 50dabf7e..d249806f 100644 --- a/src/ui_parts/display.tscn +++ b/src/ui_parts/display.tscn @@ -59,7 +59,6 @@ icon_alignment = 1 [node name="Settings" type="Button" parent="PanelContainer/HBoxContainer/LeftMenu"] layout_mode = 2 size_flags_horizontal = 2 -tooltip_text = "Settings" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"IconButton" @@ -69,7 +68,6 @@ icon_alignment = 1 [node name="Visuals" type="Button" parent="PanelContainer/HBoxContainer/LeftMenu"] layout_mode = 2 size_flags_horizontal = 2 -tooltip_text = "Visuals" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"IconButton" @@ -82,7 +80,6 @@ theme_override_constants/separation = 0 [node name="SnapButton" type="Button" parent="PanelContainer/HBoxContainer/LeftMenu/Snapping"] layout_mode = 2 -tooltip_text = "Enable Snapping" focus_mode = 0 mouse_default_cursor_shape = 2 theme_type_variation = &"RightConnectedButton" @@ -94,7 +91,6 @@ hover_pressed_stylebox = SubResource("StyleBoxFlat_eujxa") [node name="SnapNumberEdit" parent="PanelContainer/HBoxContainer/LeftMenu/Snapping" instance=ExtResource("7_wrrfr")] custom_minimum_size = Vector2(48, 22) layout_mode = 2 -tooltip_text = "Snap size" theme_type_variation = &"LeftConnectedLineEdit" max_length = 20 editable = false @@ -121,7 +117,7 @@ unique_name_in_owner = true disable_3d = true handle_input_locally = false gui_snap_controls_to_pixels = false -size = Vector2i(1024, 609) +size = Vector2i(450, 2) size_2d_override_stretch = true render_target_update_mode = 4 script = ExtResource("9_4xrk7") diff --git a/src/ui_parts/export_dialog.gd b/src/ui_parts/export_dialog.gd index 3cd5d8d5..26ca2bcc 100644 --- a/src/ui_parts/export_dialog.gd +++ b/src/ui_parts/export_dialog.gd @@ -21,6 +21,10 @@ var dimensions := Vector2.ZERO @onready var quality_hbox: HBoxContainer = %QualityHBox @onready var fallback_format_label: Label = %FallbackFormatLabel +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func _ready() -> void: scale_edit.value_changed.connect(_on_scale_value_changed) quality_edit.value_changed.connect(_on_quality_value_changed) @@ -28,17 +32,16 @@ func _ready() -> void: extension = format_dropdown.value update_extension_configuration() dimensions = SVG.root_tag.get_size() - scale_edit.min_value = 1/minf(dimensions.x, dimensions.y) - scale_edit.max_value = 16384/maxf(dimensions.x, dimensions.y) - scale_edit.set_value(minf(scale_edit.get_value(), - 2048/maxf(dimensions.x, dimensions.y))) - fallback_format_label.text = TranslationServer.translate("Format") + ": svg" - update_dimensions_label() - update_final_scale() + var bigger_dimension := maxf(dimensions.x, dimensions.y) + scale_edit.min_value = 1 / minf(dimensions.x, dimensions.y) + scale_edit.max_value = 16384 / bigger_dimension + scale_edit.set_value(minf(scale_edit.get_value(), 2048 / bigger_dimension)) + update_translation() texture_preview.setup(SVG.text, dimensions) -func update_dimensions_label() -> void: +func update_translation() -> void: + # Update dimensions label. var valid_dimensions := is_finite(dimensions.x) and is_finite(dimensions.y) dimensions_label.text = TranslationServer.translate("Size") + ": " if valid_dimensions: @@ -49,13 +52,25 @@ func update_dimensions_label() -> void: # If the size is invalid, only SVG exports are relevant. So hide the dropdown. fallback_format_label.visible = !valid_dimensions format_hbox.visible = valid_dimensions + update_final_scale() + fallback_format_label.text = TranslationServer.translate("Format") + ": svg" + $VBoxContainer/Label.text = TranslationServer.translate("Export Configuration") + %FormatHBox/Label.text = TranslationServer.translate("Format") + %LosslessHBox/Label.text = TranslationServer.translate("Lossless") + %QualityHBox/Label.text = TranslationServer.translate("Quality") + %ScaleContainer/HBoxContainer/Label.text = TranslationServer.translate("Scale") + $VBoxContainer/ButtonContainer/CancelButton.text =\ + TranslationServer.translate("Cancel") + $VBoxContainer/ButtonContainer/ExportButton.text =\ + TranslationServer.translate("Export") + func _on_dropdown_value_changed(new_value: String) -> void: extension = new_value update_extension_configuration() -func _on_ok_button_pressed() -> void: +func _on_export_button_pressed() -> void: if OS.has_feature("web"): var svg_image := FileUtils.generate_image_from_tags(upscale_amount) match extension: @@ -73,7 +88,6 @@ func _on_cancel_button_pressed() -> void: func _on_lossless_check_box_toggled(toggled_on: bool) -> void: lossless = toggled_on - if extension == "webp": quality_hbox.visible = not lossless @@ -90,7 +104,7 @@ func update_final_scale() -> void: ": %d×%d" % [exported_size.x, exported_size.y] func update_extension_configuration() -> void: - scale_container.visible = (extension == "png" or extension == "jpg" or extension == "webp") + scale_container.visible = extension in ["png", "jpg", "webp"] lossless_hbox.visible = (extension == "webp") - quality_hbox.visible = (extension == "jpg" or extension == "webp") + quality_hbox.visible = extension in ["jpg", "webp"] _on_lossless_check_box_toggled(lossless) diff --git a/src/ui_parts/export_dialog.tscn b/src/ui_parts/export_dialog.tscn index 2c505f74..0a80ed8f 100644 --- a/src/ui_parts/export_dialog.tscn +++ b/src/ui_parts/export_dialog.tscn @@ -27,80 +27,69 @@ theme_override_constants/separation = 12 [node name="Label" type="Label" parent="VBoxContainer"] layout_mode = 2 -text = "Export Configuration" horizontal_alignment = 1 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] layout_mode = 2 -theme_override_constants/separation = 12 +theme_override_constants/separation = 16 [node name="TexturePreview" parent="VBoxContainer/HBoxContainer" instance=ExtResource("2_ewk0a")] unique_name_in_owner = true +custom_minimum_size = Vector2(192, 192) layout_mode = 2 -[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/HBoxContainer"] -custom_minimum_size = Vector2(160, 0) -layout_mode = 2 -theme_override_constants/margin_left = 4 -theme_override_constants/margin_top = 6 -theme_override_constants/margin_right = 4 -theme_override_constants/margin_bottom = 6 - -[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer"] +[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"] layout_mode = 2 theme_override_constants/separation = 8 -[node name="DimensionsLabel" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="DimensionsLabel" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.866667, 0.866667, 0.866667, 1) theme_override_font_sizes/font_size = 16 horizontal_alignment = 1 -[node name="FallbackFormatLabel" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="FallbackFormatLabel" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true visible = false layout_mode = 2 theme_override_font_sizes/font_size = 14 horizontal_alignment = 1 -[node name="FormatHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="FormatHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 8 -[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/FormatHBox"] +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/FormatHBox"] layout_mode = 2 theme_override_font_sizes/font_size = 14 -text = "Format" -[node name="Dropdown" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/FormatHBox" instance=ExtResource("5_y6ex0")] +[node name="Dropdown" parent="VBoxContainer/HBoxContainer/VBoxContainer/FormatHBox" instance=ExtResource("5_y6ex0")] layout_mode = 2 values = Array[String](["svg", "png", "jpg", "webp"]) -[node name="LosslessHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="LosslessHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/LosslessHBox"] +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/LosslessHBox"] layout_mode = 2 theme_override_font_sizes/font_size = 12 -text = "Lossless" -[node name="CheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/LosslessHBox"] +[node name="CheckBox" type="CheckBox" parent="VBoxContainer/HBoxContainer/VBoxContainer/LosslessHBox"] layout_mode = 2 button_pressed = true -[node name="QualityHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="QualityHBox" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 -[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/QualityHBox"] +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/QualityHBox"] layout_mode = 2 theme_override_font_sizes/font_size = 12 -text = "Quality" -[node name="Quality" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/QualityHBox" instance=ExtResource("6_w1sag")] +[node name="Quality" parent="VBoxContainer/HBoxContainer/VBoxContainer/QualityHBox" instance=ExtResource("6_w1sag")] unique_name_in_owner = true layout_mode = 2 min_value = 1.0 @@ -110,20 +99,19 @@ allow_lower = false allow_higher = false is_float = false -[node name="ScaleContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer"] +[node name="ScaleContainer" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 -[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/ScaleContainer"] +[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/VBoxContainer/ScaleContainer"] layout_mode = 2 theme_override_constants/separation = 8 -[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/ScaleContainer/HBoxContainer"] +[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/ScaleContainer/HBoxContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 12 -text = "Scale" -[node name="Scale" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/ScaleContainer/HBoxContainer" instance=ExtResource("6_w1sag")] +[node name="Scale" parent="VBoxContainer/HBoxContainer/VBoxContainer/ScaleContainer/HBoxContainer" instance=ExtResource("6_w1sag")] unique_name_in_owner = true custom_minimum_size = Vector2(46, 22) layout_mode = 2 @@ -131,7 +119,7 @@ initial_value = 8.0 allow_lower = false allow_higher = false -[node name="FinalDimensions" type="Label" parent="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/ScaleContainer"] +[node name="FinalDimensions" type="Label" parent="VBoxContainer/HBoxContainer/VBoxContainer/ScaleContainer"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/font_color = Color(0.666667, 0.666667, 0.666667, 1) @@ -147,15 +135,13 @@ layout_mode = 2 size_flags_horizontal = 6 focus_mode = 0 mouse_default_cursor_shape = 2 -text = "Cancel" -[node name="OKButton" type="Button" parent="VBoxContainer/ButtonContainer"] +[node name="ExportButton" type="Button" parent="VBoxContainer/ButtonContainer"] layout_mode = 2 size_flags_horizontal = 6 focus_mode = 0 mouse_default_cursor_shape = 2 -text = "Export" -[connection signal="toggled" from="VBoxContainer/HBoxContainer/MarginContainer/VBoxContainer/LosslessHBox/CheckBox" to="." method="_on_lossless_check_box_toggled"] +[connection signal="toggled" from="VBoxContainer/HBoxContainer/VBoxContainer/LosslessHBox/CheckBox" to="." method="_on_lossless_check_box_toggled"] [connection signal="pressed" from="VBoxContainer/ButtonContainer/CancelButton" to="." method="_on_cancel_button_pressed"] -[connection signal="pressed" from="VBoxContainer/ButtonContainer/OKButton" to="." method="_on_ok_button_pressed"] +[connection signal="pressed" from="VBoxContainer/ButtonContainer/ExportButton" to="." method="_on_export_button_pressed"] diff --git a/src/ui_parts/good_file_dialog.gd b/src/ui_parts/good_file_dialog.gd index 5e3abe5a..24092a81 100644 --- a/src/ui_parts/good_file_dialog.gd +++ b/src/ui_parts/good_file_dialog.gd @@ -105,7 +105,7 @@ func _ready() -> void: alert_title_label.text = TranslationServer.translate("Alert!") alert_cancel_button.text = TranslationServer.translate("Cancel") alert_replace_button.text = TranslationServer.translate("Replace") - create_folder_title_label.text = TranslationServer.translate("Create new directory") + create_folder_title_label.text = TranslationServer.translate("Create new folder") create_folder_cancel_button.text = TranslationServer.translate("Cancel") create_folder_create_button.text = TranslationServer.translate("Create") var extension_panel_stylebox := extension_panel.get_theme_stylebox("panel") diff --git a/src/ui_parts/import_warning_dialog.gd b/src/ui_parts/import_warning_dialog.gd index 5e9666b4..008de7fc 100644 --- a/src/ui_parts/import_warning_dialog.gd +++ b/src/ui_parts/import_warning_dialog.gd @@ -10,7 +10,15 @@ signal imported var imported_text := "" +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + setup() + + func _ready() -> void: + setup() + +func setup() -> void: imported.connect(queue_free) # Convert forward and backward to show how GodSVG would display the given SVG. var imported_text_parse_result := SVGParser.text_to_svg(imported_text) @@ -27,8 +35,7 @@ func _ready() -> void: warnings_label.add_theme_color_override("default_color", GlobalSettings.basic_color_error) warnings_label.text = "[center]%s: %s" % [TranslationServer.translate( - "Syntax error"), TranslationServer.translate(SVGParser.get_error_string( - imported_text_parse_result.error))] + "Syntax error"), SVGParser.get_error_string(imported_text_parse_result.error)] else: var svg_warnings := get_svg_warnings(imported_text_parse_result.svg) if svg_warnings.is_empty(): @@ -40,6 +47,7 @@ func _ready() -> void: warnings_label.text += warning + "\n" ok_button.grab_focus() cancel_button.pressed.connect(queue_free) + $VBoxContainer/Title.text = TranslationServer.translate("Import Problems") func set_svg(text: String) -> void: diff --git a/src/ui_parts/import_warning_dialog.tscn b/src/ui_parts/import_warning_dialog.tscn index 4d45b33d..824d8396 100644 --- a/src/ui_parts/import_warning_dialog.tscn +++ b/src/ui_parts/import_warning_dialog.tscn @@ -25,7 +25,6 @@ theme_override_constants/separation = 12 [node name="Title" type="Label" parent="VBoxContainer"] layout_mode = 2 -text = "Import Problems" horizontal_alignment = 1 [node name="TextureContainer" type="HBoxContainer" parent="VBoxContainer"] @@ -34,6 +33,7 @@ theme_override_constants/separation = 12 [node name="TexturePreview" parent="VBoxContainer/TextureContainer" instance=ExtResource("2_j1v8v")] unique_name_in_owner = true +custom_minimum_size = Vector2(192, 192) layout_mode = 2 [node name="MarginContainer" type="MarginContainer" parent="VBoxContainer/TextureContainer"] diff --git a/src/ui_parts/inspector.gd b/src/ui_parts/inspector.gd index 813b4705..9f53a8b1 100644 --- a/src/ui_parts/inspector.gd +++ b/src/ui_parts/inspector.gd @@ -5,12 +5,22 @@ const TagFrame = preload("tag_frame.tscn") @onready var tags_container: VBoxContainer = %Tags @onready var add_button: Button = $AddButton + +func _notification(what: int) -> void: + if what == Utils.CustomNotification.LANGUAGE_CHANGED: + update_translation() + func _ready() -> void: + update_translation() SVG.root_tag.tag_layout_changed.connect(full_rebuild) SVG.root_tag.changed_unknown.connect(full_rebuild) full_rebuild() +func update_translation() -> void: + $AddButton.text = TranslationServer.translate("Add new tag") + + func full_rebuild() -> void: for node in tags_container.get_children(): node.queue_free() diff --git a/src/ui_parts/inspector.tscn b/src/ui_parts/inspector.tscn index da893c79..c7cfecfc 100644 --- a/src/ui_parts/inspector.tscn +++ b/src/ui_parts/inspector.tscn @@ -35,7 +35,6 @@ size_flags_horizontal = 0 focus_mode = 0 mouse_default_cursor_shape = 2 theme_override_constants/h_separation = 4 -text = "Add new tag" icon = ExtResource("3_vo6hf") [node name="TagContainer" type="PanelContainer" parent="."] diff --git a/src/ui_parts/main_scene.gd b/src/ui_parts/main_scene.gd index 80055579..22d0c00c 100644 --- a/src/ui_parts/main_scene.gd +++ b/src/ui_parts/main_scene.gd @@ -3,11 +3,18 @@ extends HBoxContainer @onready var panel_container: PanelContainer = $HSplitContainer/PanelContainer func _notification(what: int) -> void: - if what in [NOTIFICATION_READY, Utils.CustomNotification.THEME_CHANGED]: - var stylebox := StyleBoxFlat.new() - stylebox.bg_color = ThemeGenerator.overlay_panel_inner_color - stylebox.content_margin_left = 6 - stylebox.content_margin_top = 6 - stylebox.content_margin_bottom = 6 - stylebox.expand_margin_right = 6 - panel_container.add_theme_stylebox_override("panel", stylebox) + if what == Utils.CustomNotification.THEME_CHANGED: + update_theme() + +func _ready() -> void: + update_theme() + + +func update_theme() -> void: + var stylebox := StyleBoxFlat.new() + stylebox.bg_color = ThemeGenerator.overlay_panel_inner_color + stylebox.content_margin_left = 6 + stylebox.content_margin_top = 6 + stylebox.content_margin_bottom = 6 + stylebox.expand_margin_right = 6 + panel_container.add_theme_stylebox_override("panel", stylebox) diff --git a/src/ui_parts/root_tag_editor.gd b/src/ui_parts/root_tag_editor.gd index 7be85f99..ca9bd05c 100644 --- a/src/ui_parts/root_tag_editor.gd +++ b/src/ui_parts/root_tag_editor.gd @@ -2,14 +2,10 @@ extends CenterContainer # So, about this editor. Width and height don't have default values, so they use NAN and # use NumberEdit, rather than NumberField. Viewbox is a list and it also doesn't have a -# default value, and it also needs a coupling functionality, so it uses 4 NumberEdits. +# default value, so it uses 4 NumberEdits. const NumberEditType = preload("res://src/ui_elements/number_edit.gd") -const coupled_icon = preload("res://visual/icons/Coupled.svg") -const decoupled_icon = preload("res://visual/icons/Decoupled.svg") - -@onready var couple_button: Button = $Edits/CoupleButton @onready var width_button: Button = %Size/Width/WidthButton @onready var height_button: Button = %Size/Height/HeightButton @onready var viewbox_button: Button = %Viewbox/ViewboxButton @@ -21,17 +17,12 @@ const decoupled_icon = preload("res://visual/icons/Decoupled.svg") @onready var viewbox_edit_h: NumberEditType = %Viewbox/Rect/ViewboxEditH func _ready() -> void: - SVG.root_tag.resized.connect(_on_resized) - SVG.root_tag.changed_unknown.connect(_on_unknown_changed) - update_attributes(true) - - -func _on_resized() -> void: + SVG.root_tag.resized.connect(update_attributes) + SVG.root_tag.changed_unknown.connect(update_attributes) update_attributes() -func update_attributes(configure_coupling := false) -> void: - if configure_coupling: - update_coupling_config() + +func update_attributes() -> void: width_edit.set_value(SVG.root_tag.width, false) height_edit.set_value(SVG.root_tag.height, false) viewbox_edit_x.set_value(SVG.root_tag.viewbox.position.x, false) @@ -40,42 +31,11 @@ func update_attributes(configure_coupling := false) -> void: viewbox_edit_h.set_value(SVG.root_tag.viewbox.size.y, false) update_editable() -func _on_unknown_changed() -> void: - if GlobalSettings.save_data.viewbox_coupling and (SVG.root_tag.viewbox !=\ - Rect2(Vector2.ZERO, SVG.root_tag.get_size())): - GlobalSettings.modify_save_data("viewbox_coupling", false) - update_attributes(true) - - -func _on_couple_button_toggled(toggled_on: bool) -> void: - GlobalSettings.modify_save_data("viewbox_coupling", toggled_on) - update_coupling_config() - -func update_coupling_config() -> void: - if SVG.root_tag.attributes.width.get_value().is_empty() or\ - SVG.root_tag.attributes.height.get_value().is_empty() or\ - SVG.root_tag.attributes.viewBox.get_value().is_empty(): - couple_button.disabled = true - couple_button.mouse_default_cursor_shape = Control.CURSOR_ARROW - couple_button.icon = coupled_icon - else: - couple_button.disabled = false - couple_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND - var coupling_on := GlobalSettings.save_data.viewbox_coupling - couple_button.button_pressed = coupling_on - couple_button.icon = coupled_icon if coupling_on else decoupled_icon - if coupling_on: - SVG.root_tag.attributes.viewBox.set_list(PackedFloat32Array([ - 0.0, 0.0, SVG.root_tag.width, SVG.root_tag.height])) - update_editable() - func update_editable() -> void: var is_width_valid := is_finite(SVG.root_tag.attributes.width.get_num()) var is_height_valid := is_finite(SVG.root_tag.attributes.height.get_num()) var is_viewbox_valid: bool = !SVG.root_tag.attributes.viewBox.get_value().is_empty() - var coupling_on := GlobalSettings.save_data.viewbox_coupling and\ - not couple_button.disabled width_button.set_pressed_no_signal(is_width_valid) height_button.set_pressed_no_signal(is_height_valid) @@ -83,8 +43,8 @@ func update_editable() -> void: width_edit.editable = is_width_valid height_edit.editable = is_height_valid - viewbox_edit_x.editable = is_viewbox_valid and not coupling_on - viewbox_edit_y.editable = is_viewbox_valid and not coupling_on + viewbox_edit_x.editable = is_viewbox_valid + viewbox_edit_y.editable = is_viewbox_valid viewbox_edit_w.editable = is_viewbox_valid viewbox_edit_h.editable = is_viewbox_valid @@ -92,24 +52,14 @@ func update_editable() -> void: func _on_width_edit_value_changed(new_value: float) -> void: if is_finite(new_value) and SVG.root_tag.attributes.width.get_num() != new_value: SVG.root_tag.width = new_value - if GlobalSettings.save_data.viewbox_coupling: - SVG.root_tag.attributes.width.set_num(new_value, - Attribute.SyncMode.NO_PROPAGATION) - SVG.root_tag.attributes.viewBox.set_list_element(2, new_value) - else: - SVG.root_tag.attributes.width.set_num(new_value) + SVG.root_tag.attributes.width.set_num(new_value) else: SVG.root_tag.attributes.width.set_num(SVG.root_tag.width, false) func _on_height_edit_value_changed(new_value: float) -> void: if is_finite(new_value) and SVG.root_tag.attributes.height.get_num() != new_value: SVG.root_tag.height = new_value - if GlobalSettings.save_data.viewbox_coupling: - SVG.root_tag.attributes.height.set_num(new_value, - Attribute.SyncMode.NO_PROPAGATION) - SVG.root_tag.attributes.viewBox.set_list_element(3, new_value) - else: - SVG.root_tag.attributes.height.set_num(new_value) + SVG.root_tag.attributes.height.set_num(new_value) else: SVG.root_tag.attributes.height.set_num(SVG.root_tag.height, false) @@ -127,56 +77,38 @@ func _on_viewbox_edit_w_value_changed(new_value: float) -> void: if SVG.root_tag.attributes.viewBox.get_value() != null and\ SVG.root_tag.attributes.viewBox.get_list_element(2) != new_value: SVG.root_tag.viewbox.size.x = new_value - if GlobalSettings.save_data.viewbox_coupling and\ - not SVG.root_tag.attributes.width.get_value().is_empty(): - SVG.root_tag.attributes.viewBox.set_list_element(2, new_value, - Attribute.SyncMode.NO_PROPAGATION) - SVG.root_tag.attributes.width.set_num(new_value) - else: - SVG.root_tag.attributes.viewBox.set_list_element(2, new_value) + SVG.root_tag.attributes.viewBox.set_list_element(2, new_value) func _on_viewbox_edit_h_value_changed(new_value: float) -> void: if SVG.root_tag.attributes.viewBox.get_value() != null and\ SVG.root_tag.attributes.viewBox.get_list_element(3) != new_value: SVG.root_tag.viewbox.size.y = new_value - if GlobalSettings.save_data.viewbox_coupling and\ - not SVG.root_tag.attributes.height.get_value().is_empty(): - SVG.root_tag.attributes.viewBox.set_list_element(3, new_value, - Attribute.SyncMode.NO_PROPAGATION) - SVG.root_tag.attributes.height.set_num(new_value) - else: - SVG.root_tag.attributes.viewBox.set_list_element(3, new_value) + SVG.root_tag.attributes.viewBox.set_list_element(3, new_value) func _on_width_button_toggled(toggled_on: bool) -> void: if toggled_on: SVG.root_tag.attributes.width.set_num(SVG.root_tag.width) - update_coupling_config() else: if SVG.root_tag.attributes.viewBox.get_list_size() == 4: SVG.root_tag.attributes.width.set_num(NAN) - update_coupling_config() else: width_button.set_pressed_no_signal(true) func _on_height_button_toggled(toggled_on: bool) -> void: if toggled_on: SVG.root_tag.attributes.height.set_num(SVG.root_tag.height) - update_coupling_config() else: if SVG.root_tag.attributes.viewBox.get_list_size() == 4: SVG.root_tag.attributes.height.set_num(NAN) - update_coupling_config() else: height_button.set_pressed_no_signal(true) func _on_viewbox_button_toggled(toggled_on: bool) -> void: if toggled_on: SVG.root_tag.attributes.viewBox.set_rect(SVG.root_tag.viewbox) - update_coupling_config() else: if is_finite(SVG.root_tag.attributes.width.get_num()) and\ is_finite(SVG.root_tag.attributes.height.get_num()): SVG.root_tag.attributes.viewBox.set_value("") - update_coupling_config() else: viewbox_button.set_pressed_no_signal(true) diff --git a/src/ui_parts/root_tag_editor.tscn b/src/ui_parts/root_tag_editor.tscn index 9a7a01c8..7af4f1c4 100644 --- a/src/ui_parts/root_tag_editor.tscn +++ b/src/ui_parts/root_tag_editor.tscn @@ -1,18 +1,10 @@ -[gd_scene load_steps=7 format=3 uid="uid://bktmk76u7dsu0"] +[gd_scene load_steps=5 format=3 uid="uid://bktmk76u7dsu0"] [ext_resource type="Script" path="res://src/ui_parts/root_tag_editor.gd" id="1_xgyg0"] [ext_resource type="FontFile" uid="uid://dtb4wkus51hxs" path="res://visual/fonts/FontMono.ttf" id="2_fm5sa"] [ext_resource type="PackedScene" uid="uid://dad7fkhmsooc6" path="res://src/ui_elements/number_edit.tscn" id="3_1gu7n"] -[ext_resource type="Texture2D" uid="uid://bv4lcvienlyfa" path="res://visual/icons/Coupled.svg" id="3_yhfll"] [ext_resource type="Script" path="res://src/ui_elements/BetterToggleButton.gd" id="4_7r848"] -[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_u8h0i"] -bg_color = Color(0.866667, 0.933333, 1, 0.133333) -corner_radius_top_left = 5 -corner_radius_top_right = 5 -corner_radius_bottom_right = 5 -corner_radius_bottom_left = 5 - [node name="RootTagEditor" type="CenterContainer"] offset_right = 470.0 offset_bottom = 56.0 @@ -20,7 +12,7 @@ script = ExtResource("1_xgyg0") [node name="Edits" type="HBoxContainer" parent="."] layout_mode = 2 -theme_override_constants/separation = 12 +theme_override_constants/separation = 30 [node name="Size" type="HBoxContainer" parent="Edits"] unique_name_in_owner = true @@ -69,19 +61,6 @@ custom_minimum_size = Vector2(48, 22) layout_mode = 2 allow_lower = false -[node name="CoupleButton" type="Button" parent="Edits"] -layout_mode = 2 -size_flags_horizontal = 4 -size_flags_vertical = 4 -tooltip_text = "Couple/Decouple" -focus_mode = 0 -mouse_default_cursor_shape = 2 -theme_type_variation = &"IconButton" -toggle_mode = true -icon = ExtResource("3_yhfll") -script = ExtResource("4_7r848") -hover_pressed_stylebox = SubResource("StyleBoxFlat_u8h0i") - [node name="Viewbox" type="VBoxContainer" parent="Edits"] unique_name_in_owner = true layout_mode = 2 @@ -124,7 +103,6 @@ allow_lower = false [connection signal="value_changed" from="Edits/Size/Width/WidthEdit" to="." method="_on_width_edit_value_changed"] [connection signal="toggled" from="Edits/Size/Height/HeightButton" to="." method="_on_height_button_toggled"] [connection signal="value_changed" from="Edits/Size/Height/HeightEdit" to="." method="_on_height_edit_value_changed"] -[connection signal="toggled" from="Edits/CoupleButton" to="." method="_on_couple_button_toggled"] [connection signal="toggled" from="Edits/Viewbox/ViewboxButton" to="." method="_on_viewbox_button_toggled"] [connection signal="value_changed" from="Edits/Viewbox/Rect/ViewboxEditX" to="." method="_on_viewbox_edit_x_value_changed"] [connection signal="value_changed" from="Edits/Viewbox/Rect/ViewboxEditY" to="." method="_on_viewbox_edit_y_value_changed"] diff --git a/src/ui_parts/settings_menu.gd b/src/ui_parts/settings_menu.gd index 6cf80b4c..85aa5988 100644 --- a/src/ui_parts/settings_menu.gd +++ b/src/ui_parts/settings_menu.gd @@ -14,7 +14,7 @@ const SettingColor = preload("res://src/ui_elements/setting_color.gd") @onready var tabs: VBoxContainer = %Tabs @onready var close_button: Button = $VBoxContainer/CloseButton -@onready var wrap_mouse: HBoxContainer = %WrapMouse +@onready var wrap_mouse: HBoxContainer = %Input/WrapMouse @onready var use_native_file_dialog: HBoxContainer = %UseNativeFileDialog @onready var shortcut_categories: HFlowContainer = %Categories @@ -50,13 +50,32 @@ func setup_theming() -> void: # Sets the text for all the labels. func setup_setting_labels() -> void: + %HighlighterVBox/SectionLabel.text = TranslationServer.translate("SVG Text colors") + %HandleColors/SectionLabel.text = TranslationServer.translate("Handle colors") + %BasicColorsVBox/SectionLabel.text = TranslationServer.translate("Basic colors") + %GeneralVBox/SectionLabel.text = TranslationServer.translate("General") + %NumberVBox/SectionLabel.text = TranslationServer.translate("Numbers") + %ColorVBox/SectionLabel.text = TranslationServer.translate("Colors") + %PathVBox/SectionLabel.text = TranslationServer.translate("Paths") + %PathVBox/Note.text = TranslationServer.translate("Always active.") + %TransformVBox/SectionLabel.text = TranslationServer.translate("Transforms") + %TransformVBox/Note.text = TranslationServer.translate("Always active.") + %Input/Label.text = TranslationServer.translate("Input") + %Misc/Label.text = TranslationServer.translate("Miscellaneous") + + %ContentContainer/Autoformatting/AutoformattingVBox/Warning.text =\ + TranslationServer.translate("Any changes will apply immediately.") + %ContentContainer/Theme/ThemeSettings/Warning.text =\ + TranslationServer.translate("Any changes will apply immediately.") + + tabs.get_node(^"FormattingTab").text = TranslationServer.translate("Formatting") tabs.get_node(^"PalettesTab").text = TranslationServer.translate("Palettes") tabs.get_node(^"ShortcutsTab").text = TranslationServer.translate("Shortcuts") tabs.get_node(^"ThemeTab").text = TranslationServer.translate("Theme") tabs.get_node(^"OtherTab").text = TranslationServer.translate("Other") - var invert_zoom := %ContentContainer/Other/OtherSettings/Input/InvertZoom + var invert_zoom := %Input/InvertZoom invert_zoom.label.text = TranslationServer.translate("Invert zoom direction") invert_zoom.tooltip_text = TranslationServer.translate( "Swaps zoom in and zoom out with the mouse wheel.") @@ -65,7 +84,7 @@ func setup_setting_labels() -> void: wrap_mouse.tooltip_text = TranslationServer.translate( "Wraps the mouse cursor around when panning the viewport.") - var ctrl_for_zoom := %ContentContainer/Other/OtherSettings/Input/UseCtrlForZoom + var ctrl_for_zoom := %Input/UseCtrlForZoom ctrl_for_zoom.label.text = TranslationServer.translate("Use CTRL for zooming") ctrl_for_zoom.tooltip_text = TranslationServer.translate( "If turned on, scrolling will pan the view. To zoom, hold CTRL while scrolling.") diff --git a/src/ui_parts/settings_menu.tscn b/src/ui_parts/settings_menu.tscn index 536d8d06..5bb69526 100644 --- a/src/ui_parts/settings_menu.tscn +++ b/src/ui_parts/settings_menu.tscn @@ -133,7 +133,6 @@ theme_override_constants/separation = 8 layout_mode = 2 theme_override_colors/font_color = Color(0.501961, 0.501961, 0.501961, 1) theme_override_font_sizes/font_size = 12 -text = "Any changes will apply immediately." [node name="GeneralVBox" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox"] unique_name_in_owner = true @@ -184,7 +183,6 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/NumberVBox"] layout_mode = 2 -text = "Numbers" [node name="NumberEnable" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/NumberVBox" instance=ExtResource("4_2qeh2")] layout_mode = 2 @@ -208,7 +206,6 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/ColorVBox"] layout_mode = 2 -text = "Colors" [node name="ColorEnable" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/ColorVBox" instance=ExtResource("4_2qeh2")] layout_mode = 2 @@ -242,13 +239,11 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/PathVBox"] layout_mode = 2 -text = "Paths" [node name="Note" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/PathVBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.501961, 0.501961, 0.501961, 1) theme_override_font_sizes/font_size = 12 -text = "Always active." [node name="CompressNumbers" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/PathVBox" instance=ExtResource("4_2qeh2")] layout_mode = 2 @@ -277,13 +272,11 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/TransformVBox"] layout_mode = 2 -text = "Transforms" [node name="Note" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/TransformVBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.501961, 0.501961, 0.501961, 1) theme_override_font_sizes/font_size = 12 -text = "Always active." [node name="CompressNumbers" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Autoformatting/AutoformattingVBox/TransformVBox" instance=ExtResource("4_2qeh2")] layout_mode = 2 @@ -347,7 +340,6 @@ theme_override_constants/separation = 8 layout_mode = 2 theme_override_colors/font_color = Color(0.501961, 0.501961, 0.501961, 1) theme_override_font_sizes/font_size = 12 -text = "Any changes will apply immediately." [node name="HighlighterVBox" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Theme/ThemeSettings"] unique_name_in_owner = true @@ -356,7 +348,6 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Theme/ThemeSettings/HighlighterVBox"] layout_mode = 2 -text = "SVG Text Colors" [node name="SymbolColor" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Theme/ThemeSettings/HighlighterVBox" instance=ExtResource("4_dacsc")] layout_mode = 2 @@ -405,7 +396,6 @@ theme_override_constants/separation = 3 [node name="SectionLabel" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Theme/ThemeSettings/HandleColors"] layout_mode = 2 -text = "Handle colors" [node name="InsideColor" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Theme/ThemeSettings/HandleColors" instance=ExtResource("4_dacsc")] layout_mode = 2 @@ -472,6 +462,7 @@ size_flags_horizontal = 3 theme_override_constants/separation = 8 [node name="Input" type="VBoxContainer" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings"] +unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 @@ -479,7 +470,6 @@ theme_override_constants/separation = 3 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings/Input"] layout_mode = 2 -text = "Input" [node name="InvertZoom" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings/Input" instance=ExtResource("4_2qeh2")] layout_mode = 2 @@ -487,7 +477,6 @@ section_name = "other" setting_name = "invert_zoom" [node name="WrapMouse" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings/Input" instance=ExtResource("4_2qeh2")] -unique_name_in_owner = true layout_mode = 2 section_name = "other" setting_name = "wrap_mouse" @@ -506,7 +495,6 @@ theme_override_constants/separation = 3 [node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings/Misc"] layout_mode = 2 -text = "Miscellaneous" [node name="UseNativeFileDialog" parent="VBoxContainer/HBoxContainer/MainPanel/ContentContainer/Other/OtherSettings/Misc" instance=ExtResource("4_2qeh2")] unique_name_in_owner = true diff --git a/translations/GodSVG.pot b/translations/GodSVG.pot index 67061120..c4ef2411 100644 --- a/translations/GodSVG.pot +++ b/translations/GodSVG.pot @@ -14,509 +14,544 @@ msgstr "" msgid "translation-credits" msgstr "" -msgid "Project Founder and Manager" +msgid "Doesn’t describe an SVG." msgstr "" -msgid "Developers" +msgid "Improper nesting." msgstr "" -msgid "Translators" +msgid "Undo" msgstr "" -msgid "Language" +msgid "Redo" msgstr "" -msgid "Invert zoom direction" +msgid "Cut" msgstr "" -msgid "Swaps zoom in and zoom out with the mouse wheel." +msgid "Copy" msgstr "" -msgid "Wrap mouse" +msgid "Paste" msgstr "" -msgid "Wraps the mouse cursor around when panning the viewport." +msgid "Search color" msgstr "" -msgid "Use CTRL for zooming" +msgid "Palettes" msgstr "" -msgid "" -"If turned on, scrolling will pan the view. To zoom, hold CTRL while " -"scrolling." +msgid "Color Picker" msgstr "" -msgid "UI scale" +msgid "Edit color name" msgstr "" -msgid "Changes the scale of the visual user interface." +msgid "Delete color" msgstr "" -msgid "Auto UI scale" +msgid "Unnamed" msgstr "" -msgid "Scales the user interface based on the screen size." +msgid "Enable the color" msgstr "" -msgid "Input" +msgid "Disable the color" msgstr "" -msgid "Open" +msgid "Move Up" msgstr "" -msgid "Close" +msgid "Move Down" msgstr "" -msgid "GodSVG Repository" +msgid "Copy as XML" msgstr "" -msgid "About…" +msgid "Paste XML" msgstr "" -msgid "Documentation…" +msgid "Delete" msgstr "" -msgid "Donate…" +msgid "Edit palette name" msgstr "" -msgid "Zoom in" +msgid "No path data" msgstr "" -msgid "Zoom reset" +msgid "Absolute" msgstr "" -msgid "Zoom out" +msgid "Relative" msgstr "" -msgid "Settings" +msgid "Reset to default" msgstr "" -msgid "Visuals" +msgid "Unused" msgstr "" -msgid "Show Grid" +msgid "Add shortcut" msgstr "" -msgid "Show Handles" +msgid "Edit" msgstr "" -msgid "Rasterized SVG" +msgid "Remove" msgstr "" -msgid "Show rasterized SVG" +msgid "Press keys…" msgstr "" -msgid "Enable Snapping" +msgid "No transforms" msgstr "" -msgid "Snap size" +msgid "Apply the matrix" msgstr "" -msgid "Reset to default" +msgid "Insert After" msgstr "" -msgid "Copy all text" +msgid "Insert Before" msgstr "" -msgid "Clear SVG" +msgid "New transform" msgstr "" -msgid "Reset SVG" +msgid "GodSVG doesn’t recognize this attribute" msgstr "" -msgid "Save" +msgid "Project Founder and Manager" msgstr "" -msgid "Export" +msgid "Developers" msgstr "" -msgid "Select all tags" +msgid "Translators" msgstr "" -msgid "Couple/Decouple" +msgid "Authors" msgstr "" -msgid "Duplicate" +msgid "Donors" msgstr "" -msgid "Move Up" +msgid "License" msgstr "" -msgid "Move Down" +msgid "Godot third-party components" msgstr "" -msgid "Delete" +msgid "Third-party licenses" msgstr "" -msgid "Insert Before" +msgid "Alert!" msgstr "" -msgid "Insert After" +msgid "OK" msgstr "" -msgid "Convert To" +msgid "Save SVG" msgstr "" -msgid "Doesn’t describe an SVG." +msgid "Reset SVG" msgstr "" -msgid "Improper nesting." +msgid "Clear saving path" msgstr "" -msgid "Syntax error" +msgid "Copy all text" msgstr "" -msgid "Delete the selection" +msgid "Clear SVG" msgstr "" -msgid "Move the selected tags down" +msgid "Settings" msgstr "" -msgid "Move the selected tags up" +msgid "Visuals" msgstr "" -msgid "Duplicate the selected tags" +msgid "Show Grid" msgstr "" -msgid "Unknown Tag" +msgid "Show Handles" msgstr "" -msgid "Unknown Attribute" +msgid "Rasterized SVG" msgstr "" -msgid "No path data" +msgid "About…" msgstr "" -msgid "No transforms" +msgid "Donate…" msgstr "" -msgid "Import" +msgid "GodSVG repository" msgstr "" -msgid "Cancel" +msgid "GodSVG website" msgstr "" -msgid "Import Problems" +msgid "Check for updates" msgstr "" -msgid "GodSVG doesn’t recognize this attribute" +msgid "Enable snapping" +msgstr "" + +msgid "Snap size" +msgstr "" + +msgid "Size" +msgstr "" + +msgid "Invalid" msgstr "" msgid "Format" msgstr "" +msgid "Export Configuration" +msgstr "" + +msgid "Lossless" +msgstr "" + +msgid "Quality" +msgstr "" + msgid "Scale" msgstr "" -msgid "Size" +msgid "Cancel" msgstr "" -msgid "Final size" +msgid "Export" msgstr "" -msgid "Invalid" +msgid "Final size" msgstr "" -msgid "Export Configuration" +msgid "Replace" msgstr "" -msgid "Add new tag" +msgid "Create new folder" msgstr "" -msgid "New tag" +msgid "Create" msgstr "" -msgid "New transform" +msgid "Go to parent folder" msgstr "" -msgid "License" +msgid "Refresh files" msgstr "" -msgid "Third-party Licenses" +msgid "Toggle the visibility of hidden files" msgstr "" -msgid "Authors" +msgid "Search files" msgstr "" -msgid "Shortcuts" +msgid "Select an SVG" msgstr "" -msgid "Add shortcut" +msgid "Close" msgstr "" -msgid "Theme" +msgid "Select" msgstr "" -msgid "Basic colors" +msgid "Save" msgstr "" -msgid "SVG Text Colors" +msgid "Path" msgstr "" -msgid "Symbol color" +msgid "Open" msgstr "" -msgid "Tag color" +msgid "Copy path" msgstr "" -msgid "Attribute color" +msgid "A file named \"{file_name}\" already exists. Replacing will overwrite its contents!" msgstr "" -msgid "String color" +msgid "New tag" msgstr "" -msgid "Comment color" +msgid "Import Problems" msgstr "" -msgid "Text color" +msgid "Unknown tag" msgstr "" -msgid "CDATA color" +msgid "Unknown attribute" msgstr "" -msgid "Error color" +msgid "Syntax error" msgstr "" -msgid "Warning color" +msgid "Add new tag" msgstr "" -msgid "Valid color" +msgid "SVG Text colors" msgstr "" msgid "Handle colors" msgstr "" -msgid "Inside color" +msgid "Basic colors" msgstr "" -msgid "Normal color" +msgid "General" msgstr "" -msgid "Hovered color" +msgid "Numbers" msgstr "" -msgid "Selected color" +msgid "Colors" msgstr "" -msgid "Hovered selected color" +msgid "Paths" msgstr "" -msgid "Palettes" +msgid "Always active." msgstr "" -msgid "Color Picker" +msgid "Transforms" msgstr "" -msgid "Add color" +msgid "Input" msgstr "" -msgid "Edit palette name" +msgid "Miscellaneous" msgstr "" -msgid "Unnamed" +msgid "Any changes will apply immediately." msgstr "" -msgid "Edit color name" +msgid "Formatting" msgstr "" -msgid "Delete color" +msgid "Shortcuts" msgstr "" -msgid "Edit" +msgid "Theme" msgstr "" -msgid "Remove" +msgid "Other" msgstr "" -msgid "Press keys…" +msgid "Invert zoom direction" msgstr "" -msgid "Enable the color" +msgid "Wrap mouse" msgstr "" -msgid "Disable the color" +msgid "Use CTRL for zooming" msgstr "" -msgid "Path" +msgid "Handles size" msgstr "" -msgid "Replace" +msgid "UI scale" msgstr "" -msgid "Go to parent folder" +msgid "Auto UI scale" msgstr "" -msgid "Refresh files" +msgid "Language" msgstr "" -msgid "Toggle the visibility of hidden files" +msgid "File" msgstr "" -msgid "Search files" +msgid "View" msgstr "" -msgid "Select an SVG" +msgid "Tool" msgstr "" -msgid "Save SVG" +msgid "Swaps zoom in and zoom out with the mouse wheel." msgstr "" -msgid "Select" +msgid "Wraps the mouse cursor around when panning the viewport." msgstr "" -msgid "A file named \"{file_name}\" already exists. Replacing will overwrite its contents!" +msgid "If turned on, scrolling will pan the view. To zoom, hold CTRL while scrolling." msgstr "" -msgid "Godot third-party components" +msgid "Use native file dialog" msgstr "" -msgid "Undo" +msgid "If turned on, uses your operating system's native file dialog. If turned off, uses GodSVG's built-in file dialog." msgstr "" -msgid "Redo" +msgid "Increases the visual size and grabbing area of handles." msgstr "" -msgid "Copy" +msgid "Changes the scale of the visual user interface." msgstr "" -msgid "Paste" +msgid "Scales the user interface based on the screen size." msgstr "" -msgid "Copy as XML" +msgid "Number precision digits" msgstr "" -msgid "Paste XML" +msgid "Angle precision digits" msgstr "" -msgid "Unused" +msgid "Add trailing newline" msgstr "" -msgid "Cut" +msgid "Use shorthand tag syntax" msgstr "" -msgid "Alert!" +msgid "Enable autoformatting" msgstr "" -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." +msgid "Remove zero padding" msgstr "" -msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." +msgid "Remove leading zero" msgstr "" -msgid "The file extension is empty. Only \"svg\" files are supported." +msgid "Convert rgb format to hex" msgstr "" -msgid "OK" +msgid "Convert named colors to hex" msgstr "" -msgid "Autoformatting" +msgid "Use shorthand hex code" msgstr "" -msgid "General" +msgid "Use short named colors" msgstr "" -msgid "Numbers" +msgid "Compress numbers" msgstr "" -msgid "Colors" +msgid "Minimize spacing" msgstr "" -msgid "Paths" +msgid "Remove spacing after flags" msgstr "" -msgid "Transforms" +msgid "Remove consecutive commands" msgstr "" -msgid "Number precision digits" +msgid "Remove unnecessary parameters" msgstr "" -msgid "Angle precision digits" +msgid "Symbol color" msgstr "" -msgid "Add trailing newline" +msgid "Tag color" msgstr "" -msgid "Use shorthand tag syntax" +msgid "Attribute color" msgstr "" -msgid "Enable autoformatting" +msgid "String color" msgstr "" -msgid "Remove zero padding" +msgid "Comment color" msgstr "" -msgid "Remove leading zero" +msgid "Text color" msgstr "" -msgid "Remove plus sign" +msgid "CDATA color" msgstr "" -msgid "Convert rgb format to hex" +msgid "Error color" msgstr "" -msgid "Convert named colors to hex" +msgid "Inside color" msgstr "" -msgid "Use shorthand hex code" +msgid "Normal color" msgstr "" -msgid "Use short named colors" +msgid "Hovered color" msgstr "" -msgid "Compress numbers" +msgid "Selected color" msgstr "" -msgid "Minimize spacing" +msgid "Hovered selected color" msgstr "" -msgid "Remove spacing after flags" +msgid "Valid color" msgstr "" -msgid "Remove consecutive commands" +msgid "Warning color" msgstr "" -msgid "Remove unnecessary parameters" +msgid "Save the .\"{extension}\" file" msgstr "" -msgid "Relative" +msgid "Import a .svg file" msgstr "" -msgid "Absolute" +msgid "The file extension is empty. Only \"svg\" files are supported." msgstr "" -msgid "Clear saving path" +msgid "\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files are supported." msgstr "" -msgid "Apply the matrix" +msgid "The file couldn't be opened.\nTry checking the file path, ensure that the file is not deleted, or choose a different file." msgstr "" -msgid "Other" +msgid "Duplicate" +msgstr "" + +msgid "Convert To" +msgstr "" + +msgid "Import" msgstr "" msgid "Optimize" msgstr "" -msgid "Any changes will apply immediately." +msgid "Select all tags" msgstr "" -msgid "Always active." +msgid "Duplicate the selected tags" msgstr "" -msgid "Search color" +msgid "Delete the selection" msgstr "" -msgid "File" +msgid "Move the selected tags up" msgstr "" -msgid "View" +msgid "Move the selected tags down" msgstr "" -msgid "Tool" +msgid "Zoom in" +msgstr "" + +msgid "Zoom out" +msgstr "" + +msgid "Zoom reset" +msgstr "" + +msgid "Show grid" +msgstr "" + +msgid "Show handles" +msgstr "" + +msgid "Show rasterized SVG" +msgstr "" + +msgid "View debug information" msgstr "" msgid "Move to" diff --git a/translations/README.md b/translations/README.md index fcf8ce18..d689b931 100644 --- a/translations/README.md +++ b/translations/README.md @@ -2,21 +2,13 @@ # The po format You can familiarize yourself with the po format [here](https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html). # For programmers -New translatable strings have to be added manually. This is done in the `GodSVG.pot` template file. +New translatable strings must be within GDScript files, inside a `TranslationServer.translate()` method or its plural version. + +To include the new strings, add a `Scripts.update_translations()` line to the `GlobalSettings._enter_tree()` method and run the project. -A single translatable string to add in the POT looks like this: -```po -msgid "Your translatable string" -msgstr "" -``` >[!IMPORTANT] ->The `msgstr` should be left empty in the template. The `msgid` should be in plain english and exactly the same as what's used in the source code. +>To run the above script, you must install [gettext tools](https://www.gnu.org/software/gettext/). It's preinstalled on most Linux distributions and Git Bash on Windows. -All translation files have to be updated to include the new strings. -This is best done with [gettext tools](https://www.gnu.org/software/gettext/manual/html_node/Updating.html). These are preinstalled in most Linux distros and Git Bash on Windows. A bash script to automate the process (`update_po_files.sh`) is included in this directory. -```sh -sh translations/update_po_files.sh -``` # Contributing translations ## [Adding a new language](https://www.gnu.org/software/gettext/manual/html_node/Creating.html) ### With editor ([Poedit](https://poedit.net)): @@ -36,4 +28,4 @@ sh translations/update_po_files.sh 3. Create a pull request with your changes. # Testing translations Translation changes can be viewed by running the project from the Godot editor. -If you added a new language, you need to make sure its added in the project settings. +If you added a new language, you need to make sure it's added in the project settings. diff --git a/translations/bg.po b/translations/bg.po index 38a7ae7d..1286ee61 100644 --- a/translations/bg.po +++ b/translations/bg.po @@ -15,134 +15,50 @@ msgstr "" msgid "translation-credits" msgstr "MewPurPur " -msgid "Project Founder and Manager" -msgstr "Основател и мениджър на проекта" - -msgid "Developers" -msgstr "Програмисти" - -msgid "Translators" -msgstr "Преводачи" - -msgid "Language" -msgstr "Език" - -msgid "Invert zoom direction" -msgstr "Обърни посоката на увеличение" - -msgid "Swaps zoom in and zoom out with the mouse wheel." -msgstr "Разменя увеличението и намалянето с колелцето на мишката." - -msgid "Wrap mouse" -msgstr "Превъртане на курсора" - -msgid "Wraps the mouse cursor around when panning the viewport." -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 докато влачиш" - -#, fuzzy -msgid "UI scale" -msgstr "Мащаб" - -msgid "Changes the scale of the visual user interface." -msgstr "" - -#, fuzzy -msgid "Auto UI scale" -msgstr "Мащаб" - -msgid "Scales the user interface based on the screen size." -msgstr "" - -msgid "Input" -msgstr "Входни сигнали" - -msgid "Open" -msgstr "Отвори" - -msgid "Close" -msgstr "Затвори" - -msgid "GodSVG Repository" -msgstr "Репозиторията на GodSVG" - -msgid "About…" -msgstr "Относно приложението…" - -msgid "Documentation…" -msgstr "Документация…" - -msgid "Donate…" -msgstr "Направи дарение…" - -msgid "Zoom in" -msgstr "Увеличи" - -msgid "Zoom reset" -msgstr "Рестартирай мащаба" - -msgid "Zoom out" -msgstr "Намали" - -msgid "Settings" -msgstr "Настройки" - -msgid "Visuals" -msgstr "Графики" - -msgid "Show Grid" -msgstr "Покажи решетката" +msgid "Doesn’t describe an SVG." +msgstr "Текстът не описва SVG." -msgid "Show Handles" -msgstr "Покажи дръжките" +msgid "Improper nesting." +msgstr "Несъвместими тагове." -msgid "Rasterized SVG" -msgstr "Растеризирай SVG" +msgid "Undo" +msgstr "Върни назад" -msgid "Show rasterized SVG" -msgstr "Покажи растеризиран SVG" +msgid "Redo" +msgstr "Върни напред" -msgid "Enable Snapping" -msgstr "Включи захващането" +msgid "Cut" +msgstr "Изрежи" -msgid "Snap size" -msgstr "Размер на захващането" +msgid "Copy" +msgstr "Копирай" -msgid "Reset to default" -msgstr "Възстанови началната стойност" +msgid "Paste" +msgstr "Постави" -msgid "Copy all text" -msgstr "Копирай всичкия текст" +msgid "Search color" +msgstr "Търсене на цвят" -msgid "Clear SVG" -msgstr "Изчисти SVG-то" +msgid "Palettes" +msgstr "Палети" -msgid "Reset SVG" -msgstr "Рестартирай SVG-то" +msgid "Color Picker" +msgstr "Цветно колело" -msgid "Save" -msgstr "Запиши" +msgid "Edit color name" +msgstr "Промени името на цвета" -msgid "Export" -msgstr "Експортирай" +msgid "Delete color" +msgstr "Изтрий цвета" -msgid "Select all tags" -msgstr "Избери всички тагове" +msgid "Unnamed" +msgstr "Неименуван" -msgid "Couple/Decouple" -msgstr "Свържи/Отвържи" +msgid "Enable the color" +msgstr "Включи цвета" -msgid "Duplicate" -msgstr "Дублирай" +msgid "Disable the color" +msgstr "Изключи цвета" msgid "Move Up" msgstr "Премести нагоре" @@ -150,204 +66,183 @@ msgstr "Премести нагоре" msgid "Move Down" msgstr "Премести надолу" -msgid "Delete" -msgstr "Премахни" - -msgid "Insert Before" -msgstr "Вмъкни отзад" +msgid "Copy as XML" +msgstr "Копирай като XML" -msgid "Insert After" -msgstr "Вмъкни отпред" +msgid "Paste XML" +msgstr "Постави XML" -msgid "Convert To" -msgstr "Превърни в" +msgid "Delete" +msgstr "Премахни" -msgid "Doesn’t describe an SVG." -msgstr "Текстът не описва SVG." +msgid "Edit palette name" +msgstr "Промени името на палетата" -msgid "Improper nesting." -msgstr "Несъвместими тагове." +msgid "No path data" +msgstr "Няма пътека" -msgid "Syntax error" -msgstr "Синтактична грешка" +msgid "Absolute" +msgstr "Абсолютно" -msgid "Delete the selection" -msgstr "Изтрий селекцията" +msgid "Relative" +msgstr "Относително" -msgid "Move the selected tags down" -msgstr "Премести избраните тагове надолу" +msgid "Reset to default" +msgstr "Възстанови началната стойност" -msgid "Move the selected tags up" -msgstr "Премести избраните тагове нагоре" +msgid "Unused" +msgstr "Неизползван" -msgid "Duplicate the selected tags" -msgstr "Дублирай избраните тагове" +msgid "Add shortcut" +msgstr "Добави бърз клавиш" -msgid "Unknown Tag" -msgstr "Непознат таг" +msgid "Edit" +msgstr "Промени" -msgid "Unknown Attribute" -msgstr "Непознат атрибут" +msgid "Remove" +msgstr "Премахни" -msgid "No path data" -msgstr "Няма пътека" +msgid "Press keys…" +msgstr "Натисни клавиши…" msgid "No transforms" msgstr "Няма трансформации" -msgid "Import" -msgstr "Импортирай" +msgid "Apply the matrix" +msgstr "Приложи матрицата" -msgid "Cancel" -msgstr "Отказ" +msgid "Insert After" +msgstr "Вмъкни отпред" -msgid "Import Problems" -msgstr "Проблеми в импортирането" +msgid "Insert Before" +msgstr "Вмъкни отзад" + +msgid "New transform" +msgstr "Нова трансформация" msgid "GodSVG doesn’t recognize this attribute" msgstr "GodSVG не разпознава този атрибут" -msgid "Format" -msgstr "Формат" - -msgid "Scale" -msgstr "Мащаб" - -msgid "Size" -msgstr "Размер" - -msgid "Final size" -msgstr "Краен размер" - -msgid "Invalid" -msgstr "Невалиден" - -msgid "Export Configuration" -msgstr "Конфигурация на експорта" - -msgid "Add new tag" -msgstr "Добави нов таг" - -msgid "New tag" -msgstr "Нов таг" - -msgid "New transform" -msgstr "Нова трансформация" +msgid "Project Founder and Manager" +msgstr "Основател и мениджър на проекта" -msgid "License" -msgstr "Лиценз" +msgid "Developers" +msgstr "Програмисти" -msgid "Third-party Licenses" -msgstr "Лицензи от трети партии" +msgid "Translators" +msgstr "Преводачи" msgid "Authors" msgstr "Автори" -msgid "Shortcuts" -msgstr "Бързи клавиши" - -msgid "Add shortcut" -msgstr "Добави бърз клавиш" +msgid "Donors" +msgstr "Дарители" -msgid "Theme" -msgstr "Гама" +msgid "License" +msgstr "Лиценз" -msgid "Basic colors" -msgstr "Основни цветове" +msgid "Godot third-party components" +msgstr "Компоненти в Godot от трети лица" -msgid "SVG Text Colors" -msgstr "Цветове на SVG текста" +msgid "Third-party licenses" +msgstr "Лицензи от трети партии" -msgid "Symbol color" -msgstr "Цвят на символите" +msgid "Alert!" +msgstr "Предупреждение!" -msgid "Tag color" -msgstr "Цвят на таговете" +msgid "OK" +msgstr "Добре" -msgid "Attribute color" -msgstr "Цвят на атрибутите" +msgid "Save SVG" +msgstr "Запиши SVG-то" -msgid "String color" -msgstr "Цвят на низовете" +msgid "Reset SVG" +msgstr "Рестартирай SVG-то" -msgid "Comment color" -msgstr "Цвят на коментарите" +msgid "Clear saving path" +msgstr "Премахни запазената пътека" -msgid "Text color" -msgstr "Цвят на текста" +msgid "Copy all text" +msgstr "Копирай всичкия текст" -msgid "CDATA color" -msgstr "Цвят на CDATA" +msgid "Clear SVG" +msgstr "Изчисти SVG-то" -msgid "Error color" -msgstr "Цвят на грешките" +msgid "Settings" +msgstr "Настройки" -msgid "Warning color" -msgstr "Цвят на предупрежденията" +msgid "Visuals" +msgstr "Графики" -msgid "Valid color" -msgstr "Цвят на валидният текст" +msgid "Show Grid" +msgstr "Покажи решетката" -msgid "Handle colors" -msgstr "Цвят на дръжките" +msgid "Show Handles" +msgstr "Покажи дръжките" -msgid "Inside color" -msgstr "Вътрешен цвят" +msgid "Rasterized SVG" +msgstr "Растеризирай SVG" -msgid "Normal color" -msgstr "Обикновен цвят" +msgid "About…" +msgstr "Относно приложението…" -msgid "Hovered color" -msgstr "Цвят под курсора" +msgid "Donate…" +msgstr "Направи дарение…" -msgid "Selected color" -msgstr "Избран цвят" +msgid "GodSVG repository" +msgstr "Репозиторията на GodSVG" -msgid "Hovered selected color" -msgstr "Избран цвят под курсора" +msgid "GodSVG website" +msgstr "Уебсайта на GodSVG" -msgid "Palettes" -msgstr "Палети" +msgid "Check for updates" +msgstr "Провери за ъпдейти" -msgid "Color Picker" -msgstr "Цветно колело" +msgid "Enable snapping" +msgstr "Включи захващането" -msgid "Add color" -msgstr "Добави цвят" +msgid "Snap size" +msgstr "Размер на захващането" -msgid "Edit palette name" -msgstr "Промени името на палетата" +msgid "Size" +msgstr "Размер" -msgid "Unnamed" -msgstr "Неименуван" +msgid "Invalid" +msgstr "Невалиден" -msgid "Edit color name" -msgstr "Промени името на цвета" +msgid "Format" +msgstr "Формат" -msgid "Delete color" -msgstr "Изтрий цвета" +msgid "Export Configuration" +msgstr "Конфигурация на експорта" -msgid "Edit" -msgstr "Промени" +msgid "Lossless" +msgstr "Без загуба на качество" -msgid "Remove" -msgstr "Премахни" +msgid "Quality" +msgstr "Качество" -msgid "Press keys…" -msgstr "Натисни клавиши…" +msgid "Scale" +msgstr "Мащаб" -msgid "Enable the color" -msgstr "Включи цвета" +msgid "Cancel" +msgstr "Отказ" -msgid "Disable the color" -msgstr "Изключи цвета" +msgid "Export" +msgstr "Експортирай" -msgid "Path" -msgstr "Пътека" +msgid "Final size" +msgstr "Краен размер" msgid "Replace" msgstr "Замени" +msgid "Create new folder" +msgstr "Създай нова папка" + +msgid "Create" +msgstr "Създай" + msgid "Go to parent folder" msgstr "Отиди в родителската папка" @@ -363,12 +258,24 @@ msgstr "Търсене из файловете" msgid "Select an SVG" msgstr "Избери SVG" -msgid "Save SVG" -msgstr "Запиши SVG" +msgid "Close" +msgstr "Затвори" msgid "Select" msgstr "Избери" +msgid "Save" +msgstr "Запиши" + +msgid "Path" +msgstr "Пътека" + +msgid "Open" +msgstr "Отвори" + +msgid "Copy path" +msgstr "Копирай пътеката" + msgid "" "A file named \"{file_name}\" already exists. Replacing will overwrite its " "contents!" @@ -376,60 +283,32 @@ msgstr "" "Файл кръстен \"{file_name}\" вече съществува. Заместването ще пренапише " "неговото съдържание!" -msgid "Godot third-party components" -msgstr "Компоненти в Godot от трети лица" - -msgid "Undo" -msgstr "Върни назад" - -msgid "Redo" -msgstr "Върни напред" - -msgid "Copy" -msgstr "Копирай" - -msgid "Paste" -msgstr "Постави" - -msgid "Copy as XML" -msgstr "Копирай като XML" - -msgid "Paste XML" -msgstr "Постави XML" +msgid "New tag" +msgstr "Нов таг" -msgid "Unused" -msgstr "Неизползван" +msgid "Import Problems" +msgstr "Проблеми в импортирането" -msgid "Cut" -msgstr "Изрежи" +msgid "Unknown tag" +msgstr "Непознат таг" -msgid "Alert!" -msgstr "Предупреждение!" +msgid "Unknown attribute" +msgstr "Непознат атрибут" -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." -msgstr "" -"Файлът не може да бъде отворен.\n" -"Опитайте да проверите пътя към файла, уверете се, че файла не е изтрит, или " -"изберете различен файл." +msgid "Syntax error" +msgstr "Синтактична грешка" -msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." -msgstr "" -"\"{passed_extension}\" не е поддържан формат. Единствено \"svg\" файловете " -"са подържани." +msgid "Add new tag" +msgstr "Добави нов таг" -msgid "The file extension is empty. Only \"svg\" files are supported." -msgstr "Форматът е празен. Единствено \"svg\" файловете са подържани." +msgid "SVG Text colors" +msgstr "Цветове на SVG текста" -msgid "OK" -msgstr "Добре" +msgid "Handle colors" +msgstr "Цвят на дръжките" -msgid "Autoformatting" -msgstr "Автоматично форматиране" +msgid "Basic colors" +msgstr "Основни цветове" msgid "General" msgstr "Основни" @@ -443,9 +322,93 @@ msgstr "Цветове" msgid "Paths" msgstr "Пътеки" +msgid "Always active." +msgstr "Винаги активно." + msgid "Transforms" msgstr "Трансформации" +msgid "Input" +msgstr "Входни сигнали" + +msgid "Miscellaneous" +msgstr "Разни" + +msgid "Any changes will apply immediately." +msgstr "Промените ще бъдат нанесени веднага." + +msgid "Formatting" +msgstr "Форматиране" + +msgid "Shortcuts" +msgstr "Бързи клавиши" + +msgid "Theme" +msgstr "Гама" + +msgid "Other" +msgstr "Други" + +msgid "Invert zoom direction" +msgstr "Обърни посоката на увеличение" + +msgid "Wrap mouse" +msgstr "Превъртане на курсора" + +msgid "Use CTRL for zooming" +msgstr "Използвай CTRL за увеличение" + +msgid "Handles size" +msgstr "Размер на дръжките" + +msgid "UI scale" +msgstr "Мащаб на интерфейса" + +msgid "Auto UI scale" +msgstr "Автоматичен мащаб" + +msgid "Language" +msgstr "Език" + +msgid "File" +msgstr "Файл" + +msgid "View" +msgstr "Гледка" + +msgid "Tool" +msgstr "Инструмент" + +msgid "Swaps zoom in and zoom out with the mouse wheel." +msgstr "Разменя увеличението и намалянето с колелцето на мишката." + +msgid "Wraps the mouse cursor around when panning the viewport." +msgstr "Превърта курсора когато той достигне краищата на екрана." + +msgid "" +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." +msgstr "" +"Когато е включено, влаченето ще премести гледката. За увеличение, натисни " +"CTRL докато влачиш" + +msgid "Use native file dialog" +msgstr "Използвай местния файлов мениджър" + +msgid "" +"If turned on, uses your operating system's native file dialog. If turned " +"off, uses GodSVG's built-in file dialog." +msgstr "Когато е включено, ще бъде използван файловият мениджър на твоята операционна система. Ако е изключено, използва вградения файлов мениджър на GodSVG." + +msgid "Increases the visual size and grabbing area of handles." +msgstr "Увеличава размера и площта в която дръжките могат да бъдат хванати." + +msgid "Changes the scale of the visual user interface." +msgstr "Увеличава мащаба на потребителския интерфейс." + +msgid "Scales the user interface based on the screen size." +msgstr "Променя размера на потребителския интерфейс според размера на екрана." + msgid "Number precision digits" msgstr "Прецизност на числата" @@ -467,9 +430,6 @@ msgstr "Премахни нулите накрая" msgid "Remove leading zero" msgstr "Премахни водещата нула" -msgid "Remove plus sign" -msgstr "Премахни знака плюс" - msgid "Convert rgb format to hex" msgstr "Преобразувай форматът rgb в hex" @@ -497,41 +457,123 @@ msgstr "Премахни последователните команди" msgid "Remove unnecessary parameters" msgstr "Премахни ненужните параметри" -msgid "Relative" -msgstr "Относително" +msgid "Symbol color" +msgstr "Цвят на символите" -msgid "Absolute" -msgstr "Абсолютно" +msgid "Tag color" +msgstr "Цвят на таговете" -msgid "Clear saving path" -msgstr "Премахни запазената пътека" +msgid "Attribute color" +msgstr "Цвят на атрибутите" -msgid "Apply the matrix" -msgstr "Приложи матрицата" +msgid "String color" +msgstr "Цвят на низовете" -msgid "Other" -msgstr "Други" +msgid "Comment color" +msgstr "Цвят на коментарите" + +msgid "Text color" +msgstr "Цвят на текста" + +msgid "CDATA color" +msgstr "Цвят на CDATA" + +msgid "Error color" +msgstr "Цвят на грешките" + +msgid "Inside color" +msgstr "Вътрешен цвят" + +msgid "Normal color" +msgstr "Обикновен цвят" + +msgid "Hovered color" +msgstr "Цвят под курсора" + +msgid "Selected color" +msgstr "Избран цвят" + +msgid "Hovered selected color" +msgstr "Избран цвят под курсора" + +msgid "Valid color" +msgstr "Цвят на валидният текст" + +msgid "Warning color" +msgstr "Цвят на предупрежденията" + +msgid "Save the .\"{extension}\" file" +msgstr "Запази .\"{extension}\" файла." + +msgid "Import a .svg file" +msgstr "Импортирай .svg файл" + +msgid "The file extension is empty. Only \"svg\" files are supported." +msgstr "Форматът е празен. Единствено \"svg\" файловете са подържани." + +msgid "" +"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " +"are supported." +msgstr "" +"\"{passed_extension}\" не е поддържан формат. Единствено \"svg\" файловете " +"са подържани." + +msgid "" +"The file couldn't be opened.\n" +"Try checking the file path, ensure that the file is not deleted, or choose a " +"different file." +msgstr "" +"Файлът не може да бъде отворен.\n" +"Опитайте да проверите пътя към файла, уверете се, че файла не е изтрит, или " +"изберете различен файл." + +msgid "Duplicate" +msgstr "Дублирай" + +msgid "Convert To" +msgstr "Превърни в" + +msgid "Import" +msgstr "Импортирай" msgid "Optimize" msgstr "Оптимизирай" -msgid "Any changes will apply immediately." -msgstr "Промените ще бъдат нанесени веднага." +msgid "Select all tags" +msgstr "Избери всички тагове" -msgid "Always active." -msgstr "Винаги активно." +msgid "Duplicate the selected tags" +msgstr "Дублирай избраните тагове" -msgid "Search color" -msgstr "Търсене на цвят" +msgid "Delete the selection" +msgstr "Изтрий селекцията" -msgid "File" -msgstr "Файл" +msgid "Move the selected tags up" +msgstr "Премести избраните тагове нагоре" -msgid "View" -msgstr "Гледка" +msgid "Move the selected tags down" +msgstr "Премести избраните тагове надолу" -msgid "Tool" -msgstr "Инструмент" +msgid "Zoom in" +msgstr "Увеличи" + +msgid "Zoom out" +msgstr "Намали" + +msgid "Zoom reset" +msgstr "Рестартирай мащаба" + +msgid "Show grid" +msgstr "Покажи решетката" + +msgid "Show handles" +msgstr "Покажи дръжките" + +msgid "Show rasterized SVG" +msgstr "Покажи растеризиран SVG" + +msgid "View debug information" +msgstr "Покажи дебъг информацията" msgid "Move to" msgstr "Премести до" @@ -562,6 +604,3 @@ msgstr "Кубична крива на Безие до" msgid "Shorthand Cubic Bezier to" msgstr "Кратка кубична крива на Безие до" - -#~ msgid "Default value opacity" -#~ msgstr "Прозрачност на стандартните стойности" diff --git a/translations/de.po b/translations/de.po index 72859278..d4aaf54e 100644 --- a/translations/de.po +++ b/translations/de.po @@ -15,452 +15,422 @@ msgstr "" msgid "translation-credits" msgstr "Kiisu-Master, Swarkin" -msgid "Project Founder and Manager" -msgstr "Projektgründer und Manager" - -msgid "Developers" -msgstr "Entwickler" +msgid "Doesn’t describe an SVG." +msgstr "Beschreibt kein SVG." -#, fuzzy -msgid "Translators" -msgstr "Transformationen" +msgid "Improper nesting." +msgstr "Ungültige Formatierung." -msgid "Language" -msgstr "Sprache" +msgid "Undo" +msgstr "Rückgängig" -msgid "Invert zoom direction" -msgstr "Zoomrichtung umkehren" +msgid "Redo" +msgstr "Wiederholen" -msgid "Swaps zoom in and zoom out with the mouse wheel." -msgstr "Vertauscht Hinein- und Herauszoomen mit dem Mausrad." +msgid "Cut" +msgstr "Ausschneiden" -msgid "Wrap mouse" -msgstr "Maus einschließen" +msgid "Copy" +msgstr "Kopieren" -msgid "Wraps the mouse cursor around when panning the viewport." -msgstr "Schließt die Maus beim bewegen innerhalb des Fensters ein." +msgid "Paste" +msgstr "Einfügen" -msgid "Use CTRL for zooming" -msgstr "Strg-Taste zum Zoomen benutzen" +msgid "Search color" +msgstr "Farbe suchen" -msgid "" -"If turned on, scrolling will pan the view. To zoom, hold CTRL while " -"scrolling." -msgstr "" -"Wenn diese Option aktiviert ist, wird durch Scrollen die Ansicht geschwenkt. " -"Halten Sie zum Zoomen beim Scrollen die Strg-Taste gedrückt." +msgid "Palettes" +msgstr "Paletten" -#, fuzzy -msgid "UI scale" -msgstr "Skalieren" +msgid "Color Picker" +msgstr "Farbauswahl" -msgid "Changes the scale of the visual user interface." -msgstr "" +msgid "Edit color name" +msgstr "Farbnamen ändern" -#, fuzzy -msgid "Auto UI scale" -msgstr "Skalieren" +msgid "Delete color" +msgstr "Farbe löschen" -msgid "Scales the user interface based on the screen size." -msgstr "" +msgid "Unnamed" +msgstr "Unbenannt" -msgid "Input" -msgstr "Eingabe" +msgid "Enable the color" +msgstr "Farbe aktivieren" -msgid "Open" -msgstr "Öffnen" +msgid "Disable the color" +msgstr "Farbe deaktivieren" -msgid "Close" -msgstr "Schließen" +msgid "Move Up" +msgstr "Nach oben" -msgid "GodSVG Repository" -msgstr "GodSVG Repository" +msgid "Move Down" +msgstr "Nach unten" -msgid "About…" -msgstr "Über…" +msgid "Copy as XML" +msgstr "Kopiere als XML" -msgid "Documentation…" -msgstr "Dokumentation…" +msgid "Paste XML" +msgstr "XML Einfügen" -msgid "Donate…" -msgstr "Spenden…" +msgid "Delete" +msgstr "Löschen" -msgid "Zoom in" -msgstr "Hineinzoomen" +msgid "Edit palette name" +msgstr "Palettennamen ändern" -msgid "Zoom reset" -msgstr "Zoom zurücksetzen" +msgid "No path data" +msgstr "Keine Pfaddaten" -msgid "Zoom out" -msgstr "Herauszoomen" +msgid "Absolute" +msgstr "Absolut" -msgid "Settings" -msgstr "Einstellungen" +msgid "Relative" +msgstr "Relativ" -msgid "Visuals" -msgstr "Visuelles" +msgid "Reset to default" +msgstr "Zurücksetzen" -msgid "Show Grid" -msgstr "Raster anzeigen" +msgid "Unused" +msgstr "Unbenutzt" -msgid "Show Handles" -msgstr "Griffe anzeigen" +msgid "Add shortcut" +msgstr "Tastenkombination hinzufügen" -msgid "Rasterized SVG" -msgstr "SVG rasterisieren" +msgid "Edit" +msgstr "Bearbeiten" -#, fuzzy -msgid "Show rasterized SVG" -msgstr "SVG rasterisieren" +msgid "Remove" +msgstr "Entfernen" -msgid "Enable Snapping" -msgstr "Einrasten aktivieren" +msgid "Press keys…" +msgstr "Drücke Tasten…" -msgid "Snap size" -msgstr "Einrastgröße" +msgid "No transforms" +msgstr "Keine Transformationen" -msgid "Reset to default" -msgstr "Zurücksetzen" +msgid "Apply the matrix" +msgstr "Die Matrix anwenden" -#, fuzzy -msgid "Copy all text" -msgstr "Text kopieren" +msgid "Insert After" +msgstr "Danach einsetzen" -msgid "Clear SVG" -msgstr "" +msgid "Insert Before" +msgstr "Davor einsetzen" #, fuzzy -msgid "Reset SVG" -msgstr "SVG rasterisieren" +msgid "New transform" +msgstr "Keine Transformationen" -msgid "Save" -msgstr "Speichern" +msgid "GodSVG doesn’t recognize this attribute" +msgstr "GodSVG erkennt diese Attribute nicht" -msgid "Export" -msgstr "Exportieren" +msgid "Project Founder and Manager" +msgstr "Projektgründer und Manager" -msgid "Select all tags" -msgstr "Alle Tags auswählen" +msgid "Developers" +msgstr "Entwickler" -msgid "Couple/Decouple" -msgstr "Koppeln/Entkoppeln" +#, fuzzy +msgid "Translators" +msgstr "Transformationen" -msgid "Duplicate" -msgstr "Duplizieren" +msgid "Authors" +msgstr "Autoren" -msgid "Move Up" -msgstr "Nach oben" +msgid "Donors" +msgstr "" -msgid "Move Down" -msgstr "Nach unten" +msgid "License" +msgstr "Lizenz" -msgid "Delete" -msgstr "Löschen" +msgid "Godot third-party components" +msgstr "Godot Drittanbieter-Komponente" -msgid "Insert Before" -msgstr "Davor einsetzen" +#, fuzzy +msgid "Third-party licenses" +msgstr "Drittanbieter-Lizenzen" -msgid "Insert After" -msgstr "Danach einsetzen" +msgid "Alert!" +msgstr "Warnung!" -msgid "Convert To" -msgstr "Konvertieren zu" +msgid "OK" +msgstr "OK" -msgid "Doesn’t describe an SVG." -msgstr "Beschreibt kein SVG." +#, fuzzy +msgid "Save SVG" +msgstr "Speichern" -msgid "Improper nesting." -msgstr "Ungültige Formatierung." +#, fuzzy +msgid "Reset SVG" +msgstr "SVG rasterisieren" -msgid "Syntax error" -msgstr "Syntaxfehler" +msgid "Clear saving path" +msgstr "" -msgid "Delete the selection" -msgstr "Auswahl löschen" +#, fuzzy +msgid "Copy all text" +msgstr "Text kopieren" -msgid "Move the selected tags down" -msgstr "Ausgewählte Tags nach unten verschieben" +#, fuzzy +msgid "Clear SVG" +msgstr "Alle Tags auswählen" -msgid "Move the selected tags up" -msgstr "Ausgewählte Tags nach oben verschieben" +msgid "Settings" +msgstr "Einstellungen" -msgid "Duplicate the selected tags" -msgstr "Ausgewählte Tags duplizieren" +msgid "Visuals" +msgstr "Visuelles" -msgid "Unknown Tag" -msgstr "Unbekanntes Element" +msgid "Show Grid" +msgstr "Raster anzeigen" -msgid "Unknown Attribute" -msgstr "Unbekannte Attribute" +msgid "Show Handles" +msgstr "Griffe anzeigen" -msgid "No path data" -msgstr "Keine Pfaddaten" +msgid "Rasterized SVG" +msgstr "SVG rasterisieren" -msgid "No transforms" -msgstr "Keine Transformationen" +msgid "About…" +msgstr "Über…" -msgid "Import" -msgstr "Importieren" +msgid "Donate…" +msgstr "Spenden…" -msgid "Cancel" -msgstr "Abbrechen" +#, fuzzy +msgid "GodSVG repository" +msgstr "GodSVG Repository" -msgid "Import Problems" -msgstr "Probleme beim Importieren" +#, fuzzy +msgid "GodSVG website" +msgstr "GodSVG Repository" -msgid "GodSVG doesn’t recognize this attribute" -msgstr "GodSVG erkennt diese Attribute nicht" +msgid "Check for updates" +msgstr "" -msgid "Format" -msgstr "Format" +#, fuzzy +msgid "Enable snapping" +msgstr "Einrasten aktivieren" -msgid "Scale" -msgstr "Skalieren" +msgid "Snap size" +msgstr "Einrastgröße" msgid "Size" msgstr "Größe" -msgid "Final size" -msgstr "Endgültige Größe" - msgid "Invalid" msgstr "" +msgid "Format" +msgstr "Format" + msgid "Export Configuration" msgstr "Export-Konfiguration" -msgid "Add new tag" -msgstr "Neues Element hinzufügen" - -#, fuzzy -msgid "New tag" -msgstr "Neues Element hinzufügen" - -#, fuzzy -msgid "New transform" -msgstr "Keine Transformationen" +msgid "Lossless" +msgstr "" -msgid "License" -msgstr "Lizenz" +msgid "Quality" +msgstr "" -msgid "Third-party Licenses" -msgstr "Drittanbieter-Lizenzen" +msgid "Scale" +msgstr "Skalieren" -msgid "Authors" -msgstr "Autoren" +msgid "Cancel" +msgstr "Abbrechen" -msgid "Shortcuts" -msgstr "Tastenkombinationen" +msgid "Export" +msgstr "Exportieren" -msgid "Add shortcut" -msgstr "Tastenkombination hinzufügen" +msgid "Final size" +msgstr "Endgültige Größe" -msgid "Theme" -msgstr "Thema" +msgid "Replace" +msgstr "" -msgid "Basic colors" -msgstr "Allgemeine Farben" +msgid "Create new folder" +msgstr "" -msgid "SVG Text Colors" -msgstr "SVG Textfarben" +msgid "Create" +msgstr "" -msgid "Symbol color" -msgstr "Symbolfarbe" +msgid "Go to parent folder" +msgstr "" -msgid "Tag color" -msgstr "Tagfarbe" +#, fuzzy +msgid "Refresh files" +msgstr "Farbe suchen" -msgid "Attribute color" -msgstr "Attributfarbe" +msgid "Toggle the visibility of hidden files" +msgstr "" -msgid "String color" -msgstr "Stringfarbe" +#, fuzzy +msgid "Search files" +msgstr "Farbe suchen" -msgid "Comment color" -msgstr "Kommentarfarbe" +#, fuzzy +msgid "Select an SVG" +msgstr "Alle Tags auswählen" -msgid "Text color" -msgstr "Textfarbe" +msgid "Close" +msgstr "Schließen" #, fuzzy -msgid "CDATA color" -msgstr "Tagfarbe" +msgid "Select" +msgstr "Farbe löschen" -msgid "Error color" -msgstr "Fehlerfarbe" +msgid "Save" +msgstr "Speichern" -msgid "Warning color" -msgstr "Warnfarbe" +#, fuzzy +msgid "Path" +msgstr "Pfade" -msgid "Valid color" -msgstr "Gültige Farbe" +msgid "Open" +msgstr "Öffnen" #, fuzzy -msgid "Handle colors" -msgstr "Gültige Farbe" +msgid "Copy path" +msgstr "Text kopieren" -#, fuzzy -msgid "Inside color" -msgstr "Gültige Farbe" +msgid "" +"A file named \"{file_name}\" already exists. Replacing will overwrite its " +"contents!" +msgstr "" #, fuzzy -msgid "Normal color" -msgstr "Fehlerfarbe" +msgid "New tag" +msgstr "Neues Element hinzufügen" -#, fuzzy -msgid "Hovered color" -msgstr "Fehlerfarbe" +msgid "Import Problems" +msgstr "Probleme beim Importieren" #, fuzzy -msgid "Selected color" -msgstr "Farbe löschen" +msgid "Unknown tag" +msgstr "Unbekanntes Element" #, fuzzy -msgid "Hovered selected color" -msgstr "Farbe löschen" - -msgid "Palettes" -msgstr "Paletten" - -msgid "Color Picker" -msgstr "Farbauswahl" - -msgid "Add color" -msgstr "Farbe hinzufügen" - -msgid "Edit palette name" -msgstr "Palettennamen ändern" +msgid "Unknown attribute" +msgstr "Unbekannte Attribute" -msgid "Unnamed" -msgstr "Unbenannt" +msgid "Syntax error" +msgstr "Syntaxfehler" -msgid "Edit color name" -msgstr "Farbnamen ändern" +msgid "Add new tag" +msgstr "Neues Element hinzufügen" -msgid "Delete color" -msgstr "Farbe löschen" +#, fuzzy +msgid "SVG Text colors" +msgstr "SVG Textfarben" -msgid "Edit" -msgstr "Bearbeiten" +#, fuzzy +msgid "Handle colors" +msgstr "Gültige Farbe" -msgid "Remove" -msgstr "Entfernen" +msgid "Basic colors" +msgstr "Allgemeine Farben" -msgid "Press keys…" -msgstr "Drücke Tasten…" +msgid "General" +msgstr "Allgemein" -msgid "Enable the color" -msgstr "Farbe aktivieren" +msgid "Numbers" +msgstr "Nummern" -msgid "Disable the color" -msgstr "Farbe deaktivieren" +msgid "Colors" +msgstr "Farben" -#, fuzzy -msgid "Path" +msgid "Paths" msgstr "Pfade" -msgid "Replace" -msgstr "" +msgid "Always active." +msgstr "Immer aktiv." -msgid "Go to parent folder" -msgstr "" +msgid "Transforms" +msgstr "Transformationen" -msgid "Refresh files" -msgstr "" +msgid "Input" +msgstr "Eingabe" -msgid "Toggle the visibility of hidden files" +msgid "Miscellaneous" msgstr "" -#, fuzzy -msgid "Search files" -msgstr "Farbe suchen" - -#, fuzzy -msgid "Select an SVG" -msgstr "Alle Tags auswählen" - -#, fuzzy -msgid "Save SVG" -msgstr "Speichern" +msgid "Any changes will apply immediately." +msgstr "Änderungen werden sofort wirksam." #, fuzzy -msgid "Select" -msgstr "Farbe löschen" +msgid "Formatting" +msgstr "Autoformatierung" -msgid "" -"A file named \"{file_name}\" already exists. Replacing will overwrite its " -"contents!" -msgstr "" +msgid "Shortcuts" +msgstr "Tastenkombinationen" -msgid "Godot third-party components" -msgstr "Godot Drittanbieter-Komponente" +msgid "Theme" +msgstr "Thema" -msgid "Undo" -msgstr "Rückgängig" +msgid "Other" +msgstr "Anderes" -msgid "Redo" -msgstr "Wiederholen" +msgid "Invert zoom direction" +msgstr "Zoomrichtung umkehren" -msgid "Copy" -msgstr "Kopieren" +msgid "Wrap mouse" +msgstr "Maus einschließen" -msgid "Paste" -msgstr "Einfügen" +msgid "Use CTRL for zooming" +msgstr "Strg-Taste zum Zoomen benutzen" -msgid "Copy as XML" -msgstr "Kopiere als XML" +#, fuzzy +msgid "Handles size" +msgstr "Gültige Farbe" -msgid "Paste XML" -msgstr "XML Einfügen" +#, fuzzy +msgid "UI scale" +msgstr "Skalieren" -msgid "Unused" -msgstr "Unbenutzt" +#, fuzzy +msgid "Auto UI scale" +msgstr "Skalieren" -msgid "Cut" -msgstr "Ausschneiden" +msgid "Language" +msgstr "Sprache" -msgid "Alert!" -msgstr "Warnung!" +msgid "File" +msgstr "" -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." +msgid "View" msgstr "" -"Die Datei konnte nicht geöffnet werden.\n" -"Überprüfe den Dateipfad, ob die Datei existiert, oder wähle eine andere " -"Datei." -msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." +msgid "Tool" msgstr "" -"\"{passed_extension}\" ist eine nicht unterstützte Dateierweiterung. Nur " -"\"svg\" Dateien werden unterstützt." -msgid "The file extension is empty. Only \"svg\" files are supported." -msgstr "Die Dateierweiterung ist leer. Nur \"svg\"-Dateien werden unterstützt." +msgid "Swaps zoom in and zoom out with the mouse wheel." +msgstr "Vertauscht Hinein- und Herauszoomen mit dem Mausrad." -msgid "OK" -msgstr "OK" +msgid "Wraps the mouse cursor around when panning the viewport." +msgstr "Schließt die Maus beim bewegen innerhalb des Fensters ein." -msgid "Autoformatting" -msgstr "Autoformatierung" +msgid "" +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." +msgstr "" +"Wenn diese Option aktiviert ist, wird durch Scrollen die Ansicht geschwenkt. " +"Halten Sie zum Zoomen beim Scrollen die Strg-Taste gedrückt." -msgid "General" -msgstr "Allgemein" +msgid "Use native file dialog" +msgstr "" -msgid "Numbers" -msgstr "Nummern" +msgid "" +"If turned on, uses your operating system's native file dialog. If turned " +"off, uses GodSVG's built-in file dialog." +msgstr "" -msgid "Colors" -msgstr "Farben" +msgid "Increases the visual size and grabbing area of handles." +msgstr "" -msgid "Paths" -msgstr "Pfade" +msgid "Changes the scale of the visual user interface." +msgstr "" -msgid "Transforms" -msgstr "Transformationen" +msgid "Scales the user interface based on the screen size." +msgstr "" msgid "Number precision digits" msgstr "Zahlengenauigkeit" @@ -483,9 +453,6 @@ msgstr "Nullenversatz entfernen" msgid "Remove leading zero" msgstr "Führende Null entfernen" -msgid "Remove plus sign" -msgstr "Pluszeichen entfernen" - msgid "Convert rgb format to hex" msgstr "RGB zu HEX konvertieren" @@ -513,40 +480,131 @@ msgstr "Aufeinanderfolgende Befehle entfernen" msgid "Remove unnecessary parameters" msgstr "Unnötige Parameter entfernen" -msgid "Relative" -msgstr "Relativ" +msgid "Symbol color" +msgstr "Symbolfarbe" -msgid "Absolute" -msgstr "Absolut" +msgid "Tag color" +msgstr "Tagfarbe" -msgid "Clear saving path" +msgid "Attribute color" +msgstr "Attributfarbe" + +msgid "String color" +msgstr "Stringfarbe" + +msgid "Comment color" +msgstr "Kommentarfarbe" + +msgid "Text color" +msgstr "Textfarbe" + +#, fuzzy +msgid "CDATA color" +msgstr "Tagfarbe" + +msgid "Error color" +msgstr "Fehlerfarbe" + +#, fuzzy +msgid "Inside color" +msgstr "Gültige Farbe" + +#, fuzzy +msgid "Normal color" +msgstr "Fehlerfarbe" + +#, fuzzy +msgid "Hovered color" +msgstr "Fehlerfarbe" + +#, fuzzy +msgid "Selected color" +msgstr "Farbe löschen" + +#, fuzzy +msgid "Hovered selected color" +msgstr "Farbe löschen" + +msgid "Valid color" +msgstr "Gültige Farbe" + +msgid "Warning color" +msgstr "Warnfarbe" + +msgid "Save the .\"{extension}\" file" msgstr "" -msgid "Apply the matrix" -msgstr "Die Matrix anwenden" +msgid "Import a .svg file" +msgstr "" -msgid "Other" -msgstr "Anderes" +msgid "The file extension is empty. Only \"svg\" files are supported." +msgstr "Die Dateierweiterung ist leer. Nur \"svg\"-Dateien werden unterstützt." + +msgid "" +"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " +"are supported." +msgstr "" +"\"{passed_extension}\" ist eine nicht unterstützte Dateierweiterung. Nur " +"\"svg\" Dateien werden unterstützt." + +msgid "" +"The file couldn't be opened.\n" +"Try checking the file path, ensure that the file is not deleted, or choose a " +"different file." +msgstr "" +"Die Datei konnte nicht geöffnet werden.\n" +"Überprüfe den Dateipfad, ob die Datei existiert, oder wähle eine andere " +"Datei." + +msgid "Duplicate" +msgstr "Duplizieren" + +msgid "Convert To" +msgstr "Konvertieren zu" + +msgid "Import" +msgstr "Importieren" msgid "Optimize" msgstr "Optimieren" -msgid "Any changes will apply immediately." -msgstr "Änderungen werden sofort wirksam." +msgid "Select all tags" +msgstr "Alle Tags auswählen" -msgid "Always active." -msgstr "Immer aktiv." +msgid "Duplicate the selected tags" +msgstr "Ausgewählte Tags duplizieren" -msgid "Search color" -msgstr "Farbe suchen" +msgid "Delete the selection" +msgstr "Auswahl löschen" -msgid "File" -msgstr "" +msgid "Move the selected tags up" +msgstr "Ausgewählte Tags nach oben verschieben" -msgid "View" -msgstr "" +msgid "Move the selected tags down" +msgstr "Ausgewählte Tags nach unten verschieben" -msgid "Tool" +msgid "Zoom in" +msgstr "Hineinzoomen" + +msgid "Zoom out" +msgstr "Herauszoomen" + +msgid "Zoom reset" +msgstr "Zoom zurücksetzen" + +#, fuzzy +msgid "Show grid" +msgstr "Raster anzeigen" + +#, fuzzy +msgid "Show handles" +msgstr "Griffe anzeigen" + +#, fuzzy +msgid "Show rasterized SVG" +msgstr "SVG rasterisieren" + +msgid "View debug information" msgstr "" #, fuzzy @@ -581,6 +639,18 @@ msgstr "" msgid "Shorthand Cubic Bezier to" msgstr "" +#~ msgid "Documentation…" +#~ msgstr "Dokumentation…" + +#~ msgid "Couple/Decouple" +#~ msgstr "Koppeln/Entkoppeln" + +#~ msgid "Add color" +#~ msgstr "Farbe hinzufügen" + +#~ msgid "Remove plus sign" +#~ msgstr "Pluszeichen entfernen" + #~ msgid "Default value opacity" #~ msgstr "Standardwertopazität" diff --git a/translations/en.po b/translations/en.po index ad9596fc..2300f6f3 100644 --- a/translations/en.po +++ b/translations/en.po @@ -15,511 +15,555 @@ msgstr "" msgid "translation-credits" msgstr "" -msgid "Project Founder and Manager" +msgid "Doesn’t describe an SVG." msgstr "" -msgid "Developers" +msgid "Improper nesting." msgstr "" -msgid "Translators" +msgid "Undo" msgstr "" -msgid "Language" +msgid "Redo" msgstr "" -msgid "Invert zoom direction" +msgid "Cut" msgstr "" -msgid "Swaps zoom in and zoom out with the mouse wheel." +msgid "Copy" msgstr "" -msgid "Wrap mouse" +msgid "Paste" msgstr "" -msgid "Wraps the mouse cursor around when panning the viewport." +msgid "Search color" msgstr "" -msgid "Use CTRL for zooming" +msgid "Palettes" msgstr "" -msgid "" -"If turned on, scrolling will pan the view. To zoom, hold CTRL while " -"scrolling." +msgid "Color Picker" msgstr "" -msgid "UI scale" +msgid "Edit color name" msgstr "" -msgid "Changes the scale of the visual user interface." +msgid "Delete color" msgstr "" -msgid "Auto UI scale" +msgid "Unnamed" msgstr "" -msgid "Scales the user interface based on the screen size." +msgid "Enable the color" msgstr "" -msgid "Input" +msgid "Disable the color" msgstr "" -msgid "Open" +msgid "Move Up" msgstr "" -msgid "Close" +msgid "Move Down" msgstr "" -msgid "GodSVG Repository" +msgid "Copy as XML" msgstr "" -msgid "About…" +msgid "Paste XML" msgstr "" -msgid "Documentation…" +msgid "Delete" msgstr "" -msgid "Donate…" +msgid "Edit palette name" msgstr "" -msgid "Zoom in" +msgid "No path data" msgstr "" -msgid "Zoom reset" +msgid "Absolute" msgstr "" -msgid "Zoom out" +msgid "Relative" msgstr "" -msgid "Settings" +msgid "Reset to default" msgstr "" -msgid "Visuals" +msgid "Unused" msgstr "" -msgid "Show Grid" +msgid "Add shortcut" msgstr "" -msgid "Show Handles" +msgid "Edit" msgstr "" -msgid "Rasterized SVG" +msgid "Remove" msgstr "" -msgid "Show rasterized SVG" +msgid "Press keys…" msgstr "" -msgid "Enable Snapping" +msgid "No transforms" msgstr "" -msgid "Snap size" +msgid "Apply the matrix" msgstr "" -msgid "Reset to default" +msgid "Insert After" msgstr "" -msgid "Copy all text" +msgid "Insert Before" msgstr "" -msgid "Clear SVG" +msgid "New transform" msgstr "" -msgid "Reset SVG" +msgid "GodSVG doesn’t recognize this attribute" msgstr "" -msgid "Save" +msgid "Project Founder and Manager" msgstr "" -msgid "Export" +msgid "Developers" msgstr "" -msgid "Select all tags" +msgid "Translators" msgstr "" -msgid "Couple/Decouple" +msgid "Authors" msgstr "" -msgid "Duplicate" +msgid "Donors" msgstr "" -msgid "Move Up" +msgid "License" msgstr "" -msgid "Move Down" +msgid "Godot third-party components" msgstr "" -msgid "Delete" +msgid "Third-party licenses" msgstr "" -msgid "Insert Before" +msgid "Alert!" msgstr "" -msgid "Insert After" +msgid "OK" msgstr "" -msgid "Convert To" +msgid "Save SVG" msgstr "" -msgid "Doesn’t describe an SVG." +msgid "Reset SVG" msgstr "" -msgid "Improper nesting." +msgid "Clear saving path" msgstr "" -msgid "Syntax error" +msgid "Copy all text" msgstr "" -msgid "Delete the selection" +msgid "Clear SVG" msgstr "" -msgid "Move the selected tags down" +msgid "Settings" msgstr "" -msgid "Move the selected tags up" +msgid "Visuals" msgstr "" -msgid "Duplicate the selected tags" +msgid "Show Grid" msgstr "" -msgid "Unknown Tag" +msgid "Show Handles" msgstr "" -msgid "Unknown Attribute" +msgid "Rasterized SVG" msgstr "" -msgid "No path data" +msgid "About…" msgstr "" -msgid "No transforms" +msgid "Donate…" msgstr "" -msgid "Import" +msgid "GodSVG repository" msgstr "" -msgid "Cancel" +msgid "GodSVG website" msgstr "" -msgid "Import Problems" +msgid "Check for updates" msgstr "" -msgid "GodSVG doesn’t recognize this attribute" +msgid "Enable snapping" +msgstr "" + +msgid "Snap size" +msgstr "" + +msgid "Size" +msgstr "" + +msgid "Invalid" msgstr "" msgid "Format" msgstr "" +msgid "Export Configuration" +msgstr "" + +msgid "Lossless" +msgstr "" + +msgid "Quality" +msgstr "" + msgid "Scale" msgstr "" -msgid "Size" +msgid "Cancel" msgstr "" -msgid "Final size" +msgid "Export" msgstr "" -msgid "Invalid" +msgid "Final size" msgstr "" -msgid "Export Configuration" +msgid "Replace" msgstr "" -msgid "Add new tag" +msgid "Create new folder" msgstr "" -msgid "New tag" +msgid "Create" msgstr "" -msgid "New transform" +msgid "Go to parent folder" msgstr "" -msgid "License" +msgid "Refresh files" msgstr "" -msgid "Third-party Licenses" +msgid "Toggle the visibility of hidden files" msgstr "" -msgid "Authors" +msgid "Search files" msgstr "" -msgid "Shortcuts" +msgid "Select an SVG" msgstr "" -msgid "Add shortcut" +msgid "Close" msgstr "" -msgid "Theme" +msgid "Select" msgstr "" -msgid "Basic colors" +msgid "Save" msgstr "" -msgid "SVG Text Colors" +msgid "Path" msgstr "" -msgid "Symbol color" +msgid "Open" msgstr "" -msgid "Tag color" +msgid "Copy path" msgstr "" -msgid "Attribute color" +msgid "" +"A file named \"{file_name}\" already exists. Replacing will overwrite its " +"contents!" msgstr "" -msgid "String color" +msgid "New tag" msgstr "" -msgid "Comment color" +msgid "Import Problems" msgstr "" -msgid "Text color" +msgid "Unknown tag" msgstr "" -msgid "CDATA color" +msgid "Unknown attribute" msgstr "" -msgid "Error color" +msgid "Syntax error" msgstr "" -msgid "Warning color" +msgid "Add new tag" msgstr "" -msgid "Valid color" +msgid "SVG Text colors" msgstr "" msgid "Handle colors" msgstr "" -msgid "Inside color" +msgid "Basic colors" msgstr "" -msgid "Normal color" +msgid "General" msgstr "" -msgid "Hovered color" +msgid "Numbers" msgstr "" -msgid "Selected color" +msgid "Colors" msgstr "" -msgid "Hovered selected color" +msgid "Paths" msgstr "" -msgid "Palettes" +msgid "Always active." msgstr "" -msgid "Color Picker" +msgid "Transforms" msgstr "" -msgid "Add color" +msgid "Input" msgstr "" -msgid "Edit palette name" +msgid "Miscellaneous" msgstr "" -msgid "Unnamed" +msgid "Any changes will apply immediately." msgstr "" -msgid "Edit color name" +msgid "Formatting" msgstr "" -msgid "Delete color" +msgid "Shortcuts" msgstr "" -msgid "Edit" +msgid "Theme" msgstr "" -msgid "Remove" +msgid "Other" msgstr "" -msgid "Press keys…" +msgid "Invert zoom direction" msgstr "" -msgid "Enable the color" +msgid "Wrap mouse" msgstr "" -msgid "Disable the color" +msgid "Use CTRL for zooming" msgstr "" -msgid "Path" +msgid "Handles size" msgstr "" -msgid "Replace" +msgid "UI scale" msgstr "" -msgid "Go to parent folder" +msgid "Auto UI scale" msgstr "" -msgid "Refresh files" +msgid "Language" msgstr "" -msgid "Toggle the visibility of hidden files" +msgid "File" msgstr "" -msgid "Search files" +msgid "View" msgstr "" -msgid "Select an SVG" +msgid "Tool" msgstr "" -msgid "Save SVG" +msgid "Swaps zoom in and zoom out with the mouse wheel." msgstr "" -msgid "Select" +msgid "Wraps the mouse cursor around when panning the viewport." msgstr "" msgid "" -"A file named \"{file_name}\" already exists. Replacing will overwrite its " -"contents!" +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." msgstr "" -msgid "Godot third-party components" +msgid "Use native file dialog" msgstr "" -msgid "Undo" +msgid "" +"If turned on, uses your operating system's native file dialog. If turned " +"off, uses GodSVG's built-in file dialog." msgstr "" -msgid "Redo" +msgid "Increases the visual size and grabbing area of handles." msgstr "" -msgid "Copy" +msgid "Changes the scale of the visual user interface." msgstr "" -msgid "Paste" +msgid "Scales the user interface based on the screen size." msgstr "" -msgid "Copy as XML" +msgid "Number precision digits" msgstr "" -msgid "Paste XML" +msgid "Angle precision digits" msgstr "" -msgid "Unused" +msgid "Add trailing newline" msgstr "" -msgid "Cut" +msgid "Use shorthand tag syntax" msgstr "" -msgid "Alert!" +msgid "Enable autoformatting" msgstr "" -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." +msgid "Remove zero padding" msgstr "" -msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." +msgid "Remove leading zero" msgstr "" -msgid "The file extension is empty. Only \"svg\" files are supported." +msgid "Convert rgb format to hex" msgstr "" -msgid "OK" +msgid "Convert named colors to hex" msgstr "" -msgid "Autoformatting" +msgid "Use shorthand hex code" msgstr "" -msgid "General" +msgid "Use short named colors" msgstr "" -msgid "Numbers" +msgid "Compress numbers" msgstr "" -msgid "Colors" +msgid "Minimize spacing" msgstr "" -msgid "Paths" +msgid "Remove spacing after flags" msgstr "" -msgid "Transforms" +msgid "Remove consecutive commands" msgstr "" -msgid "Number precision digits" +msgid "Remove unnecessary parameters" msgstr "" -msgid "Angle precision digits" +msgid "Symbol color" msgstr "" -msgid "Add trailing newline" +msgid "Tag color" msgstr "" -msgid "Use shorthand tag syntax" +msgid "Attribute color" msgstr "" -msgid "Enable autoformatting" +msgid "String color" msgstr "" -msgid "Remove zero padding" +msgid "Comment color" msgstr "" -msgid "Remove leading zero" +msgid "Text color" msgstr "" -msgid "Remove plus sign" +msgid "CDATA color" msgstr "" -msgid "Convert rgb format to hex" +msgid "Error color" msgstr "" -msgid "Convert named colors to hex" +msgid "Inside color" msgstr "" -msgid "Use shorthand hex code" +msgid "Normal color" msgstr "" -msgid "Use short named colors" +msgid "Hovered color" msgstr "" -msgid "Compress numbers" +msgid "Selected color" msgstr "" -msgid "Minimize spacing" +msgid "Hovered selected color" msgstr "" -msgid "Remove spacing after flags" +msgid "Valid color" msgstr "" -msgid "Remove consecutive commands" +msgid "Warning color" msgstr "" -msgid "Remove unnecessary parameters" +msgid "Save the .\"{extension}\" file" msgstr "" -msgid "Relative" +msgid "Import a .svg file" msgstr "" -msgid "Absolute" +msgid "The file extension is empty. Only \"svg\" files are supported." msgstr "" -msgid "Clear saving path" +msgid "" +"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " +"are supported." msgstr "" -msgid "Apply the matrix" +msgid "" +"The file couldn't be opened.\n" +"Try checking the file path, ensure that the file is not deleted, or choose a " +"different file." msgstr "" -msgid "Other" +msgid "Duplicate" +msgstr "" + +msgid "Convert To" +msgstr "" + +msgid "Import" msgstr "" msgid "Optimize" msgstr "" -msgid "Any changes will apply immediately." +msgid "Select all tags" msgstr "" -msgid "Always active." +msgid "Duplicate the selected tags" msgstr "" -msgid "Search color" +msgid "Delete the selection" msgstr "" -msgid "File" +msgid "Move the selected tags up" msgstr "" -msgid "View" +msgid "Move the selected tags down" msgstr "" -msgid "Tool" +msgid "Zoom in" +msgstr "" + +msgid "Zoom out" +msgstr "" + +msgid "Zoom reset" +msgstr "" + +msgid "Show grid" +msgstr "" + +msgid "Show handles" +msgstr "" + +msgid "Show rasterized SVG" +msgstr "" + +msgid "View debug information" msgstr "" msgid "Move to" diff --git a/translations/ru.po b/translations/ru.po index 1794aec9..7688c00d 100644 --- a/translations/ru.po +++ b/translations/ru.po @@ -15,437 +15,413 @@ msgstr "" msgid "translation-credits" msgstr "volkov " -msgid "Project Founder and Manager" -msgstr "Основатель и руководитель проекта" - -msgid "Developers" -msgstr "Разработчики" +msgid "Doesn’t describe an SVG." +msgstr "Не есть описанием SVG." -msgid "Translators" -msgstr "Переводчики" +msgid "Improper nesting." +msgstr "Не правильное вкладывание." -msgid "Language" -msgstr "Язык" +msgid "Undo" +msgstr "Отменить" -msgid "Invert zoom direction" -msgstr "Инвертировать направление масштабирования" +msgid "Redo" +msgstr "Вернуть" -msgid "Swaps zoom in and zoom out with the mouse wheel." -msgstr "Поменяет местами увеличение и уменьшение масштаба через колесико мыши." +msgid "Cut" +msgstr "Вырезать" -msgid "Wrap mouse" -msgstr "Захватить мышу" +msgid "Copy" +msgstr "Скопировать" -msgid "Wraps the mouse cursor around when panning the viewport." -msgstr "" -"Миша будет телепортироваться от одного края до противположного при " -"передвижении окна просмотра." +msgid "Paste" +msgstr "Вставить" -msgid "Use CTRL for zooming" -msgstr "Использовать CTRL для масштабирования" +msgid "Search color" +msgstr "Искать цвет" -msgid "" -"If turned on, scrolling will pan the view. To zoom, hold CTRL while " -"scrolling." -msgstr "" -"Если включено, прокрутка будет перемещать окно просмотра. Чтобы " -"масштабировать Зажмите CTRL когда прокручиваете." +msgid "Palettes" +msgstr "Палитры" -msgid "UI scale" -msgstr "Масштаб интерфейса" +msgid "Color Picker" +msgstr "Цветовая пипетка" -msgid "Changes the scale of the visual user interface." -msgstr "Изменить масштаб пользовательского интерфейса." +msgid "Edit color name" +msgstr "Редактировать название цвета" -#, fuzzy -msgid "Auto UI scale" -msgstr "Масштаб" +msgid "Delete color" +msgstr "Удалить цвет" -msgid "Scales the user interface based on the screen size." -msgstr "" +msgid "Unnamed" +msgstr "Без названия" -msgid "Input" -msgstr "Устройства ввода" +msgid "Enable the color" +msgstr "Активировать цвет" -msgid "Open" -msgstr "Открыть" +msgid "Disable the color" +msgstr "Деактивировать цвет" -msgid "Close" -msgstr "Закрыть" +msgid "Move Up" +msgstr "Подвинуть вверх" -msgid "GodSVG Repository" -msgstr "Репозиторий GodSVG" +msgid "Move Down" +msgstr "Подвинуть вниз" -msgid "About…" -msgstr "Про программу…" +msgid "Copy as XML" +msgstr "Скопировать как XML" -msgid "Documentation…" -msgstr "Документация…" +msgid "Paste XML" +msgstr "Вставить XML" -msgid "Donate…" -msgstr "Сделать пожертвование…" +msgid "Delete" +msgstr "Удалить" -msgid "Zoom in" -msgstr "Приблизить масштаб" +msgid "Edit palette name" +msgstr "Редактировать название палитры" -msgid "Zoom reset" -msgstr "Сбросить масштаб" +msgid "No path data" +msgstr "Нет данных пути" -msgid "Zoom out" -msgstr "Отдалить масштаб" +msgid "Absolute" +msgstr "Абсолютная" -msgid "Settings" -msgstr "Настройки" +msgid "Relative" +msgstr "Относительная" -msgid "Visuals" -msgstr "Внешний вид" +msgid "Reset to default" +msgstr "Восстановить значение по умолчанию" -msgid "Show Grid" -msgstr "Показать сетку" +msgid "Unused" +msgstr "Не используется" -msgid "Show Handles" -msgstr "Показать ручки редактирования" +msgid "Add shortcut" +msgstr "Добавить сочетание клавиш" -msgid "Rasterized SVG" -msgstr "Растеризовать SVG" +msgid "Edit" +msgstr "Редактирование" -msgid "Show rasterized SVG" -msgstr "Показать растеризованый SVG" +msgid "Remove" +msgstr "Удалить" -msgid "Enable Snapping" -msgstr "Включить привязку" +msgid "Press keys…" +msgstr "Нажмите копки…" -msgid "Snap size" -msgstr "Размер привязки" +msgid "No transforms" +msgstr "Нет трансформаций" -msgid "Reset to default" -msgstr "Восстановить значение по умолчанию" +msgid "Apply the matrix" +msgstr "Применить матрицу" -msgid "Copy all text" -msgstr "Скопировать весь текст" +msgid "Insert After" +msgstr "Вставить после" -msgid "Clear SVG" -msgstr "Очистить SVG" +msgid "Insert Before" +msgstr "Вставить после" -msgid "Reset SVG" -msgstr "Сбросить SVG" +msgid "New transform" +msgstr "Новая трансформация" -msgid "Save" -msgstr "Сохранить" +msgid "GodSVG doesn’t recognize this attribute" +msgstr "GodSVG не может распознать этот атрибут" -msgid "Export" -msgstr "Экспортовать" +msgid "Project Founder and Manager" +msgstr "Основатель и руководитель проекта" -msgid "Select all tags" -msgstr "Выбрать все теги" +msgid "Developers" +msgstr "Разработчики" -msgid "Couple/Decouple" -msgstr "Объединить/Разъединить" +msgid "Translators" +msgstr "Переводчики" -msgid "Duplicate" -msgstr "Дублировать" +msgid "Authors" +msgstr "Автори" -msgid "Move Up" -msgstr "Подвинуть вверх" +msgid "Donors" +msgstr "" -msgid "Move Down" -msgstr "Подвинуть вниз" +msgid "License" +msgstr "Лицензия" -msgid "Delete" -msgstr "Удалить" +msgid "Godot third-party components" +msgstr "Компоненты Godot от третьих лиц" -msgid "Insert Before" -msgstr "Вставить после" +#, fuzzy +msgid "Third-party licenses" +msgstr "Лицензии третьих лиц" -msgid "Insert After" -msgstr "Вставить после" +msgid "Alert!" +msgstr "Внимание!" -msgid "Convert To" -msgstr "Конвертировать в" +msgid "OK" +msgstr "Хорошо" -msgid "Doesn’t describe an SVG." -msgstr "Не есть описанием SVG." +msgid "Save SVG" +msgstr "Сохранить SVG" -msgid "Improper nesting." -msgstr "Не правильное вкладывание." +msgid "Reset SVG" +msgstr "Сбросить SVG" -msgid "Syntax error" -msgstr "Синтаксическая ошибка" +msgid "Clear saving path" +msgstr "Очистить путь сохранения" -msgid "Delete the selection" -msgstr "Удалить все выбранные теги" +msgid "Copy all text" +msgstr "Скопировать весь текст" -msgid "Move the selected tags down" -msgstr "Подвинуть вниз все выбранные теги" +msgid "Clear SVG" +msgstr "Очистить SVG" -msgid "Move the selected tags up" -msgstr "Подвинуть вверх все выбранные теги" +msgid "Settings" +msgstr "Настройки" -msgid "Duplicate the selected tags" -msgstr "Дублировать выбранные теги" +msgid "Visuals" +msgstr "Внешний вид" -msgid "Unknown Tag" -msgstr "Неизвестный тег" +msgid "Show Grid" +msgstr "Показать сетку" -msgid "Unknown Attribute" -msgstr "Неизвестный атрибут" +msgid "Show Handles" +msgstr "Показать ручки редактирования" -msgid "No path data" -msgstr "Нет данных пути" +msgid "Rasterized SVG" +msgstr "Растеризовать SVG" -msgid "No transforms" -msgstr "Нет трансформаций" +msgid "About…" +msgstr "Про программу…" -msgid "Import" -msgstr "Импортировать" +msgid "Donate…" +msgstr "Сделать пожертвование…" -msgid "Cancel" -msgstr "Отменить" +#, fuzzy +msgid "GodSVG repository" +msgstr "Репозиторий GodSVG" -msgid "Import Problems" -msgstr "Проблемы с импортированием" +#, fuzzy +msgid "GodSVG website" +msgstr "Репозиторий GodSVG" -msgid "GodSVG doesn’t recognize this attribute" -msgstr "GodSVG не может распознать этот атрибут" +msgid "Check for updates" +msgstr "" -msgid "Format" -msgstr "Формат" +#, fuzzy +msgid "Enable snapping" +msgstr "Включить привязку" -msgid "Scale" -msgstr "Масштаб" +msgid "Snap size" +msgstr "Размер привязки" msgid "Size" msgstr "Размер" -msgid "Final size" -msgstr "Финальный размер" - msgid "Invalid" msgstr "Неправильно" +msgid "Format" +msgstr "Формат" + msgid "Export Configuration" msgstr "Настройки экспорта" -msgid "Add new tag" -msgstr "Добавить новый тег" - -msgid "New tag" -msgstr "Новый тег" - -msgid "New transform" -msgstr "Новая трансформация" - -msgid "License" -msgstr "Лицензия" - -msgid "Third-party Licenses" -msgstr "Лицензии третьих лиц" - -msgid "Authors" -msgstr "Автори" +msgid "Lossless" +msgstr "" -msgid "Shortcuts" -msgstr "Сочетания клавиш" +msgid "Quality" +msgstr "" -msgid "Add shortcut" -msgstr "Добавить сочетание клавиш" +msgid "Scale" +msgstr "Масштаб" -msgid "Theme" -msgstr "Тема" +msgid "Cancel" +msgstr "Отменить" -msgid "Basic colors" -msgstr "Базовый цвет" +msgid "Export" +msgstr "Экспортовать" -msgid "SVG Text Colors" -msgstr "Цвет SVG текста" +msgid "Final size" +msgstr "Финальный размер" -msgid "Symbol color" -msgstr "Цвет символа" +msgid "Replace" +msgstr "Заменить" -msgid "Tag color" -msgstr "Цвет тега" +msgid "Create new folder" +msgstr "" -msgid "Attribute color" -msgstr "Цвет атрибута" +msgid "Create" +msgstr "" -msgid "String color" -msgstr "Цвет строки" +msgid "Go to parent folder" +msgstr "Перейти к родительской папке" -msgid "Comment color" -msgstr "Цвет комментария" +msgid "Refresh files" +msgstr "Обновить файлы" -msgid "Text color" -msgstr "Цвет текста" +msgid "Toggle the visibility of hidden files" +msgstr "Переключить видимость скрытых файлов" -msgid "CDATA color" -msgstr "Цвет CDATA" +msgid "Search files" +msgstr "Искать файлы" -msgid "Error color" -msgstr "Цвет ошибки" +msgid "Select an SVG" +msgstr "Выбрать SVG" -msgid "Warning color" -msgstr "Цвет предупреждения" +msgid "Close" +msgstr "Закрыть" -msgid "Valid color" -msgstr "Цвет валидности" +msgid "Select" +msgstr "Выбрать" -msgid "Handle colors" -msgstr "Цвет ручки" +msgid "Save" +msgstr "Сохранить" -msgid "Inside color" -msgstr "Внутренний цвет" +msgid "Path" +msgstr "Путь" -msgid "Normal color" -msgstr "Обычный цвет" +msgid "Open" +msgstr "Открыть" -msgid "Hovered color" -msgstr "Цвет наведенного" +#, fuzzy +msgid "Copy path" +msgstr "Скопировать весь текст" -msgid "Selected color" -msgstr "Цвет выбранного" +msgid "" +"A file named \"{file_name}\" already exists. Replacing will overwrite its " +"contents!" +msgstr "" +"Файл с названием \"{file_name}\" уже существует. Его замена перезапишет его " +"содержимое!" -msgid "Hovered selected color" -msgstr "Цвет выделенного-наведенного" +msgid "New tag" +msgstr "Новый тег" -msgid "Palettes" -msgstr "Палитры" +msgid "Import Problems" +msgstr "Проблемы с импортированием" -msgid "Color Picker" -msgstr "Цветовая пипетка" +#, fuzzy +msgid "Unknown tag" +msgstr "Неизвестный тег" -msgid "Add color" -msgstr "Добавить цвет" +#, fuzzy +msgid "Unknown attribute" +msgstr "Неизвестный атрибут" -msgid "Edit palette name" -msgstr "Редактировать название палитры" +msgid "Syntax error" +msgstr "Синтаксическая ошибка" -msgid "Unnamed" -msgstr "Без названия" +msgid "Add new tag" +msgstr "Добавить новый тег" -msgid "Edit color name" -msgstr "Редактировать название цвета" +#, fuzzy +msgid "SVG Text colors" +msgstr "Цвет SVG текста" -msgid "Delete color" -msgstr "Удалить цвет" +#, fuzzy +msgid "Handle colors" +msgstr "Внутренний цвет" -msgid "Edit" -msgstr "Редактирование" +msgid "Basic colors" +msgstr "Базовый цвет" -msgid "Remove" -msgstr "Удалить" +msgid "General" +msgstr "Общие" -msgid "Press keys…" -msgstr "Нажмите копки…" +msgid "Numbers" +msgstr "Цифры" -msgid "Enable the color" -msgstr "Активировать цвет" +msgid "Colors" +msgstr "Цвета" -msgid "Disable the color" -msgstr "Деактивировать цвет" +msgid "Paths" +msgstr "Пути" -msgid "Path" -msgstr "Путь" +msgid "Always active." +msgstr "Всегда активно." -msgid "Replace" -msgstr "Заменить" +msgid "Transforms" +msgstr "Трансформации" -msgid "Go to parent folder" -msgstr "Перейти к родительской папке" +msgid "Input" +msgstr "Устройства ввода" -msgid "Refresh files" -msgstr "Обновить файлы" +msgid "Miscellaneous" +msgstr "" -msgid "Toggle the visibility of hidden files" -msgstr "Переключить видимость скрытых файлов" +msgid "Any changes will apply immediately." +msgstr "Любые изменения будут применены моментально." -msgid "Search files" -msgstr "Искать файлы" +#, fuzzy +msgid "Formatting" +msgstr "Автоматическое форматирование" -msgid "Select an SVG" -msgstr "Выбрать SVG" +msgid "Shortcuts" +msgstr "Сочетания клавиш" -msgid "Save SVG" -msgstr "Сохранить SVG" +msgid "Theme" +msgstr "Тема" -msgid "Select" -msgstr "Выбрать" +msgid "Other" +msgstr "Другие" -msgid "" -"A file named \"{file_name}\" already exists. Replacing will overwrite its " -"contents!" -msgstr "" -"Файл с названием \"{file_name}\" уже существует. Его замена перезапишет его " -"содержимое!" +msgid "Invert zoom direction" +msgstr "Инвертировать направление масштабирования" -msgid "Godot third-party components" -msgstr "Компоненты Godot от третьих лиц" +msgid "Wrap mouse" +msgstr "Захватить мышу" -msgid "Undo" -msgstr "Отменить" +msgid "Use CTRL for zooming" +msgstr "Использовать CTRL для масштабирования" -msgid "Redo" -msgstr "Вернуть" +#, fuzzy +msgid "Handles size" +msgstr "Цвет ручки" -msgid "Copy" -msgstr "Скопировать" +msgid "UI scale" +msgstr "Масштаб интерфейса" -msgid "Paste" -msgstr "Вставить" +#, fuzzy +msgid "Auto UI scale" +msgstr "Масштаб" -msgid "Copy as XML" -msgstr "Скопировать как XML" +msgid "Language" +msgstr "Язык" -msgid "Paste XML" -msgstr "Вставить XML" +msgid "File" +msgstr "Файл" -msgid "Unused" -msgstr "Не используется" +msgid "View" +msgstr "Просмотр" -msgid "Cut" -msgstr "Вырезать" +msgid "Tool" +msgstr "Инструмент" -msgid "Alert!" -msgstr "Внимание!" +msgid "Swaps zoom in and zoom out with the mouse wheel." +msgstr "Поменяет местами увеличение и уменьшение масштаба через колесико мыши." -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." +msgid "Wraps the mouse cursor around when panning the viewport." msgstr "" -"Невозможно открыть этот файл.\n" -"Попробуйте проверить путь до файла, убедитесь что файл не удален або " -"выберите другой файл." +"Миша будет телепортироваться от одного края до противположного при " +"передвижении окна просмотра." msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." msgstr "" -"\"{passed_extension}\" это расширение файла которое не поддерживается. " -"Поддерживается только «svg»." - -msgid "The file extension is empty. Only \"svg\" files are supported." -msgstr "Расширение файла пустрое. Поддерживается только «svg» файлы." - -msgid "OK" -msgstr "Хорошо" - -msgid "Autoformatting" -msgstr "Автоматическое форматирование" +"Если включено, прокрутка будет перемещать окно просмотра. Чтобы " +"масштабировать Зажмите CTRL когда прокручиваете." -msgid "General" -msgstr "Общие" +msgid "Use native file dialog" +msgstr "" -msgid "Numbers" -msgstr "Цифры" +msgid "" +"If turned on, uses your operating system's native file dialog. If turned " +"off, uses GodSVG's built-in file dialog." +msgstr "" -msgid "Colors" -msgstr "Цвета" +msgid "Increases the visual size and grabbing area of handles." +msgstr "" -msgid "Paths" -msgstr "Пути" +msgid "Changes the scale of the visual user interface." +msgstr "Изменить масштаб пользовательского интерфейса." -msgid "Transforms" -msgstr "Трансформации" +msgid "Scales the user interface based on the screen size." +msgstr "" msgid "Number precision digits" msgstr "Количество цифр точности углов" @@ -468,9 +444,6 @@ msgstr "Удалить заполняющие нули" msgid "Remove leading zero" msgstr "Удалить начальный ноль" -msgid "Remove plus sign" -msgstr "Удалить знак плюса" - msgid "Convert rgb format to hex" msgstr "Конвертировать rgb формат в hex" @@ -498,41 +471,125 @@ msgstr "Удалить последовательные команды" msgid "Remove unnecessary parameters" msgstr "Удалить не нужные параметры" -msgid "Relative" -msgstr "Относительная" +msgid "Symbol color" +msgstr "Цвет символа" -msgid "Absolute" -msgstr "Абсолютная" +msgid "Tag color" +msgstr "Цвет тега" -msgid "Clear saving path" -msgstr "Очистить путь сохранения" +msgid "Attribute color" +msgstr "Цвет атрибута" -msgid "Apply the matrix" -msgstr "Применить матрицу" +msgid "String color" +msgstr "Цвет строки" -msgid "Other" -msgstr "Другие" +msgid "Comment color" +msgstr "Цвет комментария" + +msgid "Text color" +msgstr "Цвет текста" + +msgid "CDATA color" +msgstr "Цвет CDATA" + +msgid "Error color" +msgstr "Цвет ошибки" + +msgid "Inside color" +msgstr "Внутренний цвет" + +msgid "Normal color" +msgstr "Обычный цвет" + +msgid "Hovered color" +msgstr "Цвет наведенного" + +msgid "Selected color" +msgstr "Цвет выбранного" + +msgid "Hovered selected color" +msgstr "Цвет выделенного-наведенного" + +msgid "Valid color" +msgstr "Цвет валидности" + +msgid "Warning color" +msgstr "Цвет предупреждения" + +msgid "Save the .\"{extension}\" file" +msgstr "" + +msgid "Import a .svg file" +msgstr "" + +msgid "The file extension is empty. Only \"svg\" files are supported." +msgstr "Расширение файла пустрое. Поддерживается только «svg» файлы." + +msgid "" +"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " +"are supported." +msgstr "" +"\"{passed_extension}\" это расширение файла которое не поддерживается. " +"Поддерживается только «svg»." + +msgid "" +"The file couldn't be opened.\n" +"Try checking the file path, ensure that the file is not deleted, or choose a " +"different file." +msgstr "" +"Невозможно открыть этот файл.\n" +"Попробуйте проверить путь до файла, убедитесь что файл не удален або " +"выберите другой файл." + +msgid "Duplicate" +msgstr "Дублировать" + +msgid "Convert To" +msgstr "Конвертировать в" + +msgid "Import" +msgstr "Импортировать" msgid "Optimize" msgstr "Оптимизировать" -msgid "Any changes will apply immediately." -msgstr "Любые изменения будут применены моментально." +msgid "Select all tags" +msgstr "Выбрать все теги" -msgid "Always active." -msgstr "Всегда активно." +msgid "Duplicate the selected tags" +msgstr "Дублировать выбранные теги" -msgid "Search color" -msgstr "Искать цвет" +msgid "Delete the selection" +msgstr "Удалить все выбранные теги" -msgid "File" -msgstr "Файл" +msgid "Move the selected tags up" +msgstr "Подвинуть вверх все выбранные теги" -msgid "View" -msgstr "Просмотр" +msgid "Move the selected tags down" +msgstr "Подвинуть вниз все выбранные теги" -msgid "Tool" -msgstr "Инструмент" +msgid "Zoom in" +msgstr "Приблизить масштаб" + +msgid "Zoom out" +msgstr "Отдалить масштаб" + +msgid "Zoom reset" +msgstr "Сбросить масштаб" + +#, fuzzy +msgid "Show grid" +msgstr "Показать сетку" + +#, fuzzy +msgid "Show handles" +msgstr "Показать ручки редактирования" + +msgid "Show rasterized SVG" +msgstr "Показать растеризованый SVG" + +msgid "View debug information" +msgstr "" msgid "Move to" msgstr "Подвинуть до" @@ -564,6 +621,18 @@ msgstr "Кибическая Безье до" msgid "Shorthand Cubic Bezier to" msgstr "Сокращенная кубическая Безье до" +#~ msgid "Documentation…" +#~ msgstr "Документация…" + +#~ msgid "Couple/Decouple" +#~ msgstr "Объединить/Разъединить" + +#~ msgid "Add color" +#~ msgstr "Добавить цвет" + +#~ msgid "Remove plus sign" +#~ msgstr "Удалить знак плюса" + #~ msgid "Default value opacity" #~ msgstr "Стандартное значение непрозрачности" diff --git a/translations/uk.po b/translations/uk.po index d4028e2a..f2d71e4d 100644 --- a/translations/uk.po +++ b/translations/uk.po @@ -15,438 +15,414 @@ msgstr "" msgid "translation-credits" msgstr "volkov " -msgid "Project Founder and Manager" -msgstr "Засновник і керівник проекту" - -msgid "Developers" -msgstr "Розробники" +msgid "Doesn’t describe an SVG." +msgstr "Не є описом SVG." -msgid "Translators" -msgstr "Перекладачі" +msgid "Improper nesting." +msgstr "Неправильне вкладення." -msgid "Language" -msgstr "Мова" +msgid "Undo" +msgstr "Скасувати" -msgid "Invert zoom direction" -msgstr "Інвертувати напрямок масштабування" +msgid "Redo" +msgstr "Повернути" -msgid "Swaps zoom in and zoom out with the mouse wheel." -msgstr "" -"Міняє місцями збільшення і зменшення масштабування через коліщатко миші." +msgid "Cut" +msgstr "Вирізати" -msgid "Wrap mouse" -msgstr "Захопити мишу" +msgid "Copy" +msgstr "Скопіювати" -msgid "Wraps the mouse cursor around when panning the viewport." -msgstr "" -"Курсор буде телепортуватися від одного краю до протилежного при пересуванні " -"вікна перегляду." +msgid "Paste" +msgstr "Вставити" -msgid "Use CTRL for zooming" -msgstr "Використовувати CTRL для масштабування" +msgid "Search color" +msgstr "Шукати колір" -msgid "" -"If turned on, scrolling will pan the view. To zoom, hold CTRL while " -"scrolling." -msgstr "" -"Якщо увімкнено, гортання буде рухати вікно перегляду. Щоб масштабувати, " -"затисніть CTRL доки гортаєте." +msgid "Palettes" +msgstr "Палітри" -msgid "UI scale" -msgstr "Масштаб інтерфейсу" +msgid "Color Picker" +msgstr "Кольорова піпетка" -msgid "Changes the scale of the visual user interface." -msgstr "Змінити масштаб інтерфейсу користувача." +msgid "Edit color name" +msgstr "Редагувати назву кольору" -#, fuzzy -msgid "Auto UI scale" -msgstr "Масштаб" +msgid "Delete color" +msgstr "Видалити колір" -msgid "Scales the user interface based on the screen size." -msgstr "" +msgid "Unnamed" +msgstr "Без назви" -msgid "Input" -msgstr "Пристрої вводу" +msgid "Enable the color" +msgstr "Активувати колір" -msgid "Open" -msgstr "Відкрити" +msgid "Disable the color" +msgstr "Деактивувати колір" -msgid "Close" -msgstr "Закрити" +msgid "Move Up" +msgstr "Пересунути вгору" -msgid "GodSVG Repository" -msgstr "Репозиторій GodSVG" +msgid "Move Down" +msgstr "Пересунути вниз" -msgid "About…" -msgstr "Про додаток…" +msgid "Copy as XML" +msgstr "Скопіювати як XML" -msgid "Documentation…" -msgstr "Документація…" +msgid "Paste XML" +msgstr "Вставити XML" -msgid "Donate…" -msgstr "Зробити пожертвування…" +msgid "Delete" +msgstr "Видалити" -msgid "Zoom in" -msgstr "Збільшити масштаб" +msgid "Edit palette name" +msgstr "Редагувати назву палітри" -msgid "Zoom reset" -msgstr "Скинути масштаб" +msgid "No path data" +msgstr "Немає даних шляху" -msgid "Zoom out" -msgstr "Зменшити масштаб" +msgid "Absolute" +msgstr "Абсолютна" -msgid "Settings" -msgstr "Налаштування" +msgid "Relative" +msgstr "Відносно" -msgid "Visuals" -msgstr "Зовнішній вигляд" +msgid "Reset to default" +msgstr "Скинути значення до замовчування" -msgid "Show Grid" -msgstr "Показати ґратку" +msgid "Unused" +msgstr "Не використовується" -msgid "Show Handles" -msgstr "Показати ручки редагування" +msgid "Add shortcut" +msgstr "Додати клавіатурне скорочення" -msgid "Rasterized SVG" -msgstr "Растеризувати SVG" +msgid "Edit" +msgstr "Редагування" -msgid "Show rasterized SVG" -msgstr "Показати растеризуваний SVG" +msgid "Remove" +msgstr "Видалити" -msgid "Enable Snapping" -msgstr "Активувати прилипання" +msgid "Press keys…" +msgstr "Натисніть кнопки…" -msgid "Snap size" -msgstr "Розмір прилипання" +msgid "No transforms" +msgstr "Без трансформацій" -msgid "Reset to default" -msgstr "Скинути значення до замовчування" +msgid "Apply the matrix" +msgstr "Застосувати матрицю" -msgid "Copy all text" -msgstr "Скопіювати весь текст" +msgid "Insert After" +msgstr "Вставити після" -msgid "Clear SVG" -msgstr "Очистити SVG" +msgid "Insert Before" +msgstr "Вставити до" -msgid "Reset SVG" -msgstr "Скинути SVG" +msgid "New transform" +msgstr "Нова трансформація" -msgid "Save" -msgstr "Зберегти" +msgid "GodSVG doesn’t recognize this attribute" +msgstr "GodSVG не може розпізнати цей атрибут" -msgid "Export" -msgstr "Експортувати" +msgid "Project Founder and Manager" +msgstr "Засновник і керівник проекту" -msgid "Select all tags" -msgstr "Обрати усі теги" +msgid "Developers" +msgstr "Розробники" -msgid "Couple/Decouple" -msgstr "З’єднати/Роз’єднати" +msgid "Translators" +msgstr "Перекладачі" -msgid "Duplicate" -msgstr "Дублювати" +msgid "Authors" +msgstr "Автори" -msgid "Move Up" -msgstr "Пересунути вгору" +msgid "Donors" +msgstr "" -msgid "Move Down" -msgstr "Пересунути вниз" +msgid "License" +msgstr "Ліцензія" -msgid "Delete" -msgstr "Видалити" +msgid "Godot third-party components" +msgstr "Компоненти Godot від третіх сторін" -msgid "Insert Before" -msgstr "Вставити до" +#, fuzzy +msgid "Third-party licenses" +msgstr "Ліцензії третіх осіб" -msgid "Insert After" -msgstr "Вставити після" +msgid "Alert!" +msgstr "Увага!" -msgid "Convert To" -msgstr "Конвертувати в" +msgid "OK" +msgstr "Добре" -msgid "Doesn’t describe an SVG." -msgstr "Не є описом SVG." +msgid "Save SVG" +msgstr "Зберегти SVG" -msgid "Improper nesting." -msgstr "Неправильне вкладення." +msgid "Reset SVG" +msgstr "Скинути SVG" -msgid "Syntax error" -msgstr "Синтаксична помилка" +msgid "Clear saving path" +msgstr "Очистити шлях збереження" -msgid "Delete the selection" -msgstr "Видалити усі обрані теги" +msgid "Copy all text" +msgstr "Скопіювати весь текст" -msgid "Move the selected tags down" -msgstr "Пересунути усі обрані теги вниз" +msgid "Clear SVG" +msgstr "Очистити SVG" -msgid "Move the selected tags up" -msgstr "Пересунути усі обрані теги вгору" +msgid "Settings" +msgstr "Налаштування" -msgid "Duplicate the selected tags" -msgstr "Дублювати обрані теги" +msgid "Visuals" +msgstr "Зовнішній вигляд" -msgid "Unknown Tag" -msgstr "Невідомий тег" +msgid "Show Grid" +msgstr "Показати ґратку" -msgid "Unknown Attribute" -msgstr "Невідомий атрибут" +msgid "Show Handles" +msgstr "Показати ручки редагування" -msgid "No path data" -msgstr "Немає даних шляху" +msgid "Rasterized SVG" +msgstr "Растеризувати SVG" -msgid "No transforms" -msgstr "Без трансформацій" +msgid "About…" +msgstr "Про додаток…" -msgid "Import" -msgstr "Імпортувати" +msgid "Donate…" +msgstr "Зробити пожертвування…" -msgid "Cancel" -msgstr "Скасувати" +#, fuzzy +msgid "GodSVG repository" +msgstr "Репозиторій GodSVG" -msgid "Import Problems" -msgstr "Проблема з імпортуванням" +#, fuzzy +msgid "GodSVG website" +msgstr "Репозиторій GodSVG" -msgid "GodSVG doesn’t recognize this attribute" -msgstr "GodSVG не може розпізнати цей атрибут" +msgid "Check for updates" +msgstr "" -msgid "Format" -msgstr "Формат" +#, fuzzy +msgid "Enable snapping" +msgstr "Активувати прилипання" -msgid "Scale" -msgstr "Масштаб" +msgid "Snap size" +msgstr "Розмір прилипання" msgid "Size" msgstr "Розмір" -msgid "Final size" -msgstr "Фінальний розмір" - msgid "Invalid" msgstr "Неправильно" +msgid "Format" +msgstr "Формат" + msgid "Export Configuration" msgstr "Налаштування експорту" -msgid "Add new tag" -msgstr "Додати новий тег" - -msgid "New tag" -msgstr "Новий тег" - -msgid "New transform" -msgstr "Нова трансформація" - -msgid "License" -msgstr "Ліцензія" - -msgid "Third-party Licenses" -msgstr "Ліцензії третіх осіб" - -msgid "Authors" -msgstr "Автори" - -msgid "Shortcuts" -msgstr "Клавіатурні скорочення" +msgid "Lossless" +msgstr "" -msgid "Add shortcut" -msgstr "Додати клавіатурне скорочення" +msgid "Quality" +msgstr "" -msgid "Theme" -msgstr "Тема" +msgid "Scale" +msgstr "Масштаб" -msgid "Basic colors" -msgstr "Базовий колір" +msgid "Cancel" +msgstr "Скасувати" -msgid "SVG Text Colors" -msgstr "Колір SVG тексту" +msgid "Export" +msgstr "Експортувати" -msgid "Symbol color" -msgstr "Колір символу" +msgid "Final size" +msgstr "Фінальний розмір" -msgid "Tag color" -msgstr "Колір тегу" +msgid "Replace" +msgstr "Замінити" -msgid "Attribute color" -msgstr "Колір атрибуту" +msgid "Create new folder" +msgstr "" -msgid "String color" -msgstr "Колір строки" +msgid "Create" +msgstr "" -msgid "Comment color" -msgstr "Колір коментаря" +msgid "Go to parent folder" +msgstr "Перейти до батьківської теки" -msgid "Text color" -msgstr "Колір тексту" +msgid "Refresh files" +msgstr "Оновити файли" -msgid "CDATA color" -msgstr "Колір CDATA" +msgid "Toggle the visibility of hidden files" +msgstr "Перемикнути видимість прихованих файлів" -msgid "Error color" -msgstr "Колір помилки" +msgid "Search files" +msgstr "Пошук файлів" -msgid "Warning color" -msgstr "Колір попередження" +msgid "Select an SVG" +msgstr "Обрати SVG" -msgid "Valid color" -msgstr "Колір валідності" +msgid "Close" +msgstr "Закрити" -msgid "Handle colors" -msgstr "Колір ручки редагування" +msgid "Select" +msgstr "Обрати" -msgid "Inside color" -msgstr "Внутрішній колір" +msgid "Save" +msgstr "Зберегти" -msgid "Normal color" -msgstr "Звичайний колір" +msgid "Path" +msgstr "Шлях" -msgid "Hovered color" -msgstr "Колір наведеного" +msgid "Open" +msgstr "Відкрити" -msgid "Selected color" -msgstr "Колір обраного" +#, fuzzy +msgid "Copy path" +msgstr "Скопіювати весь текст" -msgid "Hovered selected color" -msgstr "Колір наведено-виділеного" +msgid "" +"A file named \"{file_name}\" already exists. Replacing will overwrite its " +"contents!" +msgstr "" +"Файл з назваою \"{file_name}\" вже існує. Його заміна призведе до перезапису " +"його вмісту!" -msgid "Palettes" -msgstr "Палітри" +msgid "New tag" +msgstr "Новий тег" -msgid "Color Picker" -msgstr "Кольорова піпетка" +msgid "Import Problems" +msgstr "Проблема з імпортуванням" -msgid "Add color" -msgstr "Додати колір" +#, fuzzy +msgid "Unknown tag" +msgstr "Невідомий тег" -msgid "Edit palette name" -msgstr "Редагувати назву палітри" +#, fuzzy +msgid "Unknown attribute" +msgstr "Невідомий атрибут" -msgid "Unnamed" -msgstr "Без назви" +msgid "Syntax error" +msgstr "Синтаксична помилка" -msgid "Edit color name" -msgstr "Редагувати назву кольору" +msgid "Add new tag" +msgstr "Додати новий тег" -msgid "Delete color" -msgstr "Видалити колір" +#, fuzzy +msgid "SVG Text colors" +msgstr "Колір SVG тексту" -msgid "Edit" -msgstr "Редагування" +#, fuzzy +msgid "Handle colors" +msgstr "Внутрішній колір" -msgid "Remove" -msgstr "Видалити" +msgid "Basic colors" +msgstr "Базовий колір" -msgid "Press keys…" -msgstr "Натисніть кнопки…" +msgid "General" +msgstr "Загальні" -msgid "Enable the color" -msgstr "Активувати колір" +msgid "Numbers" +msgstr "Цифри" -msgid "Disable the color" -msgstr "Деактивувати колір" +msgid "Colors" +msgstr "Кольори" -msgid "Path" -msgstr "Шлях" +msgid "Paths" +msgstr "Шляхи" -msgid "Replace" -msgstr "Замінити" +msgid "Always active." +msgstr "Завжди активно." -msgid "Go to parent folder" -msgstr "Перейти до батьківської теки" +msgid "Transforms" +msgstr "Трансформації" -msgid "Refresh files" -msgstr "Оновити файли" +msgid "Input" +msgstr "Пристрої вводу" -msgid "Toggle the visibility of hidden files" -msgstr "Перемикнути видимість прихованих файлів" +msgid "Miscellaneous" +msgstr "" -msgid "Search files" -msgstr "Пошук файлів" +msgid "Any changes will apply immediately." +msgstr "Будь-які зміни будуть застосовані одразу." -msgid "Select an SVG" -msgstr "Обрати SVG" +#, fuzzy +msgid "Formatting" +msgstr "Автоформатування" -msgid "Save SVG" -msgstr "Зберегти SVG" +msgid "Shortcuts" +msgstr "Клавіатурні скорочення" -msgid "Select" -msgstr "Обрати" +msgid "Theme" +msgstr "Тема" -msgid "" -"A file named \"{file_name}\" already exists. Replacing will overwrite its " -"contents!" -msgstr "" -"Файл з назваою \"{file_name}\" вже існує. Його заміна призведе до перезапису " -"його вмісту!" +msgid "Other" +msgstr "Інше" -msgid "Godot third-party components" -msgstr "Компоненти Godot від третіх сторін" +msgid "Invert zoom direction" +msgstr "Інвертувати напрямок масштабування" -msgid "Undo" -msgstr "Скасувати" +msgid "Wrap mouse" +msgstr "Захопити мишу" -msgid "Redo" -msgstr "Повернути" +msgid "Use CTRL for zooming" +msgstr "Використовувати CTRL для масштабування" -msgid "Copy" -msgstr "Скопіювати" +#, fuzzy +msgid "Handles size" +msgstr "Колір ручки редагування" -msgid "Paste" -msgstr "Вставити" +msgid "UI scale" +msgstr "Масштаб інтерфейсу" -msgid "Copy as XML" -msgstr "Скопіювати як XML" +#, fuzzy +msgid "Auto UI scale" +msgstr "Масштаб" -msgid "Paste XML" -msgstr "Вставити XML" +msgid "Language" +msgstr "Мова" -msgid "Unused" -msgstr "Не використовується" +msgid "File" +msgstr "Файл" -msgid "Cut" -msgstr "Вирізати" +msgid "View" +msgstr "Перегляд" -msgid "Alert!" -msgstr "Увага!" +msgid "Tool" +msgstr "Інструмент" -msgid "" -"The file couldn't be opened.\n" -"Try checking the file path, ensure that the file is not deleted, or choose a " -"different file." +msgid "Swaps zoom in and zoom out with the mouse wheel." msgstr "" -"Неможливо відкрити файл.\n" -"Спробуйте перевірити шлях до файлу, впевніться що файл не видалений або " -"оберіть інший файл." +"Міняє місцями збільшення і зменшення масштабування через коліщатко миші." -msgid "" -"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " -"are supported." +msgid "Wraps the mouse cursor around when panning the viewport." msgstr "" -"\"{passed_extension}\" це розширення файлу яке не підтримується. " -"Підтримуються тільки «svg» файли." - -msgid "The file extension is empty. Only \"svg\" files are supported." -msgstr "Розширення файлу порожнє. Підтримується тільки «svg» файли." - -msgid "OK" -msgstr "Добре" +"Курсор буде телепортуватися від одного краю до протилежного при пересуванні " +"вікна перегляду." -msgid "Autoformatting" -msgstr "Автоформатування" +msgid "" +"If turned on, scrolling will pan the view. To zoom, hold CTRL while " +"scrolling." +msgstr "" +"Якщо увімкнено, гортання буде рухати вікно перегляду. Щоб масштабувати, " +"затисніть CTRL доки гортаєте." -msgid "General" -msgstr "Загальні" +msgid "Use native file dialog" +msgstr "" -msgid "Numbers" -msgstr "Цифри" +msgid "" +"If turned on, uses your operating system's native file dialog. If turned " +"off, uses GodSVG's built-in file dialog." +msgstr "" -msgid "Colors" -msgstr "Кольори" +msgid "Increases the visual size and grabbing area of handles." +msgstr "" -msgid "Paths" -msgstr "Шляхи" +msgid "Changes the scale of the visual user interface." +msgstr "Змінити масштаб інтерфейсу користувача." -msgid "Transforms" -msgstr "Трансформації" +msgid "Scales the user interface based on the screen size." +msgstr "" msgid "Number precision digits" msgstr "Кількість цифр точності чисел" @@ -469,9 +445,6 @@ msgstr "Видалити заповнюючи нулі" msgid "Remove leading zero" msgstr "Видалити початковий нуль" -msgid "Remove plus sign" -msgstr "Видалити знак плюс" - msgid "Convert rgb format to hex" msgstr "Конвертувати rgb формат у hex" @@ -499,41 +472,125 @@ msgstr "Видалити послідовні команди" msgid "Remove unnecessary parameters" msgstr "Видалити необов'язкові параметри" -msgid "Relative" -msgstr "Відносно" +msgid "Symbol color" +msgstr "Колір символу" -msgid "Absolute" -msgstr "Абсолютна" +msgid "Tag color" +msgstr "Колір тегу" -msgid "Clear saving path" -msgstr "Очистити шлях збереження" +msgid "Attribute color" +msgstr "Колір атрибуту" -msgid "Apply the matrix" -msgstr "Застосувати матрицю" +msgid "String color" +msgstr "Колір строки" -msgid "Other" -msgstr "Інше" +msgid "Comment color" +msgstr "Колір коментаря" + +msgid "Text color" +msgstr "Колір тексту" + +msgid "CDATA color" +msgstr "Колір CDATA" + +msgid "Error color" +msgstr "Колір помилки" + +msgid "Inside color" +msgstr "Внутрішній колір" + +msgid "Normal color" +msgstr "Звичайний колір" + +msgid "Hovered color" +msgstr "Колір наведеного" + +msgid "Selected color" +msgstr "Колір обраного" + +msgid "Hovered selected color" +msgstr "Колір наведено-виділеного" + +msgid "Valid color" +msgstr "Колір валідності" + +msgid "Warning color" +msgstr "Колір попередження" + +msgid "Save the .\"{extension}\" file" +msgstr "" + +msgid "Import a .svg file" +msgstr "" + +msgid "The file extension is empty. Only \"svg\" files are supported." +msgstr "Розширення файлу порожнє. Підтримується тільки «svg» файли." + +msgid "" +"\"{passed_extension}\" is a unsupported file extension. Only \"svg\" files " +"are supported." +msgstr "" +"\"{passed_extension}\" це розширення файлу яке не підтримується. " +"Підтримуються тільки «svg» файли." + +msgid "" +"The file couldn't be opened.\n" +"Try checking the file path, ensure that the file is not deleted, or choose a " +"different file." +msgstr "" +"Неможливо відкрити файл.\n" +"Спробуйте перевірити шлях до файлу, впевніться що файл не видалений або " +"оберіть інший файл." + +msgid "Duplicate" +msgstr "Дублювати" + +msgid "Convert To" +msgstr "Конвертувати в" + +msgid "Import" +msgstr "Імпортувати" msgid "Optimize" msgstr "Оптимізувати" -msgid "Any changes will apply immediately." -msgstr "Будь-які зміни будуть застосовані одразу." +msgid "Select all tags" +msgstr "Обрати усі теги" -msgid "Always active." -msgstr "Завжди активно." +msgid "Duplicate the selected tags" +msgstr "Дублювати обрані теги" -msgid "Search color" -msgstr "Шукати колір" +msgid "Delete the selection" +msgstr "Видалити усі обрані теги" -msgid "File" -msgstr "Файл" +msgid "Move the selected tags up" +msgstr "Пересунути усі обрані теги вгору" -msgid "View" -msgstr "Перегляд" +msgid "Move the selected tags down" +msgstr "Пересунути усі обрані теги вниз" -msgid "Tool" -msgstr "Інструмент" +msgid "Zoom in" +msgstr "Збільшити масштаб" + +msgid "Zoom out" +msgstr "Зменшити масштаб" + +msgid "Zoom reset" +msgstr "Скинути масштаб" + +#, fuzzy +msgid "Show grid" +msgstr "Показати ґратку" + +#, fuzzy +msgid "Show handles" +msgstr "Показати ручки редагування" + +msgid "Show rasterized SVG" +msgstr "Показати растеризуваний SVG" + +msgid "View debug information" +msgstr "" msgid "Move to" msgstr "Пересунути до" @@ -565,6 +622,18 @@ msgstr "Кубічна Безьє до" msgid "Shorthand Cubic Bezier to" msgstr "Скорочена кубічна Безьє до" +#~ msgid "Documentation…" +#~ msgstr "Документація…" + +#~ msgid "Couple/Decouple" +#~ msgstr "З’єднати/Роз’єднати" + +#~ msgid "Add color" +#~ msgstr "Додати колір" + +#~ msgid "Remove plus sign" +#~ msgstr "Видалити знак плюс" + #~ msgid "Default value opacity" #~ msgstr "Стандартне значення непрозорості" diff --git a/translations/update_po_files.sh b/translations/update_po_files.sh deleted file mode 100644 index b73c019a..00000000 --- a/translations/update_po_files.sh +++ /dev/null @@ -1,13 +0,0 @@ -script_dir=$(dirname "$(readlink -f "$0")") -cd "$script_dir" || exit -count=$(find *.po -maxdepth 1 -type f | wc -l) -printf "Found $count po files.\n\n" -for file in ./*.po; do - printf "Updating $file: " - msgmerge --update --quiet --verbose --backup=off $file GodSVG.pot - if [ "$?" != "0" ]; then # Exit loop on error. - printf "\nUpdating failed, exiting.\n" - exit - fi -done -printf "\nUpdating completed!\n" diff --git a/visual/godot_only/BetterTabContainer.svg b/visual/godot_only/BetterTabContainer.svg deleted file mode 100644 index dbbe5040..00000000 --- a/visual/godot_only/BetterTabContainer.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/visual/godot_only/BetterTabContainer.svg.import b/visual/godot_only/BetterTabContainer.svg.import deleted file mode 100644 index cf1decb4..00000000 --- a/visual/godot_only/BetterTabContainer.svg.import +++ /dev/null @@ -1,38 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dik23f7kjhi1r" -path="res://.godot/imported/BetterTabContainer.svg-b59f1193efcf3a0542be2fa37ce93044.ctex" -metadata={ -"has_editor_variant": true, -"vram_texture": false -} - -[deps] - -source_file="res://visual/godot_only/BetterTabContainer.svg" -dest_files=["res://.godot/imported/BetterTabContainer.svg-b59f1193efcf3a0542be2fa37ce93044.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=true -editor/convert_colors_with_editor_theme=false diff --git a/visual/icons/Coupled.svg b/visual/icons/Coupled.svg deleted file mode 100644 index c9dd5197..00000000 --- a/visual/icons/Coupled.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/visual/icons/Coupled.svg.import b/visual/icons/Coupled.svg.import deleted file mode 100644 index 726539b4..00000000 --- a/visual/icons/Coupled.svg.import +++ /dev/null @@ -1,37 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://bv4lcvienlyfa" -path="res://.godot/imported/Coupled.svg-3d6033e33c0d683c66c8a06e6e4a2fe2.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://visual/icons/Coupled.svg" -dest_files=["res://.godot/imported/Coupled.svg-3d6033e33c0d683c66c8a06e6e4a2fe2.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false diff --git a/visual/icons/Decoupled.svg b/visual/icons/Decoupled.svg deleted file mode 100644 index bd444375..00000000 --- a/visual/icons/Decoupled.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/visual/icons/Decoupled.svg.import b/visual/icons/Decoupled.svg.import deleted file mode 100644 index 3d44eeba..00000000 --- a/visual/icons/Decoupled.svg.import +++ /dev/null @@ -1,37 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://3bnqye3n8fjx" -path="res://.godot/imported/Decoupled.svg-ebb469cb41419e74f42f3ef77e3f9498.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://visual/icons/Decoupled.svg" -dest_files=["res://.godot/imported/Decoupled.svg-ebb469cb41419e74f42f3ef77e3f9498.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false