Fix localization

This commit is contained in:
Ilya Laktyushin 2021-11-02 22:57:58 +04:00
parent 74aff6fb6d
commit a3f2003c45
2 changed files with 3 additions and 1 deletions

View File

@ -6992,6 +6992,8 @@ Sorry for the inconvenience.";
"Notifications.DeleteAllExceptions" = "Delete All Exceptions";
"Notifications.Options" = "Options";
"Notifications.On" = "On";
"Notifications.Off" = "Off";

View File

@ -266,7 +266,7 @@ private func notificationsPeerCategoryEntries(category: NotificationsPeerCategor
entries.append(.enable(presentationData.theme, presentationData.strings.Notifications_MessageNotificationsAlert, notificationSettings.enabled))
if notificationSettings.enabled || !notificationExceptions.isEmpty {
entries.append(.optionsHeader(presentationData.theme, presentationData.strings.Notifications_MessageNotifications.uppercased()))
entries.append(.optionsHeader(presentationData.theme, presentationData.strings.Notifications_Options.uppercased()))
entries.append(.previews(presentationData.theme, presentationData.strings.Notifications_MessageNotificationsPreview, notificationSettings.displayPreviews))
entries.append(.sound(presentationData.theme, presentationData.strings.Notifications_MessageNotificationsSound, localizedPeerNotificationSoundString(strings: presentationData.strings, sound: filteredGlobalSound(notificationSettings.sound)), filteredGlobalSound(notificationSettings.sound)))
}