Skip to content

Commit 9e6e455

Browse files
committed
Fixed: Fix Dialog Translation Issue
1 parent fb7d549 commit 9e6e455

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/elements/connect/connect.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ export class ElementConnectComponent implements OnInit, OnDestroy {
201201
nzTitle: this._i18n.instant('DownloadClient'),
202202
nzContent: ElementDownloadDialogComponent,
203203
nzOnOk: cmp => cmp.onConfirm(),
204-
nzOnCancel: cmp => cmp.onCancel()
204+
nzOnCancel: cmp => cmp.onCancel(),
205+
nzCancelText: this._i18n.instant('Cancel'),
206+
nzOkText: this._i18n.instant('Confirm')
205207
});
206208
}
207209
});

0 commit comments

Comments
 (0)