fix some strings

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

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

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

File diff suppressed because it is too large Load Diff

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

Loading…
Cancel
Save