Update share text

This commit is contained in:
kevinzhow
2015-09-18 17:28:40 +08:00
parent cd8e3310b1
commit 2015e2786c
4 changed files with 18 additions and 6 deletions
@@ -550,7 +550,7 @@ class ProfileViewController: UIViewController {
private func shareProfile() {
if let username = profileUser?.username, profileURL = NSURL(string: "http://soyep.com/\(username)") {
if let username = profileUser?.username, profileURL = NSURL(string: "http://soyep.com/\(username)"), nickname = profileUser?.username {
MonkeyKing.registerAccount(.WeChat(appID: YepConfig.ChinaSocialNetwork.WeChat.appID))
@@ -568,8 +568,8 @@ class ProfileViewController: UIViewController {
}
let info = MonkeyKing.Message.WeChatSubtype.Info(
title: NSLocalizedString("Match me if you can", comment: ""),
description: NSLocalizedString("From Yep with Skills", comment: ""),
title: NSLocalizedString("Yep! I'm ", comment: "") + nickname,
description: NSLocalizedString("Match Genius Around You", comment: ""),
thumbnail: thumbnail,
media: .URL(profileURL)
)
@@ -31,12 +31,12 @@ class SkillHomeHeaderView: UIView {
}()
lazy var masterButton: SkillHomeSectionButton = {
let button = createSkillHomeButtonWithText("Master", 100, YepConfig.skillHomeHeaderButtonHeight)
let button = createSkillHomeButtonWithText( NSLocalizedString("Master", comment: ""), 100, YepConfig.skillHomeHeaderButtonHeight)
return button
}()
lazy var learningButton: SkillHomeSectionButton = {
let button = createSkillHomeButtonWithText("Learning", 100, YepConfig.skillHomeHeaderButtonHeight)
let button = createSkillHomeButtonWithText( NSLocalizedString("Learning", comment: ""), 100, YepConfig.skillHomeHeaderButtonHeight)
return button
}()
+6
View File
@@ -134,6 +134,12 @@
/* No comment provided by engineer. */
"Do you want to logout?" = "Do you want to logout?";
/* No comment provided by engineer. */
"Match Genius Around You" = "Match Genius Around You"
/* No comment provided by engineer. */
"Yep! I'm " = "Yep! I'm "
/* No comment provided by engineer. */
"Do you want to reject this friend request?" = "Do you want to reject this friend request?";
+7 -1
View File
@@ -242,7 +242,7 @@
"Meet" = "见面";
/* No comment provided by engineer. */
"Meet with genius" = "与天才相遇";
"Meet with genius" = "Meet with genius";
/* No comment provided by engineer. */
"Mute" = "静音";
@@ -589,6 +589,9 @@
/* No comment provided by engineer. */
"Match me if you can" = "以技能匹配你我";
/* No comment provided by engineer. */
"Match Genius Around You" = "寻找身边的天才"
/* No comment provided by engineer. */
"From Yep with Skills" = "From Yep with Skills";
@@ -607,6 +610,9 @@
/* No comment provided by engineer. */
"Set Username" = "设置用户名";
/* No comment provided by engineer. */
"Yep! I'm " = "Yep! 我是 "
/* No comment provided by engineer. */
"Please note that you can only set username once." = "请注意,您只能设置一次用户名。";