feat: берсерк. Регенерация profile если сервер его не отдал

This commit is contained in:
Jganenokk
2026-07-15 19:33:25 +07:00
parent 1e2fc42b35
commit 0ba39b3575
12 changed files with 164 additions and 40 deletions
+3 -1
View File
@@ -907,5 +907,7 @@
"updateCheck": "Check for updates",
"updateChecking": "Checking for updates…",
"updateUpToDate": "You have the latest version",
"updateCheckFailed": "Couldn't check for updates. Try again later"
"updateCheckFailed": "Couldn't check for updates. Try again later",
"profileResurrecting": "Oops! The server didn't send your profile. Trying to regenerate…",
"profilePhoneRegenFailed": "Couldn't regenerate your phone number. Please sign in again and report the issue to the developers"
}
+12
View File
@@ -4045,6 +4045,18 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Couldn\'t check for updates. Try again later'**
String get updateCheckFailed;
/// No description provided for @profileResurrecting.
///
/// In en, this message translates to:
/// **'Oops! The server didn\'t send your profile. Trying to regenerate…'**
String get profileResurrecting;
/// No description provided for @profilePhoneRegenFailed.
///
/// In en, this message translates to:
/// **'Couldn\'t regenerate your phone number. Please sign in again and report the issue to the developers'**
String get profilePhoneRegenFailed;
}
class _AppLocalizationsDelegate
+8
View File
@@ -2097,4 +2097,12 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get updateCheckFailed =>
'Couldn\'t check for updates. Try again later';
@override
String get profileResurrecting =>
'Oops! The server didn\'t send your profile. Trying to regenerate…';
@override
String get profilePhoneRegenFailed =>
'Couldn\'t regenerate your phone number. Please sign in again and report the issue to the developers';
}
+8
View File
@@ -2108,4 +2108,12 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get updateCheckFailed =>
'Не удалось проверить обновления. Повторите позже';
@override
String get profileResurrecting =>
'Упс! Сервер не прислал profile. Попробую регенерировать…';
@override
String get profilePhoneRegenFailed =>
'Не удалось регенерировать данные об номере. Перезайдите и сообщите об проблеме разработчикам';
}
+3 -1
View File
@@ -689,5 +689,7 @@
"updateCheck": "Проверить обновление",
"updateChecking": "Проверяем обновления…",
"updateUpToDate": "Установлена актуальная версия",
"updateCheckFailed": "Не удалось проверить обновления. Повторите позже"
"updateCheckFailed": "Не удалось проверить обновления. Повторите позже",
"profileResurrecting": "Упс! Сервер не прислал profile. Попробую регенерировать…",
"profilePhoneRegenFailed": "Не удалось регенерировать данные об номере. Перезайдите и сообщите об проблеме разработчикам"
}