diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -86,19 +86,6 @@ var prevElementSibling = function( el ) } } -var setSelectValue = function(select, val){ - var selection = YUD.get(select); - - // select element - for(var i=0;i{2}'.format(t,new_url,n_hl)); } if(match.length >= matches_max){ - match.push('{0}'.format(_TM['search truncated'])); + match.push('{0}'.format(_TM['Search truncated'])); } } } @@ -1115,7 +1102,7 @@ var fileBrowserListeners = function(curr YUD.setStyle('tbody_filtered','display',''); if (match.length==0){ - match.push('{0}'.format(_TM['no matching files'])); + match.push('{0}'.format(_TM['No matching files'])); } YUD.get('tbody_filtered').innerHTML = match.join(""); @@ -2173,11 +2160,11 @@ YUE.onDOMReady(function(){ console.log(t); if(YUD.hasClass(t, 'hidden')){ YUD.removeClass(t, 'hidden'); - YUD.get(button).innerHTML = "↑ {0} ↑".format(_TM['collapse diff']); + YUD.get(button).innerHTML = "↑ {0} ↑".format(_TM['Collapse diff']); } else if(!YUD.hasClass(t, 'hidden')){ YUD.addClass(t, 'hidden'); - YUD.get(button).innerHTML = "↓ {0} ↓".format(_TM['expand diff']); + YUD.get(button).innerHTML = "↓ {0} ↓".format(_TM['Expand diff']); } });