1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +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

@@ -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);