2023-04-09 05:35:35 +00:00
|
|
|
|
-- SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
2023-02-27 02:23:48 +00:00
|
|
|
|
Fk:loadTranslationTable{
|
|
|
|
|
-- Lobby
|
|
|
|
|
["Room List"] = "房间列表",
|
|
|
|
|
["Enter"] = "进入",
|
|
|
|
|
["Observe"] = "旁观",
|
|
|
|
|
|
|
|
|
|
["Edit Profile"] = "编辑个人信息",
|
|
|
|
|
["Username"] = "用户名",
|
|
|
|
|
["Avatar"] = "头像",
|
|
|
|
|
["Old Password"] = "旧密码",
|
|
|
|
|
["New Password"] = "新密码",
|
|
|
|
|
["Update Avatar"] = "更新头像",
|
|
|
|
|
["Update Password"] = "更新密码",
|
|
|
|
|
["Lobby BG"] = "大厅壁纸",
|
|
|
|
|
["Room BG"] = "房间背景",
|
|
|
|
|
["Game BGM"] = "游戏BGM",
|
2023-03-20 06:53:56 +00:00
|
|
|
|
["Poster Girl"] = "看板娘",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
|
|
|
|
["Create Room"] = "创建房间",
|
|
|
|
|
["Room Name"] = "房间名字",
|
|
|
|
|
["$RoomName"] = "%1的房间",
|
|
|
|
|
["Player num"] = "玩家数目",
|
2023-03-20 06:53:56 +00:00
|
|
|
|
["Select general num"] = "选将数目",
|
2023-03-13 16:12:02 +00:00
|
|
|
|
["Game Mode"] = "游戏模式",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["Enable free assign"] = "自由选将",
|
2023-04-19 06:07:16 +00:00
|
|
|
|
["Enable deputy general"] = "启用副将机制",
|
2023-03-14 06:12:13 +00:00
|
|
|
|
["General Settings"] = "通常设置",
|
|
|
|
|
["Package Settings"] = "拓展包设置",
|
|
|
|
|
["General Packages"] = "武将拓展包",
|
|
|
|
|
["Card Packages"] = "卡牌拓展包",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
2023-04-05 07:13:58 +00:00
|
|
|
|
["$OnlineInfo"] = "大厅人数:%1,总在线人数:%2",
|
|
|
|
|
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["Generals Overview"] = "武将一览",
|
|
|
|
|
["Cards Overview"] = "卡牌一览",
|
2023-04-21 09:49:30 +00:00
|
|
|
|
["Special card skills:"] = "<b>卡牌的特殊用法:</b>",
|
|
|
|
|
["Every suit & number:"] = "<b>所有的花色和点数:</b>",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["Scenarios Overview"] = "玩法一览",
|
|
|
|
|
["Replay"] = "录像",
|
|
|
|
|
["About"] = "关于",
|
2023-03-20 06:53:56 +00:00
|
|
|
|
["about_freekill_description"] = [[
|
|
|
|
|
# 关于FreeKill
|
|
|
|
|
|
|
|
|
|
以便于DIY为首要目的的开源三国杀游戏。
|
|
|
|
|
|
|
|
|
|
项目链接: https://github.com/Notify-ctrl/FreeKill
|
|
|
|
|
]],
|
|
|
|
|
["about_qt_description"] = [[
|
|
|
|
|
# 关于Qt
|
|
|
|
|
|
|
|
|
|
Qt是一个C++图形界面应用程序开发框架,拥有强大的跨平台能力以及易于使用的API。
|
|
|
|
|
|
|
|
|
|
本程序使用Qt 6.2+,主要利用QtQuick开发UI,同时也使用Qt的网络库开发服务端程序。
|
|
|
|
|
|
|
|
|
|
官网: https://www.qt.io
|
|
|
|
|
]],
|
|
|
|
|
["about_lua_description"] = [[
|
|
|
|
|
# 关于Lua
|
|
|
|
|
|
|
|
|
|
Lua是一种小巧、灵活、高效的脚本语言,广泛用于游戏开发中。
|
|
|
|
|
|
|
|
|
|
本程序使用Lua 5.4,利用其完全实现了整个游戏逻辑。
|
|
|
|
|
|
|
|
|
|
官网: https://www.lua.org
|
|
|
|
|
]],
|
|
|
|
|
["about_ossl_description"] = [[
|
|
|
|
|
# 关于OpenSSL
|
|
|
|
|
|
|
|
|
|
OpenSSL是一个开源包,用来提供安全通信与各种加密支持。
|
|
|
|
|
|
|
|
|
|
本程序目前用到了crypto库,以获得RSA加密算法支持。
|
|
|
|
|
|
|
|
|
|
官网: https://www.openssl.org
|
|
|
|
|
]],
|
|
|
|
|
["about_gplv3_description"] = [[
|
|
|
|
|
# 关于GPLv3
|
|
|
|
|
|
|
|
|
|
GNU通用公共许可协议(简称GPL)是一个广泛使用的自由软件许可证条款,它确保广大用户自由地使用、学习、共享或修改软件。
|
|
|
|
|
|
|
|
|
|
由于Qt是按照GPLv3协议开源的库,与此同时本程序用到的readline库也属于GPLv3库,再加上QSanguosha也是以GPLv3协议开源的软件(从中借鉴了不少代码和思路),因此这个项目也使用GPLv3协议开源。
|
|
|
|
|
|
|
|
|
|
官网: https://gplv3.fsf.org
|
|
|
|
|
]],
|
|
|
|
|
["about_sqlite_description"] = [[
|
|
|
|
|
# 关于SQLite
|
|
|
|
|
|
|
|
|
|
SQLite是一个轻量级的数据库,具有占用资源低、运行效率快、嵌入性好等优点。
|
|
|
|
|
|
|
|
|
|
FreeKill使用sqlite3在服务端保存用户的各种信息。
|
|
|
|
|
|
|
|
|
|
官网: https://www.sqlite.org
|
|
|
|
|
]],
|
|
|
|
|
["about_git2_description"] = [[
|
|
|
|
|
# 关于Libgit2
|
|
|
|
|
|
|
|
|
|
Libgit2是一个轻量级的、跨平台的、纯C实现的库,支持Git的大部分核心操作,并且支持几乎任何能与C语言交互的编程语言。
|
|
|
|
|
|
|
|
|
|
FreeKill使用的是libgit2的C API,与此同时使用Git完成拓展包的下载、更新、管理等等功能。
|
|
|
|
|
|
|
|
|
|
官网: https://libgit2.org
|
|
|
|
|
]],
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
|
|
|
|
["Exit Lobby"] = "退出大厅",
|
|
|
|
|
|
|
|
|
|
["OK"] = "确定",
|
|
|
|
|
["Cancel"] = "取消",
|
|
|
|
|
["End"] = "结束",
|
|
|
|
|
["Quit"] = "退出",
|
|
|
|
|
|
|
|
|
|
["$WelcomeToLobby"] = "欢迎进入FreeKill游戏大厅!",
|
|
|
|
|
|
|
|
|
|
-- Room
|
|
|
|
|
["$EnterRoom"] = "成功加入房间。",
|
2023-04-19 16:19:48 +00:00
|
|
|
|
["#currentRoundNum"] = "第 %1 轮",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["$Choice"] = "%1:请选择",
|
|
|
|
|
["$ChooseGeneral"] = "请选择 %1 名武将",
|
2023-03-18 18:21:45 +00:00
|
|
|
|
["Same General Convert"] = "替换武将",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["Fight"] = "出战",
|
|
|
|
|
|
|
|
|
|
["#PlayCard"] = "出牌阶段,请使用一张牌",
|
|
|
|
|
["#AskForGeneral"] = "请选择 1 名武将",
|
|
|
|
|
["#AskForSkillInvoke"] = "你想发动技能“%1”吗?",
|
|
|
|
|
["#AskForChoice"] = "%1:请选择",
|
|
|
|
|
["#choose-trigger"] = "请选择一项技能发动",
|
|
|
|
|
["trigger"] = "选择技能",
|
|
|
|
|
["Please arrange cards"] = "请拖拽移动卡牌",
|
|
|
|
|
|
|
|
|
|
[" thinking..."] = " 思考中...",
|
|
|
|
|
["AskForGeneral"] = "选择武将",
|
|
|
|
|
["AskForGuanxing"] = "观星",
|
|
|
|
|
["AskForChoice"] = "选择",
|
2023-03-14 12:48:08 +00:00
|
|
|
|
["AskForPindian"] = "拼点",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["PlayCard"] = "出牌",
|
|
|
|
|
|
|
|
|
|
["AskForCardChosen"] = "选牌",
|
2023-03-20 12:15:24 +00:00
|
|
|
|
["AskForCardsChosen"] = "选牌",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["#AskForChooseCard"] = "%1:请选择其一张卡牌",
|
|
|
|
|
["$ChooseCard"] = "请选择一张卡牌",
|
|
|
|
|
["$Hand"] = "手牌区",
|
|
|
|
|
["$Equip"] = "装备区",
|
|
|
|
|
["$Judge"] = "判定区",
|
|
|
|
|
["#AskForUseActiveSkill"] = "请使用技能 %1",
|
|
|
|
|
["#AskForUseCard"] = "请使用卡牌 %1",
|
|
|
|
|
["#AskForResponseCard"] = "请打出卡牌 %1",
|
|
|
|
|
["#AskForNullification"] = "是否为目标为 %dest 的 %arg 使用无懈可击?",
|
|
|
|
|
["#AskForNullificationWithoutTo"] = "是否对 %src 使用的 %arg 使用无懈可击?",
|
|
|
|
|
|
|
|
|
|
["#AskForDiscard"] = "请弃置 %arg 张牌,最少 %arg2 张",
|
2023-04-04 07:59:21 +00:00
|
|
|
|
["#AskForCard"] = "请选择 %arg 张牌,最少 %arg2 张",
|
2023-03-14 12:48:08 +00:00
|
|
|
|
["#askForPindian"] = "请选择一张手牌作为拼点牌",
|
2023-04-23 13:10:07 +00:00
|
|
|
|
["#StartPindianReason"] = "%from 由于 %arg 而发起拼点",
|
|
|
|
|
|
|
|
|
|
["#RevealGeneral"] = "%from 亮出 %arg %arg2",
|
|
|
|
|
["mainGeneral"] = "主将",
|
|
|
|
|
["deputyGeneral"] = "副将",
|
|
|
|
|
["seat#1"] = "一号位",
|
|
|
|
|
["seat#2"] = "二号位",
|
|
|
|
|
["seat#3"] = "三号位",
|
|
|
|
|
["seat#4"] = "四号位",
|
|
|
|
|
["seat#5"] = "五号位",
|
|
|
|
|
["seat#6"] = "六号位",
|
|
|
|
|
["seat#7"] = "七号位",
|
|
|
|
|
["seat#8"] = "八号位",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
|
|
|
|
["Trust"] = "托管",
|
|
|
|
|
["Sort Cards"] = "牌序",
|
|
|
|
|
["Chat"] = "聊天",
|
|
|
|
|
["Log"] = "战报",
|
|
|
|
|
["Trusting ..."] = "托管中 ...",
|
|
|
|
|
["Observing ..."] = "旁观中 ...",
|
|
|
|
|
|
|
|
|
|
["$GameOver"] = "游戏结束",
|
|
|
|
|
["$Winner"] = "%1 获胜",
|
2023-03-20 06:53:56 +00:00
|
|
|
|
["$NoWinner"] = "平局!",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["Back To Lobby"] = "返回大厅",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-- Game concepts
|
|
|
|
|
Fk:loadTranslationTable{
|
|
|
|
|
["lord"] = "主公",
|
|
|
|
|
["loyalist"] = "忠臣",
|
|
|
|
|
["rebel"] = "反贼",
|
|
|
|
|
["renegade"] = "内奸",
|
|
|
|
|
["lord+loyalist"] = "主忠",
|
|
|
|
|
|
|
|
|
|
["normal_damage"] = "无属性",
|
|
|
|
|
["fire_damage"] = "火属性",
|
|
|
|
|
["thunder_damage"] = "雷属性",
|
2023-04-13 12:17:39 +00:00
|
|
|
|
["ice_damage"] = "冰属性",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
|
|
|
|
["phase_judge"] = "判定阶段",
|
|
|
|
|
["phase_draw"] = "摸牌阶段",
|
|
|
|
|
["phase_play"] = "出牌阶段",
|
|
|
|
|
["phase_discard"] = "弃牌阶段",
|
2023-03-09 04:19:16 +00:00
|
|
|
|
|
|
|
|
|
["chained"] = "横置",
|
|
|
|
|
["not-chained"] = "重置",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-- related to sendLog
|
|
|
|
|
Fk:loadTranslationTable{
|
|
|
|
|
-- game processing
|
|
|
|
|
["$AppendSeparator"] = '<font color="grey">------------------------------</font>',
|
|
|
|
|
["$GameStart"] = "== 游戏开始 ==",
|
|
|
|
|
["$GameEnd"] = "== 游戏结束 ==",
|
|
|
|
|
|
|
|
|
|
-- get/lose skill
|
|
|
|
|
["#AcquireSkill"] = "%from 获得了技能“%arg”",
|
|
|
|
|
["#LoseSkill"] = "%from 失去了技能“%arg”",
|
|
|
|
|
|
|
|
|
|
-- moveCards (they are sent by notifyMoveCards)
|
2023-03-18 07:35:44 +00:00
|
|
|
|
["$PutCard"] = "%from 的 %arg 张牌被置于牌堆顶",
|
|
|
|
|
["$PutKnownCard"] = "%from 的牌 %card 被置于牌堆顶",
|
|
|
|
|
["$RemoveCardFromGame"] = "%arg2 张牌被作为 %arg 移出游戏",
|
|
|
|
|
["$AddToPile"] = "%card 被作为 %arg 移出游戏",
|
|
|
|
|
["$GetCardsFromPile"] = "%from 从 %arg 中获得了 %arg2 张牌 %card",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["$DrawCards"] = "%from 摸了 %arg 张牌 %card",
|
2023-03-18 07:35:44 +00:00
|
|
|
|
["$GotCardBack"] = "%from 收回了 %arg 张牌 %card",
|
|
|
|
|
["$RecycleCard"] = "%from 从弃牌堆回收了 %arg 张牌 %card",
|
|
|
|
|
["$MoveCards"] = "%to 从 %from 处获得了 %arg 张牌 %card",
|
|
|
|
|
["$LightningMove"] = "%card 从 %from 转移到了 %to",
|
|
|
|
|
["$PasteCard"] = "%from 给 %to 贴了张 %card",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
["$DiscardCards"] = "%from 弃置了 %arg 张牌 %card",
|
2023-03-09 04:19:16 +00:00
|
|
|
|
["$InstallEquip"] = "%from 装备了 %card",
|
|
|
|
|
["$UninstallEquip"] = "%from 卸载了 %card",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
2023-03-20 12:15:24 +00:00
|
|
|
|
["#ShowCard"] = "%from 展示了牌 %card",
|
2023-04-18 04:57:09 +00:00
|
|
|
|
["#Recast"] = "%from 重铸了 %card",
|
|
|
|
|
["#RecastBySkill"] = "%from 发动了 “%arg” 重铸了 %card",
|
2023-03-20 12:15:24 +00:00
|
|
|
|
|
2023-02-27 02:23:48 +00:00
|
|
|
|
-- phase
|
|
|
|
|
["#PhaseSkipped"] = "%from 跳过了 %arg",
|
2023-03-13 12:51:12 +00:00
|
|
|
|
["#GainAnExtraTurn"] = "%from 开始进行一个额外的回合",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
|
|
|
|
|
-- useCard
|
|
|
|
|
["#UseCard"] = "%from 使用了牌 %card",
|
|
|
|
|
["#UseCardToTargets"] = "%from 使用了牌 %card,目标是 %to",
|
|
|
|
|
["#CardUseCollaborator"] = "%from 在此次 %arg 中的子目标是 %to",
|
|
|
|
|
["#UseCardToCard"] = "%from 使用了牌 %card,目标是 %arg",
|
|
|
|
|
["#ResponsePlayCard"] = "%from 打出了牌 %card",
|
|
|
|
|
|
|
|
|
|
["#UseVCard"] = "%from 将 %card 当 %arg 使用",
|
|
|
|
|
["#UseVCardToTargets"] = "%from 将 %card 当 %arg 使用,目标是 %to",
|
|
|
|
|
["#UseVCardToCard"] = "%from 将 %card 当 %arg2 使用,目标是 %arg",
|
|
|
|
|
["#ResponsePlayVCard"] = "%from 将 %card 当 %arg 打出",
|
|
|
|
|
["#UseV0Card"] = "%from 使用了 %arg",
|
|
|
|
|
["#UseV0CardToTargets"] = "%from 使用了 %arg,目标是 %to",
|
|
|
|
|
["#UseV0CardToCard"] = "%from 使用了 %arg2,目标是 %arg",
|
|
|
|
|
["#ResponsePlayV0Card"] = "%from 打出了 %arg",
|
|
|
|
|
|
|
|
|
|
["#FilterCard"] = "由于 %arg 的效果,与 %from 相关的 %arg2 被视为了 %arg3",
|
|
|
|
|
|
|
|
|
|
-- skill
|
|
|
|
|
["#InvokeSkill"] = "%from 发动了 “%arg”",
|
|
|
|
|
|
|
|
|
|
-- judge
|
|
|
|
|
["#StartJudgeReason"] = "%from 开始了 %arg 的判定",
|
|
|
|
|
["#InitialJudge"] = "%from 的判定牌为 %card",
|
|
|
|
|
["#ChangedJudge"] = "%from 发动“%arg”把 %to 的判定牌改为 %card",
|
|
|
|
|
["#JudgeResult"] = "%from 的判定结果为 %card",
|
|
|
|
|
|
|
|
|
|
-- turnOver
|
|
|
|
|
["#TurnOver"] = "%from 将武将牌翻面,现在是 %arg",
|
|
|
|
|
["face_up"] = "正面朝上",
|
|
|
|
|
["face_down"] = "背面朝上",
|
|
|
|
|
|
|
|
|
|
-- damage, heal and lose HP
|
|
|
|
|
["#Damage"] = "%to 对 %from 造成了 %arg 点 %arg2 伤害",
|
|
|
|
|
["#DamageWithNoFrom"] = "%from 受到了 %arg 点 %arg2 伤害",
|
|
|
|
|
["#LoseHP"] = "%from 失去了 %arg 点体力",
|
|
|
|
|
["#HealHP"] = "%from 回复了 %arg 点体力",
|
|
|
|
|
["#ShowHPAndMaxHP"] = "%from 现在的体力值为 %arg,体力上限为 %arg2",
|
|
|
|
|
|
|
|
|
|
-- dying and death
|
|
|
|
|
["#EnterDying"] = "%from 进入了濒死阶段",
|
|
|
|
|
["#KillPlayer"] = "%from [%arg] 阵亡,凶手是 %to",
|
|
|
|
|
["#KillPlayerWithNoKiller"] = "%from [%arg] 阵亡,无伤害来源",
|
|
|
|
|
|
|
|
|
|
-- misc
|
|
|
|
|
["#GuanxingResult"] = "%from 的观星结果为 %arg 上 %arg2 下",
|
2023-03-09 04:19:16 +00:00
|
|
|
|
["#ChainStateChange"] = "%from %arg 了武将牌",
|
|
|
|
|
["#ChainDamage"] = "%from 处于连环状态,将受到传导的伤害",
|
2023-02-27 02:23:48 +00:00
|
|
|
|
}
|