summaryrefslogtreecommitdiffhomepage
path: root/vendor/golang.org/x/text/internal/language/compact/language.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-08 12:26:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-08 16:49:08 +0200
commit18f6fa052e107219c5d367234fa3d5d65b2a5246 (patch)
tree87c506f631d2d6248123e805ea6534f3acbf4837 /vendor/golang.org/x/text/internal/language/compact/language.go
parent59f75e8303805e20727f539912a25e138a20c2c7 (diff)
Set the theme before doing i18n
During i18n printer resolution, if there is no locale cookie we render the language selection screen. When this screen is rendered it will grab the users theme from the current context. As a result of not having added the theme to the context yet though, we get a panic. To mitigate this we set the theme before doing any internationalization.
Diffstat (limited to 'vendor/golang.org/x/text/internal/language/compact/language.go')
0 files changed, 0 insertions, 0 deletions