feat(dashboard): GameText, the game's text in the viewer's language

One helper for game text on the dashboard: zone names, locale phrases,
localized table columns, %[key] expansion and the game's currency words,
looked up in the viewer's language (a cookie pick, else Accept-Language),
falling back to en_US and then the key or id. Unit tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 22:06:10 -05:00
parent 40d9364770
commit a6fc67a4bb
5 changed files with 445 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ set(DASHBOARDROUTES_SOURCES
"PlayerActions.cpp"
"AccountRoutes.cpp"
"ClientAssets.cpp"
"GameText.cpp"
"MaintenanceRoutes.cpp"
"ReportRoutes.cpp"
"EconomyPlaces.cpp"