Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

[auth][l10n]: Add Bulgarian translation

Crea7orXd4cd71b56ce7
diff --git a/auth/lib/locale.dart b/auth/lib/locale.dart
index b66d6a3d93..8aa802ac88 100644
--- a/auth/lib/locale.dart
+++ b/auth/lib/locale.dart
@@ -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'),
diff --git a/auth/lib/ui/settings/language_picker.dart b/auth/lib/ui/settings/language_picker.dart
index f9b94948f9..2b20ee417a 100644
--- a/auth/lib/ui/settings/language_picker.dart
+++ b/auth/lib/ui/settings/language_picker.dart
@@ -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':