mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
tombstoned room a11y label
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
"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";
|
||||
"a11y_view_details" = "View details";
|
||||
|
||||
@@ -106,6 +106,8 @@ internal enum L10n {
|
||||
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
|
||||
internal static var a11yUserMenu: String { return L10n.tr("Localizable", "a11y_user_menu") }
|
||||
/// View avatar
|
||||
|
||||
@@ -25,6 +25,7 @@ struct TombstonedAvatarImage: View {
|
||||
.font(.system(size: geometry.size.width * 0.5625, weight: .semibold))
|
||||
.minimumScaleFactor(0.001)
|
||||
.frame(alignment: .center)
|
||||
.accessibilityLabel(L10n.a11yTombstonedRoom)
|
||||
}
|
||||
}
|
||||
.aspectRatio(1, contentMode: .fill)
|
||||
|
||||
Reference in New Issue
Block a user