소스 검색

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") + "."
     }