瀏覽代碼

Introducing adaptive numerus for clients and gateways

Steffen Möller 8 年之前
父節點
當前提交
13c640beb8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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") + "."
     }