summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-13 12:46:39 +0100
committerGitHub <noreply@github.com>2017-11-13 12:46:39 +0100
commitfaf097d350a2a1c63ab9399355de70728a958b2d (patch)
tree0592d09981467a375c6e58b7fbb2bbe57bb61537 /editor/filesystem_dock.cpp
parent2fce0010f0d0eb2476028ed62335508bceabd820 (diff)
parent2e7345c00f0bab1114579efcf27d5a123943a9a0 (diff)
downloadredot-engine-faf097d350a2a1c63ab9399355de70728a958b2d.tar.gz
Merge pull request #12895 from volzhs/better-ttr-format
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 9314839768..7abddb9f67 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();
}