Skip to content

Commit c56ff84

Browse files
authored
Merge pull request #51756 from nextcloud/backport/51724/stable30
[stable30] Fix: task type translations
2 parents 85fa32a + 130ff1d commit c56ff84

13 files changed

+13
-13
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/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/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/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

lib/public/TaskProcessing/TaskTypes/TextToTextHeadline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToTextHeadline 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/TextToTextReformulation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToTextReformulation 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/TextToTextSimplification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TextToTextSimplification 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)