Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pnpm run generate
### Self-hosting

1. Clone this repo
2. Build: `docker build --tag localsend-web --file Containerfile`
2. Build: `docker build --tag localsend-web --file Containerfile .`
3. Run: `docker run --rm --publish 8080:443 --volume caddy-data:/data localsend-web`

## Contributing
Expand Down
26 changes: 26 additions & 0 deletions i18n/locales/zh-cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"index": {
"seo": {
"title": "LocalSend 网页版",
"description": "在你的浏览器和其他运行LocalSend的设备之间流转你的文件。"
},
"connecting": "连接中...",
"webCryptoNotSupported": "你的浏览器暂不支持LocalSend:需要浏览器支持Web Crypto API。",
"empty": {
"title": "在另外一台设备上打开LocalSend",
"deviceHint": "在另外一个浏览器上打开本站或原生版本(1.18.0或以上版本)",
"lanHint": "只有在同一网络下的设备才会显示在这里"
},
"you": "本机名称:",
"pin": {
"label": "PIN: ",
"none": "未设置"
},
"enterAlias": "设置本机名称",
"enterPin": "设置 PIN",
"progress": {
"titleSending": "发送文件中...",
"titleReceiving": "文件接收中..."
}
}
}
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export default defineNuxtConfig({
file: "tr.json",
name: "Türkçe",
},
{
code: "zh",
language: "zh-CN",
file: "zh-cn.json",
name: "简体中文",
},
],
},
nitro: {
Expand Down