Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions frontend/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,26 @@
"closeConfirmExitContent": "Exiting the client will stop the running process, please make sure to save the running process before exiting",
"closeMainPage": "Close Main Page",
"common": {
"account": "Account",
"all": "All",
"attachment": "Attachment",
"avatarBgColor": "Avatar Background Color",
"avatarIcon": "Avatar Icon",
"cancel": "Cancel",
"confirm": "Confirm",
"gotIt": "Got it",
"cancelCollect": "Cancel collection",
"cancelCollectSuccess": "Uncollection successful",
"changeAvatar": "Change Avatar",
"collapse": "Collapse",
"collect": "Collect",
"collectSuccess": "Collection successful",
"copy": "Copy",
"copySuccess": "Copy Success",
"createDate": "Creation Date",
"createTime": "Creation Time",
"custom": "Custom",
"delete": "Delete",
"default": "Default",
"deleteSuccess": "Deleted successfully",
"deploy": "Deploy",
Expand Down Expand Up @@ -247,6 +254,7 @@
"locked": "Locked",
"notExecuted": "Not Executed",
"obtained": "Obtained",
"operate": "Operate",
"operationFail": "Operation failed",
"operationSuccess": "Operation successful",
"phone": "Contact information",
Expand All @@ -255,6 +263,7 @@
"publishStatus": "Publish Status",
"published": "Published",
"random": "Random",
"redo": "Redo",
"reGet": "Retrieve Again",
"realName": "Real name",
"refreshPage": "Refresh page",
Expand All @@ -263,15 +272,18 @@
"renameSuccess": "Rename successful",
"robotCancel": "Cancel",
"robotExecute": "Executing",
"save": "Save",
"selectPlaceholder": "Please select {{name}}",
"share": "Share",
"startFailed": "Start Failed",
"success": "Success",
"totalData": "A total of {{total}} items",
"undo": "Undo",
"unpublished": "Unpublished",
"unupdated": "Not Updated",
"update": "Update",
"updateLog": "Update Log",
"updateTime": "Update Time",
"updated": "Updated",
"updating": "Updating",
"userName": "Username",
Expand Down Expand Up @@ -455,6 +467,8 @@
"hms_cn": "%H时%M分%S秒",
"m.d": "%m.%d",
"m.d_hms": "%m.%d %H:%M:%S",
"m_dot_d": "%m.%d",
"m_dot_d_hms": "%m.%d %H:%M:%S",
"m_d": "%m/%d",
"m_d_hms": "%m/%d %H:%M:%S",
"md": "%m-%d",
Expand All @@ -469,6 +483,10 @@
"y.m.d": "%Y.%m.%d",
"y.m.d_hm": "%Y.%m.%d %H:%M",
"y.m.d_hms": "%Y.%m.%d %H:%M:%S",
"y_dot_m": "%Y.%m",
"y_dot_m_dot_d": "%Y.%m.%d",
"y_dot_m_dot_d_hm": "%Y.%m.%d %H:%M",
"y_dot_m_dot_d_hms": "%Y.%m.%d %H:%M:%S",
"y_m": "%Y/%m",
"y_m_d": "%Y/%m/%d",
"y_m_d_hm": "%Y/%m/%d %H:%M",
Expand Down Expand Up @@ -696,6 +714,9 @@
"enterVaruableName": "Please enter a variable name",
"envLoading": "Environment loading",
"equipment": "Equipment",
"email": "Email",
"enter": "Please enter",
"enterAppName": "Please enter application name",
"errorType": "Error type",
"excellenceCenter": "Excellence Center",
"exceptionHandling": "Exception",
Expand All @@ -719,6 +740,7 @@
"fileTypeTip": "In wildcard matching rules, entering * will match all file types by default.",
"fileVerificationFailed": "File verification failed, please upload again",
"fileVerificationSuccess": "File verification successful",
"forceClose": "Force Close",
"fillout": "Please fill out the form correctly and completely",
"filterColumnNumber": "Filter Column Number",
"filterRules": "Filter Rules",
Expand Down Expand Up @@ -837,6 +859,7 @@
},
"mailTitle": "Email Name",
"market": {
"department": "Department",
"createTeam": "Create",
"dissolveTeam": "Dissolve Team",
"enterApplicationName": "Enter Application Name",
Expand Down Expand Up @@ -878,6 +901,8 @@
"deleteAppConfirm3": "Deleting cannot be undone. Confirm to delete?",
"enterFileName": "Please enter file name",
"fileName": "File Name",
"owner": "Owner",
"tags": "Tags",
"copyLink": "Copy Link",
"revoke": "Revoke",
"unpublishConfirm": "About to unpublish: {{name}}. It cannot be recovered. Continue?",
Expand Down Expand Up @@ -973,7 +998,7 @@
"meetAllConditions": "Meet all the following conditions",
"meetAnyConditions": "Satisfy any of the following conditions",
"minimizeToTray": "Minimize to tray",
"minutes": "minutes",
"minutes": "Minutes",
"mirror": "Mirror",
"mobilePhoneNotEmpty": "Mobile phone number cannot be empty!",
"mobilePhoneNumber": "Phone number",
Expand Down Expand Up @@ -1024,7 +1049,7 @@
"operate": "Operate",
"operatingStatus": "Operational Status",
"otherLoginWays": "Other ways to log in",
"output": "output",
"output": "Output",
"owner": "Owner",
"packageName": "Python Package name",
"packageOutputMessage": "Installation process output information",
Expand All @@ -1044,6 +1069,7 @@
"pickupAppName": "Pick the app name",
"pickupImage": "Pickup image",
"pickupNewElement": "New pickup",
"pickElementFailed": "Failed to pick element",
"pipUpgradeSuccess": "pip upgrade successful!",
"pipVersion": "pip version",
"pleaseChoose": "please choose",
Expand Down Expand Up @@ -1469,6 +1495,7 @@
"webAutomationDesc": "Scrape data from the web and save to Excel"
},
"smartRecording": "Smart recording",
"smartComponentPick": "Smart component pick",
"sort": "Sort",
"source": "Source",
"spaceInfo": "Your account is associated with the following spaces and you can enter any space",
Expand Down Expand Up @@ -1599,6 +1626,7 @@
"undo": "Undo",
"uninstall": "Uninstall",
"unpublish": "Unpublish",
"update": "Update",
"updateLater": "Update Later",
"updateNow": "Update Now",
"updated": "Updated",
Expand All @@ -1614,11 +1642,15 @@
"use": "Use",
"useDirection": "Directions for use",
"userInfo": {
"schedulingModeDesc": "When enabled, this client will automatically receive remote tasks from the console, and task execution will be monitored by the console. Please confirm.",
"startSchedulingMode": "Start Scheduling Mode",
"userName": "User Name",
"userRight": "Rights Information"
},
"userManual": "User Manual",
"userName": "Username",
"validateElement": "Validate element",
"validationSuccess": "Validation successful",
"varDescribe": "Description",
"varName": "Variable name",
"varType": "Type",
Expand Down Expand Up @@ -1804,6 +1836,10 @@
"deleteConfirm": "Deleting will invalidate all operations that reference this parameter. This action cannot be undone. Confirm deletion?"
},
"userForm": {
"enterEmail": "Please enter an email address",
"enterPhone": "Please enter a phone number",
"email": "Email",
"phone": "Phone",
"lengthRangeTip": "{{title}} must be {{min}}-{{max}} characters"
},
"multiChat": {
Expand Down
36 changes: 36 additions & 0 deletions frontend/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"voucherName": "凭证名称",
"about": "关于",
"enterUserName": "输入您的账号或手机号",
"userName": "用户名",
"enterPassword": "输入您的密码(6-20位)",
"confirmPassword": "确认密码(6-20位)",
"enterMobileNumber": "输入您的手机号",
Expand Down Expand Up @@ -141,6 +142,7 @@
"networkError": "网络异常,检查是否联网",
"accountAbnormality": "账号异常",
"updating": "正在更新",
"update": "更新",
"upgrade": "升级",
"pipVersion": "pip版本",
"pleaseChoose": "请选择",
Expand Down Expand Up @@ -181,6 +183,7 @@
"driverInstallation": "驱动安装",
"reinstall": "重新安装",
"pluginUpdate": "插件更新",
"forceClose": "强制关闭",
"installationTutorial": "安装教程",
"intelligentInstallation": "智能安装",
"updateNow": "立即更新",
Expand Down Expand Up @@ -208,6 +211,9 @@
"debuggingNext": "调试下一步",
"exitDebugging": "退出调试",
"runFailEmailNotification": "当应用运行失败时,进行邮件通知",
"email": "邮箱",
"enter": "请输入",
"enterAppName": "请输入应用名称",
"runFailSMSNotification": "当应用运行失败时,进行短信通知",
"emailNotification": "邮件通知",
"SMSNotification": "短信通知",
Expand Down Expand Up @@ -654,6 +660,8 @@
"saving": "保存中",
"saveErrorAndQuit": "保存失败, 是否继续退出,退出后将丢失当前编辑内容",
"common": {
"account": "账号",
"all": "全部",
"totalData": "共 {{total}} 项数据",
"createDate": "创建日期",
"publishStatus": "发布状态",
Expand All @@ -668,6 +676,7 @@
"success": "成功",
"fail": "失败",
"cancel": "中止",
"confirm": "确定",
"notExecuted": "未执行",
"robotCancel": "中止",
"robotExecute": "正在执行",
Expand All @@ -682,6 +691,7 @@
"versionManagement": "版本管理",
"localRobot": "本地",
"deleteSuccess": "删除成功",
"delete": "删除",
"enterPlaceholder": "请输入{{name}}",
"selectPlaceholder": "请选择{{name}}",
"operationSuccess": "操作成功",
Expand All @@ -697,6 +707,7 @@
"get": "获取",
"reGet": "重新获取",
"obtained": "已获取",
"operate": "操作",
"updating": "更新中",
"hasUpdateVersion": "有更新版本",
"deploy": "部署",
Expand All @@ -707,6 +718,9 @@
"installFailed": "安装失败",
"installing": "正在安装...",
"renameSuccess": "重命名成功",
"copy": "复制",
"copySuccess": "复制成功",
"createTime": "创建时间",
"enter": "请输入",
"expand": "展开",
"collapse": "收起",
Expand All @@ -719,6 +733,10 @@
"versionNumber": "版本号",
"remove": "移除",
"update": "更新",
"updateTime": "更新时间",
"redo": "重做",
"save": "保存",
"undo": "撤销",
"changeAvatar": "修改头像",
"random": "随机",
"default": "默认",
Expand Down Expand Up @@ -770,6 +788,7 @@
"notEmpty": "{{name}}不能为空"
},
"market": {
"department": "部门",
"createTeam": "创建",
"myApplication": "我的申请",
"enterApplicationName": "请输入应用名称",
Expand Down Expand Up @@ -811,6 +830,8 @@
"deleteAppConfirm3": "删除后不可恢复,请确认继续删除?",
"enterFileName": "请输入文件名称",
"fileName": "文件名称",
"owner": "所有者",
"tags": "标签",
"copyLink": "复制链接",
"revoke": "撤销",
"unpublishConfirm": "将要下架:{{name}}, 下架后将无法恢复,是否仍要下架?",
Expand Down Expand Up @@ -900,6 +921,8 @@
"uploadSuccessFile": "请上传成功的文件"
},
"userInfo": {
"schedulingModeDesc": "开启后当前客户端会自动接收控制台下发的远程任务,对应任务执行情况会被控制台监控,请确认。",
"startSchedulingMode": "开始调度模式",
"userName": "用户名称",
"userRight": "权益信息"
},
Expand Down Expand Up @@ -1172,20 +1195,26 @@
"md_hms": "%m-%d %H:%M:%S",
"m_d_hms": "%m/%d %H:%M:%S",
"m.d_hms": "%m.%d %H:%M:%S",
"m_dot_d_hms": "%m.%d %H:%M:%S",
"mn_dn_hms": "%m月%d日 %H:%M:%S",
"mn_dn_hms_cn": "%m月%d日 %H时%M分%S秒",
"ymd": "%Y-%m-%d",
"y_md": "%Y-%#m-%#d",
"y_m_d": "%Y/%m/%d",
"y.m.d": "%Y.%m.%d",
"y_dot_m_dot_d": "%Y.%m.%d",
"y_dot_m_dot_d_hm": "%Y.%m.%d %H:%M",
"y_dot_m_dot_d_hms": "%Y.%m.%d %H:%M:%S",
"ycn_mn_dn": "%Y年%m月%d日",
"ym": "%Y-%m",
"y_m": "%Y/%m",
"y.m": "%Y.%m",
"y_dot_m": "%Y.%m",
"ycn_mn": "%Y年%m月",
"md": "%m-%d",
"m_d": "%m/%d",
"m.d": "%m.%d",
"m_dot_d": "%m.%d",
"mn_dn": "%m月%d日",
"hms": "%H:%M:%S",
"hms_cn": "%H时%M分%S秒",
Expand Down Expand Up @@ -1536,6 +1565,9 @@
"placeholderInput": "请输入...",
"thinking": "正在思考..."
},
"pickElementFailed": "拾取元素失败",
"smartComponentPick": "智能组件拾取",
"validationSuccess": "校验成功",
"sheet": {
"dataImport": "数据导入",
"selectSheet": "请选择需要导入的 sheet 页",
Expand Down Expand Up @@ -1804,6 +1836,10 @@
"deleteConfirm": "删除后所有引用了该参数的操作都将失效。删除后无法恢复,请确认。"
},
"userForm": {
"enterEmail": "请输入邮箱地址",
"enterPhone": "请输入手机号",
"email": "邮箱",
"phone": "手机号",
"lengthRangeTip": "{{title}}请输入{{min}}-{{max}}位字符"
},
"multiChat": {
Expand Down
11 changes: 7 additions & 4 deletions frontend/packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@ant-design/colors": "^7.2.1",
"@guolao/vue-monaco-editor": "^1.5.4",
"@progress/jszip-esm": "^1.0.4",
"@rpa/components": "file:",
"@rpa/shared": "workspace:*",
"@tiptap/extension-gapcursor": "^2.7.2",
"@tiptap/extension-image": "^2.7.2",
Expand All @@ -51,15 +50,17 @@
"@univerjs/presets": "^0.15.0",
"@vueuse/core": "^11.0.1",
"@zwight/exceljs": "^4.4.2",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.19",
"lodash-es": "^4.17.21",
"lodash-es": "catalog:",
"monaco-editor": "^0.52.2",
"nanoid": "^5.1.6",
"papaparse": "^5.5.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwind-merge": "^3.4.0",
"vscode-languageserver-types": "^3.17.5",
"vue-router": "catalog:",
"xml2js": "^0.6.2"
},
"devDependencies": {
Expand All @@ -79,6 +80,8 @@
"peerDependencies": {
"@ant-design/icons-vue": ">=7",
"ant-design-vue": ">=4",
"vue": ">=3"
"vue": ">=3",
"i18next": "^25.3.6",
"i18next-vue": "^5.3.0"
Comment on lines +84 to +85

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The peer dependencies i18next and i18next-vue are also used in frontend/packages/web-app/package.json with the exact same versions. To prevent version drift and maintain a single source of truth across the monorepo, these dependencies should be moved to the central catalog in frontend/pnpm-workspace.yaml and referenced using the catalog: protocol.

Additionally, since these are peer dependencies, they should also be added to devDependencies of @rpa/components to ensure they are available during local development and isolated builds.

Suggested change
"i18next": "^25.3.6",
"i18next-vue": "^5.3.0"
"i18next": "catalog:",
"i18next-vue": "catalog:"

}
}
}
1 change: 0 additions & 1 deletion frontend/packages/electron-app/electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
],
"asar": false,
"files": [
"node_modules/**",
"out/**",
"extensions/**",
"package.json"
Expand Down
Loading
Loading