From e4aff633bbbb3778d70961f40d7ee2d8373a8a6c Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 25 Jun 2021 17:58:41 +0300 Subject: [PATCH] Change "Current cel" strings to "Selected cels" Because now we have the ability to select multiple cels --- Translations/Translations.pot | 3 +++ src/Palette/CreatePaletteDialog.tscn | 2 +- src/UI/Dialogs/ImageEffects/DesaturateDialog.tscn | 4 ++-- src/UI/Dialogs/ImageEffects/FlipImageDialog.tscn | 5 +++-- src/UI/Dialogs/ImageEffects/GradientDialog.tscn | 4 ++-- src/UI/Dialogs/ImageEffects/HSVDialog.tscn | 4 ++-- src/UI/Dialogs/ImageEffects/InvertColorsDialog.tscn | 4 ++-- src/UI/Dialogs/ImageEffects/OutlineDialog.tscn | 4 ++-- src/UI/Dialogs/ImageEffects/RotateImage.tscn | 5 +++-- 9 files changed, 20 insertions(+), 15 deletions(-) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 558d4dda6..44d80383d 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -512,6 +512,9 @@ msgstr "" msgid "Only affect selection" msgstr "" +msgid "Selected cels" +msgstr "" + msgid "Current cel" msgstr "" diff --git a/src/Palette/CreatePaletteDialog.tscn b/src/Palette/CreatePaletteDialog.tscn index a46fdcb80..9990cfd09 100644 --- a/src/Palette/CreatePaletteDialog.tscn +++ b/src/Palette/CreatePaletteDialog.tscn @@ -153,7 +153,7 @@ rect_min_size = Vector2( 0, 24 ) mouse_default_cursor_shape = 2 size_flags_horizontal = 3 text = "Current frame" -items = [ "Current frame", null, false, 0, null, "Current cel", null, false, 1, null, "All frames", null, false, 2, null ] +items = [ "Current frame", null, false, 0, null, "Selected cels", null, false, 1, null, "All frames", null, false, 2, null ] selected = 0 [node name="AlreadyExistsWarning" type="Label" parent="VBoxContainer"] diff --git a/src/UI/Dialogs/ImageEffects/DesaturateDialog.tscn b/src/UI/Dialogs/ImageEffects/DesaturateDialog.tscn index b6a66bf32..35955fa1d 100644 --- a/src/UI/Dialogs/ImageEffects/DesaturateDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/DesaturateDialog.tscn @@ -94,8 +94,8 @@ margin_left = 164.0 margin_right = 263.0 margin_bottom = 24.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 [connection signal="toggled" from="VBoxContainer/RGBAContainer/RButton" to="." method="_on_RButton_toggled"] diff --git a/src/UI/Dialogs/ImageEffects/FlipImageDialog.tscn b/src/UI/Dialogs/ImageEffects/FlipImageDialog.tscn index b1a07cda4..c004454f9 100644 --- a/src/UI/Dialogs/ImageEffects/FlipImageDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/FlipImageDialog.tscn @@ -65,8 +65,9 @@ margin_top = 28.0 margin_right = 267.0 margin_bottom = 52.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 + [connection signal="toggled" from="VBoxContainer/OptionsContainer/FlipHorizontal" to="." method="_on_FlipHorizontal_toggled"] [connection signal="toggled" from="VBoxContainer/OptionsContainer/FlipVertical" to="." method="_on_FlipVertical_toggled"] diff --git a/src/UI/Dialogs/ImageEffects/GradientDialog.tscn b/src/UI/Dialogs/ImageEffects/GradientDialog.tscn index 4caa08cd2..5ae0b9ddf 100644 --- a/src/UI/Dialogs/ImageEffects/GradientDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/GradientDialog.tscn @@ -113,8 +113,8 @@ margin_top = 76.0 margin_right = 285.0 margin_bottom = 100.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 [connection signal="color_changed" from="VBoxContainer/OptionsContainer/ColorsContainer/ColorPickerButton" to="." method="_on_ColorPickerButton_color_changed"] diff --git a/src/UI/Dialogs/ImageEffects/HSVDialog.tscn b/src/UI/Dialogs/ImageEffects/HSVDialog.tscn index a28606c55..29dcd9eae 100644 --- a/src/UI/Dialogs/ImageEffects/HSVDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/HSVDialog.tscn @@ -147,8 +147,8 @@ margin_left = 164.0 margin_right = 263.0 margin_bottom = 24.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 [connection signal="value_changed" from="VBoxContainer/HBoxContainer/Sliders/Hue" to="." method="_on_Hue_value_changed"] diff --git a/src/UI/Dialogs/ImageEffects/InvertColorsDialog.tscn b/src/UI/Dialogs/ImageEffects/InvertColorsDialog.tscn index 013388d6f..028d00081 100644 --- a/src/UI/Dialogs/ImageEffects/InvertColorsDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/InvertColorsDialog.tscn @@ -94,8 +94,8 @@ margin_left = 164.0 margin_right = 263.0 margin_bottom = 24.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 [connection signal="toggled" from="VBoxContainer/RGBAContainer/RButton" to="." method="_on_RButton_toggled"] diff --git a/src/UI/Dialogs/ImageEffects/OutlineDialog.tscn b/src/UI/Dialogs/ImageEffects/OutlineDialog.tscn index 3cc36c4e6..34402292f 100644 --- a/src/UI/Dialogs/ImageEffects/OutlineDialog.tscn +++ b/src/UI/Dialogs/ImageEffects/OutlineDialog.tscn @@ -105,8 +105,8 @@ margin_top = 80.0 margin_right = 312.0 margin_bottom = 104.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 [connection signal="value_changed" from="VBoxContainer/OptionsContainer/ThickValue" to="." method="_on_ThickValue_value_changed"] diff --git a/src/UI/Dialogs/ImageEffects/RotateImage.tscn b/src/UI/Dialogs/ImageEffects/RotateImage.tscn index 015751498..aa7c50ff0 100644 --- a/src/UI/Dialogs/ImageEffects/RotateImage.tscn +++ b/src/UI/Dialogs/ImageEffects/RotateImage.tscn @@ -104,9 +104,10 @@ margin_left = 164.0 margin_right = 263.0 margin_bottom = 24.0 mouse_default_cursor_shape = 2 -text = "Current cel" -items = [ "Current cel", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] +text = "Selected cels" +items = [ "Selected cels", null, false, 0, null, "Current frame", null, false, 1, null, "All frames", null, false, 2, null, "All projects", null, false, 3, null ] selected = 0 + [connection signal="item_selected" from="VBoxContainer/HBoxContainer2/TypeOptionButton" to="." method="_on_TypeOptionButton_item_selected"] [connection signal="value_changed" from="VBoxContainer/AngleOptions/AngleHSlider" to="." method="_on_HSlider_value_changed"] [connection signal="value_changed" from="VBoxContainer/AngleOptions/AngleSpinBox" to="." method="_on_SpinBox_value_changed"]