companion9x renamed Companion

This commit is contained in:
Dvogonen
2014-01-05 02:23:06 +01:00
parent 64419ffd3f
commit e5ad887be9
55 changed files with 4099 additions and 3548 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ ADD_CUSTOM_TARGET( translations
COMMAND lupdate-qt4 ${CMAKE_SOURCE_DIR} -ts ${companion9x_TS} ) COMMAND lupdate-qt4 ${CMAKE_SOURCE_DIR} -ts ${companion9x_TS} )
SET(CPACK_PACKAGE_NAME "COMPANION9X") SET(CPACK_PACKAGE_NAME "COMPANION9X")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "EEPROM Editor for the openTx open source firmware") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Models and settings editor for the OpenTx open source firmware")
string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_PACKAGE_NAME_LOWERCASE) string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_PACKAGE_NAME_LOWERCASE)
find_program(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems") find_program(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems")
if(DPKG_PROGRAM) if(DPKG_PROGRAM)
+8 -8
View File
@@ -58,7 +58,7 @@ avrOutputDialog::avrOutputDialog(QWidget *parent, QString prog, QStringList arg,
QFile exec; QFile exec;
winTitle=wTitle; winTitle=wTitle;
if (!(exec.exists(prog))) { if (!(exec.exists(prog))) {
QMessageBox::critical(this, "companion9x", getProgrammer() + " " + tr("executable not found")); QMessageBox::critical(this, "Companion", getProgrammer() + " " + tr("executable not found"));
closeOpt = AVR_DIALOG_FORCE_CLOSE; closeOpt = AVR_DIALOG_FORCE_CLOSE;
QTimer::singleShot(0, this, SLOT(forceClose())); QTimer::singleShot(0, this, SLOT(forceClose()));
} else { } else {
@@ -315,10 +315,10 @@ void avrOutputDialog::errorWizard()
} }
} }
if (fwexist==false) { if (fwexist==false) {
QMessageBox::warning(this, "companion9x - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease check advanced burn options to set the correct cpu type.").arg(DeviceStr)); QMessageBox::warning(this, "Companion - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease check advanced burn options to set the correct cpu type.").arg(DeviceStr));
} else { } else {
FirmwareInfo *firmware = GetCurrentFirmware(); FirmwareInfo *firmware = GetCurrentFirmware();
QMessageBox::warning(this, "companion9x - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease select an appropriate firmware type to program it.").arg(DeviceStr)+FwStr+tr("\nYou are currently using:\n %1").arg(firmware->name)); QMessageBox::warning(this, "Companion - Tip of the day", tr("Your radio uses a %1 CPU!!!\n\nPlease select an appropriate firmware type to program it.").arg(DeviceStr)+FwStr+tr("\nYou are currently using:\n %1").arg(firmware->name));
} }
} }
} }
@@ -416,24 +416,24 @@ void avrOutputDialog::doFinished(int code=0)
if (hasErrors || code) { if (hasErrors || code) {
if (!cmdLine.isEmpty()) { if (!cmdLine.isEmpty()) {
if (getProgrammer()!="AVRDUDE") { if (getProgrammer()!="AVRDUDE") {
QMessageBox::critical(this, "companion9x", getProgrammer() + " " + tr("did not finish correctly")); QMessageBox::critical(this, "Companion", getProgrammer() + " " + tr("did not finish correctly"));
} else { } else {
int res = QMessageBox::question(this, "companion9x",getProgrammer() + " " + tr("did not finish correctly!\nDo you want some help ?"),QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",getProgrammer() + " " + tr("did not finish correctly!\nDo you want some help ?"),QMessageBox::Yes | QMessageBox::No);
if (res != QMessageBox::No) { if (res != QMessageBox::No) {
errorWizard(); errorWizard();
} }
} }
} else { } else {
QMessageBox::critical(this, "companion9x", tr("Copy did not finish correctly")); QMessageBox::critical(this, "Companion", tr("Copy did not finish correctly"));
} }
// reject(); // reject();
} else { } else {
if (!cmdLine.isEmpty()) { if (!cmdLine.isEmpty()) {
ui->progressBar->setValue(100); ui->progressBar->setValue(100);
QMessageBox::information(this, "companion9x", getProgrammer() + " " + tr("finished correctly")); QMessageBox::information(this, "Companion", getProgrammer() + " " + tr("finished correctly"));
accept(); accept();
} else { } else {
QMessageBox::information(this, "companion9x", tr("Copy finished correctly")); QMessageBox::information(this, "Companion", tr("Copy finished correctly"));
accept(); accept();
} }
} }
+2 -2
View File
@@ -325,7 +325,7 @@ void burnConfigDialog::restFuses(bool eeProtect)
QMessageBox::StandardButton ret = QMessageBox::No; QMessageBox::StandardButton ret = QMessageBox::No;
ret = QMessageBox::warning(this, tr("companion9x"), ret = QMessageBox::warning(this, tr("Companion"),
tr("<b><u>WARNING!</u></b><br>This will reset the fuses of %1 to the factory settings.<br>Writing fuses can mess up your radio.<br>Do this only if you are sure they are wrong!<br>Are you sure you want to continue?").arg(avrMCU), tr("<b><u>WARNING!</u></b><br>This will reset the fuses of %1 to the factory settings.<br>Writing fuses can mess up your radio.<br>Do this only if you are sure they are wrong!<br>Are you sure you want to continue?").arg(avrMCU),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::Yes) if (ret == QMessageBox::Yes)
@@ -394,7 +394,7 @@ void burnConfigDialog::on_advCtrChkB_toggled(bool checked)
} else { } else {
ui->label_av3->show(); ui->label_av3->show();
ui->avrdude_mcu->show(); ui->avrdude_mcu->show();
QMessageBox::warning(this, tr("companion9x"), QMessageBox::warning(this, tr("Companion"),
tr("<b><u>WARNING!</u></b><br>Normally CPU type is automatically selected according to the chosen firmware.<br>If you change the CPU type the resulting eeprom could be inconsistent."), tr("<b><u>WARNING!</u></b><br>Normally CPU type is automatically selected according to the chosen firmware.<br>If you change the CPU type the resulting eeprom could be inconsistent."),
QMessageBox::Ok); QMessageBox::Ok);
} }
+3 -3
View File
@@ -292,7 +292,7 @@ bool burnDialog::checkeEprom(QString fileName)
uint8_t eeprom[EESIZE_RLC_MAX]; uint8_t eeprom[EESIZE_RLC_MAX];
int eeprom_size = HexInterface(inputStream).load(eeprom, EESIZE_RLC_MAX); int eeprom_size = HexInterface(inputStream).load(eeprom, EESIZE_RLC_MAX);
if (!eeprom_size) { if (!eeprom_size) {
int res = QMessageBox::question(this, "companion9x",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No);
if (res == QMessageBox::No) { if (res == QMessageBox::No) {
return false; return false;
} }
@@ -302,7 +302,7 @@ bool burnDialog::checkeEprom(QString fileName)
} }
file.close(); file.close();
if (!LoadEeprom(radioData, eeprom, eeprom_size)) { if (!LoadEeprom(radioData, eeprom, eeprom_size)) {
int res = QMessageBox::question(this, "companion9x",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No);
if (res == QMessageBox::No) { if (res == QMessageBox::No) {
return false; return false;
} }
@@ -325,7 +325,7 @@ bool burnDialog::checkeEprom(QString fileName)
return false; return false;
} }
if (!LoadEeprom(radioData, eeprom, eeprom_size)) { if (!LoadEeprom(radioData, eeprom, eeprom_size)) {
int res = QMessageBox::question(this, "companion9x",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",tr("Invalid binary Models and Settings File %1, Proceed anyway ?").arg(fileName),QMessageBox::Yes | QMessageBox::No);
if (res == QMessageBox::No) { if (res == QMessageBox::No) {
return false; return false;
} }
+1 -1
View File
@@ -273,7 +273,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Allows companion9x to write to older version of the firmware</string> <string>Allows Companion to write to older version of the firmware</string>
</property> </property>
<property name="text"> <property name="text">
<string>Check Firmware compatibility</string> <string>Check Firmware compatibility</string>
+4 -4
View File
@@ -1,11 +1,11 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Encoding=UTF-8 Encoding=UTF-8
Name=companion9x Name=Companion
GenericName=COMPANION9X GenericName=COMPANION
Comment=9x EeProm Editor Comment=The ultimate transmitter companion
Icon=/usr/share/icons/companion9x.png Icon=/usr/share/icons/companion9x.png
Exec='companion9x' Exec='companion9x'
Terminal=false Terminal=false
StartupNotify=false StartupNotify=false
Categories=Application Categories=Application
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

+3 -2
View File
@@ -26,7 +26,8 @@ contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnu
ui->textBrowser->insertPlainText(file2.readAll()); ui->textBrowser->insertPlainText(file2.readAll());
} }
ui->textBrowser->insertPlainText("\n\n\n"); ui->textBrowser->insertPlainText("\n\n\n");
ui->textBrowser->insertPlainText(tr("Honors go to Rafal Tomczak (RadioClone) and Thomas Husterer (th9x) \nof course. Also to Erez Raviv (er9x) and it's fantastic eePe, from which\ncompanion9x was forked out.")); ui->textBrowser->insertPlainText(tr(
"Honors go to Rafal Tomczak (RadioClone) and Thomas Husterer (th9x) \nof course. Also to Erez Raviv (er9x) and the fantastic eePe program \nwhich was the staring point for OpenTX Companion."));
ui->textBrowser->insertPlainText("\n\n"); ui->textBrowser->insertPlainText("\n\n");
ui->textBrowser->insertPlainText(tr("Thank you all !!!")); ui->textBrowser->insertPlainText(tr("Thank you all !!!"));
ui->textBrowser->setReadOnly(true); ui->textBrowser->setReadOnly(true);
@@ -42,7 +43,7 @@ contributorsDialog::contributorsDialog(QWidget *parent, int contest, QString rnu
} }
ui->textBrowser->setReadOnly(true); ui->textBrowser->setReadOnly(true);
ui->textBrowser->verticalScrollBar()->setValue(0); ui->textBrowser->verticalScrollBar()->setValue(0);
this->setWindowTitle(tr("Companion9x Release Notes")); this->setWindowTitle(tr("Companion Release Notes"));
} }
break; break;
case 2:{ case 2:{
+2 -2
View File
@@ -21,7 +21,7 @@ downloadDialog::downloadDialog(QWidget *parent, QString src, QString tgt) :
file = new QFile(tgt); file = new QFile(tgt);
if (!file->open(QIODevice::WriteOnly)) { if (!file->open(QIODevice::WriteOnly)) {
QMessageBox::critical(this, "companion9x", QMessageBox::critical(this, "Companion",
tr("Unable to save the file %1: %2.") tr("Unable to save the file %1: %2.")
.arg(tgt).arg(file->errorString())); .arg(tgt).arg(file->errorString()));
QTimer::singleShot(0, this, SLOT(fileError())); QTimer::singleShot(0, this, SLOT(fileError()));
@@ -51,7 +51,7 @@ void downloadDialog::httpFinished()
if (reply->error()) if (reply->error())
{ {
file->remove(); file->remove();
QMessageBox::information(this, tr("companion9x"), QMessageBox::information(this, tr("Companion"),
tr("Download failed: %1.") tr("Download failed: %1.")
.arg(reply->errorString())); .arg(reply->errorString()));
ok = false; ok = false;
+3 -3
View File
@@ -1074,7 +1074,7 @@ void GeneralEdit::on_blinvert_cb_stateChanged(int )
void GeneralEdit::on_faimode_CB_stateChanged(int ) void GeneralEdit::on_faimode_CB_stateChanged(int )
{ {
if (ui->faimode_CB->isChecked()) { if (ui->faimode_CB->isChecked()) {
int ret = QMessageBox::question(this, "companion9x", int ret = QMessageBox::question(this, "Companion",
tr("If you enable FAI, you loose the vario, the play functions, the telemetry screen.\nThis function cannot be disabled by the radio.\nAre you sure ?") , tr("If you enable FAI, you loose the vario, the play functions, the telemetry screen.\nThis function cannot be disabled by the radio.\nAre you sure ?") ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret==QMessageBox::Yes) { if (ret==QMessageBox::Yes) {
@@ -1375,7 +1375,7 @@ void GeneralEdit::on_calstore_PB_clicked()
} else { } else {
QString calib=settings.value("StickPotCalib","").toString(); QString calib=settings.value("StickPotCalib","").toString();
if (!(calib.isEmpty())) { if (!(calib.isEmpty())) {
int ret = QMessageBox::question(this, "companion9x", int ret = QMessageBox::question(this, "Companion",
tr("Do you want to store calibration in %1 profile<br>overwriting existing calibration?").arg(name) , tr("Do you want to store calibration in %1 profile<br>overwriting existing calibration?").arg(name) ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::No) { if (ret == QMessageBox::No) {
@@ -1408,7 +1408,7 @@ void GeneralEdit::on_calstore_PB_clicked()
settings.setValue("countryCode",QString("%1%2%3").arg((uint8_t)g_eeGeneral.countryCode, 2, 16, QChar('0')).arg((uint8_t)g_eeGeneral.imperial, 2, 16, QChar('0')).arg(g_eeGeneral.ttsLanguage)); settings.setValue("countryCode",QString("%1%2%3").arg((uint8_t)g_eeGeneral.countryCode, 2, 16, QChar('0')).arg((uint8_t)g_eeGeneral.imperial, 2, 16, QChar('0')).arg(g_eeGeneral.ttsLanguage));
settings.endGroup(); settings.endGroup();
settings.endGroup(); settings.endGroup();
QMessageBox::information(this, "companion9x", tr("Calibration and HW parameters saved.")); QMessageBox::information(this, "Companion", tr("Calibration and HW parameters saved."));
} }
} }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 864 B

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 526 B

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

+1 -1
View File
@@ -687,7 +687,7 @@ bool logsDialog::cvsFileParse()
file.close(); file.close();
if (errors>1) { if (errors>1) {
QMessageBox::warning(this, "companion9x", tr("The selected logfile contains %1 invalid lines out of %2 total lines").arg(errors).arg(lines)); QMessageBox::warning(this, "Companion", tr("The selected logfile contains %1 invalid lines out of %2 total lines").arg(errors).arg(lines));
} }
plotLock=true; plotLock=true;
int n=csvlog.count(); int n=csvlog.count();
+1 -1
View File
@@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Companion9x log viewer</string> <string>Companion Log Viewer</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="companion9x.qrc"> <iconset resource="companion9x.qrc">
+1 -1
View File
@@ -78,7 +78,7 @@ int main(int argc, char *argv[])
{ {
Q_INIT_RESOURCE(companion9x); Q_INIT_RESOURCE(companion9x);
QApplication app(argc, argv); QApplication app(argc, argv);
app.setApplicationName("Companion9x"); app.setApplicationName("OpenTX Companion");
#ifdef __APPLE__ #ifdef __APPLE__
app.setStyle(new MyProxyStyle); app.setStyle(new MyProxyStyle);
#endif #endif
+40 -39
View File
@@ -103,9 +103,9 @@ downloadDialog_forWait(NULL)
readSettings(); readSettings();
FirmwareInfo *firmware = GetCurrentFirmware(); FirmwareInfo *firmware = GetCurrentFirmware();
if (ActiveProfile) { if (ActiveProfile) {
setWindowTitle(tr("companion9x - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName)); setWindowTitle(tr("Companion - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName));
} else { } else {
setWindowTitle(tr("companion9x - Models and Settings Editor - %1").arg(firmware->name)); setWindowTitle(tr("Companion - Models and Settings Editor - %1").arg(firmware->name));
} }
setUnifiedTitleAndToolBarOnMac(true); setUnifiedTitleAndToolBarOnMac(true);
this->setWindowIcon(QIcon(":/icon.png")); this->setWindowIcon(QIcon(":/icon.png"));
@@ -166,11 +166,11 @@ void MainWindow::displayWarnings()
if (warnId<WARNING_ID && warnId!=0) { if (warnId<WARNING_ID && warnId!=0) {
int res=0; int res=0;
if (WARNING_LEVEL>0) { if (WARNING_LEVEL>0) {
QMessageBox::warning(this, "companion9x", WARNING); QMessageBox::warning(this, "Companion", WARNING);
res = QMessageBox::question(this, "companion9x",tr("Display previous warning again at startup ?"),QMessageBox::Yes | QMessageBox::No); res = QMessageBox::question(this, "Companion",tr("Display previous warning again at startup ?"),QMessageBox::Yes | QMessageBox::No);
} else { } else {
QMessageBox::about(this, "companion9x", WARNING); QMessageBox::about(this, "Companion", WARNING);
res = QMessageBox::question(this, "companion9x",tr("Display previous message again at startup ?"),QMessageBox::Yes | QMessageBox::No); res = QMessageBox::question(this, "Companion",tr("Display previous message again at startup ?"),QMessageBox::Yes | QMessageBox::No);
} }
if (res == QMessageBox::No) { if (res == QMessageBox::No) {
settings.setValue("warningId", WARNING_ID); settings.setValue("warningId", WARNING_ID);
@@ -243,7 +243,7 @@ void MainWindow::checkForUpdateFinished(QNetworkReply * reply)
QString version = qba.mid(i+14, 4); QString version = qba.mid(i+14, 4);
if (version.isNull()) { if (version.isNull()) {
QMessageBox::warning(this, "companion9x", tr("Unable to check for updates.")); QMessageBox::warning(this, "Companion", tr("Unable to check for updates."));
return; return;
} }
double vnum=version.toDouble(); double vnum=version.toDouble();
@@ -257,7 +257,7 @@ void MainWindow::checkForUpdateFinished(QNetworkReply * reply)
if (c9xver< vnum) { if (c9xver< vnum) {
#if defined WIN32 || !defined __GNUC__ // || defined __APPLE__ // OSX should only notify of updates since no update packages are available. #if defined WIN32 || !defined __GNUC__ // || defined __APPLE__ // OSX should only notify of updates since no update packages are available.
showcheckForUpdatesResult = false; // update is available - do not show dialog showcheckForUpdatesResult = false; // update is available - do not show dialog
int ret = QMessageBox::question(this, "companion9x", tr("A new version of companion9x is available (version %1)<br>" int ret = QMessageBox::question(this, "Companion", tr("A new version of Companion is available (version %1)<br>"
"Would you like to download it?").arg(version) , "Would you like to download it?").arg(version) ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
@@ -278,21 +278,21 @@ void MainWindow::checkForUpdateFinished(QNetworkReply * reply)
} }
} }
#else #else
QMessageBox::warning(this, tr("New release available"), tr("A new release of companion is available please check the repository")); QMessageBox::warning(this, tr("New release available"), tr("A new release of Companion is available please check the repository"));
#endif #endif
} else { } else {
if (showcheckForUpdatesResult && check1done && check2done) if (showcheckForUpdatesResult && check1done && check2done)
QMessageBox::information(this, "companion9x", tr("No updates available at this time.")); QMessageBox::information(this, "Companion", tr("No updates available at this time."));
} }
} else { } else {
if(check1done && check2done) if(check1done && check2done)
QMessageBox::warning(this, "companion9x", tr("Unable to check for updates.")); QMessageBox::warning(this, "Companion", tr("Unable to check for updates."));
} }
} }
void MainWindow::updateDownloaded() void MainWindow::updateDownloaded()
{ {
int ret = QMessageBox::question(this, "companion9x", tr("Would you like to launch the installer?") , int ret = QMessageBox::question(this, "Companion", tr("Would you like to launch the installer?") ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::Yes) { if (ret == QMessageBox::Yes) {
if(QDesktopServices::openUrl(QUrl::fromLocalFile(installer_fileName))) if(QDesktopServices::openUrl(QUrl::fromLocalFile(installer_fileName)))
@@ -356,7 +356,7 @@ void MainWindow::reply1Accepted()
errormsg=tr("Compilation server too busy, try later"); errormsg=tr("Compilation server too busy, try later");
break; break;
case 4: case 4:
errormsg=tr("Compilation server requires registration, please check opentx web site"); errormsg=tr("Compilation server requires registration, please check OpenTX web site");
break; break;
default: default:
errormsg=tr("Unknown server failure, try later"); errormsg=tr("Unknown server failure, try later");
@@ -396,7 +396,7 @@ void MainWindow::reply1Accepted()
errormsg=tr("Compilation server too busy, try later"); errormsg=tr("Compilation server too busy, try later");
break; break;
case 4: case 4:
errormsg=tr("Compilation server requires registration, please check opentx web site"); errormsg=tr("Compilation server requires registration, please check OpenTX web site");
break; break;
default: default:
errormsg=tr("Unknown server failure, try later"); errormsg=tr("Unknown server failure, try later");
@@ -427,7 +427,7 @@ void MainWindow::reply1Accepted()
} }
settings.setValue(downloadedFW, currentFWrev); settings.setValue(downloadedFW, currentFWrev);
if (autoflash) { if (autoflash) {
int ret = QMessageBox::question(this, "companion9x", tr("Do you want to write the firmware to the transmitter now ?"), QMessageBox::Yes | QMessageBox::No); int ret = QMessageBox::question(this, "Companion", tr("Do you want to write the firmware to the transmitter now ?"), QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::Yes) { if (ret == QMessageBox::Yes) {
burnToFlash(downloadedFWFilename); burnToFlash(downloadedFWFilename);
} }
@@ -464,7 +464,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
QString newrev=qba.mid(k).replace('"', "").trimmed(); QString newrev=qba.mid(k).replace('"', "").trimmed();
if(!cres) { if(!cres) {
QMessageBox::warning(this, "companion9x", tr("Unable to check for updates.")); QMessageBox::warning(this, "Companion", tr("Unable to check for updates."));
int server = settings.value("fwserver",0).toInt(); int server = settings.value("fwserver",0).toInt();
server++; server++;
settings.setValue("fwserver",server); settings.setValue("fwserver",server);
@@ -484,6 +484,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
showcheckForUpdatesResult = false; // update is available - do not show dialog showcheckForUpdatesResult = false; // update is available - do not show dialog
QString rn = GetFirmware(fwToUpdate)->rnurl; QString rn = GetFirmware(fwToUpdate)->rnurl;
QAbstractButton *rnButton; QAbstractButton *rnButton;
msgBox.setWindowTitle("Companion");
msgBox.setInformativeText(tr("Firmware %1 does not seem to have ever been downloaded.\nVersion %2 is available.\nDo you want to download it now ?").arg(fwToUpdate).arg(NewFwRev)); msgBox.setInformativeText(tr("Firmware %1 does not seem to have ever been downloaded.\nVersion %2 is available.\nDo you want to download it now ?").arg(fwToUpdate).arg(NewFwRev));
QAbstractButton *YesButton = msgBox.addButton(trUtf8("Yes"), QMessageBox::YesRole); QAbstractButton *YesButton = msgBox.addButton(trUtf8("Yes"), QMessageBox::YesRole);
msgBox.addButton(trUtf8("No"), QMessageBox::NoRole); msgBox.addButton(trUtf8("No"), QMessageBox::NoRole);
@@ -496,7 +497,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
if( msgBox.clickedButton() == rnButton ) { if( msgBox.clickedButton() == rnButton ) {
contributorsDialog *cd = new contributorsDialog(this,2,rn); contributorsDialog *cd = new contributorsDialog(this,2,rn);
cd->exec(); cd->exec();
int ret2 = QMessageBox::question(this, "companion9x", tr("Do you want to download release %1 now ?").arg(NewFwRev), int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(NewFwRev),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret2 == QMessageBox::Yes) { if (ret2 == QMessageBox::Yes) {
download = true; download = true;
@@ -512,7 +513,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
showcheckForUpdatesResult = false; // update is available - do not show dialog showcheckForUpdatesResult = false; // update is available - do not show dialog
QString rn = GetFirmware(fwToUpdate)->rnurl; QString rn = GetFirmware(fwToUpdate)->rnurl;
QAbstractButton *rnButton; QAbstractButton *rnButton;
msgBox.setText("companion9x"); msgBox.setText("Companion");
msgBox.setInformativeText(tr("A new version of %1 firmware is available (current %2 - newer %3).\nDo you want to download it now ?").arg(fwToUpdate).arg(OldFwRev).arg(NewFwRev)); msgBox.setInformativeText(tr("A new version of %1 firmware is available (current %2 - newer %3).\nDo you want to download it now ?").arg(fwToUpdate).arg(OldFwRev).arg(NewFwRev));
QAbstractButton *YesButton = msgBox.addButton(trUtf8("Yes"), QMessageBox::YesRole); QAbstractButton *YesButton = msgBox.addButton(trUtf8("Yes"), QMessageBox::YesRole);
msgBox.addButton(trUtf8("No"), QMessageBox::NoRole); msgBox.addButton(trUtf8("No"), QMessageBox::NoRole);
@@ -526,7 +527,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
warning=0; warning=0;
contributorsDialog *cd = new contributorsDialog(this,2,rn); contributorsDialog *cd = new contributorsDialog(this,2,rn);
cd->exec(); cd->exec();
int ret2 = QMessageBox::question(this, "companion9x", tr("Do you want to download release %1 now ?").arg(NewFwRev), int ret2 = QMessageBox::question(this, "Companion", tr("Do you want to download release %1 now ?").arg(NewFwRev),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret2 == QMessageBox::Yes) { if (ret2 == QMessageBox::Yes) {
download = true; download = true;
@@ -540,10 +541,10 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
} }
} else { } else {
if(showcheckForUpdatesResult && check1done && check2done) if(showcheckForUpdatesResult && check1done && check2done)
QMessageBox::information(this, "companion9x", tr("No updates available at this time.")); QMessageBox::information(this, "Companion", tr("No updates available at this time."));
} }
if (ignore) { if (ignore) {
int res = QMessageBox::question(this, "companion9x",tr("Ignore this version (r%1)?").arg(rev), QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",tr("Ignore this version (r%1)?").arg(rev), QMessageBox::Yes | QMessageBox::No);
if (res==QMessageBox::Yes) { if (res==QMessageBox::Yes) {
settings.beginGroup("FwRevisions"); settings.beginGroup("FwRevisions");
settings.setValue(fwToUpdate, NewFwRev); settings.setValue(fwToUpdate, NewFwRev);
@@ -553,7 +554,7 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
if (warning>0) { if (warning>0) {
QString rn = GetFirmware(fwToUpdate)->rnurl; QString rn = GetFirmware(fwToUpdate)->rnurl;
if (!rn.isEmpty()) { if (!rn.isEmpty()) {
int ret2 = QMessageBox::warning(this, "companion9x", tr("Release notes contain very important informations. Do you want to see them now ?"), QMessageBox::Yes | QMessageBox::No); int ret2 = QMessageBox::warning(this, "Companion", tr("Release notes contain very important informations. Do you want to see them now ?"), QMessageBox::Yes | QMessageBox::No);
if (ret2 == QMessageBox::Yes) { if (ret2 == QMessageBox::Yes) {
contributorsDialog *cd = new contributorsDialog(this,2,rn); contributorsDialog *cd = new contributorsDialog(this,2,rn);
cd->exec(); cd->exec();
@@ -586,11 +587,11 @@ void MainWindow::reply1Finished(QNetworkReply * reply)
} }
} }
} else { } else {
QMessageBox::warning(this, "companion9x", tr("Unable to check for updates.")); QMessageBox::warning(this, "Companion", tr("Unable to check for updates."));
} }
} else { } else {
if(check1done && check2done) { if(check1done && check2done) {
QMessageBox::warning(this, "companion9x", tr("Unable to check for updates.")); QMessageBox::warning(this, "Companion", tr("Unable to check for updates."));
int server = settings.value("fwserver",0).toInt(); int server = settings.value("fwserver",0).toInt();
server++; server++;
settings.setValue("fwserver",server); settings.setValue("fwserver",server);
@@ -712,13 +713,13 @@ void MainWindow::loadProfile()
settings.setValue("profileId", profnum); settings.setValue("profileId", profnum);
current_firmware_variant = GetFirmwareVariant(firmware_id); current_firmware_variant = GetFirmwareVariant(firmware_id);
FirmwareInfo *firmware = GetCurrentFirmware(); FirmwareInfo *firmware = GetCurrentFirmware();
setWindowTitle(tr("companion9x - Models and Settings Editor - %1").arg(firmware->name)); setWindowTitle(tr("Companion - Models and Settings Editor - %1").arg(firmware->name));
// settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath()); // settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath());
foreach (QMdiSubWindow *window, mdiArea->subWindowList()) { foreach (QMdiSubWindow *window, mdiArea->subWindowList()) {
MdiChild *mdiChild = qobject_cast<MdiChild *>(window->widget()); MdiChild *mdiChild = qobject_cast<MdiChild *>(window->widget());
mdiChild->eepromInterfaceChanged(); mdiChild->eepromInterfaceChanged();
} }
setWindowTitle(tr("companion9x - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName)); setWindowTitle(tr("Companion - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName));
} }
} }
@@ -729,7 +730,7 @@ void MainWindow::unloadProfile()
QSettings settings("companion9x", "companion9x"); QSettings settings("companion9x", "companion9x");
settings.setValue("ActiveProfile",0); settings.setValue("ActiveProfile",0);
FirmwareInfo *firmware = GetCurrentFirmware(); FirmwareInfo *firmware = GetCurrentFirmware();
setWindowTitle(tr("companion9x - Models and Settings Editor - %1").arg(firmware->name)); setWindowTitle(tr("Companion - Models and Settings Editor - %1").arg(firmware->name));
} }
void MainWindow::preferences() void MainWindow::preferences()
@@ -738,9 +739,9 @@ void MainWindow::preferences()
pd->exec(); pd->exec();
FirmwareInfo *firmware = GetCurrentFirmware(); FirmwareInfo *firmware = GetCurrentFirmware();
if (ActiveProfile) { if (ActiveProfile) {
setWindowTitle(tr("companion9x - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName)); setWindowTitle(tr("Companion - Models and Settings Editor - %1 - profile %2").arg(firmware->name).arg(ActiveProfileName));
} else { } else {
setWindowTitle(tr("companion9x - Models and Settings Editor - %1").arg(firmware->name)); setWindowTitle(tr("Companion - Models and Settings Editor - %1").arg(firmware->name));
} }
foreach (QMdiSubWindow *window, mdiArea->subWindowList()) { foreach (QMdiSubWindow *window, mdiArea->subWindowList()) {
@@ -1076,10 +1077,10 @@ void MainWindow::burnExtenalToEEPROM()
cd->exec(); cd->exec();
if (!fileName.isEmpty()) { if (!fileName.isEmpty()) {
settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath()); settings.setValue("lastDir", QFileInfo(fileName).dir().absolutePath());
int ret = QMessageBox::question(this, "companion9x", tr("Write Models and settings from %1 to the Tx?").arg(QFileInfo(fileName).fileName()), QMessageBox::Yes | QMessageBox::No); int ret = QMessageBox::question(this, "Companion", tr("Write Models and settings from %1 to the Tx?").arg(QFileInfo(fileName).fileName()), QMessageBox::Yes | QMessageBox::No);
if (ret != QMessageBox::Yes) return; if (ret != QMessageBox::Yes) return;
if (!isValidEEPROM(fileName)) if (!isValidEEPROM(fileName))
ret = QMessageBox::question(this, "companion9x", tr("The file %1\nhas not been recognized as a valid Models and Settings file\nWrite anyway ?").arg(QFileInfo(fileName).fileName()), QMessageBox::Yes | QMessageBox::No); ret = QMessageBox::question(this, "Companion", tr("The file %1\nhas not been recognized as a valid Models and Settings file\nWrite anyway ?").arg(QFileInfo(fileName).fileName()), QMessageBox::Yes | QMessageBox::No);
if (ret != QMessageBox::Yes) return; if (ret != QMessageBox::Yes) return;
bool backupEnable = settings.value("backupEnable", true).toBool(); bool backupEnable = settings.value("backupEnable", true).toBool();
QString backupPath = settings.value("backupPath", "").toString(); QString backupPath = settings.value("backupPath", "").toString();
@@ -1488,15 +1489,15 @@ void MainWindow::logFile()
void MainWindow::about() void MainWindow::about()
{ {
QString aboutStr = "<center><img src=\":/images/companion9x-title.png\"><br>"; QString aboutStr = "<center><img src=\":/images/companion9x-title.png\"></center><br>";
aboutStr.append(tr("Copyright") +" Bertrand Songis & Romolo Manfredini &copy; 2011- 2013<br>"); aboutStr.append(tr("Copyright") +" Bertrand Songis & Romolo Manfredini &copy; 2011- 2014<br>");
aboutStr.append(QString("<a href='http://code.google.com/p/companion9x/'>http://code.google.com/p/companion9x/</a><br>")+tr("Version %1 (revision %2), %3").arg(C9X_VERSION).arg(C9X_REVISION).arg(__DATE__)+QString("<br/><br/>")); aboutStr.append(QString("<a href='http://code.google.com/p/companion9x/'>http://code.google.com/p/companion9x/</a><br>")+tr("Version %1 (revision %2), %3").arg(C9X_VERSION).arg(C9X_REVISION).arg(__DATE__)+QString("<br/><br/>"));
aboutStr.append(tr("The companion9x project was originally forked from eePe")+QString(" <a href='http://code.google.com/p/eepe'>http://code.google.com/p/eepe</a><br/><br/>")); aboutStr.append(tr("The Companion project was originally forked from eePe")+QString(" <a href='http://code.google.com/p/eepe'>http://code.google.com/p/eepe</a><br/><br/>"));
aboutStr.append(tr("If you've found this program useful, please support by")); aboutStr.append(tr("If you've found this program useful, please support by"));
aboutStr.append(" <a href='" DONATE_STR "'>"); aboutStr.append(" <a href='" DONATE_STR "'>");
aboutStr.append(tr("donating") + "</a></center>"); aboutStr.append(tr("donating") + "</a>");
QMessageBox::about(this, tr("About companion9x"),aboutStr); QMessageBox::about(this, tr("About Companion"),aboutStr);
} }
void MainWindow::updateMenus() void MainWindow::updateMenus()
@@ -1623,15 +1624,15 @@ void MainWindow::createActions()
connect(preferencesAct, SIGNAL(triggered()), this, SLOT(preferences())); connect(preferencesAct, SIGNAL(triggered()), this, SLOT(preferences()));
checkForUpdatesAct = new QAction(QIcon(":/images/update.png"), tr("&Check for updates..."), this); checkForUpdatesAct = new QAction(QIcon(":/images/update.png"), tr("&Check for updates..."), this);
checkForUpdatesAct->setStatusTip(tr("Check for new version of companion9x/er9x")); checkForUpdatesAct->setStatusTip(tr("Check for new version of Companion"));
connect(checkForUpdatesAct, SIGNAL(triggered()), this, SLOT(doUpdates())); connect(checkForUpdatesAct, SIGNAL(triggered()), this, SLOT(doUpdates()));
contributorsAct = new QAction(QIcon(":/images/contributors.png"), tr("Contributors &List..."), this); contributorsAct = new QAction(QIcon(":/images/contributors.png"), tr("Contributors &List..."), this);
contributorsAct->setStatusTip(tr("Show companion9x contributors list")); contributorsAct->setStatusTip(tr("Show Companion contributors list"));
connect(contributorsAct, SIGNAL(triggered()), this, SLOT(contributors())); connect(contributorsAct, SIGNAL(triggered()), this, SLOT(contributors()));
changelogAct = new QAction(QIcon(":/images/changelog.png"), tr("ChangeLog..."), this); changelogAct = new QAction(QIcon(":/images/changelog.png"), tr("ChangeLog..."), this);
changelogAct->setStatusTip(tr("Show companion9x changelog")); changelogAct->setStatusTip(tr("Show Companion changelog"));
connect(changelogAct, SIGNAL(triggered()), this, SLOT(changelog())); connect(changelogAct, SIGNAL(triggered()), this, SLOT(changelog()));
fwchangelogAct = new QAction(QIcon(":/images/changelog.png"), tr("Firmware ChangeLog..."), this); fwchangelogAct = new QAction(QIcon(":/images/changelog.png"), tr("Firmware ChangeLog..."), this);
+3 -3
View File
@@ -179,12 +179,12 @@ void MdiChild::OpenEditWindow(bool wizard=false)
QSettings settings("companion9x", "companion9x"); QSettings settings("companion9x", "companion9x");
bool wizardEnable=settings.value("wizardEnable", true).toBool(); bool wizardEnable=settings.value("wizardEnable", true).toBool();
if (wizardEnable) { if (wizardEnable) {
ret = QMessageBox::question(this, tr("companion9x"), tr("Do you want to use model wizard? "), QMessageBox::Yes | QMessageBox::No); ret = QMessageBox::question(this, tr("Companion"), tr("Do you want to use model wizard? "), QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::Yes) { if (ret == QMessageBox::Yes) {
wizard=true; wizard=true;
} else { } else {
qSleep(500); qSleep(500);
ret = QMessageBox::question(this, tr("companion9x"), tr("Ask this question again ? "), QMessageBox::Yes | QMessageBox::No); ret = QMessageBox::question(this, tr("Companion"), tr("Ask this question again ? "), QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::No) { if (ret == QMessageBox::No) {
settings.setValue("wizardEnable", false); settings.setValue("wizardEnable", false);
} }
@@ -467,7 +467,7 @@ bool MdiChild::maybeSave()
{ {
if (fileChanged) { if (fileChanged) {
QMessageBox::StandardButton ret; QMessageBox::StandardButton ret;
ret = QMessageBox::warning(this, tr("companion9x"), ret = QMessageBox::warning(this, tr("Companion"),
tr("%1 has been modified.\n" tr("%1 has been modified.\n"
"Do you want to save your changes?").arg(userFriendlyCurrentFile()), "Do you want to save your changes?").arg(userFriendlyCurrentFile()),
QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel); QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
+6 -6
View File
@@ -5389,7 +5389,7 @@ void ModelEdit::drawCurve()
bool ModelEdit::gm_insertMix(int idx) bool ModelEdit::gm_insertMix(int idx)
{ {
if (idx<0 || idx>=GetEepromInterface()->getCapability(Mixes) || g_model.mixData[GetEepromInterface()->getCapability(Mixes)-1].destCh > 0) { if (idx<0 || idx>=GetEepromInterface()->getCapability(Mixes) || g_model.mixData[GetEepromInterface()->getCapability(Mixes)-1].destCh > 0) {
QMessageBox::information(this, "companion9x", tr("Not enough available mixers!")); QMessageBox::information(this, "Companion", tr("Not enough available mixers!"));
return false; return false;
} }
@@ -5444,7 +5444,7 @@ int ModelEdit::getMixerIndex(unsigned int dch)
bool ModelEdit::gm_insertExpo(int idx) bool ModelEdit::gm_insertExpo(int idx)
{ {
if (idx<0 || idx>=C9X_MAX_EXPOS || g_model.expoData[C9X_MAX_EXPOS-1].mode > 0) { if (idx<0 || idx>=C9X_MAX_EXPOS || g_model.expoData[C9X_MAX_EXPOS-1].mode > 0) {
QMessageBox::information(this, "companion9x", tr("Not enough available expos!")); QMessageBox::information(this, "Companion", tr("Not enough available expos!"));
return false; return false;
} }
@@ -5584,7 +5584,7 @@ void ModelEdit::mixersDelete(bool ask)
QMessageBox::StandardButton ret = QMessageBox::No; QMessageBox::StandardButton ret = QMessageBox::No;
if(ask) if(ask)
ret = QMessageBox::warning(this, "companion9x", ret = QMessageBox::warning(this, "Companion",
tr("Delete Selected Mixes?"), tr("Delete Selected Mixes?"),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
@@ -5622,7 +5622,7 @@ void ModelEdit::exposDelete(bool ask)
QMessageBox::StandardButton ret = QMessageBox::No; QMessageBox::StandardButton ret = QMessageBox::No;
if(ask) if(ask)
ret = QMessageBox::warning(this, "companion9x", ret = QMessageBox::warning(this, "Companion",
tr("Delete Selected Expos?"), tr("Delete Selected Expos?"),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
@@ -6183,7 +6183,7 @@ void ModelEdit::resetCurve()
QPushButton *button = (QPushButton *)sender(); QPushButton *button = (QPushButton *)sender();
int btn=button->objectName().mid(button->objectName().lastIndexOf("_")+1).toInt()-1; int btn=button->objectName().mid(button->objectName().lastIndexOf("_")+1).toInt()-1;
if (btn!=currentCurve) { if (btn!=currentCurve) {
int res = QMessageBox::question(this, "companion9x",tr("Are you sure you want to delete curve %1 ?").arg(btn+1),QMessageBox::Yes | QMessageBox::No); int res = QMessageBox::question(this, "Companion",tr("Are you sure you want to delete curve %1 ?").arg(btn+1),QMessageBox::Yes | QMessageBox::No);
if (res == QMessageBox::No) { if (res == QMessageBox::No) {
return; return;
} }
@@ -7312,7 +7312,7 @@ void ModelEdit::on_curvetype_CB_currentIndexChanged(int index) {
int fwpoints=GetEepromInterface()->getCapability(NumCurvePoints); int fwpoints=GetEepromInterface()->getCapability(NumCurvePoints);
if (fwpoints!=0) { if (fwpoints!=0) {
if (fwpoints<totalpoints) { if (fwpoints<totalpoints) {
QMessageBox::warning(this, "companion9x", tr("Not enough free points in eeprom to store the curve.")); QMessageBox::warning(this, "Companion", tr("Not enough free points in eeprom to store the curve."));
int oldindex=0; int oldindex=0;
if (currpoints==3) { if (currpoints==3) {
oldindex=0; oldindex=0;
+7 -7
View File
@@ -226,7 +226,7 @@ void ModelsListWidget::dropEvent(QDropEvent *event)
if (row < 0) if (row < 0)
return; return;
// QMessageBox::warning(this, tr("companion9x"),tr("Index :%1").arg(row)); // QMessageBox::warning(this, tr("Companion"),tr("Index :%1").arg(row));
const QMimeData *mimeData = event->mimeData(); const QMimeData *mimeData = event->mimeData();
if(mimeData->hasFormat("application/x-companion9x")) if(mimeData->hasFormat("application/x-companion9x"))
{ {
@@ -360,9 +360,9 @@ void ModelsListWidget::deleteSelected(bool ask=true)
} }
if (isModel==true) { if (isModel==true) {
if (radioData->generalSettings.currModel != selModel) { if (radioData->generalSettings.currModel != selModel) {
ret = QMessageBox::warning(this, "companion9x", tr("Delete Selected Models?"), QMessageBox::Yes | QMessageBox::No); ret = QMessageBox::warning(this, "Companion", tr("Delete Selected Models?"), QMessageBox::Yes | QMessageBox::No);
} else { } else {
ret = QMessageBox::warning(this, "companion9x", tr("Cannot delete default model."), QMessageBox::Ok); ret = QMessageBox::warning(this, "Companion", tr("Cannot delete default model."), QMessageBox::Ok);
} }
} }
} }
@@ -373,9 +373,9 @@ void ModelsListWidget::deleteSelected(bool ask=true)
((MdiChild *)parent())->setModified(); ((MdiChild *)parent())->setModified();
} else if (index.row()>0) { } else if (index.row()>0) {
if (ask) { if (ask) {
ret = QMessageBox::warning(this, "companion9x", tr("Cannot delete default model."), QMessageBox::Ok); ret = QMessageBox::warning(this, "Companion", tr("Cannot delete default model."), QMessageBox::Ok);
} else { } else {
ret = QMessageBox::warning(this, "companion9x", tr("Cannot cut default model."), QMessageBox::Ok); ret = QMessageBox::warning(this, "Companion", tr("Cannot cut default model."), QMessageBox::Ok);
} }
} }
} }
@@ -456,7 +456,7 @@ void ModelsListWidget::doPaste(QByteArray *gmData, int index)
} }
else { //model data else { //model data
if (!radioData->models[id-1].isempty()) { if (!radioData->models[id-1].isempty()) {
ret = QMessageBox::question(this, "companion9x", tr("You are pasting on an not empty model, are you sure?"), ret = QMessageBox::question(this, "Companion", tr("You are pasting on an not empty model, are you sure?"),
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret == QMessageBox::Yes) { if (ret == QMessageBox::Yes) {
radioData->models[id-1] = *((ModelData *)gData); radioData->models[id-1] = *((ModelData *)gData);
@@ -519,7 +519,7 @@ void ModelsListWidget::duplicate()
i++; i++;
} }
if (i==GetEepromInterface()->getMaxModels()) { if (i==GetEepromInterface()->getMaxModels()) {
QMessageBox::warning(this, "companion9x", tr("No free slot available, cannot duplicate"), QMessageBox::Ok); QMessageBox::warning(this, "Companion", tr("No free slot available, cannot duplicate"), QMessageBox::Ok);
} }
} }
} }
+4 -4
View File
@@ -239,11 +239,11 @@ void preferencesDialog::firmwareChanged()
} }
else { else {
if (ui->fw_dnld->isEnabled()) { if (ui->fw_dnld->isEnabled()) {
ui->FwInfo->setText(tr("The selected firmware has never been downloaded by companion9x.")); ui->FwInfo->setText(tr("The selected firmware has never been downloaded by Companion."));
ui->checkFWUpdates->hide(); ui->checkFWUpdates->hide();
} }
else { else {
ui->FwInfo->setText(tr("The selected firmware cannot be downloaded by companion9x.")); ui->FwInfo->setText(tr("The selected firmware cannot be downloaded by Companion."));
ui->checkFWUpdates->hide(); ui->checkFWUpdates->hide();
} }
} }
@@ -660,7 +660,7 @@ void preferencesDialog::on_ProfSave_PB_clicked()
QString profile=QString("profile%1").arg(ui->ProfSlot_SB->value()); QString profile=QString("profile%1").arg(ui->ProfSlot_SB->value());
QString name=ui->ProfName_LE->text(); QString name=ui->ProfName_LE->text();
if (name.isEmpty()) { if (name.isEmpty()) {
int ret = QMessageBox::question(this, "companion9x", int ret = QMessageBox::question(this, "Companion",
tr("Profile name is empty, profile slot %1 will be deleted.<br>Are you sure ?").arg(ui->ProfSlot_SB->value()) , tr("Profile name is empty, profile slot %1 will be deleted.<br>Are you sure ?").arg(ui->ProfSlot_SB->value()) ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret==QMessageBox::Yes) { if (ret==QMessageBox::Yes) {
@@ -719,7 +719,7 @@ void preferencesDialog::on_import_PB_clicked()
QString profile=QString("profile%1").arg(ui->ProfSlot_SB->value()); QString profile=QString("profile%1").arg(ui->ProfSlot_SB->value());
QString name=ui->ProfName_LE->text(); QString name=ui->ProfName_LE->text();
if (!name.isEmpty()) { if (!name.isEmpty()) {
int ret = QMessageBox::question(this, "companion9x", int ret = QMessageBox::question(this, "Companion",
tr("Profile slot is not empty, profile slot %1 will we overwritten.<br>Are you sure ?").arg(ui->ProfSlot_SB->value()) , tr("Profile slot is not empty, profile slot %1 will we overwritten.<br>Are you sure ?").arg(ui->ProfSlot_SB->value()) ,
QMessageBox::Yes | QMessageBox::No); QMessageBox::Yes | QMessageBox::No);
if (ret==QMessageBox::No) { if (ret==QMessageBox::No) {
+1 -1
View File
@@ -227,7 +227,7 @@ void simulatorDialog::onTimerEvent()
{ {
static unsigned int lcd_counter = 0; static unsigned int lcd_counter = 0;
if (!simulator->timer10ms()) { if (!simulator->timer10ms()) {
QMessageBox::critical(this, "companion9x", QString(tr("Firmware %1 error: %2")).arg(txInterface->getName()).arg(simulator->getError())); QMessageBox::critical(this, "Companion", QString(tr("Firmware %1 error: %2")).arg(txInterface->getName()).arg(simulator->getError()));
timer->stop(); timer->stop();
return; return;
} }
+4 -1
View File
@@ -23,7 +23,7 @@
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Companion9x Simulator</string> <string>Companion Simulator</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="companion9x.qrc"> <iconset resource="companion9x.qrc">
@@ -1092,6 +1092,7 @@ QPushButton:checked {
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="4" rowspan="3"> <item row="0" column="4" rowspan="3">
<widget class="menuWidget" name="menu" native="true"> <widget class="menuWidget" name="menu" native="true">
<property name="sizePolicy"> <property name="sizePolicy">
@@ -1810,6 +1811,7 @@ QPushButton:checked {
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<property name="lineWidth"> <property name="lineWidth">
<number>2</number> <number>2</number>
</property> </property>
@@ -2294,6 +2296,7 @@ border-radius: 4px;
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_ch01"> <widget class="QLabel" name="label_ch01">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+236 -218
View File
@@ -1211,53 +1211,38 @@ FAI-funktionen kan inte slås av i sändaren.
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../mainwindow.cpp" line="+147"/> <location filename="../mainwindow.cpp" line="+147"/>
<location line="+488"/> <location line="+489"/>
<location line="+34"/> <location line="+34"/>
<location line="+1492"/> <location line="+1492"/>
<source>File loaded</source> <source>File loaded</source>
<translation>Filen har laddats</translation> <translation>Filen har laddats</translation>
</message> </message>
<message> <message>
<location line="-1893"/> <location line="-1894"/>
<location line="+2"/> <location line="+2"/>
<location line="+40"/> <location line="+40"/>
<location line="+260"/> <location line="+261"/>
<location line="+2"/> <location line="+2"/>
<source>Save As</source> <source>Save As</source>
<translation>Spara Som</translation> <translation>Spara Som</translation>
</message> </message>
<message> <message>
<location line="-287"/> <location line="-288"/>
<location line="+258"/> <location line="+259"/>
<source>No updates available at this time.</source> <source>No updates available at this time.</source>
<translation>Inga updateringar finns tillgängliga.</translation> <translation>Inga updateringar finns tillgängliga.</translation>
</message> </message>
<message> <message>
<location line="-297"/> <location line="-298"/>
<location line="+43"/> <location line="+43"/>
<location line="+178"/> <location line="+178"/>
<location line="+122"/> <location line="+123"/>
<location line="+4"/> <location line="+4"/>
<source>Unable to check for updates.</source> <source>Unable to check for updates.</source>
<translation>Det gick inte att söka efter uppdateringar.</translation> <translation>Det gick inte att söka efter uppdateringar.</translation>
</message> </message>
<message> <message>
<location line="-487"/> <location line="-324"/>
<location line="+615"/>
<location line="+20"/>
<source>companion9x - Models and Settings Editor - %1 - profile %2</source>
<translation>companion9x - Editor för Modeller och Inställningar - %1 - profile %2</translation>
</message>
<message>
<location line="-633"/>
<location line="+607"/>
<location line="+17"/>
<location line="+11"/>
<source>companion9x - Models and Settings Editor - %1</source>
<translation>companion9x - Editor för Modeller och Inställningar - %1</translation>
</message>
<message>
<location line="-473"/>
<source>Executable (*.exe)</source> <source>Executable (*.exe)</source>
<translation>Program (*.exe)</translation> <translation>Program (*.exe)</translation>
</message> </message>
@@ -1272,7 +1257,7 @@ FAI-funktionen kan inte slås av i sändaren.
<translation>Vill du skriva firmware till sändaren nu?</translation> <translation>Vill du skriva firmware till sändaren nu?</translation>
</message> </message>
<message> <message>
<location line="+86"/> <location line="+87"/>
<source>A new version of %1 firmware is available (current %2 - newer %3). <source>A new version of %1 firmware is available (current %2 - newer %3).
Do you want to download it now ?</source> Do you want to download it now ?</source>
<translation>En ny version finns tillgänglig av %1 fimware (Din version %2 - Ny version %3). <translation>En ny version finns tillgänglig av %1 fimware (Din version %2 - Ny version %3).
@@ -1367,12 +1352,7 @@ Vill du ladda ned den nya versionen nu ?</translation>
<translation>&amp;Sök efter uppdateringar...</translation> <translation>&amp;Sök efter uppdateringar...</translation>
</message> </message>
<message> <message>
<location line="-1365"/> <location line="-1453"/>
<source>A new version of companion9x is available (version %1)&lt;br&gt;Would you like to download it?</source>
<translation>An ny version av companion9x finns tillgänglig (version %1)&lt;br&gt;Vill du ladda ned den?</translation>
</message>
<message>
<location line="-87"/>
<source>Display previous message again at startup ?</source> <source>Display previous message again at startup ?</source>
<translation>Skall föregående varning visas igen vid uppstart ?</translation> <translation>Skall föregående varning visas igen vid uppstart ?</translation>
</message> </message>
@@ -1387,18 +1367,12 @@ Vill du ladda ned den nya versionen nu ?</translation>
<translation>Tillfälligt fel i byggservern. Försök igen senare</translation> <translation>Tillfälligt fel i byggservern. Försök igen senare</translation>
</message> </message>
<message> <message>
<location line="+6"/> <location line="+37"/>
<location line="+40"/>
<source>Compilation server requires registration, please check opentx web site</source>
<translation>Byggservern kräver registrering. Var god kontrollera openTX webbsida</translation>
</message>
<message>
<location line="-9"/>
<source>Firmware does not fit in the Tx, due to selected firmware options</source> <source>Firmware does not fit in the Tx, due to selected firmware options</source>
<translation>Firmware får inte rum i minnet på grund av att för många funktioner aktiverats</translation> <translation>Firmware får inte rum i minnet på grund av att för många funktioner aktiverats</translation>
</message> </message>
<message> <message>
<location line="+97"/> <location line="+98"/>
<source>Firmware %1 does not seem to have ever been downloaded. <source>Firmware %1 does not seem to have ever been downloaded.
Version %2 is available. Version %2 is available.
Do you want to download it now ?</source> Do you want to download it now ?</source>
@@ -1432,32 +1406,12 @@ Vill du ladda ned den nu ?</translation>
<translation>Version %1 (revision %2), %3</translation> <translation>Version %1 (revision %2), %3</translation>
</message> </message>
<message> <message>
<location line="+1"/> <location line="+2"/>
<source>The companion9x project was originally forked from eePe</source>
<translation>Ursprungligen grenades companion9x av från eePe</translation>
</message>
<message>
<location line="+1"/>
<source>If you&apos;ve found this program useful, please support by</source> <source>If you&apos;ve found this program useful, please support by</source>
<translation>Om du tycker att programet är användbart så kan du stödja utvecklingen genom att</translation> <translation>Om du tycker att programet är användbart så kan du stödja utvecklingen genom att</translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+151"/>
<source>About companion9x</source>
<translation>Om companion9x</translation>
</message>
<message>
<location line="+127"/>
<source>Check for new version of companion9x/er9x</source>
<translation>Sök efter ny version av companion9x/er9x</translation>
</message>
<message>
<location line="+4"/>
<source>Show companion9x contributors list</source>
<translation>Visa vilka som bidragit till companion9x</translation>
</message>
<message>
<location line="+16"/>
<source>Customize your &amp;TX...</source> <source>Customize your &amp;TX...</source>
<translation>Sändari&amp;nställningar...</translation> <translation>Sändari&amp;nställningar...</translation>
</message> </message>
@@ -1668,17 +1622,37 @@ Vill du ladda ned den nu ?</translation>
<translation>Byt layout-riktning</translation> <translation>Byt layout-riktning</translation>
</message> </message>
<message> <message>
<location line="-1542"/> <location line="-1661"/>
<location line="+616"/>
<location line="+20"/>
<source>Companion - Models and Settings Editor - %1 - profile %2</source>
<translation>Companion - Editor för Modeller och Inställningar - %1 - profile %2</translation>
</message>
<message>
<location line="-634"/>
<location line="+608"/>
<location line="+17"/>
<location line="+11"/>
<source>Companion - Models and Settings Editor - %1</source>
<translation>Companion - Editor för Modeller och Inställningar - %1</translation>
</message>
<message>
<location line="-520"/>
<source>Checking for updates</source> <source>Checking for updates</source>
<translation>Letar efter uppdateringar</translation> <translation>Letar efter uppdateringar</translation>
</message> </message>
<message> <message>
<location line="+322"/> <location line="+323"/>
<source>Ignore this version (r%1)?</source> <source>Ignore this version (r%1)?</source>
<translation>Ladda inte ned versionen (r%1)?</translation> <translation>Ladda inte ned versionen (r%1)?</translation>
</message> </message>
<message> <message>
<location line="+1131"/> <location line="+1088"/>
<source>Show Companion changelog</source>
<translation>Visa en lista med förändringar av Companion</translation>
</message>
<message>
<location line="+43"/>
<source>&amp;Write Models and Settings To Tx</source> <source>&amp;Write Models and Settings To Tx</source>
<translation>&amp;Skriv Modeller och Inställningar till sändaren</translation> <translation>&amp;Skriv Modeller och Inställningar till sändaren</translation>
</message> </message>
@@ -1737,14 +1711,6 @@ Vill du ladda ned den nu ?</translation>
<source>Read firmware from transmitter</source> <source>Read firmware from transmitter</source>
<translation>Läs firmware från sändaren</translation> <translation>Läs firmware från sändaren</translation>
</message> </message>
<message>
<source>&amp;Configure Communication...</source>
<translation type="obsolete">&amp;Kommunikationsinställningar...</translation>
</message>
<message>
<source>Configure software for communication with the transmitter</source>
<translation type="obsolete">Inställningar för mjukvaran som kommunicerar med sändaren</translation>
</message>
<message> <message>
<location line="+115"/> <location line="+115"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
@@ -1786,7 +1752,7 @@ Vill du ladda ned den nu ?</translation>
<translation>&amp;Bidragsgivare...</translation> <translation>&amp;Bidragsgivare...</translation>
</message> </message>
<message> <message>
<location line="-1459"/> <location line="-1460"/>
<source>Display previous warning again at startup ?</source> <source>Display previous warning again at startup ?</source>
<translation>SKall föregående varning visas igen vid uppstart ?</translation> <translation>SKall föregående varning visas igen vid uppstart ?</translation>
</message> </message>
@@ -1795,7 +1761,7 @@ Vill du ladda ned den nu ?</translation>
<location line="+29"/> <location line="+29"/>
<location line="+11"/> <location line="+11"/>
<location line="+29"/> <location line="+29"/>
<location line="+495"/> <location line="+496"/>
<location line="+1165"/> <location line="+1165"/>
<location line="+6"/> <location line="+6"/>
<location line="+8"/> <location line="+8"/>
@@ -1815,19 +1781,14 @@ Vill du ladda ned den nu ?</translation>
%2.</translation> %2.</translation>
</message> </message>
<message> <message>
<location line="-621"/> <location line="-622"/>
<source>New release available</source> <source>New release available</source>
<translation>En ny version finns tillgänglig</translation> <translation>En ny version finns tillgänglig</translation>
</message> </message>
<message>
<location line="+0"/>
<source>A new release of companion is available please check the repository</source>
<translation>En ny version av companion finns tillgänglig. Kontrollera källkods-repository</translation>
</message>
<message> <message>
<location line="+57"/> <location line="+57"/>
<location line="+40"/> <location line="+40"/>
<location line="+1694"/> <location line="+1695"/>
<location line="+8"/> <location line="+8"/>
<location line="+36"/> <location line="+36"/>
<source>Error opening file %1: <source>Error opening file %1:
@@ -1836,7 +1797,7 @@ Vill du ladda ned den nu ?</translation>
%2.</translation> %2.</translation>
</message> </message>
<message> <message>
<location line="-1723"/> <location line="-1724"/>
<source>Compilation server termporary failure, try later</source> <source>Compilation server termporary failure, try later</source>
<translation>Tillfälligt fel i byggservern. Försök igen senare</translation> <translation>Tillfälligt fel i byggservern. Försök igen senare</translation>
</message> </message>
@@ -1853,7 +1814,7 @@ Vill du ladda ned den nu ?</translation>
<translation>Okänt server-fel. Försök igen senare</translation> <translation>Okänt server-fel. Försök igen senare</translation>
</message> </message>
<message> <message>
<location line="+1239"/> <location line="+1240"/>
<source>Compare...</source> <source>Compare...</source>
<translation>Jämför...</translation> <translation>Jämför...</translation>
</message> </message>
@@ -1959,7 +1920,23 @@ Vill du ladda ned den nu ?</translation>
<translation>Ja</translation> <translation>Ja</translation>
</message> </message>
<message> <message>
<location line="-28"/> <location line="-258"/>
<source>A new version of Companion is available (version %1)&lt;br&gt;Would you like to download it?</source>
<translation>An ny version av Companion finns tillgänglig (version %1)&lt;br&gt;Vill du ladda ned den?</translation>
</message>
<message>
<location line="+21"/>
<source>A new release of Companion is available please check the repository</source>
<translation>En ny version av Companion finns tillgänglig. Kontrollera källkods-repository</translation>
</message>
<message>
<location line="+78"/>
<location line="+40"/>
<source>Compilation server requires registration, please check OpenTX web site</source>
<translation>Byggservern kräver registrering. Var god kontrollera OpenTX webbsida</translation>
</message>
<message>
<location line="+91"/>
<location line="+29"/> <location line="+29"/>
<source>No</source> <source>No</source>
<translation>Nej</translation> <translation>Nej</translation>
@@ -2090,17 +2067,32 @@ Starta skrivningen i alla fall ?</translation>
<translation>Läs Sändarens Firmware till Fil</translation> <translation>Läs Sändarens Firmware till Fil</translation>
</message> </message>
<message> <message>
<location line="+189"/> <location line="+50"/>
<source>The Companion project was originally forked from eePe</source>
<translation>Ursprungligen grenades Companion av från eePe</translation>
</message>
<message>
<location line="+5"/>
<source>About Companion</source>
<translation>Om Companion</translation>
</message>
<message>
<location line="+127"/>
<source>Check for new version of Companion</source>
<translation>Sök efter ny version av Companion</translation>
</message>
<message>
<location line="+4"/>
<source>Show Companion contributors list</source>
<translation>Visa vilka som bidragit till Companion</translation>
</message>
<message>
<location line="+3"/>
<source>ChangeLog...</source> <source>ChangeLog...</source>
<translation>Förändringar...</translation> <translation>Förändringar...</translation>
</message> </message>
<message> <message>
<location line="+1"/> <location line="+4"/>
<source>Show companion9x changelog</source>
<translation>Visa en lista med förändringar av companion9x</translation>
</message>
<message>
<location line="+3"/>
<source>Firmware ChangeLog...</source> <source>Firmware ChangeLog...</source>
<translation>Firmware-förändringar...</translation> <translation>Firmware-förändringar...</translation>
</message> </message>
@@ -2218,14 +2210,7 @@ Starta skrivningen i alla fall ?</translation>
<translation>Ogiltig binär modelldatafil %1</translation> <translation>Ogiltig binär modelldatafil %1</translation>
</message> </message>
<message> <message>
<location line="-137"/> <location line="+152"/>
<location line="+5"/>
<location line="+283"/>
<source>companion9x</source>
<translation>companion9x</translation>
</message>
<message>
<location line="+1"/>
<source>%1 has been modified. <source>%1 has been modified.
Do you want to save your changes?</source> Do you want to save your changes?</source>
<translation>%1 har förändrats. <translation>%1 har förändrats.
@@ -2242,7 +2227,14 @@ Vill du spara förändringarna?</translation>
<translation>Säkerhetskopierin kan ej utföras</translation> <translation>Säkerhetskopierin kan ej utföras</translation>
</message> </message>
<message> <message>
<location line="+0"/> <location line="-332"/>
<location line="+5"/>
<location line="+283"/>
<source>Companion</source>
<translation>Companion</translation>
</message>
<message>
<location line="+44"/>
<source>The backup dir set in preferences does not exist</source> <source>The backup dir set in preferences does not exist</source>
<translation>Katalog för säkerhetskopiering saknas i inställningarna</translation> <translation>Katalog för säkerhetskopiering saknas i inställningarna</translation>
</message> </message>
@@ -7167,16 +7159,16 @@ eeprom-storleken är 4096, men enbart den första hälften används</translation
</message> </message>
<message> <message>
<location filename="../warnings.h" line="+5"/> <location filename="../warnings.h" line="+5"/>
<source>Thanks all for the donations, kind messages, nice ideas, constructive proposals etc. for the next openTX/C9x funding model. <source>Thanks all for the donations, kind messages, nice ideas, constructive proposals etc. for the next OpenTX/Companion funding model.
We are really sensible to that! We are really appreciative for that!
The openTX/C9X Team.</source> The OpenTX/Companion Team.</source>
<translation>Tack för alla donationer, vänliga meddelanden, goda idéer och konstruktiva förslag för att bekosta fortsatt utveckling av openTX/companion9x <translation>Tack för alla donationer, vänliga meddelanden, goda idéer och konstruktiva förslag för att bekosta fortsatt utveckling av OpenTX/Companion
Vi uppkskattar ert stöd! Vi uppskattar ert stöd!
Gruppen bakum openTX/companion9X.</translation> Gruppen bakom OpenTX/Companion.</translation>
</message> </message>
</context> </context>
<context> <context>
@@ -7450,12 +7442,6 @@ OBS. Fyll enbart i detta fällt om du är säker på vad du gör. Ingen kontroll
<source>Select Location</source> <source>Select Location</source>
<translation>Välj sökväg</translation> <translation>Välj sökväg</translation>
</message> </message>
<message>
<location line="+71"/>
<location line="+69"/>
<source>companion9x</source>
<translation>companion9x</translation>
</message>
<message> <message>
<location filename="../burnconfigdialog.ui" line="+20"/> <location filename="../burnconfigdialog.ui" line="+20"/>
<location line="+30"/> <location line="+30"/>
@@ -7473,7 +7459,7 @@ m2560 for v4.1 boards</source>
m2560 för v4.1-kort</translation> m2560 för v4.1-kort</translation>
</message> </message>
<message> <message>
<location filename="../burnconfigdialog.cpp" line="-68"/> <location filename="../burnconfigdialog.cpp" line="+72"/>
<source>&lt;b&gt;&lt;u&gt;WARNING!&lt;/u&gt;&lt;/b&gt;&lt;br&gt;This will reset the fuses of %1 to the factory settings.&lt;br&gt;Writing fuses can mess up your radio.&lt;br&gt;Do this only if you are sure they are wrong!&lt;br&gt;Are you sure you want to continue?</source> <source>&lt;b&gt;&lt;u&gt;WARNING!&lt;/u&gt;&lt;/b&gt;&lt;br&gt;This will reset the fuses of %1 to the factory settings.&lt;br&gt;Writing fuses can mess up your radio.&lt;br&gt;Do this only if you are sure they are wrong!&lt;br&gt;Are you sure you want to continue?</source>
<translation>&lt;b&gt;&lt;u&gt;VARNING!&lt;/u&gt;&lt;/b&gt;&lt;br&gt;Detta åerställer säkringarna för %1 till deras ursprungliga värden.&lt;br&gt;Att ändra dessa värden kan skapa allvarliga problem med din sändare.&lt;br&gt;Ändra säkringarna bara om du är helt säker på att de har fel värde!&lt;br&gt;Är du säker på att du vill fortsätta?</translation> <translation>&lt;b&gt;&lt;u&gt;VARNING!&lt;/u&gt;&lt;/b&gt;&lt;br&gt;Detta åerställer säkringarna för %1 till deras ursprungliga värden.&lt;br&gt;Att ändra dessa värden kan skapa allvarliga problem med din sändare.&lt;br&gt;Ändra säkringarna bara om du är helt säker på att de har fel värde!&lt;br&gt;Är du säker på att du vill fortsätta?</translation>
</message> </message>
@@ -7550,6 +7536,12 @@ m2560 för v4.1-kort</translation>
<source>AVRDUDE Configuration</source> <source>AVRDUDE Configuration</source>
<translation>Inställningar för AVRDUDE</translation> <translation>Inställningar för AVRDUDE</translation>
</message> </message>
<message>
<location line="+272"/>
<location line="+69"/>
<source>Companion</source>
<translation>Companion</translation>
</message>
</context> </context>
<context> <context>
<name>burnDialog</name> <name>burnDialog</name>
@@ -7569,7 +7561,12 @@ m2560 för v4.1-kort</translation>
<translation>Subversion</translation> <translation>Subversion</translation>
</message> </message>
<message> <message>
<location line="+233"/> <location line="+63"/>
<source>Allows Companion to write to older version of the firmware</source>
<translation>Tillåter Companon att skriva till äldre firmware-versioner</translation>
</message>
<message>
<location line="+170"/>
<source>Load Image</source> <source>Load Image</source>
<translation>Ladda Bild</translation> <translation>Ladda Bild</translation>
</message> </message>
@@ -7748,12 +7745,7 @@ m2560 för v4.1-kort</translation>
<translation>Välj fil</translation> <translation>Välj fil</translation>
</message> </message>
<message> <message>
<location line="+15"/> <location line="+28"/>
<source>Allows companion9x to write to older version of the firmware</source>
<translation>Tillåter companon9x att skriva till äldre firmware-versioner</translation>
</message>
<message>
<location line="+13"/>
<source>Backup and restore Models and Settings</source> <source>Backup and restore Models and Settings</source>
<translation>Säkerhetskopiera Modeller och Inställningar</translation> <translation>Säkerhetskopiera Modeller och Inställningar</translation>
</message> </message>
@@ -8375,14 +8367,19 @@ m2560 för v4.1-kort</translation>
<message> <message>
<location line="+7"/> <location line="+7"/>
<source>Honors go to Rafal Tomczak (RadioClone) and Thomas Husterer (th9x) <source>Honors go to Rafal Tomczak (RadioClone) and Thomas Husterer (th9x)
of course. Also to Erez Raviv (er9x) and it&apos;s fantastic eePe, from which of course. Also to Erez Raviv (er9x) and the fantastic eePe program
companion9x was forked out.</source> which was the staring point for OpenTX Companion.</source>
<translation>All heder åt Rafal Tomczak (RadioClone) och Thomas Husterer (th9x) naturligtvis. <translation>All heder åt Rafal Tomczak (RadioClone) och Thomas Husterer (th9x) naturligtvis.
Dessutom till Erez Raviv (er9x) och dess fantastiska eePe, från vilken Dessutom till Erez Raviv (er9x) och hans fantastiska eePe, från vilken
companion9x grenades av.</translation> OpenTX Companion grenades av.</translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+17"/>
<source>Companion Release Notes</source>
<translation>Companion Release Notes</translation>
</message>
<message>
<location line="-14"/>
<source>Thank you all !!!</source> <source>Thank you all !!!</source>
<translation>Tack till er alla !!!</translation> <translation>Tack till er alla !!!</translation>
</message> </message>
@@ -8392,12 +8389,7 @@ companion9x grenades av.</translation>
<translation>Bidragande</translation> <translation>Bidragande</translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+16"/>
<source>Companion9x Release Notes</source>
<translation>Companion9x Release Notes</translation>
</message>
<message>
<location line="+5"/>
<source>OpenTX Release Notes</source> <source>OpenTX Release Notes</source>
<translation>OpenTX Release Notes</translation> <translation>OpenTX Release Notes</translation>
</message> </message>
@@ -8550,8 +8542,8 @@ p, li { white-space: pre-wrap; }
</message> </message>
<message> <message>
<location line="+29"/> <location line="+29"/>
<source>companion9x</source> <source>Companion</source>
<translation>companion9x</translation> <translation>Companion</translation>
</message> </message>
<message> <message>
<location line="+1"/> <location line="+1"/>
@@ -8931,8 +8923,8 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<name>logsDialog</name> <name>logsDialog</name>
<message> <message>
<location filename="../logsdialog.ui" line="+14"/> <location filename="../logsdialog.ui" line="+14"/>
<source>Companion9x log viewer</source> <source>Companion Log Viewer</source>
<translation>Companion9x loggläsare</translation> <translation>Companion Logg-läsare</translation>
</message> </message>
<message> <message>
<location line="+15"/> <location line="+15"/>
@@ -8945,7 +8937,7 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Öppna Loggfil</translation> <translation>Öppna Loggfil</translation>
</message> </message>
<message> <message>
<location line="+88"/> <location line="+51"/>
<source>Zoom</source> <source>Zoom</source>
<translation>Zoom</translation> <translation>Zoom</translation>
</message> </message>
@@ -8960,7 +8952,7 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Y</translation> <translation>Y</translation>
</message> </message>
<message> <message>
<location filename="../logsdialog.cpp" line="+22"/> <location filename="../logsdialog.cpp" line="+27"/>
<source>Telemetry logs</source> <source>Telemetry logs</source>
<translation>Telemetriloggar</translation> <translation>Telemetriloggar</translation>
</message> </message>
@@ -8970,7 +8962,19 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Tid</translation> <translation>Tid</translation>
</message> </message>
<message> <message>
<location line="+372"/> <location line="+224"/>
<source>Error</source>
<translation>Fel</translation>
</message>
<message>
<location line="+1"/>
<source>Cannot write file %1:
%2.</source>
<translation>Filen %1 kunde inte skrivas:
%2.</translation>
</message>
<message>
<location line="+329"/>
<source>Select your log file</source> <source>Select your log file</source>
<translation>Välj loggfil</translation> <translation>Välj loggfil</translation>
</message> </message>
@@ -8980,7 +8984,7 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Tillgängliga fält</translation> <translation>Tillgängliga fält</translation>
</message> </message>
<message> <message>
<location line="+95"/> <location line="+97"/>
<source>The selected logfile contains %1 invalid lines out of %2 total lines</source> <source>The selected logfile contains %1 invalid lines out of %2 total lines</source>
<translation>Denn aktuella filen innehåller %1 felaktiga rader. Totalt innehåller filen %2 rader</translation> <translation>Denn aktuella filen innehåller %1 felaktiga rader. Totalt innehåller filen %2 rader</translation>
</message> </message>
@@ -9443,22 +9447,22 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Inställningar</translation> <translation>Inställningar</translation>
</message> </message>
<message> <message>
<location line="+480"/> <location line="+624"/>
<source>Language (requires restart)</source> <source>Language (requires restart)</source>
<translation>Språk (kräver omstart)</translation> <translation>Språk (kräver omstart)</translation>
</message> </message>
<message> <message>
<location line="-233"/> <location line="-599"/>
<source>Show Splash Screen</source> <source>Show Splash Screen</source>
<translation>Visa bild vid start av sändare</translation> <translation>Visa bild vid start av sändare</translation>
</message> </message>
<message> <message>
<location line="+767"/> <location line="+989"/>
<source>Recent History Size</source> <source>Recent History Size</source>
<translation>Loggstorlek</translation> <translation>Loggstorlek</translation>
</message> </message>
<message> <message>
<location line="-157"/> <location line="-126"/>
<location line="+41"/> <location line="+41"/>
<source>Download</source> <source>Download</source>
<translation>Nedladdning</translation> <translation>Nedladdning</translation>
@@ -9469,7 +9473,7 @@ Tryck på Avbryt för att avburyta kalibreringen</translation>
<translation>Kanalordning</translation> <translation>Kanalordning</translation>
</message> </message>
<message> <message>
<location line="-151"/> <location line="-415"/>
<source>Channel order <source>Channel order
This is used by the templated to determine which channel goes to what number output.</source> This is used by the templated to determine which channel goes to what number output.</source>
@@ -9478,7 +9482,7 @@ This is used by the templated to determine which channel goes to what number out
Detta används av mallen för att koppla kanal till output-nummer.</translation> Detta används av mallen för att koppla kanal till output-nummer.</translation>
</message> </message>
<message> <message>
<location line="+138"/> <location line="+402"/>
<source>Default Stick Mode</source> <source>Default Stick Mode</source>
<translation>Spaktilldelning</translation> <translation>Spaktilldelning</translation>
</message> </message>
@@ -9554,7 +9558,17 @@ Mode 4:
<translation>Firmware</translation> <translation>Firmware</translation>
</message> </message>
<message> <message>
<location line="-894"/> <location line="+621"/>
<source>Find Executable</source>
<translation>Sök Program</translation>
</message>
<message>
<location line="+9"/>
<source>Google Earth Executable</source>
<translation>Sökväg till Google Earth</translation>
</message>
<message>
<location line="-1542"/>
<source>Check for updates on startup</source> <source>Check for updates on startup</source>
<translation>Sök efter uppdateringar vid start</translation> <translation>Sök efter uppdateringar vid start</translation>
</message> </message>
@@ -9565,30 +9579,30 @@ Mode 4:
<translation>...</translation> <translation>...</translation>
</message> </message>
<message> <message>
<location line="+558"/> <location line="+576"/>
<source>Splash library behaviour</source> <source>Splash library behaviour</source>
<translation>Beteende för bildbibliotek</translation> <translation>Beteende för bildbibliotek</translation>
</message> </message>
<message> <message>
<location line="-398"/> <location line="-285"/>
<source>Personal splash library</source> <source>Personal splash library</source>
<translation>Personligt bildbibliotek</translation> <translation>Personligt bildbibliotek</translation>
</message> </message>
<message> <message>
<location line="+365"/> <location line="+252"/>
<source>Joystick</source> <source>Joystick</source>
<translation>Joystick</translation> <translation>Joystick</translation>
</message> </message>
<message> <message>
<location line="-414"/> <location line="-301"/>
<location line="+480"/> <location line="+192"/>
<location line="+175"/>
<location line="+135"/> <location line="+135"/>
<location line="+67"/>
<source>Open Folder</source> <source>Open Folder</source>
<translation>Öppna katalog</translation> <translation>Öppna katalog</translation>
</message> </message>
<message> <message>
<location line="+57"/> <location line="+93"/>
<location line="+13"/> <location line="+13"/>
<location line="+13"/> <location line="+13"/>
<location line="+13"/> <location line="+13"/>
@@ -9634,12 +9648,12 @@ Mode 4:
<translation>Kryssruta</translation> <translation>Kryssruta</translation>
</message> </message>
<message> <message>
<location line="-1238"/> <location line="-1094"/>
<source>Check for updates</source> <source>Check for updates</source>
<translation>Sök efter uppdateringar</translation> <translation>Sök efter uppdateringar</translation>
</message> </message>
<message> <message>
<location line="-188"/> <location line="-319"/>
<source>Blue</source> <source>Blue</source>
<oldsource>Blu</oldsource> <oldsource>Blu</oldsource>
<translation>Blå</translation> <translation>Blå</translation>
@@ -9665,7 +9679,7 @@ Mode 4:
<translation>Gul</translation> <translation>Gul</translation>
</message> </message>
<message> <message>
<location line="+103"/> <location line="+234"/>
<source>Enable</source> <source>Enable</source>
<translation>Slå på</translation> <translation>Slå på</translation>
</message> </message>
@@ -9675,7 +9689,7 @@ Mode 4:
<translation>Kalibrera</translation> <translation>Kalibrera</translation>
</message> </message>
<message> <message>
<location line="-80"/> <location line="-211"/>
<source>Open Image</source> <source>Open Image</source>
<translation>Öppna bild</translation> <translation>Öppna bild</translation>
</message> </message>
@@ -9685,38 +9699,33 @@ Mode 4:
<translation>Invertera bild</translation> <translation>Invertera bild</translation>
</message> </message>
<message> <message>
<location line="+212"/> <location line="+343"/>
<source>FwInfo</source> <source>FwInfo</source>
<translation>Firmware-info</translation> <translation>Firmware-info</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.cpp" line="+227"/> <location filename="../preferencesdialog.cpp" line="+233"/>
<source>Last downloaded release: %1</source> <source>Last downloaded release: %1</source>
<translation>Senast nedladdade release: %1</translation> <translation>Senast nedladdade release: %1</translation>
</message> </message>
<message> <message>
<location line="+9"/> <location line="+239"/>
<source>The selected firmware has never been downloaded by companion9x.</source> <location line="+332"/>
<translation>Firmware-filen har aldrig laddats ned av companion9x.</translation>
</message>
<message>
<location line="+4"/>
<source>The selected firmware cannot be downloaded by companion9x.</source>
<translation>Firmware-filen kan inte laddas ned av companion9x.</translation>
</message>
<message>
<location line="+218"/>
<location line="+322"/>
<source>No joysticks found</source> <source>No joysticks found</source>
<translation>Ingen joystick hittades</translation> <translation>Ingen joystick hittades</translation>
</message> </message>
<message> <message>
<location line="-211"/> <location line="-221"/>
<source>Select your Models and Settings backup folder</source> <source>Select your Models and Settings backup folder</source>
<translation>Välj folder för automatisk säkerhetskopiering</translation> <translation>Välj folder för automatisk säkerhetskopiering</translation>
</message> </message>
<message> <message>
<location line="+160"/> <location line="+11"/>
<source>Select Google Earth executable</source>
<translation>Sökväg till Google Earth</translation>
</message>
<message>
<location line="+159"/>
<source>Open Image to load</source> <source>Open Image to load</source>
<translation>Öppna bild för laddning</translation> <translation>Öppna bild för laddning</translation>
</message> </message>
@@ -9726,24 +9735,34 @@ Mode 4:
<translation>Bilder (%1)</translation> <translation>Bilder (%1)</translation>
</message> </message>
<message> <message>
<location line="-144"/> <location line="-145"/>
<location line="+150"/> <location line="+151"/>
<source>Error</source> <source>Error</source>
<translation>Fel</translation> <translation>Fel</translation>
</message> </message>
<message> <message>
<location line="-150"/> <location line="-517"/>
<location line="+150"/> <source>The selected firmware has never been downloaded by Companion.</source>
<translation>Firmware-filen har aldrig laddats ned av Companion.</translation>
</message>
<message>
<location line="+4"/>
<source>The selected firmware cannot be downloaded by Companion.</source>
<translation>Firmware-filen kan inte laddas ned av Companion.</translation>
</message>
<message>
<location line="+362"/>
<location line="+151"/>
<source>Cannot load %1.</source> <source>Cannot load %1.</source>
<translation>%1 kunde inte laddas.</translation> <translation>%1 kunde inte laddas.</translation>
</message> </message>
<message> <message>
<location line="-288"/> <location line="-298"/>
<source>Image stored in settings</source> <source>Image stored in settings</source>
<translation>Bilden lagras i inställningar</translation> <translation>Bilden lagras i inställningar</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.ui" line="+401"/> <location filename="../preferencesdialog.ui" line="+288"/>
<source>Include companion splashes</source> <source>Include companion splashes</source>
<translation>Användarens bilder och companion-bilder</translation> <translation>Användarens bilder och companion-bilder</translation>
</message> </message>
@@ -9753,7 +9772,7 @@ Mode 4:
<translation>Enbart användarens bilder</translation> <translation>Enbart användarens bilder</translation>
</message> </message>
<message> <message>
<location line="-473"/> <location line="-360"/>
<source>Custom TX splash screen</source> <source>Custom TX splash screen</source>
<translation>Egen uppstartsbild</translation> <translation>Egen uppstartsbild</translation>
</message> </message>
@@ -9763,12 +9782,12 @@ Mode 4:
<translation>Fråga om skrivning efter Nedladdning</translation> <translation>Fråga om skrivning efter Nedladdning</translation>
</message> </message>
<message> <message>
<location line="+475"/> <location line="+362"/>
<source>Language</source> <source>Language</source>
<translation>Språk</translation> <translation>Språk</translation>
</message> </message>
<message> <message>
<location line="-420"/> <location line="-307"/>
<source>Profile Name</source> <source>Profile Name</source>
<translation>Profilnamn</translation> <translation>Profilnamn</translation>
</message> </message>
@@ -9778,7 +9797,7 @@ Mode 4:
<translation>Spara Profil</translation> <translation>Spara Profil</translation>
</message> </message>
<message> <message>
<location line="+322"/> <location line="+209"/>
<source>Profile slot</source> <source>Profile slot</source>
<translation>Profilplats</translation> <translation>Profilplats</translation>
</message> </message>
@@ -9793,7 +9812,7 @@ Mode 4:
<translation>Välj bibliotekskatalog</translation> <translation>Välj bibliotekskatalog</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.ui" line="-359"/> <location filename="../preferencesdialog.ui" line="-246"/>
<source>Export Profile</source> <source>Export Profile</source>
<translation>Exportera Profil</translation> <translation>Exportera Profil</translation>
</message> </message>
@@ -9803,7 +9822,7 @@ Mode 4:
<translation>Importera Profil</translation> <translation>Importera Profil</translation>
</message> </message>
<message> <message>
<location line="+368"/> <location line="+255"/>
<source>Automatically add version number to the filename after download</source> <source>Automatically add version number to the filename after download</source>
<translation>Lägg automatiskt till ett versionsnummer till filnamnet</translation> <translation>Lägg automatiskt till ett versionsnummer till filnamnet</translation>
</message> </message>
@@ -9820,7 +9839,7 @@ May be different from firmware language</source>
Får skilja från språket för mjukvaran</translation> Får skilja från språket för mjukvaran</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.cpp" line="+145"/> <location filename="../preferencesdialog.cpp" line="+155"/>
<source>Export profile As</source> <source>Export profile As</source>
<translation>Exportera profil som</translation> <translation>Exportera profil som</translation>
</message> </message>
@@ -9835,12 +9854,12 @@ Får skilja från språket för mjukvaran</translation>
<translation>Öppna profil för import</translation> <translation>Öppna profil för import</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.ui" line="-832"/> <location filename="../preferencesdialog.ui" line="-850"/>
<source>Simu BackLight</source> <source>Simu BackLight</source>
<translation>Simulatorbelysning</translation> <translation>Simulatorbelysning</translation>
</message> </message>
<message> <message>
<location line="+929"/> <location line="+947"/>
<source>Processor ID</source> <source>Processor ID</source>
<translation>Processortyp</translation> <translation>Processortyp</translation>
</message> </message>
@@ -9850,22 +9869,22 @@ Får skilja från språket för mjukvaran</translation>
<translation>Katalog för simulator-data</translation> <translation>Katalog för simulator-data</translation>
</message> </message>
<message> <message>
<location line="+29"/> <location line="-348"/>
<source>Use clipboard only</source> <source>Use clipboard only</source>
<translation>Använd bara clipboard</translation> <translation>Använd bara clipboard</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.cpp" line="-163"/> <location filename="../preferencesdialog.cpp" line="-173"/>
<source>Select your snapshot folder</source> <source>Select your snapshot folder</source>
<translation>Välj katalog för snapshots</translation> <translation>Välj katalog för snapshots</translation>
</message> </message>
<message> <message>
<location line="+99"/> <location line="+108"/>
<source>Profile name is empty, profile slot %1 will be deleted.&lt;br&gt;Are you sure ?</source> <source>Profile name is empty, profile slot %1 will be deleted.&lt;br&gt;Are you sure ?</source>
<translation>Profilnamn saknas, profilplats %1 kommer att raderas.&lt;br&gt; Är du säker?</translation> <translation>Profilnamn saknas, profilplats %1 kommer att raderas.&lt;br&gt; Är du säker?</translation>
</message> </message>
<message> <message>
<location filename="../preferencesdialog.ui" line="-945"/> <location filename="../preferencesdialog.ui" line="-586"/>
<source>Check for selected Fw updates</source> <source>Check for selected Fw updates</source>
<translation>Sök efter updatering av vald FW</translation> <translation>Sök efter updatering av vald FW</translation>
</message> </message>
@@ -9880,7 +9899,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>Minns brytare i simulator</translation> <translation>Minns brytare i simulator</translation>
</message> </message>
<message> <message>
<location line="+813"/> <location line="+831"/>
<source>SD Structure path</source> <source>SD Structure path</source>
<translation>Sökväg till SD-struktur</translation> <translation>Sökväg till SD-struktur</translation>
</message> </message>
@@ -10387,13 +10406,7 @@ Får skilja från språket för mjukvaran</translation>
<context> <context>
<name>simulatorDialog</name> <name>simulatorDialog</name>
<message> <message>
<location filename="../simulatordialog.ui" line="+26"/> <location filename="../simulatordialog.ui" line="+844"/>
<source>Companion9x Simulator</source>
<oldsource>ER9x Simulator</oldsource>
<translation>Companion 9x Simulator</translation>
</message>
<message>
<location line="+818"/>
<source>P1</source> <source>P1</source>
<translation>P1</translation> <translation>P1</translation>
</message> </message>
@@ -10498,17 +10511,22 @@ Får skilja från språket för mjukvaran</translation>
<translation>Höger dubbelklick nollställer</translation> <translation>Höger dubbelklick nollställer</translation>
</message> </message>
<message> <message>
<location line="+278"/> <location line="-742"/>
<source>Companion Simulator</source>
<translation>Companion Simulator</translation>
</message>
<message>
<location line="+1020"/>
<source>9x Simulator</source> <source>9x Simulator</source>
<translation>Simulator för 9x</translation> <translation>Simulator för 9x</translation>
</message> </message>
<message> <message>
<location line="+193"/> <location line="+194"/>
<source>Outputs</source> <source>Outputs</source>
<translation>Utgångar</translation> <translation>Utgångar</translation>
</message> </message>
<message> <message>
<location line="+1068"/> <location line="+1070"/>
<source>CH1</source> <source>CH1</source>
<translation>KN1</translation> <translation>KN1</translation>
</message> </message>
@@ -10639,7 +10657,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>Simulerar </translation> <translation>Simulerar </translation>
</message> </message>
<message> <message>
<location filename="../simulatordialog.ui" line="-2681"/> <location filename="../simulatordialog.ui" line="-2684"/>
<location line="+60"/> <location line="+60"/>
<location line="+57"/> <location line="+57"/>
<source>0 %</source> <source>0 %</source>
@@ -10651,7 +10669,7 @@ Får skilja från språket för mjukvaran</translation>
<translation> - Fligmod: %1(%2)</translation> <translation> - Fligmod: %1(%2)</translation>
</message> </message>
<message> <message>
<location filename="../simulatordialog.ui" line="+282"/> <location filename="../simulatordialog.ui" line="+283"/>
<source>CS1</source> <source>CS1</source>
<translation>LB1</translation> <translation>LB1</translation>
</message> </message>
@@ -10741,7 +10759,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>LBI</translation> <translation>LBI</translation>
</message> </message>
<message> <message>
<location line="+31"/> <location line="+32"/>
<source>CSJ</source> <source>CSJ</source>
<translation>LBJ</translation> <translation>LBJ</translation>
</message> </message>
@@ -10848,12 +10866,7 @@ Får skilja från språket för mjukvaran</translation>
<context> <context>
<name>xsimulatorDialog</name> <name>xsimulatorDialog</name>
<message> <message>
<location filename="../xsimulatordialog.ui" line="+26"/> <location filename="../xsimulatordialog.ui" line="+1061"/>
<source>Companion9x Simulator</source>
<translation>Companion 9x-Simulator</translation>
</message>
<message>
<location line="+1035"/>
<location line="+138"/> <location line="+138"/>
<source>SE</source> <source>SE</source>
<translation>SE</translation> <translation>SE</translation>
@@ -10923,7 +10936,12 @@ Får skilja från språket för mjukvaran</translation>
<translation>SG</translation> <translation>SG</translation>
</message> </message>
<message> <message>
<location line="-301"/> <location line="-539"/>
<source>Companion Simulator</source>
<translation>Companion Simulator</translation>
</message>
<message>
<location line="+238"/>
<location line="+291"/> <location line="+291"/>
<source>SD</source> <source>SD</source>
<translation>SD</translation> <translation>SD</translation>
@@ -10951,7 +10969,7 @@ Får skilja från språket för mjukvaran</translation>
<location line="+22"/> <location line="+22"/>
<location line="+158"/> <location line="+158"/>
<location line="+22"/> <location line="+22"/>
<location line="+158"/> <location line="+159"/>
<location line="+22"/> <location line="+22"/>
<location line="+152"/> <location line="+152"/>
<location line="+22"/> <location line="+22"/>
@@ -10965,7 +10983,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>-100.1</translation> <translation>-100.1</translation>
</message> </message>
<message> <message>
<location line="-1128"/> <location line="-1129"/>
<source>CH9</source> <source>CH9</source>
<translation>KN9</translation> <translation>KN9</translation>
</message> </message>
@@ -10995,7 +11013,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>KN4</translation> <translation>KN4</translation>
</message> </message>
<message> <message>
<location line="+167"/> <location line="+168"/>
<source>CH12</source> <source>CH12</source>
<translation>KN12</translation> <translation>KN12</translation>
</message> </message>
@@ -11071,7 +11089,7 @@ Får skilja från språket för mjukvaran</translation>
<translation>Simulerar </translation> <translation>Simulerar </translation>
</message> </message>
<message> <message>
<location filename="../xsimulatordialog.ui" line="-1773"/> <location filename="../xsimulatordialog.ui" line="-1774"/>
<location line="+22"/> <location line="+22"/>
<location line="+3"/> <location line="+3"/>
<source>SF</source> <source>SF</source>
@@ -11112,7 +11130,7 @@ Får skilja från språket för mjukvaran</translation>
<translation> - Fligmod: %1(%2)</translation> <translation> - Fligmod: %1(%2)</translation>
</message> </message>
<message> <message>
<location filename="../xsimulatordialog.ui" line="+1627"/> <location filename="../xsimulatordialog.ui" line="+1628"/>
<source>CSK</source> <source>CSK</source>
<translation>LBK</translation> <translation>LBK</translation>
</message> </message>
+1 -1
View File
@@ -2,7 +2,7 @@
#define WARNINGS_H #define WARNINGS_H
#define WARNING_LEVEL 0 #define WARNING_LEVEL 0
#define WARNING_ID 6 #define WARNING_ID 6
#define WARNING QObject::tr("Thanks all for the donations, kind messages, nice ideas, constructive proposals etc. for the next openTX/C9x funding model.\n\nWe are really sensible to that!\n\nThe openTX/C9X Team.") #define WARNING QObject::tr("Thanks all for the donations, kind messages, nice ideas, constructive proposals etc. for the next OpenTX/Companion funding model.\n\nWe are really appreciative for that!\n\nThe OpenTX/Companion Team.")
#endif /* WARNINGS_H */ #endif /* WARNINGS_H */
+2 -1
View File
@@ -23,7 +23,7 @@
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Companion9x Simulator</string> <string>Companion Simulator</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="companion9x.qrc"> <iconset resource="companion9x.qrc">
@@ -2053,6 +2053,7 @@ border-radius: 4px;
<width>16777215</width> <width>16777215</width>
<height>18</height> <height>18</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QSlider::sub-page:horizontal:disabled { <string notr="true">QSlider::sub-page:horizontal:disabled {