|
@@ -169,12 +169,12 @@ class KMSignUpView: KMBaseXibView {
|
|
|
// MARK: Private Method
|
|
|
|
|
|
private func languageLocalized() -> Void {
|
|
|
- signUpLabel.stringValue = NSLocalizedString("Sign in(titile)", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpLabel.stringValue = NSLocalizedString("Log in / Register", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
verificationCodeButton.title = NSLocalizedString("Verification Code", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
passwordButton.title = NSLocalizedString("Password", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
stayLabel.stringValue = NSLocalizedString("Stay signed in", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
forgetButton.title = NSLocalizedString("Forgot password?", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
- signUpButton.title = NSLocalizedString("Sign in(button)", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpButton.title = NSLocalizedString("Log in / Register", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
emailErrorLabel.stringValue = String(format: "*%@", NSLocalizedString("Email format error. Please enter the correct email.", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
passwordErrorLabel.stringValue = String(format: "*%@", NSLocalizedString("Verification code error.", tableName: "MemberCenterLocalizable", comment: ""))
|
|
|
emailTextField.placeholderString = NSLocalizedString("Please enter email address", tableName: "MemberCenterLocalizable", comment: "")
|
|
@@ -339,6 +339,9 @@ class KMSignUpView: KMBaseXibView {
|
|
|
forgetButton.isHidden = true
|
|
|
|
|
|
privacyLabel.attributedStringValue = codePrivacyAttri_
|
|
|
+ signUpLabel.stringValue = NSLocalizedString("Log in / Register", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpButton.title = NSLocalizedString("Log in / Register", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpButton.setTitleColor(color: NSColor(named: "FFFFFF") ?? NSColor.white, font: NSFont.SFProTextRegularFont(16))
|
|
|
} else if viewModel.signUpState == .password {
|
|
|
selectBox1.isHidden = true
|
|
|
selectBox2.isHidden = false
|
|
@@ -351,6 +354,9 @@ class KMSignUpView: KMBaseXibView {
|
|
|
forgetButton.isHidden = false
|
|
|
|
|
|
privacyLabel.attributedStringValue = privacyAttri_
|
|
|
+ signUpLabel.stringValue = NSLocalizedString("Log In", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpButton.title = NSLocalizedString("Log In", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+ signUpButton.setTitleColor(color: NSColor(named: "FFFFFF") ?? NSColor.white, font: NSFont.SFProTextRegularFont(16))
|
|
|
}
|
|
|
}
|
|
|
|