- '$invitations' => Config::get('system', 'invitation_only'),
- '$permonly' => intval(Config::get('config', 'register_policy')) === self::APPROVE,
- '$permonlybox' => ['permonlybox', L10n::t('Note for the admin'), '', L10n::t('Leave a message for the admin, why you want to join this node'), 'required'],
- '$invite_desc' => L10n::t('Membership on this site is by invitation only.'),
- '$invite_label' => L10n::t('Your invitation code: '),
+ '$invitations' => DI::config()->get('system', 'invitation_only'),
+ '$permonly' => intval(DI::config()->get('config', 'register_policy')) === self::APPROVE,
+ '$permonlybox' => ['permonlybox', DI::l10n()->t('Note for the admin'), '', DI::l10n()->t('Leave a message for the admin, why you want to join this node'), 'required'],
+ '$invite_desc' => DI::l10n()->t('Membership on this site is by invitation only.'),
+ '$invite_label' => DI::l10n()->t('Your invitation code: '),