mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Add jump to unread translatable
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"a11y_info" = "Info";
|
||||
"a11y_join_call" = "Join call";
|
||||
"a11y_jump_to_bottom" = "Jump to bottom";
|
||||
"a11y_jump_to_unread" = "Jump to unread";
|
||||
"a11y_notifications_mentions_only" = "Mentions only";
|
||||
"a11y_notifications_muted" = "Muted";
|
||||
"a11y_notifications_new_mentions" = "New mentions";
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"a11y_info" = "Info";
|
||||
"a11y_join_call" = "Join call";
|
||||
"a11y_jump_to_bottom" = "Jump to bottom";
|
||||
"a11y_jump_to_unread" = "Jump to unread";
|
||||
"a11y_notifications_mentions_only" = "Mentions only";
|
||||
"a11y_notifications_muted" = "Muted";
|
||||
"a11y_notifications_new_mentions" = "New mentions";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
"a11y_jump_to_unread" = "Jump to unread";
|
||||
"soft_logout_clear_data_dialog_content" = "Clear all data currently stored on this device?\nSign in again to access your account data and messages.";
|
||||
"soft_logout_clear_data_dialog_title" = "Clear data";
|
||||
"soft_logout_clear_data_notice" = "Warning: Your personal data (including encryption keys) is still stored on this device.\n\nClear it if you’re finished using this device, or want to sign in to another account.";
|
||||
|
||||
@@ -10,8 +10,6 @@ import Foundation
|
||||
// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
|
||||
// swiftlint:disable nesting type_body_length type_name vertical_whitespace_opening_braces
|
||||
internal enum UntranslatedL10n {
|
||||
/// Jump to unread
|
||||
internal static var a11yJumpToUnread: String { return UntranslatedL10n.tr("Untranslated", "a11y_jump_to_unread") }
|
||||
/// Custom sound...
|
||||
internal static var screenNotificationSettingsSoundCustomSoundButtonTitle: String { return UntranslatedL10n.tr("Untranslated", "screen_notification_settings_sound_custom_sound_button_title") }
|
||||
/// Error deleting file
|
||||
|
||||
@@ -42,6 +42,8 @@ internal enum L10n {
|
||||
internal static var a11yJoinCall: String { return L10n.tr("Localizable", "a11y_join_call") }
|
||||
/// Jump to bottom
|
||||
internal static var a11yJumpToBottom: String { return L10n.tr("Localizable", "a11y_jump_to_bottom") }
|
||||
/// Jump to unread
|
||||
internal static var a11yJumpToUnread: String { return L10n.tr("Localizable", "a11y_jump_to_unread") }
|
||||
/// Mentions only
|
||||
internal static var a11yNotificationsMentionsOnly: String { return L10n.tr("Localizable", "a11y_notifications_mentions_only") }
|
||||
/// Muted
|
||||
|
||||
@@ -96,7 +96,7 @@ struct TimelineScrollButton: View {
|
||||
.opacity(isHidden ? 0 : 1)
|
||||
.allowsHitTesting(!isHidden)
|
||||
.accessibilityHidden(isHidden)
|
||||
.accessibilityLabel(direction == .down ? L10n.a11yJumpToBottom : UntranslatedL10n.a11yJumpToUnread)
|
||||
.accessibilityLabel(direction == .down ? L10n.a11yJumpToBottom : L10n.a11yJumpToUnread)
|
||||
.animation(.elementDefault, value: isHidden)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user