prepare for localizations

This commit is contained in:
leminlimez committed 2025-06-18 19:32:36 -04:00
1 parent d835a40199
commit bf0d7989bd
7 files changed
+24 -23

No files matched your search

+2 -2
View File
@@ -20,9 +20,9 @@ enum ApplyError: LocalizedError {
public var errorDescription: String? {
switch self {
case .wrongAppHash:
return "Your app hash is incorrect. Please set it again."
return NSLocalizedString("Your app hash is incorrect. Please set it again.", comment: "")
case .collectionsNeedsReset:
return "The folder is improperly set up. Please tap \"Reset Collections\" and try again."
return NSLocalizedString("The folder is improperly set up. Please tap \"Reset Collections\" and try again.", comment: "")
case .unexpected(let info):
return info
}