We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80dbe1d commit b4b019eCopy full SHA for b4b019e
Sources/Foundation/NSString.swift
@@ -25,11 +25,11 @@ func NSLocalizedString(_ key: String,
25
bundle: Bundle = Bundle.main,
26
value: String = "",
27
comment: String) -> String {
28
-#if os(WASI)
29
- return key
30
-#else
31
- return bundle.localizedString(forKey: key, value: value, table: tableName)
32
-#endif
+ #if os(Android) || os(Android)
+ return key
+ #else
+ return bundle.localizedString(forKey: key, value: value, table: tableName)
+ #endif
33
}
34
35
internal let kCFStringEncodingMacRoman = CFStringBuiltInEncodings.macRoman.rawValue
0 commit comments