diff --git a/editor/import/resource_importer_layered_texture.cpp b/editor/import/resource_importer_layered_texture.cpp index 341510ba99c..5c980a9b826 100644 --- a/editor/import/resource_importer_layered_texture.cpp +++ b/editor/import/resource_importer_layered_texture.cpp @@ -65,12 +65,12 @@ int ResourceImporterLayeredTexture::get_preset_count() const { } String ResourceImporterLayeredTexture::get_preset_name(int p_idx) const { static const char *preset_names[] = { - "3D", - "2D", - "ColorCorrect" + TTRC("3D"), + TTRC("2D"), + TTRC("ColorCorrect"), }; - return preset_names[p_idx]; + return TTRGET(preset_names[p_idx]); } void ResourceImporterLayeredTexture::get_import_options(List *r_options, int p_preset) const { diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index 784574eef38..3eb6bbf0466 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -182,13 +182,13 @@ int ResourceImporterTexture::get_preset_count() const { } String ResourceImporterTexture::get_preset_name(int p_idx) const { static const char *preset_names[] = { - "2D, Detect 3D", - "2D", - "2D Pixel", - "3D" + TTRC("2D, Detect 3D"), + TTRC("2D"), + TTRC("2D Pixel"), + TTRC("3D"), }; - return preset_names[p_idx]; + return TTRGET(preset_names[p_idx]); } void ResourceImporterTexture::get_import_options(List *r_options, int p_preset) const {