Make hardcoded strings translatable and a few minor changes
This commit is contained in:
@ -8,7 +8,7 @@ echo "<title>"._('Online-Test')."</title>";
|
||||
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
|
||||
echo '<meta name="author" content="Daniel Winzen">';
|
||||
echo '<meta name="viewport" content="width=device-width, initial-scale=1">';
|
||||
echo '<meta name="description" content="Test whether a Tor hidden service onion is online or offline">';
|
||||
echo '<meta name="description" content="'._('Test whether a Tor hidden service onion is online or offline').'">';
|
||||
echo '<link rel="canonical" href="' . CANONICAL_URL . $_SERVER['SCRIPT_NAME'] . '">';
|
||||
echo '<link rel="alternate" href="' . CANONICAL_URL . $_SERVER['SCRIPT_NAME'] . '" hreflang="x-default">';
|
||||
alt_links();
|
||||
@ -16,7 +16,7 @@ echo '<style>'.$style.'</style>';
|
||||
echo '</head><body><main>';
|
||||
echo "<h1>"._('Online-Test')."</h1>";
|
||||
print_langs();
|
||||
echo "<p>"._('Here an onion address can be tested, for whether it is online or not.')."</p>";
|
||||
echo "<p>"._('Test whether a Tor hidden service onion is online or offline')."</p>";
|
||||
echo "<form action=\"$_SERVER[SCRIPT_NAME]\" method=\"POST\">";
|
||||
echo "<input type=\"hidden\" name=\"lang\" value=\"$language\">";
|
||||
echo "<p><label for=\"addr\">"._('Onion link:')."</label><br><input id=\"addr\" name=\"addr\" size=\"30\" value=\"";
|
||||
|
Reference in New Issue
Block a user