This commit is contained in:
Lemmy
2026-01-19 10:13:46 -05:00
parent ed5078adf3
commit dc7f94fab1
+2 -2
View File
@@ -308,10 +308,10 @@ NBox {
if (section !== root.sectionId) {
var label = root.getSectionLabel(section);
var displayLabel = I18n.tr("positions." + section);
// If translation missing (returns key), fallback to capitalized label
if (displayLabel === "positions." + section) {
displayLabel = label.charAt(0).toUpperCase() + label.slice(1);
displayLabel = label.charAt(0).toUpperCase() + label.slice(1);
}
items.push({