diff --git a/frontend/mobile/lib/components/trad.dart b/frontend/mobile/lib/components/trad.dart index c6ccdd21..54adb8cb 100644 --- a/frontend/mobile/lib/components/trad.dart +++ b/frontend/mobile/lib/components/trad.dart @@ -227,6 +227,12 @@ String getAreaTrad(String key, BuildContext context) { return AppLocalizations.of(context)!.enable_workflow; case "enable_workflow_sub": return AppLocalizations.of(context)!.enable_workflow_sub; + case "auto": + return AppLocalizations.of(context)!.auto; + case "dark": + return AppLocalizations.of(context)!.dark; + case "light": + return AppLocalizations.of(context)!.light; } return ""; } diff --git a/frontend/mobile/lib/pages/user.dart b/frontend/mobile/lib/pages/user.dart index 17171c5f..da25a48a 100644 --- a/frontend/mobile/lib/pages/user.dart +++ b/frontend/mobile/lib/pages/user.dart @@ -1,3 +1,4 @@ +import 'package:area_mobile/components/trad.dart'; import 'package:area_mobile/services/dio.dart'; import 'package:area_mobile/types/services.dart'; import 'package:area_mobile/types/user/me.dart'; @@ -121,7 +122,7 @@ class _UserHero extends State { ].map((String theme) { return DropdownMenuItem( value: theme, - child: Text(theme), + child: Text(getAreaTrad(theme, context)), ); }).toList(), onChanged: (value) {