import{d as m,V as f,c as g,o as x,w as n,j as e,S as c,p as o,A as a,l as p,cb as N,al as k,i as w,X as V}from"./index-9PRMimni.js";import{u as y}from"./useLocale-DmC4oZjn.js";import{_ as B}from"./Flex-CTSf12gq.js";const P=m({__name:"index",setup(C){const{getLocale:l}=y(),{t:_}=f();return(T,t)=>{const s=c,r=N,u=k,d=B,i=V;return x(),g(i,{title:p(_)("common.i18nText")},{headerContent:n(()=>[e(d,{gap:"middle",vertical:""},{default:n(()=>[e(s,{strong:""},{default:n(()=>[o("当前语言："+a(p(l)),1)]),_:1}),e(s,{depth:"3"},{default:n(()=>t[0]||(t[0]=[o("点击右上角的多语言切换按钮，尝试切换不同的语言，下面的内容会自动变化：")])),_:1}),e(s,{depth:"3"},{default:n(()=>[o("1. "+a(p(_)("common.welcomeText"))+"!",1)]),_:1}),e(s,{depth:"3"},{default:n(()=>t[1]||(t[1]=[o("2. NaiveUi 组件内部也会自动切换多语言：")])),_:1}),e(r,{style:{width:"180px"}}),e(s,{depth:"3"},{default:n(()=>t[2]||(t[2]=[o("3. 菜单及系统页面：")])),_:1}),e(u,{type:"info"},{default:n(()=>[w("span",null,[t[5]||(t[5]=o("当前在线预览环境 ")),e(s,{strong:""},{default:n(()=>t[3]||(t[3]=[o("多语言配置")])),_:1}),t[6]||(t[6]=o("，只对 ")),e(s,{strong:""},{default:n(()=>t[4]||(t[4]=[o("多语言菜单")])),_:1}),t[7]||(t[7]=o("，做了配置，其它尚未配置。"))])]),_:1})]),_:1})]),_:1},8,["title"])}}});export{P as default};
