Improve public key explanation

pull/35/head
Niels Andriesse 6 years ago
parent 2d4a7551f7
commit 37fea79d57

@ -31,7 +31,7 @@ final class NewConversationViewController : OWSViewController {
let explanationLabel = UILabel()
explanationLabel.textColor = Theme.primaryColor
explanationLabel.font = UIFont.ows_dynamicTypeSubheadlineClamped
explanationLabel.text = NSLocalizedString("For example: 059abcf223aa8c10e3dc2d623688b75dd25896794717e4a9c486772664fc95e41e.", comment: "")
explanationLabel.text = NSLocalizedString("Enter the public key of the person you'd like to securely message. They can share their public key with you by going into Loki Messenger's in-app settings and clicking \"Share Public Key\".", comment: "")
explanationLabel.numberOfLines = 0
explanationLabel.lineBreakMode = .byWordWrapping
// Button

@ -396,9 +396,9 @@ typedef NS_ENUM(NSInteger, HomeViewControllerSection) {
*/
UILabel *emptyInboxLabel = [UILabel new];
emptyInboxLabel.text = NSLocalizedString(@"Looks like you don\'t have any conversations yet. Get started by messaging a friend.", @"");
emptyInboxLabel.text = NSLocalizedString(@"Looks like you don't have any conversations yet. Get started by messaging a friend.", @"");
emptyInboxLabel.font = UIFont.ows_dynamicTypeBodyClampedFont;
emptyInboxLabel.textColor = Theme.secondaryColor;
emptyInboxLabel.textColor = UIColor.whiteColor;
emptyInboxLabel.textAlignment = NSTextAlignmentCenter;
emptyInboxLabel.numberOfLines = 0;
emptyInboxLabel.lineBreakMode = NSLineBreakByWordWrapping;

@ -2597,4 +2597,5 @@
"For example: 059abcf223aa8c10e3dc2d623688b75dd25896794717e4a9c486772664fc95e41e." = "For example: 059abcf223aa8c10e3dc2d623688b75dd25896794717e4a9c486772664fc95e41e.";
"Invalid Public Key" = "Invalid Public Key";
"Please check the public key you entered and try again." = "Please check the public key you entered and try again.";
"Looks like you don\'t have any conversations yet. Get started by messaging a friend." = "Looks like you don\'t have any conversations yet. Get started by messaging a friend.";
"Looks like you don't have any conversations yet. Get started by messaging a friend." = "Looks like you don't have any conversations yet. Get started by messaging a friend.";
"Enter the public key of the person you'd like to securely message. They can share their public key with you by going into Loki Messenger's in-app settings and clicking \"Share Public Key\"." = "Enter the public key of the person you'd like to securely message. They can share their public key with you by going into Loki Messenger's in-app settings and clicking \"Share Public Key\".";

Loading…
Cancel
Save