diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp index 9b304365078..6423b75abc7 100644 --- a/tools/editor/editor_file_system.cpp +++ b/tools/editor/editor_file_system.cpp @@ -873,7 +873,7 @@ void EditorFileSystem::scan_sources() { s.priority=Thread::PRIORITY_LOW; thread_sources = Thread::create(_thread_func_sources,this,s); //tree->hide(); - //print_line(TTR("SCAN BEGIN!")); + //print_line("SCAN BEGIN!"); //progress->show(); } @@ -900,7 +900,7 @@ void EditorFileSystem::_notification(int p_what) { Thread::wait_to_finish(thread); memdelete(thread); thread=NULL; - WARN_PRINTS(TTR("Scan thread aborted...")); + WARN_PRINTS("Scan thread aborted..."); set_process(false); } @@ -1247,7 +1247,7 @@ void EditorFileSystem::update_file(const String& p_file) { } - //print_line(TTR("UPDATING: ")+p_file); + //print_line("UPDATING: "+p_file); fs->files[cpos]->type=type; fs->files[cpos]->modified_time=FileAccess::get_modified_time(p_file); fs->files[cpos]->meta=_get_meta(p_file); diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp index 1439209faa1..a8cb1a57304 100644 --- a/tools/editor/editor_help.cpp +++ b/tools/editor/editor_help.cpp @@ -618,7 +618,7 @@ void EditorHelp::_class_desc_select(const String& p_select) { -// print_line(TTR("LINK: ")+p_select); +// print_line("LINK: "+p_select); if (p_select.begins_with("#")) { //_goto_desc(p_select.substr(1,p_select.length())); emit_signal("go_to_help","class_name:"+p_select.substr(1,p_select.length())); diff --git a/tools/editor/editor_import_export.cpp b/tools/editor/editor_import_export.cpp index 2b14d805213..91357e0f804 100644 --- a/tools/editor/editor_import_export.cpp +++ b/tools/editor/editor_import_export.cpp @@ -220,7 +220,7 @@ static void _edit_files_with_filter(DirAccess *da,const List& p_filters, String f = da->get_next(); while(f!="") { - print_line(TTR("HOHO: ")+f); + print_line("HOHO: "+f); if (da->current_is_dir()) dirs.push_back(f); else @@ -233,7 +233,7 @@ static void _edit_files_with_filter(DirAccess *da,const List& p_filters, if (!r.ends_with("/")) r+="/"; - print_line(TTR("AT: ")+r); + print_line("AT: "+r); for(List::Element *E=files.front();E;E=E->next()) { String fullpath=r+E->get(); @@ -410,15 +410,15 @@ Vector EditorExportPlatform::get_dependencies(bool p_bundles) const EditorImportExport::get_singleton()->get_export_file_list(&toexport); - print_line(TTR("TO EXPORT: ")+itos(toexport.size())); + print_line("TO EXPORT: "+itos(toexport.size())); for (List::Element *E=toexport.front();E;E=E->next()) { - print_line(TTR("DEP: ")+String(E->get())); + print_line("DEP: "+String(E->get())); exported.insert(E->get()); if (p_bundles && EditorImportExport::get_singleton()->get_export_file_action(E->get())==EditorImportExport::ACTION_BUNDLE) { - print_line(TTR("NO BECAUSE OF BUNDLE!")); + print_line("NO BECAUSE OF BUNDLE!"); continue; //no dependencies needed to be copied } @@ -747,7 +747,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func FileAccess *f=NULL; if (!FileAccess::exists(EditorSettings::get_singleton()->get_settings_path()+"/tmp/atlas-"+md5)) { - print_line(TTR("NO MD5 INVALID")); + print_line("NO MD5 INVALID"); atlas_valid=false; } @@ -766,7 +766,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func atlas_valid=false; if (!atlas_valid) - print_line(TTR("JSON INVALID")); + print_line("JSON INVALID"); } @@ -775,7 +775,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func //check md5 of list of image /names/ if (f->get_line().strip_edges()!=image_list_md5) { atlas_valid=false; - print_line(TTR("IMAGE MD5 INVALID!")); + print_line("IMAGE MD5 INVALID!"); } } @@ -792,7 +792,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func if (slices.size()!=10) { atlas_valid=false; - print_line(TTR("CANT SLICE IN 10")); + print_line("CANT SLICE IN 10"); break; } uint64_t mod_time = slices[0].to_int64(); @@ -804,7 +804,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func if (image_md5!=file_md5) { atlas_valid=false; - print_line(TTR("IMAGE INVALID ")+slices[0]); + print_line("IMAGE INVALID "+slices[0]); break; } else { resave_deps=true; @@ -825,7 +825,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func f=NULL; } - print_line(TTR("ATLAS VALID? ")+itos(atlas_valid)+" RESAVE DEPS? "+itos(resave_deps)); + print_line("ATLAS VALID? "+itos(atlas_valid)+" RESAVE DEPS? "+itos(resave_deps)); if (!atlas_valid) { rects.clear(); //oh well, atlas is not valid. need to make new one.... @@ -1016,7 +1016,7 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func if (remap_files.size()) { Vector remapsprop; for(Map::Element *E=remap_files.front();E;E=E->next()) { - print_line(TTR("REMAP: ")+String(E->key())+" -> "+E->get()); + print_line("REMAP: "+String(E->key())+" -> "+E->get()); remapsprop.push_back(E->key()); remapsprop.push_back(E->get()); } diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index e7ace943aec..2736a75ac30 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -788,7 +788,7 @@ bool EditorNode::_find_and_save_resource(RES res,Map& processed,int32_ if (res->get_path().is_resource_file()) { if (changed || subchanged) { //save - print_line(TTR("Also saving modified external resource: ")+res->get_path()); + print_line("Also saving modified external resource: "+res->get_path()); Error err = ResourceSaver::save(res->get_path(),res,flags); } @@ -1181,7 +1181,7 @@ void EditorNode::_dialog_action(String p_file) { } break; case FILE_RUN_SCRIPT: { - print_line(TTR("RUN: ")+p_file); + print_line("RUN: "+p_file); Ref