Adding translation for zh-cn (Simplified Chinese)

Note that I changed the language names to lookup from {lang}-{region} instead of
just {lang}, because Genshin Impact supports both zh-cn and zh-tw locales.
zh-tw's tranlsation is different zh-cn.
This commit is contained in:
Tiger Soldier 2023-03-06 09:49:08 -08:00
parent facc3882c6
commit b2aef08471
10 changed files with 271 additions and 5 deletions

View file

@ -14,6 +14,7 @@ company-alter-name = {-company-alter-name-1}{-company-alter-name-2}{-company-alt
-game-name-4 = act -game-name-4 = act
game-name = {-game-name-1}{-game-name-2} {-game-name-3}{-game-name-4} game-name = {-game-name-1}{-game-name-2} {-game-name-3}{-game-name-4}
en = English en-us = English
ru = Русский ru-ru = Русский
de = Deutsch de-de = Deutsch
zh-cn = 简体中文

View file

@ -0,0 +1,58 @@
wine = Wine
synchronization = 同步
wine-sync-description = 同步 Wine 内部事件的技术
language = 语言
wine-lang-description = 设置 Wine 的语言。可以用于解决键盘布局问题
system = 系统
borderless-window = 无边框窗口
virtual-desktop = 虚拟桌面
game = 游戏
hud = HUD
fsr = FSR
fsr-description = 将游戏分辨率提升到与屏幕相同。需要在游戏中选择较低分辨率,然后按 Alt+Enter
ultra-quality = 超级画质
quality = 画质优先
balanced = 平衡画质与性能
performance = 性能优先
gamemode = 游戏模式
gamemode-description = 提升游戏相对其他程序的优先级
gamescope = Gamescope
gamescope-description = Gamescope 是 Valve 开发的工具,可以让游戏运行在一个单独的 Xwayland 实例上。支持 AMD英特尔和 Nvidia 的显卡
discord-rpc = Discord RPC
discord-rpc-description = Discord RPC 可以设置 Discord 状态,让你的好友知道你正在玩游戏
title = 标题
description = 描述
fps-unlocker = 解除帧率限制
enabled = 开启
fps-unlocker-description = 修改游戏内存,解除渲染帧率限制。可能会触发反作弊检查
power-saving = 省电模式
power-saving-description = 当游戏失去焦点时 (例如切出游戏) 自动当帧率设为 10, 并降低进程优先级
monitor = 显示器
monitor-description = Number of monitor you want to run the game on
window-mode = 窗口模式
borderless = 无边框
popup = 弹出窗口
fullscreen = 全屏
priority = 优先级
priority-description = 游戏进程的优先级
realtime = 实时
high = 高
above-normal = 较高
normal = 正常
below-normal = 较低
low = 低

View file

@ -0,0 +1,7 @@
environment = 环境
game-command = 游戏命令
game-command-description = 启动游戏的命令。点位符 %command% 由启动器自动生成。例如gamemoderun '%command%'
new-variable = 新变量
name = 名字
value = 值
add = 增加

View file

@ -0,0 +1,36 @@
launcher-folder-opening-error = 打开启动器文件夹失败
game-folder-opening-error = 打开游戏文件夹失败
config-file-opening-error = 打开配置文件失败
debug-file-opening-error = 打开调试文件失败
game-launching-failed = 启动游戏失败
failed-get-selected-wine = 选择 Wine 版本失败
downloading-failed = 下载失败
unpacking-failed = 解压缩失败
game-file-repairing-error = 修复游戏文件失败
integrity-files-getting-error = 获取一致性文件失败
background-downloading-failed = 下载背景图片失败
config-update-error = 保存配置失败
wine-prefix-update-failed = 更新 Wine prefix 失败
dxvk-install-failed = 安装 DXVK 失败
voice-package-deletion-error = 删除语音包失败
game-diff-finding-error = 查找游戏 diff 失败
patch-info-fetching-error = 获取补丁信息失败
launcher-state-updating-error = 更新启动器状态失败
package-not-available = 缺失依赖包: {$package}
wine-download-error = 下载 Wine 失败
wine-unpack-errror = 解压缩 Wine 失败
wine-install-failed = 安装 Wine 失败
dxvk-download-error = 下载 DXVK 失败
dxvk-unpack-error = 解压缩 DXVK 失败
dxvk-apply-error = 应用 DXVK 失败
downloaded-wine-list-failed = 列举 Wine 版本失败
patch-sync-failed = 同步补丁文件夹失败
patch-state-check-failed = 检查补丁文件夹失败
game-patching-error = 应用游戏补丁失败

View file

@ -0,0 +1,54 @@
welcome = 欢迎
welcome-page-message =
你好呀~欢迎使用 An Anime Game Launcher
在开始游戏之前,程序需要进行准备,并下载默认组件
tos-violation-warning = 警告: 违反游戏协议
tos-violation-warning-message =
本启动器并非官方程序,与{company-name}以及{company-alter-name}没有任何关系。
本工具设计目的是方便在 Linux 下玩{game-name},其功能仅限于减少安装和运行游戏的麻烦。
启动器的功能依赖于其他第三方工具。启动器只是整合这些工具以简化用户体验。
其中某些第三方工具很有可能会违反{company-name}关于{game-name}的使用协议。
如果你使用本启动器,你的游戏账号可能会被{company-name}/{company-alter-name}认定违反协议。
一旦被认定违反协议,{company-name}/{company-alter-name}有可能对你的账号做出任何处理,包括封号。
如果你了解并接受通过非官方许可方式玩这款游戏所带来的风险,请单击“确定”。让我们一直抢过提瓦特大陆吧!
dependencies = 依赖
missing-dependencies-title = 你缺少某些依赖组件
missing-dependencies-message = 你必须安装某些组件才能继续安装游戏
default-paths = 默认路径
choose-default-paths = 选择转文路径
show-all-folders = 我明白我在做什么
show-all-folders-subtitle = 显示额外的路径选项。按我说的做...
runners-folder = 运行程序文件夹
dxvks-folder = DXVK 文件夹
wine-prefix-folder = Wine prefix 文件夹
game-installation-folder = 游戏安装文件夹
patch-folder = 补丁文件夹
temp-folder = 临时文件夹
select-voice-packages = 选择语音包
download-components = 下载组件
download-dxvk = 下载 DXVK
apply-dxvk = 应用 DXVK
finish = 完成
finish-title = 全部完成!
finish-message = 所有基本组件都下载完成。你可以重启启动器并下载游戏。欢迎加入组织!

View file

@ -0,0 +1,6 @@
game-resolution = 游戏分辨率
gamescope-resolution = Gamescope 分辨率
other-settings = 其它设置
framerate-limit = 帧率限制
unfocused-framerate-limit = 切出游戏帧率限制
integer-scaling = 整数倍数缩放

View file

@ -0,0 +1,47 @@
appearance = 外观
modern = 现代
classic = 古典
update-background = 更新背景图片
update-background-description = 下载官方启动器背景图片。你可以关闭这个选项并使用你自己的图片
launcher-language = 启动器语言
launcher-language-description = 重启后生效
game-voiceovers = 游戏语音
english = 英语
japanese = 日语
korean = 韩语
chinese = 汉语
repair-game = 修复游戏
status = 状态
game-version = 游戏版本
game-not-installed = 未安装
game-predownload-available = 可以预下载游戏更新: {$old} -> {$new}
game-update-available = 游戏版本更新: {$old} -> {$new}
game-outdated = 游戏版本过旧,无法更新。最新版本: {$latest}
patch-version = 补丁版本
patch-not-available = 不可用
patch-not-available-tooltip = 无法连接补丁服务器
patch-outdated = 过旧 ({$current})
patch-outdated-tooltip = 补丁版本过旧: {$current} -> {$latest}
patch-preparation = 开发中
patch-preparation-tooltip = 补丁还在开发中
patch-testing-tooltip = 有测试版补丁可用
selected-version = 选择版本
recommended-only = 仅显示推荐版本
wine-version = Wine 版本
wine-recommended-description = 仅显示推荐的 Wine 版本
dxvk-version = DXVK 版本
dxvk-recommended-description = 仅显示推荐的 DXVK 版本

View file

@ -0,0 +1,56 @@
custom = 自定义
none = 无
default = 默认
details = 详细
width = 宽
height = 高
# Menu items
launcher-folder = 启动器文件夹
game-folder = 游戏文件夹
config-file = 配置文件
debug-file = 调试文件
about = 关于
close = 关闭
save = 保存
continue = 继续
exit = 退出
check = 检查
restart = 重启
loading-data = 正在加载数据
downloading-background-picture = 正在下载背景图片
loading-game-version = 正在获取游戏版本号
loading-patch-status = 正在获取补丁状态
loading-launcher-state = 正在计算启动器状态
loading-launcher-state--game = 正在计算启动器状态: 验证游戏版本号
loading-launcher-state--voice = 正在计算启动器状态: 验证{$locale}语音
loading-launcher-state--patch = 正在计算启动器状态: 验证已安装补丁
checking-free-space = 正在检查剩余空间
downloading = 正在下载
unpacking = 正在解压缩
verifying-files = 正在检验文件
repairing-files = 正在修复文件
launch = 启动
apply-patch = 安装补丁
download-wine = 下载 Wine
create-prefix = 创建 Wine prefix
update = 更新
download = 下载
predownload-update = 预下载版本更新 {$version} ({$size})
main-window--patch-unavailable-tooltip = 补丁服务器不可用,启动器无法验证游戏补丁状态。你可以运行游戏,但是有出问题的风险
main-window--patch-outdated-tooltip = 补丁版本太旧,新版补丁可能还没制作完成,无法使用。请过段时间再回来查看最新状态
main-window--version-outdated-tooltip = 版本太旧,无法更新
preferences = 选项
general = 常规
enhancements = 增强

View file

@ -13,7 +13,8 @@ fluent_templates::static_loader! {
pub const SUPPORTED_LANGUAGES: &[LanguageIdentifier] = &[ pub const SUPPORTED_LANGUAGES: &[LanguageIdentifier] = &[
langid!("en-us"), langid!("en-us"),
langid!("ru-ru"), langid!("ru-ru"),
langid!("de-de") langid!("de-de"),
langid!("zh-cn"),
]; ];
static mut LANG: LanguageIdentifier = langid!("en-us"); static mut LANG: LanguageIdentifier = langid!("en-us");

View file

@ -565,7 +565,7 @@ impl SimpleAsyncComponent for GeneralApp {
style: CONFIG.launcher.style, style: CONFIG.launcher.style,
languages: SUPPORTED_LANGUAGES.iter().map(|lang| tr(lang.language.as_str())).collect(), languages: SUPPORTED_LANGUAGES.iter().map(|lang| tr(format_lang(lang).as_str())).collect(),
downloaded_wine_versions: vec![], downloaded_wine_versions: vec![],
downloaded_dxvk_versions: vec![], downloaded_dxvk_versions: vec![],