Notifications
Clear all

wpForo 1.x.x [Closed] Line translation

3 Posts
2 Users
0 Likes
2,275 Views
Posts: 50
Topic starter
(@dimbays)
Trusted Member
Joined: 6 years ago

Hi!

I can not translate one line - http://joxi.ru/KAgZozbfEKjR52

In the admin section in the phrase section, I asked the translation -Β  http://joxi.ru/D2PKYZaCqJlMom

Cache cleared.Β Tell me what's wrong? Thank!

Topic Tags
2 Replies
Sofy
Posts: 4143
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi @dimbays,

Thank you for letting us know. This will be fixed in the next version.Β 

As a temporary solution, you can edit the wp-content/plugins/wpforo/wpf-includes/functions-template.php file, find this line (2044 line):

$html .= '<p class="wpf-viewing-users"><i class="fas fa-male"></i> ' . sprintf( 'Currently viewing this topic %s %s %s.', $users, $and, $guests) . '</p>';

Change to this:

$html .= '<p class="wpf-viewing-users"><i class="fas fa-male"></i> ' . sprintf(wpforo_phrase( 'Currently viewing this topic %s %s %s.', false), $users, $and, $guests) . '</p>';
Posts: 50
Topic starter
(@dimbays)
Trusted Member
Joined: 6 years ago

@sofy,

Ok, thank! πŸ˜‰