Merge pull request #60549 from timothyqiu/import-preset-i18n

This commit is contained in:
Rémi Verschelde 2022-04-27 10:33:33 +02:00 committed by GitHub
commit 1b5d943fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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 {