Explorar o código

Introducing adaptive numerus for clients and gateways

Steffen Möller %!s(int64=8) %!d(string=hai) anos
pai
achega
13c640beb8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/meshstats.js

+ 1 - 1
lib/meshstats.js

@@ -21,7 +21,7 @@ define(function () {
 
       stats.textContent = totalNodes + " Knoten " +
                           "(" + nodetext + ") mit " +
-                          totalClients + " Clients"
+                          totalClients + " Client" + ( totalClients === 1 ? "" : "s" )
 
       timestamp.textContent = "Diese Daten sind von " + d.timestamp.format("LLLL") + "."
     }