]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/Probe.php
Merge pull request #10613 from annando/improved-payload
[friendica.git] / src / Module / Debug / Probe.php
index 48838cc8bbf5202278d048a4201e61380d5c04cc..86aa4afd119fd1afc07266bbfeb0f4bc42b9a784 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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,
                                '',
-                               'required'
+                               DI::l10n()->t('Required')
                        ],
-                       '$res'  => $res,
+                       '$res'    => $res,
                ]);
        }
 }