mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
converted translator.get to translator.translate
This commit is contained in:
@@ -25,7 +25,7 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
||||
chatsListEl.empty();
|
||||
|
||||
if (!chats.length) {
|
||||
translator.get('modules:chat.no_active', function(str) {
|
||||
translator.translate('[[modules:chat.no_active]]', function(str) {
|
||||
$('<li />')
|
||||
.addClass('no_active')
|
||||
.html('<a href="#">' + str + '</a>')
|
||||
|
||||
Reference in New Issue
Block a user