Merge pull request #53695 from nextcloud/fix/settings-l10n

fix(settings): use correct scope for translations
pull/49379/merge
Daniel 2025-06-26 20:09:29 +07:00 committed by GitHub
commit 0efd05a31c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 {