Added the following ENVIRONMENT VARIABLES > send.ftl - if not set it will use translate().
CUSTOM_INTRO_TITLE > introTitle CUSTOM_INTRO_DESCRIPTION: > introDescription CUSTOM_DOWNLOAD_DESCRIPTION: downloadDescription CUSTOM_TRY_SEND_DESCRIPTION: trySendDescription CUSTOM_SEND_YOUR_FILES_LINK: sendYourFilesLink CUSTOM_INTRO_TITLE: "Secure & Simple" CUSTOM_INTRO_DESCRIPTION: "Share files with end-to-end encryption and a link that expires." CUSTOM_DOWNLOAD_DESCRIPTION: "Shared with end-to-end encryption and a link that expires." CUSTOM_TRY_SEND_DESCRIPTION: "Secure, Simple file sharing" CUSTOM_SEND_YOUR_FILES_LINK: "Upload Files"
This commit is contained in:
parent
5124572dba
commit
2f491fac86
8 changed files with 83 additions and 15 deletions
|
@ -175,9 +175,35 @@ const conf = convict({
|
|||
},
|
||||
custom_description: {
|
||||
format: String,
|
||||
default: 'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.',
|
||||
default:
|
||||
'Encrypt and send files with a link that automatically expires to ensure your important documents don’t stay online forever.',
|
||||
env: 'CUSTOM_DESCRIPTION'
|
||||
},
|
||||
custom_intro_title: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'CUSTOM_INTRO_TITLE'
|
||||
},
|
||||
custom_intro_description: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'CUSTOM_INTRO_DESCRIPTION'
|
||||
},
|
||||
custom_download_description: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'CUSTOM_DOWNLOAD_DESCRIPTION'
|
||||
},
|
||||
custom_try_send_description: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'CUSTOM_TRY_SEND_DESCRIPTION'
|
||||
},
|
||||
custom_send_your_files_link: {
|
||||
format: String,
|
||||
default: '',
|
||||
env: 'CUSTOM_SEND_YOUR_FILES_LINK'
|
||||
},
|
||||
detect_base_url: {
|
||||
format: Boolean,
|
||||
default: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue