diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-03-23 00:12:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 00:12:12 +0100 |
commit | 6a84ade31693e0bbffe21e66edfd16c0af1b83c1 (patch) | |
tree | a1114a1d610e624b06202438879282f9a740d55a /editor | |
parent | 6fa24729ae82194fdc6453c3e5b958f8b6f356b0 (diff) | |
parent | 07f1cd5ff8e1f27416fee248738678df24dd823a (diff) |
Merge pull request #45234 from madmiraal/rename-phashtranslation
Rename PHashTranslation to OptimizedTranslation
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/resource_importer_csv_translation.cpp | 4 | ||||
-rw-r--r-- | editor/project_export.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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<Translation> xlt = translations[i]; if (compress) { - Ref<PHashTranslation> cxl = memnew(PHashTranslation); + Ref<OptimizedTranslation> 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" |