1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Rename "trim sprite" to "trim images" and add the related strings to Translations.pot

"Trim images" should be a more fitting name for this option, as it's quite common to export multiple images and the use of plural makes it more clear that this option applies to all exported images.
This commit is contained in:
Emmanouil Papadeas 2024-09-11 16:45:16 +03:00
parent a5a74e99a3
commit 54068895bc
3 changed files with 14 additions and 6 deletions

View file

@ -2649,6 +2649,14 @@ msgstr ""
msgid "The character(s) that separate the file name and the frame number" msgid "The character(s) that separate the file name and the frame number"
msgstr "" msgstr ""
#. Found in the export dialog. It is an option that removes the transparent area around non-transparent pixels of the exported images.
msgid "Trim images"
msgstr ""
#. Found in the export dialog. Tooltip of the "trim images" option.
msgid "Trims the exported images to their visible portion, considering each pixel with a non-zero alpha channel as visible."
msgstr ""
msgid "Close" msgid "Close"
msgstr "" msgstr ""

View file

@ -457,8 +457,8 @@ func _on_MultipleAnimationsDirectories_toggled(button_pressed: bool) -> void:
Export.new_dir_for_each_frame_tag = button_pressed Export.new_dir_for_each_frame_tag = button_pressed
func _on_TrimSprite_toggled(toggled_on: bool) -> void: func _on_trim_images_toggled(toggled_on: bool) -> void:
Export.trim_sprite = toggled_on Export.trim_images = toggled_on
Export.process_data() Export.process_data()
set_preview() set_preview()

View file

@ -318,11 +318,11 @@ tooltip_text = "Creates multiple files but every file is stored in different fol
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
text = "Create new folder for each frame tag" text = "Create new folder for each frame tag"
[node name="TrimSprite" type="CheckBox" parent="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer" groups=["ExportImageOptions", "ExportMultipleFilesOptions"]] [node name="TrimImages" type="CheckBox" parent="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer" groups=["ExportImageOptions", "ExportMultipleFilesOptions"]]
layout_mode = 2 layout_mode = 2
tooltip_text = "Trims sprite to visible portion of the spirte, considering each pixel with a non-zero alpha channel as visible." tooltip_text = "Trims the exported images to their visible portion, considering each pixel with a non-zero alpha channel as visible."
mouse_default_cursor_shape = 2 mouse_default_cursor_shape = 2
text = "Trim Sprite" text = "Trim images"
[node name="PathDialog" type="FileDialog" parent="." groups=["FileDialogs"]] [node name="PathDialog" type="FileDialog" parent="." groups=["FileDialogs"]]
mode = 2 mode = 2
@ -378,7 +378,7 @@ size_flags_horizontal = 3
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/SplitLayers" to="." method="_on_split_layers_toggled"] [connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/SplitLayers" to="." method="_on_split_layers_toggled"]
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/IncludeTagsInFilename" to="." method="_on_IncludeTagsInFilename_toggled"] [connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/IncludeTagsInFilename" to="." method="_on_IncludeTagsInFilename_toggled"]
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/MultipleAnimationsDirectories" to="." method="_on_MultipleAnimationsDirectories_toggled"] [connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/MultipleAnimationsDirectories" to="." method="_on_MultipleAnimationsDirectories_toggled"]
[connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/TrimSprite" to="." method="_on_TrimSprite_toggled"] [connection signal="toggled" from="VBoxContainer/VSplitContainer/VBoxContainer/AdvancedOptions/GridContainer/TrimImages" to="." method="_on_trim_images_toggled"]
[connection signal="canceled" from="PathDialog" to="." method="_on_path_dialog_canceled"] [connection signal="canceled" from="PathDialog" to="." method="_on_path_dialog_canceled"]
[connection signal="dir_selected" from="PathDialog" to="." method="_on_path_dialog_dir_selected"] [connection signal="dir_selected" from="PathDialog" to="." method="_on_path_dialog_dir_selected"]
[connection signal="confirmed" from="FileExistsAlert" to="." method="_on_FileExistsAlert_confirmed"] [connection signal="confirmed" from="FileExistsAlert" to="." method="_on_FileExistsAlert_confirmed"]