# HG changeset patch # User Michiel Broek # Date 1710065019 -3600 # Node ID 632591d9825e4fbb8e80830b3ab6b5ab045ede73 # Parent 987bf1122d0d961fd443801d6079493c5a00f171 Disable Monitor menu if websocket server is not available. diff -r 987bf1122d0d -r 632591d9825e src/MainWindow.cpp --- a/src/MainWindow.cpp Tue Mar 05 10:39:36 2024 +0100 +++ b/src/MainWindow.cpp Sun Mar 10 11:03:39 2024 +0100 @@ -323,6 +323,7 @@ { qDebug() << Q_FUNC_INFO; + ui->menuMonitor->setEnabled(true); connect(webSocket, &QWebSocket::textMessageReceived, this, &MainWindow::wsTextMessageReceived); } @@ -331,6 +332,7 @@ { qWarning() << Q_FUNC_INFO << webSocket->closeReason(); + ui->menuMonitor->setEnabled(false); // Should triger a periodic timer to try to reconnect. } diff -r 987bf1122d0d -r 632591d9825e translations/bmsapp_en.ts --- a/translations/bmsapp_en.ts Tue Mar 05 10:39:36 2024 +0100 +++ b/translations/bmsapp_en.ts Sun Mar 10 11:03:39 2024 +0100 @@ -2499,7 +2499,7 @@ - + Delete @@ -2638,8 +2638,8 @@ - - + + L @@ -3007,7 +3007,7 @@ - + Add @@ -3813,7 +3813,7 @@ - + After boil @@ -5218,193 +5218,193 @@ - - - - + + + + Copy Product - + Copy Product export ready. - + Copy Product error. - + Copy Product to Recipe ready. - + Copy Product to Recipe error. - - + + Export to forum - + The recipe and all data are copied to the clipboard. You can "paste" this data in the forum screen in your web browser. - + Add a splitted batch - - Choose split moment in the brew process - - - + Choose split moment in the brew process + + + + Delete the last splitted batch - + The read-only `product code` of the batch - + Batch name, click to change the name - + Batch size, click to change the volume - - + + Split product - + Product name: - + Product code: - + Available volume: - + Current brew stage: - - Split at moment: - - - - - Not divided - - - - - After mash - - - + Split at moment: + + + + + Not divided + + + + + After mash + + + + After cooling - + After primary - + After secondary - + After tertiary - + Volume remaining: - + Split code - + Split name - + Split volume - + Export choices - + Export to beerXML - + Copy to product - + Copy to recipe - + Split this batch - + Printer report - + Print recipe - + Print checklist diff -r 987bf1122d0d -r 632591d9825e translations/bmsapp_nl.ts --- a/translations/bmsapp_nl.ts Tue Mar 05 10:39:36 2024 +0100 +++ b/translations/bmsapp_nl.ts Sun Mar 10 11:03:39 2024 +0100 @@ -2836,7 +2836,7 @@ - + Delete Verwijder @@ -2975,8 +2975,8 @@ - - + + L L @@ -3243,7 +3243,7 @@ - + Add Nieuw @@ -4187,7 +4187,7 @@ - + After boil Einde koken @@ -5703,15 +5703,15 @@ XML uitvoer gereed - - - - + + + + Copy Product Kopieer Product - + Copy Product export ready. Kopie Product export gereed. @@ -5720,7 +5720,7 @@ Kopieer Product - + Copy Product error. Kopieer Product fout. @@ -5729,176 +5729,176 @@ Kopieer Product naar Recept gereed. - + Copy Product to Recipe ready. Kopieer Product naar Recept gereed. - + Copy Product to Recipe error. Kopieer Product naar Recept fout. - - + + Export to forum Exporteer naar Forum - + The recipe and all data are copied to the clipboard. You can "paste" this data in the forum screen in your web browser. Het recept en alle gegevens zijn gekopieerd naar het klemboard. Je kunt deze gegevens "plakken" in het forum scherm in je web browser. - + Add a splitted batch Voeg een split batch toe - - Choose split moment in the brew process - Kies een splits moment in het brouw proces - - + Choose split moment in the brew process + Kies een splits moment in het brouw proces + + + Delete the last splitted batch Verwijder de laatste gesplitste batch - + The read-only `product code` of the batch De alleen lezen `product code` van de batch - + Batch name, click to change the name Batch naam, klik om de naam te wijzigen - + Batch size, click to change the volume Batch volume, klik om het volume te wijzigen - - + + Split product Splits product - + Product name: Product naam: - + Product code: Product code: - + Available volume: Beschikbaar volume: - + Current brew stage: Huidige brouw fase: - - Split at moment: - Splits op moment: - - - - Not divided - Niet gesplitst - - - - After mash - Na maischen - - + Split at moment: + Splits op moment: + + + + Not divided + Niet gesplitst + + + + After mash + Na maischen + + + After cooling Na koelen - + After primary Na hoofdgisting - + After secondary Na nagisting - + After tertiary Na lageren - + Volume remaining: Resterend volume: - + Split code Splits code - + Split name Splits naam - + Split volume Splits volume - + Export choices Export keuzes - + Export to beerXML Exporteer naar beerXML - + Copy to product Kopieer naar Product - + Copy to recipe Kopieer naar Recept - + Split this batch Splits deze batch - + Printer report Print rapporten - + Print recipe Print recept - + Print checklist Print werklijst