hardcoded the timeout of 1 minute
This commit is contained in:
@@ -30,9 +30,9 @@
|
||||
"a11y_remove_reaction" = "Remove reaction: %1$@";
|
||||
"a11y_remove_reaction_with" = "Remove reaction with %1$@";
|
||||
"a11y_send_files" = "Send files";
|
||||
"a11y_session_verification_time_limited_action_required" = "Time limited action required, you have 1 minute to verify";
|
||||
"a11y_show_password" = "Show password";
|
||||
"a11y_start_call" = "Start a call";
|
||||
"a11y_time_limited_action_required" = "Time limited action required";
|
||||
"a11y_tombstoned_room" = "Tombstoned room";
|
||||
"a11y_user_menu" = "User menu";
|
||||
"a11y_view_avatar" = "View avatar";
|
||||
@@ -368,6 +368,7 @@
|
||||
"emoji_picker_category_people" = "Smileys & People";
|
||||
"emoji_picker_category_places" = "Travel & Places";
|
||||
"emoji_picker_category_symbols" = "Symbols";
|
||||
"emoji_picker_search_placeholder" = "Search emojis";
|
||||
"error_invalid_invite" = "The room no longer exists or the invite is no longer valid.";
|
||||
"error_network_or_server_issue" = "This may be due to network or server issues.";
|
||||
"error_room_address_already_exists" = "This room address already exists. Please try editing the room address field or change the room name";
|
||||
|
||||
@@ -104,12 +104,12 @@ internal enum L10n {
|
||||
}
|
||||
/// Send files
|
||||
internal static var a11ySendFiles: String { return L10n.tr("Localizable", "a11y_send_files") }
|
||||
/// Time limited action required, you have 1 minute to verify
|
||||
internal static var a11ySessionVerificationTimeLimitedActionRequired: String { return L10n.tr("Localizable", "a11y_session_verification_time_limited_action_required") }
|
||||
/// Show password
|
||||
internal static var a11yShowPassword: String { return L10n.tr("Localizable", "a11y_show_password") }
|
||||
/// Start a call
|
||||
internal static var a11yStartCall: String { return L10n.tr("Localizable", "a11y_start_call") }
|
||||
/// Time limited action required
|
||||
internal static var a11yTimeLimitedActionRequired: String { return L10n.tr("Localizable", "a11y_time_limited_action_required") }
|
||||
/// Tombstoned room
|
||||
internal static var a11yTombstonedRoom: String { return L10n.tr("Localizable", "a11y_tombstoned_room") }
|
||||
/// User menu
|
||||
@@ -844,6 +844,8 @@ internal enum L10n {
|
||||
internal static var emojiPickerCategoryPlaces: String { return L10n.tr("Localizable", "emoji_picker_category_places") }
|
||||
/// Symbols
|
||||
internal static var emojiPickerCategorySymbols: String { return L10n.tr("Localizable", "emoji_picker_category_symbols") }
|
||||
/// Search emojis
|
||||
internal static var emojiPickerSearchPlaceholder: String { return L10n.tr("Localizable", "emoji_picker_search_placeholder") }
|
||||
/// Your homeserver needs to be upgraded to support Matrix Authentication Service and account creation.
|
||||
internal static var errorAccountCreationNotPossible: String { return L10n.tr("Localizable", "error_account_creation_not_possible") }
|
||||
/// Failed creating the permalink
|
||||
|
||||
@@ -32,7 +32,7 @@ struct SessionVerificationScreen: View {
|
||||
.navigationBarBackButtonHidden(context.viewState.verificationState == .verified)
|
||||
.toolbar { toolbar }
|
||||
.onAppear {
|
||||
var announcement = AttributedString(L10n.a11yTimeLimitedActionRequired)
|
||||
var announcement = AttributedString(L10n.a11ySessionVerificationTimeLimitedActionRequired)
|
||||
announcement.accessibilitySpeechAnnouncementPriority = .high
|
||||
AccessibilityNotification.Announcement(announcement).post()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user