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/script_editor_plugin.cpp | |
| parent | a1c03a69d2940fb69d7221800e919f4a183fec0c (diff) | |
| download | godot-6134d8741d6b255751e7b2811be85b60ef916269.tar.gz godot-6134d8741d6b255751e7b2811be85b60ef916269.tar.zst godot-6134d8741d6b255751e7b2811be85b60ef916269.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 5b0891e0c..a6db0f6e5 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -602,7 +602,7 @@ void ScriptEditor::_close_all_tabs() { } void ScriptEditor::_ask_close_current_unsaved_tab(ScriptEditorBase *current) { - erase_tab_confirm->set_text("Close and save changes?\n\"" + current->get_name() + "\""); + erase_tab_confirm->set_text(TTR("Close and save changes?\n\"") + current->get_name() + "\""); erase_tab_confirm->popup_centered_minsize(); } @@ -1568,7 +1568,7 @@ void ScriptEditor::_update_script_names() { String name = eh->get_class(); Ref<Texture> icon = get_icon("Help", "EditorIcons"); - String tooltip = name + " Class Reference"; + String tooltip = name + TTR(" Class Reference"); _ScriptEditorItemData sd; sd.icon = icon; |
