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:
Dylan Derr 2025-02-08 12:37:18 -06:00
parent 5124572dba
commit 2f491fac86
8 changed files with 83 additions and 15 deletions

View file

@ -15,6 +15,11 @@ module.exports = {
FOOTER_SOURCE_URL: config.footer_source_url,
CUSTOM_FOOTER_TEXT: config.custom_footer_text,
CUSTOM_FOOTER_URL: config.custom_footer_url,
CUSTOM_INTRO_TITLE: config.custom_intro_title,
CUSTOM_INTRO_DESCRIPTION: config.custom_intro_description,
CUSTOM_DOWNLOAD_DESCRIPTION: config.custom_download_description,
CUSTOM_TRY_SEND_DESCRIPTION: config.custom_try_send_description,
CUSTOM_SEND_YOUR_FILES_LINK: config.custom_send_your_files_link,
COLORS: {
PRIMARY: config.ui_color_primary,
ACCENT: config.ui_color_accent