File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ function System-Default {
22
33 try {
44
5- $dc = $itt .database.locales .Controls .$shortCulture
5+ $dc = $localsUrl .Controls .$shortCulture
66
77 if (-not $dc -or [string ]::IsNullOrWhiteSpace($dc )) {
88 Set-Statusbar - Text " Your default system language is not supported yet, fallback to English"
9- $dc = $itt .database.locales .Controls.en
9+ $dc = $localsUrl .Controls.en
1010 }
1111
1212 $itt [" window" ].DataContext = $dc
@@ -23,7 +23,7 @@ function Set-Language {
2323 if ($lang -eq " default" ) { System- Default }
2424 else {
2525 $itt.Language = $lang
26- $itt [" window" ].DataContext = $itt .database.locales .Controls .$ ($itt.Language )
26+ $itt [" window" ].DataContext = $localsUrl .Controls .$ ($itt.Language )
2727 Set-ItemProperty - Path $itt.registryPath - Name " locales" - Value $lang - Force
2828 }
29- }
29+ }
You can’t perform that action at this time.
0 commit comments