1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-22 05:23:14 +00:00

Change strings of the select menu

This commit is contained in:
Manolis Papadeas 2021-05-11 19:48:16 +03:00
parent 0b9eb2bbed
commit 9e7de0022e
2 changed files with 6 additions and 3 deletions

View file

@ -136,7 +136,10 @@ msgstr ""
msgid "Rotate Image" msgid "Rotate Image"
msgstr "" msgstr ""
msgid "Clear Selection" msgid "Clear"
msgstr ""
msgid "Invert"
msgstr "" msgstr ""
msgid "Flip" msgid "Flip"

View file

@ -176,8 +176,8 @@ func setup_image_menu() -> void:
func setup_select_menu() -> void: func setup_select_menu() -> void:
var select_menu_items := { # order as in EditMenuId enum var select_menu_items := { # order as in EditMenuId enum
"Select All" : InputMap.get_action_list("select_all")[0].get_scancode_with_modifiers(), "All" : InputMap.get_action_list("select_all")[0].get_scancode_with_modifiers(),
"Clear Selection" : InputMap.get_action_list("clear_selection")[0].get_scancode_with_modifiers(), "Clear" : InputMap.get_action_list("clear_selection")[0].get_scancode_with_modifiers(),
"Invert" : InputMap.get_action_list("invert_selection")[0].get_scancode_with_modifiers(), "Invert" : InputMap.get_action_list("invert_selection")[0].get_scancode_with_modifiers(),
} }
var select_menu : PopupMenu = select_menu_button.get_popup() var select_menu : PopupMenu = select_menu_button.get_popup()