Skip to content

Commit

Permalink
fix: translation missing arg and en.json
Browse files Browse the repository at this point in the history
Reviewed-by: andriacap
  • Loading branch information
andriacap committed Oct 25, 2024
1 parent 02114e6 commit 4f18ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions admin/src/app/add-site/add-site.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</div>
<div class="row form-item">
<div class="col">
<label class="label" for="site-name">{{ 'FIELDS.NAME' | translate: {article: ('ARTICLES.DU' | translate), varname: ('SITE_MNGMT.SITE' | translate) } }}*</label>
<label class="label" for="site-name">{{ 'FIELDS.NAME' | translate: { article: ('ARTICLES.DU' | translate), varname: ('SITE_MNGMT.SITE' | translate) } }}*</label>
<input InputFeedBack type="text" formControlName="name_site" id="site-name" class="form-control"
placeholder="{{ 'FIELDS.NAME' | translate: {varname: ('SITE_MNGMT.SITE' | translate) } }}" />
placeholder="{{ 'FIELDS.NAME' | translate: { article: ('ARTICLES.DU' | translate), varname: ('SITE_MNGMT.SITE' | translate) } }}" />
<app-form-error controlName="name_site" errorKey="required"></app-form-error>
</div>
<div class="col">
Expand Down
4 changes: 2 additions & 2 deletions admin/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
"LA": "",
"LES": "",
"L": "",
"DE": "de",
"DU": "du",
"DE": "",
"DU": "",
"UN": "",
"UNE": "",
"DES": "Some",
Expand Down

0 comments on commit 4f18ebd

Please sign in to comment.