Skip to content

Commit 671cadb

Browse files
authored
Merge pull request #3069 from xwu/orthography
Fix orthography of 'orthography'
2 parents 8d6398d + cbf6a73 commit 671cadb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Sources/Foundation/NSTextCheckingResult.swift

+11-11
Original file line numberDiff line numberDiff line change
@@ -287,14 +287,14 @@ extension NSTextCheckingResult {
287287
}
288288
}
289289

290-
@available(*, deprecated, message: "NSOrtography is not available in swift-corelibs-foundation")
290+
@available(*, deprecated, message: "NSOrthography is not available in swift-corelibs-foundation")
291291
open class NSOrthography: NSObject, NSCopying, NSSecureCoding {
292-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
293-
open class func defaultOrtography(forLanguage: String) -> Self {
292+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
293+
open class func defaultOrthography(forLanguage: String) -> Self {
294294
NSUnsupported()
295295
}
296296

297-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
297+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
298298
public init(dominantScript: String, languageMap: [String: [String]]) {
299299
NSUnsupported()
300300
}
@@ -313,18 +313,18 @@ open class NSOrthography: NSObject, NSCopying, NSSecureCoding {
313313
NSUnsupported()
314314
}
315315

316-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
316+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
317317
open var languageMap: [String: [String]] { NSUnsupported() }
318-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
318+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
319319
open var dominantLanguage: String { NSUnsupported() }
320-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
320+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
321321
open var dominantScript: String { NSUnsupported() }
322-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
322+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
323323
open func dominantLanguage(forScript: String) -> String? { NSUnsupported() }
324-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
324+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
325325
open func language(forScript: String) -> [String]? { NSUnsupported() }
326-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
326+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
327327
open var alLScripts: [String] { NSUnsupported() }
328-
@available(*, unavailable, message: "NSOrtography is not available in swift-corelibs-foundation")
328+
@available(*, unavailable, message: "NSOrthography is not available in swift-corelibs-foundation")
329329
open var allLanguages: [String] { NSUnsupported() }
330330
}

0 commit comments

Comments
 (0)