mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Use 'html10n' instead of '_', i10nzed "unnamed author(s)"
This commit is contained in:
parent
4a20a26cbf
commit
763864539f
3 changed files with 10 additions and 2 deletions
|
@ -193,7 +193,12 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
|
|||
});
|
||||
if (numAnonymous > 0)
|
||||
{
|
||||
var anonymousAuthorString = numAnonymous + " unnamed author" + (numAnonymous > 1 ? "s" : "")
|
||||
var anonymousAuthorString;
|
||||
if(numAnonymous == 1)
|
||||
anonymousAuthorString = html10n.get("timeslider.unnamedauthor", { num: numAnonymous });
|
||||
else
|
||||
anonymousAuthorString = html10n.get("timeslider.unnamedauthors", { num: numAnonymous });
|
||||
|
||||
if (numNamed !== 0){
|
||||
authorsList.append(' + ' + anonymousAuthorString);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue