We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4cda5 commit 47f9fb6Copy full SHA for 47f9fb6
App.config
Program.cs
@@ -15,10 +15,22 @@ static void Main(string[] args)
15
{
16
UserSettings.LoadSettings();
17
18
- if (UserSettings.language != null)
+ if (UserSettings.language != "")
19
20
System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo(UserSettings.language);
21
}
22
+ if(UserSettings.mapProvider == "")
23
+ {
24
+ // 本地化地图供应商设置
25
+ if (System.Threading.Thread.CurrentThread.CurrentUICulture.Name == "zh-CN")
26
27
+ UserSettings.mapProvider = "baidu";
28
+ }
29
+ else
30
31
+ UserSettings.mapProvider = "google";
32
33
34
35
new Application(Eto.Platform.Detect).Run(new MainForm());
36
0 commit comments