Skip to content

Commit 2cd4760

Browse files
committed
fix: task type translations
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
1 parent f61446e commit 2cd4760

17 files changed

+17
-17
lines changed

lib/public/TaskProcessing/TaskTypes/AudioToText.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AudioToText implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/ContextAgentInteraction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ContextAgentInteraction implements ITaskType {
3131
public function __construct(
3232
IFactory $l10nFactory,
3333
) {
34-
$this->l = $l10nFactory->get('core');
34+
$this->l = $l10nFactory->get('lib');
3535
}
3636

3737
/**

lib/public/TaskProcessing/TaskTypes/ContextWrite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ContextWrite implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/GenerateEmoji.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GenerateEmoji implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/TextToImage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToImage implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/TextToText.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToText implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/TextToTextChangeTone.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TextToTextChangeTone implements ITaskType {
3131
public function __construct(
3232
IFactory $l10nFactory,
3333
) {
34-
$this->l = $l10nFactory->get('core');
34+
$this->l = $l10nFactory->get('lib');
3535
}
3636

3737
/**

lib/public/TaskProcessing/TaskTypes/TextToTextChat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToTextChat implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

lib/public/TaskProcessing/TaskTypes/TextToTextChatWithTools.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TextToTextChatWithTools implements ITaskType {
3131
public function __construct(
3232
IFactory $l10nFactory,
3333
) {
34-
$this->l = $l10nFactory->get('core');
34+
$this->l = $l10nFactory->get('lib');
3535
}
3636

3737
/**

lib/public/TaskProcessing/TaskTypes/TextToTextFormalization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToTextFormalization implements ITaskType {
3434
public function __construct(
3535
IFactory $l10nFactory,
3636
) {
37-
$this->l = $l10nFactory->get('core');
37+
$this->l = $l10nFactory->get('lib');
3838
}
3939

4040

0 commit comments

Comments
 (0)