From fbbdb6f5f78ac7fbf1c3fb7b3d758ca4a2c195a9 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 18 Jun 2026 12:29:26 +0300 Subject: [PATCH] Fix iOS specific notification sound localizable keys. --- .../Localizations/bg.lproj/SAS.strings | 2 +- .../Localizations/ca.lproj/SAS.strings | 2 +- .../Localizations/cs.lproj/SAS.strings | 2 +- .../Localizations/de.lproj/SAS.strings | 2 +- .../en-US.lproj/Localizable.strings | 74 ++++++++----- .../en.lproj/Localizable.strings | 74 ++++++++----- .../en.lproj/Localizable.stringsdict | 16 +++ .../Localizations/en.lproj/SAS.strings | 2 +- .../Localizations/es.lproj/SAS.strings | 2 +- .../Localizations/et.lproj/SAS.strings | 2 +- .../Localizations/fa.lproj/SAS.strings | 2 +- .../Localizations/fi.lproj/SAS.strings | 2 +- .../Localizations/fr.lproj/SAS.strings | 2 +- .../Localizations/hr.lproj/SAS.strings | 2 +- .../Localizations/hu.lproj/SAS.strings | 2 +- .../Localizations/id.lproj/SAS.strings | 2 +- .../Localizations/it.lproj/SAS.strings | 2 +- .../Localizations/ja.lproj/SAS.strings | 2 +- .../Localizations/nl.lproj/SAS.strings | 2 +- .../Localizations/pt-BR.lproj/SAS.strings | 2 +- .../Localizations/pt.lproj/SAS.strings | 2 +- .../Localizations/ru.lproj/SAS.strings | 2 +- .../Localizations/sk.lproj/SAS.strings | 2 +- .../Localizations/sv.lproj/SAS.strings | 2 +- .../Localizations/uk.lproj/SAS.strings | 2 +- .../Localizations/vi.lproj/SAS.strings | 2 +- .../Localizations/zh-Hans.lproj/SAS.strings | 2 +- ElementX/Sources/Generated/Strings.swift | 102 +++++++++++++----- .../AlertTones/NotificationToneManager.swift | 52 ++++----- 29 files changed, 235 insertions(+), 131 deletions(-) diff --git a/ElementX/Resources/Localizations/bg.lproj/SAS.strings b/ElementX/Resources/Localizations/bg.lproj/SAS.strings index 12e855249..8378349f4 100644 --- a/ElementX/Resources/Localizations/bg.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/bg.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Тромпет"; "turtle" = "Костенурка"; "umbrella" = "Чадър"; -"unicorn" = "Еднорог"; \ No newline at end of file +"unicorn" = "Еднорог"; diff --git a/ElementX/Resources/Localizations/ca.lproj/SAS.strings b/ElementX/Resources/Localizations/ca.lproj/SAS.strings index 32d365336..293ee9e59 100644 --- a/ElementX/Resources/Localizations/ca.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/ca.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompeta"; "turtle" = "Tortuga"; "umbrella" = "Paraigües"; -"unicorn" = "Unicorn"; \ No newline at end of file +"unicorn" = "Unicorn"; diff --git a/ElementX/Resources/Localizations/cs.lproj/SAS.strings b/ElementX/Resources/Localizations/cs.lproj/SAS.strings index 0bb947c9b..211e3900d 100644 --- a/ElementX/Resources/Localizations/cs.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/cs.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trumpeta"; "turtle" = "Želva"; "umbrella" = "Deštník"; -"unicorn" = "Jednorožec"; \ No newline at end of file +"unicorn" = "Jednorožec"; diff --git a/ElementX/Resources/Localizations/de.lproj/SAS.strings b/ElementX/Resources/Localizations/de.lproj/SAS.strings index 482a3ee62..8aff6387f 100644 --- a/ElementX/Resources/Localizations/de.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/de.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompete"; "turtle" = "Schildkröte"; "umbrella" = "Regenschirm"; -"unicorn" = "Einhorn"; \ No newline at end of file +"unicorn" = "Einhorn"; diff --git a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings index e0914e486..0931274a0 100644 --- a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings @@ -216,6 +216,7 @@ "common_blocked_users" = "Blocked users"; "common_bubbles" = "Bubbles"; "common_call_declined" = "Call declined"; +"common_call_in_progress" = "Call in progress"; "common_call_started" = "Call started"; "common_call_you_declined" = "You declined a call"; "common_chat_backup" = "Chat backup"; @@ -258,6 +259,7 @@ "common_forward_message" = "Forward message"; "common_frequently_used" = "Frequently used"; "common_gif" = "GIF"; +"common_group_call_in_progress" = "Group call in progress"; "common_image" = "Image"; "common_in_reply_to" = "In reply to %1$@"; "common_invite_unknown_profile" = "This Matrix ID can't be found, so the invite might not be received."; @@ -373,6 +375,7 @@ "common_unmute" = "Unmute"; "common_unsupported_call" = "Unsupported call"; "common_unsupported_event" = "Unsupported event"; +"common_user_started_a_call" = "%1$@ started a call"; "common_username" = "Username"; "common_verification_cancelled" = "Verification cancelled"; "common_verification_complete" = "Verification complete"; @@ -757,6 +760,23 @@ "screen_create_room_space_selection_sheet_title" = "Add to space"; "screen_create_room_topic_label" = "Topic (optional)"; "screen_create_room_topic_placeholder" = "Add description…"; +"screen_custom_recovery_key_confirm_error_mismatch" = "The recovery key you entered doesn't match"; +"screen_custom_recovery_key_confirm_submit" = "Finish setup"; +"screen_custom_recovery_key_confirm_subtitle" = "Enter your recovery key again."; +"screen_custom_recovery_key_confirm_title" = "Confirm your recovery key"; +"screen_custom_recovery_key_input_strength" = "Strength"; +"screen_custom_recovery_key_input_strength_a11y" = "Passphrase strength: %1$@"; +"screen_custom_recovery_key_input_strength_moderate" = "Moderate"; +"screen_custom_recovery_key_input_strength_strong" = "Strong"; +"screen_custom_recovery_key_input_strength_very_strong" = "Very strong"; +"screen_custom_recovery_key_input_strength_very_weak" = "Very weak"; +"screen_custom_recovery_key_input_strength_weak" = "Weak"; +"screen_custom_recovery_key_input_subtitle" = "Choose a recovery key that you can memorize."; +"screen_custom_recovery_key_input_title" = "Enter a recovery key"; +"screen_custom_recovery_key_loading_a11y" = "Loading recovery key requirements"; +"screen_custom_recovery_key_success_notice" = "To change your recovery key, go to Settings → Encryption → Backup"; +"screen_custom_recovery_key_success_subtitle" = "You can use your recovery key to confirm new devices or restore your encrypted chats if you lose access to all your devices."; +"screen_custom_recovery_key_success_title" = "Your backup is now fully set up"; "screen_deactivate_account_confirmation_dialog_content" = "Please confirm that you want to delete your account. This action cannot be undone."; "screen_deactivate_account_delete_all_messages" = "Delete all my messages"; "screen_deactivate_account_delete_all_messages_notice" = "Warning: Future users may see incomplete conversations."; @@ -1029,33 +1049,33 @@ "screen_notification_settings_sound_set_sound_error_dismiss_a11y" = "Dismiss alert sound error"; "screen_notification_settings_sound_set_sound_error_title" = "Problem setting alert sound"; "screen_notification_settings_sound_silent" = "Silent"; -"screen_notification_settings_sound_system_alert" = "Alert"; -"screen_notification_settings_sound_system_anticipate" = "Anticipate"; -"screen_notification_settings_sound_system_bell" = "Bell"; -"screen_notification_settings_sound_system_bloom" = "Bloom"; -"screen_notification_settings_sound_system_calypso" = "Calypso"; -"screen_notification_settings_sound_system_chime" = "Chime"; -"screen_notification_settings_sound_system_choo_choo" = "Choo Choo"; -"screen_notification_settings_sound_system_default" = "System Default"; -"screen_notification_settings_sound_system_descent" = "Descent"; -"screen_notification_settings_sound_system_electronic" = "Electronic"; -"screen_notification_settings_sound_system_fanfare" = "Fanfare"; -"screen_notification_settings_sound_system_glass" = "Glass"; -"screen_notification_settings_sound_system_horn" = "Horn"; -"screen_notification_settings_sound_system_ladder" = "Ladder"; -"screen_notification_settings_sound_system_minuet" = "Minuet"; -"screen_notification_settings_sound_system_news_flash" = "News Flash"; -"screen_notification_settings_sound_system_noir" = "Noir"; -"screen_notification_settings_sound_system_sherwood_forest" = "Sherwood Forest"; -"screen_notification_settings_sound_system_spell" = "Spell"; -"screen_notification_settings_sound_system_suspense" = "Suspense"; -"screen_notification_settings_sound_system_swish" = "Swish"; -"screen_notification_settings_sound_system_telegraph" = "Telegraph"; -"screen_notification_settings_sound_system_tiptoes" = "Tiptoes"; -"screen_notification_settings_sound_system_tri_tone" = "Tri-tone"; -"screen_notification_settings_sound_system_tweet" = "Tweet"; -"screen_notification_settings_sound_system_typewriters" = "Typewriters"; -"screen_notification_settings_sound_system_update" = "Update"; +"screen_notification_settings_sound_system_alert_ios" = "Alert"; +"screen_notification_settings_sound_system_anticipate_ios" = "Anticipate"; +"screen_notification_settings_sound_system_bell_ios" = "Bell"; +"screen_notification_settings_sound_system_bloom_ios" = "Bloom"; +"screen_notification_settings_sound_system_calypso_ios" = "Calypso"; +"screen_notification_settings_sound_system_chime_ios" = "Chime"; +"screen_notification_settings_sound_system_choo_choo_ios" = "Choo Choo"; +"screen_notification_settings_sound_system_default_ios" = "System Default"; +"screen_notification_settings_sound_system_descent_ios" = "Descent"; +"screen_notification_settings_sound_system_electronic_ios" = "Electronic"; +"screen_notification_settings_sound_system_fanfare_ios" = "Fanfare"; +"screen_notification_settings_sound_system_glass_ios" = "Glass"; +"screen_notification_settings_sound_system_horn_ios" = "Horn"; +"screen_notification_settings_sound_system_ladder_ios" = "Ladder"; +"screen_notification_settings_sound_system_minuet_ios" = "Minuet"; +"screen_notification_settings_sound_system_news_flash_ios" = "News Flash"; +"screen_notification_settings_sound_system_noir_ios" = "Noir"; +"screen_notification_settings_sound_system_sherwood_forest_ios" = "Sherwood Forest"; +"screen_notification_settings_sound_system_spell_ios" = "Spell"; +"screen_notification_settings_sound_system_suspense_ios" = "Suspense"; +"screen_notification_settings_sound_system_swish_ios" = "Swish"; +"screen_notification_settings_sound_system_telegraph_ios" = "Telegraph"; +"screen_notification_settings_sound_system_tiptoes_ios" = "Tiptoes"; +"screen_notification_settings_sound_system_tri_tone_ios" = "Tri-tone"; +"screen_notification_settings_sound_system_tweet_ios" = "Tweet"; +"screen_notification_settings_sound_system_typewriters_ios" = "Typewriters"; +"screen_notification_settings_sound_system_update_ios" = "Update"; "screen_notification_settings_system_notifications_action_required" = "To receive notifications, please change your %1$@."; "screen_notification_settings_system_notifications_action_required_content_link" = "system settings"; "screen_notification_settings_system_notifications_turned_off" = "System notifications turned off"; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index ffbd319e9..393eafa60 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -216,6 +216,7 @@ "common_blocked_users" = "Blocked users"; "common_bubbles" = "Bubbles"; "common_call_declined" = "Call declined"; +"common_call_in_progress" = "Call in progress"; "common_call_started" = "Call started"; "common_call_you_declined" = "You declined a call"; "common_chat_backup" = "Chat backup"; @@ -258,6 +259,7 @@ "common_forward_message" = "Forward message"; "common_frequently_used" = "Frequently used"; "common_gif" = "GIF"; +"common_group_call_in_progress" = "Group call in progress"; "common_image" = "Image"; "common_in_reply_to" = "In reply to %1$@"; "common_invite_unknown_profile" = "This Matrix ID can't be found, so the invite might not be received."; @@ -373,6 +375,7 @@ "common_unmute" = "Unmute"; "common_unsupported_call" = "Unsupported call"; "common_unsupported_event" = "Unsupported event"; +"common_user_started_a_call" = "%1$@ started a call"; "common_username" = "Username"; "common_verification_cancelled" = "Verification cancelled"; "common_verification_complete" = "Verification complete"; @@ -757,6 +760,23 @@ "screen_create_room_space_selection_sheet_title" = "Add to space"; "screen_create_room_topic_label" = "Topic (optional)"; "screen_create_room_topic_placeholder" = "Add description…"; +"screen_custom_recovery_key_confirm_error_mismatch" = "The recovery key you entered doesn't match"; +"screen_custom_recovery_key_confirm_submit" = "Finish setup"; +"screen_custom_recovery_key_confirm_subtitle" = "Enter your recovery key again."; +"screen_custom_recovery_key_confirm_title" = "Confirm your recovery key"; +"screen_custom_recovery_key_input_strength" = "Strength"; +"screen_custom_recovery_key_input_strength_a11y" = "Passphrase strength: %1$@"; +"screen_custom_recovery_key_input_strength_moderate" = "Moderate"; +"screen_custom_recovery_key_input_strength_strong" = "Strong"; +"screen_custom_recovery_key_input_strength_very_strong" = "Very strong"; +"screen_custom_recovery_key_input_strength_very_weak" = "Very weak"; +"screen_custom_recovery_key_input_strength_weak" = "Weak"; +"screen_custom_recovery_key_input_subtitle" = "Choose a recovery key that you can memorize."; +"screen_custom_recovery_key_input_title" = "Enter a recovery key"; +"screen_custom_recovery_key_loading_a11y" = "Loading recovery key requirements"; +"screen_custom_recovery_key_success_notice" = "To change your recovery key, go to Settings → Encryption → Backup"; +"screen_custom_recovery_key_success_subtitle" = "You can use your recovery key to confirm new devices or restore your encrypted chats if you lose access to all your devices."; +"screen_custom_recovery_key_success_title" = "Your backup is now fully set up"; "screen_deactivate_account_confirmation_dialog_content" = "Please confirm that you want to delete your account. This action cannot be undone."; "screen_deactivate_account_delete_all_messages" = "Delete all my messages"; "screen_deactivate_account_delete_all_messages_notice" = "Warning: Future users may see incomplete conversations."; @@ -1029,33 +1049,33 @@ "screen_notification_settings_sound_set_sound_error_dismiss_a11y" = "Dismiss alert sound error"; "screen_notification_settings_sound_set_sound_error_title" = "Problem setting alert sound"; "screen_notification_settings_sound_silent" = "Silent"; -"screen_notification_settings_sound_system_alert" = "Alert"; -"screen_notification_settings_sound_system_anticipate" = "Anticipate"; -"screen_notification_settings_sound_system_bell" = "Bell"; -"screen_notification_settings_sound_system_bloom" = "Bloom"; -"screen_notification_settings_sound_system_calypso" = "Calypso"; -"screen_notification_settings_sound_system_chime" = "Chime"; -"screen_notification_settings_sound_system_choo_choo" = "Choo Choo"; -"screen_notification_settings_sound_system_default" = "System Default"; -"screen_notification_settings_sound_system_descent" = "Descent"; -"screen_notification_settings_sound_system_electronic" = "Electronic"; -"screen_notification_settings_sound_system_fanfare" = "Fanfare"; -"screen_notification_settings_sound_system_glass" = "Glass"; -"screen_notification_settings_sound_system_horn" = "Horn"; -"screen_notification_settings_sound_system_ladder" = "Ladder"; -"screen_notification_settings_sound_system_minuet" = "Minuet"; -"screen_notification_settings_sound_system_news_flash" = "News Flash"; -"screen_notification_settings_sound_system_noir" = "Noir"; -"screen_notification_settings_sound_system_sherwood_forest" = "Sherwood Forest"; -"screen_notification_settings_sound_system_spell" = "Spell"; -"screen_notification_settings_sound_system_suspense" = "Suspense"; -"screen_notification_settings_sound_system_swish" = "Swish"; -"screen_notification_settings_sound_system_telegraph" = "Telegraph"; -"screen_notification_settings_sound_system_tiptoes" = "Tiptoes"; -"screen_notification_settings_sound_system_tri_tone" = "Tri-tone"; -"screen_notification_settings_sound_system_tweet" = "Tweet"; -"screen_notification_settings_sound_system_typewriters" = "Typewriters"; -"screen_notification_settings_sound_system_update" = "Update"; +"screen_notification_settings_sound_system_alert_ios" = "Alert"; +"screen_notification_settings_sound_system_anticipate_ios" = "Anticipate"; +"screen_notification_settings_sound_system_bell_ios" = "Bell"; +"screen_notification_settings_sound_system_bloom_ios" = "Bloom"; +"screen_notification_settings_sound_system_calypso_ios" = "Calypso"; +"screen_notification_settings_sound_system_chime_ios" = "Chime"; +"screen_notification_settings_sound_system_choo_choo_ios" = "Choo Choo"; +"screen_notification_settings_sound_system_default_ios" = "System Default"; +"screen_notification_settings_sound_system_descent_ios" = "Descent"; +"screen_notification_settings_sound_system_electronic_ios" = "Electronic"; +"screen_notification_settings_sound_system_fanfare_ios" = "Fanfare"; +"screen_notification_settings_sound_system_glass_ios" = "Glass"; +"screen_notification_settings_sound_system_horn_ios" = "Horn"; +"screen_notification_settings_sound_system_ladder_ios" = "Ladder"; +"screen_notification_settings_sound_system_minuet_ios" = "Minuet"; +"screen_notification_settings_sound_system_news_flash_ios" = "News Flash"; +"screen_notification_settings_sound_system_noir_ios" = "Noir"; +"screen_notification_settings_sound_system_sherwood_forest_ios" = "Sherwood Forest"; +"screen_notification_settings_sound_system_spell_ios" = "Spell"; +"screen_notification_settings_sound_system_suspense_ios" = "Suspense"; +"screen_notification_settings_sound_system_swish_ios" = "Swish"; +"screen_notification_settings_sound_system_telegraph_ios" = "Telegraph"; +"screen_notification_settings_sound_system_tiptoes_ios" = "Tiptoes"; +"screen_notification_settings_sound_system_tri_tone_ios" = "Tri-tone"; +"screen_notification_settings_sound_system_tweet_ios" = "Tweet"; +"screen_notification_settings_sound_system_typewriters_ios" = "Typewriters"; +"screen_notification_settings_sound_system_update_ios" = "Update"; "screen_notification_settings_system_notifications_action_required" = "To receive notifications, please change your %1$@."; "screen_notification_settings_system_notifications_action_required_content_link" = "system settings"; "screen_notification_settings_system_notifications_turned_off" = "System notifications turned off"; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.stringsdict b/ElementX/Resources/Localizations/en.lproj/Localizable.stringsdict index 7e96f87a6..342a6ab4c 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.stringsdict +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.stringsdict @@ -322,6 +322,22 @@ NSStringLocalizedFormatKey %#@COUNT@ + screen_custom_recovery_key_input_notice + + COUNT + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + d + one + Minimum %1$d character. Do not use your account password + other + Minimum %1$d characters. Do not use your account password + + NSStringLocalizedFormatKey + %#@COUNT@ + screen_image_edition_a11y_rotation_state COUNT diff --git a/ElementX/Resources/Localizations/en.lproj/SAS.strings b/ElementX/Resources/Localizations/en.lproj/SAS.strings index d29ccc232..dcd93cf93 100644 --- a/ElementX/Resources/Localizations/en.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/en.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trumpet"; "turtle" = "Turtle"; "umbrella" = "Umbrella"; -"unicorn" = "Unicorn"; \ No newline at end of file +"unicorn" = "Unicorn"; diff --git a/ElementX/Resources/Localizations/es.lproj/SAS.strings b/ElementX/Resources/Localizations/es.lproj/SAS.strings index 0c7ae9311..ec611edaa 100644 --- a/ElementX/Resources/Localizations/es.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/es.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompeta"; "turtle" = "Tortuga"; "umbrella" = "Paraguas"; -"unicorn" = "Unicornio"; \ No newline at end of file +"unicorn" = "Unicornio"; diff --git a/ElementX/Resources/Localizations/et.lproj/SAS.strings b/ElementX/Resources/Localizations/et.lproj/SAS.strings index 4399d6f2c..c67d5aa10 100644 --- a/ElementX/Resources/Localizations/et.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/et.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompet"; "turtle" = "Kilpkonn"; "umbrella" = "Vihmavari"; -"unicorn" = "Ükssarvik"; \ No newline at end of file +"unicorn" = "Ükssarvik"; diff --git a/ElementX/Resources/Localizations/fa.lproj/SAS.strings b/ElementX/Resources/Localizations/fa.lproj/SAS.strings index 42b46e16d..5dafbf6ef 100644 --- a/ElementX/Resources/Localizations/fa.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/fa.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "شیپور"; "turtle" = "لاک‌پشت"; "umbrella" = "چتر"; -"unicorn" = "تک شاخ"; \ No newline at end of file +"unicorn" = "تک شاخ"; diff --git a/ElementX/Resources/Localizations/fi.lproj/SAS.strings b/ElementX/Resources/Localizations/fi.lproj/SAS.strings index 572c9eaf9..079e3da76 100644 --- a/ElementX/Resources/Localizations/fi.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/fi.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trumpetti"; "turtle" = "Kilpikonna"; "umbrella" = "Sateenvarjo"; -"unicorn" = "Yksisarvinen"; \ No newline at end of file +"unicorn" = "Yksisarvinen"; diff --git a/ElementX/Resources/Localizations/fr.lproj/SAS.strings b/ElementX/Resources/Localizations/fr.lproj/SAS.strings index 47c406118..e6e250e49 100644 --- a/ElementX/Resources/Localizations/fr.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/fr.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompette"; "turtle" = "Tortue"; "umbrella" = "Parapluie"; -"unicorn" = "Licorne"; \ No newline at end of file +"unicorn" = "Licorne"; diff --git a/ElementX/Resources/Localizations/hr.lproj/SAS.strings b/ElementX/Resources/Localizations/hr.lproj/SAS.strings index 2c34b2230..1f43706a1 100644 --- a/ElementX/Resources/Localizations/hr.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/hr.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "truba"; "turtle" = "kornjača"; "umbrella" = "kišobran"; -"unicorn" = "jednorog"; \ No newline at end of file +"unicorn" = "jednorog"; diff --git a/ElementX/Resources/Localizations/hu.lproj/SAS.strings b/ElementX/Resources/Localizations/hu.lproj/SAS.strings index b31544682..c2c66375f 100644 --- a/ElementX/Resources/Localizations/hu.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/hu.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trombita"; "turtle" = "Teknős"; "umbrella" = "Esernyő"; -"unicorn" = "Egyszarvú"; \ No newline at end of file +"unicorn" = "Egyszarvú"; diff --git a/ElementX/Resources/Localizations/id.lproj/SAS.strings b/ElementX/Resources/Localizations/id.lproj/SAS.strings index 537ac679d..44ad1a597 100644 --- a/ElementX/Resources/Localizations/id.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/id.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Terompet"; "turtle" = "Kura-Kura"; "umbrella" = "Payung"; -"unicorn" = "Unicorn"; \ No newline at end of file +"unicorn" = "Unicorn"; diff --git a/ElementX/Resources/Localizations/it.lproj/SAS.strings b/ElementX/Resources/Localizations/it.lproj/SAS.strings index 7352305b9..017f36fce 100644 --- a/ElementX/Resources/Localizations/it.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/it.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trombetta"; "turtle" = "Tartaruga"; "umbrella" = "Ombrello"; -"unicorn" = "Unicorno"; \ No newline at end of file +"unicorn" = "Unicorno"; diff --git a/ElementX/Resources/Localizations/ja.lproj/SAS.strings b/ElementX/Resources/Localizations/ja.lproj/SAS.strings index 361a89ac4..e1e942df2 100644 --- a/ElementX/Resources/Localizations/ja.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/ja.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "トランペット"; "turtle" = "亀"; "umbrella" = "傘"; -"unicorn" = "ユニコーン"; \ No newline at end of file +"unicorn" = "ユニコーン"; diff --git a/ElementX/Resources/Localizations/nl.lproj/SAS.strings b/ElementX/Resources/Localizations/nl.lproj/SAS.strings index 58e130b04..2219ac7a7 100644 --- a/ElementX/Resources/Localizations/nl.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/nl.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompet"; "turtle" = "Schildpad"; "umbrella" = "Paraplu"; -"unicorn" = "Eenhoorn"; \ No newline at end of file +"unicorn" = "Eenhoorn"; diff --git a/ElementX/Resources/Localizations/pt-BR.lproj/SAS.strings b/ElementX/Resources/Localizations/pt-BR.lproj/SAS.strings index 42fd615c5..bd6c6ccb1 100644 --- a/ElementX/Resources/Localizations/pt-BR.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/pt-BR.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trombeta"; "turtle" = "Tartaruga"; "umbrella" = "Guarda-chuva"; -"unicorn" = "Unicórnio"; \ No newline at end of file +"unicorn" = "Unicórnio"; diff --git a/ElementX/Resources/Localizations/pt.lproj/SAS.strings b/ElementX/Resources/Localizations/pt.lproj/SAS.strings index 585ea9e77..dd4f6c019 100644 --- a/ElementX/Resources/Localizations/pt.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/pt.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trompete"; "turtle" = "Tartaruga"; "umbrella" = "Guarda-chuva"; -"unicorn" = "Unicórnio"; \ No newline at end of file +"unicorn" = "Unicórnio"; diff --git a/ElementX/Resources/Localizations/ru.lproj/SAS.strings b/ElementX/Resources/Localizations/ru.lproj/SAS.strings index d6a48b90c..46d98e06f 100644 --- a/ElementX/Resources/Localizations/ru.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/ru.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Труба"; "turtle" = "Черепаха"; "umbrella" = "Зонт"; -"unicorn" = "Единорог"; \ No newline at end of file +"unicorn" = "Единорог"; diff --git a/ElementX/Resources/Localizations/sk.lproj/SAS.strings b/ElementX/Resources/Localizations/sk.lproj/SAS.strings index c708feb42..9becf9f6a 100644 --- a/ElementX/Resources/Localizations/sk.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/sk.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trúbka"; "turtle" = "Korytnačka"; "umbrella" = "Dáždnik"; -"unicorn" = "Jednorožec"; \ No newline at end of file +"unicorn" = "Jednorožec"; diff --git a/ElementX/Resources/Localizations/sv.lproj/SAS.strings b/ElementX/Resources/Localizations/sv.lproj/SAS.strings index b93c73f50..5dd07cdb0 100644 --- a/ElementX/Resources/Localizations/sv.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/sv.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Trumpet"; "turtle" = "Sköldpadda"; "umbrella" = "Paraply"; -"unicorn" = "Enhörning"; \ No newline at end of file +"unicorn" = "Enhörning"; diff --git a/ElementX/Resources/Localizations/uk.lproj/SAS.strings b/ElementX/Resources/Localizations/uk.lproj/SAS.strings index f81aaea9c..f5e31291a 100644 --- a/ElementX/Resources/Localizations/uk.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/uk.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Труба"; "turtle" = "Черепаха"; "umbrella" = "Парасолька"; -"unicorn" = "Єдиноріг"; \ No newline at end of file +"unicorn" = "Єдиноріг"; diff --git a/ElementX/Resources/Localizations/vi.lproj/SAS.strings b/ElementX/Resources/Localizations/vi.lproj/SAS.strings index ed8bf7ef4..9024e4ac7 100644 --- a/ElementX/Resources/Localizations/vi.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/vi.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "Kèn"; "turtle" = "Rùa"; "umbrella" = "Cái ô"; -"unicorn" = "Kỳ lân"; \ No newline at end of file +"unicorn" = "Kỳ lân"; diff --git a/ElementX/Resources/Localizations/zh-Hans.lproj/SAS.strings b/ElementX/Resources/Localizations/zh-Hans.lproj/SAS.strings index 8f59871e7..d9e62c283 100644 --- a/ElementX/Resources/Localizations/zh-Hans.lproj/SAS.strings +++ b/ElementX/Resources/Localizations/zh-Hans.lproj/SAS.strings @@ -61,4 +61,4 @@ "trumpet" = "喇叭"; "turtle" = "乌龟"; "umbrella" = "伞"; -"unicorn" = "独角兽"; \ No newline at end of file +"unicorn" = "独角兽"; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index 4a460ce61..5e03a7f02 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -470,6 +470,8 @@ internal nonisolated enum L10n { internal static var commonBubbles: String { return L10n.tr("Localizable", "common_bubbles") } /// Call declined internal static var commonCallDeclined: String { return L10n.tr("Localizable", "common_call_declined") } + /// Call in progress + internal static var commonCallInProgress: String { return L10n.tr("Localizable", "common_call_in_progress") } /// Call started internal static var commonCallStarted: String { return L10n.tr("Localizable", "common_call_started") } /// You declined a call @@ -560,6 +562,8 @@ internal nonisolated enum L10n { internal static var commonFrequentlyUsed: String { return L10n.tr("Localizable", "common_frequently_used") } /// GIF internal static var commonGif: String { return L10n.tr("Localizable", "common_gif") } + /// Group call in progress + internal static var commonGroupCallInProgress: String { return L10n.tr("Localizable", "common_group_call_in_progress") } /// Image internal static var commonImage: String { return L10n.tr("Localizable", "common_image") } /// In reply to %1$@ @@ -828,6 +832,10 @@ internal nonisolated enum L10n { internal static var commonUnsupportedCall: String { return L10n.tr("Localizable", "common_unsupported_call") } /// Unsupported event internal static var commonUnsupportedEvent: String { return L10n.tr("Localizable", "common_unsupported_event") } + /// %1$@ started a call + internal static func commonUserStartedACall(_ p1: Any) -> String { + return L10n.tr("Localizable", "common_user_started_a_call", String(describing: p1)) + } /// Username internal static var commonUsername: String { return L10n.tr("Localizable", "common_username") } /// Verification cancelled @@ -1770,6 +1778,46 @@ internal nonisolated enum L10n { internal static var screenCreateRoomTopicLabel: String { return L10n.tr("Localizable", "screen_create_room_topic_label") } /// Add description… internal static var screenCreateRoomTopicPlaceholder: String { return L10n.tr("Localizable", "screen_create_room_topic_placeholder") } + /// The recovery key you entered doesn't match + internal static var screenCustomRecoveryKeyConfirmErrorMismatch: String { return L10n.tr("Localizable", "screen_custom_recovery_key_confirm_error_mismatch") } + /// Finish setup + internal static var screenCustomRecoveryKeyConfirmSubmit: String { return L10n.tr("Localizable", "screen_custom_recovery_key_confirm_submit") } + /// Enter your recovery key again. + internal static var screenCustomRecoveryKeyConfirmSubtitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_confirm_subtitle") } + /// Confirm your recovery key + internal static var screenCustomRecoveryKeyConfirmTitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_confirm_title") } + /// Plural format key: "%#@COUNT@" + internal static func screenCustomRecoveryKeyInputNotice(_ p1: Int) -> String { + return L10n.tr("Localizable", "screen_custom_recovery_key_input_notice", p1) + } + /// Strength + internal static var screenCustomRecoveryKeyInputStrength: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength") } + /// Passphrase strength: %1$@ + internal static func screenCustomRecoveryKeyInputStrengthA11y(_ p1: Any) -> String { + return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_a11y", String(describing: p1)) + } + /// Moderate + internal static var screenCustomRecoveryKeyInputStrengthModerate: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_moderate") } + /// Strong + internal static var screenCustomRecoveryKeyInputStrengthStrong: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_strong") } + /// Very strong + internal static var screenCustomRecoveryKeyInputStrengthVeryStrong: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_very_strong") } + /// Very weak + internal static var screenCustomRecoveryKeyInputStrengthVeryWeak: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_very_weak") } + /// Weak + internal static var screenCustomRecoveryKeyInputStrengthWeak: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_strength_weak") } + /// Choose a recovery key that you can memorize. + internal static var screenCustomRecoveryKeyInputSubtitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_subtitle") } + /// Enter a recovery key + internal static var screenCustomRecoveryKeyInputTitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_input_title") } + /// Loading recovery key requirements + internal static var screenCustomRecoveryKeyLoadingA11y: String { return L10n.tr("Localizable", "screen_custom_recovery_key_loading_a11y") } + /// To change your recovery key, go to Settings → Encryption → Backup + internal static var screenCustomRecoveryKeySuccessNotice: String { return L10n.tr("Localizable", "screen_custom_recovery_key_success_notice") } + /// You can use your recovery key to confirm new devices or restore your encrypted chats if you lose access to all your devices. + internal static var screenCustomRecoveryKeySuccessSubtitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_success_subtitle") } + /// Your backup is now fully set up + internal static var screenCustomRecoveryKeySuccessTitle: String { return L10n.tr("Localizable", "screen_custom_recovery_key_success_title") } /// Please confirm that you want to delete your account. This action cannot be undone. internal static var screenDeactivateAccountConfirmationDialogContent: String { return L10n.tr("Localizable", "screen_deactivate_account_confirmation_dialog_content") } /// Delete all my messages @@ -2389,59 +2437,59 @@ internal nonisolated enum L10n { /// Silent internal static var screenNotificationSettingsSoundSilent: String { return L10n.tr("Localizable", "screen_notification_settings_sound_silent") } /// Alert - internal static var screenNotificationSettingsSoundSystemAlert: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_alert") } + internal static var screenNotificationSettingsSoundSystemAlertIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_alert_ios") } /// Anticipate - internal static var screenNotificationSettingsSoundSystemAnticipate: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_anticipate") } + internal static var screenNotificationSettingsSoundSystemAnticipateIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_anticipate_ios") } /// Bell - internal static var screenNotificationSettingsSoundSystemBell: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_bell") } + internal static var screenNotificationSettingsSoundSystemBellIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_bell_ios") } /// Bloom - internal static var screenNotificationSettingsSoundSystemBloom: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_bloom") } + internal static var screenNotificationSettingsSoundSystemBloomIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_bloom_ios") } /// Calypso - internal static var screenNotificationSettingsSoundSystemCalypso: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_calypso") } + internal static var screenNotificationSettingsSoundSystemCalypsoIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_calypso_ios") } /// Chime - internal static var screenNotificationSettingsSoundSystemChime: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_chime") } + internal static var screenNotificationSettingsSoundSystemChimeIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_chime_ios") } /// Choo Choo - internal static var screenNotificationSettingsSoundSystemChooChoo: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_choo_choo") } + internal static var screenNotificationSettingsSoundSystemChooChooIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_choo_choo_ios") } /// System Default - internal static var screenNotificationSettingsSoundSystemDefault: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_default") } + internal static var screenNotificationSettingsSoundSystemDefaultIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_default_ios") } /// Descent - internal static var screenNotificationSettingsSoundSystemDescent: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_descent") } + internal static var screenNotificationSettingsSoundSystemDescentIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_descent_ios") } /// Electronic - internal static var screenNotificationSettingsSoundSystemElectronic: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_electronic") } + internal static var screenNotificationSettingsSoundSystemElectronicIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_electronic_ios") } /// Fanfare - internal static var screenNotificationSettingsSoundSystemFanfare: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_fanfare") } + internal static var screenNotificationSettingsSoundSystemFanfareIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_fanfare_ios") } /// Glass - internal static var screenNotificationSettingsSoundSystemGlass: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_glass") } + internal static var screenNotificationSettingsSoundSystemGlassIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_glass_ios") } /// Horn - internal static var screenNotificationSettingsSoundSystemHorn: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_horn") } + internal static var screenNotificationSettingsSoundSystemHornIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_horn_ios") } /// Ladder - internal static var screenNotificationSettingsSoundSystemLadder: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_ladder") } + internal static var screenNotificationSettingsSoundSystemLadderIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_ladder_ios") } /// Minuet - internal static var screenNotificationSettingsSoundSystemMinuet: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_minuet") } + internal static var screenNotificationSettingsSoundSystemMinuetIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_minuet_ios") } /// News Flash - internal static var screenNotificationSettingsSoundSystemNewsFlash: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_news_flash") } + internal static var screenNotificationSettingsSoundSystemNewsFlashIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_news_flash_ios") } /// Noir - internal static var screenNotificationSettingsSoundSystemNoir: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_noir") } + internal static var screenNotificationSettingsSoundSystemNoirIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_noir_ios") } /// Sherwood Forest - internal static var screenNotificationSettingsSoundSystemSherwoodForest: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_sherwood_forest") } + internal static var screenNotificationSettingsSoundSystemSherwoodForestIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_sherwood_forest_ios") } /// Spell - internal static var screenNotificationSettingsSoundSystemSpell: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_spell") } + internal static var screenNotificationSettingsSoundSystemSpellIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_spell_ios") } /// Suspense - internal static var screenNotificationSettingsSoundSystemSuspense: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_suspense") } + internal static var screenNotificationSettingsSoundSystemSuspenseIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_suspense_ios") } /// Swish - internal static var screenNotificationSettingsSoundSystemSwish: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_swish") } + internal static var screenNotificationSettingsSoundSystemSwishIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_swish_ios") } /// Telegraph - internal static var screenNotificationSettingsSoundSystemTelegraph: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_telegraph") } + internal static var screenNotificationSettingsSoundSystemTelegraphIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_telegraph_ios") } /// Tiptoes - internal static var screenNotificationSettingsSoundSystemTiptoes: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tiptoes") } + internal static var screenNotificationSettingsSoundSystemTiptoesIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tiptoes_ios") } /// Tri-tone - internal static var screenNotificationSettingsSoundSystemTriTone: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tri_tone") } + internal static var screenNotificationSettingsSoundSystemTriToneIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tri_tone_ios") } /// Tweet - internal static var screenNotificationSettingsSoundSystemTweet: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tweet") } + internal static var screenNotificationSettingsSoundSystemTweetIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_tweet_ios") } /// Typewriters - internal static var screenNotificationSettingsSoundSystemTypewriters: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_typewriters") } + internal static var screenNotificationSettingsSoundSystemTypewritersIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_typewriters_ios") } /// Update - internal static var screenNotificationSettingsSoundSystemUpdate: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_update") } + internal static var screenNotificationSettingsSoundSystemUpdateIos: String { return L10n.tr("Localizable", "screen_notification_settings_sound_system_update_ios") } /// To receive notifications, please change your %1$@. internal static func screenNotificationSettingsSystemNotificationsActionRequired(_ p1: Any) -> String { return L10n.tr("Localizable", "screen_notification_settings_system_notifications_action_required", String(describing: p1)) diff --git a/ElementX/Sources/Services/AlertTones/NotificationToneManager.swift b/ElementX/Sources/Services/AlertTones/NotificationToneManager.swift index 90386146d..5e464b898 100644 --- a/ElementX/Sources/Services/AlertTones/NotificationToneManager.swift +++ b/ElementX/Sources/Services/AlertTones/NotificationToneManager.swift @@ -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