mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
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:
parent
f05e6571ec
commit
3223c8aae4
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user