feat(web): Add option for customizable explanation text (#747)

* Add option for customizable explanation text

* Add changes to CHANGELOG.md

* Replace custom explanation text in favor of static simplified text

Also includes translations for the simple_explanation using Google
Translate as a placeholder so tests pass.

---------

Signed-off-by: Xe Iaso <xe.iaso@techaro.lol>
Co-authored-by: Xe Iaso <xe.iaso@techaro.lol>
This commit is contained in:
Martin 2025-08-14 17:12:55 +02:00 committed by GitHub
parent 39215457e4
commit 29d038835f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 143 additions and 96 deletions

View file

@ -36,3 +36,6 @@ const DefaultDifficulty = 4
// ForcedLanguage is the language being used instead of the one of the request's Accept-Language header
// if being set.
var ForcedLanguage = ""
// UseSimplifiedExplanation can be set to true for using the simplified explanation
var UseSimplifiedExplanation = false