found a duplicate language string

v1.18.x
psychobunny 11 years ago
parent 1bdb80ce0a
commit 3b511b59cb

@ -5,6 +5,5 @@
"search": "Search",
"enter_username": "Enter a username to search",
"load_more": "Load More",
"user-not-found": "User not found!",
"users-found-search-took": "%1 user(s) found! Search took %2 ms."
}

@ -134,7 +134,7 @@ define('forum/users', function() {
translator.translate(html, function(translated) {
$('#users-container').html(translated);
if (!data.users.length) {
translator.translate('[[users:user-not-found]]', function(translated) {
translator.translate('[[error:no-user]]', function(translated) {
notify.html(translated);
notify.parent().addClass('btn-warning label-warning');
});

Loading…
Cancel
Save