Commit 55f00697 authored by Franco Fichtner's avatar Franco Fichtner

widgets: do not embed html tags into gettext strings; #259 #263

parent dc793185
...@@ -81,7 +81,7 @@ if ($ipaddress) { ...@@ -81,7 +81,7 @@ if ($ipaddress) {
} }
} else { } else {
?> ?>
<tr><td class="listr"><?= gettext('No CARP Interfaces Defined. Click <a href="carp_status.php">here</a> to configure CARP.') ?></td></tr> <tr><td class="listr"><?= sprintf(gettext('No CARP Interfaces Defined. Click %shere%s to configure CARP.'), '<a href="carp_status.php">', '</a>'); ?></td></tr>
<?php <?php
} ?> } ?>
</table> </table>
...@@ -246,8 +246,7 @@ else { ...@@ -246,8 +246,7 @@ else {
<?= gettext('Note: There are no configured IPsec Tunnels') ?><br /> <?= gettext('Note: There are no configured IPsec Tunnels') ?><br />
</strong> </strong>
</span> </span>
<?= gettext('You can configure your IPsec') ?> <?= sprintf(gettext('You can configure your IPsec %shere%s.'), '<a href="vpn_ipsec.php">', '</a>'); ?>
<a href="vpn_ipsec.php"><?= gettext('here') ?></a>.
</span> </span>
</td> </td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment