Fix newline support
This commit is contained in:
@@ -49,6 +49,7 @@ class GenericmessageCommand extends SystemCommand
|
|||||||
TranslateTextOptions::FORMALITY => 'prefer_less',
|
TranslateTextOptions::FORMALITY => 'prefer_less',
|
||||||
TranslateTextOptions::MODEL_TYPE => 'prefer_quality_optimized',
|
TranslateTextOptions::MODEL_TYPE => 'prefer_quality_optimized',
|
||||||
TranslateTextOptions::TAG_HANDLING => 'html',
|
TranslateTextOptions::TAG_HANDLING => 'html',
|
||||||
|
TranslateTextOptions::SPLIT_SENTENCES => 'on',
|
||||||
];
|
];
|
||||||
try {
|
try {
|
||||||
$glosasaryConfig = json_decode(file_get_contents(__DIR__ . '/../../glossary.json'), true);
|
$glosasaryConfig = json_decode(file_get_contents(__DIR__ . '/../../glossary.json'), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user