This commit is contained in:
nielsandriesse 2020-04-22 11:58:20 +10:00
parent 08ead1bd4e
commit e8e2485426
3 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ final class DeviceLinksVC : BaseVC, UITableViewDataSource, UITableViewDelegate,
explanationLabel.textAlignment = .center
explanationLabel.text = NSLocalizedString("You haven't linked any devices yet", comment: "")
let linkNewDeviceButton = Button(style: .prominentOutline, size: .large)
linkNewDeviceButton.setTitle(NSLocalizedString("Link a Device", comment: ""), for: UIControl.State.normal)
linkNewDeviceButton.setTitle(NSLocalizedString("Link a Device (Beta)", comment: ""), for: UIControl.State.normal)
linkNewDeviceButton.addTarget(self, action: #selector(linkNewDevice), for: UIControl.Event.touchUpInside)
linkNewDeviceButton.set(.width, to: 180)
let result = UIStackView(arrangedSubviews: [ explanationLabel, linkNewDeviceButton ])

View File

@ -64,9 +64,9 @@ final class NewClosedGroupVC : BaseVC, UITableViewDataSource, UITableViewDelegat
navigationItem.rightBarButtonItem = doneButton
// Customize title
let titleLabel = UILabel()
titleLabel.text = NSLocalizedString("New Closed Group", comment: "")
titleLabel.text = NSLocalizedString("New Closed Group (Beta)", comment: "")
titleLabel.textColor = Colors.text
let titleLabelFontSize = isSmallScreen ? Values.largeFontSize : Values.veryLargeFontSize
let titleLabelFontSize = isSmallScreen ? Values.mediumFontSize : Values.largeFontSize
titleLabel.font = .boldSystemFont(ofSize: titleLabelFontSize)
navigationItem.titleView = titleLabel
// Set up content

View File

@ -2665,7 +2665,7 @@
"Please make sure the QR code you scanned is correct and try again." = "Please make sure the QR code you scanned is correct and try again.";
"Devices" = "Devices";
"You haven't linked any devices yet" = "You haven't linked any devices yet";
"Link a Device" = "Link a Device";
"Link a Device (Beta)" = "Link a Device (Beta)";
"Unlink" = "Unlink";
"Change Name" = "Change Name";
"Change Device Name" = "Change Device Name";
@ -2788,7 +2788,7 @@
"Would you like to restore your session with %@?" = "Would you like to restore your session with %@?";
"Restore" = "Restore";
"Dismiss" = "Dismiss";
"New Closed Group" = "New Closed Group";
"New Closed Group (Beta)" = "New Closed Group (Beta)";
"Group Members" = "Group Members";
"You don't have any contacts yet" = "You don't have any contacts yet";
"Start a Session" = "Start a Session";