update
parent
f19c2723e5
commit
239c8ba258
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue