Fix newline support
This commit is contained in:
1 parent
ec03f11b93
commit
31c3a20061
1 file changed
+1
@@ -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