From fd006de8877b2b5f269e6841842f309e945a0c2e Mon Sep 17 00:00:00 2001 From: Jan Niklas Grabowski Date: Thu, 20 Nov 2025 16:01:39 +0100 Subject: [PATCH] feat: change text call event (MESSENGER-7954) --- Riot/Assets/de.lproj/Bwi.strings | 5 ++++- Riot/Assets/en.lproj/Bwi.strings | 6 +++++- Riot/Generated/BWIStrings.swift | 4 ++++ .../Room/TimelineCells/Call/CallCellContentView.xib | 7 +++++-- .../Call/MatrixRTC/RoomMatrixRTCCallCell.swift | 4 +++- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/Riot/Assets/de.lproj/Bwi.strings b/Riot/Assets/de.lproj/Bwi.strings index 87cffc563..37984457e 100644 --- a/Riot/Assets/de.lproj/Bwi.strings +++ b/Riot/Assets/de.lproj/Bwi.strings @@ -776,6 +776,9 @@ "bwi_a11y_close_button" = "Ansicht schließen"; -// MARK owner handling +// MARK: owner handling "room_member_power_level_owner_in" = "Inhaber von %@"; "room_member_power_level_short_owner" = "Inhaber"; + +// MARK: call event +"bwi_call_event_not_supported" = "Videomeetings werden in dieser App noch nicht unterstützt. Verwende den Webclient."; diff --git a/Riot/Assets/en.lproj/Bwi.strings b/Riot/Assets/en.lproj/Bwi.strings index 6ea85f761..d9139bb59 100644 --- a/Riot/Assets/en.lproj/Bwi.strings +++ b/Riot/Assets/en.lproj/Bwi.strings @@ -688,6 +688,10 @@ "bwi_a11y_close_button" = "Close window"; -// MARK owner handling +// MARK: owner handling "room_member_power_level_owner_in" = "Owner in %@"; "room_member_power_level_short_owner" = "Owner"; + +// MARK: call event +"bwi_call_event_not_supported" = "Video meetings are not yet supported in this app. Please use the web app."; + diff --git a/Riot/Generated/BWIStrings.swift b/Riot/Generated/BWIStrings.swift index 4511fc74d..b817f63d0 100644 --- a/Riot/Generated/BWIStrings.swift +++ b/Riot/Generated/BWIStrings.swift @@ -187,6 +187,10 @@ public class BWIL10n: NSObject { public static var bwiAuthRegisterButtonTitle: String { return BWIL10n.tr("Bwi", "bwi_auth_register_button_title") } + /// Videomeetings werden in dieser App noch nicht unterstützt. Verwende den Webclient. + public static var bwiCallEventNotSupported: String { + return BWIL10n.tr("Bwi", "bwi_call_event_not_supported") + } /// Zum App Store public static var bwiDeprecatedVersionAppstoreButton: String { return BWIL10n.tr("Bwi", "bwi_deprecated_version_appstore_button") diff --git a/Riot/Modules/Room/TimelineCells/Call/CallCellContentView.xib b/Riot/Modules/Room/TimelineCells/Call/CallCellContentView.xib index 99aad1824..e662f905e 100644 --- a/Riot/Modules/Room/TimelineCells/Call/CallCellContentView.xib +++ b/Riot/Modules/Room/TimelineCells/Call/CallCellContentView.xib @@ -1,9 +1,9 @@ - + - + @@ -95,6 +95,9 @@ + + + diff --git a/Riot/Modules/Room/TimelineCells/Call/MatrixRTC/RoomMatrixRTCCallCell.swift b/Riot/Modules/Room/TimelineCells/Call/MatrixRTC/RoomMatrixRTCCallCell.swift index 12921f8be..36b7c9457 100644 --- a/Riot/Modules/Room/TimelineCells/Call/MatrixRTC/RoomMatrixRTCCallCell.swift +++ b/Riot/Modules/Room/TimelineCells/Call/MatrixRTC/RoomMatrixRTCCallCell.swift @@ -23,7 +23,9 @@ class RoomMatrixRTCCallCell: RoomCallBaseCell { room.summary.setRoomAvatarImageIn(innerContentView.avatarImageView) innerContentView.avatarImageView.defaultBackgroundColor = .clear innerContentView.callerNameLabel.text = room.summary.displayName - statusText = VectorL10n.callUnsupportedMatrixRtcCall + // BWI #7954 use bwi text for call event + statusText = BWIL10n.bwiCallEventNotSupported + // BWI #7954 END bottomContentView = nil // Expands the size of the status stack. } }