fix(settings): use correct scope for translations

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-06-26 12:39:15 +02:00 committed by Andy Scherzinger
parent d1cc9d78d3
commit 4ebebae3bf

View file

@ -10,18 +10,15 @@ namespace OCA\Settings\SetupChecks;
use OC\Repair\RepairMimeTypes;
use OCP\IL10N;
use OCP\L10N\IFactory;
use OCP\SetupCheck\ISetupCheck;
use OCP\SetupCheck\SetupResult;
class MimeTypeMigrationAvailable implements ISetupCheck {
private IL10N $l10n;
public function __construct(
IFactory $l10nFactory,
private RepairMimeTypes $repairMimeTypes,
private IL10N $l10n,
) {
$this->l10n = $l10nFactory->get('core');
}
public function getCategory(): string {