fix some strings

pull/1023/head
Ryan ZHAO 8 months ago
parent d31036f60c
commit c4ebdd6d3d

@ -1187,10 +1187,10 @@ extension ConversationVC:
targetView: self.view, targetView: self.view,
info: ConfirmationModal.Info( info: ConfirmationModal.Info(
title: "urlOpen".localized(), title: "urlOpen".localized(),
body: .text( body: .attributedText(
"urlOpenDescription" "urlOpenDescription"
.put(key: "url", value: url.absoluteString) .put(key: "url", value: url.absoluteString)
.localized() .localizedFormatted(baseFont: .systemFont(ofSize: Values.smallFontSize))
), ),
confirmTitle: "open".localized(), confirmTitle: "open".localized(),
confirmStyle: .danger, confirmStyle: .danger,

@ -250,6 +250,7 @@ final class HomeVC: BaseVC, LibSessionRespondingViewController, UITableViewDataS
welcomeLabel.font = .systemFont(ofSize: Values.smallFontSize) welcomeLabel.font = .systemFont(ofSize: Values.smallFontSize)
welcomeLabel.text = "onboardingBubbleWelcomeToSession" welcomeLabel.text = "onboardingBubbleWelcomeToSession"
.put(key: "app_name", value: Constants.app_name) .put(key: "app_name", value: Constants.app_name)
.put(key: "emoji", value: "")
.localized() .localized()
welcomeLabel.themeTextColor = .sessionButton_text welcomeLabel.themeTextColor = .sessionButton_text
welcomeLabel.textAlignment = .center welcomeLabel.textAlignment = .center

File diff suppressed because it is too large Load Diff

@ -204,7 +204,8 @@ struct FakeChat: View {
ChatBubble( ChatBubble(
text: "onboardingBubbleWelcomeToSession" text: "onboardingBubbleWelcomeToSession"
.put(key: "app_name", value: Constants.app_name) .put(key: "app_name", value: Constants.app_name)
.localized() + " 👋", .put(key: "emoji", value: "👋")
.localized(),
outgoing: false outgoing: false
), ),
ChatBubble( ChatBubble(
@ -218,7 +219,9 @@ struct FakeChat: View {
outgoing: false outgoing: false
), ),
ChatBubble( ChatBubble(
text: "onboardingBubbleCreatingAnAccountIsEasy".localized() + " 👇", text: "onboardingBubbleCreatingAnAccountIsEasy"
.put(key: "emoji", value: "👇")
.localized(),
outgoing: true outgoing: true
) )
] ]

Loading…
Cancel
Save