mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-28 23:47:14 +00:00
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:
@@ -36,6 +36,8 @@ set(DWEBTESTS_SOURCES
|
||||
"ModeratorHelperTests.cpp"
|
||||
"ChatHistoryTests.cpp"
|
||||
"ClientSysInfoViewTests.cpp"
|
||||
"GameTextTests.cpp"
|
||||
"${PROJECT_SOURCE_DIR}/dDashboardServer/routes/GameText.cpp"
|
||||
"${PROJECT_SOURCE_DIR}/dDashboardServer/routes/ClientSysInfoView.cpp"
|
||||
"${PROJECT_SOURCE_DIR}/dDashboardServer/routes/ChatHistory.cpp"
|
||||
"${PROJECT_SOURCE_DIR}/dDashboardServer/ai/ClaudeClient.cpp"
|
||||
|
||||
Reference in New Issue
Block a user