diff options
| author | volzhs <volzhs@gmail.com> | 2017-11-13 20:16:03 +0900 |
|---|---|---|
| committer | volzhs <volzhs@gmail.com> | 2017-11-13 20:37:28 +0900 |
| commit | 2e7345c00f0bab1114579efcf27d5a123943a9a0 (patch) | |
| tree | e540388c2b5c39cdeb485a1d63e51d668614c6ed /editor/filesystem_dock.cpp | |
| parent | b279f641c0b9e7af711d857917353905b48c6913 (diff) | |
| download | redot-engine-2e7345c00f0bab1114579efcf27d5a123943a9a0.tar.gz | |
Better TTR format
Diffstat (limited to 'editor/filesystem_dock.cpp')
| -rw-r--r-- | editor/filesystem_dock.cpp | 2 |
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(); } |
