Skip to content

Commit

Permalink
feat: fix view translation
Browse files Browse the repository at this point in the history
  • Loading branch information
MAudelGisaia committed Nov 5, 2024
1 parent 5ae4124 commit 5cfce86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/components/card/card.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
<mat-card-content class="card_meta">
<div class="meta_title-container">
<div class="meta_title text-ellipsis" [matTooltip]="'View' | translate:{value1: (card?.title| translate)}" [matTooltipPosition]="'above'"> {{card?.title | translate}}</div>
<div class="meta_title text-ellipsis" [matTooltip]="'View_with_params' | translate:{value1: (card?.title| translate)}" [matTooltipPosition]="'above'"> {{card?.title | translate}}</div>
<arlas-config-menu #configMenu class="config-menu" matTooltip="{{'Menu' | translate}}" [zone]="'config.json'"
[actions]="card?.actions" (actionExecutedEmitter)="afterAction($event)"></arlas-config-menu>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"Private": "Private",
"Public": "Public",
"Shared": "Shared",
"View": "View {{value1}}",
"View": "View",
"View_with_params": "View {{value1}}",
"Last update": "Last update",
"Last update:": "Last update: {{variable1}}",
"Menu": "Menu",
Expand Down
3 changes: 2 additions & 1 deletion src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"Private": "Privé",
"Public": "Public",
"Shared": "Partagé",
"View": "Visualiser {{value1}}",
"View": "Visualiser",
"View_with_params": "Visualiser {{value1}}",
"Last update": "Modifié",
"Last update:": "Modifié : {{variable1}}",
"Menu": "Menu",
Expand Down

0 comments on commit 5cfce86

Please sign in to comment.