aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--locale/en_GB.json4
-rw-r--r--templates/global_settings_page.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/locale/en_GB.json b/locale/en_GB.json
index d65c890..75cf63b 100644
--- a/locale/en_GB.json
+++ b/locale/en_GB.json
@@ -113,8 +113,8 @@
"changePassword.error.currentIncorrect": "Current password is incorrect",
"changePassword.error.doesntMatch": "New password doesn't match",
"changePassword.success": "Password changed successfully!",
- "globalSettings.pageTitle.instance": "Instance settings",
- "globalSettings.pageTitle.about": "About this instance",
+ "globalSettings.category.instance": "Instance settings",
+ "globalSettings.category.about": "About this instance",
"globalSettings.categories": "Categories: ",
"globalSettings.s.instance.name.name": "Instance name",
"globalSettings.s.instance.name.description": "Shown in the page header and instance information",
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>