mirror of
https://github.com/misterunknown/ifm.git
synced 2025-01-16 20:28:26 +01:00
Consistent naming of invisible_chars
This commit is contained in:
parent
1679b4531f
commit
86437aa2ba
@ -62,7 +62,7 @@
|
||||
"invalid_filename": "Invalid filename given.",
|
||||
"invalid_params": "Invalid parameter given.",
|
||||
"invalid_url": "Invalid URL given.",
|
||||
"invis_chars": "Invisible chars",
|
||||
"invisible_chars": "Invisible chars",
|
||||
"json_encode_error": "Could not format the response as JSON:",
|
||||
"last_modified": "Last Modified",
|
||||
"load_config_error": "Could not load configuration.",
|
||||
|
@ -62,7 +62,7 @@
|
||||
"invalid_filename": "Неверное имя файла.",
|
||||
"invalid_params": "Неверный параметр.",
|
||||
"invalid_url": "Неверный URL.",
|
||||
"invis_chars": "Невидимые символы",
|
||||
"invisible_chars": "Невидимые символы",
|
||||
"json_encode_error": "Не удалось представить ответ в виде JSON:",
|
||||
"last_modified": "Изменено",
|
||||
"load_config_error": "Ошибка загрузки конфигурации.",
|
||||
|
@ -538,7 +538,7 @@ function IFM(params) {
|
||||
self.templates.file_editoroptions,
|
||||
{
|
||||
wordwrap: ( aceSession.getOption( 'wrap' ) == 'off' ? false : true ),
|
||||
invischars: aceEditor.getOption( 'showInvisibles' ),
|
||||
invisible_chars: aceEditor.getOption( 'showInvisibles' ),
|
||||
softtabs: aceSession.getOption( 'useSoftTabs' ),
|
||||
tabsize: aceSession.getOption( 'tabSize' ),
|
||||
ace_includes: self.ace,
|
||||
|
@ -10,11 +10,11 @@
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="editor-invisible-chars"
|
||||
{{#invischars}}
|
||||
{{#invisible_chars}}
|
||||
checked="checked"
|
||||
{{/invischars}}
|
||||
{{/invisible_chars}}
|
||||
>
|
||||
<label class="form-check-label" for="editor-invisible-chars">{{i18n.invis_chars}}</label>
|
||||
<label class="form-check-label" for="editor-invisible-chars">{{i18n.invisible_chars}}</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="editor-softtabs"
|
||||
|
Loading…
x
Reference in New Issue
Block a user