mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix iOS specific notification sound localizable keys.
This commit is contained in:
@@ -176,74 +176,74 @@ nonisolated struct NotificationToneManager: NotificationToneManagerProtocol {
|
||||
|
||||
/// Pre-defined iOS system tones available for selection, sorted by name.
|
||||
private static let defaultSystemAlerts: [NotificationTone] = [
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTriTone,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTriToneIos,
|
||||
filename: "sms-received1.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemChime,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemChimeIos,
|
||||
filename: "sms-received2.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemGlass,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemGlassIos,
|
||||
filename: "sms-received3.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemHorn,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemHornIos,
|
||||
filename: "sms-received4.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemBell,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemBellIos,
|
||||
filename: "sms-received5.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemElectronic,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemElectronicIos,
|
||||
filename: "sms-received6.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemAlert,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemAlertIos,
|
||||
filename: "alarm.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemBloom,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemBloomIos,
|
||||
filename: "Bloom.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemCalypso,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemCalypsoIos,
|
||||
filename: "Calypso.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemAnticipate,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemAnticipateIos,
|
||||
filename: "Anticipate.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemChooChoo,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemChooChooIos,
|
||||
filename: "Choo_Choo.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemDescent,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemDescentIos,
|
||||
filename: "Descent.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemFanfare,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemFanfareIos,
|
||||
filename: "Fanfare.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemLadder,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemLadderIos,
|
||||
filename: "Ladder.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemMinuet,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemMinuetIos,
|
||||
filename: "Minuet.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemNewsFlash,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemNewsFlashIos,
|
||||
filename: "News_Flash.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemNoir,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemNoirIos,
|
||||
filename: "Noir.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSherwoodForest,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSherwoodForestIos,
|
||||
filename: "Sherwood_Forest.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSpell,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSpellIos,
|
||||
filename: "Spell.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSuspense,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSuspenseIos,
|
||||
filename: "Suspense.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTelegraph,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTelegraphIos,
|
||||
filename: "Telegraph.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTiptoes,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTiptoesIos,
|
||||
filename: "Tiptoes.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTypewriters,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTypewritersIos,
|
||||
filename: "Typewriters.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemUpdate,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemUpdateIos,
|
||||
filename: "Update.caf",
|
||||
systemSoundsSubdirectory: ["New"]),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSwish,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemSwishIos,
|
||||
filename: "Swish.caf"),
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTweet,
|
||||
.createSystemSound(label: L10n.screenNotificationSettingsSoundSystemTweetIos,
|
||||
filename: "tweet_sent.caf")
|
||||
]
|
||||
.compactMap { (alertTone: NotificationTone) -> NotificationTone? in
|
||||
|
||||
Reference in New Issue
Block a user