mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make editor language setting default to Auto
This commit is contained in:
parent
0fdbf050e0
commit
ba6b7d2818
8 changed files with 79 additions and 32 deletions
|
|
@ -41,7 +41,7 @@ namespace GodotTools.Build
|
|||
startInfo.UseShellExecute = false;
|
||||
startInfo.CreateNoWindow = true;
|
||||
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"]
|
||||
= ((string)editorSettings.GetSetting("interface/editor/editor_language")).Replace('_', '-');
|
||||
= ((string)EditorInterface.Singleton.GetEditorLanguage()).Replace('_', '-');
|
||||
|
||||
if (OperatingSystem.IsWindows())
|
||||
{
|
||||
|
|
@ -111,7 +111,7 @@ namespace GodotTools.Build
|
|||
startInfo.RedirectStandardError = true;
|
||||
startInfo.UseShellExecute = false;
|
||||
startInfo.EnvironmentVariables["DOTNET_CLI_UI_LANGUAGE"]
|
||||
= ((string)editorSettings.GetSetting("interface/editor/editor_language")).Replace('_', '-');
|
||||
= ((string)EditorInterface.Singleton.GetEditorLanguage()).Replace('_', '-');
|
||||
|
||||
if (OperatingSystem.IsWindows())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue