On 17 March 2016 at 19:31, Daniel Eggert <[email protected]> wrote:
> What code will be used to make then _localized_?
Good question - I wondered if Obj-C foundation translated them based
on the current locale, but it doesn't. They seem to be fixed
strings.
By the way, some more strangeness I spotted in the output of:
for i in 1..<1000 {
print("\(i) " + NSHTTPURLResponse.localizedStringForStatusCode(i))
}
on Obj-C Foundation.
600 returns the empty string! Output is at
https://gist.github.com/ianpartridge/2d34e29d97b42c260931 - have a
look...
--
Ian Partridge
_______________________________________________
swift-corelibs-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev