Skip to content

Commit f12fb01

Browse files
committed
fix(i18n): add missing translations
1 parent c574614 commit f12fb01

File tree

7 files changed

+1506
-360
lines changed

7 files changed

+1506
-360
lines changed

src/app/core/admin/admin-entity-details/admin-entity-field/default-value-options/default-value-options.component.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
value="static"
8585
matTooltip="simple, fixed default value"
8686
i18n-matTooltip
87-
i18n
8887
>
8988
<fa-icon icon="circle"></fa-icon>
9089
</mat-button-toggle>
@@ -93,7 +92,6 @@
9392
value="dynamic"
9493
matTooltip="dynamic placeholder (e.g. current date or user)"
9594
i18n-matTooltip
96-
i18n
9795
>
9896
<fa-icon icon="circle-left"></fa-icon>
9997
</mat-button-toggle>
@@ -102,7 +100,6 @@
102100
value="inherited"
103101
matTooltip="value inherited from the value of another, linked record (requires another field in this record type to be a link to a record)"
104102
i18n-matTooltip
105-
i18n
106103
[disabled]="!(availableInheritanceAttributes?.length > 0)"
107104
>
108105
<fa-icon icon="circle-nodes"></fa-icon>
@@ -122,6 +119,8 @@
122119
</div>
123120

124121
@if (form.invalid) {
125-
<mat-error i18n>Select default value or clear default value mode</mat-error>
122+
<mat-error i18n="error message"
123+
>Select default value or clear default value mode</mat-error
124+
>
126125
}
127126
</mat-form-field>

src/app/core/admin/admin-entity/admin-entity-general-settings/admin-entity-general-settings.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ <h2 i18n>General Settings of "{{ entityConstructor.label }}" Records</h2>
9393
<mat-checkbox
9494
[checked]="showPIIDetails"
9595
(change)="toggleAnonymizationTable($event)"
96+
i18n
9697
>Has personal information (PII)</mat-checkbox
9798
>
9899
<app-help-button

src/app/core/support/support/support.component.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<h1>Technical User Support Details</h1>
1+
<h1 i18n>Technical User Support Details</h1>
22

3-
<p id="table-description" class="text-secondary">
3+
<p id="table-description" class="text-secondary" i18n>
44
The following details of your device and app can help the user support
55
troubleshoot when you are having technical issues.
66
</p>
@@ -66,16 +66,17 @@ <h1>Technical User Support Details</h1>
6666
</mat-expansion-panel>
6767

6868
<div class="flex-row gap-regular">
69-
<button mat-raised-button (click)="sendReport()">Send Details</button>
69+
<button mat-raised-button (click)="sendReport()" i18n>Send Details</button>
7070
<button
7171
mat-raised-button
7272
matTooltip="Download a backup of all data in your local database."
7373
i18n-matTooltip="Support Panel - Download local db tooltip"
7474
(click)="downloadLocalDatabase()"
75+
i18n
7576
>
7677
Download Local Database
7778
</button>
78-
<button mat-raised-button color="warn" (click)="resetApplication()">
79+
<button mat-raised-button color="warn" (click)="resetApplication()" i18n>
7980
Reset Application
8081
</button>
8182
</div>

src/assets/locale/messages.de.xlf

Lines changed: 375 additions & 80 deletions
Large diffs are not rendered by default.

src/assets/locale/messages.fr.xlf

Lines changed: 376 additions & 80 deletions
Large diffs are not rendered by default.

src/assets/locale/messages.it.xlf

Lines changed: 376 additions & 80 deletions
Large diffs are not rendered by default.

src/assets/locale/messages.xlf

Lines changed: 370 additions & 112 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)