From 92fcf8faca2d6d27be2d010412988fde853f8a1e Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Thu, 11 Aug 2022 01:32:23 +0300 Subject: [PATCH] Update translations, rename "New tab" to "New project" Addresses the first half of #735. --- Translations/Translations.pot | 46 ++++++++++++++++++++++- src/UI/Dialogs/PreviewDialog.gd | 4 +- src/UI/Dialogs/TileModeOffsetsDialog.tscn | 5 ++- src/UI/TopMenuContainer.gd | 2 +- 4 files changed, 51 insertions(+), 6 deletions(-) diff --git a/Translations/Translations.pot b/Translations/Translations.pot index 8b9dd09dc..b659fa850 100644 --- a/Translations/Translations.pot +++ b/Translations/Translations.pot @@ -151,12 +151,27 @@ msgstr "" msgid "Rotate Image" msgstr "" +msgid "Pivot (x, y):" +msgstr "" + +msgid "Smear options:" +msgstr "" + +msgid "Tolerance:" +msgstr "" + +msgid "Initial angle:" +msgstr "" + msgid "Clear" msgstr "" msgid "Invert" msgstr "" +msgid "Grayscale View" +msgstr "" + msgid "Mirror Image" msgstr "" @@ -172,6 +187,33 @@ msgstr "" msgid "Tile Mode" msgstr "" +msgid "Tile Mode Offsets" +msgstr "" + +msgid "X-basis x:" +msgstr "" + +msgid "X-basis y:" +msgstr "" + +msgid "Y-basis x:" +msgstr "" + +msgid "Y-basis y:" +msgstr "" + +msgid "Tile Mask" +msgstr "" + +msgid "Reset" +msgstr "" + +msgid "Use Current Frame" +msgstr "" + +msgid "Reset Mask" +msgstr "" + msgid "Window Opacity" msgstr "" @@ -259,10 +301,10 @@ msgstr "" msgid "Recent projects" msgstr "" -msgid "New tab" +msgid "New project" msgstr "" -msgid "Spritesheet (new tab)" +msgid "Spritesheet (new project)" msgstr "" msgid "Spritesheet (new layer)" diff --git a/src/UI/Dialogs/PreviewDialog.gd b/src/UI/Dialogs/PreviewDialog.gd index 50ba56889..14ac0e10c 100644 --- a/src/UI/Dialogs/PreviewDialog.gd +++ b/src/UI/Dialogs/PreviewDialog.gd @@ -43,8 +43,8 @@ func _on_PreviewDialog_about_to_show() -> void: return opened_once = true # # order as in ImageImportOptions enum - import_options.add_item("New tab") - import_options.add_item("Spritesheet (new tab)") + import_options.add_item("New project") + import_options.add_item("Spritesheet (new project)") import_options.add_item("Spritesheet (new layer)") import_options.add_item("New frame") import_options.add_item("Replace frame") diff --git a/src/UI/Dialogs/TileModeOffsetsDialog.tscn b/src/UI/Dialogs/TileModeOffsetsDialog.tscn index 8bd4b9793..c913d7a42 100644 --- a/src/UI/Dialogs/TileModeOffsetsDialog.tscn +++ b/src/UI/Dialogs/TileModeOffsetsDialog.tscn @@ -105,6 +105,7 @@ suffix = "px" margin_top = 112.0 margin_right = 61.0 margin_bottom = 132.0 +mouse_default_cursor_shape = 2 text = "Reset" [node name="VSeparator" type="VSeparator" parent="VBoxContainer/HBoxContainer"] @@ -151,7 +152,8 @@ margin_right = 136.0 margin_bottom = 132.0 rect_min_size = Vector2( 100, 0 ) hint_tooltip = "Create the Tile Mask from Current Frame" -text = "Current Frame?" +mouse_default_cursor_shape = 2 +text = "Use Current Frame" clip_text = true [node name="ResetMask" type="Button" parent="VBoxContainer/HBoxContainer/Mask"] @@ -160,6 +162,7 @@ margin_right = 136.0 margin_bottom = 156.0 rect_min_size = Vector2( 100, 0 ) hint_tooltip = "Create the Tile Mask from Current Frame" +mouse_default_cursor_shape = 2 disabled = true text = "Reset Mask" clip_text = true diff --git a/src/UI/TopMenuContainer.gd b/src/UI/TopMenuContainer.gd index 6030585d3..f53841af7 100644 --- a/src/UI/TopMenuContainer.gd +++ b/src/UI/TopMenuContainer.gd @@ -106,7 +106,7 @@ func _setup_view_menu() -> void: var view_menu_items := [ "Tile Mode", "Tile Mode Offsets", - "Greyscale View", + "Grayscale View", "Mirror View", "Show Grid", "Show Pixel Grid",