SEBWIN-448: Added text for remote proctoring.
This commit is contained in:
parent
8d5560d3c4
commit
0e120998b8
7 changed files with 65 additions and 6 deletions
|
@ -129,8 +129,8 @@ namespace SafeExamBrowser.I18n.Contracts
|
||||||
MessageBox_YesButton,
|
MessageBox_YesButton,
|
||||||
Notification_AboutTooltip,
|
Notification_AboutTooltip,
|
||||||
Notification_LogTooltip,
|
Notification_LogTooltip,
|
||||||
// TODO
|
Notification_ProctoringActiveTooltip,
|
||||||
Notification_ProctoringTooltip,
|
Notification_ProctoringInactiveTooltip,
|
||||||
OperationStatus_CloseRuntimeConnection,
|
OperationStatus_CloseRuntimeConnection,
|
||||||
OperationStatus_EmptyClipboard,
|
OperationStatus_EmptyClipboard,
|
||||||
OperationStatus_FinalizeApplications,
|
OperationStatus_FinalizeApplications,
|
||||||
|
@ -141,7 +141,6 @@ namespace SafeExamBrowser.I18n.Contracts
|
||||||
OperationStatus_InitializeBrowser,
|
OperationStatus_InitializeBrowser,
|
||||||
OperationStatus_InitializeConfiguration,
|
OperationStatus_InitializeConfiguration,
|
||||||
OperationStatus_InitializeKioskMode,
|
OperationStatus_InitializeKioskMode,
|
||||||
// TODO
|
|
||||||
OperationStatus_InitializeProctoring,
|
OperationStatus_InitializeProctoring,
|
||||||
OperationStatus_InitializeRuntimeConnection,
|
OperationStatus_InitializeRuntimeConnection,
|
||||||
OperationStatus_InitializeServer,
|
OperationStatus_InitializeServer,
|
||||||
|
@ -162,7 +161,6 @@ namespace SafeExamBrowser.I18n.Contracts
|
||||||
OperationStatus_StopKeyboardInterception,
|
OperationStatus_StopKeyboardInterception,
|
||||||
OperationStatus_StopMouseInterception,
|
OperationStatus_StopMouseInterception,
|
||||||
OperationStatus_TerminateBrowser,
|
OperationStatus_TerminateBrowser,
|
||||||
// TODO
|
|
||||||
OperationStatus_TerminateProctoring,
|
OperationStatus_TerminateProctoring,
|
||||||
OperationStatus_TerminateShell,
|
OperationStatus_TerminateShell,
|
||||||
OperationStatus_ValidateRemoteSessionPolicy,
|
OperationStatus_ValidateRemoteSessionPolicy,
|
||||||
|
|
|
@ -345,6 +345,12 @@
|
||||||
<Entry key="Notification_LogTooltip">
|
<Entry key="Notification_LogTooltip">
|
||||||
Applikations-Protokoll
|
Applikations-Protokoll
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringActiveTooltip">
|
||||||
|
Fernüberwachung ist aktiv
|
||||||
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringInactiveTooltip">
|
||||||
|
Fernüberwachung ist nicht aktiv
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_CloseRuntimeConnection">
|
<Entry key="OperationStatus_CloseRuntimeConnection">
|
||||||
Schliesse Verbindung zur Runtime
|
Schliesse Verbindung zur Runtime
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -375,6 +381,9 @@
|
||||||
<Entry key="OperationStatus_InitializeKioskMode">
|
<Entry key="OperationStatus_InitializeKioskMode">
|
||||||
Initialisiere Kiosk-Modus
|
Initialisiere Kiosk-Modus
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_InitializeProctoring">
|
||||||
|
Initialisiere Fernüberwachung
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
||||||
Initialisiere Verbindung zur Runtime
|
Initialisiere Verbindung zur Runtime
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -432,6 +441,9 @@
|
||||||
<Entry key="OperationStatus_TerminateBrowser">
|
<Entry key="OperationStatus_TerminateBrowser">
|
||||||
Beende Browser
|
Beende Browser
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_TerminateProctoring">
|
||||||
|
Beende Fernüberwachung
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_TerminateShell">
|
<Entry key="OperationStatus_TerminateShell">
|
||||||
Beende Benutzeroberfläche
|
Beende Benutzeroberfläche
|
||||||
</Entry>
|
</Entry>
|
||||||
|
|
|
@ -345,6 +345,12 @@
|
||||||
<Entry key="Notification_LogTooltip">
|
<Entry key="Notification_LogTooltip">
|
||||||
Application Log
|
Application Log
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringActiveTooltip">
|
||||||
|
Remote proctoring is active
|
||||||
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringInactiveTooltip">
|
||||||
|
Remote proctoring is inactive
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_CloseRuntimeConnection">
|
<Entry key="OperationStatus_CloseRuntimeConnection">
|
||||||
Closing runtime connection
|
Closing runtime connection
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -375,6 +381,9 @@
|
||||||
<Entry key="OperationStatus_InitializeKioskMode">
|
<Entry key="OperationStatus_InitializeKioskMode">
|
||||||
Initializing kiosk mode
|
Initializing kiosk mode
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_InitializeProctoring">
|
||||||
|
Initializing remote proctoring
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
||||||
Initializing runtime connection
|
Initializing runtime connection
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -432,6 +441,9 @@
|
||||||
<Entry key="OperationStatus_TerminateBrowser">
|
<Entry key="OperationStatus_TerminateBrowser">
|
||||||
Terminating browser
|
Terminating browser
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_TerminateProctoring">
|
||||||
|
Terminating remote proctoring
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_TerminateShell">
|
<Entry key="OperationStatus_TerminateShell">
|
||||||
Terminating user interface
|
Terminating user interface
|
||||||
</Entry>
|
</Entry>
|
||||||
|
|
|
@ -345,6 +345,12 @@
|
||||||
<Entry key="Notification_LogTooltip">
|
<Entry key="Notification_LogTooltip">
|
||||||
Journal d’application
|
Journal d’application
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringActiveTooltip">
|
||||||
|
La surveillance à distance est active
|
||||||
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringInactiveTooltip">
|
||||||
|
La surveillance à distance est inactive
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_CloseRuntimeConnection">
|
<Entry key="OperationStatus_CloseRuntimeConnection">
|
||||||
Fermeture de la connexion
|
Fermeture de la connexion
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -375,6 +381,9 @@
|
||||||
<Entry key="OperationStatus_InitializeKioskMode">
|
<Entry key="OperationStatus_InitializeKioskMode">
|
||||||
Initialisation du mode kiosque
|
Initialisation du mode kiosque
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_InitializeProctoring">
|
||||||
|
Initialisation de la surveillance à distance
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
||||||
Initialisation de la connexion d'exécution
|
Initialisation de la connexion d'exécution
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -432,6 +441,9 @@
|
||||||
<Entry key="OperationStatus_TerminateBrowser">
|
<Entry key="OperationStatus_TerminateBrowser">
|
||||||
Arrêt du navigateur
|
Arrêt du navigateur
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_TerminateProctoring">
|
||||||
|
Arrêt de la surveillance à distance
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_TerminateShell">
|
<Entry key="OperationStatus_TerminateShell">
|
||||||
Arrêt de l’interface utilisateur
|
Arrêt de l’interface utilisateur
|
||||||
</Entry>
|
</Entry>
|
||||||
|
|
|
@ -345,6 +345,12 @@
|
||||||
<Entry key="Notification_LogTooltip">
|
<Entry key="Notification_LogTooltip">
|
||||||
Registro applicazione
|
Registro applicazione
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringActiveTooltip">
|
||||||
|
Il proctoring remoto è attivo
|
||||||
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringInactiveTooltip">
|
||||||
|
Il proctoring remoto è inattivo
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_CloseRuntimeConnection">
|
<Entry key="OperationStatus_CloseRuntimeConnection">
|
||||||
Chiusura della connessione runtime
|
Chiusura della connessione runtime
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -375,6 +381,9 @@
|
||||||
<Entry key="OperationStatus_InitializeKioskMode">
|
<Entry key="OperationStatus_InitializeKioskMode">
|
||||||
Inizializzazione della modalità kiosk
|
Inizializzazione della modalità kiosk
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_InitializeProctoring">
|
||||||
|
Inizializzazione del proctoring remoto
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
||||||
Inizializzazione della connessione runtime
|
Inizializzazione della connessione runtime
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -432,6 +441,9 @@
|
||||||
<Entry key="OperationStatus_TerminateBrowser">
|
<Entry key="OperationStatus_TerminateBrowser">
|
||||||
Chiusura del browser
|
Chiusura del browser
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_TerminateProctoring">
|
||||||
|
Terminare il proctoring remoto
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_TerminateShell">
|
<Entry key="OperationStatus_TerminateShell">
|
||||||
Chiusura dell'interfaccia utente
|
Chiusura dell'interfaccia utente
|
||||||
</Entry>
|
</Entry>
|
||||||
|
|
|
@ -309,6 +309,12 @@
|
||||||
<Entry key="Notification_LogTooltip">
|
<Entry key="Notification_LogTooltip">
|
||||||
应用程序日志
|
应用程序日志
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringActiveTooltip">
|
||||||
|
远程监理处于活动状态
|
||||||
|
</Entry>
|
||||||
|
<Entry key="Notification_ProctoringInactiveTooltip">
|
||||||
|
远程监理处于不活动状态
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_CloseRuntimeConnection">
|
<Entry key="OperationStatus_CloseRuntimeConnection">
|
||||||
关闭运行时连接
|
关闭运行时连接
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -333,6 +339,9 @@
|
||||||
<Entry key="OperationStatus_InitializeKioskMode">
|
<Entry key="OperationStatus_InitializeKioskMode">
|
||||||
初始化全屏模式
|
初始化全屏模式
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_InitializeProctoring">
|
||||||
|
初始化远程监理
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
<Entry key="OperationStatus_InitializeRuntimeConnection">
|
||||||
初始化运行时连接
|
初始化运行时连接
|
||||||
</Entry>
|
</Entry>
|
||||||
|
@ -384,6 +393,9 @@
|
||||||
<Entry key="OperationStatus_TerminateBrowser">
|
<Entry key="OperationStatus_TerminateBrowser">
|
||||||
终止浏览器
|
终止浏览器
|
||||||
</Entry>
|
</Entry>
|
||||||
|
<Entry key="OperationStatus_TerminateProctoring">
|
||||||
|
终止远程监督
|
||||||
|
</Entry>
|
||||||
<Entry key="OperationStatus_TerminateShell">
|
<Entry key="OperationStatus_TerminateShell">
|
||||||
终止用户界面
|
终止用户界面
|
||||||
</Entry>
|
</Entry>
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace SafeExamBrowser.Proctoring
|
||||||
private IProctoringWindow window;
|
private IProctoringWindow window;
|
||||||
|
|
||||||
public IconResource IconResource { get; set; }
|
public IconResource IconResource { get; set; }
|
||||||
public string Tooltip { get; }
|
public string Tooltip { get; set; }
|
||||||
|
|
||||||
public event NotificationChangedEventHandler NotificationChanged;
|
public event NotificationChangedEventHandler NotificationChanged;
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ namespace SafeExamBrowser.Proctoring
|
||||||
this.uiFactory = uiFactory;
|
this.uiFactory = uiFactory;
|
||||||
|
|
||||||
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ProctoringNotification_Inactive.xaml") };
|
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ProctoringNotification_Inactive.xaml") };
|
||||||
Tooltip = text.Get(TextKey.Notification_ProctoringTooltip);
|
Tooltip = text.Get(TextKey.Notification_ProctoringInactiveTooltip);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Activate()
|
public void Activate()
|
||||||
|
@ -168,6 +168,7 @@ namespace SafeExamBrowser.Proctoring
|
||||||
}
|
}
|
||||||
|
|
||||||
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ProctoringNotification_Active.xaml") };
|
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ProctoringNotification_Active.xaml") };
|
||||||
|
Tooltip = text.Get(TextKey.Notification_ProctoringActiveTooltip);
|
||||||
NotificationChanged?.Invoke();
|
NotificationChanged?.Invoke();
|
||||||
|
|
||||||
logger.Info($"Started proctoring with {(settings.JitsiMeet.Enabled ? "Jitsi Meet" : "Zoom")}.");
|
logger.Info($"Started proctoring with {(settings.JitsiMeet.Enabled ? "Jitsi Meet" : "Zoom")}.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue