- '$description' => L10n::t('<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button.'),
- '$text' => ['cookienotice-text', L10n::t('Cookie Usage Notice'), $text],
- '$oktext' => ['cookienotice-oktext', L10n::t('OK Button Text'), $oktext],
- '$submit' => L10n::t('Save Settings')
+ '$description' => DI::l10n()->t('<b>Configure your cookie usage notice.</b> It should just be a notice, saying that the website uses cookies. It is shown as long as a user didnt confirm clicking the OK button.'),
+ '$text' => ['cookienotice-text', DI::l10n()->t('Cookie Usage Notice'), $text],
+ '$oktext' => ['cookienotice-oktext', DI::l10n()->t('OK Button Text'), $oktext],
+ '$submit' => DI::l10n()->t('Save Settings')