Skip to content

Commit a81cec0

Browse files
committed
update translation
1 parent 2bb7d93 commit a81cec0

19 files changed

Lines changed: 58 additions & 37 deletions

src/main/webapp/app/admin/health/health.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h2>
2727
<span
2828
class="badge"
2929
[ngClass]="getBadgeClass(componentHealth.value!.status)"
30-
translate="{{ 'health.status.' + componentHealth.value!.status }}"
30+
[translate]="'health.status.' + componentHealth.value!.status"
3131
>
3232
{{ componentHealth.value!.status }}
3333
</span>

src/main/webapp/app/admin/metrics/blocks/metrics-datasource/metrics-datasource.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ <h3 id="datasourceMetrics" [translate]="'metrics.datasource.title'">DataSource s
1212
<th scope="col" class="text-end" [translate]="'metrics.datasource.count'">Count</th>
1313
<th scope="col" class="text-end" [translate]="'metrics.datasource.mean'">Mean</th>
1414
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.min'">Min</th>
15-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p50">p50</th>
16-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p75">p75</th>
17-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p95">p95</th>
18-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p99">p99</th>
15+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p50'">p50</th>
16+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p75'">p75</th>
17+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p95'">p95</th>
18+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p99'">p99</th>
1919
<th scope="col" class="text-end" [translate]="'metrics.datasource.max'">Max</th>
2020
</tr>
2121
</thead>

src/main/webapp/app/admin/metrics/blocks/metrics-garbagecollector/metrics-garbagecollector.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ <h3 id="garbageCollectorMetrics" [translate]="'metrics.jvm.gc.title'">Garbage co
7474
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.count'">Count</th>
7575
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.mean'">Mean</th>
7676
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.min'">Min</th>
77-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p50">p50</th>
78-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p75">p75</th>
79-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p95">p95</th>
80-
<th scope="col" class="text-end" translate="metrics.servicesstats.table.p99">p99</th>
77+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p50'">p50</th>
78+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p75'">p75</th>
79+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p95'">p95</th>
80+
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.p99'">p99</th>
8181
<th scope="col" class="text-end" [translate]="'metrics.servicesstats.table.max'">Max</th>
8282
</tr>
8383
</thead>

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/delete/answer-2-hybrid-graded-comment-delete-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h4 class="modal-title" data-cy="answer2HybridGradedCommentDeleteDialogHeading"
1010
<jhi-alert-error></jhi-alert-error>
1111
<p
1212
id="jhi-delete-answer2HybridGradedComment-heading"
13-
translate="gradeScopeIsticApp.answer2HybridGradedComment.delete.question"
13+
[translate]="'gradeScopeIsticApp.answer2HybridGradedComment.delete.question'"
1414
[translateParams]="{ id: answer2HybridGradedComment.id }"
1515
>
1616
Êtes-vous certain de vouloir supprimer le Answer 2 Hybrid Graded Comment {{ answer2HybridGradedComment.id }} ?

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/delete/answer-2-hybrid-graded-comment-delete-dialog.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
44
import { IAnswer2HybridGradedComment } from '../answer-2-hybrid-graded-comment.model';
55
import { Answer2HybridGradedCommentService } from '../service/answer-2-hybrid-graded-comment.service';
66
import { ITEM_DELETED_EVENT } from 'app/entities/hybrid-graded-comment/list/hybrid-graded-comment.component';
7+
import { AlertErrorComponent } from 'app/shared/alert/alert-error.component';
8+
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
9+
import { TranslateDirective } from '@ngx-translate/core';
710

