Moves the number in the code, not as a translation parameter.

There is sometimes problems with cache and late loading of the translations, this commit avoids showing translation key in the contactlist title, by moving the parameter into the code.
This commit is contained in:
damencho
2016-09-21 17:16:00 -05:00
parent e7cbacf9a2
commit cfeb03740c
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{
"contactlist": "On Call (__participants__)",
"contactlist": "On Call",
"connectionsettings": "Connection Settings",
"poweredby": "powered by",
"feedback": "Give us your feedback",
@@ -26,9 +26,8 @@ function updateNumberOfParticipants(delta) {
.parent()[numberOfContacts > 1 ? 'show' : 'hide']();
$("#contacts_container>div.title").text(
APP.translation.translateString(
"contactlist", {participants: numberOfContacts}
));
APP.translation.translateString("contactlist")
+ ' (' + numberOfContacts + ')');
}
/**