]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Debug/WebFinger.php
Merge pull request #10613 from annando/improved-payload
[friendica.git] / src / Module / Debug / WebFinger.php
index ca26fd866e17546440789db74cbde638e007d190..ace1c1f9a46e89c6d1c9bf7aed76c5582de9ca9d 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
  *
@@ -49,8 +49,11 @@ class WebFinger extends BaseModule
 
                $tpl = Renderer::getMarkupTemplate('webfinger.tpl');
                return Renderer::replaceMacros($tpl, [
-                       '$addr' => $addr,
-                       '$res'  => $res,
+                       '$title'  => DI::l10n()->t('Webfinger Diagnostic'),
+                       '$submit' => DI::l10n()->t('Submit'),
+                       '$lookup' => DI::l10n()->t('Lookup address:'),
+                       '$addr'   => $addr,
+                       '$res'    => $res,
                ]);
        }
 }