# HG changeset patch # User Mads Kiilerich # Date 2013-03-07 20:45:40 # Node ID c44645e5a836167a6a023141ff4297acf4564ae0 # Parent 5b3313a5c6fc8dc09f85bce510e6253fec0c5c11 fix casings 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 @@ -564,7 +564,7 @@ var showRepoSize = function(target, repo var args= 'auth_token='+token; if(!YUD.hasClass(target, 'loaded')){ - YUD.get(target).innerHTML = _TM['loading...']; + YUD.get(target).innerHTML = _TM['Loading ...']; var url = pyroutes.url('repo_size', {"repo_name":repo_name}); YUC.asyncRequest('POST',url,{ success:function(o){ @@ -896,7 +896,7 @@ var deleteComment = function(comment_id) var createInlineAddButton = function(tr){ - var label = TRANSLATION_MAP['add another comment']; + var label = TRANSLATION_MAP['Add another comment']; var html_el = document.createElement('div'); YUD.addClass(html_el, 'add-comment'); @@ -1092,7 +1092,7 @@ var fileBrowserListeners = function(curr match.push('{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'])); } } } @@ -1101,7 +1101,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(""); @@ -2159,11 +2159,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']); } }); diff --git a/rhodecode/templates/base/root.html b/rhodecode/templates/base/root.html --- a/rhodecode/templates/base/root.html +++ b/rhodecode/templates/base/root.html @@ -39,21 +39,21 @@