Ticket #3287: bind poedit to Edit action for .po files.

Thanks Marcel Pol <marcel at timelord dot nl> for original patch.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2015-01-10 20:32:07 +03:00
parent 3fae7c227d
commit 564deafe72
2 changed files with 7 additions and 0 deletions

View File

@ -75,6 +75,9 @@ do_open_action() {
(glade-2 "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
fi
;;
po)
(poedit "${MC_EXT_FILENAME}" >/dev/null 2>&1 &)
;;
lyx)
lyx "${MC_EXT_FILENAME}"
;;

View File

@ -656,6 +656,10 @@ shell/i/.glade
shell/.mo
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
# po
shell/.po
Open=@EXTHELPERSDIR@/misc.sh open po
# lyx
shell/i/.lyx
Open=@EXTHELPERSDIR@/misc.sh open lyx