Skip to content

Commit

Permalink
i18n/zh-cn: add Simplified Chinese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammu authored and bastimeyer committed Apr 5, 2023
1 parent 29e9761 commit 4968497
Show file tree
Hide file tree
Showing 13 changed files with 1,034 additions and 1 deletion.
96 changes: 96 additions & 0 deletions src/app/locales/zh-cn/components.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
channel-button:
title: "关注 {name}"
channel-item:
offline: 离线
no-status: 无频道描述
documentation-link:
title: 在线阅读文档
drop-down-selection:
placeholder: 请选择
file-select:
placeholder: 留空为默认路径
flag-icon:
channel: "频道语言为{lang}"
broadcaster: "主播语言为{lang}"
infinite-scroll:
error: 错误
loading: 加载中
fetch: 加载更多
main-menu:
browse:
header: 浏览
games: 游戏
streams: 直播
followed:
header: 关注中
streams: 正在直播
channels: 频道
misc:
header: 其他
settings: 设置
about: 关于
open-chat:
title: 打开聊天室
quick-bar-homepage:
title: 设为主页
search-bar:
placeholder: 搜索
filter: 过滤
filters:
all: 全部
games: 游戏
channels: 频道
streams: 直播
recent: 搜索历史
settings-channel-item:
settings: 设置
erase: 清除
confirmation: 清除自定义设置?
confirm:
decline:
settings-hotkey:
empty: 未设置热键
edit: 编辑热键
delete: 还原热键
discard: 取消
confirm: 确认
toggle: 启用或停用此热键
settings-row:
notes: 注意
default: 默认
requires: 依赖
example: 范例
variables:
title: 可用参数
# tooltip (whitespace sensitive)
help: |
每个变量的内容都将被转义。如果在引号字符串之外使用,每个字符都将被转义。一些应用程序可以在其参数列表中读取不必要的转义字符并按预期工作,但其他应用程序则不会。请确保将所有变量设置在单引号或双引号字符串内。
正确用法:
-a "'{a}'" -b "'{b1}{b2}'" "-c='{c}'"
settings-submit:
apply: 应用
discard: 丢弃
share-channel:
title: 复制频道地址
stream-item:
details:
show: 显示频道详情
lock: 锁定详情视图
unlock: 解锁详情视图
vodcast: 点播
team-item:
created-at:
title: "创建日期"
format: "{created_at, date, full}"
updated-at:
title: "最后更新日期"
format: "{updated_at, date, full}"
title-bar:
loggedout: 未登录
# tooltip (whitespace sensitive)
loggedin: |
{name} 已登录
{status}
twitch-emotes:
title: 显示可用的频道表情
18 changes: 18 additions & 0 deletions src/app/locales/zh-cn/contextmenu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
tray:
toggle: 显示/隐藏窗口
close: 关闭应用
macOS:
preferences: 偏好设置
refresh: 刷新
channel-page: 频道页面
channel-settings: 频道设置
change-quality: 更改画质
close-stream: 关闭直播
copy: 复制
copy-channel-url: 复制频道地址
copy-link-address: 复制链接地址
copy-selection: 复制选中部分
launch-stream: 打开直播
open-chat: 打开聊天室
open-in-browser: 在浏览器打开
paste: 粘贴
9 changes: 9 additions & 0 deletions src/app/locales/zh-cn/helpers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
hours-from-now:
now: "刚刚"
minutes: "{minutes}分"
hours:
simple: "{hours}时"
extended: "{hours}时{minutes}分"
days:
simple: "{days}天"
extended: "{days}天{hours}时"
12 changes: 12 additions & 0 deletions src/app/locales/zh-cn/hotkeys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# See the "Hotkeys" section of the "Translating" wiki page on how to properly translate hotkeys:
# https://github.com/streamlink/streamlink-twitch-gui/wiki/Translating#28-hotkeys
modifiers:
altKey: Alt
ctrlKey: Ctrl
metaKey: Meta
shiftKey: Shift
codes:
ArrowLeft:
ArrowRight:
ArrowUp:
ArrowDown:
42 changes: 42 additions & 0 deletions src/app/locales/zh-cn/languages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
ar: 阿拉伯语
asl: 美国手语
bg: 保加利亚语
ca: 加泰罗尼亚语
cs: 捷克语
da: 丹麦语
de: 德语
el: 希腊语
en: 英语
en-gb: 英式英语
en-us: 美式英语
es: 西班牙语
es-mx: 墨西哥语
fi: 芬兰语
fr: 法语
hi: 印地语
hu: 匈牙利语
# special uppercase language code
ID: 印尼语
it: 意大利语
ja: 日语
ko: 韩语
ms: 马来语
nl: 荷兰语
no: 挪威语
other: "\"其他\""
pl: 波兰语
pt: 葡萄牙语
pt-br: 葡萄牙语 (巴西)
ro: 罗马尼亚语
ru: 俄语
sk: 斯洛伐克语
sv: 瑞典语
tl: 他加禄语
th: 泰语
tr: 土耳其语
uk: 乌克兰语
vi: 越南语
zh: 中文
zh-cn: 中文 (简体)
zh-hk: 中文 (香港)
zh-tw: 中文 (繁体)
78 changes: 78 additions & 0 deletions src/app/locales/zh-cn/modal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
dialog:
action:
close: 关闭
changelog:
header: "已更新至{version}"
body: 阅读更新日志?
action:
show: 更新日志
confirm:
header: 请确认
body: 确认应用更改?
action:
apply:
discard: 取消
cancel:
debug:
header: "调试模式:{version}"
body: |
你正在运行用于调试的{name}。<br>
请小心你正在做的事情,并回报你可能发现的任何问题。<br>
谢谢!
action:
close: 好的
firstrun:
body: |
感谢使用{name}!<br>
你想在使用前进行设置吗?
action:
start: 立即使用
settings: 设置
newrelease:
header: "你正在使用过时的版本{version}"
body: "要下载最新版吗?({version})"
action:
download: 下载
ignore: 忽略
quit:
header: 确认退出?
body:
streams: 退出后,所有的直播将中断。
no-streams: 已关闭所有直播,你想现在退出吗?
action:
close: 返回
shutdown: 中断并退出
quit: 退出
streaming:
header:
preparing: "准备中,请稍候"
launching: "启动中:{channel}"
watching: "观看中:{channel}"
ended: "直播已结束:{channel}"
error:
log: "错误:无法启动直播"
provider: "错误:{provider}设置错误"
player: "错误:播放器设置错误"
version: "错误:{provider}版本不适用"
unable-to-open: "错误:无法打开直播"
no-streams-found: "错误:找不到直播"
timeout: "错误:已超时"
internal: "错误"
body:
launching: "等待{provider}启动直播中……"
ended: "现在重新启动直播?"
error:
provider: "请检查你的设置或重新安装{provider}。"
player: "请检查你的播放器设置。"
version: "当前版本v{version}不满足最低版本要求 (v{required})。"
unable-to-open: "{provider}无法打开直播。"
no-streams-found: "{provider}无法找到直播。"
timeout: "{name} 已离线,或你与Twitch的连接已中断。"
internal: "内部错误"
action:
abort: 中断
continue: 继续
download: 下载
log: 显示/隐藏{provider}日志
restart: 重启
shutdown: 中断直播
19 changes: 19 additions & 0 deletions src/app/locales/zh-cn/models.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
twitch:
user:
view_count: |
{count, plural,
other {观看次数: #}
}
stream:
started-at:
less-than-24h: "于 {started_at, time, medium} 开始"
more-than-24h: "于 {started_at, time, long} 开始"
viewer_count: |
{count, plural,
other { # 人正在观看}
}
search-channel:
started-at:
offline: "离线"
less-than-24h: "从 {started_at, time, medium} 开始"
more-than-24h: "从 {started_at, time, long} 开始"
5 changes: 5 additions & 0 deletions src/app/locales/zh-cn/qualities.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source: 来源
high:
medium:
low:
audio: 仅音频

0 comments on commit 4968497

Please sign in to comment.