diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-04-27 13:50:54 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-04-27 13:50:54 +0800 |
commit | 3b9095253c3079e0257ac44cc04ec35fd9f76e35 (patch) | |
tree | cc00aef4624c9b0c5bbdd149b7d7da58eec7b989 | |
parent | 14caf9ee73e10ac857021538be356dbc84993411 (diff) |
Make more import preset name translatable
-rw-r--r-- | editor/import/resource_importer_texture.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index de51a28c5a..a9c3a3e1c9 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -198,12 +198,12 @@ int ResourceImporterTexture::get_preset_count() const { String ResourceImporterTexture::get_preset_name(int p_idx) const { static const char *preset_names[] = { - "2D/3D (Auto-Detect)", - "2D", - "3D", + TTRC("2D/3D (Auto-Detect)"), + TTRC("2D"), + TTRC("3D"), }; - return preset_names[p_idx]; + return TTRGET(preset_names[p_idx]); } void ResourceImporterTexture::get_import_options(const String &p_path, List<ImportOption> *r_options, int p_preset) const { |