aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorwinter2025-02-24 18:41:28 +0000
committerwinter2025-02-24 18:41:28 +0000
commitb1dc1cf89ffa49f20ae9bd2880c5152fbc6e00a3 (patch)
tree92ed3349a0e2e2452442288847bede357f7813e3 /templates
parenta88283c526a779389efa2b819201a2331de0f2b2 (diff)
translate global settings category buttons
Diffstat (limited to 'templates')
-rw-r--r--templates/global_settings_page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/global_settings_page.php b/templates/global_settings_page.php
index 06c1470..85a308e 100644
--- a/templates/global_settings_page.php
+++ b/templates/global_settings_page.php
@@ -2,7 +2,7 @@
use Digitigrade\GlobalSettings;
call_template('skeleton', [
- 'pageTitle' => sprintf(__("globalSettings.pageTitle.$prefix"), $prefix)
+ 'pageTitle' => sprintf(__("globalSettings.category.$prefix"), $prefix)
], function () {
global $prefix;
$s = GlobalSettings::getInstance();
@@ -13,7 +13,7 @@ call_template('skeleton', [
<?php foreach ($s->getAllPrefixes() as $p): ?>
<?php if ($p == 'settings')
continue; ?>
- <li><a href="/admin/settings/<?= $p ?>"><?= $p ?></a></li>
+ <li><a href="/admin/settings/<?= $p ?>"><?= __("globalSettings.category.$p") ?></a></li>
<?php endforeach; ?>
</ul>
</div>