[auth][l10n]: Add Bulgarian translation

This commit is contained in:
Crea7orX
2024-09-22 18:52:19 +03:00
parent a01ea511e9
commit d4cd71b56c
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
// translated in the corresponding language.
const List<Locale> appSupportedLocales = <Locale>[
Locale('bg'),
Locale('de'),
Locale('en'),
Locale('es', 'ES'),

View File

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