811
@Component({
912
templateUrl: './answer-2-hybrid-graded-comment-delete-dialog.component.html',
1013
standalone: true,
14+
imports: [AlertErrorComponent, FaIconComponent, TranslateDirective],
1115
})
1216
export class Answer2HybridGradedCommentDeleteDialogComponent {
1317
answer2HybridGradedComment?: IAnswer2HybridGradedComment;

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/detail/answer-2-hybrid-graded-comment-detail.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@if (answer2HybridGradedComment) {
44
<div>
55
<h2 data-cy="answer2HybridGradedCommentDetailsHeading">
6-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.detail.title">Answer 2 Hybrid Graded Comment</span>
6+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.detail.title'">Answer 2 Hybrid Graded Comment</span>
77
</h2>
88
<hr />
99
<jhi-alert-error></jhi-alert-error>
@@ -13,11 +13,11 @@ <h2 data-cy="answer2HybridGradedCommentDetailsHeading">
1313
<dd>
1414
<span>{{ answer2HybridGradedComment.id }}</span>
1515
</dd>
16-
<dt><span translate="gradeScopeIsticApp.answer2HybridGradedComment.stepValue">Step Value</span></dt>
16+
<dt><span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.stepValue'">Step Value</span></dt>
1717
<dd>
1818
<span>{{ answer2HybridGradedComment.stepValue }}</span>
1919
</dd>
20-
<dt><span translate="gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments">Hybridcomments</span></dt>
20+
<dt><span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments'">Hybridcomments</span></dt>
2121
<dd>
2222
@if (answer2HybridGradedComment.hybridcommentsId) {
2323
<div>
@@ -27,7 +27,7 @@ <h2 data-cy="answer2HybridGradedCommentDetailsHeading">
2727
</div>
2828
}
2929
</dd>
30-
<dt><span translate="gradeScopeIsticApp.answer2HybridGradedComment.studentResponse">Student Response</span></dt>
30+
<dt><span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.studentResponse'">Student Response</span></dt>
3131
<dd>
3232
@if (answer2HybridGradedComment.studentResponseId) {
3333
<div>

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/detail/answer-2-hybrid-graded-comment-detail.component.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
import { Component, OnInit } from '@angular/core';
2-
import { ActivatedRoute } from '@angular/router';
2+
import { ActivatedRoute, RouterLink } from '@angular/router';
33

44
import { IAnswer2HybridGradedComment } from '../answer-2-hybrid-graded-comment.model';
5+
import { AlertErrorComponent } from 'app/shared/alert/alert-error.component';
6+
import { AlertComponent } from 'app/shared/alert/alert.component';
7+
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
58

69
@Component({
710
selector: 'jhi-answer-2-hybrid-graded-comment-detail',
811
templateUrl: './answer-2-hybrid-graded-comment-detail.component.html',
912
standalone: true,
13+
imports: [AlertErrorComponent, AlertComponent, FaIconComponent, RouterLink],
1014
})
1115
export class Answer2HybridGradedCommentDetailComponent implements OnInit {
1216
answer2HybridGradedComment: IAnswer2HybridGradedComment | null = null;

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/list/answer-2-hybrid-graded-comment.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div>
22
<h2 id="page-heading" data-cy="Answer2HybridGradedCommentHeading">
3-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.home.title">Answer2HybridGradedComments</span>
3+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.home.title'">Answer2HybridGradedComments</span>
44

55
<div class="d-flex justify-content-end">
66
<button class="btn btn-info me-2" (click)="load()" [disabled]="isLoading">
77
<fa-icon icon="sync" [animation]="'spin'"></fa-icon>
8-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.home.refreshListLabel">Actualiser la liste</span>
8+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.home.refreshListLabel'">Actualiser la liste</span>
99
</button>
1010

1111
<button
@@ -15,7 +15,7 @@ <h2 id="page-heading" data-cy="Answer2HybridGradedCommentHeading">
1515
[routerLink]="['/answer-2-hybrid-graded-comment/new']"
1616
>
1717
<fa-icon icon="plus"></fa-icon>
18-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.home.createLabel">
18+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.home.createLabel'">
1919
Créer un nouveau Answer 2 Hybrid Graded Comment
2020
</span>
2121
</button>
@@ -28,7 +28,7 @@ <h2 id="page-heading" data-cy="Answer2HybridGradedCommentHeading">
2828

2929
@if (answer2HybridGradedComments?.length === 0) {
3030
<div class="alert alert-warning" id="no-result">
31-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.home.notFound">Aucun Answer 2 Hybrid Graded Comment trouvé</span>
31+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.home.notFound'">Aucun Answer 2 Hybrid Graded Comment trouvé</span>
3232
</div>
3333
}
3434

@@ -45,19 +45,19 @@ <h2 id="page-heading" data-cy="Answer2HybridGradedCommentHeading">
4545
</th>
4646
<th scope="col" jhiSortBy="stepValue">
4747
<div class="d-flex">
48-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.stepValue">Step Value</span>
48+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.stepValue'">Step Value</span>
4949
<fa-icon class="p-1" icon="sort"></fa-icon>
5050
</div>
5151
</th>
5252
<th scope="col" jhiSortBy="hybridcomments.text">
5353
<div class="d-flex">
54-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments">Hybridcomments</span>
54+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments'">Hybridcomments</span>
5555
<fa-icon class="p-1" icon="sort"></fa-icon>
5656
</div>
5757
</th>
5858
<th scope="col" jhiSortBy="studentResponse.id">
5959
<div class="d-flex">
60-
<span translate="gradeScopeIsticApp.answer2HybridGradedComment.studentResponse">Student Response</span>
60+
<span [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.studentResponse'">Student Response</span>
6161
<fa-icon class="p-1" icon="sort"></fa-icon>
6262
</div>
6363
</th>

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/list/answer-2-hybrid-graded-comment.component.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Component, NgZone, OnInit } from '@angular/core';
22
import { HttpHeaders } from '@angular/common/http';
3-
import { ActivatedRoute, Data, ParamMap, Router } from '@angular/router';
3+
import { ActivatedRoute, Data, ParamMap, Router, RouterLink } from '@angular/router';
44
import { combineLatest, filter, Observable, switchMap, tap } from 'rxjs';
5-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
5+
import { NgbModal, NgbPagination } from '@ng-bootstrap/ng-bootstrap';
66

77
import { IAnswer2HybridGradedComment } from '../answer-2-hybrid-graded-comment.model';
88

@@ -16,11 +16,17 @@ import {
1616
SORT,
1717
TOTAL_COUNT_RESPONSE_HEADER,
1818
} from 'app/entities/hybrid-graded-comment/list/hybrid-graded-comment.component';
19+
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
20+
import { AlertErrorComponent } from 'app/shared/alert/alert-error.component';
21+
import { AlertComponent } from 'app/shared/alert/alert.component';
22+
import { ItemCountComponent } from 'app/shared/pagination/item-count.component';
23+
import { SortDirective } from 'app/shared/sort/sort.directive';
1924

2025
@Component({
2126
selector: 'jhi-answer-2-hybrid-graded-comment',
2227
templateUrl: './answer-2-hybrid-graded-comment.component.html',
2328
standalone: true,
29+
imports: [FaIconComponent, AlertErrorComponent, AlertComponent, RouterLink, ItemCountComponent, NgbPagination, SortDirective],
2430
})
2531
export class Answer2HybridGradedCommentComponent implements OnInit {
2632
answer2HybridGradedComments?: IAnswer2HybridGradedComment[];

src/main/webapp/app/entities/answer-2-hybrid-graded-comment/update/answer-2-hybrid-graded-comment-update.component.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<h2
55
id="jhi-answer-2-hybrid-graded-comment-heading"
66
data-cy="Answer2HybridGradedCommentCreateUpdateHeading"
7-
translate="gradeScopeIsticApp.answer2HybridGradedComment.home.createOrEditLabel"
7+
[translate]="'gradeScopeIsticApp.answer2HybridGradedComment.home.createOrEditLabel'"
88
>
99
Créer ou éditer un Answer 2 Hybrid Graded Comment
1010
</h2>
@@ -29,7 +29,7 @@
2929
}
3030

3131
<div class="row mb-3">
32-
<label class="form-label" translate="gradeScopeIsticApp.answer2HybridGradedComment.stepValue" for="field_stepValue"
32+
<label class="form-label" [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.stepValue'" for="field_stepValue"
3333
>Step Value</label
3434
>
3535
<input
@@ -44,7 +44,7 @@
4444
</div>
4545

4646
<div class="row mb-3">
47-
<label class="form-label" translate="gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments" for="field_hybridcomments"
47+
<label class="form-label" [translate]="'gradeScopeIsticApp.answer2HybridGradedComment.hybridcomments'" for="field_hybridcomments"
4848
>Hybridcomments</label
4949
>
5050
<select
@@ -65,7 +65,10 @@
6565
</div>
6666

6767
<div class="row mb-3">
68-
<label class="form-label" translate="gradeScopeIsticApp.answer2HybridGradedComment.studentResponse" for="field_studentResponse"
68+
<label
69+
class="form-label"
70+
[translate]="'gradeScopeIsticApp.answer2HybridGradedComment.studentResponse'"
71+
for="field_studentResponse"
6972
>Student Response</label
7073
>
7174
<select

0 commit comments

Comments
 (0)