mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 15:26:40 +00:00
Translations update (#3523)
This commit is contained in:
@@ -1738,6 +1738,8 @@ internal enum L10n {
|
||||
internal static var screenRoomDetailsNotificationTitle: String { return L10n.tr("Localizable", "screen_room_details_notification_title") }
|
||||
/// Pinned messages
|
||||
internal static var screenRoomDetailsPinnedEventsRowTitle: String { return L10n.tr("Localizable", "screen_room_details_pinned_events_row_title") }
|
||||
/// Requests to join
|
||||
internal static var screenRoomDetailsRequestsToJoinTitle: String { return L10n.tr("Localizable", "screen_room_details_requests_to_join_title") }
|
||||
/// Roles and permissions
|
||||
internal static var screenRoomDetailsRolesAndPermissions: String { return L10n.tr("Localizable", "screen_room_details_roles_and_permissions") }
|
||||
/// Room name
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
import Combine
|
||||
import SwiftUI
|
||||
|
||||
@MainActor
|
||||
/// A notification center that can be injected in the app to post notifications
|
||||
/// that are sent from the UI tests runner. Usage:
|
||||
/// - Create an instance of the center in the screen you want to test and call `startListening`.
|
||||
/// - Create a `UITestSignalling.Client` in the `.tests` mode in your tests.
|
||||
/// - Start the app from the tests and call `client.waitForApp()` to establish communication.
|
||||
/// - Send the notification from the tests you would like posted in the app.
|
||||
class UITestsNotificationCenter: NotificationCenter {
|
||||
@MainActor
|
||||
class UITestsNotificationCenter: NotificationCenter, @unchecked Sendable {
|
||||
// periphery:ignore - retaining purpose
|
||||
private var client: UITestsSignalling.Client?
|
||||
private var signalCancellable: AnyCancellable?
|
||||
|
||||
Reference in New Issue
Block a user