diff --git a/client/src/locales/en-US.json b/client/src/locales/en-US.json index 520c11b7340..145c66cea9c 100644 --- a/client/src/locales/en-US.json +++ b/client/src/locales/en-US.json @@ -319,7 +319,6 @@ } }, "WorkspaceSharing": { - "title": "Share this workspace", "searchPlaceholder": "e.g.: John Smith", "currentUserLabel": "Me", "unshareSuccess": "The workspace is no longer shared with {user}.", @@ -330,8 +329,21 @@ "alreadyNotShared": "This workspace is not shared with {user}.", "alreadyHasRole": "{user} is already {role} on this workspace." }, + "batchSharing": { + "outsiderRoleWarning": "{external} profiles can only have {contributor} or {reader} roles.", + "external": "External", + "contributor": "Contributor", + "reader": "Reader", + "buttonSelect": "Selection", + "buttonFinish": "Finish", + "chooseRole": "Choose a role", + "noChanges": "Selected members were already {role}.", + "someFailed": "Some role assignments failed.", + "updateRoleSuccess": "Selected members' roles have been updated to {role}.", + "unshareSuccess": "The workspace is no longer shared with selected members." + }, "onlyOwnerWarning": "To prevent data loss if you ever leave the organization, we recommend promoting someone else to {owner} on this workspace.", - "owner": "owner", + "owner": "Owner", "noMatch": "No user found that matches '{query}'." }, "SettingsModal": { diff --git a/client/src/locales/fr-FR.json b/client/src/locales/fr-FR.json index 505694a7fea..98b4fb971c1 100644 --- a/client/src/locales/fr-FR.json +++ b/client/src/locales/fr-FR.json @@ -319,7 +319,6 @@ } }, "WorkspaceSharing": { - "title": "Partager cet espace de travail", "searchPlaceholder": "ex : Jean Martin", "currentUserLabel": "Moi", "unshareSuccess": "L'espace de travail n'est plus partagé avec {user}.", @@ -330,8 +329,21 @@ "alreadyNotShared": "Cet espace de travail n'est pas partagé avec {user}.", "alreadyHasRole": "{user} est déjà {role} sur cet espace de travail." }, + "batchSharing": { + "outsiderRoleWarning": "Les profils {external} ne peuvent avoir que les rôles {contributor} ou {reader}.", + "external": "Externe", + "contributor": "Contributeur", + "reader": "Lecteur", + "buttonSelect": "Sélectionner", + "buttonFinish": "Terminer", + "chooseRole": "Choisir un rôle", + "noChanges": "Les membres sélectionnés étaient déjà {role}.", + "someFailed": "Certaines assignations de rôle ont échoué.", + "updateRoleSuccess": "Le rôle des membres sélectionnées est désormais {role}.", + "unshareSuccess": "L'espace de travail n'est plus partagé avec les membres sélectionnés." + }, "onlyOwnerWarning": "Nous vous recommandons de promouvoir quelqu'un d'autre au poste de {owner}. Vous éviterez ainsi de perdre des données si vous quittez l'organisation.", - "owner": "propriétaire", + "owner": "Propriétaire", "noMatch": "Aucun utilisateur trouvé qui correspond à la recherche '{query}'." }, "SettingsModal": { diff --git a/client/src/views/workspaces/WorkspaceSharingModal.vue b/client/src/views/workspaces/WorkspaceSharingModal.vue index e9a22de9819..805094388bc 100644 --- a/client/src/views/workspaces/WorkspaceSharingModal.vue +++ b/client/src/views/workspaces/WorkspaceSharingModal.vue @@ -3,18 +3,51 @@ @@ -381,5 +598,9 @@ async function updateUserRole( top: 0; z-index: 3; } + + .checkbox { + margin-right: 0.5rem; + } }