diff --git a/linphone-app/assets/languages/cs.ts b/linphone-app/assets/languages/cs.ts index 7654375c3..eb5fa0410 100644 --- a/linphone-app/assets/languages/cs.ts +++ b/linphone-app/assets/languages/cs.ts @@ -2260,6 +2260,11 @@ Klikněte zde: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. Pozvánka na konferenci přijata! + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/da.ts b/linphone-app/assets/languages/da.ts index 24dca77d0..fd4fbaaf3 100644 --- a/linphone-app/assets/languages/da.ts +++ b/linphone-app/assets/languages/da.ts @@ -2247,6 +2247,11 @@ Klik her: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/de.ts b/linphone-app/assets/languages/de.ts index a4b52dee5..84b4e44e5 100644 --- a/linphone-app/assets/languages/de.ts +++ b/linphone-app/assets/languages/de.ts @@ -2247,6 +2247,11 @@ Klicken Sie hier: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/en.ts b/linphone-app/assets/languages/en.ts index 0f57bf9ec..820663038 100644 --- a/linphone-app/assets/languages/en.ts +++ b/linphone-app/assets/languages/en.ts @@ -2247,6 +2247,11 @@ Click here: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. Conference invitation received! + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + Voice message received! + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/es.ts b/linphone-app/assets/languages/es.ts index a0ccb5da7..ad58df764 100644 --- a/linphone-app/assets/languages/es.ts +++ b/linphone-app/assets/languages/es.ts @@ -2247,6 +2247,11 @@ Haga clic aquí: <a href="%1">%1 </a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/fr_FR.ts b/linphone-app/assets/languages/fr_FR.ts index be5b4a48f..91a5dab7b 100644 --- a/linphone-app/assets/languages/fr_FR.ts +++ b/linphone-app/assets/languages/fr_FR.ts @@ -2247,6 +2247,11 @@ Cliquez ici : <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. Vous avez reçu une invitation à participer à une conférence ! + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + Message vocal reçu! + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/hu.ts b/linphone-app/assets/languages/hu.ts index bc4395b1c..8591e793f 100644 --- a/linphone-app/assets/languages/hu.ts +++ b/linphone-app/assets/languages/hu.ts @@ -2234,6 +2234,11 @@ Kattintson ide: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/it.ts b/linphone-app/assets/languages/it.ts index dfdad520b..5a6683d23 100644 --- a/linphone-app/assets/languages/it.ts +++ b/linphone-app/assets/languages/it.ts @@ -2247,6 +2247,11 @@ Clicca: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/ja.ts b/linphone-app/assets/languages/ja.ts index 94ff24de5..819755a21 100644 --- a/linphone-app/assets/languages/ja.ts +++ b/linphone-app/assets/languages/ja.ts @@ -976,7 +976,7 @@ missingConferenceURI 'You need to set the conference URI in your account settings to create a conference based chat room.' : Tooltip to warn the user that a setting is missing in its configuration. - + 会議ベースのチャットルームを作成するには、アカウント設定で会議URIを設定する必要があります。 @@ -1004,7 +1004,7 @@ missingConferenceURI 'You need to set the conference URI in your account settings to create a conference based chat room.' : Tooltip to warn the user that a setting is missing in its configuration. - + 会議ベースのチャットルームを作成するには、アカウント設定で会議URIを設定する必要があります。 @@ -2018,7 +2018,7 @@ missingConferenceURI 'You need to set the meeting URI in your account settings to create a meeting based chat room.' : Tooltip to warn the user that a setting is missing in its configuration. - + 会議ベースのチャットルームを作成するには、アカウント設定で会議URIを設定する必要があります。 newConferenceTitle @@ -2234,6 +2234,11 @@ 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/lt.ts b/linphone-app/assets/languages/lt.ts index ec665f764..88378b3f7 100644 --- a/linphone-app/assets/languages/lt.ts +++ b/linphone-app/assets/languages/lt.ts @@ -2260,6 +2260,11 @@ Spustelėkite čia: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/pt_BR.ts b/linphone-app/assets/languages/pt_BR.ts index e5f7558bb..8b2a26452 100644 --- a/linphone-app/assets/languages/pt_BR.ts +++ b/linphone-app/assets/languages/pt_BR.ts @@ -2247,6 +2247,11 @@ Clique aqui: <a href="%1">%1 </a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. Convite para conferência recebido! + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/ru.ts b/linphone-app/assets/languages/ru.ts index 44f507e3e..2a449c64c 100644 --- a/linphone-app/assets/languages/ru.ts +++ b/linphone-app/assets/languages/ru.ts @@ -2260,6 +2260,11 @@ 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/sv.ts b/linphone-app/assets/languages/sv.ts index 9a44cc0cc..24654a041 100644 --- a/linphone-app/assets/languages/sv.ts +++ b/linphone-app/assets/languages/sv.ts @@ -2247,6 +2247,11 @@ Klicka här: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/tr.ts b/linphone-app/assets/languages/tr.ts index c1c3326ff..07927c99b 100644 --- a/linphone-app/assets/languages/tr.ts +++ b/linphone-app/assets/languages/tr.ts @@ -2234,6 +2234,11 @@ Buraya tıklayın: <a href="%1">%1</a> 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/uk.ts b/linphone-app/assets/languages/uk.ts index 41f037709..75db5e053 100644 --- a/linphone-app/assets/languages/uk.ts +++ b/linphone-app/assets/languages/uk.ts @@ -2260,6 +2260,11 @@ 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/zh_CN.ts b/linphone-app/assets/languages/zh_CN.ts index fe6d7165b..678e360ce 100644 --- a/linphone-app/assets/languages/zh_CN.ts +++ b/linphone-app/assets/languages/zh_CN.ts @@ -2234,6 +2234,11 @@ 'Conference invitation received!' : Notification about receiving an invitation to a conference. + + newVoiceMessage + 'Voice message received!' : message to warn the user in a notofication for voice messages. + + OnlineInstallerDialog diff --git a/linphone-app/src/components/notifier/Notifier.cpp b/linphone-app/src/components/notifier/Notifier.cpp index 498377128..e1e8236a1 100644 --- a/linphone-app/src/components/notifier/Notifier.cpp +++ b/linphone-app/src/components/notifier/Notifier.cpp @@ -281,12 +281,16 @@ void Notifier::notifyReceivedMessages (const list message = messages.front(); if( messages.size() == 1){ - if(! message->getFileTransferInformation() ){ + auto fileContent = message->getFileTransferInformation(); + if(!fileContent ){ foreach(auto content, message->getContents()){ if(content->isText()) txt += content->getUtf8Text().c_str(); } - }else + }else if( fileContent->isVoiceRecording()) + //: 'Voice message received!' : message to warn the user in a notofication for voice messages. + txt = tr("newVoiceMessage"); + else txt = tr("newFileMessage"); if(txt.isEmpty() && message->hasConferenceInvitationContent()) //: 'Conference invitation received!' : Notification about receiving an invitation to a conference.