mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 21:59:27 +00:00
Minor refactoring. Use language's regional translation as key.
Previously, the translation data had the language names translated in the specific language which is counter intuitive. Because if the page loads in English and the user clicks on the Change Language button then they will see their language's name in English which they might not now. Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
This commit is contained in:
parent
857b71b44c
commit
8796c44090
8 changed files with 41 additions and 20 deletions
|
|
@ -103,6 +103,11 @@ export default function Header() {
|
|||
control={<Radio />}
|
||||
label={t('Turkish')}
|
||||
/>
|
||||
<FormControlLabel
|
||||
value="es"
|
||||
control={<Radio />}
|
||||
label={t('Spanish')}
|
||||
/>
|
||||
</RadioGroup>
|
||||
</FormControl>
|
||||
</Paper>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue