summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-27 10:33:33 +0200
committerGitHub <noreply@github.com>2022-04-27 10:33:33 +0200
commit1b5d943fbbda7b5abd69650d07500cb62b9a343d (patch)
treeedd20ddc14e671c9e66f715d8b5ddcf43c2f8f18 /editor/import
parentb3f4a81a9e1b3fd82940b89ff0b4ecf5ec31507b (diff)
parent3b9095253c3079e0257ac44cc04ec35fd9f76e35 (diff)
Merge pull request #60549 from timothyqiu/import-preset-i18n
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/resource_importer_texture.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp
index 8c038d0311..6770eef543 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 {