Update DirectoryDocument.swift

This commit is contained in:
1024jp 2024-06-30 14:21:48 +09:00
parent 288e31c991
commit d327f6428f

View File

@ -451,7 +451,8 @@ private enum DirectoryDocumentError: LocalizedError {
switch self {
case .alreadyOpen(let fileURL):
String(localized: "DirectoryDocumentError.alreadyOpen.description", defaultValue: "The file “\(fileURL.lastPathComponent)” is already open in a different window.")
String(localized: "DirectoryDocumentError.alreadyOpen.description",
defaultValue: "The file “\(fileURL.lastPathComponent)” is already open in a different window.")
}
}
@ -461,7 +462,9 @@ private enum DirectoryDocumentError: LocalizedError {
switch self {
case .alreadyOpen:
String(localized: "DirectoryDocumentError.alreadyOpen.recoverySuggestion", defaultValue: "To open it in this window, close the existing window first.", comment: "“it” is the file in description.")
String(localized: "DirectoryDocumentError.alreadyOpen.recoverySuggestion",
defaultValue: "To open it in this window, close the existing window first.",
comment: "“it” is the file in description.")
}
}
}