1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Modified editor strings to be translatable in the future

This commit is contained in:
Juan Linietsky
2016-05-03 22:25:37 -03:00
parent c7e8def446
commit 567cb691ec
96 changed files with 2135 additions and 2103 deletions

View File

@@ -84,7 +84,7 @@ void ReparentDialog::_bind_methods() {
ReparentDialog::ReparentDialog() {
set_title("Reparent Node");
set_title(TTR("Reparent Node"));
VBoxContainer *vbc = memnew( VBoxContainer );
add_child(vbc);
@@ -93,25 +93,25 @@ ReparentDialog::ReparentDialog() {
tree = memnew( SceneTreeEditor(false) );
tree->set_show_enabled_subscene(true);
vbc->add_margin_child("Reparent Location (Select new Parent):",tree,true);
vbc->add_margin_child(TTR("Reparent Location (Select new Parent):"),tree,true);
tree->get_scene_tree()->connect("item_activated",this,"_reparent");
//Label *label = memnew( Label );
//label->set_pos( Point2( 15,8) );
//label->set_text("Reparent Location (Select new Parent):");
//label->set_text(TTR("Reparent Location (Select new Parent):"));
keep_transform = memnew( CheckBox );
keep_transform->set_text("Keep Global Transform");
keep_transform->set_text(TTR("Keep Global Transform"));
keep_transform->set_pressed(true);
vbc->add_child(keep_transform);
//vbc->add_margin_child("Options:",node_only);;
//vbc->add_margin_child(TTR("Options:"),node_only);;
//cancel->connect("pressed", this,"_cancel");
get_ok()->set_text("Reparent");
get_ok()->set_text(TTR("Reparent"));
}