Strings in all Locale

pull/178/head
KnifMelti 2022-10-11 18:25:02 +02:00
parent 610c7937c2
commit 3b581a32e1
9 changed files with 96 additions and 7 deletions

View File

@ -22,13 +22,6 @@ Function Get-NotifLocale {
#Get locale XML file content
[xml]$Script:NotifLocale = Get-Content $LocaleFile -Encoding UTF8 -ErrorAction SilentlyContinue
#Test if new strings exist in $LocaleFile
if ($null -eq $NotifLocale.local.outputs.output[7].message){
$LocaleFile = "$WorkingDir\locale\en.xml"
#Get locale XML file content
[xml]$Script:NotifLocale = Get-Content $LocaleFile -Encoding UTF8 -ErrorAction SilentlyContinue
}
#Rerturn langague display name
Return $LocaleDisplayName

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Bitte wenden sie sich an den Support.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Por favor, póngase en contacto con el servicio de soporte.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Ole yhteydessä tukeen.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Contacter le support.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Kérjük, forduljon az ügyfélszolgálathoz.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Per favore contatta il supporto.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Neem contact op met support.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>

View File

@ -30,5 +30,17 @@
<!--Please contact support-->
<message>Skontaktuj się z pomocą techniczną.</message>
</output>
<output id="5">
<!--Logs are not available yet-->
<message>Logs are not available yet!</message>
</output>
<output id="6">
<!--Starting a manual check for updated apps-->
<message>Starting a manual check for updated apps...</message>
</output>
<output id="7">
<!--Couldn't start a manual check for updated apps-->
<message>Couldn't start a manual check for updated apps!</message>
</output>
</outputs>
</local>