From fddff11faef5c0495f1e1e671165a7236c1ef03f Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 22 Aug 2018 17:01:44 +0200 Subject: [PATCH] Rename shared drive to shared folder --- customize.dist/translations/messages.fr.js | 21 +++++++++++---------- customize.dist/translations/messages.js | 21 +++++++++++---------- www/drive/inner.js | 2 +- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index ca920ddbf..60744fc8e 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -386,7 +386,7 @@ define(function () { out.fm_newFolder = "Nouveau dossier"; out.fm_newFile = "Nouveau pad"; out.fm_folder = "Dossier"; - out.fm_sharedFolder = "Drive partagé"; + out.fm_sharedFolder = "Dossier partagé"; out.fm_folderName = "Nom du dossier"; out.fm_numberOfFolders = "# de dossiers"; out.fm_numberOfFiles = "# de fichiers"; @@ -436,6 +436,7 @@ define(function () { out.fm_viewListButton = "Liste"; out.fm_viewGridButton = "Grille"; out.fm_renamedPad = "Vous avez renommé ce pad dans votre Drive. Son titre est:
{0}"; + out.fm_canBeShared = "Ce dossier peut être partagé"; out.fm_prop_tagsList = "Mots-clés"; out.fm_burnThisDriveButton = "Effacer toutes les informations stockées par CryptPad dans votre navigateur"; out.fm_burnThisDrive = "Êtes-vous sûr de vouloir supprimmer tout ce qui est stocké par CryptPad dans votre navigateur ?
" + @@ -446,10 +447,10 @@ define(function () { 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."; - out.fm_moveNestedSF = "Les Drive partagés ne peuvent pas contenir d'autres Drive partagés. Le dossier {0} n'a pas été déplacé."; + out.fm_moveNestedSF = "Vous ne pouvez pas placer un dossier partagé dans un autre. Le dossier {0} n'a pas été déplacé."; // File - Context menu out.fc_newfolder = "Nouveau dossier"; - out.fc_newsharedfolder = "Nouveau Drive partagé"; + out.fc_newsharedfolder = "Nouveau dossier partagé"; out.fc_rename = "Renommer"; out.fc_open = "Ouvrir"; out.fc_open_ro = "Ouvrir (lecture seule)"; @@ -1168,13 +1169,13 @@ define(function () { out.loading_drive_3 = "Vérification de l'intégrité des données"; // Shared folders - out.sharedFolders_forget = "Ce pad est stocké uniquement dans un Drive partagé. Vous ne pouvez pas le déplacer dans votre corbeille. Si vous souhaitez le supprimer, vous pouvez utiliser l'application CryptDrive."; - out.sharedFolders_duplicate = "Certains pads que vous essayez de déplacer sont déjà présents dans le Drive de destination."; - out.sharedFolders_create = "Créer un Drive partagé"; - out.sharedFolders_create_name = "Nom du Drive"; - out.sharedFolders_create_owned = "Être propriétaire du Drive"; - out.sharedFolders_create_password = "Mot de passe du Drive"; - out.sharedFolders_share = "Partager cette URL avec d'autres utilisateurs enregistrés leur donne accès au Drive partagé. Une fois l'URL ouverte, le Drive partagé sera ajouté au répertoire racine de leur CryptDrive."; + out.sharedFolders_forget = "Ce pad est stocké uniquement dans un dossier partagé. Vous ne pouvez pas le déplacer dans votre corbeille. Si vous souhaitez le supprimer, vous pouvez utiliser l'application CryptDrive."; + out.sharedFolders_duplicate = "Certains pads que vous essayez de déplacer sont déjà partagés dans le dossier de destination."; + out.sharedFolders_create = "Créer un dossier partagé"; + out.sharedFolders_create_name = "Nom du dossier"; + out.sharedFolders_create_owned = "Être propriétaire du dossier"; + out.sharedFolders_create_password = "Mot de passe du dossier"; + out.sharedFolders_share = "Partager cette URL avec d'autres utilisateurs enregistrés leur donne accès au dossier partagé. Une fois l'URL ouverte, le dossier partagé sera ajouté au répertoire racine de leur CryptDrive."; return out; }); diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index d64164320..f29290bff 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -387,7 +387,7 @@ define(function () { out.fm_newFolder = "New folder"; out.fm_newFile = "New pad"; out.fm_folder = "Folder"; - out.fm_sharedFolder = "Shared Drive"; + out.fm_sharedFolder = "Shared folder"; out.fm_folderName = "Folder name"; out.fm_numberOfFolders = "# of folders"; out.fm_numberOfFiles = "# of files"; @@ -437,6 +437,7 @@ define(function () { out.fm_viewListButton = "List view"; out.fm_viewGridButton = "Grid view"; out.fm_renamedPad = "You've set a custom name for this pad. Its shared title is:
{0}"; + out.fm_canBeShared = "This folder can be shared"; out.fm_prop_tagsList = "Tags"; out.fm_burnThisDriveButton = "Erase all information stored by CryptPad in your browser"; out.fm_burnThisDrive = "Are you sure you want to remove everything stored by CryptPad in your browser?
" + @@ -447,10 +448,10 @@ define(function () { 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."; - out.fm_moveNestedSF = "Nested shared drive are not allowed. The folder {0} was not moved."; // XXX + out.fm_moveNestedSF = "You can't place one shared folder within another. The folder {0} was not moved."; // File - Context menu out.fc_newfolder = "New folder"; - out.fc_newsharedfolder = "New shared Drive"; + out.fc_newsharedfolder = "New shared folder"; out.fc_rename = "Rename"; out.fc_open = "Open"; out.fc_open_ro = "Open (read-only)"; @@ -1217,13 +1218,13 @@ define(function () { out.loading_drive_3 = "Verifying data integrity"; // Shared folders - out.sharedFolders_forget = "This pad is only stored in a shared Drive, you can't move it to the trash. You can use your CryptDrive if you want to delete it."; - out.sharedFolders_duplicate = "Some of the pads you were trying to move were already stored in the destination Drive."; - out.sharedFolders_create = "Create a shared Drive"; - out.sharedFolders_create_name = "Drive name"; - out.sharedFolders_create_owned = "Owned Drive"; - out.sharedFolders_create_password = "Drive password"; - out.sharedFolders_share = "Share this URL with other registered users to give them access to the shared Drive. Once they open this URL, the shared Drive will be added to the root directory of their CryptDrive."; + out.sharedFolders_forget = "This pad is only stored in a shared folder, you can't move it to the trash. You can use your CryptDrive if you want to delete it."; + out.sharedFolders_duplicate = "Some of the pads you were trying to move were already shared in the destination folder."; + out.sharedFolders_create = "Create a shared folder"; + out.sharedFolders_create_name = "Folder name"; + out.sharedFolders_create_owned = "Owned folder"; + out.sharedFolders_create_password = "Folder password"; + out.sharedFolders_share = "Share this URL with other registered users to give them access to the shared folder. Once they open this URL, the shared folder will be added to the root directory of their CryptDrive."; return out; }); diff --git a/www/drive/inner.js b/www/drive/inner.js index c60f38327..57006d4e7 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -1419,7 +1419,7 @@ define([ _addOwnership($span, $state, data); var $shared = $sharedIcon.clone().appendTo($state); - $shared.attr('title', 'Can be shared'); // XXX + $shared.attr('title', Messages.fm_canBeShared); } var sf = manager.hasSubfolder(element);