diff --git a/Swiftgram/SGDBReset/Sources/File.swift b/Swiftgram/SGDBReset/Sources/File.swift index 89c7369e88..825f0465bd 100644 --- a/Swiftgram/SGDBReset/Sources/File.swift +++ b/Swiftgram/SGDBReset/Sources/File.swift @@ -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 ) diff --git a/Swiftgram/SGSettingsBundle/Settings.bundle/en.lproj/Root.strings b/Swiftgram/SGSettingsBundle/Settings.bundle/en.lproj/Root.strings index fb7c4fe63d..c1de0b45c1 100644 --- a/Swiftgram/SGSettingsBundle/Settings.bundle/en.lproj/Root.strings +++ b/Swiftgram/SGSettingsBundle/Settings.bundle/en.lproj/Root.strings @@ -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."; \ No newline at end of file diff --git a/Swiftgram/SGSettingsBundle/Settings.bundle/ru.lproj/Root.strings b/Swiftgram/SGSettingsBundle/Settings.bundle/ru.lproj/Root.strings index 4da4548194..a0f39d27b4 100644 --- a/Swiftgram/SGSettingsBundle/Settings.bundle/ru.lproj/Root.strings +++ b/Swiftgram/SGSettingsBundle/Settings.bundle/ru.lproj/Root.strings @@ -1,6 +1,6 @@ "Reset.Title" = "РЕШЕНИЕ ПРОБЛЕМ"; -"Reset.Toggle" = "Сбросить метаданные"; +"Reset.Toggle" = "Сбросить Метаданные"; "Reset.Notice" = "Используйте, если приложение вылетает или не загружается. Эта опция НЕ СБРАСЫВАЕТ ваши аккаунты, но удалит все секретные чаты."; "HardReset.Title" = ""; -"HardReset.Toggle" = "Сбросить всё"; +"HardReset.Toggle" = "Сбросить Всё"; "HardReset.Notice" = "Сбрасывает метаданные, кэшированные сообщения и медиа для всех аккаунтов. Эта опция не должна разлогинить ваши аккаунты, но используйте её на СВОЙ СТРАХ И РИСК. Все секретные чаты удалятся."; \ No newline at end of file