mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 19:27:30 +03:00
Update DirectoryDocument.swift
This commit is contained in:
parent
288e31c991
commit
d327f6428f
@ -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.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user