Fix translatability of 'Cycle transmit mode' GlobalShortcut log messages.

This also changes the log message to be equivalent to the one used
by the transmit-switcher toolbar item.

This makes the strings more consistent. This should make both users
and translators happy.
This commit is contained in:
Mikkel Krautz 2015-03-22 14:26:16 +01:00
parent f05e6571ec
commit 3223c8aae4

View File

@ -2454,19 +2454,17 @@ void MainWindow::on_gsCycleTransmitMode_triggered(bool down, QVariant scdata)
{
case Settings::Continous:
g.s.atTransmit = Settings::VAD;
qsNewMode = QString::fromLatin1("Voice Activity");
g.l->log(Log::Information, tr("Transmit Mode set to Voice Activity"));
break;
case Settings::VAD:
g.s.atTransmit = Settings::PushToTalk;
qsNewMode = QString::fromLatin1("Push To Talk");
g.l->log(Log::Information, tr("Transmit Mode set to Push-to-Talk"));
break;
case Settings::PushToTalk:
g.s.atTransmit = Settings::Continous;
qsNewMode = QString::fromLatin1("Continuous");
g.l->log(Log::Information, tr("Transmit Mode set to Continous"));
break;
}
g.l->log(Log::Information, tr("Cycled Transmit Mode to %1").arg(qsNewMode));
}
updateTransmitModeComboBox();