aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde2016-05-04 15:28:37 +0200
committerRémi Verschelde2016-05-04 15:28:37 +0200
commitfb277dbde6a337a3294867f54cebc54c7cd91653 (patch)
treeea3dcb0f1ba9dd7d64fa35790994700af4becff9 /tools/editor/plugins
parentdd419e8efa347a8c1d6be464a89ec056cb4e4712 (diff)
downloadgodot-fb277dbde6a337a3294867f54cebc54c7cd91653.tar.gz
godot-fb277dbde6a337a3294867f54cebc54c7cd91653.tar.zst
godot-fb277dbde6a337a3294867f54cebc54c7cd91653.zip
i18n: Don't make print_line calls translatable
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/baked_light_baker.cpp4
-rw-r--r--tools/editor/plugins/baked_light_editor_plugin.cpp6
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp16
-rw-r--r--tools/editor/plugins/cube_grid_theme_editor_plugin.cpp2
-rw-r--r--tools/editor/plugins/sample_player_editor_plugin.cpp2
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp2
6 files changed, 16 insertions, 16 deletions
diff --git a/tools/editor/plugins/baked_light_baker.cpp b/tools/editor/plugins/baked_light_baker.cpp
index a37bbce6f..c7ae98e91 100644
--- a/tools/editor/plugins/baked_light_baker.cpp
+++ b/tools/editor/plugins/baked_light_baker.cpp
@@ -1533,7 +1533,7 @@ void BakedLightBaker::_make_octree_texture() {
baked_octree_texture_h=nearest_power_of_2(baked_octree_texture_h);
- print_line(TTR("RESULT! ")+itos(baked_octree_texture_w)+","+itos(baked_octree_texture_h));
+ print_line("RESULT! "+itos(baked_octree_texture_w)+","+itos(baked_octree_texture_h));
}
@@ -1810,7 +1810,7 @@ void BakedLightBaker::update_octree_sampler(DVector<int> &p_sampler) {
if (octant.children[j]) {
tmp_smp.push_back(octants[octant.children[j]].sampler_ofs);
if (octants[octant.children[j]].sampler_ofs==0) {
- print_line(TTR("FUUUUUUUUCK"));
+ print_line("FUUUUUUUUCK");
}
}
}
diff --git a/tools/editor/plugins/baked_light_editor_plugin.cpp b/tools/editor/plugins/baked_light_editor_plugin.cpp
index 690b2cd55..3e7d7b63a 100644
--- a/tools/editor/plugins/baked_light_editor_plugin.cpp
+++ b/tools/editor/plugins/baked_light_editor_plugin.cpp
@@ -97,7 +97,7 @@ void BakedLightEditor::_notification(int p_option) {
}
}
- print_line(TTR("MSCOL: ")+itos(OS::get_singleton()->get_ticks_msec()-t));
+ print_line("MSCOL: "+itos(OS::get_singleton()->get_ticks_msec()-t));
t = OS::get_singleton()->get_ticks_msec();
Array a;
@@ -132,14 +132,14 @@ void BakedLightEditor::_notification(int p_option) {
bake_info->set_text("rays/s: "+itos(rays_sec));
update_timeout=1;
- print_line(TTR("MSUPDATE: ")+itos(OS::get_singleton()->get_ticks_msec()-t));
+ print_line("MSUPDATE: "+itos(OS::get_singleton()->get_ticks_msec()-t));
t=OS::get_singleton()->get_ticks_msec();
node->get_baked_light()->set_octree(octree_texture);
node->get_baked_light()->set_light(light_texture);
node->get_baked_light()->set_sampler_octree(octree_sampler);
node->get_baked_light()->set_edited(true);
- print_line(TTR("MSSET: ")+itos(OS::get_singleton()->get_ticks_msec()-t));
+ print_line("MSSET: "+itos(OS::get_singleton()->get_ticks_msec()-t));
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index 76fa1ef8e..7ece65e75 100644
--- a/tools/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp
@@ -1730,7 +1730,7 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
if ((leaf_pos.distance_to(root_pos)) > total_len) {
//oops dude you went too far
- //print_line(TTR("TOO FAR!"));
+ //print_line("TOO FAR!");
Vector2 rel = leaf_pos - root_pos;
rel = rel.normalized() * total_len;
leaf_pos=root_pos+rel;
@@ -1739,7 +1739,7 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
bone_ik_list.front()->get().pos=leaf_pos;
- //print_line(TTR("BONE IK LIST ")+itos(bone_ik_list.size()));
+ //print_line("BONE IK LIST "+itos(bone_ik_list.size()));
if (bone_ik_list.size()>2) {
@@ -1764,22 +1764,22 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
//print_line("back");
Vector2 rel = E->get().pos - E->next()->get().pos;
- //print_line(TTR("PREV ")+E->get().pos);
+ //print_line("PREV "+E->get().pos);
Vector2 desired = E->next()->get().pos+rel.normalized()*len;
- //print_line(TTR("DESIRED ")+desired);
+ //print_line("DESIRED "+desired);
E->get().pos=E->get().pos.linear_interpolate(desired,solver_k);
- //print_line(TTR("POST ")+E->get().pos);
+ //print_line("POST "+E->get().pos);
} else if (E==bone_ik_list.front()) {
//only adjust parent
//print_line("front");
Vector2 rel = E->next()->get().pos - E->get().pos;
- //print_line(TTR("PREV ")+E->next()->get().pos);
+ //print_line("PREV "+E->next()->get().pos);
Vector2 desired = E->get().pos+rel.normalized()*len;
- //print_line(TTR("DESIRED ")+desired);
+ //print_line("DESIRED "+desired);
E->next()->get().pos=E->next()->get().pos.linear_interpolate(desired,solver_k);
- //print_line(TTR("POST ")+E->next()->get().pos);
+ //print_line("POST "+E->next()->get().pos);
} else {
Vector2 rel = E->next()->get().pos - E->get().pos;
diff --git a/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp b/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp
index 3c9f1886b..788e3c61f 100644
--- a/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp
+++ b/tools/editor/plugins/cube_grid_theme_editor_plugin.cpp
@@ -220,7 +220,7 @@ void MeshLibraryEditor::_import_scene(Node *p_scene, Ref<MeshLibrary> p_library,
void MeshLibraryEditor::_import_scene_cbk(const String& p_str) {
- print_line(TTR("Impot Callback!"));
+ print_line("Impot Callback!");
Ref<PackedScene> ps = ResourceLoader::load(p_str,"PackedScene");
ERR_FAIL_COND(ps.is_null());
diff --git a/tools/editor/plugins/sample_player_editor_plugin.cpp b/tools/editor/plugins/sample_player_editor_plugin.cpp
index fd6e800b4..3085ad87d 100644
--- a/tools/editor/plugins/sample_player_editor_plugin.cpp
+++ b/tools/editor/plugins/sample_player_editor_plugin.cpp
@@ -76,7 +76,7 @@ void SamplePlayerEditor::_stop() {
return;
node->call("stop_all");
- print_line(TTR("STOP ALL!!"));
+ print_line("STOP ALL!!");
stop->set_pressed(true);
play->set_pressed(false);
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index 331cf6309..fa709eb0c 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -1156,7 +1156,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
_edit.gizmo_handle=gizmo_handle;
//_edit.gizmo_initial_pos=seg->get_handle_pos(gizmo_handle);
_edit.gizmo_initial_value=seg->get_handle_value(gizmo_handle);
- //print_line(TTR("GIZMO: ")+itos(gizmo_handle)+" FROMPOS: "+_edit.orig_gizmo_pos);
+ //print_line("GIZMO: "+itos(gizmo_handle)+" FROMPOS: "+_edit.orig_gizmo_pos);
break;
}