add toggle for decopt 12, some lang improvements

box-drawing
Ondřej Hruška 7 years ago
parent 6ee7754a6a
commit f47b7a5c40
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      _debug_replacements.php
  2. 25
      lang/en.php
  3. 6
      pages/cfg_term.php

@ -93,4 +93,6 @@ return [
'theme' => 0, 'theme' => 0,
'pwlock' => 0, 'pwlock' => 0,
'access_name' => 'espterm', 'access_name' => 'espterm',
'allow_decopt_12' => 0,
]; ];

@ -61,30 +61,31 @@ return [
colors and hex (#FFFFFF) for True Color (24-bit). colors and hex (#FFFFFF) for True Color (24-bit).
', ',
'term.fgbg_presets' => 'Presets', 'term.fgbg_presets' => 'Defaults Presets',
'term.color_scheme' => 'Color Scheme', 'term.color_scheme' => 'Color Scheme',
'term.reset_screen' => 'Reset screen & parser', 'term.reset_screen' => 'Reset screen & parser',
'term.term_title' => 'Header text', 'term.term_title' => 'Header Text',
'term.term_width' => 'Width', 'term.term_width' => 'Width',
'term.term_height' => 'Height', 'term.term_height' => 'Height',
'term.buttons' => 'Button labels', 'term.buttons' => 'Button Labels',
'term.theme' => 'Color palette', 'term.theme' => 'Color Palette',
'term.cursor_shape' => 'Cursor style', 'term.cursor_shape' => 'Cursor Style',
'term.parser_tout_ms' => 'Parser timeout', 'term.parser_tout_ms' => 'Parser Timeout',
'term.display_tout_ms' => 'Redraw delay', 'term.display_tout_ms' => 'Redraw Delay',
'term.display_cooldown_ms' => 'Redraw cooldown', 'term.display_cooldown_ms' => 'Redraw Cooldown',
'term.allow_decopt_12' => 'Allow \e?12h/l',
'term.fn_alt_mode' => 'SS3 Fn keys', 'term.fn_alt_mode' => 'SS3 Fn keys',
'term.show_config_links' => 'Show nav links', 'term.show_config_links' => 'Show nav links',
'term.show_buttons' => 'Show buttons', 'term.show_buttons' => 'Show buttons',
'term.loopback' => 'Local Echo (<span style="text-decoration:overline">SRM</span>)', 'term.loopback' => 'Local Echo (<span style="text-decoration:overline">SRM</span>)',
'term.crlf_mode' => 'Enter = CR+LF (LNM)', 'term.crlf_mode' => 'Enter = CR+LF (LNM)',
'term.want_all_fn' => 'Capture all keys<br>(F5, F11, F12…)', 'term.want_all_fn' => 'Capture F5, F11, F12',
'term.button_msgs' => 'Button codes<br>(ASCII, dec, CSV)', 'term.button_msgs' => 'Button codes<br>(ASCII, dec, CSV)',
'term.color_fg' => 'Default fg.', 'term.color_fg' => 'Default Fg.',
'term.color_bg' => 'Default bg.', 'term.color_bg' => 'Default Bg.',
'term.color_fg_prev' => 'Foreground', 'term.color_fg_prev' => 'Foreground',
'term.color_bg_prev' => 'Background', 'term.color_bg_prev' => 'Background',
'term.colors_preview' => 'Defaults', 'term.colors_preview' => '',
'cursor.block_blink' => 'Block, blinking', 'cursor.block_blink' => 'Block, blinking',
'cursor.block_steady' => 'Block, steady', 'cursor.block_steady' => 'Block, steady',

@ -288,6 +288,12 @@
<input type="hidden" id="show_config_links" name="show_config_links" value="%show_config_links%"> <input type="hidden" id="show_config_links" name="show_config_links" value="%show_config_links%">
</div> </div>
<div class="Row checkbox" >
<label><?= tr('term.allow_decopt_12') ?></label><!--
--><span class="box" tabindex=0 role=checkbox></span>
<input type="hidden" id="allow_decopt_12" name="allow_decopt_12" value="%allow_decopt_12%">
</div>
<div class="Row buttons"> <div class="Row buttons">
<a class="button icn-ok" href="#" onclick="qs('#form-expert').submit()"><?= tr('apply') ?></a> <a class="button icn-ok" href="#" onclick="qs('#form-expert').submit()"><?= tr('apply') ?></a>
</div> </div>

Loading…
Cancel
Save