Rename wildcardPattern to pattern. Fix localized strings