- '$app_specific_passwords_message' => L10n::t('<p>These randomly generated passwords allow you to authenticate on apps not supporting two-factor authentication.</p>'),
-
- '$action_title' => L10n::t('Actions'),
- '$password' => ['password', L10n::t('Current password:'), '', L10n::t('You need to provide your current password to change two-factor authentication settings.'), 'required', 'autofocus'],
- '$enable_label' => L10n::t('Enable two-factor authentication'),
- '$disable_label' => L10n::t('Disable two-factor authentication'),
- '$recovery_codes_label' => L10n::t('Show recovery codes'),
- '$app_specific_passwords_label' => L10n::t('Manage app-specific passwords'),
- '$configure_label' => L10n::t('Finish app configuration'),
+ '$app_specific_passwords_message' => DI::l10n()->t('<p>These randomly generated passwords allow you to authenticate on apps not supporting two-factor authentication.</p>'),
+
+ '$action_title' => DI::l10n()->t('Actions'),
+ '$password' => ['password', DI::l10n()->t('Current password:'), '', DI::l10n()->t('You need to provide your current password to change two-factor authentication settings.'), 'required', 'autofocus'],
+ '$enable_label' => DI::l10n()->t('Enable two-factor authentication'),
+ '$disable_label' => DI::l10n()->t('Disable two-factor authentication'),
+ '$recovery_codes_label' => DI::l10n()->t('Show recovery codes'),
+ '$app_specific_passwords_label' => DI::l10n()->t('Manage app-specific passwords'),
+ '$configure_label' => DI::l10n()->t('Finish app configuration'),