From 3223c8aae433ad483022b366a7517d286c794850 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Sun, 22 Mar 2015 14:26:16 +0100 Subject: [PATCH] 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. --- src/mumble/MainWindow.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mumble/MainWindow.cpp b/src/mumble/MainWindow.cpp index 7451ccbdd..de9dba58f 100644 --- a/src/mumble/MainWindow.cpp +++ b/src/mumble/MainWindow.cpp @@ -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();