Fix strings detections and translates the entire "Clipboard Manager" section and change the width to work better with all languages

This commit is contained in:
Felipe Giacomini Cocco 2026-02-05 14:57:27 -03:00
commit df66586602
3 changed files with 95 additions and 19 deletions

View file

@ -155,12 +155,12 @@ enum ClipboardItemType: String, CaseIterable, Codable {
var displayName: String {
switch self {
case .text: return "Text"
case .url: return "URL"
case .file: return "File"
case .image: return "Image"
case .rtf: return "Rich Text"
case .unknown: return "Unknown"
case .text: return String(localized: "Text")
case .url: return String(localized: "URL")
case .file: return String(localized: "File")
case .image: return String(localized: "Image")
case .rtf: return String(localized: "Rich Text")
case .unknown: return String(localized: "Unknown")
}
}
}