1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paperless-ngx_ynh.git synced 2024-09-03 19:56:33 +02:00
paperless-ngx_ynh/config_panel.toml
CodeShakingSheep 9c2c3a2e58
Update config_panel.toml
Update question type and values
2024-07-03 13:04:35 -05:00

29 lines
1 KiB
TOML

version = "1.0"
#name = "Paperless-ngx configuration panel"
[main]
name = "Paperless-ngx configuration"
[main.ocr]
name = "Set OCR languages"
services = ["__APP__", "__APP__-consumer","__APP__-scheduler","__APP__-task-queue"]
[main.ocr.ocr_language]
ask = "Which OCR languages should be perfomed on your documents"
type = "string"
default = "eng"
help = """\
Read this information: https://github.com/YunoHost-Apps/paperless-ngx_ynh/tree/master/doc/PRE_INSTALL.md\n\
If your language contains a '-' such as chi-sim, you must use chi_sim\n\
Examples:\n- eng\n- eng+fra\n- eng+fra+chi_sim"""
bind = "PAPERLESS_OCR_LANGUAGE:__INSTALL_DIR__/paperless.conf"
[main.ocr.ocr_invalidate_digital_signatures]
ask = "Do you want signed PDF files to be consumed?"
type = "select"
choices.no = "{}"
choices.yes = "{\"invalidate_digital_signatures\": true}"
help = """\
Read this information: https://github.com/paperless-ngx/paperless-ngx/discussions/4047\n\
"""
bind = "PAPERLESS_OCR_USER_ARGS:__INSTALL_DIR__/paperless.conf"