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 14237e9 commit 977f117Copy full SHA for 977f117
scripts/UI/Set-Langusege.ps1
@@ -14,14 +14,15 @@ function System-Default {
14
}
15
16
Set-ItemProperty -Path $itt.registryPath -Name "locales" -Value "default" -Force
17
+
18
19
20
function Set-Language {
21
param ([string]$lang)
22
if ($lang -eq "default") { System-Default }
23
else {
24
+ $itt.Language = $lang
25
$itt["window"].DataContext = $itt.database.locales.Controls.$($itt.Language)
26
Set-ItemProperty -Path $itt.registryPath -Name "locales" -Value $lang -Force
- $itt.Language = $lang
27
28
0 commit comments