-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add merge.js to fast import existed lang
- Loading branch information
1 parent
6408459
commit fdff6e4
Showing
5 changed files
with
5,297 additions
and
1,457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"chapter.1.quest.45.subtitle": "精英怪", | ||
"chapter.1.quest.46.description.1": "有好几种祛魔的方式。\n\n\n蜘蛛网能够在铁砧里将非诅咒附魔移除。\n\n\n海晶蜘蛛网能够在铁砧里将诅咒附魔移除。\n\n\n祛魔书能够与墓碑灵魂搭配使用,来将物品(除了书)的多条附魔提取到单独的书上。死亡知识可以提高提取的附魔数量。\n\n\n将附魔物品与求知之书合成,来将附魔移到书上。\n\n\n分解宝典会损坏物品,并且只能提取一些附魔。", | ||
"chapter.1.quest.46.task.1.title": "Disenchanting", | ||
"chapter.32.quest.31.task.1.title": "萨蒂尔", | ||
"chapter.34.title": "The Armory", | ||
"chapter.6.quest.100.subtitle": "专家模式会在玩家击杀末影龙后开启", | ||
"chapter.6.quest.100.task.1.title": "Master mode", | ||
"chapter.6.quest.101.subtitle": "找到一个村庄", | ||
"chapter.6.quest.102.subtitle": "进行第一次村民交易", | ||
"chapter.6.quest.103.subtitle": "找到或制作村民工作方块(20)", | ||
"chapter.6.quest.104.subtitle": "在下界与下界学家交易", | ||
"chapter.6.quest.106.subtitle": "与所有职业的村民交易", | ||
"chapter.6.quest.108.subtitle": "范围破坏植物的工具。", | ||
"chapter.6.quest.109.description.1": "同样也是范围攻击的武器。", | ||
"chapter.6.quest.109.subtitle": "范围收获+自动种植作物的工具。", | ||
"chapter.6.quest.54.description.1": "\n\n前往\"农夫乐事\"章节查看更多信息!", | ||
"chapter.6.quest.54.subtitle": "刀是回收工具:它能让你从动植物中获得更多资源。", | ||
"chapter.6.quest.56.description.1": "下界传送门会以维度裂隙形式生成,并散落在地底深处。你需要找到一个裂隙来前往下界 - 但小心,因为这是个单向旅行!\n\n\n要从下界回来,你需要找到一个巨石碑。由于这个结构会像天空发射光束,所以你可以在远处轻松看到。\n\n\n巨石碑中心发射光束的方块叫做撤离信标,这是返回主世界的钥匙。然而,撤离信标需要一些能量,你需要在它四面各放置一个金块 - 下界中不难集齐。\n\n\n充能后,撤离信标就能将你送回主世界。", | ||
"chapter.6.quest.56.title": "准备前往下界!", | ||
"chapter.6.quest.62.title": "梦想去流浪", | ||
"chapter.6.quest.63.description.1": "你可以在背包饰品栏穿戴背包,也可以将背包放在物品栏中。\n\n\n你可以用快捷键打开饰品栏中的背包,当然,箱子、快捷栏、或物品栏都可以。\n\n\n你也可以将鼠标悬停在想要打开的背包上按快捷键来打开背包。\n\n\n你也可以将背包放置在地面,然后潜行使用来打开。这也能让背包连接到简易存储网络中。\n\n\n\n\n\n\n注意:目前有一个bug,当使用磁铁时,物品不会自动堆叠。我们暂时无法解决。请使用排序容器的按钮(或排列背包快捷键)作为解决方式。", | ||
"chapter.6.quest.65.description.1": "铁砧比以往更实用。铁砧没有等级限制,并且可以被附魔。铁砧可以接受耐久、拆分和分裂附魔。拆分能允许你将铁砧从带有多个附魔词条的附魔书上方砸下后,概率拆解附魔书,等级越高拆解本数越多,每提升一个等级就会增加20%几率并且总是会磨损铁砧(你可以用耐久附魔避免)。分裂很简单,有同样的概率机制,但它作用于有高于1级的单一附魔词条的附魔书。它会将附魔书分为两本比之前低一级附魔的附魔书,就是铁砧中合成附魔书的相反方式。", | ||
"chapter.6.quest.67.title": "Humble accommodation ", | ||
"chapter.6.quest.68.description.1": "你可以用纤维网更有效地获取燧石。\n制作燧石剪刀并剪下一些草来制作纤维网。然后你就可以筛砂砾来获得燧石。\n\n\n注意:你需要剪下原版的草,模组的草不适用。", | ||
"chapter.6.quest.68.title": "Let's make a Mesh!", | ||
"chapter.6.quest.85.subtitle": "Die at least 1 time", | ||
"chapter.6.quest.86.subtitle": "选择你的第一项死亡知识", | ||
"chapter.6.quest.87.task.3.title": "Any #tombstone:decorative_graves", | ||
"chapter.6.quest.91.description.1": "Project MMO以独特的方式来让玩家提升自己。与原版游戏有着不同的体验,玩家可以制作强力护甲和武器,之后会完全依赖于它的伤害和保护机制,Project MMO向玩家介绍了一个更加“RPG风格”的游戏游玩方式。\n\n\n游戏刚开始,由于属性系统,你无法使用护甲、好用的工具和特定的各种饰品。除了这些限制以外 - 升级可以给予多种额外奖励 - 被动能力(例如提升伤害)或主动能力(例如回收物品),通过一些行为,你可以升级属性并提升你的人物。\n\n\n随着玩家进行特定的操作,它们会在某一方面做的更好。例如,如果玩家想要变成最强的战士,他们可以通过整日挥剑来获得更多的力量点数。\n\n\n你可以按P打开该模组的设置界面", | ||
"chapter.6.quest.91.title": "经验、等级和人物提升", | ||
"chapter.6.quest.92.description.1": "滑翔翼能够用来滑翔很长一段距离。\n\n\n滑翔的距离由独特的耐力机制决定。", | ||
"chapter.6.quest.92.title": "信仰之跃", | ||
"chapter.6.quest.93.description.1": "古代女神的纪念碑。\n\n\n她们可以在世界各处找到,村庄中更容易发现。\n\n\n给她们试炼通行证来提升你的耐力。", | ||
"chapter.6.quest.93.title": "赞美Hylia", | ||
"chapter.6.quest.94.description.1": "在锻造台中重铸物品。\n\n\n点击重铸按钮。\n\n\n添加物品和它的修复材料,然后点击锤子", | ||
"chapter.6.quest.94.task.1.title": "重铸?", | ||
"chapter.6.quest.94.title": "Reforging?", | ||
"chapter.6.quest.95.task.1.title": "女神雕像", | ||
"chapter.6.quest.95.task.2.title": "Rito Statue", | ||
"chapter.6.quest.95.task.3.title": "Kakariko Style", | ||
"chapter.6.quest.95.task.4.title": "Goron Style", | ||
"chapter.6.quest.95.task.5.title": "Horned Statue", | ||
"chapter.6.quest.95.title": "高雅雕像", | ||
"chapter.6.quest.97.description.1": "你可以在末地探险章节获得更多关于末地维度的任务!", | ||
"chapter.6.quest.99.subtitle": "专家模式会在玩家击杀凋灵后开启", | ||
"chapter.6.quest.99.title": "下一步是什么?" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// 下面是node脚本,非vue模板 | ||
// 使用了esmodule,非commonjs | ||
import fs from "fs"; | ||
import path from "path"; | ||
import { fileURLToPath } from "url"; | ||
|
||
// 获取当前文件以及路径 | ||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
|
||
// 读取other.json与zh_cn.json | ||
const other = JSON.parse( | ||
fs.readFileSync(path.join(__dirname, "other.json"), "utf-8") | ||
); | ||
const zh_cn = JSON.parse( | ||
fs.readFileSync(path.join(__dirname, "zh_cn.json"), "utf-8") | ||
); | ||
|
||
// 将other中对应的key与value赋值给zh中对应的key与value | ||
const error = {}; | ||
for (let key in other) { | ||
// 如果zh中没有other中对应的key,则将key与value保存在一个异常对象error中 | ||
if (key in zh_cn) { | ||
// 如果zh_cn中没有值则进行修改 | ||
if (/^[\s]*$/.test(zh_cn[key])) zh_cn[key] = other[key]; | ||
} else { | ||
error[key] = other[key]; | ||
} | ||
} | ||
|
||
// 导出合并后的zh_cn,改名为merged.json | ||
fs.writeFileSync( | ||
path.join(__dirname, "merged.json"), | ||
JSON.stringify(zh_cn, null, 2) | ||
); | ||
|
||
// 导出合并错误信息error,改名为error.json | ||
fs.writeFileSync( | ||
path.join(__dirname, "error.json"), | ||
JSON.stringify(error, null, 2) | ||
); |
Oops, something went wrong.