|
@@ -219,7 +219,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
|
|
bool has_groups = p_node->has_persistent_groups();
|
|
|
|
|
|
if (has_connections && has_groups) {
|
|
|
- item->add_button(0, get_icon("SignalsAndGroups", "EditorIcons"), BUTTON_SIGNALS, false, TTR("Node has connection(s) and group(s)\nClick to show signals dock."));
|
|
|
+ item->add_button(0, get_icon("SignalsAndGroups", "EditorIcons"), BUTTON_SIGNALS, false, TTR("Node has connection(s) and group(s).\nClick to show signals dock."));
|
|
|
} else if (has_connections) {
|
|
|
item->add_button(0, get_icon("Signals", "EditorIcons"), BUTTON_SIGNALS, false, TTR("Node has connections.\nClick to show signals dock."));
|
|
|
} else if (has_groups) {
|
|
@@ -245,18 +245,18 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
|
|
|
|
|
if (!p_node->get_script().is_null()) {
|
|
|
|
|
|
- item->add_button(0, get_icon("Script", "EditorIcons"), BUTTON_SCRIPT, false, TTR("Open script"));
|
|
|
+ item->add_button(0, get_icon("Script", "EditorIcons"), BUTTON_SCRIPT, false, TTR("Open Script"));
|
|
|
}
|
|
|
|
|
|
if (p_node->is_class("CanvasItem")) {
|
|
|
|
|
|
bool is_locked = p_node->has_meta("_edit_lock_"); //_edit_group_
|
|
|
if (is_locked)
|
|
|
- item->add_button(0, get_icon("Lock", "EditorIcons"), BUTTON_LOCK, false, TTR("Node is locked.\nClick to unlock"));
|
|
|
+ item->add_button(0, get_icon("Lock", "EditorIcons"), BUTTON_LOCK, false, TTR("Node is locked.\nClick to unlock it."));
|
|
|
|
|
|
bool is_grouped = p_node->has_meta("_edit_group_");
|
|
|
if (is_grouped)
|
|
|
- item->add_button(0, get_icon("Group", "EditorIcons"), BUTTON_GROUP, false, TTR("Children are not selectable.\nClick to make selectable"));
|
|
|
+ item->add_button(0, get_icon("Group", "EditorIcons"), BUTTON_GROUP, false, TTR("Children are not selectable.\nClick to make selectable."));
|
|
|
|
|
|
bool v = p_node->call("is_visible");
|
|
|
if (v)
|
|
@@ -272,7 +272,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) {
|
|
|
|
|
|
bool is_locked = p_node->has_meta("_edit_lock_");
|
|
|
if (is_locked)
|
|
|
- item->add_button(0, get_icon("Lock", "EditorIcons"), BUTTON_LOCK, false, TTR("Node is locked.\nClick to unlock"));
|
|
|
+ item->add_button(0, get_icon("Lock", "EditorIcons"), BUTTON_LOCK, false, TTR("Node is locked.\nClick to unlock it."));
|
|
|
|
|
|
bool v = p_node->call("is_visible");
|
|
|
if (v)
|