Module:Documentation/config:修订间差异

删除的内容 添加的内容
新增 start-box-link-id 和 sandbox-class 配置
清理 -{}- 语法,只保留简体中文
 
第1行:
-- Module:Documentation/config
-- 简体中文配置,使用 -{}- (无法支持言转换),配合纯繁变站点使用
-- message() 函数会通过 frame:preprocess() 处理这些转换标签,但配置中已不含 -{}- 语法
return {
-- 子页面名称(技术标识,不需要转换)
第12行:
['templatestyles'] = 'Module:Documentation/styles.css',
 
-- CSS 类名(技术标识,不需要转换
['toolbar-class'] = 'documentation-toolbar',
['container'] = 'documentation-container',
第27行:
-- 标题文字
['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]',
['template-namespace-heading'] = '-{zh-hans:模板文档; zh-hant:模板說明;}-',
['module-namespace-heading'] = '-{zh-hans:模块文档; zh-hant:模組說明;}-',
['file-namespace-heading'] = '-{zh-hans:摘要; zh-hant:摘要;}-',
['other-namespaces-heading'] = '-{zh-hans:文档; zh-hant:文件;}-',
 
-- 链接显示文字
['view-link-display'] = '-{zh-hans:查看; zh-hant:檢視;}-',
['edit-link-display'] = '-{zh-hans:编辑; zh-hant:編輯;}-',
['history-link-display'] = '-{zh-hans:查看历史; zh-hant:檢視歷史;}-',
['purge-link-display'] = '-{zh-hans:清除缓存; zh-hant:清除快取;}-',
['create-link-display'] = '-{zh-hans:创建; zh-hant:建立;}-',
 
-- 预加载模板路径
第51行:
-- 沙盒提示文案
['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]',
['sandbox-notice-pagetype-template'] = '-{zh-hans:模板沙盒页; zh-hant:模板沙盒頁;}-',
['sandbox-notice-pagetype-module'] = '-{zh-hans:模块沙盒页; zh-hant:模組沙盒頁;}-',
['sandbox-notice-pagetype-other'] = '-{zh-hans:沙盒页; zh-hant:沙盒頁;}-',
['sandbox-notice-blurb'] = '-{zh-hans:这是$1的$2。; zh-hant:這是$1的$2。;}-',
['sandbox-notice-diff-blurb'] = '-{zh-hans:这是$1的$2($3)。; zh-hant:這是$1的$2($3)。;}-',
['sandbox-notice-compare-link-display'] = '-{zh-hans:差异; zh-hant:差異;}-',
['sandbox-notice-testcases-link-display'] = '-{zh-hans:测试样例; zh-hant:測試樣例;}-',
['sandbox-notice-testcases-blurb'] = '-{zh-hans:另请参阅$1的配套子页面。; zh-hant:另請參閱$1的配套子頁面。;}-',
['sandbox-notice-testcases-run-link-display'] = '-{zh-hans:执行; zh-hant:執行;}-',
['sandbox-notice-testcases-run-blurb'] = '-{zh-hans:另请参阅$1的配套子页面$2($3)。; zh-hant:另請參閱$1的配套子頁面$2($3)。;}-',
-- 修复:补充 $3 对应 testcasesRunLink(执行链接)
['sandbox-notice-testcases-run-blurb'] = '-{zh-hans:另请参阅$1的配套子页面$2($3)。; zh-hant:另請參閱$1的配套子頁面$2($3)。;}-',
 
-- 分类名称
['sandbox-category'] = '-{zh-hans:模板沙盒; zh-hant:模板沙盒;}-',
['module-sandbox-category'] = '-{zh-hans:模块沙盒; zh-hant:模組沙盒;}-',
['other-sandbox-category'] = '-{zh-hans:沙盒; zh-hant:沙盒;}-',
 
-- 嵌入来源提示
['transcluded-from-blurb'] = '-{zh-hans:上述文档嵌入自$1。; zh-hant:上述文件嵌入自$1。;}-',
['create-module-doc-blurb'] = '-{zh-hans:您可以$1此Scribunto模块的文档页。; zh-hant:您可以$1此Scribunto模組的文件頁。;}-',
 
-- 实验区提示
['experiment-blurb-template'] = '-{zh-hans:编者可以在本模板的$1和$2页面进行实验。; zh-hant:編者可以在本模板的$1和$2頁面進行實驗。;}-',
['experiment-blurb-module'] = '-{zh-hans:编者可以在本模块的$1和$2页面进行实验。; zh-hant:編者可以在本模組的$1和$2頁面進行實驗。;}-',
 
-- 沙盒链接显示
['sandbox-link-display'] = '-{zh-hans:沙盒; zh-hant:沙盒;}-',
['sandbox-edit-link-display'] = '-{zh-hans:编辑; zh-hant:編輯;}-',
['sandbox-create-link-display'] = '-{zh-hans:创建; zh-hant:建立;}-',
['compare-link-display'] = '-{zh-hans:差异; zh-hant:差異;}-',
['mirror-link-display'] = '-{zh-hans:镜像; zh-hant:鏡像;}-',
['mirror-edit-summary'] = '-{zh-hans:创建$1的沙盒版本; zh-hant:建立$1的沙盒版本;}-',
 
-- 测试样例
['testcases-link-display'] = '-{zh-hans:测试样例; zh-hant:測試樣例;}-',
['testcases-edit-link-display'] = '-{zh-hans:编辑; zh-hant:編輯;}-',
['testcases-create-link-display'] = '-{zh-hans:创建; zh-hant:建立;}-',
['testcases-run-link-display'] = '-{zh-hans:执行; zh-hant:執行;}-',
 
-- /doc 链接
['doc-link-display'] = '/doc',
['add-categories-blurb'] = '-{zh-hans:请将分类添加至$1子页面。; zh-hant:請將分類添加至$1子頁面。;}-',
 
-- 页面类型
['template-pagetype'] = '-{zh-hans:模板; zh-hant:模板;}-',
['module-pagetype'] = '-{zh-hans:模块; zh-hant:模組;}-',
['default-pagetype'] = '-{zh-hans:页面; zh-hant:頁面;}-',
 
-- 子页面链接
['subpages-link-display'] = '-{zh-hans:本$1的子页面; zh-hant:本$1的子頁面;}-',
['subpages-blurb'] = '-{zh-hans:$1。; zh-hant:$1。;}-',
 
-- Print 版本
['print-link-display'] = '/Print',
['print-blurb'] = '-{zh-hans:此模板有$1打印版本。如修改此模板,请同时更新打印版本。; zh-hant:此模板有$1列印版本。如修改此模板,請同時更新列印版本。;}-',
['display-print-category'] = false,
['print-category'] = '-{zh-hans:有打印版本的模板; zh-hant:有列印版本的模板;}-',
 
-- 跟踪分类
['display-strange-usage-category'] = false,
['strange-usage-category'] = '-{zh-hans:有奇怪((documentation))用法的页面; zh-hant:有奇怪((documentation))用法的頁面;}-',
}