ux: force-language feature made ?lang feature less important. Move it away from the UI.

Massimo Melina committed Apr 5, 2023 at 17:57 UTC 5c44e326543bdad3a031826b513b694cd7a2b300
2 files changed +2 -2
README.md
+2 -1
@@ -165,7 +165,8 @@ This is enough, but you may want to configure generated links accordingly:
165
166 ## Hidden features
167
168 -- Going to address `#LOGIN` will bring up the login dialog
168 +- Appending `#LOGIN` to address will bring up the login dialog
169 +- Appending ?lang=CODE to address will force a specific language
170
171 ## Contribute
172
admin/src/LangPage.ts
-1
@@ -17,7 +17,6 @@ export default function LangPage() {
17 const large = useBreakpoint('md')
18 return h(Fragment, {},
19 large && h(Alert, { severity: 'info' }, "Translation is limited to Front-end, it doesn't apply to Admin-panel"),
20 - large && h(Alert, { severity: 'info' }, "You can force a specific language to load by appending by appending ?lang=CODE to the URL."),
20 h(Box, { mt: 1, maxWidth: '40em', flex: 1, display: 'flex', flexDirection: 'column' },
21 h(Box, { mb: 1, display: 'flex' },
22 h(Button, { variant: 'contained', startIcon: h(Upload), onClick: add }, "Add"),