mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-10 01:01:36 +00:00
improved the copy of the accessibility label
This commit is contained in:
@@ -540,7 +540,7 @@
|
|||||||
"screen_room_timeline_upgraded_room_action" = "See old messages";
|
"screen_room_timeline_upgraded_room_action" = "See old messages";
|
||||||
"screen_room_timeline_upgraded_room_message" = "This room is a continuation of another room";
|
"screen_room_timeline_upgraded_room_message" = "This room is a continuation of another room";
|
||||||
"screen_room_timeline_reactions_show_reactions_summary" = "Show reactions summary";
|
"screen_room_timeline_reactions_show_reactions_summary" = "Show reactions summary";
|
||||||
"screen_roomlist_remove_all_filters" = "Remove all filters";
|
"screen_roomlist_clear_filters" = "Clear filters";
|
||||||
"screen_roomlist_tombstoned_room_description" = "This room has been upgraded";
|
"screen_roomlist_tombstoned_room_description" = "This room has been upgraded";
|
||||||
"screen_security_and_privacy_add_room_address_action" = "Add room address";
|
"screen_security_and_privacy_add_room_address_action" = "Add room address";
|
||||||
"screen_security_and_privacy_ask_to_join_option_description" = "Anyone can ask to join the room but an administrator or moderator will have to accept the request.";
|
"screen_security_and_privacy_ask_to_join_option_description" = "Anyone can ask to join the room but an administrator or moderator will have to accept the request.";
|
||||||
|
|||||||
@@ -2422,6 +2422,8 @@ internal enum L10n {
|
|||||||
internal static var screenRoomVoiceMessageTooltip: String { return L10n.tr("Localizable", "screen_room_voice_message_tooltip") }
|
internal static var screenRoomVoiceMessageTooltip: String { return L10n.tr("Localizable", "screen_room_voice_message_tooltip") }
|
||||||
/// Create a new conversation or room
|
/// Create a new conversation or room
|
||||||
internal static var screenRoomlistA11yCreateMessage: String { return L10n.tr("Localizable", "screen_roomlist_a11y_create_message") }
|
internal static var screenRoomlistA11yCreateMessage: String { return L10n.tr("Localizable", "screen_roomlist_a11y_create_message") }
|
||||||
|
/// Clear filters
|
||||||
|
internal static var screenRoomlistClearFilters: String { return L10n.tr("Localizable", "screen_roomlist_clear_filters") }
|
||||||
/// Get started by messaging someone.
|
/// Get started by messaging someone.
|
||||||
internal static var screenRoomlistEmptyMessage: String { return L10n.tr("Localizable", "screen_roomlist_empty_message") }
|
internal static var screenRoomlistEmptyMessage: String { return L10n.tr("Localizable", "screen_roomlist_empty_message") }
|
||||||
/// No chats yet.
|
/// No chats yet.
|
||||||
@@ -2464,8 +2466,6 @@ internal enum L10n {
|
|||||||
internal static var screenRoomlistMarkAsRead: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_read") }
|
internal static var screenRoomlistMarkAsRead: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_read") }
|
||||||
/// Mark as unread
|
/// Mark as unread
|
||||||
internal static var screenRoomlistMarkAsUnread: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_unread") }
|
internal static var screenRoomlistMarkAsUnread: String { return L10n.tr("Localizable", "screen_roomlist_mark_as_unread") }
|
||||||
/// Remove all filters
|
|
||||||
internal static var screenRoomlistRemoveAllFilters: String { return L10n.tr("Localizable", "screen_roomlist_remove_all_filters") }
|
|
||||||
/// This room has been upgraded
|
/// This room has been upgraded
|
||||||
internal static var screenRoomlistTombstonedRoomDescription: String { return L10n.tr("Localizable", "screen_roomlist_tombstoned_room_description") }
|
internal static var screenRoomlistTombstonedRoomDescription: String { return L10n.tr("Localizable", "screen_roomlist_tombstoned_room_description") }
|
||||||
/// Add room address
|
/// Add room address
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ struct RoomListFiltersView: View {
|
|||||||
.font(.system(size: 24))
|
.font(.system(size: 24))
|
||||||
.foregroundColor(.compound.bgActionPrimaryRest)
|
.foregroundColor(.compound.bgActionPrimaryRest)
|
||||||
})
|
})
|
||||||
.accessibilityLabel(L10n.screenRoomlistRemoveAllFilters)
|
.accessibilityLabel(L10n.screenRoomlistClearFilters)
|
||||||
}
|
}
|
||||||
|
|
||||||
private func getBinding(for filter: RoomListFilter, scrollViewProxy: ScrollViewProxy) -> Binding<Bool> {
|
private func getBinding(for filter: RoomListFilter, scrollViewProxy: ScrollViewProxy) -> Binding<Bool> {
|
||||||
|
|||||||
Reference in New Issue
Block a user