aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorAndreas Haas2017-08-23 22:25:14 +0200
committerRémi Verschelde2017-08-25 18:49:45 +0200
commit6134d8741d6b255751e7b2811be85b60ef916269 (patch)
tree27edc499e4ecced86630715232f7adfa62f9b3c4 /editor/plugins/script_editor_plugin.cpp
parenta1c03a69d2940fb69d7221800e919f4a183fec0c (diff)
downloadgodot-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.cpp4
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;