Add footer to 'typing indicators' setting.

This commit is contained in:
Matthew Chen 2018-11-08 11:29:11 -05:00
parent fade523443
commit f37c4f71ad
2 changed files with 5 additions and 1 deletions

View File

@ -108,7 +108,8 @@ static NSString *const kSealedSenderInfoURL = @"https://signal.org/blog/sealed-s
OWSTableSection *typingIndicatorsSection = [OWSTableSection new];
typingIndicatorsSection.headerTitle
= NSLocalizedString(@"SETTINGS_TYPING_INDICATORS", @"Label for the 'typing indicators' setting.");
// TODO: Should we have a footer?
typingIndicatorsSection.footerTitle = NSLocalizedString(
@"SETTINGS_TYPING_INDICATORS_FOOTER", @"An explanation of the 'typing indicators' setting.");
[typingIndicatorsSection addItem:[OWSTableItem switchItemWithText:NSLocalizedString(@"SETTINGS_TYPING_INDICATORS",
@"Label for the 'typing indicators' setting.")
isOn:[self.typingIndicators areTypingIndicatorsEnabled]

View File

@ -2099,6 +2099,9 @@
/* Label for the 'typing indicators' setting. */
"SETTINGS_TYPING_INDICATORS" = "Typing Indicators";
/* An explanation of the 'typing indicators' setting. */
"SETTINGS_TYPING_INDICATORS_FOOTER" = "See and share when messages are being typed. This setting is optional and applies to all conversations.";
/* Label for a link to more info about unidentified delivery. */
"SETTINGS_UNIDENTIFIED_DELIVERY_LEARN_MORE" = "Learn More";