Commit Graph

14 Commits

Author SHA1 Message Date
Rewrite0
105dd4535d feat: 不翻译 page title 2023-06-14 21:15:27 +08:00
Rewrite0
9381a2a973 fix: Change key name and translation 2023-06-14 21:09:09 +08:00
Rewrite0
b8ba486cfe feat: change earth icon 2023-06-14 20:35:28 +08:00
Rewrite0
e2611cb36b fix: emit name 2023-06-14 20:32:51 +08:00
umbor
a9c037e69c Remove unplugin-vue-i18n and change language file format
去除unplugin-vue-i18n,语言文件改为json格式,把i18n-ally的localespaths设置为"src/locales/lang"就可以用。缺少downloader及calendar及format问题也一并修改。
2023-06-12 13:08:36 +08:00
umbor
5dd0d84a79 Merge branch 'EstrellaXD:3.1-dev' into 3.1-dev 2023-06-12 12:36:42 +08:00
100gle
605f40559e ci: lint and format codes 2023-06-11 20:31:28 +08:00
umbor
0715db1574 Add i18n plugin to pnpm-lock.yaml
Update pnpm-lock.yaml and fix some bugs
2023-06-11 16:18:13 +08:00
umbor
4ae0bcec65 Fix some bugs
Fix some bugs
2023-06-11 14:24:17 +08:00
umbor
2723b259dc Add language detection and storage
Save language setting to localstorage (first time using browser language) and fix some bugs in en-US.yaml
2023-06-11 12:53:30 +08:00
umbor
3d1362b997 Change Vue page with route name as page title
研究了下发现$route.name不能用i18n给的变量赋值,于是把index.vue里的title部分挪到各个文件里,并微调了下缩进保持格式一致(显示修改很多,实际只有几行)

I don't think using route.name as H1 title is a good choice since variable from i18n cannot be assigned to $route.name. So I move title part of index.vue to separate files and adjust indentation to make it looks clear.
2023-06-10 23:24:09 +08:00
umbor
513f81798c Change Vue page to use i18n plugin 2023-06-10 23:17:48 +08:00
umbor
c53f5f9c49 Add i18n basic components
Add i18n basic components
2023-06-10 23:16:51 +08:00
zthxxx
684e124480 chore: move Auto_Bangumi_WebUI -> Auto_Bangumi_WebUI/webui/, prepare for merge into AutoBangumi repo 2023-06-05 23:47:00 +08:00