From 8823b2884a815736f19cb5dd9a667ccfdb1f5071 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 5 Apr 2017 21:58:51 -0400 Subject: [PATCH] =?UTF-8?q?Refine=20the=20=E2=80=9Cblock=20list=E2=80=9D?= =?UTF-8?q?=20view.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit // FREEBIE --- Signal/src/ViewControllers/BlockListViewController.m | 5 ++--- Signal/translations/en.lproj/Localizable.strings | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Signal/src/ViewControllers/BlockListViewController.m b/Signal/src/ViewControllers/BlockListViewController.m index 538da8d44..f9e6b10d0 100644 --- a/Signal/src/ViewControllers/BlockListViewController.m +++ b/Signal/src/ViewControllers/BlockListViewController.m @@ -96,12 +96,11 @@ typedef NS_ENUM(NSInteger, BlockListViewControllerSection) { } } -- (nullable NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section +- (nullable NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section { switch (section) { case BlockListViewControllerSection_Add: - return NSLocalizedString( - @"SETTINGS_BLOCK_LIST_HEADER_TITLE", @"A header title for the block list table."); + return NSLocalizedString(@"SETTINGS_BLOCK_LIST_FOOTER_TITLE", @"A footer title for the block list table."); default: return nil; } diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index ff5238d7e..7dc4c8395 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -313,8 +313,8 @@ /* Error mesage indicating that message send is disabled due to prekey update failures */ "ERROR_DESCRIPTION_MESSAGE_SEND_DISABLED_PREKEY_UPDATE_FAILURES" = "Unable to send due to stale privacy data."; -/* Error mesage indicating that message send failed due to block list */ -"ERROR_DESCRIPTION_MESSAGE_SEND_FAILED_DUE_TO_BLOCK_LIST" = "Failed to send message because you have blocked the user."; +/* Error mesage indicating that message send failed due to blocklist */ +"ERROR_DESCRIPTION_MESSAGE_SEND_FAILED_DUE_TO_BLOCKLIST" = "ERROR_DESCRIPTION_MESSAGE_SEND_FAILED_DUE_TO_BLOCKLIST"; /* Generic error used whenver Signal can't contact the server */ "ERROR_DESCRIPTION_NO_INTERNET" = "Signal was unable to connect to the internet. Please try from another WiFi network or use mobile data."; @@ -866,10 +866,10 @@ "SETTINGS_ADVANCED_TITLE" = "Advanced"; /* A label for the 'add phone number' button in the block list table. */ -"SETTINGS_BLOCK_LIST_ADD_BUTTON" = "Add Phone Number"; +"SETTINGS_BLOCK_LIST_ADD_BUTTON" = "Add…"; -/* A header title for the block list table. */ -"SETTINGS_BLOCK_LIST_HEADER_TITLE" = "Blocked Phone Numbers"; +/* A footer title for the block list table. */ +"SETTINGS_BLOCK_LIST_FOOTER_TITLE" = "Blocked users will not be able to call you or send you messages."; /* A label that indicates the user has no Signal contacts. */ "SETTINGS_BLOCK_LIST_NO_CONTACTS" = "You have no contacts on Signal.";