29 changed files with 1085 additions and 67 deletions
@ -1,6 +1,7 @@ |
|||
export type * from './app'; |
|||
export type * from './basic'; |
|||
export type * from './helper'; |
|||
export type * from './languages'; |
|||
export type * from './menu-record'; |
|||
export type * from './tabs'; |
|||
export type * from './vue-router'; |
|||
|
|||
@ -0,0 +1,28 @@ |
|||
/** |
|||
* 支持的语言注册表(核心默认语言)。 |
|||
* |
|||
* 接口值仅为文档用途的语言标签,类型系统只消费键。 |
|||
* 应用如需扩展语言,无需改动核心包,只需在应用内新建 d.ts 文件, |
|||
* 通过模块增强(declaration merging)追加语言键: |
|||
* |
|||
* ```ts
|
|||
* declare module '@vben-core/typings' { |
|||
* interface SupportedLanguages { |
|||
* 'zh-TW': '繁體中文'; |
|||
* } |
|||
* } |
|||
* ``` |
|||
* |
|||
* 追加后 `SupportedLanguagesType` 联合类型会自动包含新语言, |
|||
* 所有引用该类型的包(preferences、locales、constants 等)同步获得类型约束; |
|||
* 运行时语言列表则通过 `setSupportLanguages` 注册。 |
|||
*/ |
|||
export interface SupportedLanguages { |
|||
'en-US': 'English'; |
|||
'zh-CN': '简体中文'; |
|||
} |
|||
|
|||
/** |
|||
* 支持的语言类型 |
|||
*/ |
|||
export type SupportedLanguagesType = keyof SupportedLanguages; |
|||
@ -0,0 +1,65 @@ |
|||
{ |
|||
"welcomeBack": "歡迎回來", |
|||
"pageTitle": "開箱即用的大型中後臺管理系統", |
|||
"pageDesc": "工程化、高效能、跨元件庫的前端模版", |
|||
"loginSuccess": "登入成功", |
|||
"loginSuccessDesc": "歡迎回來", |
|||
"loginSubtitle": "請輸入您的賬戶資訊以開始管理您的專案", |
|||
"selectAccount": "快速選擇賬號", |
|||
"username": "賬號", |
|||
"password": "密碼", |
|||
"usernameTip": "請輸入使用者名稱", |
|||
"passwordTip": "請輸入密碼", |
|||
"verifyRequiredTip": "請先完成驗證", |
|||
"passwordErrorTip": "密碼錯誤", |
|||
"rememberMe": "記住賬號", |
|||
"createAnAccount": "建立一個賬號", |
|||
"createAccount": "建立賬號", |
|||
"alreadyHaveAccount": "已經有賬號了?", |
|||
"accountTip": "還沒有賬號?", |
|||
"signUp": "註冊", |
|||
"signUpSubtitle": "讓您的應用程式管理變得簡單而有趣", |
|||
"confirmPassword": "確認密碼", |
|||
"confirmPasswordTip": "兩次輸入的密碼不一致", |
|||
"agree": "我同意", |
|||
"privacyPolicy": "隱私政策", |
|||
"terms": "條款", |
|||
"agreeTip": "請同意隱私政策和條款", |
|||
"goToLogin": "去登入", |
|||
"passwordStrength": "使用 8 個或更多字元,混合字母、數字和符號", |
|||
"forgetPassword": "忘記密碼?", |
|||
"forgetPasswordSubtitle": "輸入您的電子郵件,我們將向您傳送重置密碼的連線", |
|||
"emailTip": "請輸入郵箱", |
|||
"emailValidErrorTip": "你輸入的郵箱格式不正確", |
|||
"sendResetLink": "傳送重置連結", |
|||
"email": "郵箱", |
|||
"qrcodeSubtitle": "請用手機掃描二維碼登入", |
|||
"qrcodePrompt": "掃碼後點擊 '確認',即可完成登入", |
|||
"qrcodeLogin": "掃碼登入", |
|||
"wechatLogin": "微信登入", |
|||
"qqLogin": "QQ登入", |
|||
"githubLogin": "Github登入", |
|||
"googleLogin": "Google登入", |
|||
"dingdingLogin": "釘釘登入", |
|||
"codeSubtitle": "請輸入您的手機號碼以開始管理您的專案", |
|||
"code": "驗證碼", |
|||
"codeTip": "請輸入{0}位驗證碼", |
|||
"mobile": "手機號碼", |
|||
"mobileTip": "請輸入手機號", |
|||
"mobileErrortip": "手機號碼格式錯誤", |
|||
"mobileLogin": "手機號登入", |
|||
"sendCode": "獲取驗證碼", |
|||
"sendText": "{0}秒後重新獲取", |
|||
"thirdPartyLogin": "其他登入方式", |
|||
"weChat": "微信", |
|||
"qq": "QQ", |
|||
"gitHub": "GitHub", |
|||
"google": "Google", |
|||
"loginAgainTitle": "重新登入", |
|||
"loginAgainSubTitle": "您的登入狀態已過期,請重新登入以繼續。", |
|||
"layout": { |
|||
"center": "居中", |
|||
"alignLeft": "居左", |
|||
"alignRight": "居右" |
|||
} |
|||
} |
|||
@ -0,0 +1,26 @@ |
|||
{ |
|||
"back": "返回", |
|||
"backToHome": "返回首頁", |
|||
"login": "登入", |
|||
"logout": "退出登入", |
|||
"prompt": "提示", |
|||
"cancel": "取消", |
|||
"confirm": "確認", |
|||
"reset": "重置", |
|||
"noData": "暫無資料", |
|||
"refresh": "重新整理", |
|||
"loadingMenu": "載入選單中", |
|||
"query": "查詢", |
|||
"search": "搜尋", |
|||
"enabled": "已啟用", |
|||
"disabled": "已停用", |
|||
"edit": "修改", |
|||
"delete": "刪除", |
|||
"detail": "詳情", |
|||
"create": "新增", |
|||
"yes": "是", |
|||
"no": "否", |
|||
"showSearchPanel": "顯示搜尋面板", |
|||
"hideSearchPanel": "隱藏搜尋面板", |
|||
"notShow": "不顯示" |
|||
} |
|||
@ -0,0 +1,245 @@ |
|||
{ |
|||
"title": "偏好設定", |
|||
"subtitle": "自定義偏好設定 & 即時預覽", |
|||
"enableStickyPreferencesNavigationBar": "開啟首選項導航欄吸頂效果", |
|||
"disableStickyPreferencesNavigationBar": "關閉首選項導航欄吸頂效果", |
|||
"resetTitle": "重置偏好設定", |
|||
"resetTip": "資料有變化,點選可進行重置", |
|||
"resetSuccess": "重置偏好設定成功", |
|||
"appearance": "外觀", |
|||
"layout": "佈局", |
|||
"content": "內容", |
|||
"other": "其它", |
|||
"wide": "流式", |
|||
"compact": "定寬", |
|||
"followSystem": "跟隨系統", |
|||
"vertical": "垂直", |
|||
"verticalTip": "側邊垂直選單模式", |
|||
"horizontal": "水平", |
|||
"horizontalTip": "水平選單模式,選單全部顯示在頂部", |
|||
"twoColumn": "雙列選單", |
|||
"twoColumnTip": "垂直雙列選單模式", |
|||
"headerSidebarNav": "側邊導航", |
|||
"headerSidebarNavTip": "頂部通欄,側邊導航模式", |
|||
"headerTwoColumn": "混合雙列", |
|||
"headerTwoColumnTip": "雙列、水平選單共存模式", |
|||
"mixedMenu": "混合垂直", |
|||
"mixedMenuTip": "垂直水平選單共存", |
|||
"fullContent": "內容全屏", |
|||
"fullContentTip": "不顯示任何選單,只顯示內容主體", |
|||
"normal": "常規", |
|||
"plain": "樸素", |
|||
"rounded": "圓潤", |
|||
"copyPreferences": "複製偏好設定", |
|||
"enableCopyPreferences": "顯示複製偏好設定按鈕", |
|||
"copyPreferencesSuccessTitle": "複製成功", |
|||
"copyPreferencesSuccess": "複製成功,請在 app 下的 `src/preferences.ts`內進行覆蓋", |
|||
"clearAndLogout": "清空快取 & 退出登入", |
|||
"mode": "模式", |
|||
"general": "通用", |
|||
"language": "語言", |
|||
"timezone": "時區", |
|||
"dynamicTitle": "動態標題", |
|||
"watermark": "水印", |
|||
"watermarkContent": "請輸入水印文案", |
|||
"checkUpdates": "定時檢查更新", |
|||
"position": { |
|||
"title": "偏好設定位置", |
|||
"header": "頂欄", |
|||
"auto": "自動", |
|||
"fixed": "固定", |
|||
"userDropdown": "使用者下拉窗" |
|||
}, |
|||
"sidebar": { |
|||
"buttons": "顯示按鈕", |
|||
"buttonFixed": "固定按鈕", |
|||
"buttonCollapsed": "摺疊按鈕", |
|||
"title": "側邊欄", |
|||
"width": "寬度", |
|||
"visible": "顯示側邊欄", |
|||
"draggable": "側邊欄選單拖拽", |
|||
"collapsed": "摺疊選單", |
|||
"collapsedShowTitle": "摺疊顯示選單名", |
|||
"autoActivateChild": "自動啟用子選單", |
|||
"autoActivateChildTip": "點選頂層選單時,自動啟用第一個子選單或者上一次啟用的子選單", |
|||
"expandOnHover": "滑鼠懸停展開", |
|||
"expandOnHoverTip": "滑鼠在摺疊區域懸浮時,`啟用`則展開當前子選單,`停用`則展開整個側邊欄" |
|||
}, |
|||
"tabbar": { |
|||
"title": "標籤欄", |
|||
"enable": "啟用標籤欄", |
|||
"icon": "顯示標籤欄圖示", |
|||
"showMore": "顯示更多按鈕", |
|||
"showMaximize": "顯示最大化按鈕", |
|||
"persist": "持久化標籤頁", |
|||
"visitHistory": "訪問歷史記錄", |
|||
"visitHistoryTip": "開啟後,標籤欄會記錄標籤訪問歷史\n關閉當前標籤,會自動選中上一個開啟的標籤", |
|||
"maxCount": "最大標籤數", |
|||
"maxCountTip": "每次開啟新的標籤時如果超過最大標籤數,\n會自動關閉一個最先開啟的標籤\n設定為 0 則不限制", |
|||
"draggable": "啟動拖拽排序", |
|||
"wheelable": "啟用縱向滾輪響應", |
|||
"middleClickClose": "點選滑鼠中鍵關閉標籤頁", |
|||
"wheelableTip": "開啟後,標籤欄區域可以響應滾輪的縱向滾動事件。\n關閉時,只能響應系統的橫向滾動事件(需要按下Shift再滾動滾輪)", |
|||
"styleType": { |
|||
"title": "標籤頁風格", |
|||
"chrome": "谷歌", |
|||
"card": "卡片", |
|||
"plain": "樸素", |
|||
"brisk": "輕快" |
|||
}, |
|||
"contextMenu": { |
|||
"reload": "重新載入", |
|||
"close": "關閉", |
|||
"pin": "固定", |
|||
"unpin": "取消固定", |
|||
"closeLeft": "關閉左側標籤頁", |
|||
"closeRight": "關閉右側標籤頁", |
|||
"closeOther": "關閉其它標籤頁", |
|||
"closeAll": "關閉全部標籤頁", |
|||
"openInNewWindow": "在新視窗開啟", |
|||
"maximize": "最大化", |
|||
"restoreMaximize": "還原" |
|||
} |
|||
}, |
|||
"navigationMenu": { |
|||
"title": "導航選單", |
|||
"style": "導航選單風格", |
|||
"accordion": "側邊導航選單手風琴模式", |
|||
"split": "導航選單分離", |
|||
"splitTip": "開啟時,側邊欄顯示頂欄對應選單的子選單" |
|||
}, |
|||
"breadcrumb": { |
|||
"title": "麵包屑導航", |
|||
"enable": "開啟麵包屑導航", |
|||
"icon": "顯示麵包屑圖示", |
|||
"home": "顯示首頁按鈕", |
|||
"style": "麵包屑風格", |
|||
"hideOnlyOne": "僅有一個時隱藏", |
|||
"background": "背景" |
|||
}, |
|||
"animation": { |
|||
"title": "動畫", |
|||
"loading": "頁面切換 Loading", |
|||
"transition": "頁面切換動畫", |
|||
"progress": "頁面切換進度條" |
|||
}, |
|||
"theme": { |
|||
"title": "主題", |
|||
"radius": "圓角", |
|||
"fontSize": "字型大小", |
|||
"fontSizeTip": "調整全域性字型大小,即時預覽效果", |
|||
"light": "淺色", |
|||
"dark": "深色", |
|||
"darkSidebar": "深色側邊欄", |
|||
"darkSidebarTip": "當主題為淺色,佈局不為水平選單或不為內容全屏時可開啟", |
|||
"darkSidebarSub": "深色側邊欄子欄", |
|||
"darkSidebarSubTip": "當主題為淺色,開啟深色側邊欄且佈局使用雙列選單模式時可開啟", |
|||
"darkHeader": "深色頂欄", |
|||
"weakMode": "色弱模式", |
|||
"grayMode": "灰色模式", |
|||
"builtin": { |
|||
"title": "內建主題", |
|||
"default": "預設", |
|||
"violet": "紫羅蘭", |
|||
"pink": "櫻花粉", |
|||
"rose": "玫瑰紅", |
|||
"skyBlue": "天藍色", |
|||
"deepBlue": "深藍色", |
|||
"green": "淺綠色", |
|||
"deepGreen": "深綠色", |
|||
"orange": "橙黃色", |
|||
"yellow": "檸檬黃", |
|||
"zinc": "鋅色灰", |
|||
"neutral": "中性色", |
|||
"slate": "石板灰", |
|||
"gray": "中灰色", |
|||
"custom": "自定義" |
|||
} |
|||
}, |
|||
"header": { |
|||
"title": "頂欄", |
|||
"modeStatic": "靜止", |
|||
"modeFixed": "固定", |
|||
"modeAuto": "自動隱藏和顯示", |
|||
"modeAutoScroll": "滾動隱藏和顯示", |
|||
"visible": "顯示頂欄", |
|||
"menuAlign": "選單位置", |
|||
"menuAlignStart": "左側", |
|||
"menuAlignEnd": "右側", |
|||
"menuAlignCenter": "居中" |
|||
}, |
|||
"footer": { |
|||
"title": "底欄", |
|||
"visible": "顯示底欄", |
|||
"fixed": "固定在底部" |
|||
}, |
|||
"copyright": { |
|||
"title": "版權", |
|||
"enable": "啟用版權", |
|||
"companyName": "公司名", |
|||
"companySiteLink": "公司主頁", |
|||
"date": "日期", |
|||
"icp": "ICP 備案號", |
|||
"icpLink": "ICP 網站連結" |
|||
}, |
|||
"shortcutKeys": { |
|||
"title": "快捷鍵", |
|||
"global": "全域性", |
|||
"search": "全域性搜尋", |
|||
"logout": "退出登入", |
|||
"escape": "關閉當前視窗", |
|||
"preferences": "偏好設定" |
|||
}, |
|||
"widget": { |
|||
"title": "小部件", |
|||
"globalSearch": "全域性搜尋", |
|||
"globalSearchPosition": "全域性搜尋位置", |
|||
"fullscreen": "全屏", |
|||
"fullscreenPosition": "全屏按鈕位置", |
|||
"themeToggle": "主題切換", |
|||
"themeTogglePosition": "主題切換位置", |
|||
"languageToggle": "語言切換", |
|||
"languageTogglePosition": "語言切換位置", |
|||
"notification": "通知", |
|||
"notificationPosition": "通知位置", |
|||
"sidebarToggle": "啟用側邊欄切換", |
|||
"lockScreen": "鎖屏", |
|||
"lockScreenPosition": "鎖屏按鈕位置", |
|||
"logoutButtonPosition": "退出按鈕位置", |
|||
"header": "頂欄", |
|||
"userDropdown": "使用者下拉窗", |
|||
"hidden": "已隱藏", |
|||
"refresh": "重新整理", |
|||
"refreshPosition": "重新整理按鈕位置", |
|||
"timezone": "時區", |
|||
"timezonePosition": "時區按鈕位置" |
|||
}, |
|||
"antd": { |
|||
"tabLabel": "Antd 拓展", |
|||
"title": "業務偏好", |
|||
"fields": { |
|||
"enableFormFullscreen": { |
|||
"label": "啟用表單全屏模式", |
|||
"tip": "子專案可在自己的業務場景中讀取這個拓展配置。" |
|||
}, |
|||
"tenantMode": { |
|||
"label": "租戶模式", |
|||
"options": { |
|||
"single": { |
|||
"label": "單租戶" |
|||
}, |
|||
"multi": { |
|||
"label": "多租戶" |
|||
} |
|||
} |
|||
}, |
|||
"defaultTableSize": { |
|||
"label": "預設分頁條數" |
|||
}, |
|||
"reportTitle": { |
|||
"label": "報表預設標題", |
|||
"placeholder": "請輸入報表預設標題" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
{ |
|||
"updatePassword": "更新密碼", |
|||
"updateBasicProfile": "更新基本資訊" |
|||
} |
|||
@ -0,0 +1,165 @@ |
|||
{ |
|||
"formRules": { |
|||
"required": "請輸入{0}", |
|||
"selectRequired": "請選擇{0}", |
|||
"minLength": "{0}至少{1}個字元", |
|||
"maxLength": "{0}最多{1}個字元", |
|||
"length": "{0}長度必須為{1}個字元", |
|||
"alreadyExists": "{0} `{1}` 已存在", |
|||
"startWith": "{0}必須以 {1} 開頭", |
|||
"invalidURL": "請輸入有效的連結", |
|||
"sizeLimit": "檔案大小不能超過 {0}MB", |
|||
"previewWarning": "無法開啟檔案,沒有可用的URL或預覽地址" |
|||
}, |
|||
"actionTitle": { |
|||
"edit": "修改{0}", |
|||
"create": "新增{0}", |
|||
"delete": "刪除{0}", |
|||
"view": "檢視{0}" |
|||
}, |
|||
"actionMessage": { |
|||
"deleteConfirm": "確定刪除 {0} 嗎?", |
|||
"deleting": "正在刪除 {0} ...", |
|||
"deleteSuccess": "{0} 刪除成功", |
|||
"operationSuccess": "操作成功", |
|||
"operationFailed": "操作失敗" |
|||
}, |
|||
"placeholder": { |
|||
"input": "請輸入", |
|||
"select": "請選擇", |
|||
"upload": "點選上傳" |
|||
}, |
|||
"captcha": { |
|||
"title": "請完成安全驗證", |
|||
"sliderSuccessText": "驗證通過", |
|||
"sliderDefaultText": "請按住滑塊拖動", |
|||
"sliderRotateDefaultTip": "點選圖片可重新整理", |
|||
"sliderTranslateDefaultTip": "點選圖片可重新整理", |
|||
"sliderRotateFailTip": "驗證失敗", |
|||
"sliderRotateSuccessTip": "驗證成功,耗時{0}秒", |
|||
"sliderTranslateFailTip": "驗證失敗", |
|||
"sliderTranslateSuccessTip": "驗證成功,耗時{0}秒", |
|||
"alt": "支援img標籤src屬性值", |
|||
"refreshAriaLabel": "重新整理驗證碼", |
|||
"confirmAriaLabel": "確認選擇", |
|||
"confirm": "確認", |
|||
"pointAriaLabel": "點選點", |
|||
"clickInOrder": "請依次點選" |
|||
}, |
|||
"iconPicker": { |
|||
"placeholder": "選擇一個圖示", |
|||
"search": "搜尋圖示..." |
|||
}, |
|||
"jsonViewer": { |
|||
"copy": "複製", |
|||
"copied": "已複製" |
|||
}, |
|||
"crop": { |
|||
"title": "圖片裁剪", |
|||
"titleTip": "裁剪比例 {0}", |
|||
"confirm": "裁剪", |
|||
"cancel": "取消裁剪", |
|||
"errorTip": "裁剪錯誤" |
|||
}, |
|||
"tiptap": { |
|||
"placeholder": "請輸入內容...", |
|||
"prompts": { |
|||
"image": "請輸入圖片地址", |
|||
"link": "請輸入連結地址" |
|||
}, |
|||
"toolbar": { |
|||
"bold": "加粗", |
|||
"italic": "斜體", |
|||
"underline": "下劃線", |
|||
"strike": "刪除線", |
|||
"code": "行內程式碼", |
|||
"codeBlock": "程式碼塊", |
|||
"heading": "標題", |
|||
"paragraph": "正文", |
|||
"heading1": "標題1", |
|||
"heading2": "標題2", |
|||
"heading3": "標題3", |
|||
"heading4": "標題4", |
|||
"bulletList": "無序列表", |
|||
"orderedList": "有序列表", |
|||
"blockquote": "引用", |
|||
"link": "連結", |
|||
"unlink": "移除連結", |
|||
"image": "圖片", |
|||
"imageUrl": "圖片URL", |
|||
"imageUpload": "從本地上傳", |
|||
"textColor": "文字顏色", |
|||
"highlightColor": "高亮顏色", |
|||
"alignLeft": "左對齊", |
|||
"alignCenter": "居中", |
|||
"alignRight": "右對齊", |
|||
"preview": "預覽", |
|||
"undo": "撤銷", |
|||
"redo": "重做", |
|||
"clear": "清除" |
|||
}, |
|||
"upload": { |
|||
"fileTooLarge": "檔案大小超出限制", |
|||
"fileTypeNotAllowed": "不支援的檔案型別", |
|||
"onlySingleImage": "僅支援單張圖片上傳,已選取第一張", |
|||
"uploadFailed": "上傳失敗" |
|||
} |
|||
}, |
|||
"fallback": { |
|||
"pageNotFound": "哎呀!未找到頁面", |
|||
"pageNotFoundDesc": "抱歉,我們無法找到您要找的頁面。", |
|||
"forbidden": "哎呀!訪問被拒絕", |
|||
"forbiddenDesc": "抱歉,您沒有許可權訪問此頁面。", |
|||
"internalError": "哎呀!出錯了", |
|||
"internalErrorDesc": "抱歉,伺服器遇到錯誤。", |
|||
"offline": "離線頁面", |
|||
"offlineError": "哎呀!網路錯誤", |
|||
"offlineErrorDesc": "抱歉,無法連線到網際網路,請檢查您的網路連線並重試。", |
|||
"comingSoon": "即將推出", |
|||
"http": { |
|||
"requestTimeout": "請求超時,請稍後再試。", |
|||
"networkError": "網路異常,請檢查您的網路連線後重試。", |
|||
"badRequest": "請求錯誤。請檢查您的輸入並重試。", |
|||
"unauthorized": "登入認證過期,請重新登入後繼續。", |
|||
"forbidden": "禁止訪問, 您沒有許可權訪問此資源。", |
|||
"notFound": "未找到, 請求的資源不存在。", |
|||
"internalServerError": "內部伺服器錯誤,請稍後再試。" |
|||
} |
|||
}, |
|||
"widgets": { |
|||
"document": "文件", |
|||
"qa": "問題 & 幫助", |
|||
"setting": "設定", |
|||
"logoutTip": "是否退出登入?", |
|||
"viewAll": "檢視所有訊息", |
|||
"notifications": "通知", |
|||
"markAllAsRead": "全部標記為已讀", |
|||
"clearNotifications": "清空", |
|||
"checkUpdatesTitle": "新版本可用", |
|||
"checkUpdatesDescription": "點選重新整理以獲取最新版本", |
|||
"search": { |
|||
"title": "搜尋", |
|||
"searchNavigate": "搜尋導航選單", |
|||
"select": "選擇", |
|||
"navigate": "導航", |
|||
"close": "關閉", |
|||
"noResults": "未找到搜尋結果", |
|||
"noRecent": "沒有搜尋歷史", |
|||
"recent": "搜尋歷史" |
|||
}, |
|||
"lockScreen": { |
|||
"title": "鎖定螢幕", |
|||
"screenButton": "鎖定", |
|||
"password": "密碼", |
|||
"placeholder": "請輸入鎖屏密碼", |
|||
"unlock": "點選解鎖", |
|||
"errorPasswordTip": "密碼錯誤,請重新輸入", |
|||
"backToLogin": "返回登入", |
|||
"entry": "進入系統" |
|||
}, |
|||
"timezone": { |
|||
"setTimezone": "設定時區", |
|||
"setSuccess": "時區設定成功" |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,131 @@ |
|||
{ |
|||
"title": "演示", |
|||
"access": { |
|||
"frontendPermissions": "前端許可權", |
|||
"backendPermissions": "後端許可權", |
|||
"pageAccess": "頁面訪問", |
|||
"buttonControl": "按鈕控制", |
|||
"menuVisible403": "選單可見(403)", |
|||
"superVisible": "Super 可見", |
|||
"adminVisible": "Admin 可見", |
|||
"userVisible": "User 可見" |
|||
}, |
|||
"nested": { |
|||
"title": "巢狀選單", |
|||
"menu1": "選單 1", |
|||
"menu2": "選單 2", |
|||
"menu2_1": "選單 2-1", |
|||
"menu3": "選單 3", |
|||
"menu3_1": "選單 3-1", |
|||
"menu3_2": "選單 3-2", |
|||
"menu3_2_1": "選單 3-2-1" |
|||
}, |
|||
"outside": { |
|||
"title": "外部頁面", |
|||
"embedded": "內嵌", |
|||
"externalLink": "外鏈" |
|||
}, |
|||
"badge": { |
|||
"title": "選單徽標", |
|||
"dot": "點徽標", |
|||
"text": "文本徽標", |
|||
"color": "徽標顏色" |
|||
}, |
|||
"activeIcon": { |
|||
"title": "選單啟用圖示", |
|||
"children": "子級啟用圖示" |
|||
}, |
|||
"fallback": { |
|||
"title": "預設頁" |
|||
}, |
|||
"features": { |
|||
"title": "功能", |
|||
"hideChildrenInMenu": "隱藏子選單", |
|||
"loginExpired": "登入過期", |
|||
"icons": "圖示", |
|||
"watermark": "水印", |
|||
"preferencesExtension": "偏好擴充套件示例", |
|||
"tabs": "標籤頁", |
|||
"tabDetail": "標籤詳情頁", |
|||
"fullScreen": "全屏", |
|||
"clipboard": "剪貼簿", |
|||
"menuWithQuery": "帶參選單", |
|||
"openInNewWindow": "新視窗開啟", |
|||
"fileDownload": "檔案下載", |
|||
"requestParamsSerializer": "引數序列化" |
|||
}, |
|||
"preferencesExtensionDemo": { |
|||
"description": "這個頁面直接讀取 playground 子專案定義的拓展偏好。你可以在右上角的“偏好設定 → Playground 拓展”中修改欄位,也可以點選下方預設按鈕,頁面會即時聯動。", |
|||
"currentConfig": "當前拓展配置", |
|||
"currentTitle": "當前標題:{title}", |
|||
"currentDescription": "預設展示 {count} 條任務;{quickActionText} 快捷操作;當前高亮風格為“{tone}”。", |
|||
"showQuickActions": "顯示", |
|||
"hideQuickActions": "隱藏", |
|||
"boardDescription": "這是一個“真實使用”的示例:頁面標題、操作區、列表條數和高亮樣式都由拓展偏好驅動。", |
|||
"quickActionsEnabled": "當前已關閉快捷操作,頁面只保留只讀資訊展示。", |
|||
"quickActions": { |
|||
"create": "新建任務", |
|||
"export": "批次匯出", |
|||
"refresh": "重新整理資料" |
|||
}, |
|||
"presetTitle": "快捷預設(演示 updateCustomPreferences 用法)", |
|||
"presetButtons": { |
|||
"default": "恢復預設", |
|||
"compact": "切換緊湊模式", |
|||
"review": "切換評審模式" |
|||
}, |
|||
"presetTitles": { |
|||
"compact": "緊湊模式看板", |
|||
"default": "本週運營概覽", |
|||
"review": "評審態工作看板" |
|||
}, |
|||
"tones": { |
|||
"default": "預設", |
|||
"success": "成功", |
|||
"warning": "警告" |
|||
}, |
|||
"owner": "負責人" |
|||
}, |
|||
"preferencesExtensionConfig": { |
|||
"tabLabel": "拓展", |
|||
"title": "Playground 業務偏好", |
|||
"fields": { |
|||
"reportTitle": { |
|||
"label": "看板標題", |
|||
"placeholder": "請輸入看板標題" |
|||
}, |
|||
"defaultVisibleRows": { |
|||
"label": "預設展示條數", |
|||
"tip": "用於控制示例頁中任務列表預設渲染多少條資料。" |
|||
}, |
|||
"enableQuickActions": { |
|||
"label": "顯示快捷操作" |
|||
}, |
|||
"highlightTone": { |
|||
"label": "高亮風格", |
|||
"options": { |
|||
"default": "預設", |
|||
"success": "成功", |
|||
"warning": "警告" |
|||
} |
|||
} |
|||
} |
|||
}, |
|||
"breadcrumb": { |
|||
"navigation": "麵包屑導航", |
|||
"lateral": "平級模式", |
|||
"level": "層級模式", |
|||
"levelDetail": "層級模式詳情", |
|||
"lateralDetail": "平級模式詳情" |
|||
}, |
|||
"vben": { |
|||
"title": "專案", |
|||
"about": "關於", |
|||
"document": "文件", |
|||
"antdv": "Ant Design Vue 版本", |
|||
"antdv-next": "Antdv Next 版本", |
|||
"naive-ui": "Naive UI 版本", |
|||
"element-plus": "Element Plus 版本", |
|||
"tdesign": "TDesign Vue 版本" |
|||
} |
|||
} |
|||
@ -0,0 +1,90 @@ |
|||
{ |
|||
"title": "示例", |
|||
"modal": { |
|||
"title": "彈窗" |
|||
}, |
|||
"drawer": { |
|||
"title": "抽屜" |
|||
}, |
|||
"ellipsis": { |
|||
"title": "文本省略" |
|||
}, |
|||
"resize": { |
|||
"title": "拖動調整" |
|||
}, |
|||
"form": { |
|||
"title": "表單", |
|||
"basic": "基礎表單", |
|||
"layout": "自定義佈局", |
|||
"query": "查詢表單", |
|||
"valueFormat": "值格式化", |
|||
"rules": "表單校驗", |
|||
"dynamic": "動態表單", |
|||
"custom": "自定義元件", |
|||
"api": "Api", |
|||
"merge": "合併表單", |
|||
"scrollToError": "滾動到錯誤欄位", |
|||
"upload-error": "部分檔案上傳失敗", |
|||
"upload-urls": "檔案上傳後的網址", |
|||
"file": "檔案", |
|||
"crop-image": "裁剪圖片", |
|||
"upload-image": "點選上傳圖片", |
|||
"collapsible": "單項表單摺疊", |
|||
"labelWidth": "Label 自動寬度" |
|||
}, |
|||
"vxeTable": { |
|||
"title": "Vxe 表格", |
|||
"basic": "基礎表格", |
|||
"remote": "遠端載入", |
|||
"tree": "樹形表格", |
|||
"fixed": "固定表頭/列", |
|||
"virtual": "虛擬滾動", |
|||
"editCell": "單元格編輯", |
|||
"editRow": "行編輯", |
|||
"custom-cell": "自定義單元格", |
|||
"form": "搜尋表單", |
|||
"viewed": "行標記" |
|||
}, |
|||
"captcha": { |
|||
"title": "驗證碼", |
|||
"pointSelection": "點選驗證", |
|||
"sliderCaptcha": "滑塊驗證", |
|||
"sliderRotateCaptcha": "旋轉驗證", |
|||
"sliderTranslateCaptcha": "拼圖滑塊驗證", |
|||
"captchaCardTitle": "請完成安全驗證", |
|||
"pageDescription": "通過點選圖片中的特定位置來驗證使用者身份。", |
|||
"pageTitle": "驗證碼元件示例", |
|||
"basic": "基本使用", |
|||
"titlePlaceholder": "驗證碼標題文案", |
|||
"captchaImageUrlPlaceholder": "驗證碼圖片(支援img標籤src屬性值)", |
|||
"hintImage": "提示圖片", |
|||
"hintText": "提示文本", |
|||
"hintImagePlaceholder": "提示圖片(支援img標籤src屬性值)", |
|||
"hintTextPlaceholder": "提示文本", |
|||
"showConfirm": "展示確認", |
|||
"hideConfirm": "隱藏確認", |
|||
"widthPlaceholder": "驗證碼圖片寬度 預設300px", |
|||
"heightPlaceholder": "驗證碼圖片高度 預設220px", |
|||
"paddingXPlaceholder": "水平內邊距 預設12px", |
|||
"paddingYPlaceholder": "垂直內邊距 預設16px", |
|||
"index": "索引:", |
|||
"timestamp": "時間戳:", |
|||
"x": "x:", |
|||
"y": "y:" |
|||
}, |
|||
"layout": { |
|||
"col-page": "雙列布局" |
|||
}, |
|||
"button-group": { |
|||
"title": "按鈕組" |
|||
}, |
|||
"function": { |
|||
"contentMenu": "上下文選單" |
|||
}, |
|||
"cropper": { |
|||
"title": "圖片裁剪" |
|||
}, |
|||
"tiptap": { |
|||
"title": "富文本編輯器" |
|||
} |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
{ |
|||
"auth": { |
|||
"login": "登入", |
|||
"register": "註冊", |
|||
"codeLogin": "驗證碼登入", |
|||
"qrcodeLogin": "二維碼登入", |
|||
"forgetPassword": "忘記密碼", |
|||
"sendingCode": "正在傳送驗證碼", |
|||
"codeSentTo": "驗證碼已傳送至{0}", |
|||
"profile": "個人中心" |
|||
}, |
|||
"dashboard": { |
|||
"title": "概覽", |
|||
"analytics": "分析頁", |
|||
"workspace": "工作臺" |
|||
} |
|||
} |
|||
@ -0,0 +1,80 @@ |
|||
{ |
|||
"title": "系統管理", |
|||
"user": { |
|||
"title": "使用者管理", |
|||
"list": "使用者列表", |
|||
"name": "使用者名稱", |
|||
"userName": "使用者名稱", |
|||
"id": "使用者ID", |
|||
"dept": "部門", |
|||
"status": "狀態", |
|||
"remark": "備註", |
|||
"createTime": "建立時間", |
|||
"operation": "操作", |
|||
"placeholder": "搜尋部門..." |
|||
}, |
|||
"dept": { |
|||
"list": "部門列表", |
|||
"createTime": "建立時間", |
|||
"deptName": "部門名稱", |
|||
"name": "部門", |
|||
"operation": "操作", |
|||
"parentDept": "上級部門", |
|||
"remark": "備註", |
|||
"status": "狀態", |
|||
"title": "部門管理" |
|||
}, |
|||
"menu": { |
|||
"list": "選單列表", |
|||
"activeIcon": "啟用圖示", |
|||
"activePath": "啟用路徑", |
|||
"activePathHelp": "跳轉到當前路由時,需要啟用的選單路徑。\n當不在導航選單中顯示時,需要指定啟用路徑", |
|||
"activePathMustExist": "該路徑未能找到有效的選單", |
|||
"advancedSettings": "其它設定", |
|||
"affixTab": "固定在標籤", |
|||
"authCode": "許可權標識", |
|||
"badge": "徽章內容", |
|||
"badgeVariants": "徽標樣式", |
|||
"badgeType": { |
|||
"dot": "點", |
|||
"none": "無", |
|||
"normal": "文字", |
|||
"title": "徽標型別" |
|||
}, |
|||
"component": "頁面元件", |
|||
"hideChildrenInMenu": "隱藏子選單", |
|||
"hideInBreadcrumb": "在麵包屑中隱藏", |
|||
"hideInMenu": "隱藏選單", |
|||
"hideInTab": "在標籤欄中隱藏", |
|||
"icon": "圖示", |
|||
"keepAlive": "快取標籤頁", |
|||
"linkSrc": "連結地址", |
|||
"menuName": "選單名稱", |
|||
"menuTitle": "標題", |
|||
"name": "選單", |
|||
"operation": "操作", |
|||
"parent": "上級選單", |
|||
"path": "路由地址", |
|||
"status": "狀態", |
|||
"title": "選單管理", |
|||
"type": "型別", |
|||
"typeButton": "按鈕", |
|||
"typeCatalog": "目錄", |
|||
"typeEmbedded": "內嵌", |
|||
"typeLink": "外鏈", |
|||
"typeMenu": "選單" |
|||
}, |
|||
"role": { |
|||
"title": "角色管理", |
|||
"list": "角色列表", |
|||
"name": "角色", |
|||
"roleName": "角色名稱", |
|||
"id": "角色ID", |
|||
"status": "狀態", |
|||
"remark": "備註", |
|||
"createTime": "建立時間", |
|||
"operation": "操作", |
|||
"permissions": "許可權", |
|||
"setPermissions": "授權" |
|||
} |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
export type { SupportedLanguages } from '@vben-core/typings'; |
|||
|
|||
/** |
|||
* 扩展支持的语言(演示): |
|||
* 通过模块增强向 SupportedLanguages 注册表追加 zh-TW, |
|||
* SupportedLanguagesType 联合类型会自动包含 'zh-TW', |
|||
* 运行时语言列表需在 bootstrap 中通过 setSupportLanguages 注册。 |
|||
* |
|||
* 注意:顶部的 re-export 不可省略——它使本文件成为模块, |
|||
* declare module 才是模块增强而非覆盖原模块的环境声明; |
|||
* 同时应用必须声明 `@vben-core/typings` 依赖以保证模块可解析。 |
|||
*/ |
|||
declare module '@vben-core/typings' { |
|||
interface SupportedLanguages { |
|||
'zh-TW': '繁體中文'; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue