allow to set collabora dictionaries

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-06-27 15:29:17 +02:00
parent a26d36c084
commit 97f053228c
8 changed files with 74 additions and 0 deletions

View file

@ -292,6 +292,12 @@ class DockerActionManager
} else {
$replacements[1] = $this->configurationManager->GetTimezone();
}
} elseif ($out[1] === 'COLLABORA_DICTIONARIES') {
if ($this->configurationManager->GetCollaboraDictionaries() === '') {
$replacements[1] = 'de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru';
} else {
$replacements[1] = $this->configurationManager->GetCollaboraDictionaries();
}
} else {
$replacements[1] = $this->configurationManager->GetSecret($out[1]);
}