param([string]$cultureName='') | |
$localePath=’C:\Users\hbulens\Desktop\test\{0}.js’ -f $cultureName | |
$localeTemplate = "@ | |
Ext.onReady(function() { | |
if (Ext.util && Ext.util.Format) { | |
Ext.apply(Ext.util.Format, { | |
thousandSeparator: '.', | |
decimalSeparator: ',', | |
currencySign: 'R', | |
dateFormat: 'd-m-Y' | |
}); | |
} | |
}); | |
;@ | |
Set-Content -Value $localeTemplate -Path $localePath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment