Roundup template changes, update en_US locale + compile .mo

This commit is contained in:
billz 2024-10-31 00:19:53 -07:00
parent f7e8f4d6eb
commit 0a32215b39
8 changed files with 14 additions and 8 deletions

View file

@ -15,7 +15,7 @@ This project follows the [PSR-2](http://www.php-fig.org/psr/psr-2/) coding style
RaspAP is made possible by a strong [community of developers](https://github.com/RaspAP/raspap-webgui/graphs/contributors). If you have any questions or would like to get involved in RaspAP, dive into any of these channels:
* [GitHub discussions](https://github.com/RaspAP/raspap-webgui/discussions)
* [Discord chat](https://discord.gg/rth5Yzzm)
* [Discord chat](https://discord.gg/KVAsaAR)
* [Twitter](https://twitter.com/rasp_ap)
* [Reddit](https://www.reddit.com/r/RaspAP/)

Binary file not shown.

View file

@ -917,6 +917,9 @@ msgstr "Diagnostic log size limit (KB)"
msgid "Changing log limit size to %s KB"
msgstr "Changing log limit size to %s KB"
msgid "Information provided by raspap.sysinfo"
msgstr "Information provided by raspap.sysinfo"
#: includes/data_usage.php
msgid "Data usage"
msgstr "Data usage"
@ -1560,3 +1563,6 @@ msgstr "RestAPI docs are accessible <a href=\"%s\" target=\"_blank\">here%s</a>"
msgid "Restarting restapi.service"
msgstr "Restarting restapi.service"
msgid "Information provided by restapi.service"
msgstr "Information provided by restapi.service"

View file

@ -8,7 +8,7 @@
<h2 class="mt-3 ms-4"><?php echo _("RaspAP") ." v".RASPI_VERSION; ?></h2>
<?php if (!RASPI_MONITOR_ENABLED) : ?>
<button type="button" class="btn btn-warning ms-4 mt-2" name="check-update" data-bs-toggle="modal" data-bs-target="#chkupdateModal" />
<i class="fas fa-sync-alt ms-1 me-2"></i><?php echo _("Check for update"); ?>
<i class="fa-solid fa-cloud-arrow-down ms-1 me-2"></i><?php echo _("Check for update"); ?>
</button>
<?php endif; ?>
</div>

View file

@ -5,8 +5,8 @@
<div class="row mb-2">
<div class="col-lg-12 mt-2 mb-2">
<div class="row ms-1">
<div class="info-item col-xs-3"><?php echo _("IPv4 Address"); ?></div>
<div class="info-value col-xs-3"><?php echo htmlspecialchars($public_ip, ENT_QUOTES); ?><a class="text-gray-500" href="https://ipapi.co/<?php echo($public_ip); ?>" target="_blank" rel="noopener noreferrer"><i class="fas fa-external-link-alt ms-2"></i></a></div>
<div class="info-item col-3"><?php echo _("IPv4 Address"); ?></div>
<div class="info-value col-4"><?php echo htmlspecialchars($public_ip, ENT_QUOTES); ?><a class="text-gray-500" href="https://ipapi.co/<?php echo($public_ip); ?>" target="_blank" rel="noopener noreferrer"><i class="fas fa-external-link-alt ms-2"></i></a></div>
</div>
</div>
</div>

View file

@ -5,10 +5,10 @@
<div class="row mb-2">
<div class="col-lg-12 mt-2 mb-2">
<div class="row ms-1">
<div class="info-item col-xs-3">
<div class="info-item col-3">
<i class="fas fa-globe-americas me-1"></i><?php echo _("IPv4 Address"); ?>
</div>
<div class="info-value col-xs-3">
<div class="info-value col-4">
<?php echo htmlspecialchars($publicIP, ENT_QUOTES); ?><a class="text-gray-500" href="https://ipapi.co/<?php echo($publicIP); ?>" target="_blank" rel="noopener noreferrer"><i class="fas fa-external-link-alt ms-2"></i></a>
</div>
</div>

View file

@ -44,7 +44,7 @@
<?php echo $buttons ?>
</form>
</div><!-- /.card-body -->
<div class="card-footer"></div>
<div class="card-footer"><?php echo _("Information provided by restapi.service"); ?></div>
</div><!-- /.card -->
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->

View file

@ -29,7 +29,7 @@
</div><!-- /.tab-content -->
</form>
</div><!-- /.card-body -->
<div class="card-footer"></div>
<div class="card-footer"><?php echo _("Information provided by raspap.sysinfo"); ?></div>
</div><!-- /.card -->
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->