diff options
| author | Rémi Verschelde | 2016-05-19 00:08:12 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-05-21 00:21:57 +0200 |
| commit | 94c34ff8906935cf0a9ef5ad82c6755ee21bbd07 (patch) | |
| tree | 91e569002a8b8fcfcd2c8d6ee5f1d5fa1d02f93e /tools/editor/editor_help.cpp | |
| parent | bc8df8feaafd4e9ce0daa383f772ff111073c672 (diff) | |
| download | godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.gz godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.zst godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.zip | |
Diffstat (limited to 'tools/editor/editor_help.cpp')
| -rw-r--r-- | tools/editor/editor_help.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp index a8cb1a573..616037c54 100644 --- a/tools/editor/editor_help.cpp +++ b/tools/editor/editor_help.cpp @@ -519,7 +519,7 @@ EditorHelpIndex::EditorHelpIndex() { search_box->connect("input_event", this, "_sbox_input"); class_list = memnew( Tree ); - vbc->add_margin_child(TTR("Class List: "), class_list, true); + vbc->add_margin_child(TTR("Class List:")+" ", class_list, true); class_list->set_v_size_flags(SIZE_EXPAND_FILL); class_list->connect("item_activated",this,"_tree_item_selected"); @@ -710,7 +710,7 @@ Error EditorHelp::_goto_desc(const String& p_class,int p_vscr) { class_desc->push_font(doc_title_font); class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/keyword_color")); - class_desc->add_text(TTR("Class: ")); + class_desc->add_text(TTR("Class:")+" "); class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/base_type_color")); _add_text(p_class); class_desc->pop(); @@ -722,7 +722,7 @@ Error EditorHelp::_goto_desc(const String& p_class,int p_vscr) { class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/keyword_color")); class_desc->push_font(doc_title_font); - class_desc->add_text(TTR("Inherits: ")); + class_desc->add_text(TTR("Inherits:")+" "); class_desc->pop(); class_desc->pop(); @@ -756,7 +756,7 @@ Error EditorHelp::_goto_desc(const String& p_class,int p_vscr) { if (!found) { class_desc->push_color(EditorSettings::get_singleton()->get("text_editor/keyword_color")); class_desc->push_font(doc_title_font); - class_desc->add_text("Inherited by: "); + class_desc->add_text(TTR("Inherited by:")+" "); class_desc->pop(); class_desc->pop(); |
