Repository navigation
feat: alerts in the language of the destination server - #63
Merged
Merged
Conversation
- Alerts are stored as a message key plus parameters (InstanceEvent and Incident messageKey/params) and rendered at delivery in the language of the server they are posted to: its dashboard "message language" setting. - Shared EN/IT catalogue for every alert, field label, category, digest, reminder and footer; the webhook and the status test use the status channel's server language; the super console shows them in its own. - Older rows keep their fixed text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Alert and notice texts were hard-coded in Italian. Now each alert is rendered in the language of the server it is posted to — the server's dashboard setting, renamed Message language (it already drives the log embeds).
alert-messages.ts(EN/IT): every bot and API alert, field labels, category labels, digest, reminders, footers, webhook and status test.messageKey+ encrypted params/fields (InstanceEvent.messageKey,Incident.messageKey/params); the router renders per target server, the digest per digest server, reminders per target, the webhook and the status test per status-channel server. The super console renders events and incidents in its own UI language.How it was tested
CI (typecheck, tests, migrations + drift).
🤖 Generated with Claude Code