PageSourceSearch

https://get.checkfront.com/lib/vite/TranslateApp-734aa0ff.js

js checkfront.com collected 2026-10-02 02:18:06 UTC 3,588 bytes, 1 lines download raw bytes

1import{a as y,e as C,j as r,c as o,i as x,P as n,F as b}from"./componentLoader.jsx-2026.10.01-3d77ab87.js";import"./logger-3e1e3eff.js";import{a as T}from"./index-213dd4d3.js";import{S as _}from"./Copy-4dad38b5.js";import{E}from"./Edit-1d071c82.js";import{E as P}from"./Eye-9a6cafa6.js";import{B as S}from"./Banner-1832e2d9.js";import{B as l}from"./Button-daed7707.js";import{a as w,G as p}from"./Grid-95575dae.js";import{P as N,a as k}from"./Page-6cd9626c.js";import{P as A}from"./ProgressBar-117c3054.js";import{T as B}from"./Table-78d06123.js";import{T as c}from"./Tabs-521d8288.js";import{c as i}from"./commonReportColumns-cc3d5b88.js";import{R as F}from"./ReportSecondaryActions-8090174b.js";import{a as v}from"./staffside.js-2026.10.01-3d77ab87.js";import"./index-e642497c.js";import"./_Uint8Array-4a201bc7.js";import"./_equalByTag-f809a93d.js";import"./index-6a18cc6d.js";import"./vendor-21ae10b1.js";import"./brand-387037d2.js";import"./universe.js-2026.10.01-3d77ab87.js";import"./index-b6a278bc.js";import"./index-2506ba77.js";import"./Link-bec2c870.js";import"./TableCell-bc13db52.js";import"./TableHeader-146e1398.js";import"./Text-db1ebb07.js";import"./StatusDot-969459df.js";import"./dates-d2ad9abb.js";import"./CurrencyField-7dd4444c.js";import"./TextField-9054bcd3.js";import"./CurrencyLabel-7f777d48.js";import"./customerside.js-2026.10.01-3d77ab87.js";import"./toNumber-8f88376b.js";import"./isSymbol-34885b27.js";import"./Download-b378aa08.js";import"./Upload-0892eabe.js";import"./Tooltip-9af70d1f.js";import"./HelpButton-7bf06877.js";import"./HelpCircle-0303da15.js";import"./Image-957b8b4e.js";import"./MessageCard-9adb8c14.js";import"./usePaywall-28cf01a3.js";import"./eq-9168d086.js";j.propTypes={rows:n.array,kbLink:n.string,csrfToken:n.string};function j({rows:m,kbLink:d,csrfToken:u}){const e=y(),g=C().isCheckmate;async function f(a){const{data:{lang_id:t}}=await T.post("",{lang_id:a},v(u));window.location=`edit/?lang_id=${t}`}function h(a,t,s){return s==="en"?!1:!!(t||a)}return r(N,{width:"md",pageHeader:r(k.PageHeader,{title:e.pageTitle,subtitle:e.pageSubtitle,tabs:[r(c.Item,{id:"translateContent",children:r("a",{href:"/manage/languages",children:e.translateContent})},"translateContent"),r(c.Item,{id:"translateApp",active:!0,children:r("a",{href:"/manage/extend/lang",className:"no-underline",children:e.translateApp})},"translateApp")],secondaryActions:r(F,{helpUrl:d,noExport:!0})}),children:o("div",{className:"padding-bottom-6",children:[r("p",{children:e.pageDescription}),r(S,{className:"margin-x-0",children:x(e.pageInfoBanner,{localeSetup:r("a",{href:"/manage/setup/locale",children:e.localeSetup},"localSetup")})}),r(B,{defaultPageSize:m.length,size:"sm",data:m,columns:[i({accessor:"id",Cell:({original:{lang_id:a}})=>a}),i({accessor:"name",Cell:({original:{name:a}})=>a}),i({accessor:"status",Cell:({original:{percent:a}})=>r(w,{children:o(p.Row,{children:[r(p.Col,{children:r(A,{progress:Number(a)})}),r(p.Col,{col:"3",className:"display-flex align-items-center",children:o("span",{children:[a,"%"]})})]})})}),i({accessor:"type",Cell:({original:{is_private:a}})=>a?e.custom:e.shared}),i({accessor:"actions",Cell:({original:{lang_id:a,is_private:t,disable_copy:s}})=>o(b,{children:[h(g,t,a)?r(l,{small:!0,flat:!0,primary:!0,icon:r(E,{}),url:`edit/?lang_id=${a}`,className:"no-underline",children:e.edit}):r(l,{small:!0,flat:!0,icon:r(P,{}),url:`edit/?lang_id=${a}`,className:"no-underline",children:e.view}),!t&&r(l,{small:!0,flat:!0,primary:!0,icon:r(_,{}),onClick:()=>f(a),disabled:s,children:e.copy})]})})]})]})})}export{j 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.