2 lines
514 B
JavaScript
2 lines
514 B
JavaScript
import{b as t}from"./Cu5ilWky.js";async function g(){return t.get("/languages")}async function i(){return t.get("/admin/languages")}async function o(a,n){const s=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${s}/translate`,n)}async function r(a,n){const s=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${s}/adopt-language`,{lang:n})}async function l(a,n,s){const e=a.startsWith("/")?a.slice(1):a;return t.post(`/pages/${e}/sync`,{source_lang:n,target_lang:s})}export{i as a,r as b,o as c,g,l as s};
|