diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-30 17:28:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 17:28:11 +0100 |
commit | e37ad996a19396542009b058d00f30a909489834 (patch) | |
tree | 80d4f78c45881ac1e644251ec0d3a94da855a7cf /editor/plugins/script_text_editor.cpp | |
parent | fdfb7e5fc44d5fbbcaf9a09c8732596d925c7a80 (diff) | |
parent | 8cf941a8cb6ea5cf778bba12ec34261edc7ff0bb (diff) | |
download | redot-engine-e37ad996a19396542009b058d00f30a909489834.tar.gz |
Merge pull request #34625 from timothyqiu/i18n
Makes more editor strings translatable
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 4c23e3fcd2..ef6f864a87 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1560,7 +1560,7 @@ void ScriptTextEditor::drop_data_fw(const Point2 &p_point, const Variant &p_data Node *sn = _find_script_node(get_tree()->get_edited_scene_root(), get_tree()->get_edited_scene_root(), script); if (!sn) { - EditorNode::get_singleton()->show_warning("Can't drop nodes because script '" + get_name() + "' is not used in this scene."); + EditorNode::get_singleton()->show_warning(vformat(TTR("Can't drop nodes because script '%s' is not used in this scene."), get_name())); return; } |