Browse Source

Merge pull request #3556 from nocodb/l10n_develop_2

New Crowdin updates
pull/3618/head
Raju Udava 2 years ago committed by GitHub
parent
commit
7be0926b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      packages/nc-gui/lang/bn_IN.json
  2. 0
      packages/nc-gui/lang/he.json
  3. 0
      packages/nc-gui/lang/it.json
  4. 2
      packages/nc-gui/lang/ko.json
  5. 0
      packages/nc-gui/lang/zh-Hans.json
  6. 0
      packages/nc-gui/lang/zh-Hant.json
  7. 668
      packages/nc-gui/lang/zh_HK.json
  8. 32
      packages/nc-gui/lib/enums.ts
  9. 38
      packages/nc-gui/plugins/a.i18n.ts
  10. 16
      scripts/cypress/integration/common/6d_language_validation.js

0
packages/nc-gui/lang/bn.json → packages/nc-gui/lang/bn_IN.json

0
packages/nc-gui/lang/iw.json → packages/nc-gui/lang/he.json

0
packages/nc-gui/lang/it_IT.json → packages/nc-gui/lang/it.json

2
packages/nc-gui/lang/ko.json

@ -246,7 +246,7 @@
"columnName": "편집 - 열 이름" "columnName": "편집 - 열 이름"
}, },
"community": { "community": {
"starUs1": "", "starUs1": "Star",
"starUs2": "Github", "starUs2": "Github",
"bookDemo": "무료 데모 예약", "bookDemo": "무료 데모 예약",
"getAnswered": "디스코드", "getAnswered": "디스코드",

0
packages/nc-gui/lang/zh_CN.json → packages/nc-gui/lang/zh-Hans.json

0
packages/nc-gui/lang/zh_TW.json → packages/nc-gui/lang/zh-Hant.json

668
packages/nc-gui/lang/zh_HK.json

@ -1,668 +0,0 @@
{
"general": {
"home": "首頁",
"load": "加載",
"open": "打開",
"close": "關閉",
"yes": "是的",
"no": "不",
"ok": "行",
"and": "和",
"or": "或者",
"add": "添加",
"edit": "編輯",
"remove": "消除",
"save": "保存",
"cancel": "取消",
"submit": "提交",
"create": "駁內置嘅SQLite",
"insert": "插入",
"delete": "刪除",
"update": "更新",
"rename": "改名",
"reload": "重新加載",
"reset": "重啟",
"install": "安裝",
"show": "展示",
"hide": "隱藏",
"showAll": "顯示所有",
"hideAll": "全部藏起來",
"showMore": "顯示更多",
"showOptions": "顯示選項",
"hideOptions": "隱藏選項",
"showMenu": "顯示menu",
"hideMenu": "隱藏menu",
"addAll": "全部添加",
"removeAll": "移除所有",
"signUp": "Reg個AC",
"signIn": "登入",
"signOut": "登出",
"required": "必填",
"preferred": "首選",
"mandatory": "強制的",
"loading": "loading ...",
"title": "標題",
"upload": "上傳",
"download": "下載",
"default": "默認",
"more": "更多的",
"less": "較少的",
"event": "事件",
"condition": "健康)狀況",
"after": "後",
"before": "前",
"search": "搜索",
"notification": "通知",
"reference": "參考",
"function": "功能",
"confirm": "Confirm",
"generate": "Generate",
"copy": "Copy",
"misc": "Miscellaneous",
"lock": "Lock",
"unlock": "Unlock",
"credentials": "Credentials",
"help": "Help",
"questions": "Questions",
"reachOut": "Reach out here",
"betaNote": "This feature is currently in beta.",
"moreInfo": "More information can be found here",
"logs": "Logs"
},
"objects": {
"project": "項目",
"projects": "項目",
"table": "表格",
"tables": "表格",
"field": "欄位",
"fields": "欄位",
"column": "列",
"columns": "列",
"page": "頁",
"pages": "頁面",
"record": "記錄",
"records": "記錄",
"webhook": "Webhook.",
"webhooks": "Webhooks.",
"view": "看法",
"views": "意見",
"viewType": {
"grid": "網格",
"gallery": "畫廊",
"form": "形式",
"kanban": "kanban",
"calendar": "日曆"
},
"user": "用戶",
"users": "用戶",
"role": "角色",
"roles": "角色",
"roleType": {
"owner": "所有者",
"creator": "創造者",
"editor": "編輯",
"commenter": "評論者",
"viewer": "觀眾"
}
},
"datatype": {
"ID": "ID",
"ForeignKey": "外鑰匙",
"SingleLineText": "單行文本",
"LongText": "長篇文章",
"Attachment": "附件",
"Checkbox": "複選框",
"MultiSelect": "多選",
"SingleSelect": "單個選擇",
"Collaborator": "合作者",
"Date": "日期",
"Year": "年",
"Time": "時間",
"PhoneNumber": "電話號碼",
"Email": "電子郵件",
"URL": "URL.",
"Number": "數字",
"Decimal": "十進制",
"Currency": "貨幣",
"Percent": "百分",
"Duration": "期間",
"Rating": "評分",
"Formula": "公式",
"Rollup": "捲起",
"Count": "數數",
"Lookup": "抬頭",
"DateTime": "日期時間",
"CreateTime": "創建時間",
"LastModifiedTime": "最後修改時間",
"AutoNumber": "自動編號",
"Barcode": "條碼",
"Button": "按鈕",
"Password": "密碼",
"relationProperties": {
"noAction": "沒有任何行動",
"cascade": "級聯",
"restrict": "嚴格",
"setNull": "設置null.",
"setDefault": "默認設置"
}
},
"filterOperation": {
"isEqual": "完全一致",
"isNotEqual": "完全不一致",
"isLike": "部分一致",
"isNot like": "部分不一致",
"isEmpty": "是空的",
"isNotEmpty": "不是空的",
"isNull": "一片空白",
"isNotNull": "不是空虛"
},
"title": {
"newProj": "開新Project",
"myProject": "我嘅Projects",
"formTitle": "表格標題",
"collabView": "合作視圖",
"lockedView": "鎖定視圖",
"personalView": "個人觀",
"appStore": "應用商店",
"teamAndAuth": "團隊&auth",
"rolesUserMgmt": "角色和用戶管理",
"userMgmt": "用戶管理",
"apiTokenMgmt": "API Tokens 管理",
"rolesMgmt": "Roles 管理",
"projMeta": "項目元數據",
"metaMgmt": "元管理",
"metadata": "元數據",
"exportImportMeta": "導出/導入元數據",
"uiACL": "UI訪問控制",
"metaOperations": "元數據操作",
"audit": "審計",
"auditLogs": "審計日誌",
"sqlMigrations": "SQL遷移",
"dbCredentials": "數據庫憑據",
"advancedParameters": "安全證書及高級參數",
"headCreateProject": "開新Project | NocoDB",
"headLogin": "登入 | NocoDB",
"resetPassword": "reset你嗰密碼",
"teamAndSettings": "Team & Settings",
"apiDocs": "API Docs",
"importFromAirtable": "Import From Airtable",
"generateToken": "Generate Token",
"APIsAndSupport": "APIs & Support",
"helpCenter": "Help center",
"swaggerDocumentation": "Swagger Documentation",
"quickImportFrom": "Quick Import From",
"quickImport": "Quick Import",
"advancedSettings": "Advanced Settings",
"codeSnippet": "Code Snippet"
},
"labels": {
"notifyVia": "通知Via",
"projName": "項目名",
"tableName": "表名稱",
"viewName": "查看名稱",
"viewLink": "查看鏈接",
"columnName": "列名稱",
"columnType": "列類型",
"roleName": "角色名稱",
"roleDescription": "角色描述",
"databaseType": "鍵入數據庫",
"lengthValue": "長度/值",
"dbType": "數據庫類型",
"sqliteFile": "sqlite 文件",
"hostAddress": "主機地址",
"port": "端口號碼",
"username": "用戶名稱",
"password": "密碼",
"schemaName": "Schema name",
"database": "數據庫",
"action": "行動",
"actions": "行動",
"operation": "操作",
"operationType": "操作類型",
"operationSubType": "操作子類型",
"description": "描述",
"authentication": "驗證",
"token": "令牌",
"where": "在哪裡",
"cache": "緩存",
"chat": "聊天",
"email": "電子郵件",
"storage": "貯存",
"uiAcl": "UI-ACL",
"models": "楷模",
"syncState": "同步狀態",
"created": "創造了",
"sqlOutput": "SQL輸出",
"addOption": "添加選項",
"aggregateFunction": "匯總功能",
"dbCreateIfNotExists": "數據庫:創建如果不存在",
"clientKey": "client條key",
"clientCert": "client張cert",
"serverCA": "服務器 CA",
"requriedCa": "必填卡",
"requriedIdentity": "必要的身份",
"inflection": {
"tableName": "拐點 - 表名",
"columnName": "拐點 - 列名稱"
},
"community": {
"starUs1": "比",
"starUs2": "喺 Github",
"bookDemo": "Book個 free demo",
"getAnswered": "讓您的問題得到解答",
"joinDiscord": "加入 Discord",
"joinCommunity": "Join NocoDB Community",
"joinReddit": "加入 /r/NocoDB",
"followNocodb": "Fol下NocoDB"
},
"docReference": "文件參考文獻",
"selectUserRole": "選擇用戶角色",
"childTable": "子表",
"childColumn": "子列",
"onUpdate": "更新",
"onDelete": "在刪除",
"account": "Account",
"language": "Language",
"primaryColor": "Primary Color",
"accentColor": "Accent Color",
"customTheme": "Custom Theme",
"requestDataSource": "Request a data source you need?",
"apiKey": "API Key",
"sharedBase": "Shared Base",
"importData": "Import Data",
"importSecondaryViews": "Import Secondary Views",
"importRollupColumns": "Import Rollup Columns",
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",
"flattenNested": "Flatten Nested",
"downloadAllowed": "Download allowed",
"weAreHiring": "We are Hiring!",
"primaryKey": "Primary key",
"hasMany": "has many",
"belongsTo": "belongs to",
"manyToMany": "have many to many relation",
"extraConnectionParameters": "Extra connection parameters",
"commentsOnly": "Comments only",
"documentation": "Documentation",
"subscribeNewsletter": "Subscribe to our weekly newsletter",
"signUpWithGoogle": "Sign up with Google",
"agreeToTos": "By signing up, you agree to the Terms of Service",
"welcomeToNc": "Welcome to NocoDB!"
},
"activity": {
"createProject": "開新Project",
"importProject": "進口項目",
"searchProject": "搵下啲Projects",
"editProject": "改Project",
"stopProject": "停Project",
"startProject": "Start Project",
"restartProject": "重開Project",
"deleteProject": "Del Project",
"refreshProject": "重新整理",
"saveProject": "save Project",
"createProjectExtended": {
"extDB": "駁External嘅DB",
"excel": "從Excel創建項目",
"template": "從模板創建項目"
},
"OkSaveProject": "好的和保存項目",
"upgrade": {
"available": "升級可用",
"releaseNote": "發行說明",
"howTo": "如何升級?"
},
"translate": "幫助翻譯",
"account": {
"authToken": "複製auth令牌",
"swagger": "Swagger: REST APIs",
"projInfo": "複製項目信息",
"themes": "主題"
},
"sort": "種類",
"addSort": "添加排序選項",
"filter": "篩選",
"addFilter": "添加過濾器",
"share": "分享",
"shareBase": {
"disable": "禁用共享基礎",
"enable": "任何有鏈接的人",
"link": "共享基本鏈接"
},
"invite": "邀請",
"inviteMore": "邀請更多",
"inviteTeam": "邀請團隊",
"inviteToken": "邀請令牌",
"newUser": "新用戶",
"editUser": "編輯用戶",
"deleteUser": "從項目中刪除用戶",
"resendInvite": "重新發送邀請電子郵件",
"copyInviteURL": "複製邀請URL.",
"newRole": "新角色",
"reloadRoles": "重新加載角色",
"nextPage": "下一頁",
"prevPage": "上一頁",
"nextRecord": "下一步記錄",
"previousRecord": "之前的紀錄",
"copyApiURL": "複製API URL.",
"createTable": "表創造",
"refreshTable": "表刷新",
"renameTable": "表重命名",
"deleteTable": "表刪除",
"addField": "將新字段添加到此表",
"setPrimary": "設置為主要值",
"addRow": "添加新行",
"saveRow": "保存行",
"insertRow": "插入新行",
"deleteRow": "刪除行",
"deleteSelectedRow": "刪除所選行",
"importExcel": "導入Excel.",
"importCSV": "Import CSV",
"downloadCSV": "下載為CSV.",
"downloadExcel": "下載為XLSX",
"uploadCSV": "上傳CSV.",
"import": "導出去file",
"importMetadata": "import metadata",
"exportMetadata": "export metadata",
"clearMetadata": "清metadata",
"exportToFile": "導出到文件",
"changePwd": "更改密碼",
"createView": "創建一個視圖",
"shareView": "分享視圖",
"listSharedView": "共享視圖列表",
"ListView": "觀點列表",
"copyView": "複製視圖",
"renameView": "重命名視圖",
"deleteView": "刪除視圖",
"createGrid": "創建網格視圖",
"createGallery": "創建畫廊視圖",
"createCalendar": "創建日曆視圖",
"createKanban": "創建尋呼視圖",
"createForm": "創建表單視圖",
"showSystemFields": "顯示系統字段",
"copyUrl": "複製URL.",
"openTab": "打開新標籤",
"iFrame": "複製嵌入式HTML代碼",
"addWebhook": "添加新的webhook.",
"newToken": "添加新令牌",
"exportZip": "export去 zip",
"importZip": "import去 zip",
"metaSync": "立即同步",
"settings": "設置",
"previewAs": "預覽",
"resetReview": "重置預覽",
"testDbConn": "駁下DB通唔通",
"removeDbFromEnv": "從環境中delete DB",
"editConnJson": "編輯連接 JSON.",
"sponsorUs": "贊助我地",
"sendEmail": "發電子郵件",
"addUserToProject": "Add user to project",
"getApiSnippet": "Get API Snippet",
"clearCell": "Clear cell",
"addFilterGroup": "Add Filter Group",
"linkRecord": "Link record",
"addNewRecord": "Add new record",
"useConnectionUrl": "Use Connection URL",
"toggleCommentsDraw": "Toggle comments draw"
},
"tooltip": {
"saveChanges": "保存更改",
"xcDB": "駁內置嘅SQLite",
"extDB": "支援 MySQL, PostgreSQL, SQL Server & SQLite",
"apiRest": "可通過 REST API 訪問",
"apiGQL": "可通過 GraphQL API 訪問",
"theme": {
"dark": "它確實有黑色(^⇧b)",
"light": "它是黑色嗎? (^⇧b)"
},
"addTable": "添加新表",
"inviteMore": "邀請更多用戶",
"toggleNavDraw": "切換導航抽屜",
"reloadApiToken": "重新加載API令牌",
"generateNewApiToken": "生成新的API令牌",
"addRole": "添加新角色",
"reloadList": "重新加載列表",
"metaSync": "同步元數據",
"sqlMigration": "重新加載遷移",
"updateRestart": "改完再重開",
"cancelReturn": "取消及返回",
"exportMetadata": "將所有元數據從元表導出到Meta目錄。",
"importMetadata": "將所有元數據從Meta目錄導入元表。",
"clearMetadata": "清除元表中的所有元數據。",
"clientKey": "揀 .key file",
"clientCert": "揀 .cert file",
"clientCA": "揀 CA file"
},
"placeholder": {
"projName": "入Project名",
"password": {
"enter": "輸入密碼",
"current": "當前密碼",
"new": "新密碼",
"save": "保存密碼",
"confirm": "確認新密碼"
},
"searchProjectTree": "搜索表",
"searchFields": "搜索字段",
"searchColumn": "搜索{search}列",
"searchApps": "搜索應用程序",
"searchModels": "搜索模型",
"noItemsFound": "未找到任何項目",
"defaultValue": "默認值",
"filterByEmail": "通過電子郵件過濾",
"filterQuery": "Filter query",
"selectField": "Select field"
},
"msg": {
"info": {
"footerInfo": "每頁行駛",
"upload": "選擇文件以上傳",
"upload_sub": "或拖放文件",
"excelSupport": "支持:.xls,.xlsx,.xlsm,.ods,.ots",
"excelURL": "輸入Excel文件URL",
"csvURL": "輸入CSV文件URL",
"footMsg": "要解析為推斷數據類型的行數",
"excelImport": "板材可用於進口",
"exportMetadata": "您想從元表導出元數據嗎?",
"importMetadata": "您想從元表導入元數據嗎?",
"clearMetadata": "你想清除元表中的元數據嗎?",
"projectEmptyMessage": "開嗰新Project",
"stopProject": "你想停止這個項目嗎?",
"startProject": "你想啟動這個項目嗎?",
"restartProject": "你想重新啟動項目嗎?",
"deleteProject": "你想刪除這個項目嗎?",
"shareBasePrivate": "產生公開可享的Readonly Base",
"shareBasePublic": "互聯網上的任何人都可以查看",
"userInviteNoSMTP": "看起來你還沒有配置郵件!請複制上面的邀請鏈接並將其發送給",
"dragDropHide": "在此處拖放字段以隱藏",
"formInput": "輸入表單輸入標籤",
"formHelpText": "添加一些幫助文本",
"onlyCreator": "僅創作者可見",
"formDesc": "添加表單描述",
"beforeEnablePwd": "限制密碼訪問權限",
"afterEnablePwd": "訪問是受限制的密碼",
"privateLink": "此視圖通過私人鏈接共享",
"privateLinkAdditionalInfo": "具有私有鏈接的人只能看到此視圖中可見的細胞",
"afterFormSubmitted": "表格提交後",
"apiOptions": "Access Project via",
"submitAnotherForm": "顯示“提交另一個表格”按鈕",
"showBlankForm": "5秒後顯示空白表格",
"emailForm": "發電子郵件給我",
"showSysFields": "顯示系統字段",
"filterAutoApply": "自動申請",
"showMessage": "顯示此消息",
"viewNotShared": "當前視圖不共享!",
"showAllViews": "顯示此表的所有共享視圖",
"collabView": "具有編輯權限或更高的合作者可以更改視圖配置。",
"lockedView": "沒有人可以編輯視圖配置,直到它被解鎖。",
"personalView": "只有您可以編輯視圖配置。默認情況下,其他合作者的個人視圖隱藏。",
"ownerDesc": "可以添加/刪除創建者。和完整編輯數據庫結構和字段。",
"creatorDesc": "可以完全編輯數據庫結構和值。",
"editorDesc": "可以編輯記錄但無法更改數據庫/字段的結構。",
"commenterDesc": "可以查看和評論記錄,但無法編輯任何內容",
"viewerDesc": "可以查看記錄但無法編輯任何內容",
"addUser": "添加新用戶",
"staticRoleInfo": "無法編輯系統定義的角色",
"exportZip": "將項目元導出到zip文件和下載。",
"importZip": "導入項目元拉鍊文件並重新啟動。",
"importText": "通過上傳metadata zip 文件導入 NocoDB Project",
"metaNoChange": "沒有確定更改",
"sqlMigration": "將自動創建架構遷移。創建一個表並刷新此頁面。",
"dbConnectionStatus": "環境驗證",
"dbConnected": "駁到",
"notifications": {
"no_new": "冇新notications",
"clear": "清咗佢"
},
"sponsor": {
"header": "你可以幫助我們!",
"message": "我們是一支小型團隊,全職工作,使Nocodb開放來源。我們相信一個像Nocodb這樣的工具應該在互聯網上的每個問題求解器上自由提供。"
},
"loginMsg": "登入 NocoDB",
"passwordRecovery": {
"message_1": "用番你reg果陣果嗰email",
"message_2": "我們將向您發送一封電子郵件,其中包含重置密碼的鏈接。",
"success": "請檢查您的電子郵件以重置密碼"
},
"signUp": {
"superAdmin": "你會喺超級admin",
"alreadyHaveAccount": "已經有AC?",
"workEmail": "入你嘅email",
"enterPassword": "入你嘅密碼",
"forgotPassword": "唔記得密碼?",
"dontHaveAccount": "無AC?"
},
"addView": {
"grid": "添加網格視圖",
"gallery": "添加圖庫視圖",
"form": "添加表單視圖",
"kanban": "添加Kanban View.",
"calendar": "添加日曆視圖"
},
"tablesMetadataInSync": "表元數據同步",
"addMultipleUsers": "您可以添加多個逗號(,)分隔的電子郵件",
"enterTableName": "輸入表名",
"addDefaultColumns": "添加默認列",
"tableNameInDb": "數據庫中保存的表名",
"airtable": {
"credentials": "Where to find this?"
},
"import": {
"clickOrDrag": "Click or drag file to this area to upload"
},
"metaDataRecreated": "Table metadata recreated successfully",
"invalidCredentials": "Invalid credentials",
"downloadingMoreFiles": "Downloading more files",
"copiedToClipboard": "Copied to clipboard",
"requriedFieldsCantBeMoved": "Required field can't be moved",
"updateNotAllowedWithoutPK": "Update not allowed for table which doesn't have primary key",
"autoIncFieldNotEditable": "Auto increment field is not editable",
"editingPKnotSupported": "Editing primary key not supported",
"deletedCache": "Deleted cache successfully",
"cacheEmpty": "Cache is empty",
"exportedCache": "Exported Cache Successfully",
"valueAlreadyInList": "This value is already in the list",
"noColumnsToUpdate": "No columns to update",
"tableDeleted": "Deleted table successfully",
"generatePublicShareableReadonlyBase": "Generate publicly shareable readonly base",
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables"
},
"error": {
"searchProject": "搵唔到有關 {search}",
"invalidChar": "文件夾路徑中的字符無效。",
"invalidDbCredentials": "數據庫憑據無效。",
"unableToConnectToDb": "無法連接數據庫,請檢查您的數據庫已啟動。",
"userDoesntHaveSufficientPermission": "用戶不存在或具有足夠的權限來創建架構。",
"dbConnectionStatus": "數據庫參數無效",
"dbConnectionFailed": "駁唔到:",
"signUpRules": {
"emailReqd": "E-mail 必須填",
"emailInvalid": "E-mail 唔valid",
"passwdRequired": "密碼必須填",
"passwdLength": "你嗰密碼至少要8個字",
"passwdMismatch": "密碼不匹配",
"completeRuleSet": "At least 8 characters with one Uppercase, one number and one special character",
"atLeast8Char": "At least 8 characters",
"atLeastOneUppercase": "One Uppercase letter",
"atLeastOneNumber": "One Number",
"atLeastOneSpecialChar": "One special character",
"allowedSpecialCharList": "Allowed special character list"
},
"invalidURL": "Invalid URL",
"internalError": "Some internal error occurred",
"templateGeneratorNotFound": "Template Generator cannot be found!",
"fileUploadFailed": "Failed to upload file",
"primaryColumnUpdateFailed": "Failed to update primary column",
"formDescriptionTooLong": "Data too long for Form Description",
"columnsRequired": "Following columns are required",
"selectAtleastOneColumn": "At least one column has to be selected",
"columnDescriptionNotFound": "Cannot find the destination column for",
"duplicateMappingFound": "Duplicate mapping found, please remove one of the mapping",
"nullValueViolatesNotNull": "Null value violates not-null constraint",
"sourceHasInvalidNumbers": "Source data contains some invalid numbers",
"sourceHasInvalidBoolean": "Source data contains some invalid boolean values",
"invalidForm": "Invalid Form",
"formValidationFailed": "Form validation failed",
"youHaveBeenSignedOut": "You have been signed out",
"failedToLoadList": "Failed to load list",
"failedToLoadChildrenList": "Failed to load children list",
"deleteFailed": "Delete failed",
"unlinkFailed": "Unlink failed",
"rowUpdateFailed": "Row update failed",
"deleteRowFailed": "Failed to delete row",
"setFormDataFailed": "Failed to set form data",
"formViewUpdateFailed": "Failed to update form view"
},
"toast": {
"exportMetadata": "項目元數據成功導出",
"importMetadata": "項目元數據成功導入",
"clearMetadata": "項目元數據已成功清除",
"stopProject": "項目成功停止了",
"startProject": "項目成功開始",
"restartProject": "項目成功重新啟動",
"deleteProject": "項目已成功刪除",
"authToken": "驗證令牌複製到剪貼板",
"projInfo": "將項目信息複製到剪貼板",
"inviteUrlCopy": "複製邀請URL到剪貼板",
"createView": "查看成功創建",
"formEmailSMTP": "請激活App Store中的SMTP插件以啟用電子郵件通知",
"collabView": "成功轉換為協作視圖",
"lockedView": "成功轉換為鎖定視圖",
"futureRelease": "即將推出!"
},
"success": {
"updatedUIACL": "Updated UI ACL for tables successfully",
"pluginUninstalled": "Plugin uninstalled successfully",
"pluginSettingsSaved": "Plugin settings saved successfully",
"pluginTested": "Successfully tested plugin settings",
"tableRenamed": "Table renamed successfully",
"viewDeleted": "View deleted successfully",
"primaryColumnUpdated": "Successfully updated as primary column",
"tableDataExported": "Successfully exported all table data",
"updated": "Successfully updated",
"sharedViewDeleted": "Deleted shared view successfully",
"viewRenamed": "View renamed successfully",
"tokenGenerated": "Token generated successfully",
"tokenDeleted": "Token deleted successfully",
"userAddedToProject": "Successfully added user to project",
"userDeletedFromProject": "Successfully deleted user from project",
"inviteEmailSent": "Invite Email sent successfully",
"inviteURLCopied": "Invite URL copied to clipboard",
"shareableURLCopied": "Copied shareable base URL to clipboard!",
"embeddableHTMLCodeCopied": "Copied embeddable HTML code!",
"userDetailsUpdated": "Successfully updated the user details",
"tableDataImported": "Successfully imported table data",
"webhookUpdated": "Webhook details updated successfully",
"webhookDeleted": "Hook deleted successfully",
"webhookTested": "Webhook tested successfully",
"columnUpdated": "Column updated",
"columnCreated": "Column created",
"passwordChanged": "Password changed successfully. Please login again."
}
}
}

32
packages/nc-gui/lib/enums.ts

@ -21,33 +21,37 @@ export enum ClientType {
} }
export enum Language { export enum Language {
ar = 'العربية',
bn_IN = 'ব',
da = 'Dansk',
de = 'Deutsch', de = 'Deutsch',
en = 'English', en = 'English',
es = 'Español', es = 'Español',
fa = 'فارسی', fa = 'فارسی',
fi = 'Suomalainen',
fr = 'Français', fr = 'Français',
he = ִברִית',
hi = 'हि',
hr = 'Hrvatski',
id = 'Bahasa Indonesia', id = 'Bahasa Indonesia',
it = 'Italiano',
ja = '日本語', ja = '日本語',
it_IT = 'Italiano',
ko = '한국인', ko = '한국인',
lv = 'Latviešu', lv = 'Latviešu',
nl = 'Nederlandse', nl = 'Nederlandse',
no = 'Norsk',
pl = 'Polski',
pt = 'Português',
pt_BR = 'Português (Brasil)',
ru = 'Pусский', ru = 'Pусский',
zh_CN = '大陆简体', sl = 'Slovenščina',
zh_HK = '香港繁體',
zh_TW = '臺灣正體',
sv = 'Svenska', sv = 'Svenska',
tr = 'Turkish',
da = 'Dansk',
vi = 'Tiếng Việt',
no = 'Norsk',
iw = ִברִית',
fi = 'Suomalainen',
uk = 'Українська',
hr = 'Hrvatski',
th = 'ไทย', th = 'ไทย',
sl = 'Slovenščina', tr = 'Türk',
pt_BR = 'Português (Brasil)', uk = 'Українська',
vi = 'Tiếng Việt',
zh_Hans = '简体中文',
zh_Hant = '繁體中文',
} }
export enum NavigateDir { export enum NavigateDir {

38
packages/nc-gui/plugins/a.i18n.ts

@ -15,33 +15,37 @@ export const createI18nPlugin = async () =>
// Associate each locale to a content file // Associate each locale to a content file
messages: { messages: {
ar: await import('~/lang/ar.json'),
bn_IN: await import('~/lang/bn_IN.json'),
da: await import('~/lang/da.json'),
de: await import('~/lang/de.json'),
en: await import('~/lang/en.json'), en: await import('~/lang/en.json'),
zh_HK: await import('~/lang/zh_HK.json'),
zh_TW: await import('~/lang/zh_TW.json'),
zh_CN: await import('~/lang/zh_CN.json'),
ja: await import('~/lang/ja.json'),
fr: await import('~/lang/fr.json'),
es: await import('~/lang/es.json'), es: await import('~/lang/es.json'),
de: await import('~/lang/de.json'), fa: await import('~/lang/fa.json'),
fi: await import('~/lang/fi.json'),
fr: await import('~/lang/fr.json'),
he: await import('~/lang/he.json'),
hi: await import('~/lang/hi.json'),
hr: await import('~/lang/hr.json'),
id: await import('~/lang/id.json'), id: await import('~/lang/id.json'),
it_IT: await import('~/lang/it_IT.json'), it: await import('~/lang/it.json'),
ja: await import('~/lang/ja.json'),
ko: await import('~/lang/ko.json'), ko: await import('~/lang/ko.json'),
lv: await import('~/lang/lv.json'), lv: await import('~/lang/lv.json'),
nl: await import('~/lang/nl.json'), nl: await import('~/lang/nl.json'),
no: await import('~/lang/no.json'),
pl: await import('~/lang/pl.json'),
pt: await import('~/lang/pt.json'),
pt_BR: await import('~/lang/pt_BR.json'),
ru: await import('~/lang/ru.json'), ru: await import('~/lang/ru.json'),
sv: await import('~/lang/sv.json'), sv: await import('~/lang/sv.json'),
da: await import('~/lang/da.json'),
vi: await import('~/lang/vi.json'),
no: await import('~/lang/no.json'),
iw: await import('~/lang/iw.json'),
fi: await import('~/lang/fi.json'),
uk: await import('~/lang/uk.json'),
hr: await import('~/lang/hr.json'),
th: await import('~/lang/th.json'),
sl: await import('~/lang/sl.json'), sl: await import('~/lang/sl.json'),
pt_BR: await import('~/lang/pt_BR.json'), th: await import('~/lang/th.json'),
fa: await import('~/lang/fa.json'),
tr: await import('~/lang/tr.json'), tr: await import('~/lang/tr.json'),
uk: await import('~/lang/uk.json'),
vi: await import('~/lang/vi.json'),
zh_Hans: await import('~/lang/zh-Hans.json'),
zh_Hant: await import('~/lang/zh-Hant.json'),
}, },
}) })

