//! 金表的**后半段**(`InstancesLaunchReset` 之后的全部行)。 //! //! 为什么拆:`golden.rs` 在 M157 加了 19 行启动参数文案后到 416 行,越过 400 行硬线; //! 拆分口径与仓库其它 `-p1/-p2` 一致——**纯搬移、一行不改**,顺序即 `Key::ALL` 的后半段。 //! 拼装与断言在 `golden.rs` 的 [`rows`] 与 `catalog/tests.rs`。 pub(super) const ROWS: &[(&str, &str, &str)] = &[ ("LoaderVanilla", "Vanilla", "原版"), ("LaunchOutcomeNormal", "Finished normally", "正常结束"), ("LaunchOutcomeCrash", "The game crashed", "游戏崩溃"), ("LaunchOutcomeSilent", "Suspected silent failure: exit code 0, but the game never really started", "疑似静默失败:退出码 0,但游戏没真正跑起来"), ("LaunchFailedWithCode", "Launch failed (exit {code}): {reason}", "启动失败(退出码 {code}):{reason}"), ("LaunchStageVersionManifest", "Reading the version file", "读版本文件"), ("LaunchStageInheritance", "Resolving the inheritance chain", "解析继承链"), ("LaunchStageInstanceConfig", "Reading the instance settings", "读实例设置"), ("LaunchStageIsolation", "Preparing the isolated game folder", "准备隔离游戏目录"), ("LaunchStageIdentity", "Preparing the account", "准备账户"), ("LaunchStageSpawn", "Starting the game process", "启动游戏进程"), ("LaunchStageFailed", "Launch failed · {stage}: {detail}", "启动失败 · {stage}:{detail}"), ("LaunchToastEnded", "{outcome} · {seconds}s", "{outcome} · {seconds} 秒"), ("LaunchMsaNotConfigured", "Microsoft sign-in is not configured: it needs an Azure public client id (the login flow itself is implemented). Build with ULL_MSA_CLIENT_ID=, or set that environment variable before launching.", "微软登录未配置:缺少 Azure 公共客户端 id(登录功能已实现,只差这一项配置)。构建时注入:ULL_MSA_CLIENT_ID= cargo build;或启动前设置同名环境变量 ULL_MSA_CLIENT_ID=。"), ("FontCjkNeedsDownload", "No Chinese font found on this system. Download an open-source (OFL) Chinese font?", "系统里没找到中文字体。要下载一套开源(OFL)中文字体吗?"), ("FontCjkDownloading", "Downloading Chinese font… {percent}%", "正在下载中文字体… {percent}%"), ("FontCjkDownloadFailed", "Chinese font download failed; the interface stays in English.", "中文字体下载失败,界面暂时保持英文。"), ("FontCjkReady", "Chinese font ready: {family}", "中文字体已就绪:{family}"), ("SettingsLanguage", "Language", "界面语言"), ("SettingsLanguageHint", "Switches the interface language. Chinese text needs a Chinese font.", "切换界面语言。显示中文需要中文字体。"), ("SettingsAppearanceCorner", "Window corners", "窗口圆角"), ("SettingsAppearanceCornerSystem", "Follow system", "跟随系统"), ("SettingsAppearanceCornerSquare", "Square", "直角"), ("SettingsAppearanceCornerHint", "On Windows 11 and Server 2025 we ask the system for rounded corners; Windows 10 keeps square corners. On macOS and Linux the desktop's own rules apply. We never draw corners ourselves.", "Windows 11 与 Windows Server 2025 上我们请求系统处理外框圆角;Windows 10 保持直角;macOS 与 Linux 交给桌面合成器自己的规则;我们不自己画圆角。"), ("SettingsAppearanceCornerSuspended", "Not in effect right now: window transparency is below 100%. Setting it back to 100% restores the rounded corners.", "当前因整窗透明度不生效:把整窗透明度调回 100% 圆角即恢复。"), // M174:设置页「助手(AI)」分组(`catalog/settings/ai.rs` 的 `settings_ai_entries`)。 // 位置就是装配链里那个域的位置:`settings_ai_entries` 在 `settings_download_entries` 之后、 // `core_text_entries` 之前,所以这几行必须落在 `SettingsAppearanceCornerSuspended` 与 // `CoreTextUntranslated` 之间(顺序 = `Key::ALL`)。 ("SettingsGroupAssistant", "Assistant", "助手"), ("SettingsAiStatusLabel", "Status: {status}", "状态:{status}"), ("SettingsAiStatusUnconfigured", "not configured", "未配置"), ("SettingsAiStatusConfigured", "configured", "已配置"), ("SettingsAiStatusVerified", "verified", "连接已通过"), ("SettingsAiStatusTestFailed", "test failed", "测试失败"), ("SettingsAiEnable", "Enable the assistant", "启用助手"), ("SettingsAiEnableHint", "With this off, the assistant stays quiet; crash diagnosis from the rule engine keeps working.", "关掉之后助手不再工作;规则引擎的崩溃诊断照常可用。"), ("SettingsAiProviderLabel", "Provider", "提供商"), ("SettingsAiProviderOpenAi", "OpenAI compatible", "OpenAI 兼容"), ("SettingsAiProviderAnthropic", "Anthropic", "Anthropic 原生"), ("SettingsAiProviderOllama", "Ollama", "Ollama 原生"), ("SettingsAiProviderDisabled", "Disabled", "已禁用"), ("SettingsAiBaseUrl", "Endpoint (base_url)", "端点(base_url)"), ("SettingsAiBaseUrlPlaceholder", "http://127.0.0.1:8080/v1", "例:http://127.0.0.1:8080/v1"), ("SettingsAiBaseUrlHint", "The /v1 root of an OpenAI-compatible service. Leave empty to use the provider default.", "OpenAI 兼容服务的 /v1 根地址;留空则用该提供商的默认端点。"), ("SettingsAiEffective", "Effective: {value}", "生效:{value}"), ("SettingsAiModel", "Model name", "模型名称"), ("SettingsAiModelPlaceholder", "deepseek-chat", "例:deepseek-chat"), ("SettingsAiApiKey", "API key", "API 密钥"), ("SettingsAiApiKeyPlaceholder", "Paste the key", "粘贴密钥"), ("SettingsAiApiKeyConfigured", "A key is stored ({chars} characters). Leave this empty to keep it.", "已保存密钥({chars} 个字符)。留空则保持不变。"), ("SettingsAiApiKeyMissing", "No key stored yet", "还没有保存密钥"), ("SettingsAiShow", "Show", "显示"), ("SettingsAiHide", "Hide", "隐藏"), ("SettingsAiSave", "Save", "保存"), ("SettingsAiTest", "Test connection", "测试连接"), ("SettingsAiTesting", "Testing…", "正在测试…"), ("SettingsAiSaved", "Saved. It takes effect immediately, no restart needed.", "已保存,立刻生效,不用重启。"), ("SettingsAiRefused", "Not saved: {reason}", "未保存:{reason}"), ("SettingsAiUnsaved", "There are unsaved changes.", "有未保存的改动。"), ("SettingsAiNoStorage", "No settings file is available in this run, so nothing can be saved or tested.", "这一次运行没有可用的设置文件,保存与测试都做不了。"), ("SettingsAiTestDisabled", "Fill in the missing field before testing: {missing}.", "先补上这一项再测试:{missing}。"), ("SettingsAiMissingDisabled", "the assistant is disabled", "助手处于关闭状态"), ("SettingsAiMissingBaseUrl", "the endpoint address", "端点地址"), ("SettingsAiMissingModel", "the model name", "模型名称"), ("SettingsAiMissingApiKey", "the API key", "API 密钥"), ("SettingsAiReasonProvider", "the provider value is not recognised", "提供商取值不认识"), ("SettingsAiReasonBaseUrl", "the endpoint must start with http:// or https://", "端点必须以 http:// 或 https:// 开头"), ("SettingsAiReasonModel", "the model name is required", "必须填模型名称"), ("SettingsAiTestPassed", "Connected — the endpoint answered.", "连接通过 —— 端点有正常回应。"), ("SettingsAiTestAuth", "Authentication failed: the endpoint rejected the key.", "鉴权失败:端点拒绝了这个密钥。"), ("SettingsAiTestModel", "The endpoint answered, but this model does not exist.", "端点通了,但没有这个模型。"), ("SettingsAiTestUnreachable", "The endpoint is unreachable.", "端点不可达。"), ("SettingsAiTestTimeout", "Timed out while waiting for the endpoint.", "等端点回应超时了。"), ("SettingsAiTestOther", "The request failed for another reason (see the detail below).", "请求因为别的原因失败了(详情见下)。"), ("SettingsAiTestNotConfigured", "Nothing was sent: the configuration is incomplete.", "什么都没有发出去:配置还不完整。"), ("SettingsAiTestTarget", "Target: {base_url} · model {model} · {ms} ms", "目标:{base_url} · 模型 {model} · {ms} 毫秒"), ("SettingsAiTestDetail", "Detail: {detail}", "详情:{detail}"), ("CoreTextUntranslated", "[system text not translated]", "[未翻译的系统文案]"), ("DownloadTitle", "Version management", "版本管理"), ("DownloadSubtitle", "Manage versions and loaders: install, upgrade, repair", "管理版本与加载器:安装、升级、修复"), ("DownloadRefresh", "Refresh", "刷新"), ("DownloadInstall", "Install", "安装"), ("DownloadCancel", "Cancel install", "取消安装"), ("DownloadInstalled", "Installed", "已安装"), ("DownloadCount", "{count} versions", "{count} 个版本"), ("DownloadRowSupporting", "{kind} · released {date}", "{kind} · 发布于 {date}"), ("DownloadSelectHint", "Pick a version, then install", "选一个版本再安装"), ("DownloadLoading", "Loading versions…", "正在加载版本列表…"), ("DownloadLoadingHint", "If this stays here, press Refresh in the top right.", "如果一直停在这里,点右上角的刷新。"), ("DownloadEmptyTitle", "No versions to show", "没有可显示的版本"), ("DownloadEmptyBody", "Pick another category, or refresh the list.", "换一个分类,或刷新一次列表。"), ("DownloadCategoryAll", "All", "全部"), ("DownloadCategoryRelease", "Release", "正式版"), ("DownloadCategorySnapshot", "Snapshot", "预览版"), ("DownloadCategoryAncient", "Ancient", "远古版"), ("DownloadStagePlanning", "Planning", "解析版本"), ("DownloadStageDownloading", "Downloading files", "下载文件"), ("DownloadStageInstalling", "Building the version", "生成版本"), ("DownloadStageRegistering", "Registering the instance", "登记实例"), ("DownloadStageDone", "Done", "已完成"), ("DownloadStageFailed", "Install failed", "安装失败"), ("DownloadStageCancelled", "Install cancelled", "安装已取消"), ("DownloadProgress", "{done}/{total} files", "{done}/{total} 文件"), ("DownloadProgressUnknown", "Waiting for the first file…", "等第一个文件…"), ("DownloadRate", "{speed} · {eta}", "{speed},{eta}"), ("DownloadEtaSecs", "{secs}s left", "剩 {secs}s"), ("DownloadEtaMins", "{mins}m{secs}s left", "剩 {mins}m{secs}s"), ("DownloadFailedHint", "The Logs page has the full reason.", "完整原因在日志页。"), ("DownloadOpenLogs", "Open logs", "打开日志"), ("DownloadDismiss", "Dismiss", "关闭"), ("DownloadOptionsTitle", "Install options", "安装选项"), ("DownloadOptionsLoaderVersion", "Loader version", "加载器版本"), ("DownloadOptionsLoaderVersionsLoading", "Fetching loader versions…", "正在获取加载器版本…"), ("DownloadOptionsLoaderVersionsFailed", "Could not fetch loader versions: {reason}", "取不到加载器版本:{reason}"), ("DownloadOptionsLoaderVersionsEmpty", "No loader builds published for {version}", "官方没有为 {version} 发布加载器版本"), ("DownloadOptionsInstanceName", "Instance name", "实例名"), ("DownloadOptionsInstanceNameHint", "Empty = use the version id", "留空就用版本号"), ("DownloadOptionsIncompatible", "{loader} has no builds for {version}", "{loader} 没有适配 {version} 的构建"), ("DownloadOptionsNeedsAtLeast", "{loader} needs Minecraft {min} or newer", "{loader} 需要 Minecraft {min} 或更新"), ("DownloadCancelled", "Install cancelled — finished files are kept, the instance was not created", "安装已取消 —— 已下好的文件保留,实例未登记"), ("LogsSubtitleIdle", "Nothing is running right now", "当前没有运行中的实例"), ("LogsStatus", "{instance} · {when} · {outcome}", "{instance}|{when}|{outcome}"), ("LogsOpenFolder", "Open folder", "打开目录"), ("LogsClear", "Clear", "清空"), ("LogsOutputTitle", "OUTPUT", "输出"), ("LogsDiagnosisTitle", "DIAGNOSIS", "诊断"), ("LogsConfidenceHigh", "HIGH CONFIDENCE", "高置信度"), ("LogsConfidenceMedium", "MEDIUM CONFIDENCE", "中置信度"), ("LogsConfidenceLow", "LOW CONFIDENCE", "低置信度"), ("LogsSubtitleLive", "Running now — logs stream as they arrive", "正在运行 — 日志实时滚动"), ("LogsConfidence", "Confidence {percent}%", "置信度 {percent}%"), ("LogsSuggestedFix", "Suggested fix", "建议动作"), ("LogsSummaryLabel", "One-line summary", "一行摘要"), ("LogsCopySummary", "Copy summary", "复制摘要"), ("LogsEmptyTitle", "No output yet", "还没有输出"), ("LogsEmptyBody", "Logs stream here while the launcher or the game is running. Pick an instance and start it to see the first lines.", "启动器或游戏运行时,日志会实时出现在这里。选择一个实例并启动,就能看到第一批日志。"), ("LogsEmptyAction", "Choose an instance", "选择实例"), ("AgentTitle", "Assistant", "助手"), ("AgentSubtitle", "Simulated assistant · no real model is connected", "模拟助手 · 还没接真实模型"), ("AgentCollapse", "Collapse", "收起"), ("AgentDetach", "Pop out", "拆出"), ("AgentDock", "Dock back", "收回"), ("AgentOpen", "Open assistant", "打开助手"), ("AgentStripLabel", "AI", "助手"), ("AgentSend", "Send", "发送"), ("AgentStop", "Stop", "中断"), ("AgentPlaceholder", "Message the simulated assistant…", "给模拟助手发消息…"), ("AgentEmptyTitle", "Nothing in this session yet", "这个会话还没有内容"), ("AgentEmptyBody", "Ask about instances, downloads or logs. This assistant is simulated: no real model is connected.", "可以问实例、下载或日志。当前是模拟助手,没有接真实模型。"), ("AgentNotePending", "Placeholder shell: your message is kept here, nothing was sent to a model.", "占位外壳:消息留在这里,没有发给任何模型。"), ("AgentNoteStopped", "Stopped by you.", "你中断了这次回复。"), ("AgentUnread", "{count} unread", "{count} 条未读"), ("AgentResize", "Drag to resize the assistant rail", "拖动调整助手栏宽度"), ("AgentWidthLabel", "Width {width}", "宽度 {width}"), ("AgentRoleYou", "You", "你"), ("AgentRoleAssistant", "Assistant", "助手"), ("AgentRoleNotice", "Notice", "提示"), ("AgentErrorTitle", "Assistant error", "助手出错"), ("AgentErrorUnavailable", "Couldn't reach the assistant backend. Check the endpoint, then try again.", "连不上助手后端:检查端点后重试。"), ("AgentErrorNotImplemented", "This assistant request isn't wired up yet.", "这个助手请求还没接线。"), ("AgentConfirmRequest", "The assistant wants to change something: {summary}", "助手想改一项设置:{summary}"), ("AgentConfirmAllow", "Allow", "允许"), ("AgentConfirmDeny", "Deny", "拒绝"), ("AgentSimulated", "Simulated", "模拟"), ("AgentSubtitleReal", "Conversation", "会话"), ("AgentPlaceholderReal", "Message the assistant…", "给助手发消息…"), ("AgentEmptyBodyReal", "Ask about instances, downloads or logs.", "可以问实例、下载或日志。"), ("SettingsLanguageFollowSystem", "Follow system", "跟随系统"), ("SettingsLanguageZhCn", "Chinese (Simplified)", "简体中文"), ("SettingsLanguageEn", "English", "英文"), ("SettingsLanguageEffective", "Interface right now: {language}", "界面当前使用:{language}"), ("SettingsTheme", "Theme", "主题"), ("SettingsThemeFollowSystem", "Follow system", "跟随系统"), ("SettingsStartupPage", "Startup page", "启动页"), ("SettingsStartupInstances", "Instances", "实例"), ("SettingsCloseButton", "Close button", "关闭按钮"), ("SettingsCloseToTray", "Exit to tray", "退出到托盘"), ("SettingsSubtitle", "Launcher behaviour, Java runtimes and download sources", "启动器行为、Java 运行时与下载源"), ("SettingsResetSection", "Reset section", "重置本组"), ("SettingsSave", "Save", "保存"), ("NavAi", "Assistant", "助手"), ("SettingsGroupGeneral", "General", "通用"), ("SettingsGroupAppearance", "Appearance", "外观"), ("SettingsGroupJava", "Java", "Java 运行时"), ("SettingsGroupDownloads", "Downloads", "下载"), ("SettingsOverridesEmptyTitle", "No per-instance overrides", "没有逐实例覆盖"), ("SettingsOverridesEmptyBody", "Overrides let one instance keep its own Java runtime, memory or JVM flags while the rest of the launcher keeps the defaults above.", "逐实例覆盖让某个实例保留自己的 Java 运行时、内存或 JVM 参数,其余实例沿用上面的默认值。"), ("SettingsOverridesAdd", "Add override", "新增覆盖"), ("AgentFallbackBody", "The assistant page is not built yet. Chat lives in the docked panel once the AI mission lands; this screen is the M68 skeleton fallback.", "助手页还没做。AI 接线落地后对话会出现在右侧停靠面板;这一屏是 M68 的骨架回退。"), ("VersionRailTitle", "Version type", "版本类型"), ("VersionMajorTitle", "Major version", "主版本"), ("VersionMajorAll", "All versions", "全部版本"), ("VersionSearchPlaceholder", "Search version numbers", "搜版本号"), ("VersionSearchClear", "Clear search", "清空搜索"), ("VersionSearchHits", "{count} matches", "{count} 个匹配"), ("VersionSearchEmptyTitle", "No matching versions", "没有匹配的版本"), ("VersionSearchEmptyBody", "Try a shorter piece of the number — 1.21, 24w, a1.", "试试更短的片段 — 1.21、24w、a1。"), ("VersionSearchElsewhere", "{count} versions match, but they are in another type.", "有 {count} 个版本匹配,但它们在别的类型里。"), ("VersionSearchElsewhereAction", "Show all types", "看全部类型"), ("VersionSearchHitsOne", "1 match", "1 个匹配"), ("VersionSearchElsewhereTitle", "Found in another type", "在别的类型里找到了"), ("VersionSearchElsewhereOne", "1 version matches, but it is in another type.", "有 1 个版本匹配,但它在别的类型里。"), ("ContentTitle", "Content", "内容库"), ("ContentSubtitle", "Modpacks, mods, resource packs and shaders", "整合包、Mod、资源包与光影"), ("ContentSectionVersions", "Version management", "版本管理"), ("ContentSectionContent", "Content library", "内容库"), ("ContentKindModpack", "Modpacks", "整合包"), ("ContentKindMod", "Mods", "Mod"), ("ContentKindResourcepack", "Resource packs", "资源包"), ("ContentKindShader", "Shaders", "光影"), ("ContentSourceModrinth", "Modrinth", "Modrinth 源"), ("ContentSourceCurseforge", "CurseForge", "CurseForge 源"), ("ContentSortRelevance", "Relevance", "相关度"), ("ContentSortDownloads", "Downloads", "下载量"), ("ContentSortNewest", "Newest", "最新发布"), ("ContentSortUpdated", "Recently updated", "最近更新"), ("ContentSearchPlaceholder", "Search content…", "搜索内容…"), ("ContentSearch", "Search", "搜索"), ("ContentFilterVersion", "Game version", "游戏版本"), ("ContentFilterLoader", "Loader", "加载器"), ("ContentFilterAny", "Any", "不限"), ("ContentCount", "{count} results", "{count} 个结果"), ("ContentLoading", "Loading content…", "正在加载内容…"), ("ContentLoadingHint", "Results come from the network; nothing is cached offline yet.", "结果来自网络,暂时没有离线缓存。"), ("ContentEmptyTitle", "Nothing matched", "没有匹配的内容"), ("ContentEmptyBody", "Try another keyword, or clear a filter.", "换个关键词,或清掉一个筛选条件。"), ("ContentFailedTitle", "Could not load content", "内容加载失败"), ("ContentFailedBody", "Check the network, then retry.", "检查网络后重试。"), ("ContentOfflineTitle", "No connection", "未联网"), ("ContentOfflineBody", "Content search needs the network. Check your connection, then retry.", "内容检索需要联网。检查网络后重试。"), ("ContentRetry", "Retry", "重试"), ("ContentLoadMore", "Load more", "加载更多"), ("ContentNoMore", "No more results", "没有更多了"), ("ContentDetailEmpty", "Pick an item to see what it supports.", "选一个项目看它支持什么。"), ("ContentDetailDownloads", "{count} downloads", "下载量 {count}"), ("ContentDetailUpdated", "Updated {date}", "更新于 {date}"), ("ContentDetailLoaders", "Loaders: {list}", "加载器:{list}"), ("ContentDetailVersions", "Game versions: {list}", "游戏版本:{list}"), ("ContentDetailFetching", "Loading versions…", "正在取版本列表…"), ("ContentDetailFetchFailed", "Could not load versions: {reason}", "版本列表取不到:{reason}"), ("ContentDetailVersionCount", "{count} versions", "{count} 个版本"), ("ContentDetailVersionLine", "{number} · {kind} · {date}", "{number}({kind})· {date}"), ("ContentInstall", "Install into instance", "装入实例"), ("ContentTargetInstance", "Target instance", "目标实例"), ("ContentNoInstances", "No instance to install into", "没有可装入的实例"), ("ContentIncompatibleVersion", "Needs {version}; this instance runs {actual}", "需要 {version},该实例运行的是 {actual}"), ("ContentIncompatibleLoader", "Not built for {loader}", "不支持 {loader}"), ("ContentModpackNotReady", "Installing modpacks from the library into an instance is not available yet", "从内容库一键安装整合包到实例还没做(本地的包可以直接导入)"), ("ContentSourceUnavailable", "CurseForge needs an API key: add one in Settings", "CurseForge 需要在设置里配置密钥才能搜索"), ("ContentSourceNotWired", "Installing from CurseForge is not available yet", "CurseForge 来源的安装尚未开放"), ("PackTitle", "Modpack import & export", "整合包导入 / 导出"), ("PackImportTitle", "Import a modpack", "导入整合包"), ("PackDropHint", "Drop a .mrpack, .zip or a MultiMC/Prism instance folder here", "把 .mrpack / .zip 或 MultiMC·Prism 实例目录拖到这里"), ("PackDropActive", "Release to probe the pack", "松手开始探测"), ("PackNoDialog", "This build has no system file picker: drag the file in, or paste its path below.", "本版没有系统文件选择框:请把文件拖进来,或在下面粘贴路径。"), ("PackPathLabel", "Pack path", "整合包路径"), ("PackPathPlaceholder", "D:\\packs\\Better MC.mrpack", "D:\\整合包\\更好的MC.mrpack"), ("PackImportAction", "Import", "导入"), ("PackCancel", "Cancel import", "取消导入"), ("PackDismiss", "Dismiss", "关闭"), ("PackTargetLabel", "Install into", "装到实例"), ("PackTargetNew", "New instance", "新建实例"), ];