diff --git a/Signal/src/Loki/View Controllers/SeedModal.swift b/Signal/src/Loki/View Controllers/SeedModal.swift index 2753622fa..d6bd16e7a 100644 --- a/Signal/src/Loki/View Controllers/SeedModal.swift +++ b/Signal/src/Loki/View Controllers/SeedModal.swift @@ -52,8 +52,16 @@ final class SeedModal : Modal { buttonStackView.axis = .horizontal buttonStackView.spacing = Values.mediumSpacing buttonStackView.distribution = .fillEqually + // Set up explanation label + let disclaimerLabel = UILabel() + disclaimerLabel.textColor = Colors.text + disclaimerLabel.font = .boldSystemFont(ofSize: Values.verySmallFontSize) + disclaimerLabel.text = NSLocalizedString("modal_seed_disclaimer", comment: "") + disclaimerLabel.numberOfLines = 0 + disclaimerLabel.lineBreakMode = .byWordWrapping + disclaimerLabel.textAlignment = .center // Set up stack view - let stackView = UIStackView(arrangedSubviews: [ titleLabel, mnemonicLabel, explanationLabel, buttonStackView ]) + let stackView = UIStackView(arrangedSubviews: [ titleLabel, mnemonicLabel, explanationLabel, buttonStackView, disclaimerLabel ]) stackView.axis = .vertical stackView.spacing = Values.largeSpacing contentView.addSubview(stackView) diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index 193c0c6cd..eb3256526 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -2729,3 +2729,6 @@ "vc_contact_selection_contacts_title" = "Contacts"; "vc_contact_selection_closed_groups_title" = "Closed Groups"; "vc_contact_selection_open_groups_title" = "Open Groups"; + +// MARK: Next round of translation +"modal_seed_disclaimer" = "*Please note that it is not possible to use the same Session ID on multiple devices simultaneously";