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