fix: task type translations

Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
This commit is contained in:
Jana Peper 2025-03-26 10:24:24 +01:00 committed by janepie
parent 85fa32ae1f
commit 130ff1d3d6
13 changed files with 13 additions and 13 deletions

View file

@ -34,7 +34,7 @@ class AudioToText implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class ContextWrite implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class GenerateEmoji implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToImage implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToText implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextChat implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextFormalization implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextHeadline implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextReformulation implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextSimplification implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -33,7 +33,7 @@ class TextToTextSummary implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextTopics implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}

View file

@ -34,7 +34,7 @@ class TextToTextTranslate implements ITaskType {
public function __construct(
IFactory $l10nFactory,
) {
$this->l = $l10nFactory->get('core');
$this->l = $l10nFactory->get('lib');
}