diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-20 09:45:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-20 09:45:17 +0200 |
| commit | 87d8927ab026f8c66e71ca04d57c497f8d5d8b89 (patch) | |
| tree | 116f76a15b4f4e372c193c2ba4906b3cd7ccbcbc /editor/plugins/node_3d_editor_plugin.cpp | |
| parent | 2f060df059711a9d89f7ab2796f35f3c32d609d0 (diff) | |
| parent | 42d740d641a868fca3de69e5ebe158c9f63dafce (diff) | |
Merge pull request #50624 from foxydevloper/translate-more-strings
Make various strings translatable
Diffstat (limited to 'editor/plugins/node_3d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index c341783d54..14cff520b4 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -6248,7 +6248,7 @@ void Node3DEditor::_add_sun_to_scene(bool p_already_added_environment) { ERR_FAIL_COND(!base); Node *new_sun = preview_sun->duplicate(); - undo_redo->create_action("Add Preview Sun to Scene"); + undo_redo->create_action(TTR("Add Preview Sun to Scene")); undo_redo->add_do_method(base, "add_child", new_sun); // Move to the beginning of the scene tree since more "global" nodes // generally look better when placed at the top. @@ -6278,7 +6278,7 @@ void Node3DEditor::_add_environment_to_scene(bool p_already_added_sun) { WorldEnvironment *new_env = memnew(WorldEnvironment); new_env->set_environment(preview_environment->get_environment()->duplicate(true)); - undo_redo->create_action("Add Preview Environment to Scene"); + undo_redo->create_action(TTR("Add Preview Environment to Scene")); undo_redo->add_do_method(base, "add_child", new_env); // Move to the beginning of the scene tree since more "global" nodes // generally look better when placed at the top. |