Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 421f50d

Browse files
authored
Merge pull request #658 from wordpress-mobile/fix-genstrings-error
Remove unnecessary `NSLocalizedString` call(the text is already localized)
2 parents 8036b3b + bcd0eb2 commit 421f50d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WordPressAuthenticator/Extensions/WPStyleGuide+Login.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ extension WPStyleGuide {
153153
/// - Returns: A properly styled NSAttributedString to be displayed on a NUXButton.
154154
///
155155
class func formattedSignInWithSiteCredentialsString() -> NSAttributedString {
156-
let title = NSLocalizedString(WordPressAuthenticator.shared.displayStrings.signInWithSiteCredentialsButtonTitle,
157-
comment: "Button title. Tapping opens the site credentials screen.")
156+
let title = WordPressAuthenticator.shared.displayStrings.signInWithSiteCredentialsButtonTitle
158157
let globe = UIImage.gridicon(.globe)
159158
let image = globe.imageWithTintColor(WordPressAuthenticator.shared.style.placeholderColor) ?? globe
160159
return attributedStringwithLogo(image,

0 commit comments

Comments
 (0)