From 487dadb33f5438d0c4585f99a83b626d5fc1278f Mon Sep 17 00:00:00 2001 From: Gaelle Braud Date: Wed, 17 Dec 2025 09:14:18 +0100 Subject: [PATCH] do not store core object in qml files --- Linphone/data/languages/de.ts | 238 +++++++++--------- Linphone/data/languages/en.ts | 238 +++++++++--------- Linphone/data/languages/fr.ts | 238 +++++++++--------- .../Container/Contact/ContactLayout.qml | 4 +- .../Container/Contact/PresenceNoteLayout.qml | 4 +- .../Control/Display/Chat/ChatListView.qml | 1 + Linphone/view/Control/Display/Chat/Event.qml | 9 +- .../view/Control/Display/Chat/FileView.qml | 2 +- .../Display/Contact/ContactStatusPopup.qml | 4 +- .../view/Control/Display/Contact/Presence.qml | 28 +-- .../Contact/PresenceSetCustomStatus.qml | 10 +- .../Display/Contact/PresenceStatusItem.qml | 4 +- .../Control/Tool/Prototype/CallPrototype.qml | 1 - .../view/Page/Form/Contact/ContactEdition.qml | 3 +- .../Form/Settings/AccountSettingsPage.qml | 2 +- .../Page/Layout/Chat/ConversationInfos.qml | 2 +- .../Layout/Chat/GroupChatInfoParticipants.qml | 17 +- Linphone/view/Page/Layout/Main/MainLayout.qml | 2 +- .../AccountSettingsParametersLayout.qml | 27 +- .../Layout/Settings/CarddavSettingsLayout.qml | 3 +- .../ContactsSettingsProviderLayout.qml | 6 +- .../view/Page/Main/Meeting/MeetingPage.qml | 3 +- .../view/Page/Window/Call/CallsWindow.qml | 5 +- 23 files changed, 427 insertions(+), 424 deletions(-) diff --git a/Linphone/data/languages/de.ts b/Linphone/data/languages/de.ts index 5479889b..4fee98ea 100644 --- a/Linphone/data/languages/de.ts +++ b/Linphone/data/languages/de.ts @@ -408,35 +408,35 @@ Fehler - + information_popup_success_title Erfolg - + contact_editor_saved_changes_toast "Modifications sauvegardés" Änderungen gespeichert - + information_popup_error_title Fehler - + account_settings_mwi_uri_title "MWI server address" Voicemail-Server-URI - + mwi_server_address_tooltip Address of the MWI server that sends SIP notifications to display new voicemail indicators - + account_settings_voicemail_uri_title "Voicemail address" Voicemail-URI @@ -447,17 +447,17 @@ Transport - + account_settings_registrar_uri_title Registrar URI - + account_settings_sip_proxy_url_title Ausgehende Proxy-Server-URL - + login_proxy_server_url_tooltip "If this field is filled, the outbound proxy will be enabled automatically. Leave it empty to disable it." Wenn dieses Feld ausgefüllt ist, wird der ausgehende Proxy automatisch aktiviert. Lassen Sie es leer, um ihn zu deaktivieren. @@ -468,55 +468,55 @@ Ausgehender Proxy-Server - + voicemail_address_tooltip SIP address dialed when clicking the voicemail button - + account_settings_stun_server_url_title "Adresse du serveur STUN" STUN-Server-Adresse - + account_settings_enable_ice_title "Activer ICE" ICE aktivieren - + account_settings_avpf_title "AVPF" AVPF - + account_settings_bundle_mode_title "Mode bundle" Bundle-Modus - + account_settings_expire_title "Expiration (en seconde)" Ablaufzeit (in Sekunden) - + account_settings_conference_factory_uri_title "URI du serveur de conversations" Konferenz-Factory-URI - + account_settings_audio_video_conference_factory_uri_title "URI du serveur de réunions" Video-Konferenz-Factory-URI - + account_settings_lime_server_url_title "URL du serveur d’échange de clés de chiffrement" Lime-Server-URL @@ -1712,7 +1712,7 @@ - + call_action_show_dialer "Pavé numérique" Wähltastatur @@ -1737,7 +1737,7 @@ - + call_action_go_to_settings "Paramètres" Einstellungen @@ -1851,127 +1851,127 @@ Anruf pausieren + - call_action_transfer_call "Transférer l'appel" Anruf weiterleiten + - call_action_start_new_call_hint "Initier un nouvel appel" Neuen Anruf starten + - call_display_call_list_hint "Afficher la liste d'appels" Anrufliste anzeigen + - call_deactivate_video_hint "Désactiver la vidéo" "Activer la vidéo" Video deaktivieren + - call_activate_video_hint Video aktivieren - - + + call_activate_microphone "Activer le micro" Mikrofon aktivieren + - call_deactivate_microphone "Désactiver le micro" Mikrofon stummschalten + - call_share_screen_hint Partager l'écran… Bildschirm teilen… + - call_open_chat_hint Open chat… Chat öffnen… + - call_rise_hand_hint "Lever la main" Hand heben + - call_send_reaction_hint "Envoyer une réaction" Reaktion senden + - call_manage_participants_hint "Gérer les participants" Teilnehmer verwalten + - call_more_options_hint "Plus d'options…" Weitere Optionen… - + call_action_change_conference_layout "Modifier la disposition" Layout ändern - + call_action_full_screen "Mode Plein écran" Vollbildmodus - + call_action_stop_recording "Terminer l'enregistrement" Aufnahme beenden - + call_action_record "Enregistrer l'appel" Anruf aufnehmen - + call_activate_speaker_hint "Activer le son" Lautsprecher aktivieren - + call_deactivate_speaker_hint "Désactiver le son" Lautsprecher stummschalten @@ -2003,63 +2003,63 @@ Überprüfen Sie, ob alle Informationen eingegeben wurden. - + information_popup_synchronization_success_title Erfolg - + settings_contacts_carddav_synchronization_success_message "Le carnet d'adresse CardDAV est synchronisé." Das CardDAV-Adressbuch ist synchronisiert. - + settings_contacts_carddav_popup_synchronization_error_title Fehler - + settings_contacts_carddav_popup_synchronization_error_message "Erreur de synchronisation : %1" Synchronisierungsfehler! - + settings_contacts_delete_carddav_server_title "Supprimer le carnet d'adresse CardDAV ?" CardDAV Adressbuch löschen? - + sip_address_display_name Nom d'affichage Anzeigename - + settings_contacts_carddav_server_url_title "URL du serveur" Server-URL - + username Benutzername - + password Passwort - + settings_contacts_carddav_realm_title Domaine d’authentification Authentifizierungsbereich - + settings_contacts_carddav_use_as_default_title "Stocker ici les contacts nouvellement crées" Neu erstellte Kontakte hier speichern @@ -2132,65 +2132,65 @@ ChatListView - + chat_message_is_writing_info %1 is writing… %1 schreibt… - + chat_message_draft_sending_text Entwurf: %1 - + chat_room_delete "Delete" Löschen - + chat_room_mute Stummschalten - + chat_room_unmute "Mute" Stummschaltung aufheben - + chat_room_mark_as_read "Mark as read" Als gelesen markieren - + chat_room_leave "leave" Verlassen - + chat_list_leave_chat_popup_title leave the conversation ? Chat verlassen? - + chat_list_leave_chat_popup_message You will not be able to send or receive messages in this conversation anymore. Do You want to continue ? „Sie können in diesem Chat keine Nachrichten mehr senden oder empfangen. Möchten Sie fortfahren? - + chat_list_delete_chat_popup_title Delete the conversation ? Chat löschen? - + chat_list_delete_chat_popup_message This conversation and all its messages will be deleted. Do You want to continue ? Dieser Chat und alle seine Nachrichten werden gelöscht. Möchten Sie fortfahren? @@ -2779,20 +2779,20 @@ Stellen Sie sicher, dass Sie keine sensiblen Informationen teilen! ContactEdition - + contact_editor_title "Modifier contact" Kontakt bearbeiten - + save "Enregistrer Speichern - - + + contact_editor_dialog_cancel_change_message "Les changements seront annulés. Souhaitez-vous continuer ?" Änderungen werden verworfen. Möchten Sie fortfahren? @@ -2803,126 +2803,126 @@ Stellen Sie sicher, dass Sie keine sensiblen Informationen teilen! Bitte geben Sie einen Vornamen ein - + close_accessible_name Close %1 Schließe %1 - + contact_editor_mandatory_first_name_or_company_not_filled "Veuillez saisir un prénom ou un nom d'entreprise" Bitte geben Sie einen Vornamen oder einen Firmennamen ein - + contact_editor_mandatory_address_or_number_not_filled "Veuillez saisir une adresse ou un numéro de téléphone" Bitte geben Sie eine SIP-Adresse oder Telefonnummer ein - + contact_editor_add_image_label "Ajouter une image" Bild hinzufügen - + contact_details_edit "Modifier" Bearbeiten - + edit_contact_image_accessible_name "Edit contact image" Kontaktbild bearbeiten - + contact_details_delete "Supprimer" Löschen - + delete_contact_image_accessible_name "Delete contact image" Kontaktbild löschen - - + + contact_editor_first_name "Prénom" Vorname - - + + contact_editor_last_name "Nom" Nachname - - + + contact_editor_company "Entreprise" Unternehmen - - + + contact_editor_job_title "Fonction" Beruf - - + + sip_address SIP-Adresse - + sip_address_number_accessible_name "SIP address number %1" SIP-Adressen-Nummer %1 - + remove_sip_address_accessible_name "Remove SIP address %1" Lösche SIP-Adresse %1 - + new_sip_address_accessible_name "New SIP address" Neue SIP Adresse - + phone_number_number_accessible_name "Phone number number %1" Telefonnummer %1 - + remove_phone_number_accessible_name Remove phone number %1 Lösche Telefonnummer %1 - + new_phone_number_accessible_name "New phone number" Neue Telefonnummer - - + + phone "Téléphone" Telefon @@ -3409,18 +3409,18 @@ Stellen Sie sicher, dass Sie keine sensiblen Informationen teilen! ContactsSettingsProviderLayout - + information_popup_success_title Erfolg - + information_popup_changes_saved "Les changements ont été sauvegardés" Änderungen wurden gespeichert - + add "Ajouter" Hinzufügen @@ -3916,55 +3916,55 @@ Ablauf: %1 GroupChatInfoParticipants - + group_infos_participant_is_admin Admin - + group_infos_manage_participants_title "Gérer des participants" Manage Participants - + menu_see_existing_contact "Show contact" Kontakt anzeigen - + menu_add_address_to_contacts "Add to contacts" Zu Kontakten hinzufügen - + group_infos_give_admin_rights Administratorrechte erteilen - + group_infos_remove_admin_rights Administratorrechte entfernen - + group_infos_copy_sip_address SIP-Adresse kopieren - + group_infos_remove_participant Teilnehmer entfernen - + group_infos_remove_participants_toast_title Teilnehmer entfernen? - + group_infos_remove_participants_toast_message Teilnehmer wird aus dem Chat entfernt. @@ -4753,7 +4753,7 @@ Ablauf: %1 - + information_popup_error_title Fehler @@ -4796,38 +4796,38 @@ Ablauf: %1 Speichern - - + + saved "Enregistré" Gespeichert - + meeting_info_updated_toast "Réunion mise à jour" Besprechung geändert - + meeting_schedule_edit_in_progress "Modification de la réunion en cours…" Bersprechung wird geändert… - + meeting_failed_to_edit_toast "Échec de la modification de la réunion !" Besprechung konnte nicht geändert werden! - + meeting_schedule_add_participants_title "Ajouter des participants" Teilnehmer hinzufügen - + meeting_schedule_add_participants_apply Anwenden @@ -4836,7 +4836,7 @@ Ablauf: %1 Hinzufügen - + group_call_participant_selected "%n participant(s) sélectionné(s)" @@ -4845,31 +4845,31 @@ Ablauf: %1 - + meeting_info_delete "Supprimer la réunion" Besprechung löschen - + meeting_address_copied_to_clipboard_toast "Adresse de la réunion copiée" Besprechungs-URI kopiert - + meeting_schedule_timezone_title "Fuseau horaire" Zeitzone - + meeting_info_organizer_label "Organisateur" Organisator - + meeting_info_join_title "Rejoindre la réunion" Besprechung beitreten diff --git a/Linphone/data/languages/en.ts b/Linphone/data/languages/en.ts index 8393326f..dbaecdc3 100644 --- a/Linphone/data/languages/en.ts +++ b/Linphone/data/languages/en.ts @@ -394,35 +394,35 @@ Account settings - + information_popup_success_title Success - + contact_editor_saved_changes_toast "Modifications sauvegardés" Changes saved - + information_popup_error_title Error - + account_settings_mwi_uri_title "MWI server address" Voicemail server URI - + mwi_server_address_tooltip Address of the MWI server that sends SIP notifications to display new voicemail indicators Address of the MWI server that sends SIP notifications to display new voicemail indicators - + account_settings_voicemail_uri_title "Voicemail address" Voicemail URI @@ -433,71 +433,71 @@ Transport - + voicemail_address_tooltip SIP address dialed when clicking the voicemail button SIP address dialed when clicking the voicemail button - + account_settings_registrar_uri_title Registrar URI - + account_settings_sip_proxy_url_title Outbound SIP Proxy URI - + login_proxy_server_url_tooltip "If this field is filled, the outbound proxy will be enabled automatically. Leave it empty to disable it." If this field is filled, the outbound proxy will be enabled automatically. Leave it empty to disable it. - + account_settings_stun_server_url_title "Adresse du serveur STUN" STUN server address - + account_settings_enable_ice_title "Activer ICE" Enable ICE - + account_settings_avpf_title "AVPF" AVPF - + account_settings_bundle_mode_title "Mode bundle" Bundle mode - + account_settings_expire_title "Expiration (en seconde)" Expiration (in seconds) - + account_settings_conference_factory_uri_title "URI du serveur de conversations" Conference factory URI - + account_settings_audio_video_conference_factory_uri_title "URI du serveur de réunions" Video conference factory uri - + account_settings_lime_server_url_title "URL du serveur d’échange de clés de chiffrement" Lime server URL @@ -1675,7 +1675,7 @@ - + call_action_show_dialer "Pavé numérique" Dialer @@ -1700,7 +1700,7 @@ - + call_action_go_to_settings "Paramètres" Settings @@ -1814,127 +1814,127 @@ Pause call + - call_action_transfer_call "Transférer l'appel" Transfer call + - call_action_start_new_call_hint "Initier un nouvel appel" Start new call + - call_display_call_list_hint "Afficher la liste d'appels" View call list + - call_deactivate_video_hint "Désactiver la vidéo" "Activer la vidéo" Turn off video + - call_activate_video_hint Enable video - - + + call_activate_microphone "Activer le micro" Activate microphone + - call_deactivate_microphone "Désactiver le micro" Mute microphone + - call_share_screen_hint Partager l'écran… Share screen… + - call_open_chat_hint Open chat… Open conversation… + - call_rise_hand_hint "Lever la main" Rise hand + - call_send_reaction_hint "Envoyer une réaction" Send reaction + - call_manage_participants_hint "Gérer les participants" Manage participants + - call_more_options_hint "Plus d'options…" More options… - + call_action_change_conference_layout "Modifier la disposition" Change layout - + call_action_full_screen "Mode Plein écran" Full screen mode - + call_action_stop_recording "Terminer l'enregistrement" End recording - + call_action_record "Enregistrer l'appel" Record call - + call_activate_speaker_hint "Activer le son" Activate speaker - + call_deactivate_speaker_hint "Désactiver le son" Mute speaker @@ -1966,63 +1966,63 @@ Check that all information has been entered. - + information_popup_synchronization_success_title Success - + settings_contacts_carddav_synchronization_success_message "Le carnet d'adresse CardDAV est synchronisé." The CardDAV address book is synchronized. - + settings_contacts_carddav_popup_synchronization_error_title Error - + settings_contacts_carddav_popup_synchronization_error_message "Erreur de synchronisation : %1" Synchronization error : %1 - + settings_contacts_delete_carddav_server_title "Supprimer le carnet d'adresse CardDAV ?" Delete CardDAV address book? - + sip_address_display_name Nom d'affichage Display name - + settings_contacts_carddav_server_url_title "URL du serveur" Server URL - + username Username - + password Password - + settings_contacts_carddav_realm_title Domaine d’authentification Authentication realm - + settings_contacts_carddav_use_as_default_title "Stocker ici les contacts nouvellement crées" Store newly created contacts here @@ -2095,65 +2095,65 @@ ChatListView - + chat_message_is_writing_info %1 is writing… %1 is writing… - + chat_message_draft_sending_text Draft : %1 - + chat_room_delete "Delete" Delete - + chat_room_mute Mute - + chat_room_unmute "Mute" Unmute - + chat_room_mark_as_read "Mark as read" Mark as read - + chat_room_leave "leave" Leave - + chat_list_leave_chat_popup_title leave the conversation ? Leave the conversation ? - + chat_list_leave_chat_popup_message You will not be able to send or receive messages in this conversation anymore. Do You want to continue ? You will not be able to send or receive messages in this conversation anymore. Do You want to continue ? - + chat_list_delete_chat_popup_title Delete the conversation ? Delete the conversation ? - + chat_list_delete_chat_popup_message This conversation and all its messages will be deleted. Do You want to continue ? This conversation and all its messages will be deleted. Do You want to continue ? @@ -2712,145 +2712,145 @@ Only your correspondent can decrypt them. ContactEdition - + contact_editor_title "Modifier contact" Edit contact - + save "Enregistrer Save - - + + contact_editor_dialog_cancel_change_message "Les changements seront annulés. Souhaitez-vous continuer ?" Changes will be discarded. Do you wish to continue? - + close_accessible_name Close %1 Close %1 - + contact_editor_mandatory_first_name_or_company_not_filled "Veuillez saisir un prénom ou un nom d'entreprise" Please enter a first name or a company name - + contact_editor_mandatory_address_or_number_not_filled "Veuillez saisir une adresse ou un numéro de téléphone" Please enter a SIP address or phone number - + contact_editor_add_image_label "Ajouter une image" Add an image - + contact_details_edit "Modifier" Edit - + edit_contact_image_accessible_name "Edit contact image" Edit contact image - + contact_details_delete "Supprimer" Delete - + delete_contact_image_accessible_name "Delete contact image" Delete contact image - - + + contact_editor_first_name "Prénom" First name - - + + contact_editor_last_name "Nom" Last name - - + + contact_editor_company "Entreprise" Company - - + + contact_editor_job_title "Fonction" Job - - + + sip_address SIP address - + sip_address_number_accessible_name "SIP address number %1" SIP address number %1 - + remove_sip_address_accessible_name "Remove SIP address %1" Remove SIP address %1 - + new_sip_address_accessible_name "New SIP address" New SIP address - + phone_number_number_accessible_name "Phone number number %1" Phone number number %1 - + remove_phone_number_accessible_name Remove phone number %1 Remove phone number %1 - + new_phone_number_accessible_name "New phone number" New phone number - - + + phone "Téléphone" Phone @@ -3317,18 +3317,18 @@ Only your correspondent can decrypt them. ContactsSettingsProviderLayout - + information_popup_success_title Success - + information_popup_changes_saved "Les changements ont été sauvegardés" Changes have been saved - + add "Ajouter" Add @@ -3819,55 +3819,55 @@ Expiration : %1 GroupChatInfoParticipants - + group_infos_manage_participants_title "Gérer des participants" Manage participants - + group_infos_participant_is_admin Admin - + menu_see_existing_contact "Show contact" Show contact - + menu_add_address_to_contacts "Add to contacts" Add to contacts - + group_infos_give_admin_rights Give admin rights - + group_infos_remove_admin_rights Remove admin rights - + group_infos_copy_sip_address Copy SIP Address - + group_infos_remove_participant Remove participant - + group_infos_remove_participants_toast_title Remove participant ? - + group_infos_remove_participants_toast_message Participant will be removed from chat room. @@ -4651,7 +4651,7 @@ Expiration : %1 - + information_popup_error_title Error @@ -4694,43 +4694,43 @@ Expiration : %1 Save - - + + saved "Enregistré" Saved - + meeting_info_updated_toast "Réunion mise à jour" Meeting updated - + meeting_schedule_edit_in_progress "Modification de la réunion en cours…" Meeting update in progress… - + meeting_failed_to_edit_toast "Échec de la modification de la réunion !" Failed to update meeting ! - + meeting_schedule_add_participants_title "Ajouter des participants" Add participants - + meeting_schedule_add_participants_apply Apply - + group_call_participant_selected "%n participant(s) sélectionné(s)" @@ -4739,31 +4739,31 @@ Expiration : %1 - + meeting_info_delete "Supprimer la réunion" Delete meeting - + meeting_address_copied_to_clipboard_toast "Adresse de la réunion copiée" Meeting URI copied - + meeting_schedule_timezone_title "Fuseau horaire" Timezone - + meeting_info_organizer_label "Organisateur" Organizer - + meeting_info_join_title "Rejoindre la réunion" Join meeting diff --git a/Linphone/data/languages/fr.ts b/Linphone/data/languages/fr.ts index 8004c0ad..b7fdca90 100644 --- a/Linphone/data/languages/fr.ts +++ b/Linphone/data/languages/fr.ts @@ -394,105 +394,105 @@ Paramètres de compte - + information_popup_success_title Succès - + contact_editor_saved_changes_toast "Modifications sauvegardés" Modifications sauvegardés - + information_popup_error_title Erreur - + account_settings_mwi_uri_title "MWI server address" URI du serveur MWI (Message Waiting Indicator) - + mwi_server_address_tooltip Address of the MWI server that sends SIP notifications to display new voicemail indicators Adresse du serveur MWI qui envoie les notifications SIP pour afficher l'indicateur de nouveaux messages vocaux - + account_settings_voicemail_uri_title "Voicemail address" URI de la messagerie vocale - + voicemail_address_tooltip SIP address dialed when clicking the voicemail button Adresse SIP appelée lors du clic sur le bouton messagerie - + account_settings_registrar_uri_title Registrar URI - + account_settings_sip_proxy_url_title URL du proxy SIP sortant - + login_proxy_server_url_tooltip "If this field is filled, the outbound proxy will be enabled automatically. Leave it empty to disable it." Si ce champ est rempli, l’outbound proxy sera activé automatiquement. Laissez-le vide pour le désactiver. - + account_settings_stun_server_url_title "Adresse du serveur STUN" Adresse du serveur STUN - + account_settings_enable_ice_title "Activer ICE" Activer ICE - + account_settings_avpf_title "AVPF" AVPF - + account_settings_bundle_mode_title "Mode bundle" Mode bundle - + account_settings_expire_title "Expiration (en seconde)" Expiration (en seconde) - + account_settings_conference_factory_uri_title "URI du serveur de conversations" URI du serveur de conversations - + account_settings_audio_video_conference_factory_uri_title "URI du serveur de réunions" URI du serveur de réunions - + account_settings_lime_server_url_title "URL du serveur d’échange de clés de chiffrement" URL du serveur d’échange de clés de chiffrement @@ -1670,7 +1670,7 @@ - + call_action_show_dialer "Pavé numérique" Pavé numérique @@ -1695,7 +1695,7 @@ - + call_action_go_to_settings "Paramètres" Paramètres @@ -1809,127 +1809,127 @@ Mettre l'appel en pause + - call_action_transfer_call "Transférer l'appel" Transférer l'appel + - call_action_start_new_call_hint "Initier un nouvel appel" Initier un nouvel appel + - call_display_call_list_hint "Afficher la liste d'appels" Afficher la liste d'appels + - call_deactivate_video_hint "Désactiver la vidéo" "Activer la vidéo" Désactiver la vidéo + - call_activate_video_hint Activer la vidéo - - + + call_activate_microphone "Activer le micro" Activer le micro + - call_deactivate_microphone "Désactiver le micro" Désactiver le micro + - call_share_screen_hint Partager l'écran… Partager l'écran… + - call_open_chat_hint Open chat… Ouvrir le chat… + - call_rise_hand_hint "Lever la main" Lever la main + - call_send_reaction_hint "Envoyer une réaction" Envoyer une réaction + - call_manage_participants_hint "Gérer les participants" Gérer les participants + - call_more_options_hint "Plus d'options…" Plus d'options… - + call_action_change_conference_layout "Modifier la disposition" Modifier la disposition - + call_action_full_screen "Mode Plein écran" Mode Plein écran - + call_action_stop_recording "Terminer l'enregistrement" Terminer l'enregistrement - + call_action_record "Enregistrer l'appel" Enregistrer l'appel - + call_activate_speaker_hint "Activer le son" Activer le son - + call_deactivate_speaker_hint "Désactiver le son" Désactiver le son @@ -1961,63 +1961,63 @@ Vérifiez que toutes les informations ont été saisies. - + information_popup_synchronization_success_title Succès - + settings_contacts_carddav_synchronization_success_message "Le carnet d'adresse CardDAV est synchronisé." Le carnet d'adresse CardDAV est synchronisé. - + settings_contacts_carddav_popup_synchronization_error_title Erreur - + settings_contacts_carddav_popup_synchronization_error_message "Erreur de synchronisation : %1" Erreur de synchronisation : %1 - + settings_contacts_delete_carddav_server_title "Supprimer le carnet d'adresse CardDAV ?" Supprimer le carnet d'adresse CardDAV ? - + sip_address_display_name Nom d'affichage Nom d'affichage - + settings_contacts_carddav_server_url_title "URL du serveur" URL du serveur - + username Nom d'utilisateur - + password Mot de passe - + settings_contacts_carddav_realm_title Domaine d’authentification Domaine d’authentification - + settings_contacts_carddav_use_as_default_title "Stocker ici les contacts nouvellement crées" Stocker ici les contacts nouvellement crées @@ -2090,65 +2090,65 @@ ChatListView - + chat_message_is_writing_info %1 is writing… %1 est en train d'écrire… - + chat_message_draft_sending_text Brouillon : %1 - + chat_room_delete "Delete" Supprimer - + chat_room_mute Mettre en sourdine - + chat_room_unmute "Mute" Enlever la sourdine - + chat_room_mark_as_read "Mark as read" Marquer comme lu - + chat_room_leave "leave" Quitter la conversation - + chat_list_leave_chat_popup_title leave the conversation ? Quitter la conversation ? - + chat_list_leave_chat_popup_message You will not be able to send or receive messages in this conversation anymore. Do You want to continue ? Vous ne pourrez plus envoyer ou recevoir de messages dans cette conversation. Souhaitez-vous continuer ? - + chat_list_delete_chat_popup_title Delete the conversation ? Supprimer la conversation ? - + chat_list_delete_chat_popup_message This conversation and all its messages will be deleted. Do You want to continue ? La conversation et tous ses messages seront supprimés. Souhaitez-vous continuer ? @@ -2707,145 +2707,145 @@ en bout. Seul votre correspondant peut les déchiffrer. ContactEdition - + contact_editor_title "Modifier contact" Modifier contact - + save "Enregistrer Enregistrer - - + + contact_editor_dialog_cancel_change_message "Les changements seront annulés. Souhaitez-vous continuer ?" Les changements seront annulés. Souhaitez-vous continuer ? - + close_accessible_name Close %1 Fermer %1 - + contact_editor_mandatory_first_name_or_company_not_filled "Veuillez saisir un prénom ou un nom d'entreprise" Veuillez saisir un prénom ou un nom d'entreprise - + contact_editor_mandatory_address_or_number_not_filled "Veuillez saisir une adresse ou un numéro de téléphone" Veuillez saisir une adresse ou un numéro de téléphone - + contact_editor_add_image_label "Ajouter une image" Ajouter une image - + contact_details_edit "Modifier" Modifier - + edit_contact_image_accessible_name "Edit contact image" - + contact_details_delete "Supprimer" Supprimer - + delete_contact_image_accessible_name "Delete contact image" Supprimer l'image du contact - - + + contact_editor_first_name "Prénom" Prénom - - + + contact_editor_last_name "Nom" Nom - - + + contact_editor_company "Entreprise" Entreprise - - + + contact_editor_job_title "Fonction" Fonction - - + + sip_address Adresse SIP - + sip_address_number_accessible_name "SIP address number %1" Adresse SIP numéro %1 - + remove_sip_address_accessible_name "Remove SIP address %1" Retirer l'adresse SIP %1 - + new_sip_address_accessible_name "New SIP address" Nouvelle adresse SIP - + phone_number_number_accessible_name "Phone number number %1" Numéro de téléphone numéro - + remove_phone_number_accessible_name Remove phone number %1 Retirer le numéro de téléphone %1 - + new_phone_number_accessible_name "New phone number" Nouveau numéro de téléphone - - + + phone "Téléphone" Téléphone @@ -3312,18 +3312,18 @@ en bout. Seul votre correspondant peut les déchiffrer. ContactsSettingsProviderLayout - + information_popup_success_title Succès - + information_popup_changes_saved "Les changements ont été sauvegardés" Les changements ont été sauvegardés - + add "Ajouter" Ajouter @@ -3814,55 +3814,55 @@ Expiration : %1 GroupChatInfoParticipants - + group_infos_manage_participants_title "Gérer des participants" Gérer les participants - + group_infos_participant_is_admin Admin - + menu_see_existing_contact "Show contact" Voir le contact - + menu_add_address_to_contacts "Add to contacts" Ajouter aux contacts - + group_infos_give_admin_rights Donner les droits admins - + group_infos_remove_admin_rights Retirer les droits admins - + group_infos_copy_sip_address Copier l’adresse SIP - + group_infos_remove_participant Retirer le participant - + group_infos_remove_participants_toast_title Retirer le participant ? - + group_infos_remove_participants_toast_message La participant sere retiré de la conversation @@ -4646,7 +4646,7 @@ Expiration : %1 - + information_popup_error_title Erreur @@ -4689,43 +4689,43 @@ Expiration : %1 Enregistrer - - + + saved "Enregistré" Enregistré - + meeting_info_updated_toast "Réunion mise à jour" Réunion mise à jour - + meeting_schedule_edit_in_progress "Modification de la réunion en cours…" Modification de la réunion en cours… - + meeting_failed_to_edit_toast "Échec de la modification de la réunion !" Échec de la modification de la réunion ! - + meeting_schedule_add_participants_title "Ajouter des participants" Ajouter des participants - + meeting_schedule_add_participants_apply Appliquer - + group_call_participant_selected "%n participant(s) sélectionné(s)" @@ -4734,31 +4734,31 @@ Expiration : %1 - + meeting_info_delete "Supprimer la réunion" Supprimer la réunion - + meeting_address_copied_to_clipboard_toast "Adresse de la réunion copiée" Adresse de la réunion copiée - + meeting_schedule_timezone_title "Fuseau horaire" Fuseau horaire - + meeting_info_organizer_label "Organisateur" Organisateur - + meeting_info_join_title "Rejoindre la réunion" Rejoindre la réunion diff --git a/Linphone/view/Control/Container/Contact/ContactLayout.qml b/Linphone/view/Control/Container/Contact/ContactLayout.qml index 52b1abb9..49512124 100644 --- a/Linphone/view/Control/Container/Contact/ContactLayout.qml +++ b/Linphone/view/Control/Container/Contact/ContactLayout.qml @@ -71,7 +71,7 @@ ColumnLayout { } PresenceNoteLayout { visible: contact?.core.presenceNote.length > 0 && mainItem.useVerticalLayout - friendCore: contact?.core || null + friendGui: contact Layout.preferredWidth: Utils.getSizeWithScreenRatio(412) Layout.preferredHeight: Utils.getSizeWithScreenRatio(85) } @@ -96,7 +96,7 @@ ColumnLayout { visible: contact && contact.core.presenceNote.length > 0 && !mainItem.useVerticalLayout PresenceNoteLayout { anchors.centerIn: parent - friendCore: contact?.core || null + friendGui: contact width: Utils.getSizeWithScreenRatio(412) height: Utils.getSizeWithScreenRatio(85) } diff --git a/Linphone/view/Control/Container/Contact/PresenceNoteLayout.qml b/Linphone/view/Control/Container/Contact/PresenceNoteLayout.qml index 4e8c8a77..5d05f105 100644 --- a/Linphone/view/Control/Container/Contact/PresenceNoteLayout.qml +++ b/Linphone/view/Control/Container/Contact/PresenceNoteLayout.qml @@ -10,7 +10,7 @@ import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils Rectangle { id: mainItem - property var friendCore + property FriendGui friendGui color: DefaultStyle.grey_0 radius: Utils.getSizeWithScreenRatio(20) border.color: DefaultStyle.main2_200 @@ -45,7 +45,7 @@ Rectangle { Text { font: Typography.p3 color: DefaultStyle.main2_500_main - text: mainItem.friendCore?.presenceNote || "" + text: mainItem.friendGui?.core.presenceNote || "" wrapMode: Text.Wrap Layout.fillWidth: true } diff --git a/Linphone/view/Control/Display/Chat/ChatListView.qml b/Linphone/view/Control/Display/Chat/ChatListView.qml index 9e283f86..7dc26c86 100644 --- a/Linphone/view/Control/Display/Chat/ChatListView.qml +++ b/Linphone/view/Control/Display/Chat/ChatListView.qml @@ -45,6 +45,7 @@ ListView { } onModelAboutToBeReset: { loading = true + } onModelReset: { loading = false diff --git a/Linphone/view/Control/Display/Chat/Event.qml b/Linphone/view/Control/Display/Chat/Event.qml index eaa13114..7ca779bc 100644 --- a/Linphone/view/Control/Display/Chat/Event.qml +++ b/Linphone/view/Control/Display/Chat/Event.qml @@ -5,11 +5,10 @@ import UtilsCpp import "qrc:/qt/qml/Linphone/view/Control/Tool/Helper/utils.js" as Utils RowLayout { - id: mainLayout + id: mainItem height: Utils.getSizeWithScreenRatio(40) visible: eventLogCore.handled property EventLogGui eventLogGui - property var eventLogCore: eventLogGui.core Rectangle { height: 1 @@ -24,15 +23,15 @@ RowLayout { Text { id: message - text: eventLogCore.eventDetails + text: mainItem.eventLogGui.core.eventDetails font: Typography.p3 - color: eventLogCore.important ? DefaultStyle.danger_500_main : DefaultStyle.main2_500_main + color: mainItem.eventLogGui.core.important ? DefaultStyle.danger_500_main : DefaultStyle.main2_500_main horizontalAlignment: Text.AlignHCenter Layout.alignment: Qt.AlignHCenter } Text { id: date - text: UtilsCpp.toDateTimeString(eventLogCore.timestamp) + text: UtilsCpp.toDateTimeString(mainItem.eventLogGui.core.timestamp) font: Typography.p3 color: DefaultStyle.main2_500_main horizontalAlignment: Text.AlignHCenter diff --git a/Linphone/view/Control/Display/Chat/FileView.qml b/Linphone/view/Control/Display/Chat/FileView.qml index f9725f99..494dad6c 100644 --- a/Linphone/view/Control/Display/Chat/FileView.qml +++ b/Linphone/view/Control/Display/Chat/FileView.qml @@ -42,7 +42,7 @@ Item { Connections { enabled: contentGui - target: contentGui.core + target: contentGui ? contentGui.core : null function onMsgStateChanged(state) { mainItem.isTransferring = state === LinphoneEnums.ChatMessageState.StateFileTransferInProgress || state === LinphoneEnums.ChatMessageState.StateInProgress diff --git a/Linphone/view/Control/Display/Contact/ContactStatusPopup.qml b/Linphone/view/Control/Display/Contact/ContactStatusPopup.qml index c209ca22..6d2f0509 100644 --- a/Linphone/view/Control/Display/Contact/ContactStatusPopup.qml +++ b/Linphone/view/Control/Display/Contact/ContactStatusPopup.qml @@ -73,7 +73,7 @@ PopupButton { visible: !presenceAndRegistrationItem.editCustomStatus anchors.fill: parent anchors.margins: Utils.getSizeWithScreenRatio(20) - accountCore: mainItem.account.core + accountGui: mainItem.account onSetCustomStatusClicked: { presenceAndRegistrationItem.editCustomStatus = true } @@ -84,7 +84,7 @@ PopupButton { visible: presenceAndRegistrationItem.editCustomStatus anchors.fill: parent anchors.margins: Utils.getSizeWithScreenRatio(20) - accountCore: mainItem.account.core + accountGui: mainItem.account onVisibleChanged: { if (!visible) { presenceAndRegistrationItem.editCustomStatus = false diff --git a/Linphone/view/Control/Display/Contact/Presence.qml b/Linphone/view/Control/Display/Contact/Presence.qml index 9ce75ef8..feefca37 100644 --- a/Linphone/view/Control/Display/Contact/Presence.qml +++ b/Linphone/view/Control/Display/Contact/Presence.qml @@ -8,20 +8,20 @@ import 'qrc:/qt/qml/Linphone/view/Style/buttonStyle.js' as ButtonStyle ColumnLayout { id: mainItem - property var accountCore + property var accountGui signal setCustomStatusClicked signal isSet spacing: Utils.getSizeWithScreenRatio(8) - PresenceStatusItem { presence: LinphoneEnums.Presence.Online; accountCore: mainItem.accountCore; onClick: mainItem.isSet()} - PresenceStatusItem { presence: LinphoneEnums.Presence.Away; accountCore: mainItem.accountCore; onClick: mainItem.isSet()} - PresenceStatusItem { presence: LinphoneEnums.Presence.Busy; accountCore: mainItem.accountCore; onClick: mainItem.isSet()} - PresenceStatusItem { presence: LinphoneEnums.Presence.DoNotDisturb; accountCore: mainItem.accountCore; onClick: mainItem.isSet()} - PresenceStatusItem { presence: LinphoneEnums.Presence.Offline; accountCore: mainItem.accountCore; onClick: mainItem.isSet()} + PresenceStatusItem { presence: LinphoneEnums.Presence.Online; accountGui: mainItem.accountGui; onClick: mainItem.isSet()} + PresenceStatusItem { presence: LinphoneEnums.Presence.Away; accountGui: mainItem.accountGui; onClick: mainItem.isSet()} + PresenceStatusItem { presence: LinphoneEnums.Presence.Busy; accountGui: mainItem.accountGui; onClick: mainItem.isSet()} + PresenceStatusItem { presence: LinphoneEnums.Presence.DoNotDisturb; accountGui: mainItem.accountGui; onClick: mainItem.isSet()} + PresenceStatusItem { presence: LinphoneEnums.Presence.Offline; accountGui: mainItem.accountGui; onClick: mainItem.isSet()} RowLayout { spacing: 0 - visible: accountCore.explicitPresence != LinphoneEnums.Presence.Undefined + visible: accountGui.core.explicitPresence != LinphoneEnums.Presence.Undefined Layout.alignment: Qt.AlignLeft Layout.topMargin: Utils.getSizeWithScreenRatio(3) Layout.bottomMargin: Utils.getSizeWithScreenRatio(3) @@ -39,7 +39,7 @@ ColumnLayout { icon.width: Utils.getSizeWithScreenRatio(17) icon.height: Utils.getSizeWithScreenRatio(17) icon.source: AppIcons.reloadArrow - onClicked: accountCore.resetToAutomaticPresence() + onClicked: accountGui.core.resetToAutomaticPresence() } } HorizontalBar { @@ -53,16 +53,16 @@ ColumnLayout { Layout.alignment: Qt.AlignLeft Text { font: Typography.p1 - text: accountCore.presenceNote.length > 0 ? accountCore.presenceNote : qsTr("contact_presence_custom_status") + text: accountGui.core.presenceNote.length > 0 ? accountGui.core.presenceNote : qsTr("contact_presence_custom_status") color: DefaultStyle.main2_600 wrapMode: Text.WordWrap - Layout.preferredWidth: Utils.getSizeWithScreenRatio(accountCore.presenceNote.length == 0 ? 175 : 230) + Layout.preferredWidth: Utils.getSizeWithScreenRatio(accountGui.core.presenceNote.length == 0 ? 175 : 230) } Item { Layout.fillWidth: true } SmallButton { - visible: accountCore.presenceNote.length == 0 + visible: accountGui.core.presenceNote.length == 0 style: ButtonStyle.secondary text: qsTr("contact_presence_button_set_custom_status") onClicked: { @@ -71,7 +71,7 @@ ColumnLayout { } } RowLayout { - visible: accountCore.presenceNote.length > 0 + visible: accountGui.core.presenceNote.length > 0 spacing: Utils.getSizeWithScreenRatio(10) Item { Layout.fillWidth: true @@ -85,10 +85,10 @@ ColumnLayout { } SmallButton { style: ButtonStyle.secondary - visible: accountCore.presenceNote.length > 0 + visible: accountGui.core.presenceNote.length > 0 text: qsTr("contact_presence_button_delete_custom_status") onClicked: { - mainItem.accountCore.presenceNote = "" + mainItem.accountGui.core.presenceNote = "" } } } diff --git a/Linphone/view/Control/Display/Contact/PresenceSetCustomStatus.qml b/Linphone/view/Control/Display/Contact/PresenceSetCustomStatus.qml index 8d14de16..9d009ed9 100644 --- a/Linphone/view/Control/Display/Contact/PresenceSetCustomStatus.qml +++ b/Linphone/view/Control/Display/Contact/PresenceSetCustomStatus.qml @@ -10,7 +10,7 @@ Column { id: mainItem spacing: Utils.getSizeWithScreenRatio(20) anchors.centerIn: parent - property var accountCore + property var accountGui signal isSet Text { @@ -39,9 +39,9 @@ Column { Layout.fillHeight: true Layout.fillWidth: true property string previoustext: "" - text: mainItem.accountCore.presenceNote + text: mainItem.accountGui.core.presenceNote onTextChanged: { - if (statusMessage.text.length > accountCore.maxPresenceNoteSize) { + if (statusMessage.text.length > accountGui.core.maxPresenceNoteSize) { statusMessage.text = previoustext statusMessage.cursorPosition = statusMessage.text.length } else { @@ -54,7 +54,7 @@ Column { } Text { Layout.fillWidth: true - text: statusMessage.text.length + " / " + accountCore.maxPresenceNoteSize + text: statusMessage.text.length + " / " + accountGui.core.maxPresenceNoteSize font: Typography.p1 color: DefaultStyle.main2_400 horizontalAlignment: Text.AlignRight @@ -71,7 +71,7 @@ Column { text: qsTr("contact_presence_button_save_custom_status") enabled: statusMessage.text.length > 0 onClicked: { - mainItem.accountCore.presenceNote = statusMessage.text + mainItem.accountGui.core.presenceNote = statusMessage.text mainItem.isSet() } } diff --git a/Linphone/view/Control/Display/Contact/PresenceStatusItem.qml b/Linphone/view/Control/Display/Contact/PresenceStatusItem.qml index 7d2668a6..f030283a 100644 --- a/Linphone/view/Control/Display/Contact/PresenceStatusItem.qml +++ b/Linphone/view/Control/Display/Contact/PresenceStatusItem.qml @@ -10,7 +10,7 @@ import "qrc:/qt/qml/Linphone/view/Style/buttonStyle.js" as ButtonStyle IconLabelButton { id: mainItem - property var accountCore + property var accountGui property var presence signal click() @@ -29,7 +29,7 @@ IconLabelButton { padding: 0 onClicked: { - mainItem.accountCore.presence = mainItem.presence + mainItem.accountGui.core.presence = mainItem.presence mainItem.click() } } diff --git a/Linphone/view/Control/Tool/Prototype/CallPrototype.qml b/Linphone/view/Control/Tool/Prototype/CallPrototype.qml index 5553271d..95b902a0 100644 --- a/Linphone/view/Control/Tool/Prototype/CallPrototype.qml +++ b/Linphone/view/Control/Tool/Prototype/CallPrototype.qml @@ -93,7 +93,6 @@ Window { height: 20 width: accountList.width Text{ - text: modelData.core.identityAddress } } diff --git a/Linphone/view/Page/Form/Contact/ContactEdition.qml b/Linphone/view/Page/Form/Contact/ContactEdition.qml index 902058ee..a734c42e 100644 --- a/Linphone/view/Page/Form/Contact/ContactEdition.qml +++ b/Linphone/view/Page/Form/Contact/ContactEdition.qml @@ -15,7 +15,8 @@ MainRightPanel { property FriendGui contact Connections { - target: contact.core + enabled: contact + target: contact? contact.core : null function onIsSavedChanged() { if (contact.core.isSaved) { mainItem.closeEdition(contact.core.defaultFullAddress) diff --git a/Linphone/view/Page/Form/Settings/AccountSettingsPage.qml b/Linphone/view/Page/Form/Settings/AccountSettingsPage.qml index 742d7ee9..b9e3a2b3 100644 --- a/Linphone/view/Page/Form/Settings/AccountSettingsPage.qml +++ b/Linphone/view/Page/Form/Settings/AccountSettingsPage.qml @@ -20,7 +20,7 @@ AbstractSettingsMenu { {title: qsTr("settings_account_title"), layout: "AccountSettingsParametersLayout", model: account} ] Connections { - target: account.core + target: account ? account.core : null function onRemoved() { accountRemoved() } } onGoBackRequested: if (!account.core.isSaved) { diff --git a/Linphone/view/Page/Layout/Chat/ConversationInfos.qml b/Linphone/view/Page/Layout/Chat/ConversationInfos.qml index 04d60570..8b60b284 100644 --- a/Linphone/view/Page/Layout/Chat/ConversationInfos.qml +++ b/Linphone/view/Page/Layout/Chat/ConversationInfos.qml @@ -274,7 +274,7 @@ ColumnLayout { onManageParticipantsRequested: mainItem.manageParticipantsRequested() } Connections { - target: mainItem.chatGui.core + target: mainItem.chatGui ? mainItem.chatGui.core : null onParticipantsChanged : { // hacky reload to update intric height participantLoader.active = false participantLoader.active = true diff --git a/Linphone/view/Page/Layout/Chat/GroupChatInfoParticipants.qml b/Linphone/view/Page/Layout/Chat/GroupChatInfoParticipants.qml index d5531865..57557352 100644 --- a/Linphone/view/Page/Layout/Chat/GroupChatInfoParticipants.qml +++ b/Linphone/view/Page/Layout/Chat/GroupChatInfoParticipants.qml @@ -65,12 +65,11 @@ ColumnLayout { Layout.rightMargin: Utils.getSizeWithScreenRatio(10) spacing: Utils.getSizeWithScreenRatio(10) property var participantGui: modelData - property var participantCore: participantGui.core - property var contactObj: UtilsCpp.findFriendByAddress(participantCore.sipAddress) + property var contactObj: UtilsCpp.findFriendByAddress(participantGui.core.sipAddress) property var contact: contactObj?.value || null Avatar { contact: contactObj?.value || null - displayNameVal: participantCore.displayName + displayNameVal: participantGui.core.displayName Layout.preferredWidth: Utils.getSizeWithScreenRatio(45) Layout.preferredHeight: Utils.getSizeWithScreenRatio(45) } @@ -83,13 +82,13 @@ ColumnLayout { Layout.alignment: Qt.AlignVCenter Text { - text: participantCore.displayName + text: participantGui.core.displayName font: Typography.p1 color: DefaultStyle.main2_700 } Text { - visible: participantCore.isAdmin + visible: participantGui.core.isAdmin text: qsTr("group_infos_participant_is_admin") font: Typography.p3 color: DefaultStyle.main2_500_main @@ -131,15 +130,15 @@ ColumnLayout { onClicked: { detailOptions.close() if (contact && contact.core.isAppFriend) - UtilsCpp.getMainWindow().displayContactPage(participantCore.sipAddress) + UtilsCpp.getMainWindow().displayContactPage(participantGui.core.sipAddress) else - UtilsCpp.getMainWindow().displayCreateContactPage("",participantCore.sipAddress) + UtilsCpp.getMainWindow().displayCreateContactPage("",participantGui.core.sipAddress) } } IconLabelButton { visible: mainItem.isGroupEditable Layout.fillWidth: true - text: participantCore.isAdmin ? qsTr("group_infos_remove_admin_rights") : qsTr("group_infos_give_admin_rights") + text: participantGui.core.isAdmin ? qsTr("group_infos_remove_admin_rights") : qsTr("group_infos_give_admin_rights") icon.source: AppIcons.profile icon.width: Utils.getSizeWithScreenRatio(32) icon.height: Utils.getSizeWithScreenRatio(32) @@ -156,7 +155,7 @@ ColumnLayout { icon.height: Utils.getSizeWithScreenRatio(32) onClicked: { detailOptions.close() - UtilsCpp.copyToClipboard(participantCore.sipAddress) + UtilsCpp.copyToClipboard(participantGui.core.sipAddress) } } Rectangle { diff --git a/Linphone/view/Page/Layout/Main/MainLayout.qml b/Linphone/view/Page/Layout/Main/MainLayout.qml index 06948429..9d3cd9c5 100644 --- a/Linphone/view/Page/Layout/Main/MainLayout.qml +++ b/Linphone/view/Page/Layout/Main/MainLayout.qml @@ -341,7 +341,7 @@ Item { model: accountProxy delegate: Item { Connections { - target: modelData.core + target: modelData ? modelData.core : null function onShowMwiChanged() { voicemail.updateCumulatedMwi(); } diff --git a/Linphone/view/Page/Layout/Settings/AccountSettingsParametersLayout.qml b/Linphone/view/Page/Layout/Settings/AccountSettingsParametersLayout.qml index af2743f9..fa5c35b7 100644 --- a/Linphone/view/Page/Layout/Settings/AccountSettingsParametersLayout.qml +++ b/Linphone/view/Page/Layout/Settings/AccountSettingsParametersLayout.qml @@ -31,7 +31,8 @@ AbstractSettingsLayout { } onUndo: account.core.undo() Connections { - target: account.core + enabled: account + target: account ? account.core : null function onIsSavedChanged() { console.log("saved changed", account.core.isSaved) if (account.core.isSaved) { @@ -72,7 +73,7 @@ AbstractSettingsLayout { Connections { enabled: account - target: account.core + target: account ? account.core : null function onMwiServerAddressChanged() { if (mwiServerAddressField.text != mwiServerAddressField.propertyOwnerGui.core[mwiServerAddressField.propertyName]) mwiServerAddressField.text = mwiServerAddressField.propertyOwnerGui.core[mwiServerAddressField.propertyName] @@ -92,7 +93,7 @@ AbstractSettingsLayout { Connections { enabled: account - target: account.core + target: account ? account.core : null function onVoicemailAddressChanged() { if (voicemailAddressField.text != voicemailAddressField.propertyOwnerGui.core[voicemailAddressField.propertyName]) voicemailAddressField.text = voicemailAddressField.propertyOwnerGui.core[voicemailAddressField.propertyName] @@ -119,7 +120,7 @@ AbstractSettingsLayout { toValidate: true Connections { enabled: account - target: account.core + target: account ? account.core : null function onRegistrarUriChanged() { if (registrarUriField.text != registrarUriField.propertyOwnerGui.core[registrarUriField.propertyName]) registrarUriField.text = registrarUriField.propertyOwnerGui.core[registrarUriField.propertyName] @@ -138,7 +139,7 @@ AbstractSettingsLayout { toValidate: true Connections { enabled: account - target: account.core + target: account ? account.core : null function onOutboundProxyUriChanged() { if (outboundProxyUriField.text != outboundProxyUriField.propertyOwnerGui.core[outboundProxyUriField.propertyName]) outboundProxyUriField.text = outboundProxyUriField.propertyOwnerGui.core[outboundProxyUriField.propertyName] @@ -155,7 +156,7 @@ AbstractSettingsLayout { toValidate: true Connections { enabled: account - target: account.core + target: account ? account.core : null function onStunServerChanged() { if (stunServerField.text != stunServerField.propertyOwnerGui.core[stunServerField.propertyName]) stunServerField.text = stunServerField.propertyOwnerGui.core[stunServerField.propertyName] @@ -170,7 +171,7 @@ AbstractSettingsLayout { propertyOwnerGui: account Connections { enabled: account - target: account.core + target: account ? account.core : null function onIceEnabledChanged() { if (iceSwitch.checked != iceSwitch.propertyOwnerGui.core[iceSwitch.propertyName]) iceSwitch.checked = iceSwitch.propertyOwnerGui.core[iceSwitch.propertyName] @@ -185,7 +186,7 @@ AbstractSettingsLayout { propertyOwnerGui: account Connections { enabled: account - target: account.core + target: account ? account.core : null function onAvpfEnabledChanged() { if (avpfSwitch.checked != avpfSwitch.propertyOwnerGui.core[avpfSwitch.propertyName]) avpfSwitch.checked = avpfSwitch.propertyOwnerGui.core[avpfSwitch.propertyName] @@ -200,7 +201,7 @@ AbstractSettingsLayout { propertyOwnerGui: account Connections { enabled: account - target: account.core + target: account ? account.core : null function onBundleModeEnabledChanged() { if (bundleModeSwitch.checked != bundleModeSwitch.propertyOwnerGui.core[bundleModeSwitch.propertyName]) bundleModeSwitch.checked = bundleModeSwitch.propertyOwnerGui.core[bundleModeSwitch.propertyName] @@ -220,7 +221,7 @@ AbstractSettingsLayout { } toValidate: true Connections { - target: account.core + target: account ? account.core : null function onExpireChanged() { if (expireField.text != expireField.propertyOwnerGui.core[expireField.propertyName]) expireField.text = expireField.propertyOwnerGui.core[expireField.propertyName] @@ -236,7 +237,7 @@ AbstractSettingsLayout { propertyOwnerGui: account toValidate: true Connections { - target: account.core + target: account ? account.core : null function onConferenceFactoryAddressChanged() { if (conferenceFactoryUriField.text != conferenceFactoryUriField.propertyOwnerGui.core[conferenceFactoryUriField.propertyName]) conferenceFactoryUriField.text = conferenceFactoryUriField.propertyOwnerGui.core[conferenceFactoryUriField.propertyName] @@ -252,7 +253,7 @@ AbstractSettingsLayout { propertyOwnerGui: account toValidate: true Connections { - target: account.core + target: account ? account.core : null function onAudioVideoConferenceFactoryAddressChanged() { if (audioVideoConfUriField.text != audioVideoConfUriField.propertyOwnerGui.core[audioVideoConfUriField.propertyName]) audioVideoConfUriField.text = audioVideoConfUriField.propertyOwnerGui.core[audioVideoConfUriField.propertyName] @@ -268,7 +269,7 @@ AbstractSettingsLayout { propertyOwnerGui: account toValidate: true Connections { - target: account.core + target: account ? account.core : null function onLimeServerUrlChanged() { if (limeServerUrlField.text != limeServerUrlField.propertyOwnerGui.core[limeServerUrlField.propertyName]) limeServerUrlField.text = limeServerUrlField.propertyOwnerGui.core[limeServerUrlField.propertyName] diff --git a/Linphone/view/Page/Layout/Settings/CarddavSettingsLayout.qml b/Linphone/view/Page/Layout/Settings/CarddavSettingsLayout.qml index ae7bf839..12324fb9 100644 --- a/Linphone/view/Page/Layout/Settings/CarddavSettingsLayout.qml +++ b/Linphone/view/Page/Layout/Settings/CarddavSettingsLayout.qml @@ -34,7 +34,8 @@ AbstractSettingsLayout { } } Connections { - target: carddavGui.core + enabled: carddavGui + target: carddavGui ? carddavGui.core : null function onSaved(success, message) { if (success) UtilsCpp.showInformationPopup(qsTr("information_popup_synchronization_success_title"), diff --git a/Linphone/view/Page/Layout/Settings/ContactsSettingsProviderLayout.qml b/Linphone/view/Page/Layout/Settings/ContactsSettingsProviderLayout.qml index 51d53147..0a9571bf 100644 --- a/Linphone/view/Page/Layout/Settings/ContactsSettingsProviderLayout.qml +++ b/Linphone/view/Page/Layout/Settings/ContactsSettingsProviderLayout.qml @@ -79,7 +79,8 @@ RowLayout { } Binding { id: binding - target: modelData.core + enabled: modelData + target: modelData ? modelData.core : null property: "enabled" value: switchButton.checked when: false @@ -94,7 +95,8 @@ RowLayout { } } Connections { - target: modelData.core + enabled: modelData + target: modelData ? modelData.core : null function onSavedChanged() { if (modelData.core.saved) UtilsCpp.showInformationPopup(qsTr("information_popup_success_title"), //: "Les changements ont été sauvegardés" diff --git a/Linphone/view/Page/Main/Meeting/MeetingPage.qml b/Linphone/view/Page/Main/Meeting/MeetingPage.qml index 78194646..31712123 100644 --- a/Linphone/view/Page/Main/Meeting/MeetingPage.qml +++ b/Linphone/view/Page/Main/Meeting/MeetingPage.qml @@ -498,7 +498,8 @@ AbstractMainPage { } } Connections { - target: conferenceEdit.conferenceInfoGui.core + enabled: conferenceEdit.conferenceInfoGui + target: conferenceEdit.conferenceInfoGui ? conferenceEdit.conferenceInfoGui.core : null ignoreUnknownSignals: true function onSaveFailed() { UtilsCpp.getMainWindow().closeLoadingPopup() diff --git a/Linphone/view/Page/Window/Call/CallsWindow.qml b/Linphone/view/Page/Window/Call/CallsWindow.qml index e1766170..af062fb3 100644 --- a/Linphone/view/Page/Window/Call/CallsWindow.qml +++ b/Linphone/view/Page/Window/Call/CallsWindow.qml @@ -169,7 +169,7 @@ AbstractWindow { Connections { enabled: !!mainWindow.call - target: mainWindow.call && mainWindow.call.core + target: mainWindow.call ? mainWindow.call.core : null function onSecurityUpdated() { if (mainWindow.call.core.encryption === LinphoneEnums.MediaEncryption.Zrtp) { if (call.core.tokenVerified) { @@ -1349,8 +1349,7 @@ AbstractWindow { pressedColor: enabled ? DefaultStyle.success_500_main : DefaultStyle.grey_600 hoveredColor: enabled ? DefaultStyle.main2_400 : DefaultStyle.grey_600 onClicked: { - mainWindow.call.core.lSetPaused( - !mainWindow.call.core.paused) + mainWindow.call.core.lSetPaused(!mainWindow.call.core.paused) } KeyNavigation.backtab: moreOptionsButton }