master
Daniel Napora 2020-08-24 16:13:01 +02:00
parent f19c2723e5
commit 239c8ba258
1 changed files with 10 additions and 3 deletions

View File

@ -5,10 +5,17 @@
virtualboxes() {
case $LANG in
pl*)
VBOXGUI="VirtualBox GUI"
VBOXES="Maszyny wirtualne"
REFRESH="Odśwież listę"
;;
es*)
VBOXGUI="Interfaz VirtualBox"
VBOXES="Virtual Machines"
REFRESH="Refrescar lista"
;;
*)
VBOXGUI="VirtualBox GUI"
VBOXES="Virtual Machines"
REFRESH="Refresh list"
;;
@ -16,7 +23,7 @@ esac
if [[ -x "$(command -v VBoxManage)" ]]; then
{
printf "%b\n" "^sep($VBOXES)"
printf "%b\n" "VirtualBox GUI,virtualbox"
printf "%b\n" "$VBOXGUI,virtualbox"
printf "%b\n" "^sep()"
}> $HOME/.config/mabox/vboxes.csv
VBoxManage list -s vms | cut -f 2 -d "\"" | sort -f | while read vm