• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NodeBB / NodeBB / 27281216778
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: renovate/husky-9.x
DEFAULT BRANCH: master
Ran 10 Jun 2026 02:02PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
27281216778

push

github

web-flow
tx() helper for translations (#14313)

* tx helper POC

* create single language file

* refactor: write a js and json file for translations

disable whole page translation, translation after ajaxify and translation in app.parseAndTranslate, translation will happen when benchpress parses the page via helpers

set _18n on window._18n via js file with defer script

load the json file on server side with require so its cached

html escape arguments

add some new tests to test/translator.js for the helper

* refactor: remove logs/disbles

* test: fix name

* change js file name add cache buster

* lint

* make translator module available to helpers

use res.render to render header and footer so res.locals._i18n is available

* refactor: update translateKeys to work with new format

[namespace, key, args, language] args and language are optional

add translator.translateKey that translate a single namespace/key pair with args. can replace all the old translator.translate('[[namespace:key]]') calls

* refactor: if not token is not a translation token

dont change it and dont parse arguments in it, just output original str

* test: fix tests

* use translateKeys  in update Title

translate title and browserTitle separately

* feat: translate arguments if they are tokens

support old syntax and turn it into [token, [arg1, arg2]] so {tx(./translationStringInOldFormat)} works.

* test: update tests for new language string

* test: fix more tests

* refactor: add mergedIntoHref

* refactor: bring back translation of page

split client translations into client.json/js to reduce size

* refactor: go back to old style translateKeys

* revert: old style

* refactor: remove dupe code

* fix: browser title

* revert: reconnect-alert

* refactor: less changes

* revert: reconnect

* refactor: get rid of dupe code

use ...args

* refactor: validateHref can be private

* refactor: add path guard
Source Files on build 27281216778
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #27281216778
  • d9c1b178 on github
  • Prev Build on develop (#27281087912)
  • Next Build on develop (#27285970808)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc