diff options
author | Björn Hagemeister | 2014-09-17 15:18:54 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-09-17 15:18:54 +0200 |
commit | b00c45ea029a7c70aa3170fade8d3ba1460a8dc4 (patch) | |
tree | e1b3de1f9601ef165086240991c03af6a2b5e7d8 | |
parent | Removed irritating cam - icon in toolbar of client. Plus added some translati... (diff) | |
download | pvs2-b00c45ea029a7c70aa3170fade8d3ba1460a8dc4.tar.gz pvs2-b00c45ea029a7c70aa3170fade8d3ba1460a8dc4.tar.xz pvs2-b00c45ea029a7c70aa3170fade8d3ba1460a8dc4.zip |
Added some translation for manager.
-rw-r--r-- | i18n/server/pvsmgr_ar_JO.ts | 103 | ||||
-rw-r--r-- | i18n/server/pvsmgr_de_DE.ts | 103 | ||||
-rw-r--r-- | i18n/server/pvsmgr_es_MX.ts | 103 | ||||
-rw-r--r-- | i18n/server/pvsmgr_fr_FR.ts | 103 | ||||
-rw-r--r-- | i18n/server/pvsmgr_pl_PL.ts | 103 | ||||
-rw-r--r-- | src/server/mainwindow/mainwindow.cpp | 19 | ||||
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 10 |
7 files changed, 379 insertions, 165 deletions
diff --git a/i18n/server/pvsmgr_ar_JO.ts b/i18n/server/pvsmgr_ar_JO.ts index 3ebfb61..17264f5 100644 --- a/i18n/server/pvsmgr_ar_JO.ts +++ b/i18n/server/pvsmgr_ar_JO.ts @@ -58,74 +58,119 @@ <name>MainWindow</name> <message> <location filename="../../build/ui_mainwindow.h" line="167"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="84"/> <source>Exit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="576"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="41"/> + <source>No tutor defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="42"/> + <source>Tutor is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="43"/> + <source>Please select a projection source.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="44"/> + <source>The projection source is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="45"/> + <source>Please select a projection destination.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="46"/> + <source>The projection destination is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="47"/> + <source>Selected projection target is tutor.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="48"/> + <source>Selected client is currently online.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="49"/> + <source>No projection destination available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="575"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>Selection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="642"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="641"/> <source>Sure, You want to change SessionName again? All Clients will be deleted afterwards.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="671"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="670"/> <source>Session Name: %1 [click to edit]</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="723"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="722"/> <source>No item selected, please select room!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="726"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="725"/> <source>Are you sure you want to reload the room? Note that all clients will be deleted.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="788"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="790"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="792"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="821"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="823"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="825"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="827"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="829"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="860"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="862"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="864"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="866"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="868"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="900"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="902"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="904"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="906"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="908"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="787"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="789"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="791"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="820"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="822"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="824"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="826"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="828"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="859"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="861"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="863"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="865"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="867"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="899"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="901"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="903"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="905"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="907"/> <source>Projection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> <source>No client is selected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>The selected client is not connected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../../build/ui_mainwindow.h" line="172"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="86"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> <source>Lock or Unlock all Clients</source> <translation type="unfinished"></translation> </message> diff --git a/i18n/server/pvsmgr_de_DE.ts b/i18n/server/pvsmgr_de_DE.ts index 5a018e6..8aa2161 100644 --- a/i18n/server/pvsmgr_de_DE.ts +++ b/i18n/server/pvsmgr_de_DE.ts @@ -58,75 +58,120 @@ <name>MainWindow</name> <message> <location filename="../../build/ui_mainwindow.h" line="167"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="84"/> <source>Exit</source> <translation>Ausgang</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="576"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="41"/> + <source>No tutor defined.</source> + <translation>Kein Tutor definiert.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="42"/> + <source>Tutor is offline.</source> + <translation>Tutor ist offline.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="43"/> + <source>Please select a projection source.</source> + <translation>Bitte eine Projektionsquelle auswählen.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="44"/> + <source>The projection source is offline.</source> + <translation>Die Projektionsquelle ist offline.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="45"/> + <source>Please select a projection destination.</source> + <translation>Bitte ein Projektionsziel auswählen.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="46"/> + <source>The projection destination is offline.</source> + <translation>Das Projektionsziel ist offline.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="47"/> + <source>Selected projection target is tutor.</source> + <translation>Das ausgwählte Projektionsziel ist Tutor.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="48"/> + <source>Selected client is currently online.</source> + <translation>Der ausgewählte Client ist derzeit online.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="49"/> + <source>No projection destination available.</source> + <translation>Kein Projektionsziel verfügbar.</translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="575"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>Selection</source> <translation>Auswahl</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="642"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="641"/> <source>Sure, You want to change SessionName again? All Clients will be deleted afterwards.</source> <translation>Sicher, dass Sie den Sitzungsname erneut ändern wollen? Danach werden alle Clienten gelöscht sein.</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="671"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="670"/> <source>Session Name: %1 [click to edit]</source> <translation>Sitzungsname: %1 [anklicken editiert]</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="723"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="722"/> <source>No item selected, please select room!</source> <translation>Keine Auswahl getroffen, bitte einen Raum auswählen!</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="726"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="725"/> <source>Are you sure you want to reload the room? Note that all clients will be deleted.</source> <translation>Wollen Sie den Raum wirklich neu laden? Beachten Sie, dass alle Clienten gelöscht werden.</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="788"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="790"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="792"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="821"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="823"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="825"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="827"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="829"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="860"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="862"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="864"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="866"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="868"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="900"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="902"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="904"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="906"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="908"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="787"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="789"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="791"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="820"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="822"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="824"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="826"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="828"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="859"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="861"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="863"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="865"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="867"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="899"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="901"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="903"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="905"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="907"/> <source>Projection</source> <translation>Projektion</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> <source>No client is selected.</source> <translation>Kein Klient ausgewählt.</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>The selected client is not connected.</source> <translation>Ausgewählter Klient ist nicht verbunden.</translation> </message> <message> <location filename="../../build/ui_mainwindow.h" line="172"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="86"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> <source>Lock or Unlock all Clients</source> <translation>Alle Klienten sperren oder entsperren</translation> </message> diff --git a/i18n/server/pvsmgr_es_MX.ts b/i18n/server/pvsmgr_es_MX.ts index 0717e35..2f76097 100644 --- a/i18n/server/pvsmgr_es_MX.ts +++ b/i18n/server/pvsmgr_es_MX.ts @@ -58,74 +58,119 @@ <name>MainWindow</name> <message> <location filename="../../build/ui_mainwindow.h" line="167"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="84"/> <source>Exit</source> <translation>Salir</translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="576"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="41"/> + <source>No tutor defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="42"/> + <source>Tutor is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="43"/> + <source>Please select a projection source.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="44"/> + <source>The projection source is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="45"/> + <source>Please select a projection destination.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="46"/> + <source>The projection destination is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="47"/> + <source>Selected projection target is tutor.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="48"/> + <source>Selected client is currently online.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="49"/> + <source>No projection destination available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="575"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>Selection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="642"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="641"/> <source>Sure, You want to change SessionName again? All Clients will be deleted afterwards.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="671"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="670"/> <source>Session Name: %1 [click to edit]</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="723"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="722"/> <source>No item selected, please select room!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="726"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="725"/> <source>Are you sure you want to reload the room? Note that all clients will be deleted.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="788"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="790"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="792"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="821"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="823"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="825"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="827"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="829"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="860"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="862"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="864"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="866"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="868"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="900"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="902"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="904"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="906"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="908"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="787"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="789"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="791"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="820"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="822"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="824"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="826"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="828"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="859"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="861"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="863"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="865"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="867"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="899"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="901"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="903"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="905"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="907"/> <source>Projection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> <source>No client is selected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>The selected client is not connected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../../build/ui_mainwindow.h" line="172"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="86"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> <source>Lock or Unlock all Clients</source> <translation>Bloquear o desbloquear todos los clientes</translation> </message> diff --git a/i18n/server/pvsmgr_fr_FR.ts b/i18n/server/pvsmgr_fr_FR.ts index 3ebfb61..17264f5 100644 --- a/i18n/server/pvsmgr_fr_FR.ts +++ b/i18n/server/pvsmgr_fr_FR.ts @@ -58,74 +58,119 @@ <name>MainWindow</name> <message> <location filename="../../build/ui_mainwindow.h" line="167"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="84"/> <source>Exit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="576"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="41"/> + <source>No tutor defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="42"/> + <source>Tutor is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="43"/> + <source>Please select a projection source.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="44"/> + <source>The projection source is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="45"/> + <source>Please select a projection destination.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="46"/> + <source>The projection destination is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="47"/> + <source>Selected projection target is tutor.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="48"/> + <source>Selected client is currently online.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="49"/> + <source>No projection destination available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="575"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>Selection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="642"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="641"/> <source>Sure, You want to change SessionName again? All Clients will be deleted afterwards.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="671"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="670"/> <source>Session Name: %1 [click to edit]</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="723"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="722"/> <source>No item selected, please select room!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="726"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="725"/> <source>Are you sure you want to reload the room? Note that all clients will be deleted.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="788"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="790"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="792"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="821"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="823"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="825"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="827"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="829"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="860"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="862"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="864"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="866"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="868"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="900"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="902"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="904"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="906"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="908"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="787"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="789"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="791"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="820"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="822"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="824"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="826"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="828"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="859"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="861"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="863"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="865"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="867"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="899"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="901"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="903"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="905"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="907"/> <source>Projection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> <source>No client is selected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>The selected client is not connected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../../build/ui_mainwindow.h" line="172"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="86"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> <source>Lock or Unlock all Clients</source> <translation type="unfinished"></translation> </message> diff --git a/i18n/server/pvsmgr_pl_PL.ts b/i18n/server/pvsmgr_pl_PL.ts index 3ebfb61..17264f5 100644 --- a/i18n/server/pvsmgr_pl_PL.ts +++ b/i18n/server/pvsmgr_pl_PL.ts @@ -58,74 +58,119 @@ <name>MainWindow</name> <message> <location filename="../../build/ui_mainwindow.h" line="167"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="84"/> <source>Exit</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="576"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="41"/> + <source>No tutor defined.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="42"/> + <source>Tutor is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="43"/> + <source>Please select a projection source.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="44"/> + <source>The projection source is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="45"/> + <source>Please select a projection destination.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="46"/> + <source>The projection destination is offline.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="47"/> + <source>Selected projection target is tutor.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="48"/> + <source>Selected client is currently online.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="49"/> + <source>No projection destination available.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="575"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>Selection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="642"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="641"/> <source>Sure, You want to change SessionName again? All Clients will be deleted afterwards.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="671"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="670"/> <source>Session Name: %1 [click to edit]</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="723"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="722"/> <source>No item selected, please select room!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="726"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="725"/> <source>Are you sure you want to reload the room? Note that all clients will be deleted.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="788"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="790"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="792"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="821"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="823"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="825"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="827"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="829"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="860"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="862"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="864"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="866"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="868"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="900"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="902"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="904"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="906"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="908"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="787"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="789"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="791"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="820"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="822"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="824"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="826"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="828"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="859"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="861"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="863"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="865"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="867"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="899"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="901"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="903"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="905"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="907"/> <source>Projection</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="981"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="980"/> <source>No client is selected.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="988"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="987"/> <source>The selected client is not connected.</source> <translation type="unfinished"></translation> </message> <message> <location filename="../../build/ui_mainwindow.h" line="172"/> - <location filename="../../src/server/mainwindow/mainwindow.cpp" line="86"/> + <location filename="../../src/server/mainwindow/mainwindow.cpp" line="85"/> <source>Lock or Unlock all Clients</source> <translation type="unfinished"></translation> </message> 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. diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 488ecc4..a4c73a2 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -66,16 +66,6 @@ private: FileDownloader _fileDownloader; QStringList _tutorList; - static const QString sStrTutorNdef; - static const QString sStrTutorOffline; - static const QString sStrSourceNdef; - static const QString sStrSourceOffline; - static const QString sStrDestNdef; - static const QString sStrDestOffline; - static const QString sStrSourceDestSame; - static const QString sStrClientOnline; - static const QString sStrNoDestAv; - void placeFrameInFreeSlot(ConnectionFrame* frame); ConnectionFrame* createFrame(); ConnectionFrame* createFrame(QString computerId, QPoint position); |