translate

This commit is contained in:
scarqin 2022-07-20 14:43:13 +08:00
parent 7c68a291c3
commit 945d9890b1

View File

@ -80,7 +80,7 @@
> >
<eo-shadow-dom [text]="module.properties[field]?.description || ''"></eo-shadow-dom> <eo-shadow-dom [text]="module.properties[field]?.description || ''"></eo-shadow-dom>
</div> </div>
<nz-form-control i18n-nzErrorTip nzErrorTip="请输入{{ module.properties[field]?.label }}" class="form-control"> <nz-form-control i18n-nzErrorTip nzErrorTip="Please Enter {{ module.properties[field]?.label }}" class="form-control">
<!-- 字符串类型 --> <!-- 字符串类型 -->
<ng-container *ngIf="module.properties[field]?.type === 'string'"> <ng-container *ngIf="module.properties[field]?.type === 'string'">
<input <input
@ -89,7 +89,7 @@
id="{{ field }}" id="{{ field }}"
[disabled]="module.properties[field]?.disabled" [disabled]="module.properties[field]?.disabled"
i18n-placeholder i18n-placeholder
placeholder="{{ module.properties[field]?.placeholder ?? '请输入' + module.properties[field]?.label }}" placeholder="{{ module.properties[field]?.placeholder ?? 'Please Enter ' + module.properties[field]?.label }}"
formControlName="{{ field }}" formControlName="{{ field }}"
[(ngModel)]="settings[field]" [(ngModel)]="settings[field]"
/> />