-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
325 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ timers/tooltip_delay_sec=0.4 | |
|
||
[input] | ||
|
||
optimize_svg={ | ||
optimize={ | ||
"deadzone": 0.5, | ||
"events": [] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
class_name TranslationUtils extends RefCounted | ||
|
||
func get_shortcut_description(action_name: String) -> String: | ||
match action_name: | ||
"export": return tr("Export") | ||
"import": return tr("Import") | ||
"save": return tr("Save SVG") | ||
"optimize": return tr("Optimize") | ||
"copy_svg_text": return tr("Copy all text") | ||
"reset_svg": return tr("Reset SVG") | ||
"clear_svg": return tr("Clear SVG") | ||
"clear_file_path": return tr("Clear saving path") | ||
"undo": return tr("Undo") | ||
"redo": return tr("Redo") | ||
"select_all": return tr("Select all tags") | ||
"duplicate": return tr("Duplicate the selected tags") | ||
"delete": return tr("Delete the selection") | ||
"move_up": return tr("Move the selected tags up") | ||
"move_down": return tr("Move the selected tags down") | ||
"zoom_in": return tr("Zoom in") | ||
"zoom_out": return tr("Zoom out") | ||
"zoom_reset": return tr("Zoom reset") | ||
"view_show_grid": return tr("Show grid") | ||
"view_show_handles": return tr("Show handles") | ||
"view_rasterize_svg": return tr("Show rasterized SVG") | ||
_: return action_name | ||
|
||
|
||
func get_command_char_description(command_char: String) -> String: | ||
match command_char: | ||
"M", "m": return tr("Move to") | ||
"L", "l": return tr("Line to") | ||
"H", "h": return tr("Horizontal Line to") | ||
"V", "v": return tr("Vertical Line to") | ||
"Z", "z": return tr("Close Path") | ||
"A", "a": return tr("Elliptical Arc to") | ||
"Q", "q": return tr("Quadratic Bezier to") | ||
"T", "t": return tr("Shorthand Quadratic Bezier to") | ||
"C", "c": return tr("Cubic Bezier to") | ||
"S", "s": return tr("Shorthand Cubic Bezier to") | ||
_: return command_char |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.