1import{r as i,j as r,e,l as o,F as c,f as l}from"./index-c165adff.js";const h=()=>{const[t,n]=i.useState(!1);return r(c,{children:[e(l.Metadata,{title:"Local",description:"Local page"}),e("h1",{children:"Local"}),e("h2",{children:"Generate Missing Translations"}),t?e("p",{children:"Missing translations are being generated... check you terminal"}):e("p",{children:"Click the button to kick off:"}),e("p",{children:e("button",{className:"btn btn-primary",disabled:t,onClick:async()=>{const s=await fetch(o.getAPIURL("/local"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({method:"generateMissingTranslations"})}).then(a=>a.json());typeof s=="object"&&s&&"success"in s&&s.success?n(!0):console.error("Bad result",s)},children:"Generate Missing Translations"})})]})};export{h as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.