This commit is contained in:
Kylmakalle 2025-03-23 01:01:29 +02:00
parent a3f000e896
commit b785dfa718
3 changed files with 7 additions and 7 deletions

View File

@ -11,7 +11,7 @@ public func sgDBResetIfNeeded(databasePath: String, present: ((UIViewController)
}
NSLog("[SG.DBReset] Resetting DB with system settings")
let alert = UIAlertController(
title: "Database reset.\nPlease wait...",
title: "Metadata Reset.\nPlease wait...",
message: nil,
preferredStyle: .alert
)
@ -20,7 +20,7 @@ public func sgDBResetIfNeeded(databasePath: String, present: ((UIViewController)
let _ = try FileManager.default.removeItem(atPath: databasePath)
NSLog("[SG.DBReset] Done. Reset completed")
let successAlert = UIAlertController(
title: "Database reset completed",
title: "Metadata Reset completed",
message: nil,
preferredStyle: .alert
)
@ -34,7 +34,7 @@ public func sgDBResetIfNeeded(databasePath: String, present: ((UIViewController)
} catch {
NSLog("[SG.DBReset] ERROR. Failed to reset database: \(error)")
let failAlert = UIAlertController(
title: "ERROR. Failed to reset database",
title: "ERROR. Failed to Reset Metadata",
message: "\(error)",
preferredStyle: .alert
)

View File

@ -1,8 +1,8 @@
/* A single strings file, whose title is specified in your preferences schema. The strings files provide the localized content to display to the user for each of your preferences. */
"Reset.Title" = "TROUBLESHOOTING";
"Reset.Toggle" = "Reset metadata";
"Reset.Toggle" = "Reset Metadata";
"Reset.Notice" = "Use in case you're stuck and can't open the app. This WILL NOT logout your accounts, but all secret chats will be lost.";
"HardReset.Title" = "";
"HardReset.Toggle" = "Reset all";
"HardReset.Toggle" = "Reset All";
"HardReset.Notice" = "Clears metadata, cached messages and media for all accounts. This should not logout your accounts, but proceed at YOUR OWN RISK. All secret chats will be lost.";

View File

@ -1,6 +1,6 @@
"Reset.Title" = "РЕШЕНИЕ ПРОБЛЕМ";
"Reset.Toggle" = "Сбросить метаданные";
"Reset.Toggle" = "Сбросить Метаданные";
"Reset.Notice" = "Используйте, если приложение вылетает или не загружается. Эта опция НЕ СБРАСЫВАЕТ ваши аккаунты, но удалит все секретные чаты.";
"HardReset.Title" = "";
"HardReset.Toggle" = "Сбросить всё";
"HardReset.Toggle" = "Сбросить Всё";
"HardReset.Notice" = "Сбрасывает метаданные, кэшированные сообщения и медиа для всех аккаунтов. Эта опция не должна разлогинить ваши аккаунты, но используйте её на СВОЙ СТРАХ И РИСК. Все секретные чаты удалятся.";