CR: Add translation comment

// FREEBIE
This commit is contained in:
Michael Kirk 2018-02-27 15:18:40 -05:00
parent cf6dfe08bb
commit 37fdd407d4
2 changed files with 6 additions and 2 deletions

View File

@ -53,7 +53,11 @@
OWSSoundSettingsViewController *vc = [OWSSoundSettingsViewController new];
[weakSelf.navigationController pushViewController:vc animated:YES];
}]];
[soundsSection addItem:[OWSTableItem switchItemWithText:NSLocalizedString(@"NOTIFICATIONS_SECTION_INAPP", nil)
NSString *inAppSoundsLabelText = NSLocalizedString(@"NOTIFICATIONS_SECTION_INAPP",
@"Table cell switch label. When disabled, Signal will not play notification sounds while the app is in the "
@"foreground.");
[soundsSection addItem:[OWSTableItem switchItemWithText:inAppSoundsLabelText
isOn:[prefs soundInForeground]
target:weakSelf
selector:@selector(didToggleSoundNotificationsSwitch:)]];

View File

@ -1149,7 +1149,7 @@
/* No comment provided by engineer. */
"NOTIFICATIONS_NONE" = "No Name or Content";
/* No comment provided by engineer. */
/* Table cell switch label. When disabled, Signal will not play notification sounds while the app is in the foreground. */
"NOTIFICATIONS_SECTION_INAPP" = "Play While App is Open";
/* Label for settings UI that allows user to change the notification sound. */