16
scripts/cypress/integration/common/6d_language_validation.js

@ -60,6 +60,8 @@ export const genTest = (apiType, dbType) => {
}; };
let langMenu = [ let langMenu = [
"ar.json",
"bn_IN.json",
"da.json", "da.json",
"de.json", "de.json",
"en.json", "en.json",
@ -67,15 +69,18 @@ export const genTest = (apiType, dbType) => {
"fa.json", "fa.json",
"fi.json", "fi.json",
"fr.json", "fr.json",
"he.json",
"hi.json",
"hr.json", "hr.json",
"id.json", "id.json",
"it_IT.json", "it.json",
"iw.json",
"ja.json", "ja.json",
"ko.json", "ko.json",
"lv.json", "lv.json",
"nl.json", "nl.json",
"no.json", "no.json",
"pl.json",
"pt.json",
"pt_BR.json", "pt_BR.json",
"ru.json", "ru.json",
"sl.json", "sl.json",
@ -84,9 +89,8 @@ export const genTest = (apiType, dbType) => {
"tr.json", "tr.json",
"uk.json", "uk.json",
"vi.json", "vi.json",
"zh_CN.json", "zh-Hans.json",
"zh_HK.json", "zh-Hant.json",
"zh_TW.json",
]; ];
// Index is the order in which menu options appear // Index is the order in which menu options appear
@ -94,7 +98,7 @@ export const genTest = (apiType, dbType) => {
langVerification(i, langMenu[i]); langVerification(i, langMenu[i]);
// reset to English // reset to English
langVerification(2, langMenu[2]); langVerification(4, langMenu[4]);
}); });
}; };

Loading…
Cancel
Save