Fix syntax errors

This commit is contained in:
Markus Fleschutz
2023-05-26 09:39:57 +02:00
parent 9ed577c0d8
commit fb208f3814
10 changed files with 13 additions and 12 deletions

View File

@ -23,6 +23,7 @@ function DetectSourceLang { param([string]$Filename)
}
function TranslateFilename { param([string]$Filename, [string]$SourceLang, [string]$TargetLang)
[string]$SourceLanguage = ""
if ($SourceLang -eq "de") { $SourceLanguage = "Deutsch" }
if ($SourceLang -eq "en") { $SourceLanguage = "English" }
if ($SourceLang -eq "fr") { $SourceLanguage = "Français" }