UI: Renamed 'Webhook URL' to 'Workflow URL' for the new connector API in Microsoft Teams notification recipient

This commit is contained in:
Vladyslav_Prykhodko 2024-09-30 11:31:11 +03:00
parent d828d699e7
commit 36cebbaf28
2 changed files with 5 additions and 2 deletions

View File

@ -135,10 +135,11 @@
</a> </a>
</section> </section>
<mat-form-field class="mat-block"> <mat-form-field class="mat-block">
<mat-label translate>notification.webhook-url</mat-label> <mat-label>{{ (targetNotificationForm.get('configuration.useOldApi').value ?
'notification.webhook-url' : 'notification.workflow-url') | translate }}</mat-label>
<input matInput formControlName="webhookUrl"> <input matInput formControlName="webhookUrl">
<mat-error *ngIf="targetNotificationForm.get('configuration.webhookUrl').hasError('required')"> <mat-error *ngIf="targetNotificationForm.get('configuration.webhookUrl').hasError('required')">
{{ 'notification.webhook-url-required' | translate }} {{ (targetNotificationForm.get('configuration.useOldApi').value ? 'notification.webhook-url-required' : 'notification.workflow-url-required') | translate }}
</mat-error> </mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field class="mat-block"> <mat-form-field class="mat-block">

View File

@ -4327,6 +4327,8 @@
"warning": "Warning", "warning": "Warning",
"webhook-url": "Webhook URL", "webhook-url": "Webhook URL",
"webhook-url-required": "Webhook URL is required", "webhook-url-required": "Webhook URL is required",
"workflow-url": "Workflow URL",
"workflow-url-required": "Workflow URL is required",
"channel-name": "Channel name", "channel-name": "Channel name",
"channel-name-required": "Channel name is required", "channel-name-required": "Channel name is required",
"settings": { "settings": {