diff --git a/linphone-app/assets/languages/cs.ts b/linphone-app/assets/languages/cs.ts index 863e7a246..b3f09533d 100644 --- a/linphone-app/assets/languages/cs.ts +++ b/linphone-app/assets/languages/cs.ts @@ -2332,6 +2332,26 @@ Klikněte zde: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. Přijata hlasová zpráva! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/da.ts b/linphone-app/assets/languages/da.ts index 60a0e490a..b1e9f5b2f 100644 --- a/linphone-app/assets/languages/da.ts +++ b/linphone-app/assets/languages/da.ts @@ -2318,6 +2318,26 @@ Klik her: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/de.ts b/linphone-app/assets/languages/de.ts index 30c79fca1..6f739ec14 100644 --- a/linphone-app/assets/languages/de.ts +++ b/linphone-app/assets/languages/de.ts @@ -2318,6 +2318,26 @@ Klicken Sie hier: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. Sprachnachricht erhalten! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/en.ts b/linphone-app/assets/languages/en.ts index c34a73c56..78a6c30dc 100644 --- a/linphone-app/assets/languages/en.ts +++ b/linphone-app/assets/languages/en.ts @@ -2318,6 +2318,26 @@ Click here: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. Voice message received! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + Voice message + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + Conference invitation + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + Has reacted by %1 to: %2 + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + New reactions received! + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/es.ts b/linphone-app/assets/languages/es.ts index 2a06a48e9..63d8255a5 100644 --- a/linphone-app/assets/languages/es.ts +++ b/linphone-app/assets/languages/es.ts @@ -2318,6 +2318,26 @@ Haga clic aquí: <a href="%1">%1 </a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/fr_FR.ts b/linphone-app/assets/languages/fr_FR.ts index 72a46c6f3..cf406224a 100644 --- a/linphone-app/assets/languages/fr_FR.ts +++ b/linphone-app/assets/languages/fr_FR.ts @@ -2318,6 +2318,26 @@ Cliquez ici : <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. Message vocal reçu! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + Message vocal + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + Invitation + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + a réagi par %1 à: %2 + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + Nouvelles réactions reçues! + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/hu.ts b/linphone-app/assets/languages/hu.ts index ed92ff8cf..4ec330b81 100644 --- a/linphone-app/assets/languages/hu.ts +++ b/linphone-app/assets/languages/hu.ts @@ -2304,6 +2304,26 @@ Kattintson ide: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/it.ts b/linphone-app/assets/languages/it.ts index dd74dafea..5dfe64ce2 100644 --- a/linphone-app/assets/languages/it.ts +++ b/linphone-app/assets/languages/it.ts @@ -2318,6 +2318,26 @@ Clicca: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/ja.ts b/linphone-app/assets/languages/ja.ts index 80ba15599..e85314b7c 100644 --- a/linphone-app/assets/languages/ja.ts +++ b/linphone-app/assets/languages/ja.ts @@ -2304,6 +2304,26 @@ 'Voice message received!' : message to warn the user in a notofication for voice messages. 音声メッセージを受信しました! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/lt.ts b/linphone-app/assets/languages/lt.ts index 6d7d9e0ac..a0284f060 100644 --- a/linphone-app/assets/languages/lt.ts +++ b/linphone-app/assets/languages/lt.ts @@ -2332,6 +2332,26 @@ Spustelėkite čia: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/pt_BR.ts b/linphone-app/assets/languages/pt_BR.ts index 4d674c8b6..bc9346f19 100644 --- a/linphone-app/assets/languages/pt_BR.ts +++ b/linphone-app/assets/languages/pt_BR.ts @@ -2318,6 +2318,26 @@ Clique aqui: <a href="%1">%1 </a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/ru.ts b/linphone-app/assets/languages/ru.ts index c0ee72c9b..9bceba4f6 100644 --- a/linphone-app/assets/languages/ru.ts +++ b/linphone-app/assets/languages/ru.ts @@ -2332,6 +2332,26 @@ 'Voice message received!' : message to warn the user in a notofication for voice messages. Голосовое сообщение получено! + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/sv.ts b/linphone-app/assets/languages/sv.ts index 0b3f819f2..baa778ae2 100644 --- a/linphone-app/assets/languages/sv.ts +++ b/linphone-app/assets/languages/sv.ts @@ -2318,6 +2318,26 @@ Klicka här: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/tr.ts b/linphone-app/assets/languages/tr.ts index 5af771560..b675d9d92 100644 --- a/linphone-app/assets/languages/tr.ts +++ b/linphone-app/assets/languages/tr.ts @@ -2304,6 +2304,26 @@ Buraya tıklayın: <a href="%1">%1</a> 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/uk.ts b/linphone-app/assets/languages/uk.ts index 080872db0..f3005a3f6 100644 --- a/linphone-app/assets/languages/uk.ts +++ b/linphone-app/assets/languages/uk.ts @@ -2332,6 +2332,26 @@ 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/assets/languages/zh_CN.ts b/linphone-app/assets/languages/zh_CN.ts index be907c51a..6a737f55a 100644 --- a/linphone-app/assets/languages/zh_CN.ts +++ b/linphone-app/assets/languages/zh_CN.ts @@ -2304,6 +2304,26 @@ 'Voice message received!' : message to warn the user in a notofication for voice messages. + + voiceMessageReact + 'Voice message' : Voice message type that has been reacted. + + + + conferenceInvitationReact + 'Conference invitation' : Conference invitation message type that has been reacted. + + + + reactionMessage + ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + + + + newReactionsMessages + 'New reactions received!' : Notification that warn the user of new reactions. + + OnlineInstallerDialog diff --git a/linphone-app/src/components/notifier/Notifier.cpp b/linphone-app/src/components/notifier/Notifier.cpp index 7937f7dfa..5786c2378 100644 --- a/linphone-app/src/components/notifier/Notifier.cpp +++ b/linphone-app/src/components/notifier/Notifier.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include @@ -333,15 +334,21 @@ void Notifier::notifyReceivedReactions(const QListgetUtf8Text().c_str(); } }else if( fileContent->isVoiceRecording()) - messageTxt += "Voice message"; - else - messageTxt += "File"; + //: 'Voice message' : Voice message type that has been reacted. + messageTxt += tr("voiceMessageReact"); + else { + QFileInfo file(Utils::coreStringToAppString(fileContent->getFilePath())); + messageTxt += file.fileName(); + } if(messageTxt.isEmpty() && message->hasConferenceInvitationContent()) - messageTxt += "Conference invitation"; - txt = QString("Has reacted by %2 to: %3").arg(Utils::coreStringToAppString(reaction.second->getBody())).arg(messageTxt); + //: 'Conference invitation' : Conference invitation message type that has been reacted. + messageTxt += tr("conferenceInvitationReact"); + //: ''Has reacted by %1 to: %2' : Reaction message. %1=Reaction(emoji), %2=type of message(Voice Message/Conference invitation/ Message text) + txt = tr("reactionMessage").arg(Utils::coreStringToAppString(reaction.second->getBody())).arg(messageTxt); }else - txt = "New message reactions received"; + //: 'New reactions received!' : Notification that warn the user of new reactions. + txt = tr("newReactionsMessages"); map["message"] = txt; map["timelineModel"].setValue(timelineModel.get());