You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 lines
10 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[1483],{787142:function(r,_,n){n.r(_);var s=n(502143),o=n(968521),m=n(720719),g=n(28840),e=n(759907),d=n(828089),h=n(825673),E=n(902068),P=n(574399),c=n(863942),D=n(316073),M=n(24628),O=n(719260),T=n(956140),p=n(127179),x=n(905388),C=n(40428),I=n(606965),L=n(268696),A=n(587302),u=n(424128),U=n(249706),R=n(795127),b=n(116846),B=n(212039),W=n(73024),f=n(553913),a=n(606641),Z=n(667294),l=n(370917);function v(){var i=(0,a.eL)(),t=i.texts;return(0,l.tZ)(a.dY,null,(0,l.tZ)(Z.Fragment,null,(0,l.tZ)("div",{className:"markdown"},(0,l.tZ)("p",null,t[0].value,(0,l.tZ)("code",null,t[1].value),t[2].value),(0,l.tZ)("h2",{id:"configprovider"},(0,l.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#configprovider",sourceType:"a"},(0,l.tZ)("span",{className:"icon icon-link"})),"ConfigProvider"),(0,l.tZ)("p",null,(0,l.tZ)("code",null,t[3].value),t[4].value,(0,l.tZ)(u.Z,{to:"/components/config-provider",sourceType:"Link"},t[5].value),t[6].value),(0,l.tZ)(e.Z,{lang:"jsx"},t[7].value),(0,l.tZ)("p",null,t[8].value,(0,l.tZ)(u.Z,{to:"/components/config-provider",sourceType:"Link"},t[9].value),t[10].value),(0,l.tZ)("p",null,t[11].value,(0,l.tZ)("code",null,t[12].value),t[13].value),(0,l.tZ)("p",null,t[14].value),(0,l.tZ)("h3",{id:"supported-languages"},(0,l.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#supported-languages",sourceType:"a"},(0,l.tZ)("span",{className:"icon icon-link"})),"Supported languages:"),(0,l.tZ)(d.Z,null,(0,l.tZ)("thead",null,(0,l.tZ)("tr",null,(0,l.tZ)("th",null,t[15].value),(0,l.tZ)("th",null,t[16].value))),(0,l.tZ)("tbody",null,(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[17].value),(0,l.tZ)("td",null,t[18].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[19].value),(0,l.tZ)("td",null,t[20].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[21].value),(0,l.tZ)("td",null,t[22].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[23].value),(0,l.tZ)("td",null,t[24].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[25].value),(0,l.tZ)("td",null,t[26].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[27].value),(0,l.tZ)("td",null,t[28].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[29].value),(0,l.tZ)("td",null,t[30].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[31].value),(0,l.tZ)("td",null,t[32].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[33].value),(0,l.tZ)("td",null,t[34].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[35].value),(0,l.tZ)("td",null,t[36].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[37].value),(0,l.tZ)("td",null,t[38].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[39].value),(0,l.tZ)("td",null,t[40].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[41].value),(0,l.tZ)("td",null,t[42].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[43].value),(0,l.tZ)("td",null,t[44].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[45].value),(0,l.tZ)("td",null,t[46].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[47].value),(0,l.tZ)("td",null,t[48].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[49].value),(0,l.tZ)("td",null,t[50].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[51].value),(0,l.tZ)("td",null,t[52].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[53].value),(0,l.tZ)("td",null,t[54].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[55].value),(0,l.tZ)("td",null,t[56].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[57].value),(0,l.tZ)("td",null,t[58].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[59].value),(0,l.tZ)("td",null,t[60].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[61].value),(0,l.tZ)("td",null,t[62].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[63].value),(0,l.tZ)("td",null,t[64].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[65].value),(0,l.tZ)("td",null,t[66].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[67].value),(0,l.tZ)("td",null,t[68].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[69].value),(0,l.tZ)("td",null,t[70].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[71].value),(0,l.tZ)("td",null,t[72].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[73].value),(0,l.tZ)("td",null,t[74].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[75].value),(0,l.tZ)("td",null,t[76].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[77].value),(0,l.tZ)("td",null,t[78].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[79].value),(0,l.tZ)("td",null,t[80].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[81].value),(0,l.tZ)("td",null,t[82].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[83].value),(0,l.tZ)("td",null,t[84].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[85].value),(0,l.tZ)("td",null,t[86].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[87].value),(0,l.tZ)("td",null,t[88].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[89].value),(0,l.tZ)("td",null,t[90].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[91].value),(0,l.tZ)("td",null,t[92].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[93].value),(0,l.tZ)("td",null,t[94].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[95].value),(0,l.tZ)("td",null,t[96].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[97].value),(0,l.tZ)("td",null,t[98].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[99].value),(0,l.tZ)("td",null,t[100].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[101].value),(0,l.tZ)("td",null,t[102].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[103].value),(0,l.tZ)("td",null,t[104].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[105].value),(0,l.tZ)("td",null,t[106].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[107].value),(0,l.tZ)("td",null,t[108].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[109].value),(0,l.tZ)("td",null,t[110].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[111].value),(0,l.tZ)("td",null,t[112].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[113].value),(0,l.tZ)("td",null,t[114].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[115].value),(0,l.tZ)("td",null,t[116].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[117].value),(0,l.tZ)("td",null,t[118].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[119].value),(0,l.tZ)("td",null,t[120].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[121].value),(0,l.tZ)("td",null,t[122].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[123].value),(0,l.tZ)("td",null,t[124].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[125].value),(0,l.tZ)("td",null,t[126].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[127].value),(0,l.tZ)("td",null,t[128].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[129].value),(0,l.tZ)("td",null,t[130].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[131].value),(0,l.tZ)("td",null,t[132].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[133].value),(0,l.tZ)("td",null,t[134].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[135].value),(0,l.tZ)("td",null,t[136].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[137].value),(0,l.tZ)("td",null,t[138].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[139].value),(0,l.tZ)("td",null,t[140].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[141].value),(0,l.tZ)("td",null,t[142].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[143].value),(0,l.tZ)("td",null,t[144].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[145].value),(0,l.tZ)("td",null,t[146].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[147].value),(0,l.tZ)("td",null,t[148].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[149].value),(0,l.tZ)("td",null,t[150].value)),(0,l.tZ)("tr",null,(0,l.tZ)("td",null,t[151].value),(0,l.tZ)("td",null,t[152].value)))),(0,l.tZ)("p",null,t[153].value,(0,l.tZ)(u.Z,{to:"/components/config-provider",sourceType:"Link"},t[154].value),t[155].value),(0,l.tZ)("h2",{id:"adding-new-language"},(0,l.tZ)(u.Z,{"aria-hidden":"true",tabIndex:"-1",href:"#adding-new-language",sourceType:"a"},(0,l.tZ)("span",{className:"icon icon-link"})),"Adding new language"),(0,l.tZ)("p",null,t[156].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/blob/master/components/locale/en_US.ts",sourceType:"a"},t[157].value),t[158].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/pull/21387",sourceType:"a"},t[159].value),t[160].value),(0,l.tZ)("p",null,t[161].value),(0,l.tZ)("ol",null,(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[162].value,(0,l.tZ)("code",null,t[163].value),t[164].value,(0,l.tZ)("code",null,t[165].value),t[166].value,(0,l.tZ)("code",null,t[167].value),t[168].value),(0,l.tZ)(e.Z,{lang:"bash"},t[169].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[170].value,(0,l.tZ)(u.Z,{href:"https://github.com/react-component/picker",sourceType:"a"},t[171].value),t[172].value,(0,l.tZ)(u.Z,{href:"https://github.com/react-component/picker/blob/master/src/locale/en_US.ts",sourceType:"a"},t[173].value),t[174].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[175].value,(0,l.tZ)(u.Z,{href:"https://github.com/react-component/pagination",sourceType:"a"},t[176].value),t[177].value,(0,l.tZ)(u.Z,{href:"https://github.com/react-component/pagination/blob/master/src/locale/en_US.js",sourceType:"a"},t[178].value),t[179].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[180].value,(0,l.tZ)("code",null,t[181].value),t[182].value,(0,l.tZ)("code",null,t[183].value),t[184].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[185].value,(0,l.tZ)("code",null,t[186].value),t[187].value,(0,l.tZ)("code",null,t[188].value),t[189].value,(0,l.tZ)("code",null,t[190].value),t[191].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/pull/21387",sourceType:"a"},t[192].value),t[193].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[194].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/blob/master/components/locale-provider/__tests__/index.test.tsx",sourceType:"a"},t[195].value),t[196].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[197].value,(0,l.tZ)("code",null,t[198].value),t[199].value,(0,l.tZ)("code",null,t[200].value),t[201].value,(0,l.tZ)("code",null,t[202].value),t[203].value),(0,l.tZ)(e.Z,{lang:"bash"},t[204].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[205].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/blob/master/docs/react/i18n.en-US.md",sourceType:"a"},t[206].value),t[207].value,(0,l.tZ)(u.Z,{href:"https://github.com/ant-design/ant-design/blob/master/docs/react/i18n.zh-CN.md",sourceType:"a"},t[208].value),t[209].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[210].value)),(0,l.tZ)("li",null,(0,l.tZ)("p",null,t[211].value))))))}_.default=v}}]);