mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Remove MatrixKitL10n from SwiftGen
Uses VectorL10n everywhere.
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
MXRoom *room = [_mxSession roomWithRoomId:mxPushRule.ruleId];
|
||||
if (room)
|
||||
{
|
||||
description = [MatrixKitL10n notificationSettingsRoomRuleTitle:room.summary.displayname];
|
||||
description = [VectorL10n notificationSettingsRoomRuleTitle:room.summary.displayname];
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -115,20 +115,20 @@
|
||||
{
|
||||
if (ruleAction.actionType == MXPushRuleActionTypeDontNotify)
|
||||
{
|
||||
notify = [MatrixKitL10n notificationSettingsNeverNotify];
|
||||
notify = [VectorL10n notificationSettingsNeverNotify];
|
||||
sound = @"";
|
||||
highlight = @"";
|
||||
break;
|
||||
}
|
||||
else if (ruleAction.actionType == MXPushRuleActionTypeNotify || ruleAction.actionType == MXPushRuleActionTypeCoalesce)
|
||||
{
|
||||
notify = [MatrixKitL10n notificationSettingsAlwaysNotify];
|
||||
notify = [VectorL10n notificationSettingsAlwaysNotify];
|
||||
}
|
||||
else if (ruleAction.actionType == MXPushRuleActionTypeSetTweak)
|
||||
{
|
||||
if ([ruleAction.parameters[@"set_tweak"] isEqualToString:@"sound"])
|
||||
{
|
||||
sound = [NSString stringWithFormat:@", %@", [MatrixKitL10n notificationSettingsCustomSound]];
|
||||
sound = [NSString stringWithFormat:@", %@", [VectorL10n notificationSettingsCustomSound]];
|
||||
}
|
||||
else if ([ruleAction.parameters[@"set_tweak"] isEqualToString:@"highlight"])
|
||||
{
|
||||
@@ -136,7 +136,7 @@
|
||||
// If not present, highlight. Else check its value before highlighting
|
||||
if (nil == ruleAction.parameters[@"value"] || YES == [ruleAction.parameters[@"value"] boolValue])
|
||||
{
|
||||
highlight = [NSString stringWithFormat:@", %@", [MatrixKitL10n notificationSettingsHighlight]];
|
||||
highlight = [NSString stringWithFormat:@", %@", [VectorL10n notificationSettingsHighlight]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user