mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Show url when mailer cannot be found
Update some translations files
This commit is contained in:
parent
3c5a8c5ea3
commit
ba0c4d1c3c
9 changed files with 43 additions and 6 deletions
|
|
@ -1159,6 +1159,10 @@ Server URL ist nicht konfiguriert.</translation>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Entwicklereinstellungen aktivieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1164,6 +1164,11 @@ your friend's SIP address or username.</translation>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Enable developer settings</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translatorcomment>Message when Linphone try to open a mailer to send logs, after uploading them to the server (%1 would be the upload url)</translatorcomment>
|
||||
<translation>Mailer cannot be found but logs were upload at %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1159,6 +1159,10 @@
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1164,6 +1164,10 @@ Tiesiog, įveskite savo draugo SIP adresą ar naudotojo vardą.</translation>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Įjungti kūrėjo nustatymus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1164,6 +1164,10 @@ o endereço SIP ou nome de usuário do seu amigo.</translation>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Habilitar configurações de desenvolvedor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1162,6 +1162,10 @@
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Включить настройки для разработчиков</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1162,6 +1162,10 @@ Klicka här: <a href="%1">%1</a>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Aktivera utvecklarinställningar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1164,6 +1164,10 @@ arkadaşınızın SIP adresini veya kullanıcı adını girin.</translation>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Geliştirici ayarlarını etkinleştir</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -39,12 +39,16 @@ function cleanLogs () {
|
|||
|
||||
function handleLogsUploaded (url) {
|
||||
if (url.length && Utils.startsWith(url, 'http')) {
|
||||
sendLogsBlock.stop('')
|
||||
Qt.openUrlExternally(
|
||||
'mailto:' + encodeURIComponent(Linphone.SettingsModel.logsEmail) +
|
||||
'?subject=' + encodeURIComponent('Desktop Linphone Log') +
|
||||
'&body=' + encodeURIComponent(url)
|
||||
)
|
||||
|
||||
if(Qt.openUrlExternally(
|
||||
'mailto:' + encodeURIComponent(Linphone.SettingsModel.logsEmail) +
|
||||
'?subject=' + encodeURIComponent('Desktop Linphone Log') +
|
||||
'&body=' + encodeURIComponent(url)
|
||||
))
|
||||
sendLogsBlock.stop('')
|
||||
else
|
||||
sendLogsBlock.stop(qsTr('logsMailerFailed').replace('%1', encodeURIComponent(url)))
|
||||
|
||||
} else {
|
||||
sendLogsBlock.stop(qsTr('logsUploadFailed'))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue