mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Update translate-file.ps1
This commit is contained in:
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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user