From 74e3ff9f0b8255b1bd31207005b99854393d9595 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Sun, 6 Aug 2023 18:03:56 +0300 Subject: [PATCH] Add strings for translation --- Translations/Translations.pot | 34 +++++++++++++++++++++++++++++++ src/UI/Dialogs/PreviewDialog.tscn | 7 ++++--- 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 391861a6a..c13a08847 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -344,6 +344,7 @@ msgstr "" msgid "Import as:" msgstr "" +#. Found in the preview image dialog, which appears when importing an image file. msgid "Apply to all" msgstr "" @@ -353,15 +354,18 @@ msgstr "" msgid "New project" msgstr "" +#. Found in the preview image dialog, which appears when importing an image file. msgid "Spritesheet (new project)" msgstr "" +#. Found in the preview image dialog, which appears when importing an image file. msgid "Spritesheet (new layer)" msgstr "" msgid "New frame" msgstr "" +#. Found in the preview image dialog, which appears when importing an image file. msgid "Replace cel" msgstr "" @@ -386,6 +390,26 @@ msgstr "" msgid "Vertical frames:" msgstr "" +#. Found 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 it's enabled, the software will slice it into frames automatically. +msgid "Smart Slice" +msgstr "" + +#. A value that is a threshold +msgid "Threshold:" +msgstr "" + +#. Found 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. Hint tooltip of the "Threshold" value slider. +msgid "Images that have any one side smaller than this value will cross the threshold" +msgstr "" + +#. Found 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 "Merge distance:" +msgstr "" + +#. Found 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. Hint tooltip of the "Merge distance" value slider. +msgid "Images will get merged to the larger image that has crossed the threshold, if they are within this distance" +msgstr "" + msgid "Start frame:" msgstr "" @@ -640,12 +664,22 @@ msgstr "" msgid "Restore default value" msgstr "" +#. Found in the preferences, under Canvas. msgid "Smooth Zoom" msgstr "" +#. Found in the preferences, under Canvas. Hint tooltip of "Smooth Zoom". msgid "Adds a smoother transition when zooming in or out" msgstr "" +#. Found in the preferences, under Canvas. +msgid "Integer Zoom" +msgstr "" + +#. Found in the preferences, under Canvas. Hint tooltip of "Integer Zoom". +msgid "Restricts the value to be an integral multiple of 100%" +msgstr "" + msgid "Tablet pressure sensitivity:" msgstr "" diff --git a/src/UI/Dialogs/PreviewDialog.tscn b/src/UI/Dialogs/PreviewDialog.tscn index cf5050eca..d92ba8cfc 100644 --- a/src/UI/Dialogs/PreviewDialog.tscn +++ b/src/UI/Dialogs/PreviewDialog.tscn @@ -141,7 +141,7 @@ size_flags_horizontal = 3 [node name="Threshold" parent="VBoxContainer/HBoxContainer/SpritesheetTabOptions/Smart" instance=ExtResource( 2 )] margin_right = 195.0 -hint_tooltip = "Image having any one side smaller than this value will closs the threshold" +hint_tooltip = "Images that have any one side smaller than this value will cross the threshold" min_value = 1.0 value = 10.0 allow_greater = true @@ -150,8 +150,7 @@ prefix = "Threshold:" [node name="MergeDist" parent="VBoxContainer/HBoxContainer/SpritesheetTabOptions/Smart" instance=ExtResource( 2 )] margin_left = 199.0 margin_right = 394.0 -hint_tooltip = "image (that crossed the threshold), this distance apart to any other image -will get merged with that image" +hint_tooltip = "Images will get merged to the larger image that has crossed the threshold, if they are within this distance" value = 3.0 prefix = "Merge distance:" @@ -159,12 +158,14 @@ prefix = "Merge distance:" margin_left = 398.0 margin_right = 458.0 margin_bottom = 24.0 +mouse_default_cursor_shape = 2 text = "Refresh" [node name="SmartSlice" type="CheckBox" parent="VBoxContainer/HBoxContainer/SpritesheetTabOptions"] margin_top = 28.0 margin_right = 378.0 margin_bottom = 52.0 +mouse_default_cursor_shape = 2 text = "Smart Slice" [node name="SpritesheetLayerOptions" type="HBoxContainer" parent="VBoxContainer/HBoxContainer"]