Issue 9743: Added translatable texts

This commit is contained in:
Michael 2021-03-08 21:17:27 +00:00
parent f6873cc912
commit 972c9f7bc0
10 changed files with 148 additions and 124 deletions

View file

@ -50,13 +50,16 @@ class Probe extends BaseModule
$tpl = Renderer::getMarkupTemplate('probe.tpl');
return Renderer::replaceMacros($tpl, [
'$addr' => ['addr',
'$title' => DI::l10n()->t('Probe Diagnostic'),
'$output' => DI::l10n()->t('Output'),
'$submit' => DI::l10n()->t('Submit'),
'$addr' => ['addr',
DI::l10n()->t('Lookup address'),
$addr,
'',
DI::l10n()->t('Required')
],
'$res' => $res,
'$res' => $res,
]);
}
}