diff options
| author | Juan Linietsky | 2016-05-03 22:25:37 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-03 22:25:37 -0300 |
| commit | 567cb691ec49844101247bb9dc34bc2722f6af4f (patch) | |
| tree | caa577fdc22feec8869e66b32be34db0c90f8aa8 /tools/editor/editor_file_system.cpp | |
| parent | c7e8def44696da9ddf0b459e166280668c84c4cb (diff) | |
| download | godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.gz godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.zst godot-567cb691ec49844101247bb9dc34bc2722f6af4f.zip | |
Diffstat (limited to 'tools/editor/editor_file_system.cpp')
| -rw-r--r-- | tools/editor/editor_file_system.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/editor/editor_file_system.cpp b/tools/editor/editor_file_system.cpp index 05e8a559b..9b3043650 100644 --- a/tools/editor/editor_file_system.cpp +++ b/tools/editor/editor_file_system.cpp @@ -314,7 +314,7 @@ void EditorFileSystem::_scan_filesystem() { - EditorProgressBG scan_progress("efs","ScanFS",1000); + EditorProgressBG scan_progress("efs",TTR("ScanFS"),1000); ScanProgress sp; sp.low=0; @@ -609,7 +609,7 @@ void EditorFileSystem::_scan_new_dir(EditorFileSystemDirectory *p_dir,DirAccess da->change_dir(".."); } else { - ERR_PRINTS("Can't go into subdir: "+E->get()); + ERR_PRINTS(TTR("Can't go into subdir: ")+E->get()); } p_progress.update(idx,total); @@ -823,7 +823,7 @@ void EditorFileSystem::_thread_func_sources(void *_userdata) { EditorFileSystem *efs = (EditorFileSystem*)_userdata; if (efs->filesystem) { - EditorProgressBG pr("sources","ScanSources",1000); + EditorProgressBG pr("sources",TTR("ScanSources"),1000); ScanProgress sp; sp.progress=≺ sp.hi=1; @@ -851,7 +851,7 @@ void EditorFileSystem::scan_sources() { if (!use_threads) { if (filesystem) { - EditorProgressBG pr("sources","ScanSources",1000); + EditorProgressBG pr("sources",TTR("ScanSources"),1000); ScanProgress sp; sp.progress=≺ sp.hi=1; @@ -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("SCAN BEGIN!"); + //print_line(TTR("SCAN BEGIN!")); //progress->show(); } @@ -900,7 +900,7 @@ void EditorFileSystem::_notification(int p_what) { Thread::wait_to_finish(thread); memdelete(thread); thread=NULL; - WARN_PRINT("Scan thread aborted..."); + WARN_PRINTS(TTR("Scan thread aborted...")); set_process(false); } @@ -1247,7 +1247,7 @@ void EditorFileSystem::update_file(const String& p_file) { } - //print_line("UPDATING: "+p_file); + //print_line(TTR("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); |
