Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Update #12

Closed
wants to merge 20 commits into from
Closed
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
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

- name: Install Dependencies
run: |
export TZ=Asia/Shanghai
export TZ=Asia/Seoul
sudo apt-get update -q
sudo apt-get install qt5-default qttools5-dev-tools -y -q
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qttools5-dev-tools -y -q

- env:
TG_API: ${{ secrets.TG_API }}
Expand All @@ -39,7 +39,7 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "snapshot"
prerelease: true
prerelease: false
title: "TeamSpeak 3 zh-CN translation snapshot build"
files: |
Chinese_Translation_zh-CN.ts3_translation
Expand All @@ -49,6 +49,16 @@ jobs:
with:
name: Chinese_Translation_zh-CN.ts3_translation
path: Chinese_Translation_zh-CN.ts3_translation

- name: Setup Ossutil
uses: manyuanrong/[email protected]
with:
endpoint: ${{ secrets.OSS_ENDPOINT }}
access-key-id: ${{ secrets.OSS_KEY_ID }}
access-key-secret: ${{ secrets.OSS_KEY_SECRET }}

- name: Upload
run: ossutil cp -f Chinese_Translation_zh-CN.ts3_translation oss://edison-storage/

- name: Group notify
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
Expand Down
7 changes: 0 additions & 7 deletions Gemfile

This file was deleted.

661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
# TS3-Translation_zh-CN
TeamSpeak 3 简体中文翻译源文件

![Build Release](https://img.shields.io/github/actions/workflow/status/VigorousPro/TS3-Translation_zh-CN/build.yml?style=for-the-badge)

目前已经翻译绝大部分的UI,主要还剩下一些权限相关的字段没有翻译,如果发现存在遗留或对现有翻译不满意,欢迎提出任何修改建议!

当前进度约:85%

[Telegram 群组](https://t.me/joinchat/ULhtdJY2APqVER3y)

## 使用方法
[点击此处](https://github.com/VigorousPro/TS3-Translation_zh-CN/releases)下载中文语言包

Windows & macOS:下载后直接双击汉化包 `Chinese_Translation_zh-CN.ts3_translation` 即可进行安装。

Linux: 请参考 [解决 Linux 下 TeamSpeak 插件安装问题](https://www.wevg.org/archives/fix-ts3-linux-plugin/) 配置文件关联后,安装语言包即可。

![](https://static.hit.moe/images/2022-08-15-15-29-WUgCd.jpeg)

## 协助翻译
使用 Qt Linguist 程序打开ts源文件即可

Expand All @@ -18,5 +29,3 @@ TeamSpeak 3 简体中文翻译源文件
例:`Visit TeamSpeak &Webpage` 译为 `访问 TeamSpeak 网站(&W)`
4. `permissions.ts` 和 `ts_core_errors.ts` 为权限和错误代码的英文翻译。翻译权限和错误代码文本时,需要先打开 `xxx_zh.ts` ,然后打开 `xxx.ts` 为只读,进行对照。

## 使用方法
Windows: 前往release页面,下载后直接双击汉化包 `Chinese_Translation_zh-CN.ts3_translation` 即可,如果因为曾经装过旧版之类的问题导致关联程序有误,那么请使用TeamSpeak程序目录下的 `package_inst.exe` 来打开汉化包 `Chinese_Translation_zh-CN.ts3_translation` 。
4 changes: 2 additions & 2 deletions maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from urllib import request, parse, error
from time import strftime, localtime

target_version = "3.5.6"
target_version = "3.6.2"
language = "zh"
cwd = sys.path[0]
src = f"{cwd + os.sep}src{os.sep}"
Expand Down Expand Up @@ -118,7 +118,7 @@ def make_package(release_list):
"Author = 寂听 & EdisonJwa",
f"Version = {timestamp}",
"Platforms = ",
'Description = 源代码: https://github.com/jitingcn/TS3-Translation_zh-CN']
'Description = 源代码: https://github.com/VigorousPro/TS3-Translation_zh-CN']
f.write("\n".join(package_info))

file_name = 'Chinese_Translation_zh-CN.ts3_translation'
Expand Down
117 changes: 0 additions & 117 deletions maker.rb

This file was deleted.

Loading
Loading