{ "schemaVersion": 1, "metadata": { "plugin": "obsidian42-brat", "version": "2.0.0", "title": "BRAT", "description": "Easily install a beta version of a plugin for testing.", "language": "zh-cn", "supportedVersions": "1.0.6", "author": "" }, "dict": { "main.js": { "ast": [], "regex": [ { "source": "name:\"Plugins: Open Plugin Settings Tab\"", "target": "name:\"插件:打开插件设置选项卡\"" }, { "source": "name:\"Themes: Update beta themes\"", "target": "name:\"主题:更新测试版主题\"" }, { "source": "name:\"All Commands list\"", "target": "name:\"所有命令列表\"" }, { "source": "text:\"Never mind\"", "target": "text:\"没关系\"" }, { "source": "text:\"Add Plugin\"", "target": "text:\"添加插件\"" }, { "source": "text:\"Add Theme\"", "target": "text:\"添加主题\"" }, { "source": ".setButtonText(\"Add Beta plugin\")", "target": ".setButtonText(\"添加测试版插件\")" }, { "source": ".setName(\"Auto-enable plugins after installation\")", "target": ".setName(\"安装后自动启用插件\")" }, { "source": ".setName(\"Auto-update plugins at startup\")", "target": ".setName(\"启动时自动更新插件\")" }, { "source": ".setName(\"Auto-update themes at startup\")", "target": ".setName(\"启动时自动更新主题\")" }, { "source": ".setName(\"Enable Notifications\")", "target": ".setName(\"启用通知\")" }, { "source": ".setName(\"Enable Logging\")", "target": ".setName(\"启用日志记录\")" }, { "source": ".setName(\"Enable Verbose Logging\")", "target": ".setName(\"启用详细日志记录\")" }, { "source": ".setName(\"Debugging Mode\")", "target": ".setName(\"调试模式\")" }, { "source": ".setName(\"Personal Access Token\")", "target": ".setName(\"个人访问令牌\")" }, { "source": ".setDesc(\"Get a lot more information in the log.\")", "target": ".setDesc(\"在日志中获取更多信息。\")" }, { "source": ".setPlaceholder(\"Enter your personal access token\")", "target": ".setPlaceholder(\"输入您的个人访问令牌\")" }, { "source": ".setTooltip(\"Delete this beta plugin\")", "target": ".setTooltip(\"删除此测试版插件\")" }, { "source": ".setTooltip(\"Delete this beta theme\")", "target": ".setTooltip(\"删除此测试版主题\")" }, { "source": ".appendText(\"Enable after installing the plugin\")", "target": ".appendText(\"安装插件后启用\")" }, { "source": ".innerText=\"https://tfthacker.com\"", "target": ".innerText=\"https://tfthacker.com\"" }, { "source": "text:\"Note: \"", "target": "text:\"注意:\"" }, { "source": ".setPlaceholder(\"Example: BRAT-log\")", "target": ".setPlaceholder(\"示例:BRAT日志\")" }, { "source": "Notice(\"Failed to read the daily note template\")", "target": "Notice(\"无法读取每日笔记模板\")" }, { "source": "Notice(\"Unable to create new file.\")", "target": "Notice(\"无法创建新文件。\")" }, { "source": ".log(\"error in isPrivateRepo\",e,i)", "target": ".log(\"私有仓库错误\",e,i)" }, { "source": ".log(\"error in grabReleaseFileFromRepository\",URL,o)", "target": ".log(\"从仓库获取发布文件时出错\",URL,o)" }, { "source": ".log(\"grabManifestJsonFromRepository manifestJsonPath\",i)", "target": ".log(\"从仓库获取manifestJson文件路径\",i)" }, { "source": ".log(\"Token validation error:\",g)", "target": ".log(\"令牌验证错误:\",g)" }, { "source": ".log(\"Token valid:\",a)", "target": ".log(\"令牌有效:\",a)" }, { "source": ".log(\"grabManifestJsonFromRepository response\",l)", "target": ".log(\"从仓库获取清单JSON响应\",l)" }, { "source": ".log(`error in grabManifestJsonFromRepository for ${i}`,l)", "target": ".log(`在从仓库 ${i} 抓取 manifest.json 时出错`,l)" }, { "source": ".log(\"error in grabCommmunityPluginList\",n)", "target": ".log(\"获取社区插件列表时出错\",n)" }, { "source": ".log(\"error in grabCommmunityThemesList\",n)", "target": ".log(\"获取社区主题列表时出错\",n)" }, { "source": ".log(\"error in grabCommmunityThemeCssFile\",i)", "target": ".log(\"获取社区主题CSS文件时出错\",i)" }, { "source": ".log(\"error in grabCommmunityThemeManifestFile\",e)", "target": ".log(\"获取社区主题清单文件时出错\",e)" }, { "source": ".log(\"error in grabLastCommitInfoForAFile\",i)", "target": ".log(\"获取文件最后提交信息时出错\",i)" }, { "source": ".log({reallyGetManifestOrNot:a,version:o})", "target": ".log({reallyGetManifestOrNot:a,version:o})" }, { "source": ".log(\"BRAT: addPlugin\",t,n,e,i,o,a,l)", "target": ".log(\"BRAT:添加插件\",t,n,e,i,o,a,l)" }, { "source": ".log(`${t} reinstalled`,!0)", "target": ".log(`${t} 已重新安装`,!0)" }, { "source": ".log(\"BRAT - Local Manifest Load\",r.id,JSON.stringify(w,null,2)", "target": ".log(\"BRAT - 本地清单加载\",r.id,JSON.stringify(w,null,2)" }, { "source": ".log(\"reload plugin\",e)", "target": ".log(\"重新加载插件\",e)" }, { "source": ".log(\"BRAT: No internet detected.\")", "target": ".log(\"BRAT:未检测到网络连接。\")" }, { "source": ".log(e,!0)", "target": ".log(e,!0)" }, { "source": ".log(\"BRAT: lastUpdateOnline\",a)", "target": ".log(\"BRAT:在线最后更新时间\",a)" }, { "source": ".log(`${e.display} plugin disabled`,!1)", "target": ".log(`${e.display} 插件已禁用`,!1)" }, { "source": ".log(`BRAT: ${t}`,...n)", "target": ".log(`BRAT: ${t}`,...n)" }, { "source": ".log(`BRAT: ${t}`)", "target": ".log(`BRAT: ${t}`)" }, { "source": ".log(`loading ${this.APP_NAME}`)", "target": ".log(`正在加载 ${this.APP_NAME}`)" }, { "source": " log(n,e=!1)", "target": " log(n,e=!1)" }, { "source": ".log(`unloading ${this.APP_NAME}`)", "target": ".log(`正在卸载 ${this.APP_NAME}`)" }, { "source": ".error(`Failed to read the daily note template '${e}'`,i)", "target": ".error(`无法读取每日笔记模板 '${e}'`,i)" }, { "source": ".error(`Failed to create file: '${p}'`,T)", "target": ".error(`创建文件失败: '${p}'`,T)" }, { "source": ".error(`Failed to create file: '${g}'`,r)", "target": ".error(`无法创建文件:'${g}'`,r)" }, { "source": ".error(\"BRAT: validateRepository\",t,n,e)", "target": ".error(\"BRAT:验证仓库\",t,n,e)" }, { "source": ".error(\"Failed to load settings:\",n)", "target": ".error(\"无法加载设置:\",n)" }, { "source": ".setDesc(\"If you need to access private repositories, enter the personal access token here.\")", "target": ".setDesc(\"如需访问私有仓库,请在此处输入个人访问令牌。\")" }, { "source": ".setPlaceholder(\"Repository (example: https://github.com/GitubUserName/repository-name)\")", "target": ".setPlaceholder(\"仓库(示例:https://github.com/GitubUserName/repository-name)\")" }, { "source": ".setPlaceholder(\"Repository (example: https://github.com/GitubUserName/repository-name\")", "target": ".setPlaceholder(\"仓库(示例:https://github.com/GitubUserName/repository-name)\")" }, { "source": ".setDesc(\n 'If enabled beta plugins will be automatically enabled after installtion by default. Note: you can toggle this on and off for each plugin in the \"Add Plugin\" form.'\n )", "target": ".setDesc(\n '如果启用,默认情况下,Beta插件将在安装后自动启用。注意:您可以在“添加插件”表单中为每个插件切换此功能。'\n )" }, { "source": ".setDesc(\n \"If enabled all beta plugins will be checked for updates each time Obsidian starts. Note: this does not update frozen version plugins.\"\n )", "target": ".setDesc(\n \"如果启用,每次启动Obsidian时都会检查所有测试版插件是否有更新。注意:这不会更新已冻结版本的插件。\"\n )" }, { "source": ".setDesc(\n \"If enabled all beta themes will be checked for updates each time Obsidian starts.\"\n )", "target": ".setDesc(\n \"如果启用,每次启动Obsidian时都会检查所有测试版主题是否有更新。\"\n )" }, { "source": ".setDesc(\n \"BRAT will provide popup notifications for its various activities. Turn this off means no notifications from BRAT.\"\n )", "target": ".setDesc(\n \"BRAT将为各种活动提供弹出通知。关闭此选项表示BRAT将不会显示任何通知。\"\n )" }, { "source": ".setDesc(\n \"Atomic Bomb level console logging. Can be used for troubleshoting and development.\"\n )", "target": ".setDesc(\n \"原子弹级控制台日志。可用于故障排除和开发。\"\n )" }, { "source": ".setPlaceholder(\n \"Repository (example: https://github.com/GitubUserName/repository-name\"\n )", "target": ".setPlaceholder(\n \"仓库(例如:https://github.com/GitubUserName/repository-name)\"\n )" }, { "source": ".setPlaceholder(\n \"Repository (example: https://github.com/GitubUserName/repository-name)\"\n )", "target": ".setPlaceholder(\n \"仓库(例如:https://github.com/GitubUserName/repository-name)\"\n )" }, { "source": ".innerText = \"Learn more about my work at:\"", "target": ".innerText = \"了解我的工作请访问:\"" }, { "source": "text: \"Add Plugin\"", "target": "text: \"添加插件\"" }, { "source": "text: \"Add Theme\"", "target": "text: \"添加主题\"" }, { "source": "text: \"Never mind\"", "target": "text: \"取消\"" }, { "source": "text: \"This does not delete the plugin, this should be done from the Community Plugins tab in Settings.\"", "target": "text: \"这不会删除插件,您应该从“设置”中的“社区插件”选项卡中删除它。\"" }, { "source": "name: \"Plugins: Add a beta plugin for testing\"", "target": "name: \"插件: 添加一个测试版插件进行测试\"" }, { "source": "name: \"Plugins: Add a beta plugin with frozen version based on a release tag\"", "target": "name: \"插件: 根据发布标签添加一个版本冻结的测试版插件\"" }, { "source": "name: \"Plugins: Check for updates to all beta plugins and UPDATE\"", "target": "name: \"插件: 检查所有测试版插件的更新并进行更新\"" }, { "source": "name: \"Plugins: Only check for updates to beta plugins, but don't Update\"", "target": "name: \"插件: 仅检查测试版插件的更新,但不进行更新\"" }, { "source": "name: \"Plugins: Choose a single plugin version to update\"", "target": "name: \"插件: 选择一个插件版本进行更新\"" }, { "source": "name: \"Plugins: Choose a single plugin to reinstall\"", "target": "name: \"插件: 选择一个插件进行重新安装\"" }, { "source": "name: \"Plugins: Restart a plugin that is already installed\"", "target": "name: \"插件: 重启已安装的插件\"" }, { "source": "name: \"Plugins: Disable a plugin - toggle it off\"", "target": "name: \"插件: 禁用插件 - 关闭它\"" }, { "source": "name: \"Plugins: Enable a plugin - toggle it on\"", "target": "name: \"插件: 启用插件 - 开启它\"" }, { "source": "name: \"Plugins: Open the GitHub repository for a plugin\"", "target": "name: \"插件: 打开插件的GitHub仓库\"" }, { "source": "name: \"Themes: Open the GitHub repository for a theme (appearance)\"", "target": "name: \"主题: 打开主题的GitHub仓库(外观)\"" }, { "source": "name: \"Plugins: Open Plugin Settings Tab\"", "target": "name: \"插件: 打开插件设置选项卡\"" }, { "source": "name: \"Themes: Grab a beta theme for testing from a Github repository\"", "target": "name: \"主题: 从GitHub仓库获取测试版主题进行测试\"" }, { "source": "name: \"Themes: Update beta themes\"", "target": "name: \"主题: 更新测试版主题\"" }, { "source": "name: \"All Commands list\"", "target": "name: \"所有命令列表\"" }, { "source": ".createEl(\"h4\", { text: \"Github repository for beta theme:\" })", "target": ".createEl(\"h4\", { text: \"Github仓库中的beta主题:\" })" }, { "source": ".createEl(\"h2\", { text: \"Beta Plugin List\" })", "target": ".createEl(\"h2\", { text: \"Beta插件列表\" })" }, { "source": ".createEl(\"div\", {\n text: `The following is a list of beta plugins added via the command palette \"Add a beta plugin for testing\" or \"Add a beta plugin with frozen version for testing\". A frozen version is a specific release of a plugin based on its releease tag. `\n })", "target": ".createEl(\"div\", {\n text: `以下是通过命令面板\"添加测试版插件\"或\"添加带冻结版本的测试版插件\"添加的测试版插件列表。冻结版本是基于插件的发布标签而定的特定版本。`\n })" }, { "source": ".createEl(\"div\", {\n text: `Click the x button next to a plugin to remove it from the list.`\n })", "target": ".createEl(\"div\", {\n text: `点击插件旁边的 x 按钮,以将其从列表中移除。`\n })" }, { "source": ".createEl(\"b\", { text: \"Note: \" })", "target": ".createEl(\"b\", { text: \"注释: \" })" }, { "source": ".createEl(\"h2\", { text: \"Beta Themes List\" })", "target": ".createEl(\"h2\", { text: \"Beta主题列表\" })" }, { "source": ".createEl(\"h2\", { text: \"Monitoring\" })", "target": ".createEl(\"h2\", { text: \"检查\" })" }, { "source": ".createEl(\"h4\", { text: \"Github repository for beta plugin:\" })", "target": ".createEl(\"h4\", { text: \"测试版插件的Github仓库:\" })" }, { "source": ".Notice(\"Failed to read the daily note template\")", "target": ".Notice(\"无法读取每日笔记模板\")" }, { "source": ".Notice(\"Unable to create new file.\")", "target": ".Notice(\"无法创建新文件\")" }, { "source": "\"There is no theme.css or theme-beta.css file in the root path of this repository, so there is no theme to install.\"", "target": "\"此仓库的根路径中没有theme.css或theme-beta.css文件,因此没有可安装的主题。\"" }, { "source": "\"There is no manifest.json file in the root path of this repository, so theme cannot be installed.\"", "target": "\"此仓库的根路径中没有manifest.json文件,因此无法安装主题。\"" }, { "source": "${manifestInfo.name} theme installed from ${cssGithubRepository}. ", "target": "从 ${cssGithubRepository} 安装了 ${manifestInfo.name} 主题。 " }, { "source": "${manifestInfo.name} theme updated from ${cssGithubRepository}.", "target": "从 ${cssGithubRepository} 更新了 ${manifestInfo.name} 主题。" }, { "source": "console.info(\"No custom daily note settings found!\", err);", "target": "console.info(\"未找到自定义每日笔记设置!\", err);" }, { "source": "console.info(\"No custom weekly note settings found!\", err);", "target": "console.info(\"未找到自定义每周笔记设置!\", err);" }, { "source": "console.info(\"No custom monthly note settings found!\", err);", "target": "console.info(\"未找到自定义每月笔记设置!\", err);" }, { "source": "console.info(\"No custom quarterly note settings found!\", err);", "target": "console.info(\"未找到自定义季度笔记设置!\", err);" }, { "source": "console.info(\"No custom yearly note settings found!\", err);", "target": "console.info(\"未找到自定义年度笔记设置!\", err);" }, { "source": "console.error(`Failed to read the daily note template '${templatePath}'`, err);", "target": "console.error(`无法读取每日笔记模板 '${templatePath}'`, err);" }, { "source": "console.error(`Failed to create file: '${normalizedPath}'`, err);", "target": "console.error(`创建文件失败:'${normalizedPath}'`, err);" }, { "source": "Checking for beta theme updates STARTED", "target": "开始检查测试版主题更新" }, { "source": "Checking for beta theme updates COMPLETED", "target": "检查测试版主题更新完成" }, { "source": "Removed ${cssGithubRepository} from BRAT themes list and will no longer be updated. However, the theme files still exist in the vault. To remove them, go into Settings > Appearance and remove the theme.", "target": "已从BRAT主题列表中移除${cssGithubRepository},并将不再进行更新。但是,主题文件仍存在于保险库中。要删除它们,请转到“设置”>“外观”并删除该主题。" }, { "source": "This theme is already in the list for beta testing", "target": "此主题已在测试版列表中" }, { "source": "This does not seem to be an obsidian plugin, as there is no manifest.json file.", "target": "这似乎不是一个Obsidian插件,因为没有找到manifest.json文件。" }, { "source": "The plugin id attribute for the release is missing from the manifest file", "target": "发布信息的manifest文件中缺少id属性" }, { "source": "The version attribute for the release is missing from the manifest file", "target": "发布信息的manifest文件中缺少version属性" }, { "source": "This plugin is already in the list for beta testing", "target": "此插件已在测试版列表中" }, { "source": "A manifest.json or manifest-beta.json file does not exist in the root directory of the repository. This plugin cannot be installed.", "target": "仓库的根目录中不存在manifest.json或manifest-beta.json文件。无法安装此插件。" }, { "source": "The manifest${usingBetaManifest ? \"-beta\" : \"\"}.json file in the root directory of the repository does not have a version number in the file. This plugin cannot be installed.", "target": "仓库根目录中的manifest${usingBetaManifest ? \"-beta\" : \"\"}.json文件中没有版本号。无法安装此插件。" }, { "source": "The manifest${usingBetaManifest ? \"-beta\" : \"\"}.json for this plugin indicates that the Obsidian version of the app needs to be ${primaryManifest.minAppVersion}, but this installation of Obsidian is ${import_obsidian7.apiVersion}.", "target": "此插件的manifest${usingBetaManifest ? \"-beta\" : \"\"}.json 文件表明,Obsidian应用程序的版本需要为 ${primaryManifest.minAppVersion}, 但当前安装的Obsidian版本为 ${import_obsidian7.apiVersion}。" }, { "source": "You will need to update your Obsidian to use this plugin or contact the plugin developer for more information.", "target": "您需要更新Obsidian以使用此插件,或联系插件开发者以获取更多信息。" }, { "source": "The release is not complete and cannot be download. main.js is missing from the Release", "target": "此版本不完整,无法下载。发布版中缺少main.js文件。" }, { "source": "Plugin has been reinstalled and reloaded.", "target": "插件已重新安装并重新加载。" }, { "source": "The plugin has been registered with BRAT.", "target": "插件已向BRAT注册。" }, { "source": "The version of ${repositoryPath} is frozen, not updating.", "target": "${repositoryPath}的版本已冻结,不会更新。" }, { "source": "There is an update available for ${primaryManifest.id} from version ${localManifestJson.version} to ${primaryManifest.version}. ", "target": "${primaryManifest.id} 有可用更新,从版本 ${localManifestJson.version} 更新到 ${primaryManifest.version}. " }, { "source": "[Release Info]", "target": "[发布信息]" }, { "source": "No update available for ${repositoryPath}", "target": "没有 ${repositoryPath} 的可用更新" }, { "source": "Update of plugin failed.", "target": "插件更新失败。" }, { "source": "Checking for plugin updates STARTED", "target": "开始检查插件更新..." }, { "source": "Checking for plugin updates COMPLETED", "target": "检查插件更新完成。" }, { "source": "Removed ${repositoryPath} from BRAT plugin list", "target": "已从BRAT插件列表中移除 ${repositoryPath}" }, { "source": "---- Core Plugin Settings ----", "target": "---- 核心插件设置 ----" }, { "source": "---- Plugin Settings ----", "target": "---- 插件设置 ----" }, { "source": "Could not locate the repository from the URL.", "target": "无法从URL定位仓库。" }, { "source": "Checking for updates for ${results.info}", "target": "正在检查 ${results.info} 的更新..." }, { "source": "Reinstalling ${results.info}", "target": "正在重新安装 ${results.info}" }, { "source": "Plugin reloading .....", "target": "插件重新加载中....." }, { "source": "${results.display} plugin disabled", "target": "${results.display} 插件已禁用" }, { "source": "${results.display} plugin enabled", "target": "${results.display} 插件已开启" }, { "source": "If you need to access private repositories, enter the personal access token here.", "target": "如果您需要访问私有存储库,请在此处输入个人访问令牌。" } ] } } }