1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-09 00:46:51 +02:00

Update translate-file.ps1

This commit is contained in:
Markus Fleschutz
2021-02-12 12:24:41 +01:00
committed by GitHub
parent 4118bd7142
commit 75924194bc

@ -6,11 +6,11 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
param([string]$SourceFile = "", [string]$SourceLanguage = "", [string]$TargetLanguage = "")
$PathToRepo = "$PSScriptRoot/.."
param($SourceFile = "", $SourceLanguage = "", $TargetLanguage = "")
try {
$PathToRepo = "$PSScriptRoot/.."
if ($SourceFile -eq "" ) {
$SourceFile = read-host "Enter path to file"
}