File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ function DocumentsTable({
628
628
) }
629
629
</ h3 >
630
630
{ ! counts . built ? (
631
- < WarnAboutNothingBuilt />
631
+ < WarnAboutNothingBuilt locale = { locale } />
632
632
) : (
633
633
< h4 className = "subheader" >
634
634
{ counts . built . toLocaleString ( ) } documents built ({ locale } )
@@ -735,13 +735,13 @@ function PageLink({
735
735
) ;
736
736
}
737
737
738
- function WarnAboutNothingBuilt ( ) {
738
+ function WarnAboutNothingBuilt ( { locale } ) {
739
739
return (
740
740
< div className = "notecard warning document-warnings" >
741
741
< h4 > No documents have been built, so no flaws can be found</ h4 >
742
742
< p >
743
- At the moment, you have to use the command line tools to build documents
744
- that we can analyze .
743
+ Run < code > yarn build --locale { locale . toLowerCase ( ) } </ code > to build all
744
+ documents for the current locale .
745
745
</ p >
746
746
</ div >
747
747
) ;
You can’t perform that action at this time.
0 commit comments