diff --git a/Linphone/core/notifier/Notifier.cpp b/Linphone/core/notifier/Notifier.cpp index ea59e22bc..65921e3d7 100644 --- a/Linphone/core/notifier/Notifier.cpp +++ b/Linphone/core/notifier/Notifier.cpp @@ -350,8 +350,9 @@ void Notifier::notifyReceivedCall(const shared_ptr &call) { auto displayName = callLog && callLog->getConferenceInfo() ? Utils::coreStringToAppString(callLog->getConferenceInfo()->getSubject()) : ToolModel::getDisplayName(remoteAddress); - auto remoteAddrString = Utils::coreStringToAppString(remoteAddress->asStringUriOnly()); - + auto remoteAddrString = SettingsModel::getInstance()->getHideSipAddresses() + ? Utils::getUsername(Utils::coreStringToAppString(remoteAddress->asStringUriOnly())) + : Utils::coreStringToAppString(remoteAddress->asStringUriOnly()); // Accessibility alert //: New call from %1 AccessibilityHelper::announceMessage(tr("new_call_alert_accessible_name").arg(displayName)); diff --git a/Linphone/core/notifier/WindowsNotificationBackend.cpp b/Linphone/core/notifier/WindowsNotificationBackend.cpp index a9cc4ef78..052fc5e77 100644 --- a/Linphone/core/notifier/WindowsNotificationBackend.cpp +++ b/Linphone/core/notifier/WindowsNotificationBackend.cpp @@ -137,7 +137,9 @@ void NotificationBackend::sendCallNotification(QVariantMap data) { QString declineIcon = Utils::getIconAsPng(Utils::getAppIcon("endCall").toString()); QString acceptIcon = Utils::getIconAsPng(Utils::getAppIcon("phone").toString()); auto appIcon = Utils::getIconAsPng(Utils::getAppIcon("logo").toString()).toStdWString(); + //: Accept actions.append(ToastButton(tr("accept_button"), "accept", acceptIcon)); + //: Decline actions.append(ToastButton(tr("decline_button"), "decline", declineIcon)); std::wstring wActions; if (!actions.isEmpty()) { diff --git a/Linphone/data/languages/de.ts b/Linphone/data/languages/de.ts index 011e4f269..825cd50b1 100644 --- a/Linphone/data/languages/de.ts +++ b/Linphone/data/languages/de.ts @@ -5371,42 +5371,42 @@ Ablauf: %1 Notifier - + new_call_alert_accessible_name New call from %1 Neuer Anruf von %1 - + new_voice_message 'Voice message received!' : message to warn the user in a notification for voice messages. Sprachnachricht empfangen! - + new_file_message Datei empfangen! - + new_conference_invitation 'Conference invitation received!' : Notification about receiving an invitation to a conference. Konferenzeinladung erhalten! - + new_chat_room_message 'New message received!' Notification that warn the user of a new message. Neue Nachricht empfangen! - + new_chat_room_messages 'New messages received!' Notification that warn the user of new messages. Neue Nachrichten erhalten! - + new_message_alert_accessible_name New message on chatroom %1 Neue Nachricht im Chat %1 diff --git a/Linphone/data/languages/en.ts b/Linphone/data/languages/en.ts index 6e630ca1a..2219bacf2 100644 --- a/Linphone/data/languages/en.ts +++ b/Linphone/data/languages/en.ts @@ -5266,42 +5266,42 @@ Expiration : %1 Notifier - + new_call_alert_accessible_name New call from %1 New call from %1 - + new_voice_message 'Voice message received!' : message to warn the user in a notification for voice messages. Voice message received! - + new_file_message File received! - + new_conference_invitation 'Conference invitation received!' : Notification about receiving an invitation to a conference. Conference invitation received ! - + new_chat_room_message 'New message received!' Notification that warn the user of a new message. New message received! - + new_chat_room_messages 'New messages received!' Notification that warn the user of new messages. New messages received ! - + new_message_alert_accessible_name New message on chatroom %1 New message on chatroom %1 @@ -5685,13 +5685,13 @@ Expiration : %1 meeting_info_cancelled "Réunion annulée" - Meeting canceled + Meeting canceled meetings_list_no_meeting_for_today "Aucune réunion aujourd'hui" - No meeting for today + No meeting for today @@ -5700,43 +5700,43 @@ Expiration : %1 record_list_empty "Aucun enregistrement" - + No record record_list_title "Records" - + Records meetings_search_hint "Rechercher une réunion" - Find meeting + Find meeting list_filter_no_result_found "Aucun résultat…" - + No result… meetings_empty_list "Aucun enregistrement" - No meeting + No meeting meeting_schedule_title "Nouvelle réunion" - New meeting + New meeting create - Create + Create @@ -5746,87 +5746,87 @@ Expiration : %1 information_popup_error_title - + Error meeting_schedule_mandatory_field_not_filled_toast Veuillez saisir un titre et sélectionner au moins un participant - Please fill the title and select at least one participant + Please fill the title and select at least one participant meeting_schedule_duration_error_toast "La fin de la conférence doit être plus récente que son début" - The end of the conference must be more recent than its beginning + The end of the conference must be more recent than its beginning meeting_schedule_creation_in_progress "Création de la réunion en cours …" - Creation in progress… + Creation in progress… meeting_info_created_toast "Réunion planifiée avec succès" - Meeting successfully created + Meeting successfully created meeting_failed_to_schedule_toast "Échec de création de la réunion !" - Failed to create meeting! + Failed to create meeting! save - Save + Save saved "Enregistré" - Saved + Saved meeting_info_updated_toast "Réunion mise à jour" - Meeting updated + Meeting updated meeting_schedule_edit_in_progress "Modification de la réunion en cours…" - Meeting update in progress… + Meeting update in progress… meeting_failed_to_edit_toast "Échec de la modification de la réunion !" - Failed to update meeting ! + Failed to update meeting ! meeting_schedule_add_participants_title "Ajouter des participants" - Add participants + Add participants meeting_schedule_add_participants_apply - Apply + Apply group_call_participant_selected "%n participant(s) sélectionné(s)" - + %1 selected participant %1 selected participants @@ -5835,31 +5835,31 @@ Expiration : %1 meeting_info_delete "Supprimer la réunion" - Delete meeting + Delete meeting meeting_address_copied_to_clipboard_toast "Adresse de la réunion copiée" - Meeting URI copied + Meeting URI copied meeting_schedule_timezone_title "Fuseau horaire" - Timezone + Timezone meeting_info_organizer_label "Organisateur" - Organizer + Organizer meeting_info_join_title "Rejoindre la réunion" - Join meeting + Join meeting diff --git a/Linphone/data/languages/fr.ts b/Linphone/data/languages/fr.ts index 6ba986e57..edeb45545 100644 --- a/Linphone/data/languages/fr.ts +++ b/Linphone/data/languages/fr.ts @@ -5266,42 +5266,42 @@ Expiration : %1 Notifier - + new_call_alert_accessible_name New call from %1 Nouvel appel de %1 - + new_voice_message 'Voice message received!' : message to warn the user in a notification for voice messages. Message vocal reçu ! - + new_file_message Fichier reçu ! - + new_conference_invitation 'Conference invitation received!' : Notification about receiving an invitation to a conference. Nouvelle invitation à une conférence ! - + new_chat_room_message 'New message received!' Notification that warn the user of a new message. Nouveau message reçu ! - + new_chat_room_messages 'New messages received!' Notification that warn the user of new messages. Nouveaux messages reçus ! - + new_message_alert_accessible_name New message on chatroom %1 Nouveau message sur la conversation %1