#!/bin/bash

OSCODE=$(grep CODENAME /etc/lsb-release |cut -d '=' -f2)

case "$LANG" in
    pl*)
    COMMENT="Lekki, szybki i funkcjonalny Linux z pulpitem na bazie Openbox"
    ;;
    *)
    COMMENT="Fast and Lightweight, ready to use Openbox Desktop"
    ;;
esac

yad --title="About Mabox" --window-icon=mbcc \
 --about \
 --pname="Mabox Linux" \
 --pversion="$(lsb_release -rs) <i>${OSCODE}</i>" \
 --image=mbcc \
 --comments="${COMMENT}" \
 --copyright="Copyright 2016-2023, Daniel Napora <danieln@maboxlinux.org>" \
 --license=GPL3 \
 --website="https://maboxlinux.org" \
 --website-label=maboxlinux.org \
 --authors="Daniel Napora <danieln@maboxlinux.org>"