- $o = replace_macros($t, array(
- '$submit' => t('Save Settings'),
- '$api_key' => array('api_key', t('API Key'), Config::get('geocoordinates', 'api_key' ), ''),
- '$language' => array('language', t('Language code (IETF format)'), Config::get('geocoordinates', 'language' ), ''),
- ));
+ $o = replace_macros($t, [
+ '$submit' => L10n::t('Save Settings'),
+ '$api_key' => ['api_key', L10n::t('API Key'), Config::get('geocoordinates', 'api_key'), ''],
+ '$language' => ['language', L10n::t('Language code (IETF format)'), Config::get('geocoordinates', 'language'), ''],
+ ]);