- $o = replace_macros($t, [
- '$submit' => t('Save Settings'),
- '$api_key' => ['api_key', t('API Key'), Config::get('geocoordinates', 'api_key' ), ''],
- '$language' => ['language', t('Language code (IETF format)'), Config::get('geocoordinates', 'language' ), ''],
+ $o = Renderer::replaceMacros($t, [
+ '$submit' => DI::l10n()->t('Save Settings'),
+ '$api_key' => ['api_key', DI::l10n()->t('API Key'), DI::config()->get('geocoordinates', 'api_key'), ''],
+ '$language' => ['language', DI::l10n()->t('Language code (IETF format)'), DI::config()->get('geocoordinates', 'language'), ''],