fix strings

pull/1023/head
Ryan ZHAO 7 months ago
parent 544c680b6b
commit ea48f1b40d

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -368,9 +368,12 @@ public extension UIContextualAction {
case true:
let confirmationModal: ConfirmationModal = ConfirmationModal(
info: ConfirmationModal.Info(
title: "blockDescription"
.put(key: "name", value: threadViewModel.displayName)
.localizedDeformatted(),
title: "block".localized(),
body: .attributedText(
"blockDescription"
.put(key: "name", value: threadViewModel.displayName)
.localizedFormatted(baseFont: .systemFont(ofSize: Values.smallFontSize))
),
confirmTitle: "block".localized(),
confirmAccessibility: Accessibility(
identifier: "Block"

@ -148,7 +148,7 @@ public extension DisappearingMessagesConfiguration {
guard isEnabled, durationSeconds > 0 else {
switch threadVariant {
case .legacyGroup, .group:
return "disappearingMessagesTurnedOffYou".localized() // TODO: replace with "disappearingMessagesTurnedOffYouGroup".localized()
return "disappearingMessagesTurnedOffYouGroup".localized()
default:
return "disappearingMessagesTurnedOffYou".localized()
}

Loading…
Cancel
Save