mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Translations and log reporting upgrade
- Update minor translations and fix TX settings - Fix order Application settings to avoid using wrong data - More detailled debug on sending log - Set sending log feedback to be copyable in order to be allowing to use the link without using a mailer - Remove feedback text when chaging tabs
This commit is contained in:
parent
ba0c4d1c3c
commit
ff218e9d72
19 changed files with 5524 additions and 87 deletions
|
|
@ -2,7 +2,7 @@
|
|||
host = https://www.transifex.com
|
||||
|
||||
[linphone-desktop.ts]
|
||||
file_filter = assets/languages/<lang>.ts
|
||||
source_file = assets/languages/en.ts
|
||||
file_filter = linphone-app/assets/languages/<lang>.ts
|
||||
source_file = linphone-app/assets/languages/en.ts
|
||||
source_lang = en
|
||||
type = QT
|
||||
|
|
|
|||
1823
linphone-app/assets/languages/da.ts
Normal file
1823
linphone-app/assets/languages/da.ts
Normal file
File diff suppressed because it is too large
Load diff
1817
linphone-app/assets/languages/da_DK.ts
Normal file
1817
linphone-app/assets/languages/da_DK.ts
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1110,13 +1110,6 @@ Server URL ist nicht konfiguriert.</translation>
|
|||
<translation>Offline</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1163,6 +1156,10 @@ Server URL ist nicht konfiguriert.</translation>
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1003,15 +1003,15 @@ your friend's SIP address or username.</translation>
|
|||
<name>MainWindowTopMenuBar</name>
|
||||
<message>
|
||||
<source>settings</source>
|
||||
<translation type="unfinished">Preferences</translation>
|
||||
<translation>Preferences</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>about</source>
|
||||
<translation type="unfinished">About</translation>
|
||||
<translation>About</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>quit</source>
|
||||
<translation type="unfinished">Quit</translation>
|
||||
<translation>Quit</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
@ -1115,13 +1115,6 @@ your friend's SIP address or username.</translation>
|
|||
<translation>Offline</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1167,7 +1160,11 @@ your friend's SIP address or username.</translation>
|
|||
<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>
|
||||
<translation>Mailer cannot be found but logs were uploaded to %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation>Logs were uploaded to %1</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
|
|||
1817
linphone-app/assets/languages/fr.ts
Normal file
1817
linphone-app/assets/languages/fr.ts
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1113,13 +1113,6 @@ Cliquez ici : <a href="%1">%1</a>
|
|||
<translation>Hors-ligne</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1162,6 +1155,14 @@ Cliquez ici : <a href="%1">%1</a>
|
|||
<source>developerSettingsEnabledLabel</source>
|
||||
<translation>Activer le mode développeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1110,13 +1110,6 @@
|
|||
<translation>オフライン</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1163,6 +1156,10 @@
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1115,13 +1115,6 @@ Tiesiog, įveskite savo draugo SIP adresą ar naudotojo vardą.</translation>
|
|||
<translation>Atsijungęs</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1168,6 +1161,10 @@ Tiesiog, įveskite savo draugo SIP adresą ar naudotojo vardą.</translation>
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1115,13 +1115,6 @@ o endereço SIP ou nome de usuário do seu amigo.</translation>
|
|||
<translation>Indisponível</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1168,6 +1161,10 @@ o endereço SIP ou nome de usuário do seu amigo.</translation>
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1113,13 +1113,6 @@
|
|||
<translation>Офлайн</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1166,6 +1159,10 @@
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1113,13 +1113,6 @@ Klicka här: <a href="%1">%1</a>
|
|||
<translation>Frånkopplad</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1166,6 +1159,10 @@ Klicka här: <a href="%1">%1</a>
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -1115,13 +1115,6 @@ arkadaşınızın SIP adresini veya kullanıcı adını girin.</translation>
|
|||
<translation>Çevrim dışı</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAdvanced</name>
|
||||
<message>
|
||||
|
|
@ -1168,6 +1161,10 @@ arkadaşınızın SIP adresini veya kullanıcı adını girin.</translation>
|
|||
<source>logsMailerFailed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>logsMailerSuccess</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsAudio</name>
|
||||
|
|
|
|||
|
|
@ -45,23 +45,20 @@ AppController::AppController (int &argc, char *argv[]) {
|
|||
// Disable QML cache. Avoid malformed cache.
|
||||
qputenv("QML_DISABLE_DISK_CACHE", "true");
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
// Useful to share camera on Fullscreen (other context).
|
||||
// Useful to share camera on Fullscreen (other context)
|
||||
QApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
||||
// Do not use APPLICATION_NAME here.
|
||||
// The EXECUTABLE_NAME will be used in qt standard paths. It's our goal.
|
||||
QCoreApplication::setApplicationName(EXECUTABLE_NAME);
|
||||
QApplication::setOrganizationDomain(EXECUTABLE_NAME);
|
||||
QCoreApplication::setApplicationVersion(LINPHONE_QT_GIT_VERSION);
|
||||
|
||||
mApp = new App(argc, argv);
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// App creation.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// Do not use APPLICATION_NAME here.
|
||||
// The EXECUTABLE_NAME will be used in qt standard paths. It's our goal.
|
||||
QCoreApplication::setApplicationName(EXECUTABLE_NAME);
|
||||
QCoreApplication::setApplicationVersion(LINPHONE_QT_GIT_VERSION);
|
||||
QApplication::setOrganizationDomain(EXECUTABLE_NAME);
|
||||
QQuickStyle::setStyle("Default");
|
||||
if (mApp->isSecondary()) {
|
||||
#ifdef Q_OS_MACOS
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ static inline QDir getAppPackageDir () {
|
|||
} else if( !dir.exists("lib") && !dir.exists("lib64")){// Check if these folders are in the current path
|
||||
dir.cdUp();
|
||||
if(!dir.exists("lib") && !dir.exists("lib64"))
|
||||
qWarning() << QObject::tr("The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.");
|
||||
qWarning() <<"The application's location is not correct: You have to put your 'bin/' folder next to 'lib/' folder.";
|
||||
}
|
||||
return dir;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -194,8 +194,9 @@ void CoreManager::forceRefreshRegisters () {
|
|||
void CoreManager::sendLogs () const {
|
||||
Q_CHECK_PTR(mCore);
|
||||
|
||||
qInfo() << QStringLiteral("Send logs to: `%1`.")
|
||||
.arg(Utils::coreStringToAppString(mCore->getLogCollectionUploadServerUrl()));
|
||||
qInfo() << QStringLiteral("Send logs to: `%1` from `%2`.")
|
||||
.arg(Utils::coreStringToAppString(mCore->getLogCollectionUploadServerUrl()))
|
||||
.arg(Utils::coreStringToAppString(mCore->getLogCollectionPath()));
|
||||
mCore->uploadLogCollection();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@ Item {
|
|||
block._loading = true
|
||||
action()
|
||||
}
|
||||
function setText(txt){
|
||||
errorBlock.text = txt
|
||||
}
|
||||
|
||||
|
||||
function stop (error) {
|
||||
errorBlock.text = error
|
||||
|
|
@ -29,11 +33,12 @@ Item {
|
|||
|
||||
height: RequestBlockStyle.height
|
||||
|
||||
Text {
|
||||
TextEdit {
|
||||
id: errorBlock
|
||||
readOnly: true
|
||||
selectByMouse: true
|
||||
|
||||
color: RequestBlockStyle.error.color
|
||||
elide: Text.ElideRight
|
||||
|
||||
font {
|
||||
italic: true
|
||||
|
|
|
|||
|
|
@ -45,10 +45,9 @@ function handleLogsUploaded (url) {
|
|||
'?subject=' + encodeURIComponent('Desktop Linphone Log') +
|
||||
'&body=' + encodeURIComponent(url)
|
||||
))
|
||||
sendLogsBlock.stop('')
|
||||
sendLogsBlock.stop(qsTr('logsMailerSuccess').replace('%1', encodeURIComponent(url)))
|
||||
else
|
||||
sendLogsBlock.stop(qsTr('logsMailerFailed').replace('%1', encodeURIComponent(url)))
|
||||
|
||||
} else {
|
||||
sendLogsBlock.stop(qsTr('logsUploadFailed'))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,13 +87,14 @@ TabContainer {
|
|||
action: CoreManager.sendLogs
|
||||
width: parent.width
|
||||
|
||||
|
||||
Connections {
|
||||
target: CoreManager
|
||||
|
||||
onLogsUploaded: Logic.handleLogsUploaded(url)
|
||||
}
|
||||
}
|
||||
|
||||
onVisibleChanged: sendLogsBlock.setText('')
|
||||
// -------------------------------------------------------------------------
|
||||
// Developer settings.
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue