diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index e4e6befbd..2887e3748 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -134,8 +134,9 @@ define(function () { out.filePickerButton = "Intégrer un fichier"; out.filePicker_close = "Fermer"; - out.filePicker_description = "Choisissez un fichier de votre CryptDrive pour l'intégrer"; + out.filePicker_description = "Choisissez un fichier de votre CryptDrive pour l'intégrer ou uploadez-en un nouveau"; out.filePicker_filter = "Filtrez les fichiers par leur nom"; + out.or = 'ou'; out.slideOptionsTitle = "Personnaliser la présentation"; out.slideOptionsButton = "Enregistrer (Entrée)"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 16bc6aff4..cad60ee63 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -136,8 +136,9 @@ define(function () { out.filePickerButton = "Embed a file"; out.filePicker_close = "Close"; - out.filePicker_description = "Choose a file from your CryptDrive to embed it"; + out.filePicker_description = "Choose a file from your CryptDrive to embed it or upload a new one"; out.filePicker_filter = "Filter files by name"; + out.or = 'or'; out.slideOptionsTitle = "Customize your slides"; out.slideOptionsButton = "Save (enter)"; diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index eec76cc6c..df2f17379 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -945,6 +945,25 @@ define([ })); } break; + case 'upload': + button = $('