aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/rich_text_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-05-03 22:25:37 -0300
committerJuan Linietsky2016-05-03 22:25:37 -0300
commit567cb691ec49844101247bb9dc34bc2722f6af4f (patch)
treecaa577fdc22feec8869e66b32be34db0c90f8aa8 /tools/editor/plugins/rich_text_editor_plugin.cpp
parentc7e8def44696da9ddf0b459e166280668c84c4cb (diff)
downloadgodot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.gz
godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.zst
godot-567cb691ec49844101247bb9dc34bc2722f6af4f.zip
Modified editor strings to be translatable in the future
Diffstat (limited to 'tools/editor/plugins/rich_text_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/rich_text_editor_plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/rich_text_editor_plugin.cpp b/tools/editor/plugins/rich_text_editor_plugin.cpp
index 08374d662..99d75dff1 100644
--- a/tools/editor/plugins/rich_text_editor_plugin.cpp
+++ b/tools/editor/plugins/rich_text_editor_plugin.cpp
@@ -106,9 +106,9 @@ RichTextEditor::RichTextEditor() {
CanvasItemEditor::get_singleton()->add_control_to_menu_panel(options);
options->set_area_as_parent_rect();
- options->set_text("RichText");
- options->get_popup()->add_item("Parse BBCODE",PARSE_BBCODE);
- options->get_popup()->add_item("Clear",CLEAR);
+ options->set_text(TTR("RichText"));
+ options->get_popup()->add_item(TTR("Parse BBCODE"),PARSE_BBCODE);
+ options->get_popup()->add_item(TTR("Clear"),CLEAR);
options->get_popup()->connect("item_pressed", this,"_menu_option");
file_dialog = memnew( EditorFileDialog );