Skip to content

Commit

Permalink
fix: add missing translation of role description
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbousquet committed May 15, 2024
1 parent dc4e391 commit 687aee6
Show file tree
Hide file tree
Showing 6 changed files with 123 additions and 107 deletions.
2 changes: 1 addition & 1 deletion src/app/components/permission/permission.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ng-container matColumnDef="description">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'Description' | translate}} </th>
<td mat-cell *matCellDef="let row">{{row.description}}</td>
<td mat-cell *matCellDef="let row">{{row.description | translate}}</td>
</ng-container>

<ng-container matColumnDef="actions">
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/role/role.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<ng-container matColumnDef="description">
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{'Description' | translate}} </th>
<td mat-cell *matCellDef="let row">{{row.description}}</td>
<td mat-cell *matCellDef="let row">{{row.description | translate}}</td>
</ng-container>

<ng-container matColumnDef="actions">
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/user/user-add/user-add.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h3>{{'Information' | translate}}</h3>
</mat-select-trigger>
<mat-option *ngFor="let group of orgGroups" [value]="group">
{{group.name}} -
<span class="option-description">{{group.description}}</span>
<span class="option-description">{{group.description | translate}}</span>
</mat-option>
</mat-select>
</mat-form-field>
Expand All @@ -40,8 +40,8 @@ <h3>{{'Information' | translate}}</h3>
</span>
</mat-select-trigger>
<mat-option [value]="role" *ngFor="let role of orgRoles">
{{role.name}} -
<span class="option-description">{{role.description}}</span>
{{role.name | roleName}} -
<span class="option-description">{{role.description | translate}}</span>
</mat-option>
</mat-select>
</mat-form-field>
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/user/user-form/user-form.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>{{'Information' | translate}}</h3>
</mat-select-trigger>
<mat-option *ngFor="let group of orgGroups" [value]="group">
{{group.name}} -
<span class="option-description">{{group.description}}</span>
<span class="option-description">{{group.description | translate}}</span>
</mat-option>
</mat-select>
</mat-form-field>
Expand All @@ -34,7 +34,7 @@ <h3>{{'Information' | translate}}</h3>
</mat-select-trigger>
<mat-option [value]="role" *ngFor="let role of orgRoles">
{{role.name | roleName}} -
<span class="option-description">{{role.description}}</span>
<span class="option-description">{{role.description | translate}}</span>
</mat-option>
</mat-select>
</mat-form-field>
Expand Down
206 changes: 107 additions & 99 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,101 +1,109 @@
{
"No": "No",
"Yes": "Yes",
"Create organisation": "Create organisation",
"Email domain name": "Email domain name",
"Cancel": "Cancel",
"Create": "Create",
"ARLAS IAM": "ARLAS IAM",
"Organisation": "Organisation",
"Home": "Home",
"Users": "Users",
"User": "User",
"Groups": "Groups",
"Permissions": "Permissions",
"Rules": "Rules",
"English": "English",
"French": "French",
"My organisations": "My organisations",
"Role": "Role",
"Owner": "Owner",
"Member": "Member",
"Manage": "Manage",
"Information": "Information",
"Collections": "Collections",
"Save": "Save",
"Value": "Value",
"Description": "Description",
"Update": "Update",
"Actions": "Actions",
"Edit": "Edit",
"Delete": "Delete",
"Name": "Name",
"Locked, click to edit": "Locked, click to edit",
"Unlocked, click to prevent changes": "Unlocked, click to prevent changes",
"Show technical roles": "Show technical roles",
"Email": "Email",
"Roles": "Roles",
"Invite": "Invite",
"Active": "Active",
"Danger zone": "Danger zone",
"Once you delete an account, there is no going back. Please be certain.": "Once you delete an account, there is no going back. Please be certain.",
"Delete user account": "Delete user account",
"Invite user": "Invite user",
"Last update": "Last update",
"Verified": "Verified",
"Remove": "Remove from {{org}}",
"Organisation created": "Organisation created",
"An organisation with this name already exists": "An organisation with this name already exists",
"Profile": "Profile",
"You will create an organisation named:": "You will create an organisation named:",
"Permission created": "Permission created",
"Permission not created": "Permission not created",
"Permission updated": "Permission updated",
"Permission not updated": "Permission not updated",
"Create a permission": "Create a permission",
"Update a permission": "Update a permission",
"Permission deleted": "Permission deleted",
"Error during permission deletion": "Error during permission deletion",
"Delete permission": "Delete permission",
"You will delete the permission:": "You will delete the permission",
"Group created": "Group created",
"Group updated": "Group updated",
"Group not updated": "Group not updated",
"Create a group": "Create a group",
"Update a group": "Update a group",
"Group deleted": "Group deleted",
"Error during group deletion": "Error during group deletion",
"Delete group": "Delete group",
"You will delete the group:": "You will delete the group",
"Add": "Add",
"User added": "User added",
"User not found": "User not found",
"User is already in organisation": "User is already in organisation",
"Invite user to organisation": "Invite a user to your organisation",
"Update user": "Update user",
"User updated": "User updated",
"User status not updated": "User status not updated",
"User not updated": "User not updated",
"User not deleted": "User not deleted",
"Delete account": "Delete account",
"You will delete the account linked to this email:": "You will delete the account linked to this email:",
"User removed": "User removed",
"User deleted": "User deleted",
"Logout": "Logout",
"Group": "Group",
"Role created": "Role created",
"Role updated": "Role updated",
"Role not updated": "Role not updated",
"Create a role": "Create a role",
"Update a role": "Update a role",
"Me": "Me",
"Creation": "Creation",
"It’s quick and easy !": "It’s quick and easy !",
"Just enter your email": "Just enter your email",
"Email must be a valid email address": "Email must be a valid email address",
"User already exists": "User already exists",
"Already have an account?": "Already have an account?",
"Log In": "Log In",
"No Account?": "Don't have an Account?",
"Sign up": "Sign up"
"No": "No",
"Yes": "Yes",
"Create organisation": "Create organisation",
"Email domain name": "Email domain name",
"Cancel": "Cancel",
"Create": "Create",
"ARLAS IAM": "ARLAS IAM",
"Organisation": "Organisation",
"Home": "Home",
"Users": "Users",
"User": "User",
"Groups": "Groups",
"Permissions": "Permissions",
"Rules": "Rules",
"English": "English",
"French": "French",
"My organisations": "My organisations",
"Role": "Role",
"Owner": "Owner",
"Member": "Member",
"Manage": "Manage",
"Information": "Information",
"Collections": "Collections",
"Save": "Save",
"Value": "Value",
"Description": "Description",
"Update": "Update",
"Actions": "Actions",
"Edit": "Edit",
"Delete": "Delete",
"Name": "Name",
"Locked, click to edit": "Locked, click to edit",
"Unlocked, click to prevent changes": "Unlocked, click to prevent changes",
"Show technical roles": "Show technical roles",
"Email": "Email",
"Roles": "Roles",
"Invite": "Invite",
"Active": "Active",
"Danger zone": "Danger zone",
"Once you delete an account, there is no going back. Please be certain.": "Once you delete an account, there is no going back. Please be certain.",
"Delete user account": "Delete user account",
"Invite user": "Invite user",
"Last update": "Last update",
"Verified": "Verified",
"Remove": "Remove from {{org}}",
"Organisation created": "Organisation created",
"An organisation with this name already exists": "An organisation with this name already exists",
"Profile": "Profile",
"You will create an organisation named:": "You will create an organisation named:",
"Permission created": "Permission created",
"Permission not created": "Permission not created",
"Permission updated": "Permission updated",
"Permission not updated": "Permission not updated",
"Create a permission": "Create a permission",
"Update a permission": "Update a permission",
"Permission deleted": "Permission deleted",
"Error during permission deletion": "Error during permission deletion",
"Delete permission": "Delete permission",
"You will delete the permission:": "You will delete the permission",
"Group created": "Group created",
"Group updated": "Group updated",
"Group not updated": "Group not updated",
"Create a group": "Create a group",
"Update a group": "Update a group",
"Group deleted": "Group deleted",
"Error during group deletion": "Error during group deletion",
"Delete group": "Delete group",
"You will delete the group:": "You will delete the group",
"Add": "Add",
"User added": "User added",
"User not found": "User not found",
"User is already in organisation": "User is already in organisation",
"Invite user to organisation": "Invite a user to your organisation",
"Update user": "Update user",
"User updated": "User updated",
"User status not updated": "User status not updated",
"User not updated": "User not updated",
"User not deleted": "User not deleted",
"Delete account": "Delete account",
"You will delete the account linked to this email:": "You will delete the account linked to this email:",
"User removed": "User removed",
"User deleted": "User deleted",
"Logout": "Logout",
"Group": "Group",
"Role created": "Role created",
"Role updated": "Role updated",
"Role not updated": "Role not updated",
"Create a role": "Create a role",
"Update a role": "Update a role",
"Me": "Me",
"Creation": "Creation",
"It’s quick and easy !": "It’s quick and easy !",
"Just enter your email": "Just enter your email",
"Email must be a valid email address": "Email must be a valid email address",
"User already exists": "User already exists",
"Already have an account?": "Already have an account?",
"Log In": "Log In",
"No Account?": "Don't have an Account?",
"Sign up": "Sign up",
"Default group for dashboard sharing.": "Default group for dashboard sharing.",
"Building dashboards in ARLAS": "Building dashboards in ARLAS",
"Managing data (ingest, update) in ARLAS": "Managing data (ingest, update) in ARLAS",
"Download data from ARLAS": "Download data from ARLAS",
"Managing users and permissions of ARLAS": "Managing users and permissions of ARLAS",
"Tagging data in ARLAS": "Tagging data in ARLAS",
"Viewing data in ARLAS": "Viewing data in ARLAS",
"View all collections": "View all collections"
}
10 changes: 9 additions & 1 deletion src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,13 @@
"Already have an account?": "Vous avez déjà un compte ?",
"Log In": "Se connecter",
"No Account?": "Vous n'avez pas de compte ?",
"Sign up": "Inscrivez vous"
"Sign up": "Inscrivez vous",
"Default group for dashboard sharing.": "Groupe par défaut pour partager les dashboards",
"Building dashboards in ARLAS": "Créer des dashboards dans ARLAS",
"Managing data (ingest, update) in ARLAS": "Gérer les données (ingestion, mise à jour) dans ARLAS",
"Download data from ARLAS": "Télécharger des données depuis ARLAS",
"Managing users and permissions of ARLAS": "Gérer les utilisateurs et permissions de ARLAS",
"Tagging data in ARLAS": "Tagger des données dans ARLAS",
"Viewing data in ARLAS": "Voir les données dans ARLAS",
"View all collections": "Accéder à toutes les collections"
}

0 comments on commit 687aee6

Please sign in to comment.