mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Rename Sign Out to Remove Device + Update SDK 26.03.18 (#5280)
* update the sdk * updated preview tests # Conflicts: # ElementX/Sources/Screens/Timeline/View/Style/TimelineItemSendInfoLabel.swift # ElementX/Sources/Screens/Timeline/View/TimelineItemViews/LiveLocationRoomTimelineView.swift * update sdk to 26.03.18 + regenerated preview tests after sign out copy change * updated UI tests * pr suggestions
This commit is contained in:
@@ -154,14 +154,15 @@
|
||||
"action_share_live_location" = "Share live location";
|
||||
"action_show" = "Show";
|
||||
"action_sign_in_again" = "Sign in again";
|
||||
"action_signout" = "Sign out";
|
||||
"action_signout_anyway" = "Sign out anyway";
|
||||
"action_signout" = "Remove this device";
|
||||
"action_signout_anyway" = "Remove this device anyway";
|
||||
"action_skip" = "Skip";
|
||||
"action_start" = "Start";
|
||||
"action_start_chat" = "Start chat";
|
||||
"action_start_over" = "Start over";
|
||||
"action_start_verification" = "Start verification";
|
||||
"action_static_map_load" = "Tap to load map";
|
||||
"action_stop" = "Stop";
|
||||
"action_take_photo" = "Take photo";
|
||||
"action_tap_for_options" = "Tap for options";
|
||||
"action_translate" = "Translate";
|
||||
@@ -190,6 +191,7 @@
|
||||
"common_advanced_settings" = "Advanced settings";
|
||||
"common_an_image" = "an image";
|
||||
"common_analytics" = "Analytics";
|
||||
"common_android_fetching_notifications_title" = "Syncing notifications...";
|
||||
"common_android_shortcuts_remove_reason_session_logged_out" = "You were logged out of the session";
|
||||
"common_appearance" = "Appearance";
|
||||
"common_audio" = "Audio";
|
||||
@@ -224,6 +226,7 @@
|
||||
"common_empty_file" = "Empty file";
|
||||
"common_encryption" = "Encryption";
|
||||
"common_encryption_enabled" = "Encryption enabled";
|
||||
"common_ends_in_time_ios" = "Ends %1$@";
|
||||
"common_enter_your_pin" = "Enter your PIN";
|
||||
"common_error" = "Error";
|
||||
"common_everyone" = "Everyone";
|
||||
@@ -246,6 +249,8 @@
|
||||
"common_line_copied_to_clipboard" = "Line copied to clipboard";
|
||||
"common_link_copied_to_clipboard" = "Link copied to clipboard";
|
||||
"common_link_new_device" = "Link new device";
|
||||
"common_live_location" = "Live location";
|
||||
"common_live_location_ended" = "Live location ended";
|
||||
"common_loading" = "Loading…";
|
||||
"common_loading_more" = "Loading more…";
|
||||
"common_message" = "Message";
|
||||
@@ -319,9 +324,10 @@
|
||||
"common_settings" = "Settings";
|
||||
"common_share_space" = "Share space";
|
||||
"common_shared_history" = "New members see history";
|
||||
"common_shared_live_location" = "Shared live location";
|
||||
"common_shared_location" = "Shared location";
|
||||
"common_shared_space" = "Shared space";
|
||||
"common_signing_out" = "Signing out";
|
||||
"common_signing_out" = "Removing device";
|
||||
"common_something_went_wrong" = "Something went wrong";
|
||||
"common_something_went_wrong_message" = "We encountered an issue. Please try again.";
|
||||
"common_space" = "Space";
|
||||
@@ -366,6 +372,7 @@
|
||||
"common_voice_message" = "Voice message";
|
||||
"common_waiting" = "Waiting…";
|
||||
"common_waiting_for_decryption_key" = "Waiting for this message";
|
||||
"common_waiting_live_location" = "Waiting for live location…";
|
||||
"common_world_readable_history" = "Anyone can see history";
|
||||
"common_you" = "You";
|
||||
"common_unable_to_decrypt_insecure_device" = "Sent from an insecure device";
|
||||
@@ -826,7 +833,7 @@
|
||||
"screen_app_lock_setup_pin_mismatch_dialog_content" = "Please enter the same PIN twice";
|
||||
"screen_app_lock_setup_pin_mismatch_dialog_title" = "PINs don't match";
|
||||
"screen_app_lock_signout_alert_message" = "You’ll need to re-login and create a new PIN to proceed";
|
||||
"screen_app_lock_signout_alert_title" = "You are being signed out";
|
||||
"screen_app_lock_signout_alert_title" = "This device is being removed";
|
||||
"screen_blocked_users_empty" = "You have no blocked users";
|
||||
"screen_blocked_users_unblocking" = "Unblocking…";
|
||||
"screen_bug_report_attach_screenshot" = "Attach screenshot";
|
||||
@@ -872,7 +879,7 @@
|
||||
"screen_chat_backup_recovery_action_change" = "Change recovery key";
|
||||
"screen_chat_backup_recovery_action_change_description" = "Your chats are automatically backed up with end-to-end encryption. To restore this backup and retain your digital identity when you lose access to all your devices, you will need your recovery key.";
|
||||
"screen_chat_backup_recovery_action_confirm_description" = "Your key storage is currently out of sync.";
|
||||
"screen_chat_backup_recovery_action_setup_description" = "Get access to your encrypted messages if you lose all your devices or are signed out of %1$@ everywhere.";
|
||||
"screen_chat_backup_recovery_action_setup_description" = "Your chats are automatically backed up with end-to-end encryption. To restore this backup and retain your digital identity when you lose access to all your devices, you will need your recovery key.";
|
||||
"screen_create_new_recovery_key_list_item_1" = "Open %1$@ in a desktop device";
|
||||
"screen_create_new_recovery_key_list_item_2" = "Sign into your account again";
|
||||
"screen_create_new_recovery_key_list_item_3" = "When asked to verify your device, select %1$@";
|
||||
@@ -947,9 +954,9 @@
|
||||
"screen_join_room_subtitle_no_preview" = "You must be a member of this room to view the message history.";
|
||||
"screen_join_room_title_knock" = "Want to join this room?";
|
||||
"screen_join_room_title_no_preview" = "Preview is not available";
|
||||
"screen_key_backup_disable_confirmation_action_turn_off" = "Turn off";
|
||||
"screen_key_backup_disable_confirmation_description" = "You will lose your encrypted messages if you are signed out of all devices.";
|
||||
"screen_key_backup_disable_confirmation_title" = "Are you sure you want to turn off backup?";
|
||||
"screen_key_backup_disable_confirmation_action_turn_off" = "Delete";
|
||||
"screen_key_backup_disable_confirmation_description" = "You will lose your encrypted chat history and need to reset your digital identity if you remove all your devices.";
|
||||
"screen_key_backup_disable_confirmation_title" = "Are you sure you want to delete key storage?";
|
||||
"screen_key_backup_disable_description" = "Deleting key storage will remove your digital identity and message keys from the server and turn off the following security features:";
|
||||
"screen_key_backup_disable_description_point_1" = "You will not have encrypted message history on new devices";
|
||||
"screen_key_backup_disable_description_point_2" = "You will lose access to your encrypted messages if you are signed out of %1$@ everywhere";
|
||||
@@ -1282,16 +1289,17 @@
|
||||
"screen_signed_out_reason_3" = "Your server’s administrator has invalidated your access";
|
||||
"screen_signed_out_subtitle" = "You might have been signed out for one of the reasons listed below. Please sign in again to continue using %@.";
|
||||
"screen_signed_out_title" = "You’re signed out";
|
||||
"screen_signout_confirmation_dialog_content" = "Are you sure you want to sign out?";
|
||||
"screen_signout_in_progress_dialog_content" = "Signing out…";
|
||||
"screen_signout_key_backup_disabled_subtitle" = "You are about to sign out of your last session. If you sign out now, you will lose access to your encrypted messages.";
|
||||
"screen_signout_key_backup_disabled_title" = "You have turned off backup";
|
||||
"screen_signout_key_backup_offline_subtitle" = "Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before signing out.";
|
||||
"screen_signout_key_backup_ongoing_subtitle" = "Please wait for this to complete before signing out.";
|
||||
"screen_signout_confirmation_dialog_content" = "Are you sure you want to remove this device?";
|
||||
"screen_signout_in_progress_dialog_content" = "Removing device…";
|
||||
"screen_signout_key_backup_disabled_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_key_backup_disabled_title" = "You’re about to lose access to your encrypted chats";
|
||||
"screen_signout_key_backup_offline_subtitle" = "Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before you remove this device.";
|
||||
"screen_signout_key_backup_ongoing_subtitle" = "Please wait for this to complete before removing this device.";
|
||||
"screen_signout_key_backup_ongoing_title" = "Your keys are still being backed up";
|
||||
"screen_signout_recovery_disabled_subtitle" = "You are about to sign out of your last session. If you sign out now, you'll lose access to your encrypted messages.";
|
||||
"screen_signout_recovery_disabled_title" = "Recovery not set up";
|
||||
"screen_signout_save_recovery_key_subtitle" = "You are about to sign out of your last session. If you sign out now, you might lose access to your encrypted messages.";
|
||||
"screen_signout_recovery_disabled_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_recovery_disabled_title" = "You’re about to lose access to your encrypted chats";
|
||||
"screen_signout_save_recovery_key_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_save_recovery_key_title" = "Make sure you have access to your recovery key before removing this device";
|
||||
"screen_start_chat_error_starting_chat" = "An error occurred when trying to start a chat";
|
||||
"screen_view_location_title" = "Location";
|
||||
"session_verification_banner_message" = "Looks like you’re using a new device. Verify with another device to access your encrypted messages.";
|
||||
@@ -1551,11 +1559,10 @@
|
||||
"screen_session_verification_request_success_subtitle" = "Now you can read or send messages securely on your other device.";
|
||||
"screen_session_verification_request_success_title" = "Device verified";
|
||||
"screen_session_verification_waiting_other_device_title" = "Start verification on the other device";
|
||||
"screen_signout_confirmation_dialog_submit" = "Sign out";
|
||||
"screen_signout_confirmation_dialog_title" = "Sign out";
|
||||
"screen_signout_confirmation_dialog_submit" = "Remove this device";
|
||||
"screen_signout_confirmation_dialog_title" = "Remove this device";
|
||||
"screen_signout_key_backup_offline_title" = "Your keys are still being backed up";
|
||||
"screen_signout_preference_item" = "Sign out";
|
||||
"screen_signout_save_recovery_key_title" = "Have you saved your recovery key?";
|
||||
"screen_signout_preference_item" = "Remove this device";
|
||||
"timeline_decryption_failure_historical_event_user_not_joined" = "You don't have access to this message";
|
||||
"troubleshoot_notifications_test_blocked_users_title" = "Blocked users";
|
||||
"troubleshoot_notifications_entry_point_push_history_title" = "Push history";
|
||||
|
||||
@@ -154,14 +154,15 @@
|
||||
"action_share_live_location" = "Share live location";
|
||||
"action_show" = "Show";
|
||||
"action_sign_in_again" = "Sign in again";
|
||||
"action_signout" = "Sign out";
|
||||
"action_signout_anyway" = "Sign out anyway";
|
||||
"action_signout" = "Remove this device";
|
||||
"action_signout_anyway" = "Remove this device anyway";
|
||||
"action_skip" = "Skip";
|
||||
"action_start" = "Start";
|
||||
"action_start_chat" = "Start chat";
|
||||
"action_start_over" = "Start over";
|
||||
"action_start_verification" = "Start verification";
|
||||
"action_static_map_load" = "Tap to load map";
|
||||
"action_stop" = "Stop";
|
||||
"action_take_photo" = "Take photo";
|
||||
"action_tap_for_options" = "Tap for options";
|
||||
"action_translate" = "Translate";
|
||||
@@ -190,6 +191,7 @@
|
||||
"common_advanced_settings" = "Advanced settings";
|
||||
"common_an_image" = "an image";
|
||||
"common_analytics" = "Analytics";
|
||||
"common_android_fetching_notifications_title" = "Syncing notifications...";
|
||||
"common_android_shortcuts_remove_reason_session_logged_out" = "You were logged out of the session";
|
||||
"common_appearance" = "Appearance";
|
||||
"common_audio" = "Audio";
|
||||
@@ -224,6 +226,7 @@
|
||||
"common_empty_file" = "Empty file";
|
||||
"common_encryption" = "Encryption";
|
||||
"common_encryption_enabled" = "Encryption enabled";
|
||||
"common_ends_in_time_ios" = "Ends %1$@";
|
||||
"common_enter_your_pin" = "Enter your PIN";
|
||||
"common_error" = "Error";
|
||||
"common_everyone" = "Everyone";
|
||||
@@ -246,6 +249,8 @@
|
||||
"common_line_copied_to_clipboard" = "Line copied to clipboard";
|
||||
"common_link_copied_to_clipboard" = "Link copied to clipboard";
|
||||
"common_link_new_device" = "Link new device";
|
||||
"common_live_location" = "Live location";
|
||||
"common_live_location_ended" = "Live location ended";
|
||||
"common_loading" = "Loading…";
|
||||
"common_loading_more" = "Loading more…";
|
||||
"common_message" = "Message";
|
||||
@@ -319,9 +324,10 @@
|
||||
"common_settings" = "Settings";
|
||||
"common_share_space" = "Share space";
|
||||
"common_shared_history" = "New members see history";
|
||||
"common_shared_live_location" = "Shared live location";
|
||||
"common_shared_location" = "Shared location";
|
||||
"common_shared_space" = "Shared space";
|
||||
"common_signing_out" = "Signing out";
|
||||
"common_signing_out" = "Removing device";
|
||||
"common_something_went_wrong" = "Something went wrong";
|
||||
"common_something_went_wrong_message" = "We encountered an issue. Please try again.";
|
||||
"common_space" = "Space";
|
||||
@@ -366,6 +372,7 @@
|
||||
"common_voice_message" = "Voice message";
|
||||
"common_waiting" = "Waiting…";
|
||||
"common_waiting_for_decryption_key" = "Waiting for this message";
|
||||
"common_waiting_live_location" = "Waiting for live location…";
|
||||
"common_world_readable_history" = "Anyone can see history";
|
||||
"common_you" = "You";
|
||||
"common_unable_to_decrypt_insecure_device" = "Sent from an insecure device";
|
||||
@@ -826,7 +833,7 @@
|
||||
"screen_app_lock_setup_pin_mismatch_dialog_content" = "Please enter the same PIN twice";
|
||||
"screen_app_lock_setup_pin_mismatch_dialog_title" = "PINs don't match";
|
||||
"screen_app_lock_signout_alert_message" = "You’ll need to re-login and create a new PIN to proceed";
|
||||
"screen_app_lock_signout_alert_title" = "You are being signed out";
|
||||
"screen_app_lock_signout_alert_title" = "This device is being removed";
|
||||
"screen_blocked_users_empty" = "You have no blocked users";
|
||||
"screen_blocked_users_unblocking" = "Unblocking…";
|
||||
"screen_bug_report_attach_screenshot" = "Attach screenshot";
|
||||
@@ -872,7 +879,7 @@
|
||||
"screen_chat_backup_recovery_action_change" = "Change recovery key";
|
||||
"screen_chat_backup_recovery_action_change_description" = "Your chats are automatically backed up with end-to-end encryption. To restore this backup and retain your digital identity when you lose access to all your devices, you will need your recovery key.";
|
||||
"screen_chat_backup_recovery_action_confirm_description" = "Your key storage is currently out of sync.";
|
||||
"screen_chat_backup_recovery_action_setup_description" = "Get access to your encrypted messages if you lose all your devices or are signed out of %1$@ everywhere.";
|
||||
"screen_chat_backup_recovery_action_setup_description" = "Your chats are automatically backed up with end-to-end encryption. To restore this backup and retain your digital identity when you lose access to all your devices, you will need your recovery key.";
|
||||
"screen_create_new_recovery_key_list_item_1" = "Open %1$@ in a desktop device";
|
||||
"screen_create_new_recovery_key_list_item_2" = "Sign into your account again";
|
||||
"screen_create_new_recovery_key_list_item_3" = "When asked to verify your device, select %1$@";
|
||||
@@ -947,9 +954,9 @@
|
||||
"screen_join_room_subtitle_no_preview" = "You must be a member of this room to view the message history.";
|
||||
"screen_join_room_title_knock" = "Want to join this room?";
|
||||
"screen_join_room_title_no_preview" = "Preview is not available";
|
||||
"screen_key_backup_disable_confirmation_action_turn_off" = "Turn off";
|
||||
"screen_key_backup_disable_confirmation_description" = "You will lose your encrypted messages if you are signed out of all devices.";
|
||||
"screen_key_backup_disable_confirmation_title" = "Are you sure you want to turn off backup?";
|
||||
"screen_key_backup_disable_confirmation_action_turn_off" = "Delete";
|
||||
"screen_key_backup_disable_confirmation_description" = "You will lose your encrypted chat history and need to reset your digital identity if you remove all your devices.";
|
||||
"screen_key_backup_disable_confirmation_title" = "Are you sure you want to delete key storage?";
|
||||
"screen_key_backup_disable_description" = "Deleting key storage will remove your digital identity and message keys from the server and turn off the following security features:";
|
||||
"screen_key_backup_disable_description_point_1" = "You will not have encrypted message history on new devices";
|
||||
"screen_key_backup_disable_description_point_2" = "You will lose access to your encrypted messages if you are signed out of %1$@ everywhere";
|
||||
@@ -1282,16 +1289,17 @@
|
||||
"screen_signed_out_reason_3" = "Your server’s administrator has invalidated your access";
|
||||
"screen_signed_out_subtitle" = "You might have been signed out for one of the reasons listed below. Please sign in again to continue using %@.";
|
||||
"screen_signed_out_title" = "You’re signed out";
|
||||
"screen_signout_confirmation_dialog_content" = "Are you sure you want to sign out?";
|
||||
"screen_signout_in_progress_dialog_content" = "Signing out…";
|
||||
"screen_signout_key_backup_disabled_subtitle" = "You are about to sign out of your last session. If you sign out now, you will lose access to your encrypted messages.";
|
||||
"screen_signout_key_backup_disabled_title" = "You have turned off backup";
|
||||
"screen_signout_key_backup_offline_subtitle" = "Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before signing out.";
|
||||
"screen_signout_key_backup_ongoing_subtitle" = "Please wait for this to complete before signing out.";
|
||||
"screen_signout_confirmation_dialog_content" = "Are you sure you want to remove this device?";
|
||||
"screen_signout_in_progress_dialog_content" = "Removing device…";
|
||||
"screen_signout_key_backup_disabled_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_key_backup_disabled_title" = "You’re about to lose access to your encrypted chats";
|
||||
"screen_signout_key_backup_offline_subtitle" = "Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before you remove this device.";
|
||||
"screen_signout_key_backup_ongoing_subtitle" = "Please wait for this to complete before removing this device.";
|
||||
"screen_signout_key_backup_ongoing_title" = "Your keys are still being backed up";
|
||||
"screen_signout_recovery_disabled_subtitle" = "You are about to sign out of your last session. If you sign out now, you'll lose access to your encrypted messages.";
|
||||
"screen_signout_recovery_disabled_title" = "Recovery not set up";
|
||||
"screen_signout_save_recovery_key_subtitle" = "You are about to sign out of your last session. If you sign out now, you might lose access to your encrypted messages.";
|
||||
"screen_signout_recovery_disabled_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_recovery_disabled_title" = "You’re about to lose access to your encrypted chats";
|
||||
"screen_signout_save_recovery_key_subtitle" = "This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.";
|
||||
"screen_signout_save_recovery_key_title" = "Make sure you have access to your recovery key before removing this device";
|
||||
"screen_start_chat_error_starting_chat" = "An error occurred when trying to start a chat";
|
||||
"screen_view_location_title" = "Location";
|
||||
"session_verification_banner_message" = "Looks like you’re using a new device. Verify with another device to access your encrypted messages.";
|
||||
@@ -1551,11 +1559,10 @@
|
||||
"screen_session_verification_request_success_subtitle" = "Now you can read or send messages securely on your other device.";
|
||||
"screen_session_verification_request_success_title" = "Device verified";
|
||||
"screen_session_verification_waiting_other_device_title" = "Start verification on the other device";
|
||||
"screen_signout_confirmation_dialog_submit" = "Sign out";
|
||||
"screen_signout_confirmation_dialog_title" = "Sign out";
|
||||
"screen_signout_confirmation_dialog_submit" = "Remove this device";
|
||||
"screen_signout_confirmation_dialog_title" = "Remove this device";
|
||||
"screen_signout_key_backup_offline_title" = "Your keys are still being backed up";
|
||||
"screen_signout_preference_item" = "Sign out";
|
||||
"screen_signout_save_recovery_key_title" = "Have you saved your recovery key?";
|
||||
"screen_signout_preference_item" = "Remove this device";
|
||||
"timeline_decryption_failure_historical_event_user_not_joined" = "You don't have access to this message";
|
||||
"troubleshoot_notifications_test_blocked_users_title" = "Blocked users";
|
||||
"troubleshoot_notifications_entry_point_push_history_title" = "Push history";
|
||||
|
||||
@@ -346,9 +346,9 @@ internal enum L10n {
|
||||
internal static var actionShow: String { return L10n.tr("Localizable", "action_show") }
|
||||
/// Sign in again
|
||||
internal static var actionSignInAgain: String { return L10n.tr("Localizable", "action_sign_in_again") }
|
||||
/// Sign out
|
||||
/// Remove this device
|
||||
internal static var actionSignout: String { return L10n.tr("Localizable", "action_signout") }
|
||||
/// Sign out anyway
|
||||
/// Remove this device anyway
|
||||
internal static var actionSignoutAnyway: String { return L10n.tr("Localizable", "action_signout_anyway") }
|
||||
/// Skip
|
||||
internal static var actionSkip: String { return L10n.tr("Localizable", "action_skip") }
|
||||
@@ -362,6 +362,8 @@ internal enum L10n {
|
||||
internal static var actionStartVerification: String { return L10n.tr("Localizable", "action_start_verification") }
|
||||
/// Tap to load map
|
||||
internal static var actionStaticMapLoad: String { return L10n.tr("Localizable", "action_static_map_load") }
|
||||
/// Stop
|
||||
internal static var actionStop: String { return L10n.tr("Localizable", "action_stop") }
|
||||
/// Take photo
|
||||
internal static var actionTakePhoto: String { return L10n.tr("Localizable", "action_take_photo") }
|
||||
/// Tap for options
|
||||
@@ -422,6 +424,8 @@ internal enum L10n {
|
||||
internal static var commonAnImage: String { return L10n.tr("Localizable", "common_an_image") }
|
||||
/// Analytics
|
||||
internal static var commonAnalytics: String { return L10n.tr("Localizable", "common_analytics") }
|
||||
/// Syncing notifications...
|
||||
internal static var commonAndroidFetchingNotificationsTitle: String { return L10n.tr("Localizable", "common_android_fetching_notifications_title") }
|
||||
/// You left the room
|
||||
internal static var commonAndroidShortcutsRemoveReasonLeftRoom: String { return L10n.tr("Localizable", "common_android_shortcuts_remove_reason_left_room") }
|
||||
/// You were logged out of the session
|
||||
@@ -496,6 +500,10 @@ internal enum L10n {
|
||||
internal static var commonEncryption: String { return L10n.tr("Localizable", "common_encryption") }
|
||||
/// Encryption enabled
|
||||
internal static var commonEncryptionEnabled: String { return L10n.tr("Localizable", "common_encryption_enabled") }
|
||||
/// Ends %1$@
|
||||
internal static func commonEndsInTimeIos(_ p1: Any) -> String {
|
||||
return L10n.tr("Localizable", "common_ends_in_time_ios", String(describing: p1))
|
||||
}
|
||||
/// Enter your PIN
|
||||
internal static var commonEnterYourPin: String { return L10n.tr("Localizable", "common_enter_your_pin") }
|
||||
/// Error
|
||||
@@ -542,6 +550,10 @@ internal enum L10n {
|
||||
internal static var commonLinkCopiedToClipboard: String { return L10n.tr("Localizable", "common_link_copied_to_clipboard") }
|
||||
/// Link new device
|
||||
internal static var commonLinkNewDevice: String { return L10n.tr("Localizable", "common_link_new_device") }
|
||||
/// Live location
|
||||
internal static var commonLiveLocation: String { return L10n.tr("Localizable", "common_live_location") }
|
||||
/// Live location ended
|
||||
internal static var commonLiveLocationEnded: String { return L10n.tr("Localizable", "common_live_location_ended") }
|
||||
/// Loading…
|
||||
internal static var commonLoading: String { return L10n.tr("Localizable", "common_loading") }
|
||||
/// Loading more…
|
||||
@@ -720,11 +732,13 @@ internal enum L10n {
|
||||
internal static var commonShareSpace: String { return L10n.tr("Localizable", "common_share_space") }
|
||||
/// New members see history
|
||||
internal static var commonSharedHistory: String { return L10n.tr("Localizable", "common_shared_history") }
|
||||
/// Shared live location
|
||||
internal static var commonSharedLiveLocation: String { return L10n.tr("Localizable", "common_shared_live_location") }
|
||||
/// Shared location
|
||||
internal static var commonSharedLocation: String { return L10n.tr("Localizable", "common_shared_location") }
|
||||
/// Shared space
|
||||
internal static var commonSharedSpace: String { return L10n.tr("Localizable", "common_shared_space") }
|
||||
/// Signing out
|
||||
/// Removing device
|
||||
internal static var commonSigningOut: String { return L10n.tr("Localizable", "common_signing_out") }
|
||||
/// Something went wrong
|
||||
internal static var commonSomethingWentWrong: String { return L10n.tr("Localizable", "common_something_went_wrong") }
|
||||
@@ -822,6 +836,8 @@ internal enum L10n {
|
||||
internal static var commonWaiting: String { return L10n.tr("Localizable", "common_waiting") }
|
||||
/// Waiting for this message
|
||||
internal static var commonWaitingForDecryptionKey: String { return L10n.tr("Localizable", "common_waiting_for_decryption_key") }
|
||||
/// Waiting for live location…
|
||||
internal static var commonWaitingLiveLocation: String { return L10n.tr("Localizable", "common_waiting_live_location") }
|
||||
/// Anyone can see history
|
||||
internal static var commonWorldReadableHistory: String { return L10n.tr("Localizable", "common_world_readable_history") }
|
||||
/// You
|
||||
@@ -1390,7 +1406,7 @@ internal enum L10n {
|
||||
internal static var screenAppLockSetupPinMismatchDialogTitle: String { return L10n.tr("Localizable", "screen_app_lock_setup_pin_mismatch_dialog_title") }
|
||||
/// You’ll need to re-login and create a new PIN to proceed
|
||||
internal static var screenAppLockSignoutAlertMessage: String { return L10n.tr("Localizable", "screen_app_lock_signout_alert_message") }
|
||||
/// You are being signed out
|
||||
/// This device is being removed
|
||||
internal static var screenAppLockSignoutAlertTitle: String { return L10n.tr("Localizable", "screen_app_lock_signout_alert_title") }
|
||||
/// Plural format key: "%#@COUNT@"
|
||||
internal static func screenAppLockSubtitle(_ p1: Int) -> String {
|
||||
@@ -1573,10 +1589,8 @@ internal enum L10n {
|
||||
internal static var screenChatBackupRecoveryActionConfirmDescription: String { return L10n.tr("Localizable", "screen_chat_backup_recovery_action_confirm_description") }
|
||||
/// Get recovery key
|
||||
internal static var screenChatBackupRecoveryActionSetup: String { return L10n.tr("Localizable", "screen_chat_backup_recovery_action_setup") }
|
||||
/// Get access to your encrypted messages if you lose all your devices or are signed out of %1$@ everywhere.
|
||||
internal static func screenChatBackupRecoveryActionSetupDescription(_ p1: Any) -> String {
|
||||
return L10n.tr("Localizable", "screen_chat_backup_recovery_action_setup_description", String(describing: p1))
|
||||
}
|
||||
/// Your chats are automatically backed up with end-to-end encryption. To restore this backup and retain your digital identity when you lose access to all your devices, you will need your recovery key.
|
||||
internal static var screenChatBackupRecoveryActionSetupDescription: String { return L10n.tr("Localizable", "screen_chat_backup_recovery_action_setup_description") }
|
||||
/// Create account
|
||||
internal static var screenCreateAccountTitle: String { return L10n.tr("Localizable", "screen_create_account_title") }
|
||||
/// Open %1$@ in a desktop device
|
||||
@@ -1902,11 +1916,11 @@ internal enum L10n {
|
||||
internal static var screenJoinRoomTitleKnock: String { return L10n.tr("Localizable", "screen_join_room_title_knock") }
|
||||
/// Preview is not available
|
||||
internal static var screenJoinRoomTitleNoPreview: String { return L10n.tr("Localizable", "screen_join_room_title_no_preview") }
|
||||
/// Turn off
|
||||
/// Delete
|
||||
internal static var screenKeyBackupDisableConfirmationActionTurnOff: String { return L10n.tr("Localizable", "screen_key_backup_disable_confirmation_action_turn_off") }
|
||||
/// You will lose your encrypted messages if you are signed out of all devices.
|
||||
/// You will lose your encrypted chat history and need to reset your digital identity if you remove all your devices.
|
||||
internal static var screenKeyBackupDisableConfirmationDescription: String { return L10n.tr("Localizable", "screen_key_backup_disable_confirmation_description") }
|
||||
/// Are you sure you want to turn off backup?
|
||||
/// Are you sure you want to delete key storage?
|
||||
internal static var screenKeyBackupDisableConfirmationTitle: String { return L10n.tr("Localizable", "screen_key_backup_disable_confirmation_title") }
|
||||
/// Deleting key storage will remove your digital identity and message keys from the server and turn off the following security features:
|
||||
internal static var screenKeyBackupDisableDescription: String { return L10n.tr("Localizable", "screen_key_backup_disable_description") }
|
||||
@@ -3187,35 +3201,35 @@ internal enum L10n {
|
||||
}
|
||||
/// You’re signed out
|
||||
internal static var screenSignedOutTitle: String { return L10n.tr("Localizable", "screen_signed_out_title") }
|
||||
/// Are you sure you want to sign out?
|
||||
/// Are you sure you want to remove this device?
|
||||
internal static var screenSignoutConfirmationDialogContent: String { return L10n.tr("Localizable", "screen_signout_confirmation_dialog_content") }
|
||||
/// Sign out
|
||||
/// Remove this device
|
||||
internal static var screenSignoutConfirmationDialogSubmit: String { return L10n.tr("Localizable", "screen_signout_confirmation_dialog_submit") }
|
||||
/// Sign out
|
||||
/// Remove this device
|
||||
internal static var screenSignoutConfirmationDialogTitle: String { return L10n.tr("Localizable", "screen_signout_confirmation_dialog_title") }
|
||||
/// Signing out…
|
||||
/// Removing device…
|
||||
internal static var screenSignoutInProgressDialogContent: String { return L10n.tr("Localizable", "screen_signout_in_progress_dialog_content") }
|
||||
/// You are about to sign out of your last session. If you sign out now, you will lose access to your encrypted messages.
|
||||
/// This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.
|
||||
internal static var screenSignoutKeyBackupDisabledSubtitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_disabled_subtitle") }
|
||||
/// You have turned off backup
|
||||
/// You’re about to lose access to your encrypted chats
|
||||
internal static var screenSignoutKeyBackupDisabledTitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_disabled_title") }
|
||||
/// Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before signing out.
|
||||
/// Your keys were still being backed up when you went offline. Reconnect so that your keys can be backed up before you remove this device.
|
||||
internal static var screenSignoutKeyBackupOfflineSubtitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_offline_subtitle") }
|
||||
/// Your keys are still being backed up
|
||||
internal static var screenSignoutKeyBackupOfflineTitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_offline_title") }
|
||||
/// Please wait for this to complete before signing out.
|
||||
/// Please wait for this to complete before removing this device.
|
||||
internal static var screenSignoutKeyBackupOngoingSubtitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_ongoing_subtitle") }
|
||||
/// Your keys are still being backed up
|
||||
internal static var screenSignoutKeyBackupOngoingTitle: String { return L10n.tr("Localizable", "screen_signout_key_backup_ongoing_title") }
|
||||
/// Sign out
|
||||
/// Remove this device
|
||||
internal static var screenSignoutPreferenceItem: String { return L10n.tr("Localizable", "screen_signout_preference_item") }
|
||||
/// You are about to sign out of your last session. If you sign out now, you'll lose access to your encrypted messages.
|
||||
/// This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.
|
||||
internal static var screenSignoutRecoveryDisabledSubtitle: String { return L10n.tr("Localizable", "screen_signout_recovery_disabled_subtitle") }
|
||||
/// Recovery not set up
|
||||
/// You’re about to lose access to your encrypted chats
|
||||
internal static var screenSignoutRecoveryDisabledTitle: String { return L10n.tr("Localizable", "screen_signout_recovery_disabled_title") }
|
||||
/// You are about to sign out of your last session. If you sign out now, you might lose access to your encrypted messages.
|
||||
/// This is your only device. If you remove it you’ll need a recovery key in order to confirm your digital identity and restore your encrypted chats the next time you sign in.
|
||||
internal static var screenSignoutSaveRecoveryKeySubtitle: String { return L10n.tr("Localizable", "screen_signout_save_recovery_key_subtitle") }
|
||||
/// Have you saved your recovery key?
|
||||
/// Make sure you have access to your recovery key before removing this device
|
||||
internal static var screenSignoutSaveRecoveryKeyTitle: String { return L10n.tr("Localizable", "screen_signout_save_recovery_key_title") }
|
||||
/// Room
|
||||
internal static var screenSpaceAddRoomAction: String { return L10n.tr("Localizable", "screen_space_add_room_action") }
|
||||
|
||||
@@ -85,4 +85,14 @@ extension ProcessInfo {
|
||||
false
|
||||
#endif
|
||||
}
|
||||
|
||||
var platform: String {
|
||||
if #available(iOS 26.1, *), ProcessInfo.processInfo.isiOSAppOnVision {
|
||||
"visionOS"
|
||||
} else if ProcessInfo.processInfo.isiOSAppOnMac {
|
||||
"macOS"
|
||||
} else {
|
||||
"iOS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,11 @@ enum Tracing {
|
||||
// Log everything on integration tests to check whether
|
||||
// the logs contain any sensitive data. See `integration-tests.yml`
|
||||
let level: LogLevel = ProcessInfo.isRunningIntegrationTests ? .trace : logLevel
|
||||
let sentryConfig = sentryURL.map { url in
|
||||
SentryConfig(dsn: url.absoluteString,
|
||||
appVersion: InfoPlistReader.app.bundleShortVersionString,
|
||||
appPlatform: ProcessInfo.processInfo.platform)
|
||||
}
|
||||
|
||||
return .init(logLevel: level.rustLogLevel,
|
||||
traceLogPacks: traceLogPacks.map(\.rustLogPack),
|
||||
@@ -48,7 +53,7 @@ enum Tracing {
|
||||
// Total compressed size needs to be under CloudFlare's max request size of 50Mb
|
||||
maxTotalSizeBytes: 100 * 1024 * 1024, // 100Mb
|
||||
maxAgeSeconds: 7 * 24 * 60 * 60), // One week
|
||||
sentryDsn: sentryURL?.absoluteString)
|
||||
sentryConfig: sentryConfig)
|
||||
}
|
||||
|
||||
/// A list of all log file URLs, sorted chronologically.
|
||||
|
||||
@@ -281,6 +281,8 @@ private extension HumanQrLoginError {
|
||||
.qrCodeError(.slidingSyncNotAvailable)
|
||||
case .OtherDeviceNotSignedIn:
|
||||
.qrCodeError(.deviceNotSignedIn)
|
||||
case .UnsupportedQrCodeType:
|
||||
.qrCodeError(.invalidQRCode)
|
||||
case .Unknown, .OidcMetadataInvalid, .CheckCodeAlreadySent, .CheckCodeCannotBeSent:
|
||||
.qrCodeError(.unknown)
|
||||
}
|
||||
|
||||
@@ -201,6 +201,8 @@ private extension QRCodeLoginError {
|
||||
.cancelled
|
||||
case .OtherDeviceAlreadySignedIn:
|
||||
.deviceAlreadySignedIn
|
||||
case .UnsupportedQrCodeType:
|
||||
.invalidQRCode
|
||||
case .Unknown, .MissingSecretsBackup, .DeviceIdAlreadyInUse:
|
||||
.unknown
|
||||
}
|
||||
|
||||
@@ -62,6 +62,9 @@ struct RoomEventStringBuilder {
|
||||
return prefix(errorMessage, with: displayName, isOutgoing: isOutgoing)
|
||||
case .other:
|
||||
return nil // We shouldn't receive these without asking for custom event types.
|
||||
case .liveLocation:
|
||||
// TODO: Implement
|
||||
return nil
|
||||
}
|
||||
case .failedToParseMessageLike, .failedToParseState:
|
||||
return prefix(L10n.commonUnsupportedEvent, with: displayName, isOutgoing: isOutgoing)
|
||||
@@ -86,9 +89,6 @@ struct RoomEventStringBuilder {
|
||||
return prefix(L10n.commonUnsupportedCall, with: displayName, isOutgoing: isOutgoing)
|
||||
case .rtcNotification:
|
||||
return prefix(L10n.commonCallStarted, with: displayName, isOutgoing: isOutgoing)
|
||||
case .liveLocation:
|
||||
// TODO: Implement
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -90,12 +90,11 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
self.roomList = roomList
|
||||
|
||||
do {
|
||||
listUpdatesSubscriptionResult = roomList.entriesWithDynamicAdaptersWith(pageSize: UInt32(roomListPageSize),
|
||||
enableLatestEventSorter: true,
|
||||
listener: SDKListener { [weak self] updates in
|
||||
guard let self else { return }
|
||||
diffsPublisher.send(updates)
|
||||
})
|
||||
listUpdatesSubscriptionResult = roomList.entriesWithDynamicAdapters(pageSize: UInt32(roomListPageSize),
|
||||
listener: SDKListener { [weak self] updates in
|
||||
guard let self else { return }
|
||||
diffsPublisher.send(updates)
|
||||
})
|
||||
|
||||
// Forces the listener above to be called with the current state
|
||||
setFilter(.all(filters: []))
|
||||
|
||||
@@ -43,6 +43,9 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return buildEncryptedTimelineItem(eventItemProxy, messageLikeContent, encryptedMessage, isOutgoing)
|
||||
case .other:
|
||||
return nil // We shouldn't receive these without asking for custom event types.
|
||||
case .liveLocation:
|
||||
// TODO: Implement
|
||||
return nil
|
||||
}
|
||||
case .failedToParseMessageLike(let eventType, let error):
|
||||
return buildUnsupportedTimelineItem(eventItemProxy, eventType, error, isOutgoing)
|
||||
@@ -69,9 +72,6 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return buildCallInviteTimelineItem(for: eventItemProxy)
|
||||
case .rtcNotification:
|
||||
return buildCallNotificationTimelineItem(for: eventItemProxy)
|
||||
case .liveLocation:
|
||||
// TODO: Implement
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user