[Libreoffice-commits] online.git: loleaflet/admin

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 9 12:21:18 UTC 2020


 loleaflet/admin/admin.html          |   10 +++++-----
 loleaflet/admin/admin.strings.js    |    2 +-
 loleaflet/admin/adminAnalytics.html |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 7eab43531e0a8d610520f7d4d5049d81278b4ca7
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Thu Sep 3 21:19:48 2020 +0530
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Sep 9 14:20:59 2020 +0200

    admin: corrected grammar in tab name
    
    Change-Id: I41d9e25e20d301fb6e85f01294469107d2a3d1d7
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102010
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/admin/admin.html b/loleaflet/admin/admin.html
index 0020e9a29..8db2277ee 100644
--- a/loleaflet/admin/admin.html
+++ b/loleaflet/admin/admin.html
@@ -13,7 +13,7 @@
       </div>
       <div class="tile is-parent">
         <div class="tile is-child has-text-centered">
-          <p class="heading"><script>document.write(l10nstrings.strDocumentsOpened)</script></p>
+          <p class="heading"><script>document.write(l10nstrings.strDocumentsOpen)</script></p>
           <p class="title" id="active_docs_count">0</p>
         </div>
       </div>
@@ -45,7 +45,7 @@
 
     <div class="tabs">
       <ul>
-        <li id="tab-documents-opened" class="is-active"><a><script>document.write(l10nstrings.strDocumentsOpened)</script></a></li>
+        <li id="tab-documents-open" class="is-active"><a><script>document.write(l10nstrings.strDocumentsOpen)</script></a></li>
         <li id="tab-users-online"><a><script>document.write(l10nstrings.strUsersOnline)</script></a></li>
       </ul>
     </div>
@@ -86,8 +86,8 @@
   document.getElementById('a-overwiew-mobile').classList.add('is-active');
   document.getElementById('a-overwiew-tablet').classList.add('is-active');
 
-  document.getElementById('tab-documents-opened').onclick = function() {
-    document.getElementById('tab-documents-opened').className = 'is-active';
+  document.getElementById('tab-documents-open').onclick = function() {
+    document.getElementById('tab-documents-open').className = 'is-active';
     document.getElementById('tab-users-online').className = '';
     document.getElementById('tab-content-documents-opened').style.display = 'grid';
     document.getElementById('tab-content-users-online').style.display = 'none';
@@ -95,7 +95,7 @@
 
   document.getElementById('tab-users-online').onclick = function() {
     document.getElementById('tab-users-online').className = 'is-active';
-    document.getElementById('tab-documents-opened').className = '';
+    document.getElementById('tab-documents-open').className = '';
     document.getElementById('tab-content-users-online').style.display = 'grid';
     document.getElementById('tab-content-documents-opened').style.display = 'none';
   }
diff --git a/loleaflet/admin/admin.strings.js b/loleaflet/admin/admin.strings.js
index 9ac1e2fb1..c462add38 100644
--- a/loleaflet/admin/admin.strings.js
+++ b/loleaflet/admin/admin.strings.js
@@ -13,7 +13,7 @@ l10nstrings.strLog = _('Log');
 l10nstrings.strDashboard = _('Dashboard');
 l10nstrings.strUsersOnline = _('Users online');
 l10nstrings.strUserName = _('User Name');
-l10nstrings.strDocumentsOpened = _('Documents opened');
+l10nstrings.strDocumentsOpen = _('Documents open');
 l10nstrings.strUsers = _(' user(s).');
 l10nstrings.strUserOpenDocuments = _(' document(s) open.');
 l10nstrings.strDocumentNumber = _('Number of Documents');
diff --git a/loleaflet/admin/adminAnalytics.html b/loleaflet/admin/adminAnalytics.html
index a3a8e5a2e..1fb1bc51f 100644
--- a/loleaflet/admin/adminAnalytics.html
+++ b/loleaflet/admin/adminAnalytics.html
@@ -6,7 +6,7 @@
 
     <div class="tabs">
       <ul>
-        <li id="tab-documents-opened" class="is-active"><a id="button-memview" href="#memview"><script>document.write(l10nstrings.strMemoryGraph)</script></a></li>
+        <li id="tab-documents-open" class="is-active"><a id="button-memview" href="#memview"><script>document.write(l10nstrings.strMemoryGraph)</script></a></li>
         <li id="tab-users-online"><a id="button-cpuview" href="#cpuview"><script>document.write(l10nstrings.strCpuGraph)</script></a></li>
         <li id="tab-users-online"><a id="button-networkview" href="#networkview"><script>document.write(l10nstrings.strNetGraph)</script></a></li>
       </ul>


More information about the Libreoffice-commits mailing list