diff options
| author | Andreas Haas | 2017-08-23 22:25:14 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-08-25 18:49:45 +0200 |
| commit | 6134d8741d6b255751e7b2811be85b60ef916269 (patch) | |
| tree | 27edc499e4ecced86630715232f7adfa62f9b3c4 /editor/plugins/tile_map_editor_plugin.cpp | |
| parent | a1c03a69d2940fb69d7221800e919f4a183fec0c (diff) | |
| download | godot-6134d87.tar.gz godot-6134d87.tar.zst godot-6134d87.zip | |
Editor: Add some more translatable strings.
Diffstat (limited to 'editor/plugins/tile_map_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_map_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/tile_map_editor_plugin.cpp b/editor/plugins/tile_map_editor_plugin.cpp index d89fe43ed..6749f2420 100644 --- a/editor/plugins/tile_map_editor_plugin.cpp +++ b/editor/plugins/tile_map_editor_plugin.cpp @@ -106,7 +106,7 @@ void TileMapEditor::_menu_option(int p_option) { if (!selection_active) return; - undo_redo->create_action("Erase Selection"); + undo_redo->create_action(TTR("Erase Selection")); for (int i = rectangle.position.y; i <= rectangle.position.y + rectangle.size.y; i++) { for (int j = rectangle.position.x; j <= rectangle.position.x + rectangle.size.x; j++) { @@ -730,7 +730,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { if (id != TileMap::INVALID_CELL) { - undo_redo->create_action("Line Draw"); + undo_redo->create_action(TTR("Line Draw")); for (Map<Point2i, CellOp>::Element *E = paint_undo.front(); E; E = E->next()) { _set_cell(E->key(), id, flip_h, flip_v, transpose, true); @@ -747,7 +747,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { if (id != TileMap::INVALID_CELL) { - undo_redo->create_action("Rectangle Paint"); + undo_redo->create_action(TTR("Rectangle Paint")); for (int i = rectangle.position.y; i <= rectangle.position.y + rectangle.size.y; i++) { for (int j = rectangle.position.x; j <= rectangle.position.x + rectangle.size.x; j++) { @@ -796,7 +796,7 @@ bool TileMapEditor::forward_gui_input(const Ref<InputEvent> &p_event) { op["flip_v"] = flip_v; op["transpose"] = transpose; - undo_redo->create_action("Bucket Fill"); + undo_redo->create_action(TTR("Bucket Fill")); undo_redo->add_do_method(this, "_fill_points", points, op); undo_redo->add_undo_method(this, "_fill_points", points, pop); |
