mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-30 18:39:23 +00:00
Fixes:
disable change layout button if paused meeting hide call button in call history if conference and disable_meetings_feature set disable camera if switch to audio only layout mode
This commit is contained in:
parent
36fbf44d42
commit
89efda13c8
6 changed files with 39 additions and 36 deletions
|
|
@ -1033,7 +1033,7 @@
|
|||
<context>
|
||||
<name>CallHistoryListView</name>
|
||||
<message>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="205"/>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="206"/>
|
||||
<source>call_name_accessible_button</source>
|
||||
<extracomment>Call %1</extracomment>
|
||||
<translation>Anruf %1</translation>
|
||||
|
|
@ -1162,67 +1162,67 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="372"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="373"/>
|
||||
<source>call_error_no_response_toast</source>
|
||||
<extracomment>"No response"</extracomment>
|
||||
<translation>Keine Antwort</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="376"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="377"/>
|
||||
<source>call_error_forbidden_resource_toast</source>
|
||||
<extracomment>"403 : Forbidden resource"</extracomment>
|
||||
<translation>403: Zugriff auf Ressource verweigert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="380"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="381"/>
|
||||
<source>call_error_not_answered_toast</source>
|
||||
<extracomment>"Request timeout"</extracomment>
|
||||
<translation>Zeitüberschreitung der Anfrage</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="384"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="385"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"User declined the call"</extracomment>
|
||||
<translation>Der Benutzer hat den Anruf abgelehnt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="388"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="389"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"User was not found"</extracomment>
|
||||
<translation>Benutzer nicht gefunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="392"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="393"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"User is busy"</extracomment>
|
||||
<translation>Der Benutzer ist beschäftigt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="396"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="397"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"User can&apos;t accept your call"</extracomment>
|
||||
<translation>Der Benutzer kann Ihren Anruf nicht annehmen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="400"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="401"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Unavailable service or network error"</extracomment>
|
||||
<translation>Dienst nicht verfügbar oder Netzwerkfehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="404"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="405"/>
|
||||
<source>call_error_do_not_disturb_toast</source>
|
||||
<extracomment>"Le correspondant ne peut être dérangé"</extracomment>
|
||||
<translation>Benutzer kann nicht gestört werden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="408"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="409"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporarily unavailable"</extracomment>
|
||||
<translation>Vorübergehend nicht verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="412"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="413"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Server tiemout"</extracomment>
|
||||
<translation>Server-Zeitüberschreitung</translation>
|
||||
|
|
|
|||
|
|
@ -1014,7 +1014,7 @@
|
|||
<context>
|
||||
<name>CallHistoryListView</name>
|
||||
<message>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="205"/>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="206"/>
|
||||
<source>call_name_accessible_button</source>
|
||||
<extracomment>Call %1</extracomment>
|
||||
<translation>Call %1</translation>
|
||||
|
|
@ -1143,67 +1143,67 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="372"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="373"/>
|
||||
<source>call_error_no_response_toast</source>
|
||||
<extracomment>"No response"</extracomment>
|
||||
<translation>No response</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="376"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="377"/>
|
||||
<source>call_error_forbidden_resource_toast</source>
|
||||
<extracomment>"403 : Forbidden resource"</extracomment>
|
||||
<translation>403 : Forbidden resource</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="380"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="381"/>
|
||||
<source>call_error_not_answered_toast</source>
|
||||
<extracomment>"Request timeout"</extracomment>
|
||||
<translation>Request timeout</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="384"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="385"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"User declined the call"</extracomment>
|
||||
<translation>User declined the call</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="388"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="389"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"User was not found"</extracomment>
|
||||
<translation>User was not found</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="392"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="393"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"User is busy"</extracomment>
|
||||
<translation>User is busy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="396"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="397"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"User can&apos;t accept your call"</extracomment>
|
||||
<translation>User can't accept your call</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="400"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="401"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Unavailable service or network error"</extracomment>
|
||||
<translation>Unavailable service or network error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="404"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="405"/>
|
||||
<source>call_error_do_not_disturb_toast</source>
|
||||
<extracomment>"Le correspondant ne peut être dérangé"</extracomment>
|
||||
<translation>User cannot be disturbed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="408"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="409"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporarily unavailable"</extracomment>
|
||||
<translation>Temporarily unavailable</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="412"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="413"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Server tiemout"</extracomment>
|
||||
<translation>Server tiemout</translation>
|
||||
|
|
|
|||
|
|
@ -1009,7 +1009,7 @@
|
|||
<context>
|
||||
<name>CallHistoryListView</name>
|
||||
<message>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="205"/>
|
||||
<location filename="../../view/Control/Display/Call/CallHistoryListView.qml" line="206"/>
|
||||
<source>call_name_accessible_button</source>
|
||||
<extracomment>Call %1</extracomment>
|
||||
<translation>Appeler %1</translation>
|
||||
|
|
@ -1138,67 +1138,67 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="372"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="373"/>
|
||||
<source>call_error_no_response_toast</source>
|
||||
<extracomment>"No response"</extracomment>
|
||||
<translation>Pas de réponse</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="376"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="377"/>
|
||||
<source>call_error_forbidden_resource_toast</source>
|
||||
<extracomment>"403 : Forbidden resource"</extracomment>
|
||||
<translation>403 : Forbidden resource</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="380"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="381"/>
|
||||
<source>call_error_not_answered_toast</source>
|
||||
<extracomment>"Request timeout"</extracomment>
|
||||
<translation>La requête a expiré</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="384"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="385"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"User declined the call"</extracomment>
|
||||
<translation>Le correspondant a décliné l'appel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="388"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="389"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"User was not found"</extracomment>
|
||||
<translation>Le correspondant n'a pas été trouvé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="392"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="393"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"User is busy"</extracomment>
|
||||
<translation>Le correspondant est occupé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="396"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="397"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"User can&apos;t accept your call"</extracomment>
|
||||
<translation>Le correspondant ne peut accepter votre appel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="400"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="401"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Unavailable service or network error"</extracomment>
|
||||
<translation>Service indisponible ou erreur réseau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="404"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="405"/>
|
||||
<source>call_error_do_not_disturb_toast</source>
|
||||
<extracomment>"Le correspondant ne peut être dérangé"</extracomment>
|
||||
<translation>Le correspondant ne peut être dérangé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="408"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="409"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporarily unavailable"</extracomment>
|
||||
<translation>Temporairement indisponible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="412"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="413"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Server tiemout"</extracomment>
|
||||
<translation>Délai d'attente du serveur dépassé</translation>
|
||||
|
|
|
|||
|
|
@ -300,6 +300,7 @@ void CallModel::changeConferenceVideoLayout(LinphoneEnums::ConferenceLayout layo
|
|||
auto params = coreManager->getCore()->createCallParams(mMonitor);
|
||||
params->setConferenceVideoLayout(LinphoneEnums::toLinphone(layout));
|
||||
params->enableVideo(layout != LinphoneEnums::ConferenceLayout::AudioOnly);
|
||||
params->enableCamera(layout != LinphoneEnums::ConferenceLayout::AudioOnly);
|
||||
if (!params->videoEnabled() && params->screenSharingEnabled()) {
|
||||
params->enableScreenSharing(false); // Deactivate screensharing if going to audio only.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,6 +196,7 @@ ListView {
|
|||
}
|
||||
}
|
||||
BigButton {
|
||||
visible: !modelData.core.isConference || !SettingsCpp.disableMeetingsFeature
|
||||
style: ButtonStyle.noBackground
|
||||
icon.source: AppIcons.phone
|
||||
focus: true
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ FocusScope {
|
|||
]
|
||||
RadioButton {
|
||||
id: radiobutton
|
||||
enabled: mainItem.call && !mainItem.call.core.paused
|
||||
checkOnClick: false
|
||||
color: DefaultStyle.main1_500_main
|
||||
indicatorSize: Utils.getSizeWithScreenRatio(20)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue