fix(cpn): Translation of GPS Run/Stop in telemetry simulator (#4438)
This commit is contained in:
@@ -1388,13 +1388,13 @@ void TelemetrySimulator::on_loadTelemetryvalues_clicked()
|
|||||||
|
|
||||||
void TelemetrySimulator::on_GPSpushButton_clicked()
|
void TelemetrySimulator::on_GPSpushButton_clicked()
|
||||||
{
|
{
|
||||||
if (ui->GPSpushButton->text() == "Run") {
|
if (ui->GPSpushButton->text() == tr("Run")) {
|
||||||
ui->GPSpushButton->setText("Stop");
|
ui->GPSpushButton->setText(tr("Stop"));
|
||||||
gpsTimer.start();
|
gpsTimer.start();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui->GPSpushButton->setText("Run");
|
ui->GPSpushButton->setText(tr("Run"));
|
||||||
gpsTimer.stop();
|
gpsTimer.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7417,7 +7417,7 @@ fält</translation>
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="659"/>
|
<location filename="../mainwindow.cpp" line="659"/>
|
||||||
<source>If you've found this program useful, please support by <a href='%1'>donating</a></source>
|
<source>If you've found this program useful, please support by <a href='%1'>donating</a></source>
|
||||||
<translation>Om du tycker att programet är användbart kan du stödja utvecklingen genom en <a href='%1'>gåva.</a></translation>
|
<translation>Om du tycker att programet är användbart kan du stödja utvecklingen med en <a href='%1'>gåva.</a></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="817"/>
|
<location filename="../mainwindow.cpp" line="817"/>
|
||||||
@@ -7558,7 +7558,7 @@ fält</translation>
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="1165"/>
|
<location filename="../mainwindow.cpp" line="1165"/>
|
||||||
<source>%2</source>
|
<source>%2</source>
|
||||||
<translation>%2</translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../mainwindow.cpp" line="284"/>
|
<location filename="../mainwindow.cpp" line="284"/>
|
||||||
@@ -14579,6 +14579,10 @@ hh:mm:ss</translation>
|
|||||||
<source>Run</source>
|
<source>Run</source>
|
||||||
<translation>Kör</translation>
|
<translation>Kör</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Stop</source>
|
||||||
|
<translation>Stoppa</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../simulation/telemetrysimu.ui" line="1425"/>
|
<location filename="../simulation/telemetrysimu.ui" line="1425"/>
|
||||||
<source>GPS sim</source>
|
<source>GPS sim</source>
|
||||||
|
|||||||
Reference in New Issue
Block a user