diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-11 22:59:05 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-12 12:00:55 +0100 |
commit | 15b8185c68cbf46802834fc629a758d144abaeb6 (patch) | |
tree | d1930a14450bd28ec49a51f3128b47b32c4554d5 /platform/windows/display_server_windows.cpp | |
parent | e38686f85b768a451dc06324fe2471adc8665448 (diff) | |
download | redot-engine-15b8185c68cbf46802834fc629a758d144abaeb6.tar.gz |
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
Diffstat (limited to 'platform/windows/display_server_windows.cpp')
-rw-r--r-- | platform/windows/display_server_windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 55a6c290f1..e8d81405f0 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -355,7 +355,7 @@ Error DisplayServerWindows::file_dialog_show(const String &p_title, const String p_callback.callp(args, 3, ret, ce); if (ce.error != Callable::CallError::CALL_OK) { - ERR_PRINT(vformat(RTR("Failed to execute file dialogs callback: %s."), Variant::get_callable_error_text(p_callback, args, 3, ce))); + ERR_PRINT(vformat("Failed to execute file dialogs callback: %s.", Variant::get_callable_error_text(p_callback, args, 3, ce))); } } } else { @@ -369,7 +369,7 @@ Error DisplayServerWindows::file_dialog_show(const String &p_title, const String p_callback.callp(args, 3, ret, ce); if (ce.error != Callable::CallError::CALL_OK) { - ERR_PRINT(vformat(RTR("Failed to execute file dialogs callback: %s."), Variant::get_callable_error_text(p_callback, args, 3, ce))); + ERR_PRINT(vformat("Failed to execute file dialogs callback: %s.", Variant::get_callable_error_text(p_callback, args, 3, ce))); } } } |