Browse Source

Merge pull request #916 from jitsi/contaclist-title-update

Moves the number in the code, not as a translation parameter.
master
yanas 9 years ago
parent
commit
92641c20f3
2 changed files with 3 additions and 4 deletions
  1. 1
    1
      lang/main.json
  2. 2
    3
      modules/UI/side_pannels/contactlist/ContactList.js

+ 1
- 1
lang/main.json View File

1
 {
1
 {
2
-    "contactlist": "On Call (__participants__)",
2
+    "contactlist": "On Call",
3
     "connectionsettings": "Connection Settings",
3
     "connectionsettings": "Connection Settings",
4
     "poweredby": "powered by",
4
     "poweredby": "powered by",
5
     "feedback": "Give us your feedback",
5
     "feedback": "Give us your feedback",

+ 2
- 3
modules/UI/side_pannels/contactlist/ContactList.js View File

26
         .parent()[numberOfContacts > 1 ? 'show' : 'hide']();
26
         .parent()[numberOfContacts > 1 ? 'show' : 'hide']();
27
 
27
 
28
     $("#contacts_container>div.title").text(
28
     $("#contacts_container>div.title").text(
29
-        APP.translation.translateString(
30
-            "contactlist", {participants: numberOfContacts}
31
-        ));
29
+        APP.translation.translateString("contactlist")
30
+            + ' (' + numberOfContacts + ')');
32
 }
31
 }
33
 
32
 
34
 /**
33
 /**

Loading…
Cancel
Save