From 3b581a32e1e53701d52dec117e6ae7cf49d7b235 Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Tue, 11 Oct 2022 18:25:02 +0200 Subject: [PATCH] Strings in all Locale --- Winget-AutoUpdate/functions/Get-NotifLocale.ps1 | 7 ------- Winget-AutoUpdate/locale/de.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/es.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/fi.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/fr.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/hu.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/it.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/nl.xml | 12 ++++++++++++ Winget-AutoUpdate/locale/pl.xml | 12 ++++++++++++ 9 files changed, 96 insertions(+), 7 deletions(-) diff --git a/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 b/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 index 386409d..24b75e0 100644 --- a/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 +++ b/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 @@ -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 diff --git a/Winget-AutoUpdate/locale/de.xml b/Winget-AutoUpdate/locale/de.xml index b373116..81375d0 100644 --- a/Winget-AutoUpdate/locale/de.xml +++ b/Winget-AutoUpdate/locale/de.xml @@ -30,5 +30,17 @@ Bitte wenden sie sich an den Support. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/es.xml b/Winget-AutoUpdate/locale/es.xml index aef9e3f..3a083c1 100644 --- a/Winget-AutoUpdate/locale/es.xml +++ b/Winget-AutoUpdate/locale/es.xml @@ -30,5 +30,17 @@ Por favor, póngase en contacto con el servicio de soporte. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/fi.xml b/Winget-AutoUpdate/locale/fi.xml index 570b5c4..9a576a2 100644 --- a/Winget-AutoUpdate/locale/fi.xml +++ b/Winget-AutoUpdate/locale/fi.xml @@ -30,5 +30,17 @@ Ole yhteydessä tukeen. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/fr.xml b/Winget-AutoUpdate/locale/fr.xml index 3362d5a..ad76473 100644 --- a/Winget-AutoUpdate/locale/fr.xml +++ b/Winget-AutoUpdate/locale/fr.xml @@ -30,5 +30,17 @@ Contacter le support. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/hu.xml b/Winget-AutoUpdate/locale/hu.xml index 9cc70f1..8ac1671 100644 --- a/Winget-AutoUpdate/locale/hu.xml +++ b/Winget-AutoUpdate/locale/hu.xml @@ -30,5 +30,17 @@ Kérjük, forduljon az ügyfélszolgálathoz. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/it.xml b/Winget-AutoUpdate/locale/it.xml index df3b99a..6e67787 100644 --- a/Winget-AutoUpdate/locale/it.xml +++ b/Winget-AutoUpdate/locale/it.xml @@ -30,5 +30,17 @@ Per favore contatta il supporto. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/nl.xml b/Winget-AutoUpdate/locale/nl.xml index 16451dc..53bd252 100644 --- a/Winget-AutoUpdate/locale/nl.xml +++ b/Winget-AutoUpdate/locale/nl.xml @@ -30,5 +30,17 @@ Neem contact op met support. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! + diff --git a/Winget-AutoUpdate/locale/pl.xml b/Winget-AutoUpdate/locale/pl.xml index a59e7a9..1b86530 100644 --- a/Winget-AutoUpdate/locale/pl.xml +++ b/Winget-AutoUpdate/locale/pl.xml @@ -30,5 +30,17 @@ Skontaktuj się z pomocą techniczną. + + + Logs are not available yet! + + + + Starting a manual check for updated apps... + + + + Couldn't start a manual check for updated apps! +