Update custom_dictionary.md

This commit is contained in:
shenleban tongying 2023-07-26 05:58:11 -04:00 committed by GitHub
parent 2bceadd745
commit 474cb22af9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,6 @@
You can customize the dictionary by the metadata.toml which is also used in [metadata grouping](manage_groups.md)
## About the configuration of metadata.toml
the metadata.toml use toml format for configuration.
A `metadata.toml`, which uses [toml](https://toml.io) format, can be placed on each dictionary's root folder to customize or override some properties. It is also used in [auto grouping by metadata](manage_groups.md)
## Customize the name of the dictionary
@ -13,14 +9,12 @@ the metadata.toml use toml format for configuration.
name = "New Name"
```
this `New Name` will be appeared as the dictionary name.
This `New Name` will be appeared as the dictionary name.
The `metadata.toml` should be placed beside dictionary files. One `metadata.toml` for each dictionary.
The metadata file uses [TOML](https://toml.io) format.
For example,
```
@ -48,14 +42,13 @@ name="New Name"
```
this `fts` field's value can be on/off, 1/0 ,true/false etc.
The `fts` field's value can be `on/off`, `1/0` ,`true/false` etc.
```
fts=false
```
will disable the current dictionary's full-text search.
you can check the full-text search on each dictionary's info dialog.
you can check the full-text search status on each dictionary's info dialog.
![](img/dictionary-info-fullindex.png)