diff --git a/qml/pages/ChatPage.qml b/qml/pages/ChatPage.qml index 25ece74..9568def 100644 --- a/qml/pages/ChatPage.qml +++ b/qml/pages/ChatPage.qml @@ -1097,7 +1097,7 @@ Page { visible: chatPage.hasSendPrivilege("can_send_media_messages") icon.source: "image://theme/icon-m-document" onClicked: { - var picker = pageStack.push("Sailfish.Pickers.DocumentPickerPage"); + var picker = pageStack.push("Sailfish.Pickers.FilePickerPage"); picker.selectedContentPropertiesChanged.connect(function(){ attachmentOptionsRow.visible = false; Debug.log("Selected document: ", picker.selectedContentProperties.filePath ); diff --git a/src/fernschreiberutils.cpp b/src/fernschreiberutils.cpp index 2bb8ec7..e2e8631 100644 --- a/src/fernschreiberutils.cpp +++ b/src/fernschreiberutils.cpp @@ -31,6 +31,9 @@ QString FernschreiberUtils::getMessageShortText(const QVariantMap &messageConten if (contentType == "messageAnimation") { return myself ? tr("sent an animation", "myself") : tr("sent an animation"); } + if (contentType == "messageAudio") { + return myself ? tr("sent an audio", "myself") : tr("sent an audio"); + } if (contentType == "messageVoiceNote") { return myself ? tr("sent a voice note", "myself") : tr("sent a voice note"); } diff --git a/translations/harbour-fernschreiber-de.ts b/translations/harbour-fernschreiber-de.ts index dfbf44f..ea147ad 100644 --- a/translations/harbour-fernschreiber-de.ts +++ b/translations/harbour-fernschreiber-de.ts @@ -756,6 +756,15 @@ sent a self-destructing photo that is expired hat ein selbstzerstörendes Bild gesendet, das abgelaufen ist + + sent an audio + myself + haben eine Audiodatei gesendet + + + sent an audio + hat eine Audiodatei gesendet + ImagePage diff --git a/translations/harbour-fernschreiber-en.ts b/translations/harbour-fernschreiber-en.ts index 1171c25..740b696 100644 --- a/translations/harbour-fernschreiber-en.ts +++ b/translations/harbour-fernschreiber-en.ts @@ -756,6 +756,15 @@ sent a self-destructing photo that is expired sent a self-destructing photo that is expired + + sent an audio + myself + sent an audio + + + sent an audio + sent an audio + ImagePage diff --git a/translations/harbour-fernschreiber-es.ts b/translations/harbour-fernschreiber-es.ts index fcc33c8..cf994ed 100644 --- a/translations/harbour-fernschreiber-es.ts +++ b/translations/harbour-fernschreiber-es.ts @@ -746,6 +746,15 @@ sent a self-destructing photo that is expired envió un foto autodestructivo que está caducado + + sent an audio + myself + envió un audio + + + sent an audio + envió un audio + ImagePage diff --git a/translations/harbour-fernschreiber-fi.ts b/translations/harbour-fernschreiber-fi.ts index a17f1df..e146725 100644 --- a/translations/harbour-fernschreiber-fi.ts +++ b/translations/harbour-fernschreiber-fi.ts @@ -757,6 +757,15 @@ sent a self-destructing photo that is expired lähetti itsetuhoutuvan kuvan joka vanheni + + sent an audio + myself + + + + sent an audio + + ImagePage diff --git a/translations/harbour-fernschreiber-hu.ts b/translations/harbour-fernschreiber-hu.ts index 6e56e19..abba1af 100644 --- a/translations/harbour-fernschreiber-hu.ts +++ b/translations/harbour-fernschreiber-hu.ts @@ -746,6 +746,15 @@ sent a self-destructing photo that is expired + + sent an audio + myself + audiót küldött + + + sent an audio + audiót küldött + ImagePage diff --git a/translations/harbour-fernschreiber-it.ts b/translations/harbour-fernschreiber-it.ts index 391f78b..a407584 100644 --- a/translations/harbour-fernschreiber-it.ts +++ b/translations/harbour-fernschreiber-it.ts @@ -756,6 +756,15 @@ sent a self-destructing photo that is expired ha inviato una foto effimera già scaduta + + sent an audio + myself + + + + sent an audio + + ImagePage diff --git a/translations/harbour-fernschreiber-pl.ts b/translations/harbour-fernschreiber-pl.ts index 2abc25f..56cd633 100644 --- a/translations/harbour-fernschreiber-pl.ts +++ b/translations/harbour-fernschreiber-pl.ts @@ -766,6 +766,15 @@ sent a self-destructing photo that is expired + + sent an audio + myself + + + + sent an audio + + ImagePage diff --git a/translations/harbour-fernschreiber-ru.ts b/translations/harbour-fernschreiber-ru.ts index 2dbb3ae..5216fa3 100644 --- a/translations/harbour-fernschreiber-ru.ts +++ b/translations/harbour-fernschreiber-ru.ts @@ -766,6 +766,15 @@ sent a self-destructing photo that is expired + + sent an audio + myself + отправил(а) аудио + + + sent an audio + отправил(а) аудио + ImagePage diff --git a/translations/harbour-fernschreiber-sv.ts b/translations/harbour-fernschreiber-sv.ts index 317b980..1a0be63 100644 --- a/translations/harbour-fernschreiber-sv.ts +++ b/translations/harbour-fernschreiber-sv.ts @@ -756,6 +756,15 @@ sent a self-destructing photo that is expired skickade ett självförstörande foto som är utgånget + + sent an audio + myself + skickade en ljudfil + + + sent an audio + skickade en ljudfil + ImagePage diff --git a/translations/harbour-fernschreiber-zh_CN.ts b/translations/harbour-fernschreiber-zh_CN.ts index e1d9b75..3e96853 100644 --- a/translations/harbour-fernschreiber-zh_CN.ts +++ b/translations/harbour-fernschreiber-zh_CN.ts @@ -746,6 +746,15 @@ sent a self-destructing photo that is expired 发送过期即自毁视频 + + sent an audio + myself + 发送音频 + + + sent an audio + 发送音频 + ImagePage diff --git a/translations/harbour-fernschreiber.ts b/translations/harbour-fernschreiber.ts index db98832..fcd90b7 100644 --- a/translations/harbour-fernschreiber.ts +++ b/translations/harbour-fernschreiber.ts @@ -756,6 +756,15 @@ sent a self-destructing photo that is expired sent a self-destructing photo that is expired + + sent an audio + myself + sent an audio + + + sent an audio + sent an audio + ImagePage