mirror of
https://github.com/YunoHost-Apps/paperless-ngx_ynh.git
synced 2024-09-03 19:56:33 +02:00
9c2c3a2e58
Update question type and values
29 lines
1 KiB
TOML
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"
|