From b1fcac5ee2505376a882a9f01712bc49434979aa Mon Sep 17 00:00:00 2001 From: scarqin <1054139596@qq.com> Date: Thu, 30 Jun 2022 18:56:13 +0800 Subject: [PATCH] translate: cn --- src/workbench/browser/angular.json | 161 +- .../browser/locale/messages.en-US.xlf | 1523 ----------------- src/workbench/browser/locale/messages.xlf | 1514 ---------------- .../editor/eo-editor/eo-editor.component.ts | 4 +- .../src/app/pages/api/api.component.ts | 2 +- .../pages/api/detail/api-detail.service.ts | 4 +- .../header/api-detail-header.component.ts | 2 +- .../pages/api/edit/api-edit.component.html | 2 +- .../app/pages/api/edit/api-edit.service.ts | 4 +- .../edit/body/api-edit-body.component.html | 2 +- .../api-params-extra-setting.component.ts | 2 +- .../header/api-edit-header.component.html | 2 +- .../edit/header/api-edit-header.component.ts | 2 +- .../group/tree/api-group-tree.component.html | 8 +- .../group/tree/api-group-tree.component.ts | 2 +- .../pages/api/mock/api-mock.component.html | 6 +- .../api/overview/api-overview.component.html | 2 +- .../api/overview/api-overview.component.ts | 4 +- .../app/pages/api/tab/api-tab.component.ts | 8 +- .../pages/api/test/api-test.component.html | 2 +- .../app/pages/api/test/api-test.service.ts | 4 +- .../test/body/api-test-body.component.html | 4 +- .../header/api-test-header.component.html | 2 +- .../test/header/api-test-header.component.ts | 2 +- .../history/api-test-history.component.ts | 6 +- .../pages/extension/extension.component.html | 2 +- .../app/pages/navbar/navbar.component.html | 2 +- .../shared/components/env/env.component.html | 4 +- .../shared/components/env/env.component.ts | 10 +- .../setting/common/data-storage.component.ts | 6 +- .../common/language-swtcher.componet.ts | 4 +- .../components/setting/setting.component.ts | 4 +- .../shared/services/remote/remote.service.ts | 4 +- src/workbench/browser/src/locale/messages.xlf | 557 +++--- .../browser/src/locale/messages.zh-Hans.xlf | 16 +- .../browser/src/ng1/lib/angular/angular.js | 12 +- 36 files changed, 582 insertions(+), 3313 deletions(-) delete mode 100644 src/workbench/browser/locale/messages.en-US.xlf delete mode 100644 src/workbench/browser/locale/messages.xlf diff --git a/src/workbench/browser/angular.json b/src/workbench/browser/angular.json index 1f73aa43..b5b6816f 100644 --- a/src/workbench/browser/angular.json +++ b/src/workbench/browser/angular.json @@ -1 +1,160 @@ -{"$schema":"./node_modules/@angular/cli/lib/config/schema.json","cli":{"analytics":false,"defaultCollection":"@angular-eslint/schematics"},"version":1,"newProjectRoot":"projects","projects":{"eoapi":{"root":"","i18n":{"sourceLocale":{"code":"en","baseHref":""},"locales":{"zh":{"translation":"src/locale/messages.zh-Hans.xlf","baseHref":""}}},"sourceRoot":"src","projectType":"application","schematics":{"@schematics/angular:application":{"strict":true}},"architect":{"build":{"builder":"@angular-builders/custom-webpack:browser","options":{"localize":true,"aot":true,"outputPath":"dist","index":"src/index.html","main":"src/main.ts","tsConfig":"src/tsconfig.app.json","polyfills":"src/polyfills.ts","assets":["src/icon.ico","src/assets",{"glob":"**/*","input":"../../../node_modules/@ant-design/icons-angular/src/inline-svg/","output":"/assets/"}],"styles":[{"input":"src/assets/theme/classic_forest.scss","bundleName":"classic_forest","inject":false},"src/styles.scss","src/assets/theme/antd.less","src/assets/font/iconfont.css","src/ng1/index.css"],"scripts":["src/ng1/lib/angular/angular.js","src/ng1/app.module.js","src/ng1/component/select-default.js","src/ng1/component/sort-and-filter.js","src/ng1/component/auto-complete.js","src/ng1/component/list-block.js","src/ng1/directive/get-dom-length.directive.js","src/ng1/directive/drop-down-menu.directive.js","src/ng1/directive/sort.directive.js","src/ng1/directive/drop-change-space.directive.js","src/ng1/directive/inner-html.directive.js","src/ng1/directive/insert-html.directive.js","src/ng1/directive/copy-common.directive.js"],"customWebpackConfig":{"path":"./angular.webpack.js","replaceDuplicatePlugins":true},"allowedCommonJsDependencies":["brace","qs","rxjs"]},"configurations":{"dev":{"optimization":false,"outputHashing":"none","sourceMap":true,"namedChunks":false,"extractLicenses":true,"vendorChunk":false,"buildOptimizer":false,"fileReplacements":[{"replace":"src/environments/environment.ts","with":"src/environments/environment.dev.ts"}]},"web":{"optimization":false,"outputHashing":"none","sourceMap":true,"namedChunks":false,"localize":false,"extractLicenses":true,"vendorChunk":false,"buildOptimizer":false,"fileReplacements":[{"replace":"src/environments/environment.ts","with":"src/environments/environment.web.ts"}]},"webCn":{"optimization":false,"outputHashing":"none","sourceMap":true,"namedChunks":false,"localize":["zh"],"extractLicenses":true,"vendorChunk":false,"buildOptimizer":false,"fileReplacements":[{"replace":"src/environments/environment.ts","with":"src/environments/environment.web.ts"}]},"production":{"optimization":true,"outputHashing":"all","sourceMap":false,"namedChunks":false,"extractLicenses":true,"vendorChunk":false,"buildOptimizer":true,"fileReplacements":[{"replace":"src/environments/environment.ts","with":"src/environments/environment.prod.ts"}]}}},"serve":{"builder":"@angular-builders/custom-webpack:dev-server","options":{"browserTarget":"eoapi:build"},"configurations":{"dev":{"browserTarget":"eoapi:build:dev"},"web":{"browserTarget":"eoapi:build:web"},"webCn":{"browserTarget":"eoapi:build:webCn"},"production":{"browserTarget":"eoapi:build:production"}}},"extract-i18n":{"builder":"@angular-devkit/build-angular:extract-i18n","options":{"browserTarget":"eoapi:build"}},"test":{"builder":"@angular-builders/custom-webpack:karma","options":{"main":"src/test.ts","polyfills":"src/polyfills-test.ts","tsConfig":"src/tsconfig.spec.json","karmaConfig":"src/karma.conf.js","scripts":[],"styles":["src/styles.scss"],"assets":["src/assets"],"customWebpackConfig":{"path":"./angular.webpack.js","replaceDuplicatePlugins":true}}},"lint":{"builder":"@angular-eslint/builder:lint","options":{"lintFilePatterns":["src/**/*.ts","src/**/*.html"]}}}},"eoapi-e2e":{"root":"e2e","projectType":"application","architect":{"lint":{"builder":"@angular-eslint/builder:lint","options":{"lintFilePatterns":["e2e/**/*.ts"]}}}}},"defaultProject":"eoapi","schematics":{"@schematics/angular:component":{"prefix":"eo","style":"scss"},"@schematics/angular:directive":{"prefix":"eo"}}} \ No newline at end of file +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "cli": { "analytics": false, "defaultCollection": "@angular-eslint/schematics" }, + "version": 1, + "newProjectRoot": "projects", + "projects": { + "eoapi": { + "root": "", + "i18n": { + "sourceLocale": { "code": "en", "baseHref": "" }, + "locales": { "zh": { "translation": "src/locale/messages.zh-Hans.xlf", "baseHref": "" } } + }, + "sourceRoot": "src", + "projectType": "application", + "schematics": { "@schematics/angular:application": { "strict": true } }, + "architect": { + "build": { + "builder": "@angular-builders/custom-webpack:browser", + "options": { + "localize": true, + "aot": true, + "outputPath": "dist", + "index": "src/index.html", + "main": "src/main.ts", + "tsConfig": "src/tsconfig.app.json", + "polyfills": "src/polyfills.ts", + "assets": [ + "src/icon.ico", + "src/assets", + { + "glob": "**/*", + "input": "../../../node_modules/@ant-design/icons-angular/src/inline-svg/", + "output": "/assets/" + } + ], + "styles": [ + { "input": "src/assets/theme/classic_forest.scss", "bundleName": "classic_forest", "inject": false }, + "src/styles.scss", + "src/assets/theme/antd.less", + "src/assets/font/iconfont.css", + "src/ng1/index.css" + ], + "scripts": [ + "src/ng1/lib/angular/angular.js", + "src/ng1/app.module.js", + "src/ng1/component/select-default.js", + "src/ng1/component/sort-and-filter.js", + "src/ng1/component/auto-complete.js", + "src/ng1/component/list-block.js", + "src/ng1/directive/get-dom-length.directive.js", + "src/ng1/directive/drop-down-menu.directive.js", + "src/ng1/directive/sort.directive.js", + "src/ng1/directive/drop-change-space.directive.js", + "src/ng1/directive/inner-html.directive.js", + "src/ng1/directive/insert-html.directive.js", + "src/ng1/directive/copy-common.directive.js" + ], + "customWebpackConfig": { "path": "./angular.webpack.js", "replaceDuplicatePlugins": true }, + "allowedCommonJsDependencies": ["brace", "qs", "rxjs"] + }, + "configurations": { + "dev": { + "optimization": false, + "outputHashing": "none", + "sourceMap": true, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": false, + "fileReplacements": [ + { "replace": "src/environments/environment.ts", "with": "src/environments/environment.dev.ts" } + ] + }, + "web": { + "optimization": false, + "outputHashing": "none", + "sourceMap": true, + "namedChunks": false, + "localize": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": false, + "fileReplacements": [ + { "replace": "src/environments/environment.ts", "with": "src/environments/environment.web.ts" } + ] + }, + "webCn": { + "optimization": false, + "outputHashing": "none", + "sourceMap": true, + "namedChunks": false, + "localize": ["zh"], + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": false, + "fileReplacements": [ + { "replace": "src/environments/environment.ts", "with": "src/environments/environment.web.ts" } + ] + }, + "production": { + "optimization": true, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "fileReplacements": [ + { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } + ] + } + } + }, + "serve": { + "builder": "@angular-builders/custom-webpack:dev-server", + "options": { "browserTarget": "eoapi:build" }, + "configurations": { + "dev": { "browserTarget": "eoapi:build:dev" }, + "web": { "browserTarget": "eoapi:build:web" }, + "webCn": { "browserTarget": "eoapi:build:webCn" }, + "production": { "browserTarget": "eoapi:build:production" } + } + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { "browserTarget": "eoapi:build" } + }, + "test": { + "builder": "@angular-builders/custom-webpack:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills-test.ts", + "tsConfig": "src/tsconfig.spec.json", + "karmaConfig": "src/karma.conf.js", + "scripts": [], + "styles": ["src/styles.scss"], + "assets": ["src/assets"], + "customWebpackConfig": { "path": "./angular.webpack.js", "replaceDuplicatePlugins": true } + } + }, + "lint": { + "builder": "@angular-eslint/builder:lint", + "options": { "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] } + } + } + }, + "eoapi-e2e": { + "root": "e2e", + "projectType": "application", + "architect": { + "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": ["e2e/**/*.ts"] } } + } + } + }, + "defaultProject": "eoapi", + "schematics": { + "@schematics/angular:component": { "prefix": "eo", "style": "scss" }, + "@schematics/angular:directive": { "prefix": "eo" } + } +} diff --git a/src/workbench/browser/locale/messages.en-US.xlf b/src/workbench/browser/locale/messages.en-US.xlf deleted file mode 100644 index 5bf80ba9..00000000 --- a/src/workbench/browser/locale/messages.en-US.xlf +++ /dev/null @@ -1,1523 +0,0 @@ - - - - - - 无法连接到远程数据源,请检查后重新连接,为了不影响使用,程序将帮您跳转到本地 - - src/app/app.component.ts - 34 - - {can not connect} - Unable to connect to remote data sources, please check and reconnect. In order not to affect use, the app will help you jump to local - - - 没有找到ID为的mock! - - src/app/app.service.ts - 45 - - No mock found with ID! - - - 经典 - - src/app/core/services/theme/theme.model.ts - 3 - - Classic - - - 森林 - - src/app/core/services/theme/theme.model.ts - 6 - - Forest - - - 内容类型 - - src/app/eoui/editor/eo-editor/eo-editor.component.html - 3,7 - - Content Type - - - 整理格式 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 19 - - Format - - - 复制 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 23 - - Copy - - - 搜索 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 27 - - Search - - - 下载 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 31 - - Download - - - 新开标签 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 35 - - New Tab - - - 替换 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 39 - - Replace - - - 管理环境 - - src/app/pages/api/api.component.html - 54 - - Manage Environment - - - 文档 - - src/app/pages/api/api.component.ts - 26 - - Preview - - - 编辑 - - src/app/pages/api/api.component.ts - 30 - - - src/app/pages/api/mock/api-mock.component.ts - 28,29 - - Edit - - - 测试 - - src/app/pages/api/api.component.ts - 34 - - Test - - - 删除确认? - - src/app/pages/api/api.service.ts - 23 - - Deletion confirmation - - - 确认要删除数据 <strong title=""></strong> 吗?删除后不可恢复! - - src/app/pages/api/api.service.ts - 24,26 - - Are you sure you want to delete the data <strong title=""></strong> ? You cannot restore it once deleted! - - - 请求头部 - - src/app/pages/api/detail/api-detail.component.html - 9 - - - src/app/pages/api/edit/api-edit.component.html - 64 - - - src/app/pages/api/test/api-test.component.html - 56 - - - src/app/pages/api/test/api-test.component.html - 125 - - Request Headers - - - Query 参数 - - src/app/pages/api/detail/api-detail.component.html - 13 - - - src/app/pages/api/edit/api-edit.component.html - 94 - - - src/app/pages/api/test/api-test.component.html - 86 - - Query - - - Rest 参数 - - src/app/pages/api/detail/api-detail.component.html - 17 - - Rest - - - Body 请求参数 - - src/app/pages/api/detail/api-detail.component.html - 22 - - Body - - - 最外层结构为: - - src/app/pages/api/detail/api-detail.component.html - 25 - - The outermost structure is: - - - 返回头部 - - src/app/pages/api/detail/api-detail.component.html - 35 - - - src/app/pages/api/edit/api-edit.component.html - 123 - - - src/app/pages/api/test/api-test.component.html - 118 - - Response Headers - - - 返回参数 - - src/app/pages/api/detail/api-detail.component.html - 39 - - Response - - - 参数 - - src/app/pages/api/detail/api-detail.service.ts - 60 - - - src/app/pages/api/test/api-test.service.ts - 11 - - - src/app/pages/api/test/body/api-test-body.component.ts - 170 - - Param - - - 名 - - src/app/pages/api/detail/api-detail.service.ts - 69 - - - src/app/pages/api/detail/api-detail.service.ts - 72 - - - src/app/pages/api/test/api-test.service.ts - 12 - - Name - - - 必填 - - src/app/pages/api/detail/api-detail.service.ts - 77 - - - src/app/pages/api/detail/api-detail.service.ts - 133 - - Required - - - {{item.required?"是":""}} - - src/app/pages/api/detail/api-detail.service.ts - 79 - - - src/app/pages/api/detail/api-detail.service.ts - 135 - - {{item.required?"True":""}} - - - 说明 - - src/app/pages/api/detail/api-detail.service.ts - 84 - - - src/app/pages/api/detail/api-detail.service.ts - 140 - - Description - - - 示例 - - src/app/pages/api/detail/api-detail.service.ts - 92 - - - src/app/pages/api/detail/api-detail.service.ts - 148 - - Example - - - 参数名 - - src/app/pages/api/detail/api-detail.service.ts - 119 - - - src/app/pages/api/test/api-test.service.ts - 96 - - - src/app/pages/api/test/api-test.service.ts - 99 - - Param Name - - - 类型 - - src/app/pages/api/detail/api-detail.service.ts - 126 - - - src/app/pages/api/test/api-test.service.ts - 104 - - Type - - - <span class="eo-operate-btn fs12" ng-show="item.minimum || - item.maximum || - item.minLength || - item.maxLength || - (item.enum && item.enum.length > 0 && item.enum[0].value)">{{item.isClick?"收缩":"展开"}}</span> - - src/app/pages/api/detail/api-detail.service.ts - 157,161 - - <span class="eo-operate-btn fs12" ng-show="item.minimum || - item.maximum || - item.minLength || - item.maxLength || - (item.enum && item.enum.length > && item.enum[0].value)">{{item.isClick?"Shrink":"Expand"}}</span> - - - 头部 - - src/app/pages/api/detail/header/api-detail-header.component.ts - 25 - - - src/app/pages/api/edit/header/api-edit-header.component.ts - 36 - - - src/app/pages/api/test/header/api-test-header.component.ts - 50 - - Header - - - 标签 - - src/app/pages/api/detail/header/api-detail-header.component.ts - 26 - - - src/app/pages/api/edit/header/api-edit-header.component.ts - 37 - - - src/app/pages/api/test/header/api-test-header.component.ts - 51 - - Key - - - 点击复制 - - src/app/pages/api/detail/mock/api-detail-mock.component.html - 3 - - - src/app/pages/api/mock/api-mock.component.html - 12 - - Click to Copy - - - 系统自动创建 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 29 - - - src/app/pages/api/mock/api-mock.component.ts - 34 - - System creation - - - 手动创建 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 30 - - - src/app/pages/api/mock/api-mock.component.ts - 35 - - Manual creation - - - 名称 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 33 - - - src/app/pages/api/mock/api-mock.component.ts - 38 - - Name - - - 创建方式 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 34 - - - src/app/pages/api/mock/api-mock.component.ts - 39 - - Created Type - - - 复制成功 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 143 - - - src/app/pages/api/mock/api-mock.component.ts - 261 - - - src/app/pages/api/tab/api-tab.component.ts - 247 - - - src/app/utils/index.ts - 143 - - Copied - - - 保存 - - src/app/pages/api/edit/api-edit.component.html - 4 - - - src/app/pages/api/mock/api-mock.component.html - 78 - - - src/app/shared/components/env/env.component.html - 50 - - Save - - - 请输入 API Path - - src/app/pages/api/edit/api-edit.component.html - 17 - - Please enter API Path - - - 分组 / API 名称 - - src/app/pages/api/edit/api-edit.component.html - 22 - - Group / API Name - - - 请选择 API 分组 - - src/app/pages/api/edit/api-edit.component.html - 25 - - Please select an API group - - - 请输入 API 名称 - - src/app/pages/api/edit/api-edit.component.html - 40 - - Please enter API name - - - 请求参数 - - src/app/pages/api/edit/api-edit.component.html - 52 - - Body - - - - - - - - - src/app/pages/api/edit/api-edit.component.html - 56,58 - - - - - 请求体 - - src/app/pages/api/edit/api-edit.component.html - 74 - - - src/app/pages/api/test/api-test.component.html - 66 - - Body - - - REST 参数 - - src/app/pages/api/edit/api-edit.component.html - 103 - - - src/app/pages/api/test/api-test.component.html - 99 - - Rest - - - 响应内容 - - src/app/pages/api/edit/api-edit.component.html - 115 - - Response - - - - - - - src/app/pages/api/edit/api-edit.component.html - 117 - - - - - 返回结果 - - src/app/pages/api/edit/api-edit.component.html - 133 - - - src/app/pages/api/test/api-test.component.html - 114 - - Response - - - 头部 - - src/app/pages/api/edit/header/api-edit-header.component.html - 2 - - - src/app/pages/api/test/header/api-test-header.component.html - 2 - - Header - - - 分组名称 - - src/app/pages/api/group/edit/api-group-edit.component.html - 3 - - Group Name - - - 请输入分组名称 - - src/app/pages/api/group/edit/api-group-edit.component.html - 4 - - Please enter the group name - - - 删除 后,该分组下的数据都会删除。该操作无法撤销,确认删除吗? - - - src/app/pages/api/group/edit/api-group-edit.component.html - 9,13 - - Delete data from this group will be deleted. This cannot be undone. Are you sure you want to delete? - - - - 新建API - - src/app/pages/api/group/tree/api-group-tree.component.html - 10 - - Click on Teacher. - - - 新建分组 - - src/app/pages/api/group/tree/api-group-tree.component.html - 11 - - New Folder - - - 添加 API - - src/app/pages/api/group/tree/api-group-tree.component.html - 54 - - Add API - - - 新建子分组 - - src/app/pages/api/group/tree/api-group-tree.component.html - 57 - - New Subgroup - - - 编辑 - - src/app/pages/api/group/tree/api-group-tree.component.html - 60 - - - src/app/pages/api/group/tree/api-group-tree.component.html - 88 - - Edit - - - 删除 - - src/app/pages/api/group/tree/api-group-tree.component.html - 63 - - - src/app/pages/api/group/tree/api-group-tree.component.html - 96 - - - src/app/pages/api/mock/api-mock.component.html - 39 - - Delete - - - 复制 - - src/app/pages/api/group/tree/api-group-tree.component.html - 92 - - Copy - - - 添加分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 249 - - Add Group - - - 添加子分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 258 - - Add subgroup - - - 编辑分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 267 - - Edit Group - - - 删除分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 276 - - Delete Folder - - - 添加 Mock - - src/app/pages/api/mock/api-mock.component.html - 2 - - Add Mock - - - - - - - src/app/pages/api/mock/api-mock.component.html - 26,27 - - - - - 您确定要删除此Mock吗? - - src/app/pages/api/mock/api-mock.component.html - 35 - - Are you sure you want to delete this Mock? - - - Mock 名称 - - src/app/pages/api/mock/api-mock.component.html - 52 - - Mock Name - - - 返回值 - - src/app/pages/api/mock/api-mock.component.html - 64 - - Response - - - 取消 - - src/app/pages/api/mock/api-mock.component.html - 79 - - - src/app/shared/components/env/env.component.html - 51 - - Cancel - - - 添加 - - src/app/pages/api/mock/api-mock.component.ts - 28 - - Add - - - 预览 - - src/app/pages/api/mock/api-mock.component.ts - 28 - - Preview - - - URL - - src/app/pages/api/mock/api-mock.component.ts - 40 - - URL - - - 删除成功 - - src/app/pages/api/mock/api-mock.component.ts - 226 - - - src/app/pages/api/test/history/api-test-history.component.ts - 58 - - - src/app/pages/api/test/history/api-test-history.component.ts - 129 - - Delete Succeeded - - - 修改成功 - - src/app/pages/api/mock/api-mock.component.ts - 235 - - Edited successfully - - - 新增成功 - - src/app/pages/api/mock/api-mock.component.ts - 240 - - - src/app/shared/components/env/env.component.ts - 151 - - Added successfully - - - 概况 - - src/app/pages/api/overview/api-overview.component.html - 2 - - Overview - - - 导入 - - src/app/pages/api/overview/api-overview.component.ts - 27 - - Import - - - 导入 API 数据 - - src/app/pages/api/overview/api-overview.component.ts - 29 - - Import API - - - 导出 - - src/app/pages/api/overview/api-overview.component.ts - 33 - - Export - - - 导出 API 数据 - - src/app/pages/api/overview/api-overview.component.ts - 35 - - Export API Data - - - 推送 - - src/app/pages/api/overview/api-overview.component.ts - 39 - - Push - - - 将 API 推送/同步到其他平台 - - src/app/pages/api/overview/api-overview.component.ts - 41 - - Push/Sync API to other platforms - - - 成功 - - src/app/pages/api/overview/api-overview.component.ts - 55 - - Success - - - 失败 - - src/app/pages/api/overview/api-overview.component.ts - 58 - - Failed - - - 关闭所有标签(当前标签除外) - - src/app/pages/api/tab/api-tab.component.html - 25 - - Close All Tags (excluding current tabs) - - - 关闭所有标签 - - src/app/pages/api/tab/api-tab.component.html - 26 - - Close All Tabs - - - 关闭左侧标签页 - - src/app/pages/api/tab/api-tab.component.html - 28 - - Close Tabs To The Left - - - 关闭右侧标签页 - - src/app/pages/api/tab/api-tab.component.html - 29 - - Close Tabs to Right - - - 新 API - - src/app/pages/api/tab/api-tab.component.ts - 26 - - - src/app/pages/api/tab/api-tab.component.ts - 27 - - New API - - - API 详情 - - src/app/pages/api/tab/api-tab.component.ts - 28 - - Preview - - - 概况 - - src/app/pages/api/tab/api-tab.component.ts - 29 - - Overview - - - 失败 - - src/app/pages/api/tab/api-tab.component.ts - 256 - - Failed - - - - - - - - - - src/app/pages/api/test/api-test.component.html - 31,33 - - - - - 保存为新 API - - src/app/pages/api/test/api-test.component.html - 43,45 - - Save as New API - - - 请求内容 - - src/app/pages/api/test/api-test.component.html - 122 - - Body - - - 值 - - src/app/pages/api/test/api-test.service.ts - 13 - - Value - - - 删除 - - src/app/pages/api/test/api-test.service.ts - 53 - - - src/app/pages/api/test/api-test.service.ts - 136 - - - src/app/pages/api/test/history/api-test-history.component.ts - 113 - - Delete - - - 参数值 - - src/app/pages/api/test/api-test.service.ts - 117 - - - src/app/pages/api/test/api-test.service.ts - 122 - - Value - - - 添加子字段 - - src/app/pages/api/test/api-test.service.ts - 131 - - Add Child - - - JSON 根类型: - - src/app/pages/api/test/body/api-test-body.component.html - 12 - - JSON Root Type: - - - 参数描述 - - src/app/pages/api/test/body/api-test-body.component.html - 27 - - Description - - - 文件大小均需小于 2M - - src/app/pages/api/test/body/api-test-body.component.ts - 183 - - File size must be less than 2M - - - 内容 - - src/app/pages/api/test/header/api-test-header.component.ts - 52 - - Value - - - 此操作无法恢复,确认操作? - - src/app/pages/api/test/history/api-test-history.component.html - 5 - - This operation cannot be restored, do you want to do it? - - - 清空测试历史 - - src/app/pages/api/test/history/api-test-history.component.html - 12,14 - - Empty Test History - - - 删除失败 - - src/app/pages/api/test/history/api-test-history.component.ts - 60 - - - src/app/pages/api/test/history/api-test-history.component.ts - 131 - - Failed to remove - - - 测试时间 - - src/app/pages/api/test/history/api-test-history.component.ts - 86 - - TEST TIME - - - 请求地址 - - src/app/pages/api/test/history/api-test-history.component.ts - 92 - - URL - - - 返回状态 - - src/app/pages/api/test/history/api-test-history.component.ts - 97 - - Status Code - - - 请求时长(ms) - - src/app/pages/api/test/history/api-test-history.component.ts - 103 - - Request time (ms) - - - Query参数 - - src/app/pages/api/test/query/api-test-query.component.html - 2 - - Query - - - 暂无头部 - - src/app/pages/api/test/result-header/api-test-result-header.component.html - 3 - - No Headers - - - 暂无请求体 - - src/app/pages/api/test/result-request-body/api-test-result-request-body.component.html - 3 - - No Request Body - - - 点击发送按钮获取测试报告 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 4 - - Click the Send button to get a test report - - - 无法预览非文本类型的数据,您可以 下载返回结果 ,并用其他程序打开。 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 17,21 - - Unable to preview non-text type data, you can download back result and open it with other programs. - - - 响应结果超出可预览的大小,您可以 下载返回结果 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 26,28 - - Unable to preview non-text type data, you can download back result and open it with other programs. - - - 打开设置项 - - src/app/pages/navbar/navbar.component.html - 9 - - Open Settings - - - 产品文档 - - src/app/pages/navbar/navbar.component.html - 25 - - Documentation - - - 问题反馈 - - src/app/pages/navbar/navbar.component.html - 27 - - Bug Report - - - 最小化 - - src/app/pages/navbar/navbar.component.html - 34 - - Minimize - - - 关闭 - - src/app/pages/navbar/navbar.component.html - 52 - - Close - - - 下载 - - src/app/pages/navbar/navbar.component.html - 60 - - Download - - - 目前数据储存在,如需协作请切换 - - src/app/pages/pages.component.html - 5 - - Current data storage exists, please switch if you want to collaborate - - - 数据源 - - src/app/pages/pages.component.html - 6 - - Data source - - - 是否确定删除? - - src/app/shared/components/env/env.component.html - 15 - - Are you sure you want to delete? - - - 环境名称 - - src/app/shared/components/env/env.component.html - 25 - - Environment Name - - - 前置 URL - - src/app/shared/components/env/env.component.html - 31 - - Front URL - - - 环境变量:在接口文档或测试的过程中,使用即可引用该环境变量 - - src/app/shared/components/env/env.component.html - 36 - - Environment variable:can be referenced by usingduring interface document or test - - - {{变量名}} - - src/app/shared/components/env/env.component.ts - 19 - - {{Variable Name}} - - - New Environment - - src/app/shared/components/env/env.component.ts - 20 - - New Environment - - - 变量名 - - src/app/shared/components/env/env.component.ts - 28 - - Variable Name - - - 变量值 - - src/app/shared/components/env/env.component.ts - 29 - - Variable value - - - 参数说明 - - src/app/shared/components/env/env.component.ts - 30 - - Description - - - 操作 - - src/app/shared/components/env/env.component.ts - 31 - - Operations - - - Edit Environment - - src/app/shared/components/env/env.component.ts - 95 - - New Environment - - - 名称不允许为空 - - src/app/shared/components/env/env.component.ts - 127 - - Name is not allowed - - - 编辑成功 - - src/app/shared/components/env/env.component.ts - 137 - - Successfully - - - 编辑失败 - - src/app/shared/components/env/env.component.ts - 144 - - Save failed - - - 新增失败 - - src/app/shared/components/env/env.component.ts - 156 - - Failed to add - - - 该功能需要插件支持,请移步至插件广场下载 - - src/app/shared/components/extension-select/extension-select.component.html - 24,26 - - This feature requires plugin support, please move toplugin squaredownloads - - - 点击或直接拖拽文件至此区域 - - src/app/shared/components/extension-select/extension-select.component.html - 42 - - Tap or drag files directly to this area - - - 仅支持JSON格式的单个文件导入 - - src/app/shared/components/extension-select/extension-select.component.html - 43 - - Only individual files in Json format are supported - - - 仅支持上传 JSON 格式的文件 - - src/app/shared/components/extension-select/extension-select.component.ts - 44 - - Only files in JSON format are supported - - - Data Storage - - src/app/shared/components/setting/common/data-storage.component.ts - 8 - - Data Storage - - - Data Storage - - src/app/shared/components/setting/setting.component.ts - 90 - - Data Storage - - - Windows 客户端 - - src/app/shared/models/client.model.ts - 4 - - Windows Client - - - macOS(Intel) 客户端 - - src/app/shared/models/client.model.ts - 12 - - macOS (Intel) Client - - - macOS(M1) 客户端 - - src/app/shared/models/client.model.ts - 19 - - macOS (M1) client - - - 测试服务连接失败,请提交 Issue 联系社区 - - src/app/shared/services/api-test/serverless-node/test-connect.service.ts - 45 - - Test service connection failed, please submit issue contact community - - - 确认 - - src/app/shared/services/modal.service.ts - 25 - - Confirm - - - 取消 - - src/app/shared/services/modal.service.ts - 36 - - Cancel - - - 远程 - - src/app/shared/services/remote/remote.service.ts - 34 - - Remote - - - 本地 - - src/app/shared/services/remote/remote.service.ts - 34 - - Local - - - 远程数据源不可用 - - src/app/shared/services/remote/remote.service.ts - 174 - - Remote data source not available - - - 成功切换到数据源 - - src/app/shared/services/remote/remote.service.ts - 181 - - Successfully switched todata source - - - 默认 Mock - - src/app/shared/services/storage/IndexedDB/lib/index.ts - 72 - - Default Mock - - - 获取城市今日天气 - - src/app/shared/services/storage/IndexedDB/sample/index.ts - 5 - - Get City Weather Today - - - - diff --git a/src/workbench/browser/locale/messages.xlf b/src/workbench/browser/locale/messages.xlf deleted file mode 100644 index a0a21caa..00000000 --- a/src/workbench/browser/locale/messages.xlf +++ /dev/null @@ -1,1514 +0,0 @@ - - - - - - 无法连接到远程数据源,请检查后重新连接,为了不影响使用,程序将帮您跳转到本地 - - src/app/app.component.ts - 34 - - {can not connect} - - - 没有找到ID为的mock! - - src/app/app.service.ts - 45 - - - - 经典 - - src/app/core/services/theme/theme.model.ts - 3 - - - - 森林 - - src/app/core/services/theme/theme.model.ts - 6 - - - - 内容类型 - - src/app/eoui/editor/eo-editor/eo-editor.component.html - 3,7 - - - - 整理格式 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 19 - - - - 复制 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 23 - - - - 搜索 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 27 - - - - 下载 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 31 - - - - 新开标签 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 35 - - - - 替换 - - src/app/eoui/editor/eo-editor/eo-editor.component.ts - 39 - - - - API 集合 - - src/app/pages/api/api.component.html - 8 - - - - 测试历史 - - src/app/pages/api/api.component.html - 18 - - - - 环境 - - src/app/pages/api/api.component.html - 26 - - - - 选择环境 - - src/app/pages/api/api.component.html - 49 - - - - 管理环境 - - src/app/pages/api/api.component.html - 55 - - - - 文档 - - src/app/pages/api/api.component.ts - 26 - - - - 编辑 - - src/app/pages/api/api.component.ts - 30 - - - src/app/pages/api/mock/api-mock.component.ts - 28,29 - - - - 测试 - - src/app/pages/api/api.component.ts - 34 - - - - 删除确认? - - src/app/pages/api/api.service.ts - 23 - - - - 确认要删除数据 <strong title=""></strong> 吗?删除后不可恢复! - - src/app/pages/api/api.service.ts - 24,26 - - - - 请求头部 - - src/app/pages/api/detail/api-detail.component.html - 9 - - - src/app/pages/api/edit/api-edit.component.html - 64 - - - src/app/pages/api/test/api-test.component.html - 56 - - - src/app/pages/api/test/api-test.component.html - 125 - - - - Query 参数 - - src/app/pages/api/detail/api-detail.component.html - 13 - - - src/app/pages/api/edit/api-edit.component.html - 94 - - - src/app/pages/api/test/api-test.component.html - 86 - - - src/app/pages/api/test/query/api-test-query.component.html - 2 - - - - REST 参数 - - src/app/pages/api/detail/api-detail.component.html - 17 - - - src/app/pages/api/edit/api-edit.component.html - 103 - - - src/app/pages/api/test/api-test.component.html - 99 - - - - Body 请求参数 - - src/app/pages/api/detail/api-detail.component.html - 22 - - - - 最外层结构为: - - src/app/pages/api/detail/api-detail.component.html - 25 - - - - 返回头部 - - src/app/pages/api/detail/api-detail.component.html - 35 - - - src/app/pages/api/edit/api-edit.component.html - 123 - - - src/app/pages/api/test/api-test.component.html - 118 - - - - 返回参数 - - src/app/pages/api/detail/api-detail.component.html - 39 - - - - 参数 - - src/app/pages/api/detail/api-detail.service.ts - 60 - - - src/app/pages/api/test/api-test.service.ts - 11 - - - src/app/pages/api/test/body/api-test-body.component.ts - 170 - - - - 名 - - src/app/pages/api/detail/api-detail.service.ts - 69 - - - src/app/pages/api/detail/api-detail.service.ts - 72 - - - src/app/pages/api/test/api-test.service.ts - 12 - - - - 必填 - - src/app/pages/api/detail/api-detail.service.ts - 77 - - - src/app/pages/api/detail/api-detail.service.ts - 133 - - - - {{item.required?"是":""}} - - src/app/pages/api/detail/api-detail.service.ts - 79 - - - src/app/pages/api/detail/api-detail.service.ts - 135 - - - - 说明 - - src/app/pages/api/detail/api-detail.service.ts - 84 - - - src/app/pages/api/detail/api-detail.service.ts - 140 - - - - 示例 - - src/app/pages/api/detail/api-detail.service.ts - 92 - - - src/app/pages/api/detail/api-detail.service.ts - 148 - - - - 参数名 - - src/app/pages/api/detail/api-detail.service.ts - 119 - - - src/app/pages/api/test/api-test.service.ts - 96 - - - src/app/pages/api/test/api-test.service.ts - 99 - - - - 类型 - - src/app/pages/api/detail/api-detail.service.ts - 126 - - - src/app/pages/api/test/api-test.service.ts - 104 - - - - <span class="eo-operate-btn fs12" ng-show="item.minimum || - item.maximum || - item.minLength || - item.maxLength || - (item.enum && item.enum.length > 0 && item.enum[0].value)">{{item.isClick?"收缩":"展开"}}</span> - - src/app/pages/api/detail/api-detail.service.ts - 157,161 - - - - 头部 - - src/app/pages/api/detail/header/api-detail-header.component.ts - 25 - - - src/app/pages/api/edit/header/api-edit-header.component.ts - 36 - - - src/app/pages/api/test/header/api-test-header.component.ts - 50 - - - - 标签 - - src/app/pages/api/detail/header/api-detail-header.component.ts - 26 - - - src/app/pages/api/edit/header/api-edit-header.component.ts - 37 - - - src/app/pages/api/test/header/api-test-header.component.ts - 51 - - - - 点击复制 - - src/app/pages/api/detail/mock/api-detail-mock.component.html - 3 - - - src/app/pages/api/mock/api-mock.component.html - 12 - - - - 系统自动创建 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 29 - - - src/app/pages/api/mock/api-mock.component.ts - 34 - - - - 手动创建 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 30 - - - src/app/pages/api/mock/api-mock.component.ts - 35 - - - - 名称 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 33 - - - src/app/pages/api/mock/api-mock.component.ts - 38 - - - - 创建方式 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 34 - - - src/app/pages/api/mock/api-mock.component.ts - 39 - - - - 复制成功 - - src/app/pages/api/detail/mock/api-detail-mock.component.ts - 143 - - - src/app/pages/api/mock/api-mock.component.ts - 261 - - - src/app/pages/api/tab/api-tab.component.ts - 247 - - - src/app/utils/index.ts - 143 - - - - 保存 - - src/app/pages/api/edit/api-edit.component.html - 4 - - - src/app/pages/api/mock/api-mock.component.html - 78 - - - src/app/shared/components/env/env.component.html - 50 - - - - 请输入 API Path - - src/app/pages/api/edit/api-edit.component.html - 17 - - - - 分组 / API 名称 - - src/app/pages/api/edit/api-edit.component.html - 22 - - - - 请选择 API 分组 - - src/app/pages/api/edit/api-edit.component.html - 25 - - - - 请输入 API 名称 - - src/app/pages/api/edit/api-edit.component.html - 40 - - - - 请求参数 - - src/app/pages/api/edit/api-edit.component.html - 52 - - - - - - src/app/pages/api/edit/api-edit.component.html - 56,58 - - - - 请求体 - - src/app/pages/api/edit/api-edit.component.html - 74 - - - src/app/pages/api/test/api-test.component.html - 66 - - - - 响应内容 - - src/app/pages/api/edit/api-edit.component.html - 115 - - - - - - src/app/pages/api/edit/api-edit.component.html - 117 - - - - 返回结果 - - src/app/pages/api/edit/api-edit.component.html - 133 - - - src/app/pages/api/test/api-test.component.html - 114 - - - - 头部 - - src/app/pages/api/edit/header/api-edit-header.component.html - 2 - - - src/app/pages/api/test/header/api-test-header.component.html - 2 - - - - 分组名称 - - src/app/pages/api/group/edit/api-group-edit.component.html - 3 - - - - 请输入分组名称 - - src/app/pages/api/group/edit/api-group-edit.component.html - 4 - - - - 删除 后,该分组下的数据都会删除。该操作无法撤销,确认删除吗? - - - src/app/pages/api/group/edit/api-group-edit.component.html - 9,13 - - - - 搜索 - - src/app/pages/api/group/tree/api-group-tree.component.html - 2 - - - - 新建 API - - src/app/pages/api/group/tree/api-group-tree.component.html - 10 - - - - 新建分组 - - src/app/pages/api/group/tree/api-group-tree.component.html - 11 - - - - 添加 API - - src/app/pages/api/group/tree/api-group-tree.component.html - 54 - - - - 新建子分组 - - src/app/pages/api/group/tree/api-group-tree.component.html - 57 - - - - 编辑 - - src/app/pages/api/group/tree/api-group-tree.component.html - 60 - - - src/app/pages/api/group/tree/api-group-tree.component.html - 88 - - - - 删除 - - src/app/pages/api/group/tree/api-group-tree.component.html - 63 - - - src/app/pages/api/group/tree/api-group-tree.component.html - 96 - - - src/app/pages/api/mock/api-mock.component.html - 39 - - - - 复制 - - src/app/pages/api/group/tree/api-group-tree.component.html - 92 - - - - 概况 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 53 - - - src/app/pages/api/tab/api-tab.component.ts - 29 - - - - 添加分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 249 - - - - 添加子分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 258 - - - - 编辑分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 267 - - - - 删除分组 - - src/app/pages/api/group/tree/api-group-tree.component.ts - 276 - - - - 添加 Mock - - src/app/pages/api/mock/api-mock.component.html - 2 - - - - - - src/app/pages/api/mock/api-mock.component.html - 26,27 - - - - 您确定要删除此Mock吗? - - src/app/pages/api/mock/api-mock.component.html - 35 - - - - Mock 名称 - - src/app/pages/api/mock/api-mock.component.html - 52 - - - - 返回值 - - src/app/pages/api/mock/api-mock.component.html - 64 - - - - 取消 - - src/app/pages/api/mock/api-mock.component.html - 79 - - - src/app/shared/components/env/env.component.html - 51 - - - - 添加 - - src/app/pages/api/mock/api-mock.component.ts - 28 - - - - 预览 - - src/app/pages/api/mock/api-mock.component.ts - 28 - - - - 删除成功 - - src/app/pages/api/mock/api-mock.component.ts - 226 - - - src/app/pages/api/test/history/api-test-history.component.ts - 58 - - - src/app/pages/api/test/history/api-test-history.component.ts - 129 - - - - 修改成功 - - src/app/pages/api/mock/api-mock.component.ts - 235 - - - - 新增成功 - - src/app/pages/api/mock/api-mock.component.ts - 240 - - - src/app/shared/components/env/env.component.ts - 151 - - - - 概况 - - src/app/pages/api/overview/api-overview.component.html - 2 - - - - 导入 - - src/app/pages/api/overview/api-overview.component.ts - 27 - - - - 导入 API 数据 - - src/app/pages/api/overview/api-overview.component.ts - 29 - - - - 导出 - - src/app/pages/api/overview/api-overview.component.ts - 33 - - - - 导出 API 数据 - - src/app/pages/api/overview/api-overview.component.ts - 35 - - - - 推送 - - src/app/pages/api/overview/api-overview.component.ts - 39 - - - - 将 API 推送/同步到其他平台 - - src/app/pages/api/overview/api-overview.component.ts - 41 - - - - 成功 - - src/app/pages/api/overview/api-overview.component.ts - 55 - - - - 失败 - - src/app/pages/api/overview/api-overview.component.ts - 58 - - - - 关闭所有标签(当前标签除外) - - src/app/pages/api/tab/api-tab.component.html - 25 - - - - 关闭所有标签 - - src/app/pages/api/tab/api-tab.component.html - 26 - - - - 关闭左侧标签页 - - src/app/pages/api/tab/api-tab.component.html - 28 - - - - 关闭右侧标签页 - - src/app/pages/api/tab/api-tab.component.html - 29 - - - - 新 API - - src/app/pages/api/tab/api-tab.component.ts - 26 - - - src/app/pages/api/tab/api-tab.component.ts - 27 - - - - API 详情 - - src/app/pages/api/tab/api-tab.component.ts - 28 - - - - 失败 - - src/app/pages/api/tab/api-tab.component.ts - 256 - - - - - - src/app/pages/api/test/api-test.component.html - 31,33 - - - - 保存为新 API - - src/app/pages/api/test/api-test.component.html - 43,45 - - - - 请求内容 - - src/app/pages/api/test/api-test.component.html - 122 - - - - 值 - - src/app/pages/api/test/api-test.service.ts - 13 - - - - 删除 - - src/app/pages/api/test/api-test.service.ts - 53 - - - src/app/pages/api/test/api-test.service.ts - 136 - - - src/app/pages/api/test/history/api-test-history.component.ts - 113 - - - - 参数值 - - src/app/pages/api/test/api-test.service.ts - 117 - - - src/app/pages/api/test/api-test.service.ts - 122 - - - - 添加子字段 - - src/app/pages/api/test/api-test.service.ts - 131 - - - - JSON 根类型: - - src/app/pages/api/test/body/api-test-body.component.html - 12 - - - - 参数描述 - - src/app/pages/api/test/body/api-test-body.component.html - 27 - - - - 文件大小均需小于 2M - - src/app/pages/api/test/body/api-test-body.component.ts - 183 - - - - 内容 - - src/app/pages/api/test/header/api-test-header.component.ts - 52 - - - - 此操作无法恢复,确认操作? - - src/app/pages/api/test/history/api-test-history.component.html - 5 - - - - 清空测试历史 - - src/app/pages/api/test/history/api-test-history.component.html - 12,14 - - - - 删除失败 - - src/app/pages/api/test/history/api-test-history.component.ts - 60 - - - src/app/pages/api/test/history/api-test-history.component.ts - 131 - - - - 测试时间 - - src/app/pages/api/test/history/api-test-history.component.ts - 86 - - - - 请求地址 - - src/app/pages/api/test/history/api-test-history.component.ts - 92 - - - - 返回状态 - - src/app/pages/api/test/history/api-test-history.component.ts - 97 - - - - 请求时长(ms) - - src/app/pages/api/test/history/api-test-history.component.ts - 103 - - - - 暂无头部 - - src/app/pages/api/test/result-header/api-test-result-header.component.html - 3 - - - - 暂无请求体 - - src/app/pages/api/test/result-request-body/api-test-result-request-body.component.html - 3 - - - - 点击发送按钮获取测试报告 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 4 - - - - 无法预览非文本类型的数据,您可以 下载返回结果 ,并用其他程序打开。 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 17,21 - - - - 响应结果超出可预览的大小,您可以 下载返回结果 - - src/app/pages/api/test/result-response/api-test-result-response.component.html - 26,28 - - - - 打开设置项 - - src/app/pages/navbar/navbar.component.html - 9 - - - - 产品文档 - - src/app/pages/navbar/navbar.component.html - 25 - - - - 问题反馈 - - src/app/pages/navbar/navbar.component.html - 27 - - - - 最小化 - - src/app/pages/navbar/navbar.component.html - 34 - - - - 关闭 - - src/app/pages/navbar/navbar.component.html - 52 - - - - 下载 - - src/app/pages/navbar/navbar.component.html - 60 - - - - 目前数据储存在,如需协作请切换 - - src/app/pages/pages.component.html - 5 - - - - 数据源 - - src/app/pages/pages.component.html - 6 - - - - 是否确定删除? - - src/app/shared/components/env/env.component.html - 15 - - - - 环境名称 - - src/app/shared/components/env/env.component.html - 25 - - - - 前置 URL - - src/app/shared/components/env/env.component.html - 31 - - - - 环境变量:在接口文档或测试的过程中,使用即可引用该环境变量 - - src/app/shared/components/env/env.component.html - 36 - - - - {{变量名}} - - src/app/shared/components/env/env.component.ts - 19 - - - - 新建环境 - - src/app/shared/components/env/env.component.ts - 20 - - - src/app/shared/components/env/env.component.ts - 118 - - - - 变量名 - - src/app/shared/components/env/env.component.ts - 28 - - - - 变量值 - - src/app/shared/components/env/env.component.ts - 29 - - - - 参数说明 - - src/app/shared/components/env/env.component.ts - 30 - - - - 操作 - - src/app/shared/components/env/env.component.ts - 31 - - - - 编辑环境 - - src/app/shared/components/env/env.component.ts - 95 - - - - 名称不允许为空 - - src/app/shared/components/env/env.component.ts - 127 - - - - 编辑成功 - - src/app/shared/components/env/env.component.ts - 137 - - - - 编辑失败 - - src/app/shared/components/env/env.component.ts - 144 - - - - 新增失败 - - src/app/shared/components/env/env.component.ts - 156 - - - - 该功能需要插件支持,请移步至插件广场下载 - - src/app/shared/components/extension-select/extension-select.component.html - 24,26 - - - - 点击或直接拖拽文件至此区域 - - src/app/shared/components/extension-select/extension-select.component.html - 42 - - - - 仅支持JSON格式的单个文件导入 - - src/app/shared/components/extension-select/extension-select.component.html - 43 - - - - 仅支持上传 JSON 格式的文件 - - src/app/shared/components/extension-select/extension-select.component.ts - 44 - - - - 版本 - - src/app/shared/components/setting/common/about.component.ts - 17 - - - - 关于 - - src/app/shared/components/setting/common/about.component.ts - 66 - - - - 数据源 - - src/app/shared/components/setting/common/data-storage.component.ts - 8 - - - src/app/shared/components/setting/common/data-storage.component.ts - 12 - - - - 远程数据源 - - src/app/shared/components/setting/common/data-storage.component.ts - 13 - - - - 本地数据源:将数据存储在本地,你只能在当前计算机使用产品数据。 - - src/app/shared/components/setting/common/data-storage.component.ts - 18 - - - - 远程服务器:将数据存储在远程服务器上,方便跨设备使用产品。 了解更多... - - src/app/shared/components/setting/common/data-storage.component.ts - 19,21 - - - - 远程服务器地址 - - src/app/shared/components/setting/common/data-storage.component.ts - 27 - - - - 请输入你的远程服务器地址 - - src/app/shared/components/setting/common/data-storage.component.ts - 28 - - - - 你的远程服务器地址 - - src/app/shared/components/setting/common/data-storage.component.ts - 33 - - - - 请输入你的 Token - - src/app/shared/components/setting/common/data-storage.component.ts - 39 - - - - 你的认证 Token - - src/app/shared/components/setting/common/data-storage.component.ts - 44 - - - - 修改数据源 - - src/app/shared/components/setting/common/data-storage.component.ts - 51 - - - - 连接远程数据源失败! - - src/app/shared/components/setting/common/data-storage.component.ts - 123 - - - - 连接远程数据源成功! - - src/app/shared/components/setting/common/data-storage.component.ts - 134 - - - - 语言 - - src/app/shared/components/setting/common/language-swtcher.componet.ts - 8 - - - src/app/shared/components/setting/common/language-swtcher.componet.ts - 11 - - - - 目前还没有安装插件, 去插件广场逛逛吧~ - - src/app/shared/components/setting/setting.component.html - 151 - - - - 数据源 - - src/app/shared/components/setting/setting.component.ts - 90 - - - - 语言 - - src/app/shared/components/setting/setting.component.ts - 94 - - - - 拓展 - - src/app/shared/components/setting/setting.component.ts - 98 - - - - 关于 - - src/app/shared/components/setting/setting.component.ts - 102 - - - - 插件广场 - - src/app/shared/components/sidebar/sidebar.component.ts - 68 - - - - Windows 客户端 - - src/app/shared/models/client.model.ts - 4 - - - - macOS(Intel) 客户端 - - src/app/shared/models/client.model.ts - 12 - - - - macOS(M1) 客户端 - - src/app/shared/models/client.model.ts - 19 - - - - 测试服务连接失败,请提交 Issue 联系社区 - - src/app/shared/services/api-test/serverless-node/test-connect.service.ts - 45 - - - - 确认 - - src/app/shared/services/modal.service.ts - 25 - - - - 取消 - - src/app/shared/services/modal.service.ts - 36 - - - - 远程 - - src/app/shared/services/remote/remote.service.ts - 34 - - - - 本地 - - src/app/shared/services/remote/remote.service.ts - 34 - - - - 远程数据源不可用 - - src/app/shared/services/remote/remote.service.ts - 174 - - - - 成功切换到数据源 - - src/app/shared/services/remote/remote.service.ts - 181 - - - - 默认 Mock - - src/app/shared/services/storage/IndexedDB/lib/index.ts - 72 - - - - 获取城市今日天气 - - src/app/shared/services/storage/IndexedDB/sample/index.ts - 5 - - - - - diff --git a/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts b/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts index 5c30d8b9..001ec67b 100644 --- a/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts +++ b/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts @@ -20,11 +20,11 @@ const eventHash = new Map() icon: 'deployment-unit', }) .set('copy', { - label: $localize`Copy`, + label: $localize`:@@Copy:Copy`, icon: 'copy', }) .set('search', { - label: $localize`Search`, + label: $localize`:@@Search:Search`, icon: 'search', }) .set('download', { diff --git a/src/workbench/browser/src/app/pages/api/api.component.ts b/src/workbench/browser/src/app/pages/api/api.component.ts index 15e324af..595cb1fc 100644 --- a/src/workbench/browser/src/app/pages/api/api.component.ts +++ b/src/workbench/browser/src/app/pages/api/api.component.ts @@ -23,7 +23,7 @@ export class ApiComponent implements OnInit, OnDestroy { TABS = [ { routerLink: 'detail', - title: $localize`Preview`, + title: $localize`:@@API Detail:Preview`, }, { routerLink: 'edit', diff --git a/src/workbench/browser/src/app/pages/api/detail/api-detail.service.ts b/src/workbench/browser/src/app/pages/api/detail/api-detail.service.ts index feb30a9f..83191e06 100644 --- a/src/workbench/browser/src/app/pages/api/detail/api-detail.service.ts +++ b/src/workbench/browser/src/app/pages/api/detail/api-detail.service.ts @@ -81,7 +81,7 @@ export class ApiDetailService { mark: 'require', }, { - thKey: $localize`Description`, + thKey: $localize`:@@Description:Description`, type: 'text', modelKey: 'description', width: 250, @@ -137,7 +137,7 @@ export class ApiDetailService { mark: 'require', }, { - thKey: $localize`Description`, + thKey: $localize`:@@Description:Description`, type: 'text', modelKey: 'description', width: 260, diff --git a/src/workbench/browser/src/app/pages/api/detail/header/api-detail-header.component.ts b/src/workbench/browser/src/app/pages/api/detail/header/api-detail-header.component.ts index ba02b0fd..00dd0b81 100644 --- a/src/workbench/browser/src/app/pages/api/detail/header/api-detail-header.component.ts +++ b/src/workbench/browser/src/app/pages/api/detail/header/api-detail-header.component.ts @@ -22,7 +22,7 @@ export class ApiDetailHeaderComponent implements OnInit, OnChanges { private initListConf() { this.listConf = this.detailService.initListConf({ dragCacheVar: 'DRAG_VAR_API_EDIT_HEADER', - title: $localize`Header`, + title: $localize`:@@Header:Header`, nameTitle: $localize`Key`, }); } diff --git a/src/workbench/browser/src/app/pages/api/edit/api-edit.component.html b/src/workbench/browser/src/app/pages/api/edit/api-edit.component.html index 19574dc1..bfbcaa96 100644 --- a/src/workbench/browser/src/app/pages/api/edit/api-edit.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/api-edit.component.html @@ -109,7 +109,7 @@ #panelRes [nzActive]="true" i18n-nzHeader - nzHeader="响应内容" + nzHeader="Response" nzShowArrow="false" [nzExtra]="extraTplRes" > diff --git a/src/workbench/browser/src/app/pages/api/edit/api-edit.service.ts b/src/workbench/browser/src/app/pages/api/edit/api-edit.service.ts index 14c9c9e3..61937519 100644 --- a/src/workbench/browser/src/app/pages/api/edit/api-edit.service.ts +++ b/src/workbench/browser/src/app/pages/api/edit/api-edit.service.ts @@ -171,7 +171,7 @@ export class ApiEditService { mark: 'require', }, { - thKey: $localize`Description`, + thKey: $localize`:@@Description:Description`, type: 'input', modelKey: 'description', placeholder: $localize`Param Description`, @@ -215,7 +215,7 @@ export class ApiEditService { itemExpression: `ng-if="!($ctrl.mainObject.setting.munalHideOperateColumn&&$first)"`, }, { - key: $localize`Delete`, + key: $localize`:@@Delete:Delete`, operateName: 'delete', itemExpression: 'ng-if="!($ctrl.mainObject.setting.munalHideOperateColumn&&$first)"', }, diff --git a/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html b/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html index 2127c280..c06ea81c 100644 --- a/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/body/api-edit-body.component.html @@ -9,7 +9,7 @@ [rootType]="jsonRootType">
-

JSOn Root Type:

+

JSON Root Type:

diff --git a/src/workbench/browser/src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts b/src/workbench/browser/src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts index 2d2953d4..d1eace03 100644 --- a/src/workbench/browser/src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts +++ b/src/workbench/browser/src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts @@ -25,7 +25,7 @@ export class ApiParamsExtraSettingComponent implements OnInit { class: 'w_100', }, { - thKey: $localize`Description`, + thKey: $localize`:@@Description:Description`, type: 'text', modelKey: 'description', }, diff --git a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html index d652b151..ff903f07 100644 --- a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html +++ b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.html @@ -1,4 +1,4 @@
- +
diff --git a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.ts b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.ts index 1b910171..fd1f143f 100644 --- a/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.ts +++ b/src/workbench/browser/src/app/pages/api/edit/header/api-edit-header.component.ts @@ -33,7 +33,7 @@ export class ApiEditHeaderComponent implements OnInit, OnChanges, AfterViewCheck this.listConf = this.editService.initListConf({ dragCacheVar: 'DRAG_VAR_API_EDIT_HEADER', itemStructure: this.itemStructure, - title: $localize`Header`, + title: $localize`:@@Header:Header`, nameTitle: $localize`Key`, nzOnOkMoreSetting: (inputArg) => { this.model[inputArg.$index] = inputArg.item; diff --git a/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.html b/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.html index 1f0cd103..ee9649da 100644 --- a/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.html +++ b/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.html @@ -1,5 +1,5 @@
- +
@@ -61,7 +61,7 @@ Edit
  • - Delete + Delete
  • @@ -90,11 +90,11 @@
  • - Copy + Copy
  • - Delete + Delete
  • diff --git a/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.ts b/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.ts index 88c210e2..808bbd22 100644 --- a/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.ts +++ b/src/workbench/browser/src/app/pages/api/group/tree/api-group-tree.component.ts @@ -50,7 +50,7 @@ export class ApiGroupTreeComponent implements OnInit, OnDestroy { treeNodes: GroupTreeItem[] | NzTreeNode[] | any; fixedTreeNode: GroupTreeItem[] | NzTreeNode[] = [ { - title: $localize `Index`, + title: $localize `:@@API Index:Index`, key: 'overview', weight: 0, parentID: '0', diff --git a/src/workbench/browser/src/app/pages/api/mock/api-mock.component.html b/src/workbench/browser/src/app/pages/api/mock/api-mock.component.html index 9a41ee7e..6def8aa4 100644 --- a/src/workbench/browser/src/app/pages/api/mock/api-mock.component.html +++ b/src/workbench/browser/src/app/pages/api/mock/api-mock.component.html @@ -32,11 +32,11 @@ *ngIf="(scope.name || scope.url) && scope.createWay !== 'system'" nz-popconfirm i18n-nzPopconfirmTitle - nzPopconfirmTitle="您确定要删除此Mock吗?" + nzPopconfirmTitle="Are you sure you want to delete this Mock?" nzPopconfirmPlacement="topRight" (nzOnConfirm)="handleDeleteMockItem(index)" - i18n - >删除Delete
    diff --git a/src/workbench/browser/src/app/pages/api/overview/api-overview.component.html b/src/workbench/browser/src/app/pages/api/overview/api-overview.component.html index a0efa65f..f1d76a0a 100644 --- a/src/workbench/browser/src/app/pages/api/overview/api-overview.component.html +++ b/src/workbench/browser/src/app/pages/api/overview/api-overview.component.html @@ -1,5 +1,5 @@
    -

    Index

    +

    Index

    diff --git a/src/workbench/browser/src/app/pages/api/overview/api-overview.component.ts b/src/workbench/browser/src/app/pages/api/overview/api-overview.component.ts index 5b60e59f..4d29dbde 100644 --- a/src/workbench/browser/src/app/pages/api/overview/api-overview.component.ts +++ b/src/workbench/browser/src/app/pages/api/overview/api-overview.component.ts @@ -52,10 +52,10 @@ export class ApiOverviewComponent implements OnDestroy { nzOnOk: () => { this.modal.componentInstance.submit((status) => { if (status) { - this.message.success($localize`${title} Successfully`); + this.message.success($localize`${title} successfully`); this.modal.destroy(); } else { - this.message.error($localize`Fail to ${title}`); + this.message.error($localize`Failed to ${title}`); } }); }, diff --git a/src/workbench/browser/src/app/pages/api/tab/api-tab.component.ts b/src/workbench/browser/src/app/pages/api/tab/api-tab.component.ts index 138513b2..3acf79c8 100644 --- a/src/workbench/browser/src/app/pages/api/tab/api-tab.component.ts +++ b/src/workbench/browser/src/app/pages/api/tab/api-tab.component.ts @@ -25,8 +25,8 @@ export class ApiTabComponent implements OnInit, OnDestroy { defaultTabs = { edit: { path: '/home/api/edit', title: $localize`New API` }, test: { path: '/home/api/test', title: $localize`New API` }, - detail: { path: '/home/api/detail', title: $localize`Preview` }, - overview: { path: '/home/api/overview', title: $localize`Index`, key: 'overview' }, + detail: { path: '/home/api/detail', title: $localize`:@@API Detail:Preview` }, + overview: { path: '/home/api/overview', title: $localize`:@@API Index:Index`, key: 'overview' }, mock: { path: '/home/api/mock', title: 'Mock', key: 'mock' }, }; MAX_TAB_LIMIT = 15; @@ -251,7 +251,7 @@ export class ApiTabComponent implements OnInit, OnDestroy { case 'copyApi': this.storage.run('apiDataCreate', [{ ...inArg.data }, inArg.data.uuid], (result: StorageRes) => { if (result.status === StorageResStatus.success) { - this.message.success($localize`Copied Successfully`); + this.message.success($localize`Copied successfully`); this.appendOrSwitchTab('edit', { ...inArg.data, ...result.data, @@ -260,7 +260,7 @@ export class ApiTabComponent implements OnInit, OnDestroy { }); this.messageService.send({ type: `copyApiSuccess`, data: result.data }); } else { - this.message.success($localize`Fail to Copy`); + this.message.success($localize`Failed to copy`); } }); break; diff --git a/src/workbench/browser/src/app/pages/api/test/api-test.component.html b/src/workbench/browser/src/app/pages/api/test/api-test.component.html index f6a3f4c6..730667de 100644 --- a/src/workbench/browser/src/app/pages/api/test/api-test.component.html +++ b/src/workbench/browser/src/app/pages/api/test/api-test.component.html @@ -41,7 +41,7 @@ class="ml10" i18n > - Save as New API + Save as API diff --git a/src/workbench/browser/src/app/pages/api/test/api-test.service.ts b/src/workbench/browser/src/app/pages/api/test/api-test.service.ts index 976b666f..341e971c 100644 --- a/src/workbench/browser/src/app/pages/api/test/api-test.service.ts +++ b/src/workbench/browser/src/app/pages/api/test/api-test.service.ts @@ -50,7 +50,7 @@ export class ApiTestService { class: 'w_250', btnList: [ { - key: $localize`Delete`, + key: $localize`:@@Delete:Delete`, operateName: 'delete', }, ], @@ -133,7 +133,7 @@ export class ApiTestService { itemExpression: `eo-attr-tip-placeholder="add_child_btn" ng-if="$ctrl.mainObject.setting.isLevel"`, }, { - key: $localize`Delete`, + key: $localize`:@@Delete:Delete`, operateName: 'delete', itemExpression: 'ng-if="!($ctrl.mainObject.setting.munalHideOperateColumn&&$first)"', }, diff --git a/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html b/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html index 9ae72094..98712981 100644 --- a/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html +++ b/src/workbench/browser/src/app/pages/api/test/body/api-test-body.component.html @@ -9,7 +9,7 @@ [rootType]="jsonRootType">
    -

    JSON Root Type

    +

    JSON Root Type:

    @@ -24,5 +24,5 @@ - diff --git a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html index 2cac4a8d..ff903f07 100644 --- a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html +++ b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.html @@ -1,4 +1,4 @@
    - +
    diff --git a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.ts b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.ts index fc020d2d..450da6cf 100644 --- a/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.ts +++ b/src/workbench/browser/src/app/pages/api/test/header/api-test-header.component.ts @@ -47,7 +47,7 @@ export class ApiTestHeaderComponent implements OnInit, OnChanges { this.listConf = this.editService.initListConf({ dragCacheVar: 'DRAG_VAR_API_HEADER', itemStructure: this.itemStructure, - title: $localize`Header`, + title: $localize`:@@Header:Header`, nameTitle: $localize`Key`, valueTitle: $localize`Value`, watchFormLastChange: () => { diff --git a/src/workbench/browser/src/app/pages/api/test/history/api-test-history.component.ts b/src/workbench/browser/src/app/pages/api/test/history/api-test-history.component.ts index 8ac3005a..e11999e8 100644 --- a/src/workbench/browser/src/app/pages/api/test/history/api-test-history.component.ts +++ b/src/workbench/browser/src/app/pages/api/test/history/api-test-history.component.ts @@ -57,7 +57,7 @@ export class ApiTestHistoryComponent implements OnInit { this.model = []; this.message.success($localize`Delete Succeeded`); } else { - this.message.error($localize`Fail to delete`); + this.message.error($localize`Failed to delete`); console.error(result.data); } }); @@ -110,7 +110,7 @@ export class ApiTestHistoryComponent implements OnInit { class: 'w_100', btnList: [ { - key: $localize`Delete`, + key: $localize`:@@Delete:Delete`, operateName: 'delete', fun: (inArg) => { this.delete(inArg); @@ -128,7 +128,7 @@ export class ApiTestHistoryComponent implements OnInit { this.model.splice(inArg.$index, 1); this.message.success($localize`Delete Succeeded`); } else { - this.message.success($localize`Fail to delete`); + this.message.success($localize`Failed to delete`); console.error(result.data); } }); diff --git a/src/workbench/browser/src/app/pages/extension/extension.component.html b/src/workbench/browser/src/app/pages/extension/extension.component.html index 3ac47237..a8a0e107 100644 --- a/src/workbench/browser/src/app/pages/extension/extension.component.html +++ b/src/workbench/browser/src/app/pages/extension/extension.component.html @@ -2,7 +2,7 @@
    -
    diff --git a/src/workbench/browser/src/app/pages/navbar/navbar.component.html b/src/workbench/browser/src/app/pages/navbar/navbar.component.html index 12837095..6faafc2c 100644 --- a/src/workbench/browser/src/app/pages/navbar/navbar.component.html +++ b/src/workbench/browser/src/app/pages/navbar/navbar.component.html @@ -25,7 +25,7 @@
    diff --git a/src/workbench/browser/src/app/shared/components/env/env.component.html b/src/workbench/browser/src/app/shared/components/env/env.component.html index 54272ca5..83107377 100644 --- a/src/workbench/browser/src/app/shared/components/env/env.component.html +++ b/src/workbench/browser/src/app/shared/components/env/env.component.html @@ -2,7 +2,7 @@
    Environment
    @@ -27,7 +27,7 @@ - Prefix URL + Host diff --git a/src/workbench/browser/src/app/shared/components/env/env.component.ts b/src/workbench/browser/src/app/shared/components/env/env.component.ts index 43295cec..a936ac83 100644 --- a/src/workbench/browser/src/app/shared/components/env/env.component.ts +++ b/src/workbench/browser/src/app/shared/components/env/env.component.ts @@ -17,7 +17,7 @@ import { Subject } from 'rxjs'; export class EnvComponent implements OnInit, OnDestroy { @ViewChild('table') table: EoTableComponent; // * child component ref varName = $localize`{{Variable Name}}`; - modalTitle = $localize`New Environment`; + modalTitle = $localize`:@@New Environment:New Environment`; isVisible = false; /** 是否打开下拉菜单 */ isOpen = false; @@ -27,7 +27,7 @@ export class EnvComponent implements OnInit, OnDestroy { envListColumns = [ { title: $localize`Name`, key: 'name', isEdit: true }, { title: $localize`Value`, key: 'value', isEdit: true }, - { title: $localize`Description`, key: 'description', isEdit: true }, + { title: $localize`:@@Description:Description`, key: 'description', isEdit: true }, { title: $localize`Operate`, slot: 'action', width: '15%' }, ]; @@ -115,7 +115,7 @@ export class EnvComponent implements OnInit, OnDestroy { hostUri: '', parameters: [], }; - this.modalTitle = $localize`New Environment`; + this.modalTitle = $localize`:@@New Environment:New Environment`; this.activeUuid = null; this.handleShowModal(); } @@ -134,14 +134,14 @@ export class EnvComponent implements OnInit, OnDestroy { [{ ...other, name, parameters: data }, uuid], async (result: StorageRes) => { if (result.status === StorageResStatus.success) { - this.message.success($localize`Edited Successfully`); + this.message.success($localize`Edited successfully`); await this.getAllEnv(this.activeUuid); if (this.envUuid === Number(uuid)) { this.envUuid = Number(uuid); } this.handleCancel(); } else { - this.message.error($localize`Fail to Edit`); + this.message.error($localize`Failed to edit`); } } ); diff --git a/src/workbench/browser/src/app/shared/components/setting/common/data-storage.component.ts b/src/workbench/browser/src/app/shared/components/setting/common/data-storage.component.ts index b2923042..29e21890 100644 --- a/src/workbench/browser/src/app/shared/components/setting/common/data-storage.component.ts +++ b/src/workbench/browser/src/app/shared/components/setting/common/data-storage.component.ts @@ -5,12 +5,12 @@ import { NzMessageService } from 'ng-zorro-antd/message'; @Component({ selector: 'eo-data-storage', template: ` -
    Data Storage
    +
    Data Storage
    - - + + diff --git a/src/workbench/browser/src/app/shared/components/setting/common/language-swtcher.componet.ts b/src/workbench/browser/src/app/shared/components/setting/common/language-swtcher.componet.ts index 57b91964..eaeba4bb 100644 --- a/src/workbench/browser/src/app/shared/components/setting/common/language-swtcher.componet.ts +++ b/src/workbench/browser/src/app/shared/components/setting/common/language-swtcher.componet.ts @@ -5,9 +5,9 @@ import { NzModalService } from 'ng-zorro-antd/modal'; @Component({ selector: 'eo-language-switcher', template: ` -
    Language
    +
    Language
    - - + + + Unable to connect to remote data sources, please check and reconnect. In order not to affect use, the app will help you jump to local @@ -9,6 +9,7 @@ 34 {can not connect} + 无法连接到远程数据源,请检查后重新连接,为了不影响使用,程序将帮您跳转到本地 No mock found with ID @@ -16,6 +17,7 @@ src/app/app.service.ts 45 + 没有找到 ID 为的 Mock! Classic @@ -23,6 +25,7 @@ src/app/core/services/theme/theme.model.ts 3 + 经典 Forest @@ -30,6 +33,7 @@ src/app/core/services/theme/theme.model.ts 6 + 森林 Content Type @@ -37,6 +41,7 @@ src/app/eoui/editor/eo-editor/eo-editor.component.html 3,7 + 内容类型 Format @@ -44,20 +49,35 @@ src/app/eoui/editor/eo-editor/eo-editor.component.ts 19 + 整理格式 - + Copy src/app/eoui/editor/eo-editor/eo-editor.component.ts 23 + + src/app/pages/api/group/tree/api-group-tree.component.html + 93 + + 复制 - + Search src/app/eoui/editor/eo-editor/eo-editor.component.ts 27 + + src/app/pages/api/group/tree/api-group-tree.component.html + 2 + + + src/app/pages/extension/extension.component.html + 5 + + 搜索 Download @@ -65,6 +85,7 @@ src/app/eoui/editor/eo-editor/eo-editor.component.ts 31 + 下载 New Tab @@ -72,6 +93,7 @@ src/app/eoui/editor/eo-editor/eo-editor.component.ts 35 + 新开标签 Replace @@ -79,6 +101,7 @@ src/app/eoui/editor/eo-editor/eo-editor.component.ts 39 + 替换 Collections @@ -86,6 +109,7 @@ src/app/pages/api/api.component.html 8 + API 集合 History @@ -93,6 +117,7 @@ src/app/pages/api/api.component.html 18 + 历史 Environment @@ -104,21 +129,19 @@ src/app/pages/api/api.component.html 49 + 环境 - + Preview src/app/pages/api/api.component.ts 26 - - src/app/pages/api/mock/api-mock.component.ts - 28 - src/app/pages/api/tab/api-tab.component.ts 28 + 文档 Edit @@ -130,6 +153,7 @@ src/app/pages/api/mock/api-mock.component.ts 28,29 + 编辑 Test @@ -137,6 +161,7 @@ src/app/pages/api/api.component.ts 34 + 测试 Deletion Confirmation? @@ -144,6 +169,7 @@ src/app/pages/api/api.service.ts 23 + 确认删除? Are you sure you want to delete the data <strong title=""></strong> ? You cannot restore it once deleted! @@ -151,6 +177,7 @@ src/app/pages/api/api.service.ts 24,26 + 确认要删除数据 <strong title=""></strong> 吗?删除后不可恢复! Request Headers @@ -170,6 +197,7 @@ src/app/pages/api/test/api-test.component.html 125 + 请求头部 Query @@ -189,6 +217,7 @@ src/app/pages/api/test/query/api-test-query.component.html 2 + Query 参数 REST @@ -204,6 +233,7 @@ src/app/pages/api/test/api-test.component.html 99 + REST 参数 Body @@ -223,6 +253,7 @@ src/app/pages/api/test/api-test.component.html 122 + 请求体 The outermost structure is: @@ -230,6 +261,7 @@ src/app/pages/api/detail/api-detail.component.html 25 + 最外层结构为: Response Headers @@ -245,6 +277,7 @@ src/app/pages/api/test/api-test.component.html 118 + 返回头部 Response @@ -252,6 +285,10 @@ src/app/pages/api/detail/api-detail.component.html 39 + + src/app/pages/api/edit/api-edit.component.html + 112 + src/app/pages/api/edit/api-edit.component.html 133 @@ -264,6 +301,7 @@ src/app/pages/api/test/api-test.component.html 114 + 返回结果 Param @@ -279,6 +317,7 @@ src/app/pages/api/test/body/api-test-body.component.ts 170 + 参数 Name @@ -294,6 +333,7 @@ src/app/pages/api/test/api-test.service.ts 12 + Required @@ -313,6 +353,7 @@ src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts 22 + 必填 {{item.required?"True":""}} @@ -324,8 +365,9 @@ src/app/pages/api/detail/api-detail.service.ts 135 + {{item.required?"是":""}} - + Description src/app/pages/api/detail/api-detail.service.ts @@ -343,10 +385,15 @@ src/app/pages/api/edit/extra-setting/api-params-extra-setting.component.ts 28 + + src/app/pages/api/test/body/api-test-body.component.html + 27 + src/app/shared/components/env/env.component.ts 30 + 说明 Example @@ -362,6 +409,7 @@ src/app/pages/api/edit/api-edit.service.ts 183 + 示例 Param Name @@ -389,6 +437,7 @@ src/app/pages/api/test/api-test.service.ts 99 + 参数名 Type @@ -408,6 +457,7 @@ src/app/pages/api/test/api-test.service.ts 104 + 类型 <button type="button" class="eo-operate-btn" ng-click="$ctrl.data.isSpreedBtnClick=!$ctrl.data.isSpreedBtnClick;$ctrl.data.isSpreed=true;$ctrl.mainObject.baseFun.spreedAll($event);$ctrl.data.isSpreed=false;">{{$ctrl.data.isSpreedBtnClick?"Shrink All":"Expand All"}}</button> @@ -415,6 +465,7 @@ src/app/pages/api/detail/api-detail.service.ts 155 + <button type="button" class="eo-operate-btn" ng-click="$ctrl.data.isSpreedBtnClick=!$ctrl.data.isSpreedBtnClick;$ctrl.data.isSpreed=true;$ctrl.mainObject.baseFun.spreedAll($event);$ctrl.data.isSpreed=false;">{{$ctrl.data.isSpreedBtnClick?"全部展开":"全部收缩"}}</button> <span class="eo-operate-btn fs12" ng-show="item.minimum || @@ -426,21 +477,35 @@ src/app/pages/api/detail/api-detail.service.ts 157,161 + <span class="eo-operate-btn fs12" ng-show="item.minimum || + item.maximum || + item.minLength || + item.maxLength || + (item.enum && item.enum.length > 0 && item.enum[0].value)">{{item.isClick?"展开":"收缩"}}</span> - + Header src/app/pages/api/detail/header/api-detail-header.component.ts 25 + + src/app/pages/api/edit/header/api-edit-header.component.html + 2 + src/app/pages/api/edit/header/api-edit-header.component.ts 36 + + src/app/pages/api/test/header/api-test-header.component.html + 2 + src/app/pages/api/test/header/api-test-header.component.ts 50 + 头部 Key @@ -456,6 +521,7 @@ src/app/pages/api/test/header/api-test-header.component.ts 51 + 标签 Click to Copy @@ -467,6 +533,7 @@ src/app/pages/api/mock/api-mock.component.html 12 + 点击复制 System creation @@ -478,6 +545,7 @@ src/app/pages/api/mock/api-mock.component.ts 34 + 系统自动创建 Manual creation @@ -489,6 +557,7 @@ src/app/pages/api/mock/api-mock.component.ts 35 + 手动创建 Name @@ -504,6 +573,7 @@ src/app/shared/components/env/env.component.ts 28 + 名称 Created Type @@ -515,6 +585,7 @@ src/app/pages/api/mock/api-mock.component.ts 39 + 创建方式 Copied @@ -530,6 +601,7 @@ src/app/utils/index.ts 143 + 复制成功 Save @@ -545,6 +617,7 @@ src/app/shared/components/env/env.component.html 50 + 保存 Please enter API Path @@ -552,6 +625,7 @@ src/app/pages/api/edit/api-edit.component.html 17 + 请输入 API Path Group / API Name @@ -559,6 +633,7 @@ src/app/pages/api/edit/api-edit.component.html 22 + 分组 / API 名称 Please select an API group @@ -566,6 +641,7 @@ src/app/pages/api/edit/api-edit.component.html 25 + 请选择 API 分组 Please enter API name @@ -573,6 +649,7 @@ src/app/pages/api/edit/api-edit.component.html 40 + 请输入 API 名称 Request @@ -580,27 +657,27 @@ src/app/pages/api/edit/api-edit.component.html 48 + 请求参数 - + + + src/app/pages/api/edit/api-edit.component.html 50 - - - 响应内容 - - src/app/pages/api/edit/api-edit.component.html - 112 - + - + + + src/app/pages/api/edit/api-edit.component.html 117 + Root directory @@ -608,6 +685,7 @@ src/app/pages/api/edit/api-edit.component.ts 62 + 根目录 Detail @@ -615,6 +693,7 @@ src/app/pages/api/edit/api-edit.service.ts 9 + 详情 Param Description @@ -622,6 +701,7 @@ src/app/pages/api/edit/api-edit.service.ts 177 + 参数说明 Param Example @@ -629,6 +709,7 @@ src/app/pages/api/edit/api-edit.service.ts 186 + 参数示例 Add Child @@ -640,6 +721,7 @@ src/app/pages/api/test/api-test.service.ts 131 + 添加子字段 More Settings @@ -647,6 +729,7 @@ src/app/pages/api/edit/api-edit.service.ts 201 + 更多设置 Insert @@ -654,13 +737,26 @@ src/app/pages/api/edit/api-edit.service.ts 213 + 插入 - + Delete src/app/pages/api/edit/api-edit.service.ts 218 + + src/app/pages/api/group/tree/api-group-tree.component.html + 64 + + + src/app/pages/api/group/tree/api-group-tree.component.html + 97 + + + src/app/pages/api/mock/api-mock.component.html + 39 + src/app/pages/api/test/api-test.service.ts 53 @@ -673,20 +769,19 @@ src/app/pages/api/test/history/api-test-history.component.ts 113 + 删除 - - JSOn Root Type: + + JSON Root Type: src/app/pages/api/edit/body/api-edit-body.component.html 12 - - - 头部 - src/app/pages/api/edit/header/api-edit-header.component.html - 2 + src/app/pages/api/test/body/api-test-body.component.html + 12 + JSON 根类型: Group Name @@ -694,6 +789,7 @@ src/app/pages/api/group/edit/api-group-edit.component.html 3 + 分组名称 Please enter group name @@ -701,23 +797,17 @@ src/app/pages/api/group/edit/api-group-edit.component.html 4 + 请输入分组名称 - Data from will be deleted. This cannot be undone. Are you sure you want to delete? + Data from will be deleted. This cannot be undone. Are you sure you want to delete? src/app/pages/api/group/edit/api-group-edit.component.html 9,14 - - - Search - - src/app/pages/api/group/tree/api-group-tree.component.html - 2 - + 删除 后,该分组下的数据都会删除。该操作无法撤销,确认删除吗? + New API @@ -725,6 +815,7 @@ src/app/pages/api/group/tree/api-group-tree.component.html 10 + 添加 API New Group @@ -732,6 +823,7 @@ src/app/pages/api/group/tree/api-group-tree.component.html 11 + 添加分组 Add API @@ -739,6 +831,7 @@ src/app/pages/api/group/tree/api-group-tree.component.html 55 + 添加 API Add Subgroup @@ -746,6 +839,7 @@ src/app/pages/api/group/tree/api-group-tree.component.html 58 + 添加子分组 Edit @@ -757,35 +851,23 @@ src/app/pages/api/group/tree/api-group-tree.component.html 89 + 编辑 - - Delete - - src/app/pages/api/group/tree/api-group-tree.component.html - 64 - - - src/app/pages/api/group/tree/api-group-tree.component.html - 97 - - - - Copy - - src/app/pages/api/group/tree/api-group-tree.component.html - 93 - - - + Index src/app/pages/api/group/tree/api-group-tree.component.ts 53 + + src/app/pages/api/overview/api-overview.component.html + 2 + src/app/pages/api/tab/api-tab.component.ts 29 + 概况 Add Group @@ -793,6 +875,7 @@ src/app/pages/api/group/tree/api-group-tree.component.ts 249 + 添加分组 Add Subgroup @@ -800,6 +883,7 @@ src/app/pages/api/group/tree/api-group-tree.component.ts 258 + 添加子分组 Edit Group @@ -807,6 +891,7 @@ src/app/pages/api/group/tree/api-group-tree.component.ts 267 + 编辑分组 Delete Group @@ -814,6 +899,7 @@ src/app/pages/api/group/tree/api-group-tree.component.ts 276 + 删除分组 Add Mock @@ -821,27 +907,25 @@ src/app/pages/api/mock/api-mock.component.html 2 + 添加 Mock - + + + src/app/pages/api/mock/api-mock.component.html 26,27 + - - 您确定要删除此Mock吗? + + Are you sure you want to delete this Mock? src/app/pages/api/mock/api-mock.component.html 35 - - - 删除 - - src/app/pages/api/mock/api-mock.component.html - 39 - + 您确定要删除此Mock吗? Mock Name @@ -849,6 +933,7 @@ src/app/pages/api/mock/api-mock.component.html 52 + Mock 名称 Cancel @@ -864,6 +949,7 @@ src/app/shared/components/params-import/params-import.component.html 36 + 取消 Add @@ -871,6 +957,15 @@ src/app/pages/api/mock/api-mock.component.ts 28 + 添加 + + + Preview + + src/app/pages/api/mock/api-mock.component.ts + 28 + + 文档 Delete Succeeded @@ -886,6 +981,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 129 + 删除成功 Edited successfully @@ -893,6 +989,11 @@ src/app/pages/api/mock/api-mock.component.ts 235 + + src/app/shared/components/env/env.component.ts + 137 + + 编辑成功 Added successfully @@ -904,13 +1005,7 @@ src/app/shared/components/env/env.component.ts 151 - - - Index - - src/app/pages/api/overview/api-overview.component.html - 2 - + 添加成功 Import @@ -918,6 +1013,7 @@ src/app/pages/api/overview/api-overview.component.ts 27 + 导入 Import API data @@ -925,6 +1021,7 @@ src/app/pages/api/overview/api-overview.component.ts 29 + 导入 API 数据 Export @@ -932,6 +1029,7 @@ src/app/pages/api/overview/api-overview.component.ts 33 + 导出 Export API data @@ -939,6 +1037,7 @@ src/app/pages/api/overview/api-overview.component.ts 35 + 导出 API 数据 Push @@ -946,6 +1045,7 @@ src/app/pages/api/overview/api-overview.component.ts 39 + 推送 Push/Sync API to other platforms @@ -953,20 +1053,23 @@ src/app/pages/api/overview/api-overview.component.ts 41 + 将 API 推送/同步到其他平台 - - Successfully + + successfully src/app/pages/api/overview/api-overview.component.ts 55 + 成功 - - Fail to + + Failed to src/app/pages/api/overview/api-overview.component.ts 58 + 失败 Close All Tags (excluding current tabs) @@ -974,6 +1077,7 @@ src/app/pages/api/tab/api-tab.component.html 25 + 关闭所有标签(当前标签除外) Close All Tabs @@ -981,6 +1085,7 @@ src/app/pages/api/tab/api-tab.component.html 26 + 关闭所有标签 Close Tabs To The Left @@ -988,6 +1093,7 @@ src/app/pages/api/tab/api-tab.component.html 28 + 关闭左侧标签页 Close Tabs to Right @@ -995,6 +1101,7 @@ src/app/pages/api/tab/api-tab.component.html 29 + 关闭右侧标签页 New API @@ -1006,34 +1113,44 @@ src/app/pages/api/tab/api-tab.component.ts 27 + 新 API - - Copied Successfully + + Copied successfully src/app/pages/api/tab/api-tab.component.ts 254 + 复制成功 - - Fail to Copy + + Failed to copy src/app/pages/api/tab/api-tab.component.ts 263 + 复制失败 - + + + + + + src/app/pages/api/test/api-test.component.html 31,33 + - - Save as New API + + Save as API src/app/pages/api/test/api-test.component.html 43,45 + 保存为新 API Value @@ -1041,6 +1158,7 @@ src/app/pages/api/test/api-test.service.ts 13 + Value @@ -1060,20 +1178,7 @@ src/app/shared/components/env/env.component.ts 29 - - - JSON Root Type - - src/app/pages/api/test/body/api-test-body.component.html - 12 - - - - Description - - src/app/pages/api/test/body/api-test-body.component.html - 27 - + 参数值 File size must be less than 2M @@ -1081,13 +1186,7 @@ src/app/pages/api/test/body/api-test-body.component.ts 183 - - - Header - - src/app/pages/api/test/header/api-test-header.component.html - 2 - + 文件大小均需小于 2M This operation cannot be restored, do you want to do it? @@ -1095,6 +1194,7 @@ src/app/pages/api/test/history/api-test-history.component.html 5 + 此操作无法恢复,确认操作? Empty Test History @@ -1102,9 +1202,10 @@ src/app/pages/api/test/history/api-test-history.component.html 12,14 + 清空测试历史 - - Fail to delete + + Failed to delete src/app/pages/api/test/history/api-test-history.component.ts 60 @@ -1113,6 +1214,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 131 + 删除失败 Test Time @@ -1120,6 +1222,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 86 + 测试时间 URL @@ -1127,6 +1230,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 92 + 请求地址 Status Code @@ -1134,6 +1238,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 97 + 状态码 Request Time(ms) @@ -1141,6 +1246,7 @@ src/app/pages/api/test/history/api-test-history.component.ts 103 + 请求时长(ms) No Headers @@ -1148,6 +1254,7 @@ src/app/pages/api/test/result-header/api-test-result-header.component.html 3 + 暂无头部 No Request Body @@ -1155,6 +1262,7 @@ src/app/pages/api/test/result-request-body/api-test-result-request-body.component.html 3 + 暂无请求体 Click the Send button to get a test report @@ -1162,18 +1270,15 @@ src/app/pages/api/test/result-response/api-test-result-response.component.html 4 + 点击发送按钮获取测试报告 - Unable to preview non-text type data, you can download back resultand open it with other programs. + Unable to preview non-text type data, you can download back resultand open it with other programs. src/app/pages/api/test/result-response/api-test-result-response.component.html 17,25 + 无法预览非文本类型的数据,您可以 下载返回结果 ,并用其他程序打开。 Unable to preview non-text type data, you can download back result @@ -1181,6 +1286,7 @@ src/app/pages/api/test/result-response/api-test-result-response.component.html 30,32 + 响应结果超出可预览的大小,您可以 下载返回结果 Back @@ -1188,6 +1294,7 @@ src/app/pages/extension/detail/extension-detail.component.html 5 + 返回 Intro @@ -1195,6 +1302,7 @@ src/app/pages/extension/detail/extension-detail.component.html 26 + 介绍 Install @@ -1202,6 +1310,7 @@ src/app/pages/extension/detail/extension-detail.component.html 37 + 安装 Download Client @@ -1209,6 +1318,7 @@ src/app/pages/extension/detail/extension-detail.component.html 44,45 + 下载客户端 The extensions can only be installed on the client at present. Please download the client first~ @@ -1216,6 +1326,7 @@ src/app/pages/extension/detail/extension-detail.component.html 54,56 + 目前只能在客户端安装扩展。请先下载客户端~ Uninstall @@ -1223,6 +1334,7 @@ src/app/pages/extension/detail/extension-detail.component.html 60,62 + 卸载 Support @@ -1230,6 +1342,7 @@ src/app/pages/extension/detail/extension-detail.component.html 64 + 帮助 Author @@ -1237,6 +1350,7 @@ src/app/pages/extension/detail/extension-detail.component.html 66 + 作者 Version @@ -1244,6 +1358,7 @@ src/app/pages/extension/detail/extension-detail.component.html 67 + 版本 This plugin has no documentation yet. @@ -1251,13 +1366,7 @@ src/app/pages/extension/detail/extension-detail.component.ts 38 - - - search - - src/app/pages/extension/extension.component.html - 5 - + 此插件尚无文档。 Official @@ -1265,6 +1374,7 @@ src/app/pages/extension/extension.component.ts 22 + 官方 All @@ -1272,6 +1382,7 @@ src/app/pages/extension/extension.component.ts 28 + 所有 Installed @@ -1279,6 +1390,7 @@ src/app/pages/extension/list/extension-list.component.html 19 + 已安装 Open Settings @@ -1286,6 +1398,7 @@ src/app/pages/navbar/navbar.component.html 9 + 打开设置 Document @@ -1293,13 +1406,15 @@ src/app/pages/navbar/navbar.component.html 26 + 文档 - - Bug Issue + + Report Issue src/app/pages/navbar/navbar.component.html 28 + 问题反馈 Minimize @@ -1307,6 +1422,7 @@ src/app/pages/navbar/navbar.component.html 32 + 最小化 Close @@ -1314,6 +1430,7 @@ src/app/pages/navbar/navbar.component.html 39 + 关闭 Download @@ -1321,6 +1438,7 @@ src/app/pages/navbar/navbar.component.html 44 + 下载 Current data storage exists,please switch if you want to collaborate @@ -1328,6 +1446,7 @@ src/app/pages/pages.component.html 5 + 目前数据储存在,如需协作请切换到 Data Storage @@ -1335,51 +1454,14 @@ src/app/pages/pages.component.html 6 + 数据源 - + New Environment src/app/shared/components/env/env.component.html 6 - - - Are you sure you want to delete? - - src/app/shared/components/env/env.component.html - 13 - - - - Environment Name - - src/app/shared/components/env/env.component.html - 24 - - - - Prefix URL - - src/app/shared/components/env/env.component.html - 30 - - - - Environment variable:can be referenced by using in Document or Test - - src/app/shared/components/env/env.component.html - 35 - - - - {{Variable Name}} - - src/app/shared/components/env/env.component.ts - 19 - - - - New Environment src/app/shared/components/env/env.component.ts 20 @@ -1388,6 +1470,51 @@ src/app/shared/components/env/env.component.ts 118 + 添加环境 + + + Are you sure you want to delete? + + src/app/shared/components/env/env.component.html + 13 + + 是否确定删除? + + + Environment Name + + src/app/shared/components/env/env.component.html + 24 + + 环境名称 + + + Host + + src/app/shared/components/env/env.component.html + 30 + + + src/app/shared/components/setting/common/data-storage.component.ts + 27 + + Host + + + Environment variable:can be referenced by using in Document or Test + + src/app/shared/components/env/env.component.html + 35 + + 环境变量:在接口文档或测试的过程中,使用即可引用该环境变量 + + + {{Variable Name}} + + src/app/shared/components/env/env.component.ts + 19 + + {{变量名}} Operate @@ -1395,6 +1522,7 @@ src/app/shared/components/env/env.component.ts 31 + 操作 Edit Environment @@ -1402,6 +1530,7 @@ src/app/shared/components/env/env.component.ts 95 + 编辑环境 Name is not allowed to be empty @@ -1409,20 +1538,15 @@ src/app/shared/components/env/env.component.ts 127 + 名称不允许为空 - - Edited Successfully - - src/app/shared/components/env/env.component.ts - 137 - - - - Fail to Edit + + Failed to edit src/app/shared/components/env/env.component.ts 144 + 编辑失败 Failed to add @@ -1430,6 +1554,7 @@ src/app/shared/components/env/env.component.ts 156 + 添加失败 This feature requires plugin support, please move to extensions download @@ -1437,6 +1562,7 @@ src/app/shared/components/extension-select/extension-select.component.html 24,26 + 该功能需要插件支持,请移步至插件广场下载 Tap or drag files directly to this area @@ -1444,6 +1570,7 @@ src/app/shared/components/extension-select/extension-select.component.html 42 + 点击或直接拖拽文件至此区域 Only individual files in Json format are supported @@ -1451,6 +1578,7 @@ src/app/shared/components/extension-select/extension-select.component.html 43 + 仅支持JSON格式的单个文件导入 Only files in JSON format are supported @@ -1458,6 +1586,7 @@ src/app/shared/components/extension-select/extension-select.component.ts 44 + 仅支持上传 JSON 格式的文件 Import @@ -1465,6 +1594,7 @@ src/app/shared/components/params-import/params-import.component.html 3 + 导入 Import like this: @@ -1472,6 +1602,7 @@ src/app/shared/components/params-import/params-import.component.html 24 + 导入格式: Replace Changed @@ -1479,6 +1610,7 @@ src/app/shared/components/params-import/params-import.component.html 33 + 增量更新 Replace All @@ -1486,6 +1618,7 @@ src/app/shared/components/params-import/params-import.component.html 34 + 全量替换 Insert at the end @@ -1493,6 +1626,7 @@ src/app/shared/components/params-import/params-import.component.html 35 + 在末端插入 Version @@ -1500,6 +1634,7 @@ src/app/shared/components/setting/common/about.component.ts 17 + 版本 About @@ -1507,8 +1642,9 @@ src/app/shared/components/setting/common/about.component.ts 66 + 关于 - + Data Storage src/app/shared/components/setting/common/data-storage.component.ts @@ -1518,13 +1654,23 @@ src/app/shared/components/setting/common/data-storage.component.ts 12 + + src/app/shared/components/setting/setting.component.ts + 99 + + 数据源 - + Remote Server src/app/shared/components/setting/common/data-storage.component.ts 13 + + src/app/shared/services/remote/remote.service.ts + 34 + + 远程服务器 Localhost: Store the data locally. You can only use the product on the current computer. @@ -1532,6 +1678,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 18 + 本地数据源:将数据存储在本地,你只能在当前计算机使用产品数据。 Remote Server: Store data on a remote server to facilitate cross device use of the product. Learn more.. @@ -1539,13 +1686,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 19,21 - - - Host - - src/app/shared/components/setting/common/data-storage.component.ts - 27 - + 远程服务器:将数据存储在远程服务器上,方便跨设备使用产品。 了解更多... Please input your Host @@ -1553,6 +1694,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 28 + 请输入您的远程 Host! your host @@ -1560,6 +1702,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 29 + 远程 Host Please input your Security Token @@ -1567,6 +1710,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 34 + 请输入您的 Security Token your security token @@ -1574,6 +1718,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 39 + 您的 security token Change Data Storage @@ -1581,6 +1726,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 46 + 切换数据源 Remote server connection failed!! @@ -1588,6 +1734,7 @@ src/app/shared/components/setting/common/data-storage.component.ts 118 + 远程服务器连接失败 The remote data source connection is successful! @@ -1595,8 +1742,9 @@ src/app/shared/components/setting/common/data-storage.component.ts 129 + 远程数据源连接成功! - + Language src/app/shared/components/setting/common/language-swtcher.componet.ts @@ -1606,6 +1754,11 @@ src/app/shared/components/setting/common/language-swtcher.componet.ts 11 + + src/app/shared/components/setting/setting.component.ts + 103 + + 语言 Switched to @@ -1613,6 +1766,7 @@ src/app/shared/components/setting/setting.component.html 136,138 + 切换到 No plugins are currently installed, go to install @@ -1620,20 +1774,7 @@ src/app/shared/components/setting/setting.component.html 152 - - - Data Storage - - src/app/shared/components/setting/setting.component.ts - 99 - - - - Language - - src/app/shared/components/setting/setting.component.ts - 103 - + 该功能需要插件支持,请移步至插件广场下载 Extensions @@ -1645,6 +1786,7 @@ src/app/shared/components/sidebar/sidebar.component.ts 68 + 插件广场 About @@ -1652,6 +1794,7 @@ src/app/shared/components/setting/setting.component.ts 111 + 关于 Windows Client @@ -1659,6 +1802,7 @@ src/app/shared/models/client.model.ts 4 + Windows 客户端 MacOS(Intel) Client @@ -1666,6 +1810,7 @@ src/app/shared/models/client.model.ts 12 + MacOS(Intel) 客户端 MacOS(M1) Client @@ -1673,6 +1818,7 @@ src/app/shared/models/client.model.ts 19 + MacOS(M1) 客户端 Test service connection failed, please submit Issue contact community @@ -1680,6 +1826,7 @@ src/app/shared/services/api-test/serverless-node/test-connect.service.ts 45 + 测试服务连接失败,请提交 Issue 联系社区 Confirm @@ -1687,6 +1834,7 @@ src/app/shared/services/modal.service.ts 25 + 确认 Cancel @@ -1694,13 +1842,7 @@ src/app/shared/services/modal.service.ts 36 - - - Remote Server - - src/app/shared/services/remote/remote.service.ts - 34 - + 取消 Localhost @@ -1708,6 +1850,7 @@ src/app/shared/services/remote/remote.service.ts 34 + 本地 Remote data source not available @@ -1715,13 +1858,15 @@ src/app/shared/services/remote/remote.service.ts 173 + 远程数据源不可用 - - Successfully switched to data source + + successfully switched to data source src/app/shared/services/remote/remote.service.ts 180 + 成功切换到数据源 Default Mock @@ -1729,6 +1874,7 @@ src/app/shared/services/storage/IndexedDB/lib/index.ts 72 + 默认 Mock Get City Weather Today @@ -1736,6 +1882,7 @@ src/app/shared/services/storage/IndexedDB/sample/index.ts 5 + 获取城市今日天气 diff --git a/src/workbench/browser/src/locale/messages.zh-Hans.xlf b/src/workbench/browser/src/locale/messages.zh-Hans.xlf index 42fbe9e5..3a8384f6 100644 --- a/src/workbench/browser/src/locale/messages.zh-Hans.xlf +++ b/src/workbench/browser/src/locale/messages.zh-Hans.xlf @@ -955,14 +955,14 @@ - Successfully + successfully src/app/pages/api/overview/api-overview.component.ts 55 - Fail to + Failed to src/app/pages/api/overview/api-overview.component.ts 58 @@ -1008,14 +1008,14 @@ - Copied Successfully + Copied successfully src/app/pages/api/tab/api-tab.component.ts 254 - Fail to Copy + Failed to Copy src/app/pages/api/tab/api-tab.component.ts 263 @@ -1104,7 +1104,7 @@ - Fail to delete + Failed to delete src/app/pages/api/test/history/api-test-history.component.ts 60 @@ -1411,14 +1411,14 @@ - Edited Successfully + Edited successfully src/app/shared/components/env/env.component.ts 137 - Fail to Edit + Failed to Edit src/app/shared/components/env/env.component.ts 144 @@ -1717,7 +1717,7 @@ - Successfully switched to data source + successfully switched to data source src/app/shared/services/remote/remote.service.ts 180 diff --git a/src/workbench/browser/src/ng1/lib/angular/angular.js b/src/workbench/browser/src/ng1/lib/angular/angular.js index 50c4e73b..551c93f6 100644 --- a/src/workbench/browser/src/ng1/lib/angular/angular.js +++ b/src/workbench/browser/src/ng1/lib/angular/angular.js @@ -1773,7 +1773,7 @@ * @param {angular.Module} ngApp an optional application * {@link angular.module module} name to load. * @param {boolean=} ngStrictDi if this attribute is present on the app element, the injector will be - * created in "strict-di" mode. This means that the application will fail to invoke functions which + * created in "strict-di" mode. This means that the application will Failed to invoke functions which * do not use explicit function annotation (and are thus unsuitable for minification), as described * in {@link guide/di the Dependency Injection guide}, and useful debugging info will assist in * tracking down the root of these bugs. @@ -1837,7 +1837,7 @@
    I can add: {{a}} + {{b}} = {{ a+b }} -

    This renders because the controller does not fail to +

    This renders because the controller does not Failed to instantiate, by using explicit annotation style (see script.js for details)

    @@ -1847,7 +1847,7 @@ Name:
    Hello, {{name}}! -

    This renders because the controller does not fail to +

    This renders because the controller does not Failed to instantiate, by using explicit annotation style (see script.js for details)

    @@ -1866,13 +1866,13 @@ angular.module('ngAppStrictDemo', []) - // BadController will fail to instantiate, due to relying on automatic function annotation, + // BadController will Failed to instantiate, due to relying on automatic function annotation, // rather than an explicit annotation .controller('BadController', function($scope) { $scope.a = 1; $scope.b = 2; }) - // Unlike BadController, GoodController1 and GoodController2 will not fail to be instantiated, + // Unlike BadController, GoodController1 and GoodController2 will not Failed to be instantiated, // due to using explicit annotations using the array style and $inject property, respectively. .controller('GoodController1', ['$scope', function($scope) { $scope.a = 1; @@ -8095,7 +8095,7 @@ * #### Pre-linking function * * Executed before the child elements are linked. Not safe to do DOM transformation since the - * compiler linking function will fail to locate the correct elements for linking. + * compiler linking function will Failed to locate the correct elements for linking. * * #### Post-linking function *