Notifications
Clear all

wpForo 1.x.x [Closed] Line translation

3 Posts
2 Users
0 Reactions
2,552 Views
Posts: 50
Topic starter
(@dimbays)
Trusted Member
Joined: 7 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: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 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: 7 years ago

@sofy,

Ok, thank! 😉