summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2019-12-21 14:57:15 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2019-12-21 20:58:17 +0800
commit0693718164bcb5875af9211713bfa7c4cce86d58 (patch)
treeb8c74f91d40afe60ef1f1cf884e3c8c52ffefa5a /editor/editor_node.h
parent2019d8001db3da44f7b3a6833e0d6c5ff5d8989f (diff)
downloadredot-engine-0693718164bcb5875af9211713bfa7c4cce86d58.tar.gz
Makes more editor strings translatable
* "Add" button text in Groups Editor * "Receiver Method" in Connect Signal Dialog * "Play Mode" in Animation State Machine Editor * "Mesh Library" button text in Mesh Library editor plugin * Compose Array node button texts in Visual Script * Various button texts in TileSet Editor * Various Run Script errors
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index b7775b5e83..c9002c309e 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -789,7 +789,7 @@ public:
Ref<Texture> get_class_icon(const String &p_class, const String &p_fallback = "Object") const;
void show_accept(const String &p_text, const String &p_title);
- void show_warning(const String &p_text, const String &p_title = "Warning!");
+ void show_warning(const String &p_text, const String &p_title = TTR("Warning!"));
void _copy_warning(const String &p_str);