diff --git a/.gitignore b/.gitignore index abc6eb530..a75bb20e2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ messages.log .DS_Store www/scratch data +npm-debug.log diff --git a/customize.dist/main.js b/customize.dist/main.js index 83295af5b..8452a2480 100644 --- a/customize.dist/main.js +++ b/customize.dist/main.js @@ -132,8 +132,10 @@ define([ if (result.proxy && !result.proxy.login_name) { result.proxy.login_name = result.userName; } - Cryptpad.login(result.userHash, result.userName, function () { - document.location.href = '/drive/'; + Cryptpad.whenRealtimeSyncs(result.realtime, function () { + Cryptpad.login(result.userHash, result.userName, function () { + document.location.href = '/drive/'; + }); }); return; } diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index e82df349f..03c459d47 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -25,6 +25,7 @@ define(function () { out.loading = "Chargement..."; out.error = "Erreur"; + out.saved = "Enregistré"; out.disconnected = 'Déconnecté'; out.synchronizing = 'Synchronisation'; @@ -248,6 +249,11 @@ define(function () { out.settings_resetTipsButton = "Réinitialiser les astuces visibles dans CryptDrive"; out.settings_resetTipsDone = "Toutes les astuces sont de nouveau visibles."; + out.settings_importTitle = "Importer les pads récents de ce navigateur dans mon CryptDrive"; + out.settings_import = "Importer"; + out.settings_importConfirm = "Êtes-vous sûr de vouloir importer les pads récents de ce navigateur dans le CryptDrive de votre compte utilisateur ?"; + out.settings_importDone = "Importation terminée"; + out.settings_userFeedbackHint1 = "CryptPad peut envoyer des retours d'expérience très limités vers le serveur, de manière à nous permettre d'améliorer l'expérience des utilisateurs."; out.settings_userFeedbackHint2 = "Le contenu de vos pads et les clés de déchiffrement ne seront jamais partagés avec le serveur."; out.settings_userFeedback = "Activer l'envoi de retours d'expérience"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 95fb8d0b6..59b6124a3 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -27,6 +27,7 @@ define(function () { out.loading = "Loading..."; out.error = "Error"; + out.saved = "Saved"; out.disconnected = 'Disconnected'; out.synchronizing = 'Synchronizing'; @@ -250,6 +251,11 @@ define(function () { out.settings_resetTipsButton = "Reset the available tips in CryptDrive"; out.settings_resetTipsDone = "All the tips are now visible again."; + out.settings_importTitle = "Import this browser's recent pads in my CryptDrive"; + out.settings_import = "Import"; + out.settings_confirm = "Are you sure you want to import recent pads from this browser to your user account's CryptDrive?"; + out.settings_done = "Import completed"; + out.settings_userFeedbackHint1 = "CryptPad provides some very basic feedback to the server, to let us know how to improve your experience."; out.settings_userFeedbackHint2 = "Your pad's content will never be shared with the server."; out.settings_userFeedback = "Enable user feedback"; diff --git a/www/code/index.html b/www/code/index.html index af6247a40..a3f943078 100644 --- a/www/code/index.html +++ b/www/code/index.html @@ -11,6 +11,7 @@ data-main-favicon="/customize/main-favicon.png" data-alt-favicon="/customize/alt-favicon.png" id="favicon" /> +