master
Daniel Napora 2020-02-26 15:15:26 +01:00
parent 1bde1b7ba2
commit 8668b41624
1 changed files with 10 additions and 1 deletions

View File

@ -398,6 +398,15 @@ CONFIG_FILE=$(mktemp)
MENU_ITEMS=$(mktemp) MENU_ITEMS=$(mktemp)
trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS};wmctrl -k off" EXIT trap "rm -f ${CONFIG_FILE} ${MENU_ITEMS};wmctrl -k off" EXIT
case $LANG in
pl*)
CANCEL="Anuluj"
;;
*)
CANCEL="Cancel"
;;
esac
JGWIDTH="340" JGWIDTH="340"
MENU_HALIGN="center" MENU_HALIGN="center"
MENU_VALIGN="center" MENU_VALIGN="center"
@ -420,7 +429,7 @@ cat <<EOF > ${MENU_ITEMS}
. $HOME/.config/mabox/exit.csv . $HOME/.config/mabox/exit.csv
^sep() ^sep()
Anuluj <small>esc</small>,exit 1 $CANCEL <small>esc</small>,exit 1
EOF EOF
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null