mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Update custom_dictionary.md
This commit is contained in:
parent
2bceadd745
commit
474cb22af9
|
@ -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 status on each dictionary's info dialog.
|
||||
|
||||
you can check the full-text search on each dictionary's info dialog.
|
||||
|
||||
![](img/dictionary-info-fullindex.png)
|
||||
![](img/dictionary-info-fullindex.png)
|
||||
|
|
Loading…
Reference in a new issue