e221388c79
Use a new protocol message, 'resetidle' to inform Admin clients whenever a user has done anything in a document view. This is a message that Admin clients need to subscribe to. Also add the current idle time for each document to the 'documents' message. To reduce protocol chatter, the idle time is updated at most once per 10 s. Change-Id: I418e82b05048a3628f21dcd240ccd974b3a01356 Reviewed-on: https://gerrit.libreoffice.org/31653 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
/* Stringtable for Admin Console User Interface */
|
|
var l10nstrings = {};
|
|
|
|
l10nstrings.strProductName = 'LibreOffice Online';
|
|
l10nstrings.strAdminConsole = _('Admin console');
|
|
l10nstrings.strToggleNavigation = _('Toggle navigation');
|
|
l10nstrings.strSettings = _('Settings');
|
|
l10nstrings.strOverview = _('Overview');
|
|
l10nstrings.strCurrent = _('(current)');
|
|
l10nstrings.strAnalytics = _('Analytics');
|
|
l10nstrings.strDashboard = _('Dashboard');
|
|
l10nstrings.strUsersOnline = _('Users online');
|
|
l10nstrings.strDocumentsOpened = _('Documents opened');
|
|
l10nstrings.strMemoryConsumed = _('Memory consumed');
|
|
l10nstrings.strPid = _('PID');
|
|
l10nstrings.strDocument = _('Document');
|
|
l10nstrings.strNumberOfViews = _('Number of views');
|
|
l10nstrings.strElapsedTime = _('Elapsed time');
|
|
l10nstrings.strIdleTime = _('Idle time');
|
|
l10nstrings.strKill = _('Kill');
|
|
l10nstrings.strGraphs = _('Graphs');
|
|
l10nstrings.strSave = _('Save');
|
|
l10nstrings.strMemoryStatsCachesize = _('Cache size of memory statistics');
|
|
l10nstrings.strMemoryStatsInterval = _('Time interval of memory statistics (in ms)');
|
|
l10nstrings.strCpuStatsCachesize = _('Cache size of CPU statistics');
|
|
l10nstrings.strCpuStatsInterval = _('Time interval of CPU statistics (in ms)');
|
|
|
|
if (module) {
|
|
module.exports = l10nstrings;
|
|
}
|