1 |
- {"version":3,"sources":["../../src/lang/index.js"],"names":["SUPPORT_LOCALES","name","value","LOCALES_RESPONSE"],"mappings":";;;;;AAAA;;;AAGO,IAAMA,4CAAkB,CAC7B;AACEC,QAAM,SADR;AAEEC,SAAO;AAFT,CAD6B,EAK7B;AACED,QAAM,MADR;AAEEC,SAAO;AAFT,CAL6B,CAAxB;;AAWP;AACO,IAAMC,8CAAmB;AAC9B,WAAS;AACP,iBAAa,MADN;AAEP,mBAAe,MAFR;AAGP,6BAAyB,OAHlB;AAIP,4BAAwB,MAJjB;AAKP,mCAA+B,QALxB;AAMP,2BAAuB,QANhB;AAOP,2BAAuB,MAPhB;AAQP,0BAAsB,MARf;AASP,iCAA6B,QATtB;AAUP,0BAAsB;AAVf,GADqB;AAa9B,WAAS;AACP,iBAAa,SADN;AAEP,mBAAe,cAFR;AAGP,6BAAyB,mBAHlB;AAIP,4BAAwB,eAJjB;AAKP,mCAA+B,iBALxB;AAMP,2BAAuB,yBANhB;AAOP,2BAAuB,iBAPhB;AAQP,0BAAsB,eARf;AASP,iCAA6B,iBATtB;AAUP,0BAAsB;AAVf;AAbqB,CAAzB","file":"index.js","sourcesContent":["/**\r\n * 当前支持的语言\r\n */\r\nexport const SUPPORT_LOCALES = [\r\n {\r\n name: \"English\",\r\n value: \"en-US\"\r\n },\r\n {\r\n name: \"简体中文\",\r\n value: \"zh-CN\"\r\n }\r\n];\r\n\r\n// 服务端返回的英文短语和中文提示的对应\r\nexport const LOCALES_RESPONSE = {\r\n \"zh-CN\": {\r\n \"not found\": \"没有数据\",\r\n \"auth failed\": \"请先登录\",\r\n \"create comment failed\": \"评论未发送\",\r\n \"comment favor failed\": \"点赞失败\",\r\n \"delete comment favor failed\": \"取消点赞失败\",\r\n \"get comments failed\": \"评论加载失败\",\r\n \"create reply failed\": \"回复失败\",\r\n \"reply favor failed\": \"点赞失败\",\r\n \"delete reply favor failed\": \"取消点赞失败\",\r\n \"get replies failed\": \"回复加载失败\"\r\n },\r\n \"en-US\": {\r\n \"not found\": \"No data\",\r\n \"auth failed\": \"Please Login\",\r\n \"create comment failed\": \"Comments not sent\",\r\n \"comment favor failed\": \"Liking failed\",\r\n \"delete comment favor failed\": \"Unliking failed\",\r\n \"get comments failed\": \"Comments loading failed\",\r\n \"create reply failed\": \"Replying failed\",\r\n \"reply favor failed\": \"Liking failed\",\r\n \"delete reply favor failed\": \"Unliking failed\",\r\n \"get replies failed\": \"Loading of replies failed\"\r\n }\r\n};\r\n"]}
|