Skip to content

Commit

Permalink
Support Forums: Also Viewing: JS Compatibility.
Browse files Browse the repository at this point in the history
See #6431.


git-svn-id: https://meta.svn.wordpress.org/sites/trunk@12577 74240141-8908-4e6f-9713-ba540dce6ec7
  • Loading branch information
dd32 committed May 8, 2023
1 parent 377c310 commit 0830066
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@

// Add the anonymous users to the list.
if ( anonymousUserCount ) {
var anonymousText = _n( '%s other person', '%s other people', anonymousUserCount, 'wporg-forums' ).replace( '%s', anonymousUserCount )
var anonymousText = _n( '%s other person', '%s other people', anonymousUserCount, 'wporg-forums' ).replace( '%s', anonymousUserCount );

if ( anonymousUserTyping ) {
anonymousText += ' ' + _n( '(%s is typing)', '(%s are typing)', anonymousUserTyping, 'wporg-forums' ).replace( '%s', anonymousUserTyping )
anonymousText += ' ' + _n( '(%s is typing)', '(%s are typing)', anonymousUserTyping, 'wporg-forums' ).replace( '%s', anonymousUserTyping );
}

userList.push( anonymousText );
Expand Down

0 comments on commit 0830066

Please sign in to comment.