Add language names and enable Spanish

This commit is contained in:
Imran Remtulla
2023-05-03 18:00:24 -04:00
parent e1980f4de2
commit cbec486ad1
3 changed files with 17 additions and 16 deletions

View File

@@ -144,8 +144,8 @@ class _SettingsPageState extends State<SettingsPage> {
child: Text(tr('followSystem')),
),
...supportedLocales.map((e) => DropdownMenuItem(
value: e.toLanguageTag(),
child: Text(e.toLanguageTag().toUpperCase()),
value: e.key.toLanguageTag(),
child: Text(e.value),
))
],
onChanged: (value) {