nslocalizedstring_key - ApplebaumIan/BitbucketAPI GitHub Wiki
NSLocalizedString Key
Static strings should be used as key in NSLocalizedString in order to genstrings work.
- Identifier: nslocalizedstring_key
- Enabled by default: Disabled
- Supports autocorrection: No
- Kind: lint
- Analyzer rule: No
- Minimum Swift compiler version: 3.0.0
- Default configuration: warning
Non Triggering Examples
NSLocalizedString("key", comment: nil)
NSLocalizedString("key" + "2", comment: nil)
Triggering Examples
NSLocalizedString(↓method(), comment: nil)
NSLocalizedString(↓"key_\(param)", comment: nil)