From 460832a6ef62d4d38c43da6cde8c14538c25e4b8 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 4 Apr 2022 16:32:02 +0530 Subject: [PATCH] better comments for clientside config parameters --- www/common/application_config_internal.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index 67d1d92cd..09999d500 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -35,7 +35,12 @@ define(function() { //'doc', 'presentation' ]; - // XXX + /* 'doc' and 'presentation' are considered experimental and are hidden from users + * unless they have a custom quota applied via the admin panel. You can customize + * which apps are treated this way via the parameter below. This behaviour is not + * officially supported and the development team won't help you with any problems + * that you experience if you change this value. + */ // AppConfig.premiumTypes = ['doc', 'presentation']; /* CryptPad is available is multiple languages, but only English and French are maintained @@ -107,6 +112,18 @@ define(function() { */ AppConfig.roadmap = false; + /* By default CryptPad instances display some text on the home page indicating that + * they are an independent community instance of the software. You can provide customized messages + * by filling in the following data structure with strings for each language you intend to support. + */ + AppConfig.hostDescription = { + // default: "Hello world", + // en: "Hello world", + // fr: "Bonjour le monde", + // de: "Hallo Welt", + // "pt-br": "Olá Mundo"< + }; + /* Cryptpad apps use a common API to display notifications to users * by default, notifications are hidden after 5 seconds * You can change their duration here (measured in milliseconds)