Merge pull request #299 from JisJ3rry/patch-1
Check actual language instead of regionpull/296/head^2
commit
5650fa0122
|
@ -3,7 +3,7 @@
|
||||||
Function Get-NotifLocale {
|
Function Get-NotifLocale {
|
||||||
|
|
||||||
#Get OS locale
|
#Get OS locale
|
||||||
$OSLocale = (Get-Culture).Parent
|
$OSLocale = (Get-UICulture).Parent
|
||||||
|
|
||||||
#Test if OS locale notif file exists
|
#Test if OS locale notif file exists
|
||||||
$TestOSLocalPath = "$WorkingDir\locale\$($OSLocale.Name).xml"
|
$TestOSLocalPath = "$WorkingDir\locale\$($OSLocale.Name).xml"
|
||||||
|
|
Loading…
Reference in New Issue