From 07f1cd5ff8e1f27416fee248738678df24dd823a Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sat, 16 Jan 2021 15:28:54 +0000 Subject: Rename PHashTranslation to OptimizedTranslation --- editor/import/resource_importer_csv_translation.cpp | 4 ++-- editor/project_export.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'editor') diff --git a/editor/import/resource_importer_csv_translation.cpp b/editor/import/resource_importer_csv_translation.cpp index 7ea39ab3ef..4a4d9d8f06 100644 --- a/editor/import/resource_importer_csv_translation.cpp +++ b/editor/import/resource_importer_csv_translation.cpp @@ -32,7 +32,7 @@ #include "core/io/resource_saver.h" #include "core/os/file_access.h" -#include "core/string/compressed_translation.h" +#include "core/string/optimized_translation.h" #include "core/string/translation.h" String ResourceImporterCSVTranslation::get_importer_name() const { @@ -126,7 +126,7 @@ Error ResourceImporterCSVTranslation::import(const String &p_source_file, const Ref xlt = translations[i]; if (compress) { - Ref cxl = memnew(PHashTranslation); + Ref cxl = memnew(OptimizedTranslation); cxl->generate(xlt); xlt = cxl; } diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 4bcb616fbd..b7dd1013f3 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -37,7 +37,7 @@ #include "core/os/dir_access.h" #include "core/os/file_access.h" #include "core/os/os.h" -#include "core/string/compressed_translation.h" +#include "core/string/optimized_translation.h" #include "editor_data.h" #include "editor_node.h" #include "editor_scale.h" -- cgit v1.2.3