Skip to content

Commit 4b0f38e

Browse files
authored
Merge pull request #23863 from abpframework/fix-docs-ng
Update Angular template localization syntax
2 parents 02a5b84 + 00442b4 commit 4b0f38e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/en/framework/ui/angular/form-validation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,23 +232,23 @@ buildForm() {
232232
```html
233233
<abp-modal [(visible)]="isModalVisible" [busy]="modalBusy">
234234
<ng-template #abpHeader>
235-
<h3>{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}</h3>
235+
<h3>{%{{ (selected?.id ? 'AbpIdentity::Edit' : 'AbpIdentity::NewUser') | abpLocalization }}%}</h3>
236236
</ng-template>
237237

238238
<ng-template #abpBody>
239239
@if (form) {
240240
<form [formGroup]="form" (ngSubmit)="save()">
241241
<ul ngbNav #nav="ngbNav" class="nav-tabs">
242242
<li ngbNavItem>
243-
<a ngbNavLink>{{ 'AbpIdentity::UserInformations' | abpLocalization }}</a>
243+
<a ngbNavLink>{%{{ 'AbpIdentity::UserInformations' | abpLocalization }}%}</a>
244244
<ng-template ngbNavContent>
245245
<!-- Automatically displays all entity fields and their validation -->
246246
<abp-extensible-form [selectedRecord]="selected"></abp-extensible-form>
247247
</ng-template>
248248
</li>
249249

250250
<li ngbNavItem>
251-
<a ngbNavLink>{{ 'AbpIdentity::Roles' | abpLocalization }}</a>
251+
<a ngbNavLink>{%{{ 'AbpIdentity::Roles' | abpLocalization }}%}</a>
252252
<ng-template ngbNavContent>
253253
<!-- Dynamic roles list: nested FormArray and FormGroup -->
254254
@for (roleGroup of roleGroups; track $index; let i = $index) {

0 commit comments

Comments
 (0)