mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
removed psobject to hashtables that were missed (#32710)
* removed psobject to hashtables that were missed * fix up win_region change
This commit is contained in:
parent
d21f32168f
commit
5e20fd0943
10 changed files with 29 additions and 29 deletions
|
@ -102,7 +102,7 @@ Function Set-CultureLegacy($culture) {
|
|||
|
||||
$lookup = New-Object Ansible.LocaleHelper($culture)
|
||||
# hex values are from http://www.pinvoke.net/default.aspx/kernel32/GetLocaleInfoEx.html
|
||||
$wanted_values = New-Object PSObject @{
|
||||
$wanted_values = @{
|
||||
Locale = '{0:x8}' -f ([System.Globalization.CultureInfo]$culture).LCID
|
||||
LocaleName = $culture
|
||||
s1159 = $lookup.GetValueFromType(0x00000028)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue