From 583caf89641a2b22e5a96f52a872a719d14b0f57 Mon Sep 17 00:00:00 2001 From: Skif-off Date: Fri, 16 Sep 2022 01:06:05 +0400 Subject: [PATCH] ADD: configuration.html: Section 'Miscellaneous': Some details about thumbnails. ADD: configxml.html: DefaultTextEncoding. Small cosmetic fix. ADD: variables.html: Note about file list encoding (%L and %F). --- doc/en/configuration.html | 3 ++- doc/en/configxml.html | 29 ++++++++++++++++++++++++++--- doc/en/variables.html | 1 + doc/ru/configuration.html | 3 ++- doc/ru/configxml.html | 29 ++++++++++++++++++++++++++--- doc/ru/variables.html | 1 + 6 files changed, 58 insertions(+), 8 deletions(-) diff --git a/doc/en/configuration.html b/doc/en/configuration.html index 11e5b830..97b9dd37 100644 --- a/doc/en/configuration.html +++ b/doc/en/configuration.html @@ -790,7 +790,8 @@

2. Configuration

Show warning messages ("OK" button only) – shows warning messages if enabled. (For example, if Double Commander cannot set some property or attribute of a file due to file system restrictions in the target directory.)

Always go to the root of a drive when changing drives – If unchecked, Double Commander will go to the last open directory on this drive (in this case, you can go to the root directory of the drive by pressing its button twice).

Show current directory in the main window title bar – If enabled, Double Commander will display the name of the current folder and the active panel path in the main window title bar.

-

Thumbnails – Here you can enable to save cache of thumbnails of images and set their size. The Remove thumbnails for no longer existing files button will help to remove obsolete thumbnails.

+

Thumbnails – Here you can enable to save cache of thumbnails of images and set their size. The thumbnail cache directory can be found in the Configuration section. Double Commander uses PNG or JPEG (only for *.bmp, *.jpg and *.jpeg) formats. The thumbnail name is the MD5 sum of the full name of the source file. The full name of the source file, its size and modification date will be added to the file.

+

The Remove thumbnails for no longer existing files button will help to remove obsolete thumbnails.

File comments (descript.ion) – Here you can set the default encoding for existing file comments (OEM, ANSI or UTF-8) and the encoding for new files (UTF-8 BOM, UTF-16 LE or UTF-16 BE).

The next group of parameters is used for import from Total Commander and export Directory Hotlist and toolbar: TC executable, Configuration file and Toolbar output path


diff --git a/doc/en/configxml.html b/doc/en/configxml.html index 9f664603..4ba9a949 100644 --- a/doc/en/configxml.html +++ b/doc/en/configxml.html @@ -423,6 +423,29 @@

3. Options to change manually

Windows only: use uppercase letters in the drives button bar and in the drives list. False by default. + +
<DefaultTextEncoding>
from <Miscellaneous>
+ + By default (NONE), the built-in file viewer and the built-in editor use automatic encoding detection, but you can specify one of the supported single-byte encodings as the default value. + The list of supported encodings can be viewed, for example, in the internal editor in the "Encoding" menu. Special values are also available:
+ + + + + + + + + + + + + +
ValueDescription
ANSIDefault system ANSI encoding (depends on user locale).
OEMDefault system OEM (DOS) encoding (depends on user locale).
+ This parameter does not affect the automatic detection of multibyte encodings (UTF-8, UTF-16 and others). + + +
Attribute Save
from <SyncDirs><Asymmetric>
@@ -442,15 +465,15 @@

3. Options to change manually

<Left> - files selected for copying or deleting on the left + Files selected for copying or deleting on the left. <Right> - files selected for copying or deleting on the right + Files selected for copying or deleting on the right. <Unknown> - files with the same names, but not identical + Files with the same names, but not identical. diff --git a/doc/en/variables.html b/doc/en/variables.html index 2c4e9a58..516cd638 100644 --- a/doc/en/variables.html +++ b/doc/en/variables.html @@ -327,6 +327,7 @@

9. List of files

File name of file list of selected items with just their relative path name +

Double Commander will use the ANSI system encoding in Windows or the default system encoding in Unix-like systems (in GNU/Linux distributions it is usually UTF-8).

