{ "schemaVersion": 1, "metadata": { "plugin": "homepage", "version": "2.0.0", "title": "Homepage", "description": "Open a specified note, canvas, or workspace on startup, or set it for quick access later.", "language": "zh-cn", "supportedVersions": "4.0.6", "author": "" }, "dict": { "main.js": { "ast": [], "regex": [ { "source": "Notice(\"Failed to read the daily note template\")", "target": "Notice(\"读取日志模板失败\")" }, { "source": "Notice(\"Unable to create new file.\")", "target": "Notice(\"无法创建新文件\")" }, { "source": "Notice(\"Really?\")", "target": "Notice(\"确定?\")" }, { "source": "Notice(\"Copied homepage debug information to clipboard\")", "target": "Notice(\"将主页调试信息复制到剪贴板\")" }, { "source": "Notice(\"Homepage cannot be opened due to plugin unavailablity.\")", "target": "Notice(\"由于插件不可用,主页无法打开\")" }, { "source": "Notice(`Cannot find the workspace \"${this.data.value}\" to use as the homepage.`)", "target": "Notice(`找不到工作空间 \"${this.data.value}\" 作为主页`)" }, { "source": "Notice(`Homepage \"${this.computedValue}\" does not exist.`)", "target": "Notice(`主页\"${this.computedValue}\" 不存在`)" }, { "source": "Notice(`The homepage has been changed to \"${this.data.value}\".`)", "target": "Notice(`主页已更改为 \"${this.data.value}\".`)" }, { "source": "Notice(ce)", "target": "Notice(ce)" }, { "source": ".error(`Failed to read the daily note template '${n}'`,i)", "target": ".error(`读取日志模板失败 '${n}'`,i)" }, { "source": ".error(`Failed to create file: '${d}'`,p)", "target": ".error(`创建文件失败: '${d}'`,p)" }, { "source": ".error(`Failed to create file: '${m}'`,r)", "target": ".error(`创建文件失败: '${m}'`,r)" }, { "source": "name:\"Copy debug info\"", "target": "name:\"复制调试信息\"" }, { "source": "name:\"Open homepage\"", "target": "name:\"打开主页\"" }, { "source": "name:\"Set to active file\"", "target": "name:\"设置为活动文件\"" }, { "source": "text:\"The plugin required for this homepage type isn't available.\"", "target": "text:\"此主页类型所需的插件不可用\"" }, { "source": "text:`This setting has been disabled, as it isn't compatible with Daily Notes' \"Open daily note on startup\" functionality. To use it, disable the Daily Notes setting.`", "target": "text:`此设置已被禁用,因为它与每日笔记不兼容' \"在启动时打开每日笔记\" 功能。要使用它,请禁用“每日笔记”设置`" }, { "source": "text:\"Select commands that will be executed when opening the homepage.\"", "target": "text:\"选择打开主页时要执行的命令.\"" }, { "source": "text:\"If this vault is synced using unofficial services, this may lead to content being overwritten.\"", "target": "text:\"如果使用非官方服务同步此保险库,则可能导致内容被覆盖\"" }, { "source": "text:\"Requires Dataview auto-refresh to be enabled.\"", "target": "text:\"要求启用Dataview自动刷新\"" }, { "source": ".setButtonText(\"Add...\")", "target": ".setButtonText(\"添加...\")" }, { "source": ".setButtonText(\"Copy debug info\")", "target": ".setButtonText(\"复制调试信息\")" }, { "source": ".setName(\"Homepage\")", "target": ".setName(\"主页\")" }, { "source": ".setName(\"Separate mobile homepage\")", "target": ".setName(\"单独的移动设备首页\")" }, { "source": ".setDesc(\"For mobile devices, store the homepage and its settings separately.\")", "target": ".setDesc(\"对于移动设备,单独存储主页及其设置。\")" }, { "source": ".addHeading(\"Commands\",\"commandsHeading\")", "target": ".addHeading(\"命令\",\"命令标题\")" }, { "source": ".addHeading(\"Vault environment\",\"vaultHeading\")", "target": ".addHeading(\"库环境\",\"库标题\")" }, { "source": ".addHeading(\"Opened view\",\"paneHeading\")", "target": ".addHeading(\"打开视图\",\"面板标题\")" }, { "source": ".addToggle(\"Open on startup\",\"When launching Obsidian, open the homepage.\",\"openOnStartup\",d=>this.display())", "target": ".addToggle(\"启动时打开\",\"当Obsidian启动时, 打开主页.\",\"openOnStartup\",d=>this.display())" }, { "source": ".addToggle(\"Open when empty\",\"When there are no tabs open, open the homepage.\",\"openWhenEmpty\")", "target": ".addToggle(\"为空时打开\",\"当标签页为空时,打开主页.\",\"openWhenEmpty\")" }, { "source": ".addToggle(\"Use when opening normally\",\"Use homepage settings when opening it normally, such as from a link or the file browser.\",\"alwaysApply\")", "target": ".addToggle(\"打开时应用设置\",\"当主页正常打开时,应用主页设置,比如从链接或文件管理器打开\",\"alwaysApply\")" }, { "source": ".addDropdown(\"Opening method\",\"Determine how extant tabs and views are affected on startup.\"", "target": ".addDropdown(\"开启方式\",\"确定启动时现有选项卡和视图如何受到影响。\"" }, { "source": ".addDropdown(\"Manual opening method\",\"Determine how extant tabs and views are affected when opening with commands or the ribbon button.\"", "target": ".addDropdown(\"确定启动时现有选项卡和视图如何受到影响。\",\"确定使用命令或功能区按钮打开时对现有选项卡和视图的影响。\"" }, { "source": "addDropdown(\"Homepage view\",\"Choose what view to open the homepage in.\"", "target": "addDropdown(\"主页视图\",\"主页视图\"" }, { "source": ".addToggle(\"Pin\",\"Pin the homepage when opening.\"", "target": ".addToggle(\"固定\",\"打开时固定主页。\"" }, { "source": ".addToggle(\"Hide release notes\",\"Never display release notes when Obsidian updates.\"", "target": ".addToggle(\"隐藏发行说明\",\"Obsidian更新时从不显示发行说明。\"" }, { "source": ".addToggle(\"Auto-create\",\"When the homepage doesn't exist, create a note with its name.\"", "target": ".addToggle(\"自动创建\",\"当主页不存在时,创建一个带有其名称的注释。\"" }, { "source": ".addToggle(\"Revert view on close\",\"When navigating away from the homepage, restore the default view.\"", "target": ".addToggle(\"关闭时恢复视图\",\"离开主页时,恢复默认视图。\"" }, { "source": ".addToggle(\"Auto-scroll\",\"When opening the homepage, scroll to the bottom and focus on the last line.\"", "target": ".addToggle(\"自动滚动\",\"打开主页时,滚动到底部并专注于最后一行。\"" }, { "source": ".addToggle(\"Refresh Dataview\",\"Always attempt to reload Dataview views when opening the homepage.\"", "target": ".addToggle(\"刷新数据视图\",\"打开主页时,始终尝试重新加载Dataview视图。\"" }, { "source": "\"Enter a note or canvas to use.\"", "target": "\"输入要使用的笔记或白板。\"" }, { "source": "\"Enter an Obsidian workspace to use.\"", "target": "\"输入要使用的Obsidian工作区。\"" }, { "source": "\"Your graph view will be used.\"", "target": "\"将使用您的图形视图。\"" }, { "source": "\"Nothing will occur by default. Any commands added will still take effect.\"", "target": "\"默认情况下不会发生任何事情。添加的任何命令仍将生效。\"" }, { "source": "\"A random note or canvas from your Obsidian folder will be selected.\"", "target": "\"将从您的Obsidian文件夹中随机选择一个笔记或白板。\"" }, { "source": "\"Your Daily Note or Periodic Daily Note will be used.\"", "target": "\"将使用您的日记或定期日记。\"" }, { "source": "\"Your Periodic Weekly Note will be used.\"", "target": "\"将使用您的定期周报。\"" }, { "source": "\"Your Periodic Monthly Note will be used.\"", "target": "\"将使用您的定期月报。\"" }, { "source": "\"Your Periodic Yearly Note will be used.\"", "target": "\"将使用您的定期年报。\"" }, { "source": "i.Default=\"Default view\",i.Reading=\"Reading view\",i.Source=\"Editing view (Source)\",i.LivePreview=\"Editing view (Live Preview)\"", "target": "i.Default=\"默认视图\",i.Reading=\"阅读视图\",i.Source=\"编辑视图(源码)\",i.LivePreview=\"编辑视图(实时预览)\"" }, { "source": "\"Replace last note\"", "target": "\"替换最后一个笔记\"" }, { "source": "\"Keep open notes\"", "target": "\"保持打开的笔记\"" }, { "source": "\"Replace all open notes\"", "target": "\"替换所有打开的笔记\"" }, { "source": ".addRibbonIcon(\"homepage\",\"Open homepage\"", "target": ".addRibbonIcon(\"homepage\",\"打开主页\"" }, { "source": "\"Enter a folder. A random note or canvas from it will be selected.\"", "target": "\"输入文件夹路径,系统将从中随机选择一个笔记或画布。\"" }, { "source": "\"File\"", "target": "\"文件\"" }, { "source": "\"Workspace\"", "target": "\"工作区\"" }, { "source": "\"Random file\"", "target": "\"随机文件\"" }, { "source": "\"Random in folder\"", "target": "\"随机选择文件夹内文件\"" }, { "source": "\"Graph view\"", "target": "\"图谱视图\"" }, { "source": "\"Nothing\"", "target": "\"无\"" }, { "source": "\"Daily Note\"", "target": "\"每日笔记\"" }, { "source": "\"Weekly Note\"", "target": "\"每周笔记\"" }, { "source": "\"Monthly Note\"", "target": "\"每月笔记\"" }, { "source": "\"Yearly Note\"", "target": "\"年度笔记\"" }, { "source": "\"Open on startup\"", "target": "\"启动时自动打开\"" }, { "source": "\"When launching Obsidian, open the homepage.\"", "target": "\"启动 Obsidian 时自动打开主页\"" } ] } } }