docs(mods): add standalone mod-dev-docs handbook and launcher quick-open button
This commit is contained in:
1 parent
5983e3f3e2
commit
aa952e7cca
26 files changed
+1619
-145
No files matched your search
@@ -702,6 +702,7 @@
|
||||
"autoSorted": "Reordered mods based on dependencies and load-order hints.",
|
||||
"refresh": "Refresh",
|
||||
"openFolder": "Open mods folder",
|
||||
"openDocs": "Mod docs",
|
||||
"discoveryErrorsTitle": "{{count}} mod folder(s) could not be loaded:",
|
||||
"blockingIssuesTitle": "{{count}} blocking mod error(s) prevent launching:",
|
||||
"issuesTitle": "{{count}} mod notice(s) or overlap(s):",
|
||||
|
||||
@@ -702,6 +702,7 @@
|
||||
"autoSorted": "已按前置与排序建议重新排列模组顺序。",
|
||||
"refresh": "刷新",
|
||||
"openFolder": "打开模组目录",
|
||||
"openDocs": "开发文档",
|
||||
"discoveryErrorsTitle": "有 {{count}} 个模组目录读取失败:",
|
||||
"blockingIssuesTitle": "存在 {{count}} 项阻塞性模组错误(处理前无法启动):",
|
||||
"issuesTitle": "检测到 {{count}} 项模组提示或冲突:",
|
||||
|
||||
@@ -255,6 +255,9 @@ export function ModsPage({ copy, section, readOnly, onError }: Props) {
|
||||
<button type="button" className="button" onClick={() => ipcInvoke('mods:openFolder').catch(onError)}>
|
||||
{t('mods.openFolder')}
|
||||
</button>
|
||||
<button type="button" className="button" onClick={() => ipcInvoke('mods:openDocs', { language: i18n.language }).catch(onError)}>
|
||||
{t('mods.openDocs')}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{state.discoveryErrors.length > 0 && (
|
||||
|
||||
Reference in new issue
Block a user