File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ namespace DeadLock.Forms
19
19
public partial class FrmMain : MetroForm
20
20
{
21
21
#region Variables
22
+
22
23
private readonly LanguageManager _languageManager ;
23
24
private Update _update ;
24
25
25
26
private readonly string [ ] _args ;
27
+
26
28
#endregion
27
29
28
30
/// <summary>
@@ -50,7 +52,14 @@ public FrmMain(string[] args)
50
52
}
51
53
else
52
54
{
53
- _languageManager . LoadLanguage ( Properties . Settings . Default . Language ) ;
55
+ try
56
+ {
57
+ _languageManager . LoadLanguage ( Properties . Settings . Default . Language ) ;
58
+ }
59
+ catch ( Exception )
60
+ {
61
+ _languageManager . LoadLanguage ( 1 ) ;
62
+ }
54
63
}
55
64
LanguageSwitch ( ) ;
56
65
Original file line number Diff line number Diff line change 68
68
<BtnLicense >License</BtnLicense >
69
69
<LblGeneral >General</LblGeneral >
70
70
<ChbAutoUpdate >Automatically check for updates:</ChbAutoUpdate >
71
- <ChbShowNotifyIcon >Show notifyicon :</ChbShowNotifyIcon >
71
+ <ChbShowNotifyIcon >Show notify icon :</ChbShowNotifyIcon >
72
72
<ChbStartMinimized >Start minimized:</ChbStartMinimized >
73
73
<ChbShowAdminWarning >Show administrator warning:</ChbShowAdminWarning >
74
74
<LblAppearance >Appearance</LblAppearance >
You can’t perform that action at this time.
0 commit comments