summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-11-13 20:16:03 +0900
committervolzhs <volzhs@gmail.com>2017-11-13 20:37:28 +0900
commit2e7345c00f0bab1114579efcf27d5a123943a9a0 (patch)
treee540388c2b5c39cdeb485a1d63e51d668614c6ed /editor/filesystem_dock.cpp
parentb279f641c0b9e7af711d857917353905b48c6913 (diff)
downloadredot-engine-2e7345c00f0bab1114579efcf27d5a123943a9a0.tar.gz
Better TTR format
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 00cbd9bb72..b3c21d4e63 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -333,7 +333,7 @@ void FileSystemDock::navigate_to_path(const String &p_path) {
} else if (dirAccess->dir_exists(p_path)) {
path = p_path;
} else {
- ERR_EXPLAIN(TTR("Cannot navigate to '" + p_path + "' as it has not been found in the file system!"));
+ ERR_EXPLAIN(vformat(TTR("Cannot navigate to '%s' as it has not been found in the file system!"), p_path));
ERR_FAIL();
}