mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
show error message when remote provisioning failed on start
This commit is contained in:
parent
40df729a88
commit
cdb477853b
7 changed files with 200 additions and 146 deletions
|
|
@ -426,6 +426,21 @@ void App::initCore() {
|
|||
CoreModel::create("", mLinphoneThread);
|
||||
if (mParser->isSet("verbose")) QtLogger::enableVerbose(true);
|
||||
if (mParser->isSet("qt-logs-only")) QtLogger::enableQtOnly(true);
|
||||
|
||||
// Config error message
|
||||
connect(CoreModel::getInstance().get(), &CoreModel::configuringStatus, this,
|
||||
[this](const std::shared_ptr<linphone::Core> &core, linphone::ConfiguringState status,
|
||||
const std::string &message) {
|
||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||
QMetaObject::invokeMethod(thread(), [this, message]() {
|
||||
mustBeInMainThread(log().arg(Q_FUNC_INFO));
|
||||
//: Error
|
||||
Utils::showInformationPopup(
|
||||
tr("info_popup_error_title"),
|
||||
tr("info_popup_configuration_failed_message").arg(Utils::coreStringToAppString(message)),
|
||||
false);
|
||||
});
|
||||
});
|
||||
QMetaObject::invokeMethod(
|
||||
mLinphoneThread->getThreadId(),
|
||||
[this, settings = mSettings]() mutable {
|
||||
|
|
@ -546,6 +561,20 @@ void App::initCore() {
|
|||
window->show();
|
||||
} else lInfo() << log().arg("Stay minimized");
|
||||
firstOpen = false;
|
||||
lInfo() << log().arg("Checking remote provisioning");
|
||||
if (CoreModel::getInstance()->mConfigStatus == linphone::ConfiguringState::Failed) {
|
||||
QMetaObject::invokeMethod(thread(), [this]() {
|
||||
auto message = CoreModel::getInstance()->mConfigMessage;
|
||||
//: not reachable
|
||||
if (message.isEmpty()) message = tr("configuration_error_detail");
|
||||
mustBeInMainThread(log().arg(Q_FUNC_INFO));
|
||||
//: Error
|
||||
Utils::showInformationPopup(
|
||||
tr("info_popup_error_title"),
|
||||
//: Remote provisioning failed : %1
|
||||
tr("info_popup_configuration_failed_message").arg(message), false);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
|
|
|
|||
|
|
@ -519,68 +519,88 @@
|
|||
<translation>Möchten Sie die Remote-Konfiguration von dieser Adresse herunterladen und anwenden?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="776"/>
|
||||
<location filename="../../core/App.cpp" line="439"/>
|
||||
<location filename="../../core/App.cpp" line="573"/>
|
||||
<source>info_popup_error_title</source>
|
||||
<extracomment>Error</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="440"/>
|
||||
<location filename="../../core/App.cpp" line="575"/>
|
||||
<source>info_popup_configuration_failed_message</source>
|
||||
<extracomment>Remote provisioning failed : %1</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="569"/>
|
||||
<source>configuration_error_detail</source>
|
||||
<extracomment>not reachable</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="805"/>
|
||||
<source>application_description</source>
|
||||
<extracomment>"A free and open source SIP video-phone."</extracomment>
|
||||
<translation>Ein kostenloses Open-Source SIP Video-Telefon.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="778"/>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<source>command_line_arg_order</source>
|
||||
<extracomment>"Send an order to the application towards a command line"</extracomment>
|
||||
<translation>Kommandozeilen-Befehl an die Anwendung schicken</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="782"/>
|
||||
<location filename="../../core/App.cpp" line="811"/>
|
||||
<source>command_line_option_show_help</source>
|
||||
<translation>Zeige Hilfe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="787"/>
|
||||
<location filename="../../core/App.cpp" line="816"/>
|
||||
<source>command_line_option_show_app_version</source>
|
||||
<translation type="unfinished">Zeige App-Version</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="794"/>
|
||||
<location filename="../../core/App.cpp" line="824"/>
|
||||
<source>command_line_option_config_to_fetch</source>
|
||||
<extracomment>"Specify the linphone configuration file to be fetched. It will be merged with the current configuration."</extracomment>
|
||||
<translation>Abzurufende Linphone-Konfigurationsdatei angeben. Sie wird mit der aktuellen Konfiguration zusammengeführt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="796"/>
|
||||
<location filename="../../core/App.cpp" line="826"/>
|
||||
<source>command_line_option_config_to_fetch_arg</source>
|
||||
<extracomment>"URL, path or file"</extracomment>
|
||||
<translation>URL, Pfad oder Datei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="801"/>
|
||||
<location filename="../../core/App.cpp" line="831"/>
|
||||
<source>command_line_option_minimized</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="804"/>
|
||||
<location filename="../../core/App.cpp" line="834"/>
|
||||
<source>command_line_option_log_to_stdout</source>
|
||||
<translation>Debug-Informationen auf der Standardausgabe ausgeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<location filename="../../core/App.cpp" line="837"/>
|
||||
<source>command_line_option_print_app_logs_only</source>
|
||||
<extracomment>"Print only logs from the application"</extracomment>
|
||||
<translation>Nur Anwendungs-Logs ausgeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>hide_action</source>
|
||||
<extracomment>"Cacher" "Afficher"</extracomment>
|
||||
<translation>Ausblenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>show_action</source>
|
||||
<translation>Zeigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1182"/>
|
||||
<location filename="../../core/App.cpp" line="1212"/>
|
||||
<source>quit_action</source>
|
||||
<extracomment>"Quitter"</extracomment>
|
||||
<translation>Beenden</translation>
|
||||
|
|
@ -639,64 +659,64 @@
|
|||
<translation>Die Aufnahme wurde in der folgenden Datei gespeichert: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="392"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="417"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="393"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="418"/>
|
||||
<source>call_stats_codec_label</source>
|
||||
<extracomment>"Codec: %1 / %2 kHz"</extracomment>
|
||||
<translation>Codec: %1 / %2 kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="396"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="420"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="397"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="421"/>
|
||||
<source>call_stats_bandwidth_label</source>
|
||||
<extracomment>"Bande passante : %1 %2 kbits/s %3 %4 kbits/s"</extracomment>
|
||||
<translation>Bandbreite: %1 %2 kbits/s %3 %4 kbits/s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="402"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="425"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="403"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="426"/>
|
||||
<source>call_stats_loss_rate_label</source>
|
||||
<extracomment>"Taux de perte: %1% %2%"</extracomment>
|
||||
<translation>Verlustquote: %1% %2%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="407"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="408"/>
|
||||
<source>call_stats_jitter_buffer_label</source>
|
||||
<extracomment>"Tampon de gigue: %1 ms"</extracomment>
|
||||
<translation>Jitter-Puffer: %1 ms</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="434"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="435"/>
|
||||
<source>call_stats_resolution_label</source>
|
||||
<extracomment>"Définition vidéo : %1 %2 %3 %4"</extracomment>
|
||||
<translation>Videoauflösung: %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="440"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="441"/>
|
||||
<source>call_stats_fps_label</source>
|
||||
<extracomment>"FPS : %1 %2 %3 %4"</extracomment>
|
||||
<translation>FPS : %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="653"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="654"/>
|
||||
<source>media_encryption_dtls</source>
|
||||
<extracomment>DTLS</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="656"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="657"/>
|
||||
<source>media_encryption_none</source>
|
||||
<extracomment>None</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="659"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="660"/>
|
||||
<source>media_encryption_srtp</source>
|
||||
<extracomment>SRTP</extracomment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="662"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="663"/>
|
||||
<source>media_encryption_post_quantum</source>
|
||||
<extracomment>"ZRTP - Post quantique"</extracomment>
|
||||
<translation type="unfinished">Post-quantum ZRTP</translation>
|
||||
|
|
@ -827,43 +847,43 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="338"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="340"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"Le correspondant a décliné l'appel"</extracomment>
|
||||
<translation>Der Benutzer hat den Anruf abgelehnt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="342"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="344"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"Le correspondant n'a pas été trouvé"</extracomment>
|
||||
<translation>Benutzer nicht gefunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="346"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="348"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"Le correspondant est occupé"</extracomment>
|
||||
<translation>Der Benutzer ist beschäftigt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="350"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="352"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"Le correspondant ne peut accepter votre appel."</extracomment>
|
||||
<translation>Der Benutzer kann Ihren Anruf nicht annehmen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="354"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="356"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Service indisponible ou erreur réseau"</extracomment>
|
||||
<translation>Dienst nicht verfügbar oder Netzwerkfehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="358"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="360"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporairement indisponible"</extracomment>
|
||||
<translation>Vorübergehend nicht verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="362"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="364"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Délai d'attente du serveur dépassé"</extracomment>
|
||||
<translation>Server-Zeitüberschreitung</translation>
|
||||
|
|
@ -1641,13 +1661,13 @@
|
|||
<context>
|
||||
<name>ConferenceInfoCore</name>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="577"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="568"/>
|
||||
<source>information_popup_error_title</source>
|
||||
<extracomment>"Erreur"</extracomment>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="579"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="570"/>
|
||||
<source>information_popup_disconnected_account_message</source>
|
||||
<extracomment>"Votre compte est déconnecté"</extracomment>
|
||||
<translation>Ihr Konto ist getrennt</translation>
|
||||
|
|
|
|||
|
|
@ -519,68 +519,88 @@
|
|||
<translation>Do you want to download and apply remote provisioning from this address ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="776"/>
|
||||
<location filename="../../core/App.cpp" line="439"/>
|
||||
<location filename="../../core/App.cpp" line="573"/>
|
||||
<source>info_popup_error_title</source>
|
||||
<extracomment>Error</extracomment>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="440"/>
|
||||
<location filename="../../core/App.cpp" line="575"/>
|
||||
<source>info_popup_configuration_failed_message</source>
|
||||
<extracomment>Remote provisioning failed : %1</extracomment>
|
||||
<translation>Remote provisioning failed : %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="569"/>
|
||||
<source>configuration_error_detail</source>
|
||||
<extracomment>not reachable</extracomment>
|
||||
<translation>not reachable</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="805"/>
|
||||
<source>application_description</source>
|
||||
<extracomment>"A free and open source SIP video-phone."</extracomment>
|
||||
<translation>A free and open source SIP video-phone.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="778"/>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<source>command_line_arg_order</source>
|
||||
<extracomment>"Send an order to the application towards a command line"</extracomment>
|
||||
<translation>Send an order to the application towards a command line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="782"/>
|
||||
<location filename="../../core/App.cpp" line="811"/>
|
||||
<source>command_line_option_show_help</source>
|
||||
<translation>Show this help</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="787"/>
|
||||
<location filename="../../core/App.cpp" line="816"/>
|
||||
<source>command_line_option_show_app_version</source>
|
||||
<translation>Show app version</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="794"/>
|
||||
<location filename="../../core/App.cpp" line="824"/>
|
||||
<source>command_line_option_config_to_fetch</source>
|
||||
<extracomment>"Specify the linphone configuration file to be fetched. It will be merged with the current configuration."</extracomment>
|
||||
<translation>Specify the linphone configuration file to be fetched. It will be merged with the current configuration.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="796"/>
|
||||
<location filename="../../core/App.cpp" line="826"/>
|
||||
<source>command_line_option_config_to_fetch_arg</source>
|
||||
<extracomment>"URL, path or file"</extracomment>
|
||||
<translation>URL, path or file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="801"/>
|
||||
<location filename="../../core/App.cpp" line="831"/>
|
||||
<source>command_line_option_minimized</source>
|
||||
<translation>Minimize</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="804"/>
|
||||
<location filename="../../core/App.cpp" line="834"/>
|
||||
<source>command_line_option_log_to_stdout</source>
|
||||
<translation>Log to stdout some debug information while running</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<location filename="../../core/App.cpp" line="837"/>
|
||||
<source>command_line_option_print_app_logs_only</source>
|
||||
<extracomment>"Print only logs from the application"</extracomment>
|
||||
<translation>Print only logs from the application</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>hide_action</source>
|
||||
<extracomment>"Cacher" "Afficher"</extracomment>
|
||||
<translation>Hide</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>show_action</source>
|
||||
<translation>Show</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1182"/>
|
||||
<location filename="../../core/App.cpp" line="1212"/>
|
||||
<source>quit_action</source>
|
||||
<extracomment>"Quitter"</extracomment>
|
||||
<translation>Quit</translation>
|
||||
|
|
@ -639,64 +659,64 @@
|
|||
<translation>Recording has been saved in file : %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="392"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="417"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="393"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="418"/>
|
||||
<source>call_stats_codec_label</source>
|
||||
<extracomment>"Codec: %1 / %2 kHz"</extracomment>
|
||||
<translation>Codec: %1 / %2 kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="396"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="420"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="397"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="421"/>
|
||||
<source>call_stats_bandwidth_label</source>
|
||||
<extracomment>"Bande passante : %1 %2 kbits/s %3 %4 kbits/s"</extracomment>
|
||||
<translation>Bandwidth : %1 %2 kbits/s %3 %4 kbits/s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="402"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="425"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="403"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="426"/>
|
||||
<source>call_stats_loss_rate_label</source>
|
||||
<extracomment>"Taux de perte: %1% %2%"</extracomment>
|
||||
<translation>Loss rate: %1% %2%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="407"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="408"/>
|
||||
<source>call_stats_jitter_buffer_label</source>
|
||||
<extracomment>"Tampon de gigue: %1 ms"</extracomment>
|
||||
<translation>Jitter buffer : %1 ms</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="434"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="435"/>
|
||||
<source>call_stats_resolution_label</source>
|
||||
<extracomment>"Définition vidéo : %1 %2 %3 %4"</extracomment>
|
||||
<translation>Video resolution: %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="440"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="441"/>
|
||||
<source>call_stats_fps_label</source>
|
||||
<extracomment>"FPS : %1 %2 %3 %4"</extracomment>
|
||||
<translation>FPS : %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="653"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="654"/>
|
||||
<source>media_encryption_dtls</source>
|
||||
<extracomment>DTLS</extracomment>
|
||||
<translation>DTLS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="656"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="657"/>
|
||||
<source>media_encryption_none</source>
|
||||
<extracomment>None</extracomment>
|
||||
<translation>None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="659"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="660"/>
|
||||
<source>media_encryption_srtp</source>
|
||||
<extracomment>SRTP</extracomment>
|
||||
<translation>SRTP</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="662"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="663"/>
|
||||
<source>media_encryption_post_quantum</source>
|
||||
<extracomment>"ZRTP - Post quantique"</extracomment>
|
||||
<translation>Post quantum ZRTP</translation>
|
||||
|
|
@ -827,43 +847,43 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="338"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="340"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"Le correspondant a décliné l'appel"</extracomment>
|
||||
<translation>User declined the call</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="342"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="344"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"Le correspondant n'a pas été trouvé"</extracomment>
|
||||
<translation>User was not found</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="346"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="348"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"Le correspondant est occupé"</extracomment>
|
||||
<translation>User is busy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="350"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="352"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"Le correspondant ne peut accepter votre appel."</extracomment>
|
||||
<translation>User can't accept your call</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="354"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="356"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Service indisponible ou erreur réseau"</extracomment>
|
||||
<translation>Unavailable service or network error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="358"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="360"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporairement indisponible"</extracomment>
|
||||
<translation>temporarily unavailable</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="362"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="364"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Délai d'attente du serveur dépassé"</extracomment>
|
||||
<translation>Server tiemout</translation>
|
||||
|
|
@ -1641,13 +1661,13 @@
|
|||
<context>
|
||||
<name>ConferenceInfoCore</name>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="577"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="568"/>
|
||||
<source>information_popup_error_title</source>
|
||||
<extracomment>"Erreur"</extracomment>
|
||||
<translation>Error</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="579"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="570"/>
|
||||
<source>information_popup_disconnected_account_message</source>
|
||||
<extracomment>"Votre compte est déconnecté"</extracomment>
|
||||
<translation>Your account is disconnected</translation>
|
||||
|
|
@ -2345,11 +2365,6 @@
|
|||
<extracomment>Media encryption : %1</extracomment>
|
||||
<translation>Media encryption : %1%2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>call_stats_media_encryption_zrtp_post_quantum</source>
|
||||
<extracomment>ZRTP Post Quantique</extracomment>
|
||||
<translation type="vanished">Post Quantum ZRTP</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../view/Control/Form/Settings/EncryptionSettings.qml" line="46"/>
|
||||
<source>call_stats_zrtp_cipher_algo</source>
|
||||
|
|
@ -2596,14 +2611,6 @@
|
|||
<translation>Debug</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LinphoneEnums</name>
|
||||
<message>
|
||||
<source>media_encryption_post_quantum</source>
|
||||
<extracomment>"ZRTP - Post quantique"</extracomment>
|
||||
<translation type="obsolete">Post quantum ZRTP</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LoadingPopup</name>
|
||||
<message>
|
||||
|
|
|
|||
|
|
@ -519,68 +519,88 @@
|
|||
<translation>Voulez-vous télécharger et appliquer la configuration depuis cette adresse ?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="776"/>
|
||||
<location filename="../../core/App.cpp" line="439"/>
|
||||
<location filename="../../core/App.cpp" line="573"/>
|
||||
<source>info_popup_error_title</source>
|
||||
<extracomment>Error</extracomment>
|
||||
<translation>Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="440"/>
|
||||
<location filename="../../core/App.cpp" line="575"/>
|
||||
<source>info_popup_configuration_failed_message</source>
|
||||
<extracomment>Remote provisioning failed : %1</extracomment>
|
||||
<translation>Le service de configuration distante a échoué: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="569"/>
|
||||
<source>configuration_error_detail</source>
|
||||
<extracomment>not reachable</extracomment>
|
||||
<translation>indisponible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="805"/>
|
||||
<source>application_description</source>
|
||||
<extracomment>"A free and open source SIP video-phone."</extracomment>
|
||||
<translation>A free and open source SIP video-phone.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="778"/>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<source>command_line_arg_order</source>
|
||||
<extracomment>"Send an order to the application towards a command line"</extracomment>
|
||||
<translation>Send an order to the application towards a command line</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="782"/>
|
||||
<location filename="../../core/App.cpp" line="811"/>
|
||||
<source>command_line_option_show_help</source>
|
||||
<translation>Show this help</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="787"/>
|
||||
<location filename="../../core/App.cpp" line="816"/>
|
||||
<source>command_line_option_show_app_version</source>
|
||||
<translation>Afficher la version de l'application</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="794"/>
|
||||
<location filename="../../core/App.cpp" line="824"/>
|
||||
<source>command_line_option_config_to_fetch</source>
|
||||
<extracomment>"Specify the linphone configuration file to be fetched. It will be merged with the current configuration."</extracomment>
|
||||
<translation>Specify the linphone configuration file to be fetched. It will be merged with the current configuration.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="796"/>
|
||||
<location filename="../../core/App.cpp" line="826"/>
|
||||
<source>command_line_option_config_to_fetch_arg</source>
|
||||
<extracomment>"URL, path or file"</extracomment>
|
||||
<translation>URL, path or file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="801"/>
|
||||
<location filename="../../core/App.cpp" line="831"/>
|
||||
<source>command_line_option_minimized</source>
|
||||
<translation>Minimiser</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="804"/>
|
||||
<location filename="../../core/App.cpp" line="834"/>
|
||||
<source>command_line_option_log_to_stdout</source>
|
||||
<translation>Log to stdout some debug information while running</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="807"/>
|
||||
<location filename="../../core/App.cpp" line="837"/>
|
||||
<source>command_line_option_print_app_logs_only</source>
|
||||
<extracomment>"Print only logs from the application"</extracomment>
|
||||
<translation>Print only logs from the application</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>hide_action</source>
|
||||
<extracomment>"Cacher" "Afficher"</extracomment>
|
||||
<translation>Cacher</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1167"/>
|
||||
<location filename="../../core/App.cpp" line="1197"/>
|
||||
<source>show_action</source>
|
||||
<translation>Afficher</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/App.cpp" line="1182"/>
|
||||
<location filename="../../core/App.cpp" line="1212"/>
|
||||
<source>quit_action</source>
|
||||
<extracomment>"Quitter"</extracomment>
|
||||
<translation>Quitter</translation>
|
||||
|
|
@ -639,64 +659,64 @@
|
|||
<translation>L'appel a été enregistré dans le fichier : %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="392"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="417"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="393"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="418"/>
|
||||
<source>call_stats_codec_label</source>
|
||||
<extracomment>"Codec: %1 / %2 kHz"</extracomment>
|
||||
<translation>Codec: %1 / %2 kHz</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="396"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="420"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="397"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="421"/>
|
||||
<source>call_stats_bandwidth_label</source>
|
||||
<extracomment>"Bande passante : %1 %2 kbits/s %3 %4 kbits/s"</extracomment>
|
||||
<translation>Bande passante : %1 %2 kbits/s %3 %4 kbits/s</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="402"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="425"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="403"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="426"/>
|
||||
<source>call_stats_loss_rate_label</source>
|
||||
<extracomment>"Taux de perte: %1% %2%"</extracomment>
|
||||
<translation>Taux de perte: %1% %2%</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="407"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="408"/>
|
||||
<source>call_stats_jitter_buffer_label</source>
|
||||
<extracomment>"Tampon de gigue: %1 ms"</extracomment>
|
||||
<translation>Tampon de gigue: %1 ms</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="434"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="435"/>
|
||||
<source>call_stats_resolution_label</source>
|
||||
<extracomment>"Définition vidéo : %1 %2 %3 %4"</extracomment>
|
||||
<translation>Définition vidéo : %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="440"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="441"/>
|
||||
<source>call_stats_fps_label</source>
|
||||
<extracomment>"FPS : %1 %2 %3 %4"</extracomment>
|
||||
<translation>FPS : %1 %2 %3 %4</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="653"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="654"/>
|
||||
<source>media_encryption_dtls</source>
|
||||
<extracomment>DTLS</extracomment>
|
||||
<translation>DTLS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="656"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="657"/>
|
||||
<source>media_encryption_none</source>
|
||||
<extracomment>None</extracomment>
|
||||
<translation>None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="659"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="660"/>
|
||||
<source>media_encryption_srtp</source>
|
||||
<extracomment>SRTP</extracomment>
|
||||
<translation>SRTP</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/call/CallCore.cpp" line="662"/>
|
||||
<location filename="../../core/call/CallCore.cpp" line="663"/>
|
||||
<source>media_encryption_post_quantum</source>
|
||||
<extracomment>"ZRTP - Post quantique"</extracomment>
|
||||
<translation>ZRTP - Post quantique</translation>
|
||||
|
|
@ -827,43 +847,43 @@
|
|||
<context>
|
||||
<name>CallModel</name>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="338"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="340"/>
|
||||
<source>call_error_user_declined_toast</source>
|
||||
<extracomment>"Le correspondant a décliné l'appel"</extracomment>
|
||||
<translation>Le correspondant a décliné l'appel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="342"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="344"/>
|
||||
<source>call_error_user_not_found_toast</source>
|
||||
<extracomment>"Le correspondant n'a pas été trouvé"</extracomment>
|
||||
<translation>Le correspondant n'a pas été trouvé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="346"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="348"/>
|
||||
<source>call_error_user_busy_toast</source>
|
||||
<extracomment>"Le correspondant est occupé"</extracomment>
|
||||
<translation>Le correspondant est occupé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="350"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="352"/>
|
||||
<source>call_error_incompatible_media_params_toast</source>
|
||||
<extracomment>"Le correspondant ne peut accepter votre appel."</extracomment>
|
||||
<translation>Le correspondant ne peut accepter votre appel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="354"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="356"/>
|
||||
<source>call_error_io_error_toast</source>
|
||||
<extracomment>"Service indisponible ou erreur réseau"</extracomment>
|
||||
<translation>Service indisponible ou erreur réseau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="358"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="360"/>
|
||||
<source>call_error_temporarily_unavailable_toast</source>
|
||||
<extracomment>"Temporairement indisponible"</extracomment>
|
||||
<translation>Temporairement indisponible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../model/call/CallModel.cpp" line="362"/>
|
||||
<location filename="../../model/call/CallModel.cpp" line="364"/>
|
||||
<source>call_error_server_timeout_toast</source>
|
||||
<extracomment>"Délai d'attente du serveur dépassé"</extracomment>
|
||||
<translation>Délai d'attente du serveur dépassé</translation>
|
||||
|
|
@ -1641,13 +1661,13 @@
|
|||
<context>
|
||||
<name>ConferenceInfoCore</name>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="577"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="568"/>
|
||||
<source>information_popup_error_title</source>
|
||||
<extracomment>"Erreur"</extracomment>
|
||||
<translation>Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="579"/>
|
||||
<location filename="../../core/conference/ConferenceInfoCore.cpp" line="570"/>
|
||||
<source>information_popup_disconnected_account_message</source>
|
||||
<extracomment>"Votre compte est déconnecté"</extracomment>
|
||||
<translation>Votre compte est déconnecté</translation>
|
||||
|
|
@ -2591,29 +2611,6 @@
|
|||
<translation>Débogage</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LinphoneEnums</name>
|
||||
<message>
|
||||
<source>media_encryption_dtls</source>
|
||||
<extracomment>DTLS</extracomment>
|
||||
<translation type="vanished">DTLS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>media_encryption_none</source>
|
||||
<extracomment>None</extracomment>
|
||||
<translation type="vanished">None</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>media_encryption_srtp</source>
|
||||
<extracomment>SRTP</extracomment>
|
||||
<translation type="vanished">SRTP</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>media_encryption_post_quantum</source>
|
||||
<extracomment>"ZRTP - Post quantique"</extracomment>
|
||||
<translation type="vanished">ZRTP - Post quantique</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>LoadingPopup</name>
|
||||
<message>
|
||||
|
|
@ -4646,10 +4643,6 @@ Pour les activer dans un projet commercial, merci de nous contacter.</translatio
|
|||
<source>Honduras</source>
|
||||
<translation>Honduras</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Hong Kong</source>
|
||||
<translation type="vanished">HongKong</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../tool/Utils.cpp" line="701"/>
|
||||
<source>DemocraticRepublicOfCongo</source>
|
||||
|
|
|
|||
|
|
@ -451,6 +451,8 @@ void CoreModel::onConferenceStateChanged(const std::shared_ptr<linphone::Core> &
|
|||
void CoreModel::onConfiguringStatus(const std::shared_ptr<linphone::Core> &core,
|
||||
linphone::ConfiguringState status,
|
||||
const std::string &message) {
|
||||
mConfigStatus = status;
|
||||
mConfigMessage = Utils::coreStringToAppString(message);
|
||||
emit configuringStatus(core, status, message);
|
||||
}
|
||||
void CoreModel::onDefaultAccountChanged(const std::shared_ptr<linphone::Core> &core,
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@
|
|||
#include "model/cli/CliModel.hpp"
|
||||
#include "model/listener/Listener.hpp"
|
||||
#include "model/logger/LoggerModel.hpp"
|
||||
#include "tool/AbstractObject.hpp"
|
||||
#include "model/search/MagicSearchModel.hpp"
|
||||
#include "tool/AbstractObject.hpp"
|
||||
|
||||
// =============================================================================
|
||||
|
||||
|
|
@ -61,11 +61,13 @@ public:
|
|||
void migrate();
|
||||
|
||||
void searchInMagicSearch(QString filter,
|
||||
int sourceFlags,
|
||||
LinphoneEnums::MagicSearchAggregation aggregation,
|
||||
int maxResults);
|
||||
int sourceFlags,
|
||||
LinphoneEnums::MagicSearchAggregation aggregation,
|
||||
int maxResults);
|
||||
|
||||
bool mEnd = false;
|
||||
linphone::ConfiguringState mConfigStatus;
|
||||
QString mConfigMessage;
|
||||
|
||||
std::shared_ptr<linphone::Core> mCore;
|
||||
std::shared_ptr<LoggerModel> mLogger;
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ Item {
|
|||
}
|
||||
initButtons()
|
||||
currentIndex = SettingsCpp.getLastActiveTabIndex()
|
||||
if (currentIndex === -1) currentIndex = 0
|
||||
}
|
||||
}
|
||||
ColumnLayout {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue