translate to english
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
function errormsg {
|
||||
zenity --warning --text "Falsche Eingabe. Breche ab."
|
||||
zenity --warning --text "Wrong input. Cancel."
|
||||
}
|
||||
|
||||
CURDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
@@ -15,9 +15,9 @@ echo $CODE | base64 -d > "$CURDIR"/"$PYFILENAME"
|
||||
chmod +x "$PYFILENAME"
|
||||
|
||||
## ASK FOR MIXCLOUD URL, DESIRED FILENAME AND DIRECTORY
|
||||
MIXURL=$(zenity --entry --text "URL des Mixcloud-Sets:" --title "Mixcloud-Link eingeben")
|
||||
OUTNAME="$(zenity --entry --text "Dateiname des Mixcloud-Sets (ohne Endung):" --title "Dateiname aussuchen")"
|
||||
OUTDIR=$(zenity --file-selection --title "Downloadort auswählen" --filename=$HOME/ --directory)
|
||||
MIXURL=$(zenity --entry --text "URL of Mixcloud set:" --title "Enter Mixcloud URL")
|
||||
OUTNAME="$(zenity --entry --text "Desired Filename of Mixcloud set (without path or ext):" --title "Choose Filename")"
|
||||
OUTDIR=$(zenity --file-selection --title "Choose destination folder" --filename=$HOME/ --directory)
|
||||
|
||||
# Convert URL to Downloadlink with Py script
|
||||
DLURL=$(python "$CURDIR"/"$PYFILENAME" $MIXURL)
|
||||
@@ -30,7 +30,7 @@ fi
|
||||
|
||||
|
||||
## START DOWNLOAD SEQUENCE
|
||||
zenity --info --text "Download startet, das kann eine Weile dauern."
|
||||
zenity --info --text "Download starts. This may take a while..."
|
||||
|
||||
FINISHED="0"
|
||||
t=0
|
||||
@@ -57,4 +57,4 @@ ORIGEXT=${ORIGFILE##*.}
|
||||
mv "$OUTDIR"/"$ORIGFILE" "$OUTDIR"/"$OUTNAME.$ORIGEXT"
|
||||
rm "$CURDIR"/"$PYFILENAME"
|
||||
|
||||
zenity --info --text "Download nach $t Durchläufen fertig."
|
||||
zenity --info --text "Download finished after $t download circles."
|
||||
|
||||
Reference in New Issue
Block a user