File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11import  { 
22	discordServerUrl , 
3+ 	displayTranslationStatus , 
34	githubRepositoryUrl , 
45	typstOfficialDocsUrl , 
56	typstOfficialUrl , 
@@ -57,7 +58,7 @@ export const Header = () => {
5758					< div  class = "flex items-center gap-2 flex-shrink-0" > 
5859						< SiteTitle  /> 
5960						< VersionBadge  /> 
60- 						< TranslationCoverageBadge  /> 
61+ 						{ displayTranslationStatus   &&   < TranslationCoverageBadge  /> } 
6162					</ div > 
6263
6364					< div  class = "xl:absolute xl:left-1/2 xl:transform xl:-translate-x-1/2" > 
@@ -128,9 +129,11 @@ export const Header = () => {
128129							< SiteTitle  /> 
129130							< VersionBadge  /> 
130131						</ div > 
131- 						< div > 
132- 							< TranslationCoverageBadge  /> 
133- 						</ div > 
132+ 						{ displayTranslationStatus  &&  ( 
133+ 							< div > 
134+ 								< TranslationCoverageBadge  /> 
135+ 							</ div > 
136+ 						) } 
134137					</ div > 
135138					< div  class = "flex items-center gap-2 flex-shrink-0 self-center" > 
136139						< button 
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ export const originUrl = "https://typst-jp.github.io/";
1919/** The base public path for deployment. This must match the value used in typst-docs. */ 
2020export  const  basePath : "/"  |  `/${string } /` =  "/docs/" ; 
2121/** Indicates whether to display the translation status on the site. Community content is always displayed. */ 
22- export  const  displayTranslationStatus : boolean  =  true ; 
22+ export  const  displayTranslationStatus : boolean  =  false ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments