feat: change text call event (MESSENGER-7954)

This commit is contained in:
Jan Niklas Grabowski
2025-11-20 16:01:39 +01:00
parent 306bcbf629
commit fd006de887
5 changed files with 21 additions and 5 deletions

View File

@@ -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.";

View File

@@ -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.";

View File

@@ -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")

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23727" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23721"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -95,6 +95,9 @@
</label>
</subviews>
<constraints>
<constraint firstItem="A3h-4o-nXF" firstAttribute="leading" secondItem="iQL-Bn-D9b" secondAttribute="trailing" constant="6" id="EJ7-V4-tar"/>
<constraint firstItem="iQL-Bn-D9b" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="kdm-vj-rsY" secondAttribute="leading" constant="10" id="b6a-y2-NPP"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="A3h-4o-nXF" secondAttribute="trailing" constant="10" id="fGT-eM-hrd"/>
<constraint firstAttribute="height" constant="20" id="xI1-oH-QU6"/>
</constraints>
</stackView>

View File

@@ -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.
}
}