File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ def extract_glossary_from_html(content)
116116    term_names  =  [ ] 
117117    if  term_name  == "tree-ish (also treeish)" 
118118      term_names  =  [ 'tree-ish' ,  'treeish' ] 
119+     elsif  term_name  == "arbre-esque (aussi arbresque)" 
120+       term_names  =  [ '' arbre -esque ,  'arbresque' ] 
119121    else 
120122      term_names  =  [ term_name ] 
121123    end 
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ var GitGlossary = {
44  tooltip : null , 
55
66  init : function ( )  { 
7-     // Default to English, could be made configurable later 
8-     const  language  =  'en' ; 
7+     const  language  =  document . querySelector ( "html" ) ?. getAttribute ( "lang" )  ||  'en' ; 
98    $ . getJSON ( baseURLPrefix  +  'js/glossary/'  +  language  +  '.json' ) 
109      . done ( ( data )  =>  this . onDataLoaded ( data ) ) ; 
1110    window . addEventListener ( 'resize' ,  ( )  =>  this . reposition ( ) ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments