master
Daniel Napora 2022-10-01 19:57:01 +02:00
parent 8072d1a4fd
commit d88ddc58dd
1 changed files with 9 additions and 2 deletions

View File

@ -854,6 +854,7 @@ case $LANG in
REC_AUDIO="Nagrywaj dźwięk" REC_AUDIO="Nagrywaj dźwięk"
NO_AUDIO="Bez dźwięku" NO_AUDIO="Bez dźwięku"
OPEN_REC_DIR="Otwórz katalog z nagraniami" OPEN_REC_DIR="Otwórz katalog z nagraniami"
EDIT_CONF_FILE="Edytuj plik konfiguracyjny"
;; ;;
es*) es*)
SCRNSHOTS="Captura Pantalla" SCRNSHOTS="Captura Pantalla"
@ -868,8 +869,8 @@ case $LANG in
OPEN_SCR_DIR="Abrir carpeta de capturas" OPEN_SCR_DIR="Abrir carpeta de capturas"
CANCEL="Cancelar" CANCEL="Cancelar"
SCRNREC="Screen recording" SCRNREC="Screen recording"
FULLREC="Full screen " FULLREC="Pantalla completa "
AREA="Selected Area or Window" AREA="Seleccionar Área o Ventana"
VIDEOSETTINGS="Recording settings" VIDEOSETTINGS="Recording settings"
AUDIO="Audio" AUDIO="Audio"
FORMAT="Container (file extension)" FORMAT="Container (file extension)"
@ -877,6 +878,7 @@ case $LANG in
REC_AUDIO="Record Audio" REC_AUDIO="Record Audio"
NO_AUDIO="No Audio" NO_AUDIO="No Audio"
OPEN_REC_DIR="Open recordings dir" OPEN_REC_DIR="Open recordings dir"
EDIT_CONF_FILE="Edit config file"
;; ;;
*) *)
SCRNSHOTS="Screenshot" SCRNSHOTS="Screenshot"
@ -900,6 +902,7 @@ case $LANG in
REC_AUDIO="Record Audio" REC_AUDIO="Record Audio"
NO_AUDIO="No Audio" NO_AUDIO="No Audio"
OPEN_REC_DIR="Open recordings dir" OPEN_REC_DIR="Open recordings dir"
EDIT_CONF_FILE="Edit config file"
;; ;;
esac esac
jgtools_padding=${jgtools_padding:-0} jgtools_padding=${jgtools_padding:-0}
@ -996,6 +999,8 @@ cat <<EOF > ${MENU_ITEMS}
$AUDIO [ <b>${AUD}</b> ],^checkout(audio) $AUDIO [ <b>${AUD}</b> ],^checkout(audio)
$FORMAT [ <b>${container}</b> ],^checkout(format) $FORMAT [ <b>${container}</b> ],^checkout(format)
$FRAMERATE [ <b>${framerate}</b> ],^checkout(framerate) $FRAMERATE [ <b>${framerate}</b> ],^checkout(framerate)
^sep()
 $EDIT_CONF_FILE,xdg-open $CNF_FILE
^tag(audio) ^tag(audio)
^sep($AUDIO) ^sep($AUDIO)
$REC_AUDIO,mb-setvar record_audio=yes ${CNF_FILE};mb-jgtools screenshot ipc $REC_AUDIO,mb-setvar record_audio=yes ${CNF_FILE};mb-jgtools screenshot ipc
@ -1010,6 +1015,8 @@ mp4,mb-setvar container=mp4 ${CNF_FILE};mb-jgtools screenshot ipc
30,mb-setvar framerate=30 ${CNF_FILE};mb-jgtools screenshot ipc 30,mb-setvar framerate=30 ${CNF_FILE};mb-jgtools screenshot ipc
25,mb-setvar framerate=25 ${CNF_FILE};mb-jgtools screenshot ipc 25,mb-setvar framerate=25 ${CNF_FILE};mb-jgtools screenshot ipc
24,mb-setvar framerate=24 ${CNF_FILE};mb-jgtools screenshot ipc 24,mb-setvar framerate=24 ${CNF_FILE};mb-jgtools screenshot ipc
15,mb-setvar framerate=15 ${CNF_FILE};mb-jgtools screenshot ipc
10,mb-setvar framerate=10 ${CNF_FILE};mb-jgtools screenshot ipc
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
} }