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()
|
||||
{
|
||||
if (ui->GPSpushButton->text() == "Run") {
|
||||
ui->GPSpushButton->setText("Stop");
|
||||
if (ui->GPSpushButton->text() == tr("Run")) {
|
||||
ui->GPSpushButton->setText(tr("Stop"));
|
||||
gpsTimer.start();
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->GPSpushButton->setText("Run");
|
||||
ui->GPSpushButton->setText(tr("Run"));
|
||||
gpsTimer.stop();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7417,7 +7417,7 @@ fält</translation>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="659"/>
|
||||
<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>
|
||||
<location filename="../mainwindow.cpp" line="817"/>
|
||||
@@ -7558,7 +7558,7 @@ fält</translation>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="1165"/>
|
||||
<source>%2</source>
|
||||
<translation>%2</translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="284"/>
|
||||
@@ -14579,6 +14579,10 @@ hh:mm:ss</translation>
|
||||
<source>Run</source>
|
||||
<translation>Kör</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Stop</source>
|
||||
<translation>Stoppa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../simulation/telemetrysimu.ui" line="1425"/>
|
||||
<source>GPS sim</source>
|
||||
|
||||
Reference in New Issue
Block a user