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

Commit bcd0eb2

Browse files
committed
Remove unnecessary NSLocalizedString call(the text is already localized)
1 parent 8036b3b commit bcd0eb2

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)