Consistent naming of invisible_chars

This commit is contained in:
Marco Dickert 2024-08-11 23:49:12 +02:00
parent 1679b4531f
commit 86437aa2ba
4 changed files with 6 additions and 6 deletions

View File

@ -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.",

View File

@ -62,7 +62,7 @@
"invalid_filename": "Неверное имя файла.",
"invalid_params": "Неверный параметр.",
"invalid_url": "Неверный URL.",
"invis_chars": "Невидимые символы",
"invisible_chars": "Невидимые символы",
"json_encode_error": "Не удалось представить ответ в виде JSON:",
"last_modified": "Изменено",
"load_config_error": "Ошибка загрузки конфигурации.",

View File

@ -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,

View File

@ -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"