[auth][l10n]: Add Bulgarian translation (#3402)

## Description

## Tests
This commit is contained in:
Neeraj Gupta 2024-09-22 22:17:49 +05:30 committed by GitHub
commit 09c4b19449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import 'package:shared_preferences/shared_preferences.dart';
// Add more language to the list only when at least 90% of the strings are // Add more language to the list only when at least 90% of the strings are
// translated in the corresponding language. // translated in the corresponding language.
const List<Locale> appSupportedLocales = <Locale>[ const List<Locale> appSupportedLocales = <Locale>[
Locale('bg'),
Locale('de'), Locale('de'),
Locale('en'), Locale('en'),
Locale('es', 'ES'), Locale('es', 'ES'),

View File

@ -126,6 +126,8 @@ class _ItemsWidgetState extends State<ItemsWidget> {
switch (locale.languageCode) { switch (locale.languageCode) {
case 'en': case 'en':
return 'English'; return 'English';
case 'bg':
return 'Български';
case 'es': case 'es':
switch (locale.countryCode) { switch (locale.countryCode) {
case 'ES': case 'ES':