From 007d1754e3ae1a8f67c415552b6586208ffd0e54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 1 May 2018 13:07:05 +0200 Subject: [PATCH] Revert "Added a more specific error message on export" This reverts commit 00c689d625d0243577c225612aa86aa6a85274c4. Reason: "Missing template" is just one possible explanation for `err` being != OK here, it does not make sense to hardcode it in the generic error message (and break translations doing so). --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 4bf040c3780..2efc53781a1 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -491,7 +491,7 @@ void EditorNode::_fs_changed() { err = platform->export_project(preset, export_defer.debug, export_defer.path); } if (err != OK) { - ERR_PRINTS(vformat(TTR("Project export failed with error code %d. Missing template?"), (int)err)); + ERR_PRINTS(vformat(TTR("Project export failed with error code %d."), (int)err)); } } }