fix: bump themes, l10n world sort label

This commit is contained in:
Julian Lam
2026-02-09 12:19:06 -05:00
parent c2695d89ee
commit 76fe4bdd98
3 changed files with 15 additions and 3 deletions

View File

@@ -107,10 +107,10 @@
"nodebb-plugin-spam-be-gone": "2.3.2", "nodebb-plugin-spam-be-gone": "2.3.2",
"nodebb-plugin-web-push": "0.7.6", "nodebb-plugin-web-push": "0.7.6",
"nodebb-rewards-essentials": "1.0.2", "nodebb-rewards-essentials": "1.0.2",
"nodebb-theme-harmony": "2.2.6", "nodebb-theme-harmony": "2.2.7",
"nodebb-theme-lavender": "7.1.19", "nodebb-theme-lavender": "7.1.19",
"nodebb-theme-peace": "2.2.49", "nodebb-theme-peace": "2.2.49",
"nodebb-theme-persona": "14.2.0", "nodebb-theme-persona": "14.2.1",
"nodebb-widget-essentials": "7.0.42", "nodebb-widget-essentials": "7.0.42",
"nodemailer": "8.0.1", "nodemailer": "8.0.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",

View File

@@ -1,7 +1,11 @@
{ {
"name": "World", "name": "World",
"latest": "Latest", "latest": "Latest",
"popular": "Popular", "popular-day": "Popular (Day)",
"popular-week": "Popular (Week)",
"popular-month": "Popular (Month)",
"popular-year": "Popular (Year)",
"popular-alltime": "Popular (All Time)",
"recent": "All", "recent": "All",
"help": "Help", "help": "Help",

View File

@@ -19,6 +19,14 @@ define('forum/world', [
handleButtons(); handleButtons();
handleHelp(); handleHelp();
// Add label to sort
const sortLabelEl = document.getElementById('sort-label');
const sortOptionsEl = document.getElementById('sort-options');
if (sortLabelEl && sortOptionsEl) {
const match = sortOptionsEl.querySelector(`a[href="${window.location.pathname}${window.location.search}`);
sortLabelEl.innerText = match.innerText;
}
search.enableQuickSearch({ search.enableQuickSearch({
searchElements: { searchElements: {
inputEl: $('[component="category-search"]'), inputEl: $('[component="category-search"]'),