Merge branch 'develop' into 'main'
chore: Перевод виджета выбора альтернативных вариантов ChatGPT See merge request productteam/talismanplatform/modules/odoo_17.0.1/web_editor!2
This commit is contained in:
commit
7a631bcfc6
677
i18n/ru.po
677
i18n/ru.po
File diff suppressed because it is too large
Load Diff
|
@ -2,6 +2,7 @@
|
|||
|
||||
import { ChatGPTDialog } from '@web_editor/js/wysiwyg/widgets/chatgpt_dialog';
|
||||
import { useState, status } from "@odoo/owl";
|
||||
import { _t } from "@web/core/l10n/translation";
|
||||
|
||||
export class ChatGPTAlternativesDialog extends ChatGPTDialog {
|
||||
static template = 'web_edior.ChatGPTAlternativesDialog';
|
||||
|
@ -13,12 +14,12 @@ export class ChatGPTAlternativesDialog extends ChatGPTDialog {
|
|||
};
|
||||
static defaultProps = {
|
||||
alternativesModes: {
|
||||
correct: 'Correct',
|
||||
short: 'Shorten',
|
||||
long: 'Lengthen',
|
||||
friendly: 'Friendly',
|
||||
professional: 'Professional',
|
||||
persuasive: 'Persuasive',
|
||||
correct: _t('Correct'),
|
||||
short: _t('Shorten'),
|
||||
long: _t('Lengthen'),
|
||||
friendly: _t('Friendly'),
|
||||
professional: _t('Professional'),
|
||||
persuasive: _t('Persuasive'),
|
||||
},
|
||||
numberOfAlternatives: 3,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user