mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(settings): use correct scope for translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
894f963804
commit
b1282f75fa
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue