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 { ChatGPTDialog } from '@web_editor/js/wysiwyg/widgets/chatgpt_dialog';
|
||||||
import { useState, status } from "@odoo/owl";
|
import { useState, status } from "@odoo/owl";
|
||||||
|
import { _t } from "@web/core/l10n/translation";
|
||||||
|
|
||||||
export class ChatGPTAlternativesDialog extends ChatGPTDialog {
|
export class ChatGPTAlternativesDialog extends ChatGPTDialog {
|
||||||
static template = 'web_edior.ChatGPTAlternativesDialog';
|
static template = 'web_edior.ChatGPTAlternativesDialog';
|
||||||
|
@ -13,12 +14,12 @@ export class ChatGPTAlternativesDialog extends ChatGPTDialog {
|
||||||
};
|
};
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
alternativesModes: {
|
alternativesModes: {
|
||||||
correct: 'Correct',
|
correct: _t('Correct'),
|
||||||
short: 'Shorten',
|
short: _t('Shorten'),
|
||||||
long: 'Lengthen',
|
long: _t('Lengthen'),
|
||||||
friendly: 'Friendly',
|
friendly: _t('Friendly'),
|
||||||
professional: 'Professional',
|
professional: _t('Professional'),
|
||||||
persuasive: 'Persuasive',
|
persuasive: _t('Persuasive'),
|
||||||
},
|
},
|
||||||
numberOfAlternatives: 3,
|
numberOfAlternatives: 3,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user