EstrellaXD
365354f7f7
fix: FastAPI mount problem.
2023-06-15 22:12:46 +08:00
Rewrite0
061a5a3ffd
feat: merge gitignore
2023-06-15 00:12:02 +08:00
Rewrite0
1e0158636b
fix: type error
2023-06-14 23:12:10 +08:00
Rewrite0
2585ab2686
feat: 将i18n相关逻辑提取到 useMyI18n 同时优化渲染方法以避免切换语言时reload页面
2023-06-14 22:55:20 +08:00
Rewrite0
cd0ff943f2
feat: Optimization
2023-06-14 22:08:07 +08:00
Rewrite0
105dd4535d
feat: 不翻译 page title
2023-06-14 21:15:27 +08:00
Rewrite0
66ec337b96
feat: vue-i18n add to auto-import
2023-06-14 21:09:50 +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
100gle
b5b632ef29
feat: use husky to add git hooks before commiting code
2023-06-11 20:27:49 +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
EstrellaXD
b70fe6e28b
fix: path problem
2023-06-07 21:07:59 +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