mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
MESSENGER-3304 string in separate files
This commit is contained in:
@@ -2554,7 +2554,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
}
|
||||
else
|
||||
{
|
||||
directoryToggleCell.mxkLabel.text = [VectorL10n roomDetailsAccessSectionDirectoryToggle];
|
||||
directoryToggleCell.mxkLabel.text = [BWIL10n roomDetailsAccessSectionDirectoryToggle];
|
||||
}
|
||||
|
||||
[directoryToggleCell.mxkSwitch addTarget:self action:@selector(toggleDirectoryVisibility:) forControlEvents:UIControlEventValueChanged];
|
||||
@@ -2666,7 +2666,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
}
|
||||
else
|
||||
{
|
||||
directoryToggleCell.mxkLabel.text = [VectorL10n roomDetailsAccessSectionDirectoryToggle];
|
||||
directoryToggleCell.mxkLabel.text = [BWIL10n roomDetailsAccessSectionDirectoryToggle];
|
||||
}
|
||||
|
||||
[directoryToggleCell.mxkSwitch addTarget:self action:@selector(toggleDirectoryVisibility:) forControlEvents:UIControlEventValueChanged];
|
||||
@@ -3358,7 +3358,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
}]];
|
||||
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n continue]
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n continue]
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * action) {
|
||||
|
||||
@@ -3446,7 +3446,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
}]];
|
||||
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[VectorL10n continue]
|
||||
[currentAlert addAction:[UIAlertAction actionWithTitle:[BWIL10n continue]
|
||||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * action) {
|
||||
|
||||
@@ -4117,9 +4117,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
- (UITableViewCell*) cellForAccessSwitch:(UITableView*)tableView indexPath:(NSIndexPath*)indexPath {
|
||||
MXKTableViewCellWithLabelAndSwitch *roomAccessToggleCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
|
||||
|
||||
roomAccessToggleCell.mxkLabel.text = NSLocalizedStringFromTable(@"room_details_access_section_access_toggle_bw", @"Vector", nil);
|
||||
|
||||
[roomAccessToggleCell.mxkSwitch addTarget:self action:@selector(toggleDirectoryAccessBW:) forControlEvents:UIControlEventValueChanged];
|
||||
roomAccessToggleCell.mxkLabel.text = [BWIL10n roomDetailsAccessSectionAccessToggleBw];
|
||||
|
||||
if (updatedItemsDict[kRoomSettingsDirectoryKey])
|
||||
{
|
||||
@@ -4148,7 +4146,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
[toggleCell.mxkSwitch addTarget:self action:@selector(toggleNotificationTimes:) forControlEvents:UIControlEventValueChanged];
|
||||
|
||||
toggleCell.mxkLabel.text = NSLocalizedStringFromTable(@"settings_enable_notification_times", @"Vector", nil);
|
||||
toggleCell.mxkLabel.text = BWIL10n.settingsEnableNotificationTimes;
|
||||
toggleCell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
|
||||
toggleCell.mxkSwitch.on = [self isNotificationTimesSwitchOn];
|
||||
toggleCell.mxkSwitch.enabled = [self isNotificationTimesSwitchEnabled];
|
||||
@@ -4167,7 +4165,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
notificationTimesInfoCell.textLabel.font = [UIFont systemFontOfSize:15.0];
|
||||
notificationTimesInfoCell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
notificationTimesInfoCell.userInteractionEnabled = NO;
|
||||
notificationTimesInfoCell.textLabel.text = NSLocalizedStringFromTable(@"bwi_notification_times_toggle_description", @"Bwi", @"");
|
||||
notificationTimesInfoCell.textLabel.text = BWIL10n.bwiNotificationTimesToggleDescription;
|
||||
notificationTimesInfoCell.textLabel.numberOfLines = 0;
|
||||
|
||||
return notificationTimesInfoCell;
|
||||
|
||||
Reference in New Issue
Block a user