Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Dec 20, 2024
1 parent b8607d3 commit 33ddddf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
</div>

<div class="field-box" *ngIf="response.hasOwnProperty('dtmfterm')" style="width: 100%;">
<label class="title-label">{{'CDSCanvas.Dtmfterm' | translate}}</label>
<label class="title-label">{{'CDSCanvas.TerminateOnDigit' | translate}}</label>
<cds-toogle
[checked]="response.dtmfterm"
[disabled]="false"
Expand All @@ -334,7 +334,7 @@
</div>

<div class="field-box" *ngIf="response.hasOwnProperty('beep')" style="width: 100%;">
<label class="title-label">{{'CDSCanvas.Beep' | translate}}</label>
<label class="title-label">{{'CDSCanvas.PlayBeep' | translate}}</label>
<cds-toogle
[checked]="response.beep"
[disabled]="false"
Expand Down
4 changes: 2 additions & 2 deletions src/app/chatbot-design-studio/services/intent.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,13 +1103,13 @@ export class IntentService {
commandWait.time = 0;
action.attributes.commands.push(commandWait);
let command = new Command(TYPE_COMMAND.MESSAGE);
command.message = new Message('text', 'A chat message will be played to the caller');
command.message = new Message('text', 'Please, leave a message after the beep');
action.attributes.commands.push(command);
let commandWait2 = new Wait();
commandWait2.time = 0
action.attributes.commands.push(commandWait2);
let command_form = new Command(TYPE_COMMAND.SETTINGS);
command_form.settings = { maxtime: 20, noInputIntent: null, finalsilence: 3, beep: true, dtmfterm: false }
command_form.settings = { maxtime: 20, finalsilence: 3, beep: true, dtmfterm: true }
command_form.subType = TYPE_ACTION_VXML.AUDIO_RECORD
action.attributes.commands.push(command_form);
}
Expand Down
4 changes: 2 additions & 2 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@
"IncompleteSpeechTimeout":"Incomplete Speech Timeout",
"MaxTime":"Max time",
"FinalSilence":"Final silence",
"Dtmfterm":"Dtmfterm",
"Beep":"Beep",
"TerminateOnDigit":"Terminate on digit",
"PlayBeep":"Play a beep",
"RequestTimeout":"Request timeout",
"RequestTimeoutInfo":"Set how long a request should wait for a response before timing out. Admitted values range: 1-300k ms",
"AudioFileAllowed":"You can only upload *.wav audio format with mono, 8 KHz, with PCM 8bit, PCM 16bit, Alaw or uLaw coding",
Expand Down

0 comments on commit 33ddddf

Please sign in to comment.