From b00c45ea029a7c70aa3170fade8d3ba1460a8dc4 Mon Sep 17 00:00:00 2001 From: Björn Hagemeister Date: Wed, 17 Sep 2014 15:18:54 +0200 Subject: Added some translation for manager. --- src/server/mainwindow/mainwindow.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/server/mainwindow/mainwindow.cpp') diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp index 48afcd8..d48e32c 100644 --- a/src/server/mainwindow/mainwindow.cpp +++ b/src/server/mainwindow/mainwindow.cpp @@ -38,16 +38,15 @@ #include "ui_mainwindow.h" #include "ui_reloadroom.h" - -const QString MainWindow::sStrTutorNdef = tr("No tutor defined."); -const QString MainWindow::sStrTutorOffline = tr("Tutor is offline."); -const QString MainWindow::sStrSourceNdef = tr("Please select a projection source."); -const QString MainWindow::sStrSourceOffline = tr("The projection source is offline."); -const QString MainWindow::sStrDestNdef = tr("Please select a projection destination."); -const QString MainWindow::sStrDestOffline = tr("The projection destination is offline."); -const QString MainWindow::sStrSourceDestSame = tr("Selected projection target is tutor."); -const QString MainWindow::sStrClientOnline = tr("Selected client is currently online."); -const QString MainWindow::sStrNoDestAv = tr("No projection destination available."); +#define sStrTutorNdef MainWindow::tr("No tutor defined.") +#define sStrTutorOffline MainWindow::tr("Tutor is offline.") +#define sStrSourceNdef MainWindow::tr("Please select a projection source.") +#define sStrSourceOffline MainWindow::tr("The projection source is offline.") +#define sStrDestNdef MainWindow::tr("Please select a projection destination.") +#define sStrDestOffline MainWindow::tr("The projection destination is offline.") +#define sStrSourceDestSame MainWindow::tr("Selected projection target is tutor.") +#define sStrClientOnline MainWindow::tr("Selected client is currently online.") +#define sStrNoDestAv MainWindow::tr("No projection destination available.") /***************************************************************************//** * Initialize MainWindow and ListenServer. -- cgit v1.2.3-55-g7522