Files
sow-nodebb-theme/languages/en-GB/westgate.json
T
archvillainetteandClaude Opus 5 4acf32ec09 Make the support drawer core's notification drawer (sow-nodebb-plugin-support#10)
The first version of this drawer built its own rows in JS. This one renders
core's `partials/notifications_list` partial with entries the support plugin
now returns in core's notification shape, so the markup is literally the
notification drawer's: avatar block, stretched link, muted timeago, per-entry
read dot, All/Unread filter row, and the same two footer buttons. The
handlers mirror core's too — only the API paths differ, because the list is
plugin-owned (core's unread count is one aggregate with no hook to carve a
type out of it).

Opening the box no longer marks everything read: like the bell, an entry is
read when you click it or use "Mark all read", and the dot toggles both ways.

Deletes the bespoke row builder and its hand-rolled relative-time helper;
`$.timeago` is what core uses for JS-inserted rows. The dropdown reuses the
`.notifications-dropdown` class this theme already styles, so it needs no CSS
of its own. Hardcoded English is gone (the code-review finding on the first
version): every string is a translation key.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-24 22:20:04 +02:00

28 lines
1.3 KiB
JSON

{
"wiki-badge": "Wiki",
"404.title": "You've wandered off the map.",
"404.message": "This alley leads nowhere, and in Westgate, nowhere is where the Night Masks find you.<br>Turn back to the <a href=\"%1/\">lantern-lit streets</a> before they notice you lingering.",
"view-original": "View Original",
"copy-handle": "Copy handle",
"select-topic": "Select topic",
"footer.description": "A Neverwinter Nights: Enhanced Edition persistent world of gothic intrigue, set in the Forgotten Realms port city of Westgate.",
"footer.motto": "Mind the shadows.",
"footer.explore": "Explore",
"footer.home": "Home",
"footer.news": "News",
"footer.gallery": "Gallery",
"footer.dev-blog": "Dev Blog",
"footer.join-team": "Join the Team",
"footer.community": "Community",
"footer.forums": "Forums",
"footer.wiki": "Wiki",
"footer.register": "Register",
"footer.how-to-join": "How to Join",
"footer.copyright": "&copy; %1 Shadows Over Westgate &middot; A NWN:EE Persistent World",
"footer.setting": "Forgotten Realms &middot; Westgate &middot; Sea of Fallen Stars",
"footer.powered-by": "Powered by",
"support-inbox.title": "Support inbox",
"support-inbox.empty": "Nothing new",
"support-inbox.view-all": "Go to Support"
}