From 8ab786e7df4b3a03e1290c54de7f9d885905a79f Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 19 Jul 2018 18:49:14 +0200 Subject: [PATCH] Drive restore loading screen text --- customize.dist/translations/messages.fr.js | 1 + customize.dist/translations/messages.js | 1 + www/drive/inner.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index 8efc7d4ea..73cadd11b 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -445,6 +445,7 @@ define(function () { out.fm_deletedPads = "Ces pads n'existent plus sur le serveur, ils ont été supprimés de votre CryptDrive: {0}"; out.fm_tags_name = "Mot-clé"; out.fm_tags_used = "Nombre d'utilisations"; + out.fm_restoreDrive = "Restauration de votre CryptDrive à une version antérieure. Pour de meilleurs résultats, veuillez éviter de modifier votre CryptDrive avant que cette restauration ne soit terminée."; // File - Context menu out.fc_newfolder = "Nouveau dossier"; out.fc_newsharedfolder = "Nouveau Drive partagé"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 951612601..ea1c2fa24 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -446,6 +446,7 @@ define(function () { out.fm_deletedPads = "These pads no longer exist on the server, they've been removed from your CryptDrive: {0}"; out.fm_tags_name = "Tag name"; out.fm_tags_used = "Number of uses"; + out.fm_restoreDrive = "Resetting your drive to an earlier state. For best results, avoid making changes to your drive until this process is complete." // File - Context menu out.fc_newfolder = "New folder"; out.fc_newsharedfolder = "New shared Drive"; diff --git a/www/drive/inner.js b/www/drive/inner.js index f3904c692..5227edf43 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -3374,7 +3374,7 @@ define([ /* add a history button */ APP.histConfig = { onLocal: function () { - UI.addLoadingScreen({ loadingText: "Please be careful" }); // XXX + UI.addLoadingScreen({ loadingText: Messages.fm_restoreDrive }); proxy.drive = history.currentObj.drive; sframeChan.query("Q_DRIVE_RESTORE", history.currentObj.drive, function () { UI.removeLoadingScreen();