fix(basic.gblib): Fix in not translating hear.
This commit is contained in:
parent
5fda86d1fd
commit
66d33cbe39
2 changed files with 1 additions and 3 deletions
|
@ -512,7 +512,7 @@ export class GBVMService extends GBService {
|
||||||
return utterance.toLowerCase().match(Messages[locale].affirmative_sentences);
|
return utterance.toLowerCase().match(Messages[locale].affirmative_sentences);
|
||||||
}
|
}
|
||||||
|
|
||||||
let result = step.result;
|
let result = step.context.activity['originalText'];
|
||||||
if (step.activeDialog.state.options['kind'] === "boolean") {
|
if (step.activeDialog.state.options['kind'] === "boolean") {
|
||||||
if (isIntentYes('pt-BR', step.result)) {
|
if (isIntentYes('pt-BR', step.result)) {
|
||||||
result = true;
|
result = true;
|
||||||
|
|
|
@ -855,8 +855,6 @@ export class GBMinService {
|
||||||
GBLog.info(`Auto start (3) dialog is now being called: ${startDialog} for ${min.instance.instanceId}...`);
|
GBLog.info(`Auto start (3) dialog is now being called: ${startDialog} for ${min.instance.instanceId}...`);
|
||||||
await GBVMService.callVM(startDialog.toLowerCase(), min, step, this.deployer);
|
await GBVMService.callVM(startDialog.toLowerCase(), min, step, this.deployer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (context.activity.type === 'message') {
|
} else if (context.activity.type === 'message') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue