fix(settings): use correct scope for translations

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/53695/head
Ferdinand Thiessen 2025-06-26 12:39:15 +07:00
parent 894f963804
commit b1282f75fa
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with 1 additions and 4 deletions

@ -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 {