mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-30 06:58:49 +02:00
Update translate-file.ps1
This commit is contained in:
parent
4118bd7142
commit
75924194bc
@ -6,11 +6,11 @@
|
|||||||
.NOTES Author: Markus Fleschutz / License: CC0
|
.NOTES Author: Markus Fleschutz / License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param([string]$SourceFile = "", [string]$SourceLanguage = "", [string]$TargetLanguage = "")
|
param($SourceFile = "", $SourceLanguage = "", $TargetLanguage = "")
|
||||||
|
|
||||||
$PathToRepo = "$PSScriptRoot/.."
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
$PathToRepo = "$PSScriptRoot/.."
|
||||||
|
|
||||||
if ($SourceFile -eq "" ) {
|
if ($SourceFile -eq "" ) {
|
||||||
$SourceFile = read-host "Enter path to file"
|
$SourceFile = read-host "Enter path to file"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user