From 332a06fb5ee428edcdbcd154435fbed3ae8f6dcd Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Mon, 7 Aug 2023 15:25:33 +0300 Subject: [PATCH] Add px suffix in PreviewDialog and new string in Translations.pot --- Translations/Translations.pot | 4 ++++ src/UI/Dialogs/PreviewDialog.tscn | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 2cba58b78..fb38ac224 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -410,6 +410,10 @@ msgstr "" msgid "Images which crossed the threshold will get merged into a larger image, if they are within this distance" msgstr "" +#. A button that, when pressed, refreshes something. Used to apply certain settings again after they changed. Currently it's only used in the preview image dialog, which appears when importing an image file. This option appears when the image is being imported as a spritesheet, if "smart slice" is enabled. +msgid "Refresh" +msgstr "" + msgid "Start frame:" msgstr "" diff --git a/src/UI/Dialogs/PreviewDialog.tscn b/src/UI/Dialogs/PreviewDialog.tscn index 595c97bb5..2f900ea16 100644 --- a/src/UI/Dialogs/PreviewDialog.tscn +++ b/src/UI/Dialogs/PreviewDialog.tscn @@ -146,6 +146,7 @@ min_value = 1.0 value = 10.0 allow_greater = true prefix = "Threshold:" +suffix = "px" [node name="MergeDist" parent="VBoxContainer/HBoxContainer/SpritesheetTabOptions/Smart" instance=ExtResource( 2 )] margin_left = 199.0 @@ -153,6 +154,7 @@ margin_right = 394.0 hint_tooltip = "Images which crossed the threshold will get merged into a larger image, if they are within this distance" value = 3.0 prefix = "Merge distance:" +suffix = "px" [node name="Slice" type="Button" parent="VBoxContainer/HBoxContainer/SpritesheetTabOptions/Smart"] margin_left = 398.0