diff --git a/doc/ru/configuration.html b/doc/ru/configuration.html index 67af79cf..54119d8b 100644 --- a/doc/ru/configuration.html +++ b/doc/ru/configuration.html @@ -790,7 +790,8 @@

2. Настройки

Показывать некритические сообщения об ошибках (с одной кнопкой "ОК") – если программа совершит действие или операцию с ошибкой и при этом не произойдёт никаких фатальных потерь, то будет показано окно с текстом ошибки и одной кнопкой "ОК". Иначе ошибка выводится не будет. (Например, если Double Commander не может установить какое-либо свойство или атрибут файла из-за ограничений файловой системы в целевом каталоге.)

При смене диска всегда переходить в корневой каталог – Если не отмечено, Double Commander будет переходить в последний открытый каталог этого диска (в этом случае вы можете перейти в корневой каталог диска, дважды нажав его кнопку).

Показывать текущий каталог в заголовке окна – Если включено, Double Commander будет отображать в заголовке окна имя текущей папки и путь активной панели.

-

Эскизы – Здесь вы можете включить сохранение кэша миниатюр изображений и установить их размер. Кнопка Удалить эскизы для отсутствующих файлов поможет удалить устаревшие эскизы.

+

Эскизы – Здесь вы можете включить сохранение кэша миниатюр изображений и установить их размер. Каталог для хранения кэша эскизов можно узнать в разделе Конфигурация. Double Commander использует форматы PNG или JPEG (только для *.bmp, *.jpg и *.jpeg). В качестве имени эскиза используется MD5-сумма полного имени исходного файла. В файл будут добавлены полное имя исходного файла, его размер и дата модификации.

+

Кнопка Удалить эскизы для отсутствующих файлов поможет удалить устаревшие эскизы.

Комментарии к файлам (descript.ion) – Здесь вы можете установить кодировку по умолчанию для файлов с комментариями (OEM, ANSI или UTF-8) и кодировку для новых файлов (UTF-8 BOM, UTF-16 LE или UTF-16 BE).

Следующая группа параметров используется для импортирования из Total Commander и экспортирования избранных каталогов и панели инструментов: Исполняемый файл TC, Файл настроек и Каталог с панелями инструментов.


diff --git a/doc/ru/configxml.html b/doc/ru/configxml.html index 2dbe7f2e..175fa26d 100644 --- a/doc/ru/configxml.html +++ b/doc/ru/configxml.html @@ -421,6 +421,29 @@

3. Параметры, изменяемые вручну Только Windows: использовать заглавные буквы в панели кнопок дисков и в списке дисков. По умолчанию False. + +
<DefaultTextEncoding>
в <Miscellaneous>
+ + По умолчанию (NONE) встроенная программа просмотра файлов и встроенный редактор используют автоматическое определение кодировки, но вы можете указать одну из поддерживаемых однобайтовых кодировок как значение по умолчанию. + Список поддерживаемых кодировок можно посмотреть, например, во встроенном редакторе в меню "Кодировка". Также доступны специальные значения:
+ + + + + + + + + + + + + +
ЗначениеОписание
ANSIСистемная кодировка ANSI по умолчанию (зависит от локали).
OEMСистемная кодировка OEM (DOS) по умолчанию (зависит от локали).
+ Этот параметр не затрагивает автоматическое определение многобайтовых кодировок (UTF-8, UTF-16 и другие). + + +
Атрибут Save
в <SyncDirs><Asymmetric>
@@ -440,15 +463,15 @@

3. Параметры, изменяемые вручну <Left> - файлы, выбранные для копирования или удаления слева + Файлы, выбранные для копирования или удаления слева. <Right> - файлы, выбранные для копирования или удаления справа + Файлы, выбранные для копирования или удаления справа. <Unknown> - файлы с одинаковыми именами, но не идентичные + Файлы с одинаковыми именами, но не идентичные. diff --git a/doc/ru/variables.html b/doc/ru/variables.html index 2b6b1e85..0219a7be 100644 --- a/doc/ru/variables.html +++ b/doc/ru/variables.html @@ -327,6 +327,7 @@

9. Список файлов

Файл со списком имён выделенных файлов с относительным путём +

Double Commander будет использовать системную кодировку ANSI в Windows или системную кодировку по умолчанию в Unix-подобных системах (в дистрибутивах GNU/Linux это обычно UTF-8).