diff --git a/bin/mabox-obstart b/bin/mabox-obstart index cfef4de..b0d7d60 100755 --- a/bin/mabox-obstart +++ b/bin/mabox-obstart @@ -5,18 +5,25 @@ 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" - ;; + ;; 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