diff --git a/web-frontend/locales/en.js b/web-frontend/locales/en.js
index 416da6633d..cc9e0c85be 100644
--- a/web-frontend/locales/en.js
+++ b/web-frontend/locales/en.js
@@ -9,6 +9,8 @@ export default {
change: 'Change',
delete: 'Delete',
rename: 'Rename',
+ add: 'Add',
+ makeChoice: 'Make a choice',
},
adminType: {
settings: 'Settings',
diff --git a/web-frontend/locales/fr.js b/web-frontend/locales/fr.js
index 3404119be0..99f0784d7c 100644
--- a/web-frontend/locales/fr.js
+++ b/web-frontend/locales/fr.js
@@ -9,6 +9,8 @@ export default {
change: 'Changer',
delete: 'Supprimer',
rename: 'Renomer',
+ add: 'Ajouter',
+ makeChoice: 'Choisissez',
},
adminType: {
settings: 'Paramètres',
diff --git a/web-frontend/modules/core/components/Dropdown.vue b/web-frontend/modules/core/components/Dropdown.vue
index 73c65e68bc..b139017eb2 100644
--- a/web-frontend/modules/core/components/Dropdown.vue
+++ b/web-frontend/modules/core/components/Dropdown.vue
@@ -15,7 +15,7 @@
>
{{ selectedName }}
- {{ $t('dropdown.makeChoice') }}
+ {{ $t('action.makeChoice') }}
@@ -45,18 +45,3 @@ export default {
mixins: [dropdown],
}
-
-
-{
- "en": {
- "dropdown": {
- "makeChoice": "Make a choice"
- }
- },
- "en": {
- "dropdown": {
- "makeChoice": "Choisissez"
- }
- }
-}
-
diff --git a/web-frontend/modules/core/components/PaginatedDropdown.vue b/web-frontend/modules/core/components/PaginatedDropdown.vue
index c2743a6de7..cc078d9a68 100644
--- a/web-frontend/modules/core/components/PaginatedDropdown.vue
+++ b/web-frontend/modules/core/components/PaginatedDropdown.vue
@@ -10,7 +10,7 @@
{{ displayName }}
-
Make a choice
+
{{ $t('action.makeChoice') }}
diff --git a/web-frontend/modules/core/components/Paginator.vue b/web-frontend/modules/core/components/Paginator.vue
index d26b9076a1..ba1c335bae 100644
--- a/web-frontend/modules/core/components/Paginator.vue
+++ b/web-frontend/modules/core/components/Paginator.vue
@@ -1,6 +1,6 @@
-
page
+
{{ $t('paginator.page') }}
diff --git a/web-frontend/modules/core/components/group/CreateGroupModal.vue b/web-frontend/modules/core/components/group/CreateGroupModal.vue
index d545b96ab0..23d59f8004 100644
--- a/web-frontend/modules/core/components/group/CreateGroupModal.vue
+++ b/web-frontend/modules/core/components/group/CreateGroupModal.vue
@@ -1,6 +1,6 @@
- Create new group
+ {{ $t('createGroupModal.createNew') }}
@@ -10,7 +10,7 @@
:class="{ 'button--loading': loading }"
:disabled="loading"
>
- Add group
+ {{ $t('createGroupModal.add') }}
@@ -50,3 +50,20 @@ export default {
},
}
+
+
+{
+ "en": {
+ "createGroupModal": {
+ "createNew": "Create new group",
+ "add": "Add group"
+ }
+ },
+ "fr": {
+ "createGroupModal": {
+ "createNew": "Nouveau groupe",
+ "add": "Ajouter le groupe"
+ }
+ }
+}
+
diff --git a/web-frontend/modules/core/components/group/GroupContext.vue b/web-frontend/modules/core/components/group/GroupContext.vue
index b165f0c766..d4eb535868 100644
--- a/web-frontend/modules/core/components/group/GroupContext.vue
+++ b/web-frontend/modules/core/components/group/GroupContext.vue
@@ -118,7 +118,7 @@ export default {
"members": "Membres",
"viewTrash": "Voir la corbeille",
"leaveGroup": "Quitter le groupe",
- "deleteGroup": "Supprimer le group"
+ "deleteGroup": "Supprimer le groupe"
}
}
}
diff --git a/web-frontend/modules/core/components/group/GroupForm.vue b/web-frontend/modules/core/components/group/GroupForm.vue
index da71ce1177..8ff11d2fdb 100644
--- a/web-frontend/modules/core/components/group/GroupForm.vue
+++ b/web-frontend/modules/core/components/group/GroupForm.vue
@@ -3,7 +3,7 @@
- Name
+ {{ $t('groupForm.nameLabel') }}
@@ -48,3 +48,18 @@ export default {
},
}
+
+
+{
+ "en": {
+ "groupForm": {
+ "nameLabel": "Name"
+ }
+ },
+ "fr": {
+ "groupForm": {
+ "nameLabel": "Nom"
+ }
+ }
+}
+
diff --git a/web-frontend/modules/core/components/group/GroupInvitation.vue b/web-frontend/modules/core/components/group/GroupInvitation.vue
index 5a3d936e2c..08c24a0d20 100644
--- a/web-frontend/modules/core/components/group/GroupInvitation.vue
+++ b/web-frontend/modules/core/components/group/GroupInvitation.vue
@@ -5,11 +5,14 @@
-
Invitation
+
{{ $t('groupInvitation.title') }}
- {{ invitation.invited_by }} has invited you to join
- {{ invitation.group }} .
+ {{
+ $t('groupInvitation.message', {
+ by: invitation.invited_by,
+ group: invitation.group,
+ })
+ }}
"{{ invitation.message }}"
@@ -19,14 +22,14 @@
:class="{ 'button--loading': rejectLoading }"
:disabled="rejectLoading || acceptLoading"
@click="!rejectLoading && !acceptLoading && reject(invitation)"
- >Reject{{ $t('groupInvitation.reject') }}
Accept {{ $t('groupInvitation.accept') }}
@@ -96,3 +99,24 @@ export default {
},
}
+
+
+{
+ "en": {
+ "groupInvitation": {
+ "title": "Invitation",
+ "message": "{by} has invited you to join {group}.",
+ "reject": "Reject",
+ "accept": "Accept"
+ }
+ },
+ "fr": {
+ "groupInvitation": {
+ "title": "Invitation",
+ "message": "{by} vous a invité à rejoindre le groupe {group}.",
+ "reject": "Refuser",
+ "accept": "Accepter"
+ }
+ }
+}
+
diff --git a/web-frontend/modules/core/components/group/LeaveGroupModal.vue b/web-frontend/modules/core/components/group/LeaveGroupModal.vue
index b04dbad4a3..e2737bc34e 100644
--- a/web-frontend/modules/core/components/group/LeaveGroupModal.vue
+++ b/web-frontend/modules/core/components/group/LeaveGroupModal.vue
@@ -1,16 +1,12 @@
- Leave {{ group.name }}
+
+ {{ $t('leaveGroupModal.title', { group: group.name }) }}
+
- Are you sure you want to leave the group
- {{ group.name }} ? You won't be able to access the related applications anymore and if
- you want to regain access, one of the admins must invite you again. If
- you leave the group, it will not be deleted. All the other members will
- still have access to it. It is not possible to leave a group if you're
- the last admin because that will leave it unmaintained.
+ {{ $t('leaveGroupModal.message', { group: group.name }) }}
@@ -20,7 +16,7 @@
:disabled="loading"
@click="leaveGroup()"
>
- Leave group
+ {{ $t('leaveGroupModal.leave') }}
@@ -63,3 +59,22 @@ export default {
},
}
+
+
+{
+ "en": {
+ "leaveGroupModal": {
+ "title": "Leave {group}",
+ "message": "Are you sure you want to leave the group {group}? You won't be able to access the related applications anymore and if you want to regain access, one of the admins must invite you again. If you leave the group, it will not be deleted. All the other members will still have access to it. It is not possible to leave a group if you're the last admin because that will leave it unmaintained.",
+ "leave": "Leave group"
+ }
+ },
+ "fr": {
+ "leaveGroupModal": {
+ "title": "Quitter {groupe}",
+ "message": "Êtes-vous sûr·e de vouloir quitter le groupe {group} ? Vous ne serez plus en mesure d'accéder aux applications associées et si vous souhaitez y accéder de nouveau, l'un des administrateurs du groupe devra vous envoyer une nouvelle invitation. Si vous quittez un groupe, celui-ci ne sera pas supprimé et les autres membres y auront toujours accès. Il n'est pas possible de quitter un groupe si vous êtes le dernier administrateur car il se retrouverait alors sans propriétaire.",
+ "leave": "Quitter le groupe"
+ }
+ }
+}
+
diff --git a/web-frontend/modules/core/components/notifications/ConnectingNotification.vue b/web-frontend/modules/core/components/notifications/ConnectingNotification.vue
index 6d5705220a..6c2070843d 100644
--- a/web-frontend/modules/core/components/notifications/ConnectingNotification.vue
+++ b/web-frontend/modules/core/components/notifications/ConnectingNotification.vue
@@ -3,8 +3,8 @@
-
Reconnecting
-
Reconnecting with server.
+
{{ $t('connectingNotification.title') }}
+
{{ $t('connectingNotification.content') }}
@@ -13,3 +13,20 @@ export default {
name: 'ConnectingNotification',
}
+
+
+{
+ "en": {
+ "connectingNotification": {
+ "title": "Reconnecting",
+ "content": "Reconnecting with server."
+ }
+ },
+ "fr": {
+ "connectingNotification": {
+ "title": "Reconnexion en cours",
+ "content": "Reconnexion avec le serveur en cours"
+ }
+ }
+}
+
diff --git a/web-frontend/modules/core/components/notifications/FailedConnectingNotification.vue b/web-frontend/modules/core/components/notifications/FailedConnectingNotification.vue
index 7fe28cb334..da55a4fb84 100644
--- a/web-frontend/modules/core/components/notifications/FailedConnectingNotification.vue
+++ b/web-frontend/modules/core/components/notifications/FailedConnectingNotification.vue
@@ -5,15 +5,17 @@
-
Failed
+
+ {{ $t('failedConnectingNotification.title') }}
+
- Connection to the server has failed. Please refresh the page.
+ {{ $t('failedConnectingNotification.content') }}
Refresh page {{ $t('failedConnectingNotification.action') }}
@@ -34,3 +36,22 @@ export default {
},
}
+
+