From: Mischa POSLAWSKY Date: Tue, 6 Mar 2018 03:48:51 +0000 (+0100) Subject: mplayer: indicate mpv subpage in title X-Git-Tag: v1.12~90 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/2569fca3e29ece8573256fc882a8daa62bb4ee8d mplayer: indicate mpv subpage in title --- diff --git a/mplayer.plp b/mplayer.plp index 8397498..d868fc9 100644 --- a/mplayer.plp +++ b/mplayer.plp @@ -1,27 +1,27 @@ <(common.inc.plp)><: -my $include = $Request eq 'mpv' ? $Request : 'mplayer'; +my $mode = $Request eq 'mpv' ? $Request : 'MPlayer'; +my $include = "\L$mode.eng.inc.pl"; Html({ - title => 'mplayer cheat sheet', + title => "\L$mode\E cheat sheet", version => '1.1', description => [ - "Keyboard cheat sheet for the MPlayer media player,", + "Keyboard cheat sheet for the $mode media player,", "overviewing the default controls." ], keywords => [qw' - mplayer video media sheet cheat reference overview control shortkey keyboard + mpv mplayer mplayer2 media player video audio + sheet cheat reference overview control shortkey keyboard '], stylesheet => [qw( light dark circus mono red )], keys => 1, + data => [$include], }); -:> -

MPlayer cheat sheet

+say "

$mode cheat sheet

"; +say ''; -

index (default)

- -<: use Shiar_Sheet::Keyboard 2; my $info = do $include or die $@; my $keys = Shiar_Sheet::Keyboard->new($info);