mirror of
https://github.com/godotengine/godot.git
synced 2025-03-07 23:32:58 +08:00
Merge pull request #98504 from timothyqiu/test-keyevent-rtr
Fix `InputEventKey` test failure under certain system languages
This commit is contained in:
commit
0ce9e3e941
@ -369,6 +369,9 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (EditorSettings::get_singleton()) {
|
||||
EditorSettings::destroy();
|
||||
|
||||
// Instantiating the EditorSettings singleton sets the locale to the editor's language.
|
||||
TranslationServer::get_singleton()->set_locale("en");
|
||||
}
|
||||
if (EditorPaths::get_singleton()) {
|
||||
EditorPaths::free();
|
||||
|
Loading…
Reference in New Issue
Block a user