locales: add Simplified Chinese

Co-Authored-By: Dooda Pooda <109019726+DoodaPooda@users.noreply.github.com>
This commit is contained in:
Ash Monty 2022-07-10 11:27:36 +02:00
parent 748ec633f7
commit 6e7e6fbf7a
No known key found for this signature in database
GPG Key ID: 740B7C88251D49B6
3 changed files with 252 additions and 1 deletions

244
locales/CN_zh.json Normal file
View File

@ -0,0 +1,244 @@
{
"nav": {
"about": "关于",
"faq": "FAQ",
"docs": "文件",
"credits": "贡献者",
"progress": "进度",
"blog": "博客",
"account": "用户"
},
"hero": {
"subtitle": "游戏服务器",
"title": "重新创建",
"text": "Pretendo 是任天堂 3DS 和 Wii U 服务器的免费和开源替代品,允许所有人在线连接,即使在原始服务器已经关闭",
"buttons": {
"readMore": "更多"
}
},
"aboutUs": {
"title": "关于我们",
"paragraphs": [
"Pretendo 是一个开源项目,旨在使用逆向工程为 3DS 和 Wii U 重新创建 Nintendo Network。",
"我们的服务将是免费和开源的,它们可以在 Nintendo Network 不可避免的关闭之后还存在。"
]
},
"progress": {
"title": "进度",
"paragraphs": [
"目前,我们正在重新创建 Miiverse以及我们的用户服务器及相关的服务。",
"对于 3DS我们也在创建《马里奥赛车 7》的服务器并希望在可能的情况下继续为他游戏做服务器。"
]
},
"faq": {
"title": "常见问题",
"text": "以下是我们被问到的一些常见问题,以获得简单的信息。",
"QAs": [
{
"question": "什么是 Pretendo?",
"answer": "Pretendo 是一个开源的 Nintendo Network 替代品,旨在为 Wii U 和 3DS 系列游戏机构建自定义服务器。我们的目标是保留这些游戏机的在线功能,让玩家可以继续尽情畅玩他们最喜欢的 Wii U 和 3DS 游戏。"
},
{
"question": "我现有的 NNID 可以在 Pretendo 上工作吗?",
"answer": "遗憾的是,不行。现有的 NNID 将无法在 Pretendo 上运行,因为只有任天堂拥有您的用户数据;虽然 NNID 到 PNID 的迁移在理论上是可能的,但它存在风险并且需要我们不希望持有的敏感用户数据。"
},
{
"question": "如何使用 Pretendo",
"answer": "Pretendo 目前尚未处于可供公众使用的状态。但是,一旦完成,您只需在系统上运行我们的自制补丁程序即可使用 Pretendo。"
},
{
"question": "你知道 <功能/服务> 什么时候准备好吗?",
"answer": "不可以。许多 Pretendo 的功能/服务是独立开发的例如Miiverse 可能由一位开发人员构建,而 Accounts 和 Friends 正在由另一位开发人员构建),因此我们无法给出这需要多长时间的总体预计到达时间。"
},
{
"question": "Pretendo 是否适用于 Cemu/模拟器?",
"answer": "Pretendo 是专为 Wii U 和 3DS 设计的;目前,这些支持 NN 的硬件的唯一模拟器是 Cemu。 Cemu 不正式支持自定义服务器,但仍然可以将 Pretendo 与 Cemu 一起使用。<br>Pretendo 目前不支持 Cemu。"
},
{
"question": "如果我在 Nintendo Network 上被封账号,我在使用 Pretendo 时还会被禁吗?",
"answer": "我们将无法访问 Nintendo Network 的禁令,并且不会禁止所有用户使用我们的服务。但是,我们在使用服务时将遵守规则,不遵守这些规则可能会导致被禁止。"
},
{
"question": "Pretendo 会支持 Wii/Switch 吗?",
"answer": "Wii 已经有 <a href=\"https://wiimmfi.de/\" target=\"_blank\">Wiimmfi</a> 提供的自定义服务器。我们目前不希望以 Switch 为目标,因为它既是付费的,又与 Nintendo Network 完全不同。"
},
{
"question": "我需要黑客来连接吗?",
"answer": "是的,您需要破解您的设备才能连接;但是,在 Wii U 上,您只需要访问 Homebrew Launcher即 Haxchi、Coldboot Haxchi 甚至网络浏览器漏洞利用程序),稍后会提供有关 3DS 将如何连接的信息。"
}
]
},
"showcase": {
"title": "我们做什么",
"text": "我们的项目有很多组件。这里是其中的一些。",
"cards": [
{
"title": "游戏服务器",
"caption": "使用自定义服务器带回您最喜爱的游戏和内容。"
},
{
"title": "Juxtaposition",
"caption": "对 Miiverse 的重新想象,仿佛它是在现代时代制造的。"
},
{
"title": "支持 Cemu",
"caption": "即使没有硬件也能玩你最喜欢的 Wii U 游戏!"
}
]
},
"credits": {
"title": "团队",
"text": "认识项目背后的团队",
"people": [
{
"name": "Jonathan Barrow (jonbarrow)",
"caption": "项目所有者和首席开发人员",
"picture": "https://github.com/jonbarrow.png",
"github": "https://github.com/jonbarrow"
},
{
"name": "Jemma (CaramelKat)",
"caption": "Miiverse 研发",
"picture": "https://github.com/caramelkat.png",
"github": "https://github.com/CaramelKat"
},
{
"name": "Rambo6Glaz",
"caption": "网络安装程序和系统研究",
"picture": "https://github.com/Rambo6Glaz.png",
"github": "https://github.com/Rambo6Glaz"
},
{
"name": "quarky",
"caption": "BOSS研究和补丁开发",
"picture": "https://github.com/QuarkTheAwesome.png",
"github": "https://github.com/QuarkTheAwesome"
},
{
"name": "SuperMarioDaBom",
"caption": "控制台等系统研究",
"picture": "https://github.com/supermariodabom.png",
"github": "https://github.com/SuperMarioDaBom"
},
{
"name": "Jip Fr",
"caption": "网络开发主管",
"picture": "https://github.com/jipfr.png",
"github": "https://github.com/jipfr"
},
{
"name": "monty",
"caption": "网络开发",
"picture": "https://github.com/ashmonty.png",
"github": "https://github.com/ashmonty"
},
{
"name": "mrjvs",
"caption": "设计师",
"picture": "https://github.com/mrjvs.png",
"github": "https://github.com/mrjvs"
}
]
},
"specialThanks": {
"title": "特别感谢",
"text": "没有他们Pretendo 就不会是今天的样子。",
"people": [
{
"name": "superwhiskers",
"caption": "Crunch 开发",
"picture": "https://github.com/superwhiskers.png",
"github": "https://github.com/superwhiskers"
},
{
"name": "Stary",
"caption": "3DS 开发和 NEX 解剖器",
"picture": "https://github.com/Stary2001.png",
"github": "https://github.com/Stary2001"
},
{
"name": "Billy",
"caption": "保护主义者",
"picture": "https://github.com/InternalLoss.png",
"github": "https://github.com/InternalLoss"
},
{
"name": "Shutterbug2000",
"caption": "马里奥赛车 7 和 3DS 研究",
"picture": "https://cdn.discordapp.com/avatars/191370953807233024/0311b61e2009c1576828dd2e9a59d72e.png?size=128",
"github": "https://github.com/shutterbug2000"
},
{
"name": "Kinnay",
"special": "特别感谢",
"caption": "任天堂数据结构研究",
"picture": "https://cdn.discordapp.com/avatars/186572995848830987/b55c0d4e7bfd792edf0689f83a25d8ea.png?size=128",
"github": "https://github.com/Kinnay"
},
{
"name": "NinStar",
"caption": "Mii 编辑器和 Juxt 反应的图标",
"picture": "https://github.com/ninstar.png",
"github": "https://github.com/ninstar"
},
{
"name": "GitHub contributors",
"caption": "本地化和其他贡献",
"picture": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png",
"github": "https://github.com/PretendoNetwork"
}
]
},
"discordJoin": {
"title": "得到我们的动态与更新",
"text": "加入我们的 Discord 服务器以获取该项目的最新更新。",
"widget": {
"text": "获取我们进度的实时更新",
"button": "加入服务器"
}
},
"footer": {
"socials": "社交",
"usefulLinks": "相关链接",
"widget": {
"captions": [
"想要知道动态?",
"加入我们的 Discord!"
],
"button": "现在加入!"
}
},
"progressPage": {
"title": "我们的进度",
"description": "检查项目进度和目标! (大约每小时更新一次,不反映所有项目目标或进度)"
},
"blogPage": {
"title": "博客",
"description": "压缩块的最新更新。如果您想看到更频繁的更新,请考虑在 <a href=\"https://www.patreon.com/PretendoNetwork\" target=\"_blank\">Patreon</a> 上支持我们。"
},
"localizationPage": {
"title": "让我们本地化",
"description": "粘贴指向可公开访问的 JSON 语言环境的链接以在网站上对其进行测试",
"instructions": "查看本地化说明",
"fileInput": "要测试的文件",
"filePlaceholder": "https://a.link.to/the_file.json",
"button": "测试文件"
},
"docs": {
"missingInLocale": "此页面在您的语言环境中不可用。请看下面的英文版本。",
"quickLinks": {
"header": "快速链接",
"links": [
{
"header": "安装 Pretendo",
"caption": "查看设置说明"
},
{
"header": "有错误吗?",
"caption": "在这里搜索"
}
]
}
}
}

View File

@ -46,6 +46,7 @@ app.use(expressLocale({
/* TODO: map more regions to the available locales */
en: 'en-US', 'en-GB': 'en-US', 'en-AU': 'en-US', 'en-CA': 'en-US',
ar: 'ar-AR',
cn: 'zh-CN',
de: 'de-DE',
nl: 'nl-NL',
es: 'es-ES',
@ -59,11 +60,12 @@ app.use(expressLocale({
pt: 'pt-BR',
ro: 'ro-RO',
ru: 'ru-RU',
tr: 'tr-TR'
tr: 'tr-TR',
},
allowed: [
'en', 'en-US', 'en-GB', 'en-AU', 'en-CA',
'ar', 'ar-AR',
'cn', 'zh-CN', 'zh-HK', 'zh-TW',
'de', 'de-DE',
'nl', 'nl-NL',
'es', 'es-ES',

View File

@ -115,6 +115,11 @@
<div class="item"><span class="locale-names">اَلْعَرَبِيَّةُ</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="zh-CN" name="category" />
<label for="zh-CN">
<div class="item"><span class="locale-names">中文(简体)</span></div>
</div>
<div class="option">
<input type="radio" class="radio" id="ja-JP" name="category" />
<label for="ja-JP">