You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix InputEventKey test failure under certain system languages
This commit is contained in:
@@ -363,6 +363,9 @@ struct GodotTestCaseListener : public doctest::IReporter {
|
|||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
if (EditorSettings::get_singleton()) {
|
if (EditorSettings::get_singleton()) {
|
||||||
EditorSettings::destroy();
|
EditorSettings::destroy();
|
||||||
|
|
||||||
|
// Instantiating the EditorSettings singleton sets the locale to the editor's language.
|
||||||
|
TranslationServer::get_singleton()->set_locale("en");
|
||||||
}
|
}
|
||||||
#endif // TOOLS_ENABLED
|
#endif // TOOLS_ENABLED
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user