summaryrefslogtreecommitdiffstats
path: root/modules/gltf/register_types.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-07-24 19:33:38 +0200
committerYuri Sizov <yuris@humnom.net>2023-07-24 19:33:38 +0200
commitfeb85943e6f22e63adfbd33cb6cd9188e5806ab7 (patch)
tree580c6fc81f8082f106474d4b0164e0e009e88f46 /modules/gltf/register_types.cpp
parentd06779cc07b92429df48bb84b58caa7c83c920ca (diff)
parentb35a847109f88c2b6afd0bd4998f8a93e088335d (diff)
downloadredot-engine-feb85943e6f22e63adfbd33cb6cd9188e5806ab7.tar.gz
Merge pull request #79807 from timothyqiu/what-does-the-blend-thing-say
Make blend file importer warnings translatable
Diffstat (limited to 'modules/gltf/register_types.cpp')
-rw-r--r--modules/gltf/register_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gltf/register_types.cpp b/modules/gltf/register_types.cpp
index 87149fa11d..1788ffac3a 100644
--- a/modules/gltf/register_types.cpp
+++ b/modules/gltf/register_types.cpp
@@ -70,9 +70,9 @@ static void _editor_init() {
if (blend_enabled) {
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
if (blender3_path.is_empty()) {
- WARN_PRINT("Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.");
+ WARN_PRINT(TTR("Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported."));
} else if (!da->dir_exists(blender3_path)) {
- WARN_PRINT("Blend file import is enabled, but the Blender path doesn't point to an accessible directory. Blend files will not be imported.");
+ WARN_PRINT(TTR("Blend file import is enabled, but the Blender path doesn't point to an accessible directory. Blend files will not be imported."));
} else {
Ref<EditorSceneFormatImporterBlend> importer;
importer.instantiate();