Replace static labels w/ gettext() for locale support

This commit is contained in:
billz
2025-03-18 04:11:47 -07:00
parent dfef9e5233
commit f0a0c9228f
2 changed files with 3 additions and 3 deletions

View File

@@ -3,10 +3,10 @@
<div class="d-flex align-items-center justify-content-between small">
<div class="text-muted">
<span class="pe-2"><a href="/about">v<?php echo RASPI_VERSION; ?></a></span> |
<span class="ps-2">Created by the <a href="https://github.com/RaspAP" target="_blank" rel="noopener">RaspAP Team</a></span>
<span class="ps-2"><?php echo sprintf(_('Created by the <a href="%s" target="_blank" rel="noopener">%s</a>'), 'https://github.com/RaspAP', _('RaspAP Team')); ?></span>
</div>
<div class="text-muted">
<i class="fas fa-heart heart"></i> <a href="https://docs.raspap.com/insiders" target="_blank" rel="noopener">Get Insiders</a>
<i class="fas fa-heart heart"></i> <a href="https://docs.raspap.com/insiders" target="_blank" rel="noopener"><?php echo _("Get Insiders"); ?></a>
</div>
</div>

View File

@@ -34,7 +34,7 @@
<div class="card-body">
<?php $status->showMessages(); ?>
<h4 class="card-title">
<?php echo _('Current status'); ?>
<?php echo _("Current status"); ?>
</h4>
<div class="dashboard-container row">
<div class="connections-left col-lg-4">