Skip to content

Commit 274e877

Browse files
committed
添加翻译协作链接
1 parent c06d0b2 commit 274e877

23 files changed

Lines changed: 622 additions & 25 deletions

.github/workflows/nightly.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ jobs:
5555
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
5656
run: pnpm install # change this to npm or pnpm depending on which one you use.
5757

58-
- name: Sync with Crowdin
59-
run: pnpm crowdin:upload && pnpm crowdin:download
60-
6158
- uses: actions-js/push@master
6259
with:
6360
branch: nightly

README.en.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# smtc2web
2+
3+
A base of Rust's smtc2web achieve, Using in Live Stream Software show Playing Music.
4+
5+
**LinuxDO Reference Post:** https://linux.do/t/topic/937994
6+
7+
**[Join Translate](https://crowdin.com/project/smtc2web)** **[中文](./README.md)**
8+
9+
![OBS Connect to smtc2web Screenshot](./screenshot.png)
10+
11+
> The new icon combines Bootstrap's headphone image with Rust's Ferris character to create an icon of listening to music with headphones.
12+
13+
<img src="./src-tauri/icons/icon.png" alt="图标" width="64" height="64">
14+
15+
## Recommand IDE Setup
16+
17+
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
18+
- [TRAE](https://trae.com.cn/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
19+
- [Zed](https://zed.dev/)
20+
21+
## Build
22+
23+
- [Windows](https://smtc2web.org/wiki/compile/windows)

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
**LinuxDO 原帖子链接:** https://linux.do/t/topic/937994
66

7+
**[参与翻译](https://zh.crowdin.com/project/smtc2web)** **[English](./README.en.md)**
8+
79
![OBS 接入 smtc2web 截图](./screenshot.png)
810

911
> 新图标将 Bootstrap 的耳机图片和 Rust 的 Ferris 形象形成了戴耳机听音乐的图标。
@@ -18,4 +20,4 @@
1820

1921
## 构建
2022

21-
- [Windows](https://github.com/AkarinLiu/smtc2web/wiki/%E5%9C%A8-Windows-%E7%8E%AF%E5%A2%83%E4%B8%8B%E7%BC%96%E8%AF%91)
23+
- [Windows](https://smtc2web.org/wiki/compile/windows)

crowdin.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# 项目 ID 和 API Token(需要替换为实际值)
55
"project_id": "882742"
6-
"api_token": "${{ secrets.CROWDIN_API_TOKEN }}"
76
"base_path": "."
87
"preserve_hierarchy": true
98

@@ -15,14 +14,30 @@ files:
1514
type: json
1615
languages_mapping:
1716
locale:
18-
zh-CN: zh-CN
17+
de: de-DE
1918
en: en
19+
fr: fr-FR
20+
it: it-IT
21+
ja: ja-JP
22+
ko: ko-KR
23+
nl: nl-NL
24+
ru: ru-RU
25+
zh-CN: zh-CN
26+
zh-TW: zh-TW
2027

2128
# 托盘菜单语言文件 (TOML)
2229
- source: "/src-tauri/locales/en.toml"
2330
translation: "/src-tauri/locales/%locale%.toml"
2431
type: toml
2532
languages_mapping:
2633
locale:
27-
zh-CN: zh-CN
34+
de: de-DE
2835
en: en
36+
fr: fr-FR
37+
it: it-IT
38+
ja: ja-JP
39+
ko: ko-KR
40+
nl: nl-NL
41+
ru: ru-RU
42+
zh-CN: zh-CN
43+
zh-TW: zh-TW

src-tauri/locales/de-DE.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

src-tauri/locales/fr-FR.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

src-tauri/locales/it-IT.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

src-tauri/locales/ja-JP.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

src-tauri/locales/ko-KR.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

src-tauri/locales/nl-NL.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tray]
2+
show_window = "Show Window"
3+
open_web = "Open Web"
4+
quit = "Quit"

0 commit comments

Comments
 (0)