Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update code due to code style #331

Merged
merged 2 commits into from
Jul 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions extensions/iceworks-app/src/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.label":"Iceworks createApplication",
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail":"Create a Universal Application(React/Rax/Vue, etc) quickly.",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label":"Iceworks pageBuidler",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail":"Through GUI, you can quickly assemble pages with materials.",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.label":"Iceworks componentBuilder",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail":"Create components quickly from materials.",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.label":"Iceworks materialImport",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.detail":"Add materials to the application in a visual way.",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder":"for example: lodash react@latest.",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt":"Please enter the name of the dependency to be addded to <%= depType %>. Multiple dependencies should be spilted by Spaces.",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label":"Daily",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.detail":"Release to daily environment.",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.label":"Production",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.detail":"Release to production environment.",
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail":"Install <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage":"Cannot find entry",
"extension.iceworksApp.extension.title":"Iceworks setting",
"extension.iceworksApp.extebsion.emptyWorkplace":"Current workspace is empty. Plaase open or create an application."
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.label": "Iceworks createApplication",
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail": "Create a Universal Application(React/Rax/Vue, etc) quickly.",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label": "Iceworks pageBuidler",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail": "Through GUI, you can quickly assemble pages with materials.",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.label": "Iceworks componentBuilder",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail": "Create components quickly from materials.",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.label": "Iceworks materialImport",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.detail": "Add materials to the application in a visual way.",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder": "for example: lodash react@latest.",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt": "Please enter the name of the dependency to be addded to <%= depType %>. Multiple dependencies should be spilted by Spaces.",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label": "Daily",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.detail": "Release to daily environment.",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.label": "Production",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.detail": "Release to production environment.",
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail": "Install <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage": "Cannot find entry",
"extension.iceworksApp.extension.title": "Iceworks setting",
"extension.iceworksApp.extebsion.emptyWorkplace": "Current workspace is empty. Plaase open or create an application."


}
36 changes: 18 additions & 18 deletions extensions/iceworks-app/src/locales/zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.label":"Iceworks 创建应用",
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail":"快速创建多端应用(例如:React/Rax/Vue...)",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label":"Iceworks 生成页面",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail":"使用低代码的方式生成网页视图",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.label":"Iceworks 生成组件",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail":"使用低代码的方式生成前端组件",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.label":"Iceworks 使用物料",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.detail":"使用可视化的方式添加物料到应用中",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder":"例如: lodash react@latest",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt":"请输入需要添加到 <%= depType %> 的依赖名称, 支持通过空格添加多个依赖",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label":"日常环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.detail":"发布到日常环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.label":"生产环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.detail":"发布到生产环境",
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail":"安装 <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage":"没有找到入口",
"extension.iceworksApp.extension.title":"设置 - Iceworks",
"extension.iceworksApp.extebsion.emptyWorkplace":"当前工作区为空,请打开应用或新建应用。"
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.label": "Iceworks 创建应用",
"extension.iceworksApp.showExtensionsQuickPick.projectCreater.detail": "快速创建多端应用(例如:React/Rax/Vue...)",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.label": "Iceworks 生成页面",
"extension.iceworksApp.showExtensionsQuickPick.pageBuilder.detail": "使用低代码的方式生成网页视图",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.label": "Iceworks 生成组件",
"extension.iceworksApp.showExtensionsQuickPick.generateComponent.detail": "使用低代码的方式生成前端组件",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.label": "Iceworks 使用物料",
"extension.iceworksApp.showExtensionsQuickPick.materialImport.detail": "使用可视化的方式添加物料到应用中",
"extension.iceworksApp.showDepsInputBox.materialImport.placeHolder": "例如: lodash react@latest",
"extension.iceworksApp.showDepsInputBox.materialImport.prompt": "请输入需要添加到 <%= depType %> 的依赖名称, 支持通过空格添加多个依赖",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.label": "日常环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.daily.detail": "发布到日常环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.label": "生产环境",
"extension.iceworksApp.showDefPublishEnvQuickPick.DEFEnvOptions.prod.detail": "发布到生产环境",
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail": "安装 <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage": "没有找到入口",
"extension.iceworksApp.extension.title": "设置 - Iceworks",
"extension.iceworksApp.extebsion.emptyWorkplace": "当前工作区为空,请打开应用或新建应用。"
}
50 changes: 25 additions & 25 deletions extensions/iceworks-app/web/src/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"web.iceworksApp.customMaterialSource.confirmDelete":"Are you sure to delete the material source?",
"web.iceworksApp.customMaterialSource.editMaterialSource":"Edit Material Source",
"web.iceworksApp.customMaterialSource.addMaterialSource":"Add Material Source",
"web.iceworksApp.customMaterialSource.customMaterialSource":"Custom Material Source",
"web.iceworksApp.customMaterialSource.add":"Add",
"web.iceworksApp.customMaterialSource.loading":"Loading",
"web.iceworksApp.index.CUSTOM_NPM_REGISTRY_SELECT_KEY":"Custom NPM Registry",
"web.iceworksApp.index.addMaterialSuccess":"Added material source successfully",
"web.iceworksApp.index.editMaterialSuccess":"Modified material source successfully",
"web.iceworksApp.index.deletetMaterialSuccess":"Material source deleted successfully",
"web.iceworksApp.index.editSettingSuccess":"Setting up completed successfully ",
"web.iceworksApp.index.npmPackageManager":"Npm Packages Manager",
"web.iceworksApp.index.chooseNpmPackageManager":"Choose NPM Packages Mananger",
"web.iceworksApp.index.npmRegistry":"Npm Registry",
"web.iceworksApp.index.chooseNpmRegistry":"Choose NPM Registry",
"web.iceworksApp.index.formatUrl":"Enter A NPM Registry Url",
"web.iceworksApp.index.customNpmRegistryPlaceHolder":"Custom NPM Registry",
"web.iceworksApp.MaterialSourceForm.materialNameLabel":"Material Name:",
"web.iceworksApp.MaterialSourceForm.materialName":"Please Enter Material Name",
"web.iceworksApp.MaterialSourceForm.materiaURLLabel":"Material URL",
"web.iceworksApp.MaterialSourceForm.materiaURL":"Please Enter Material URL",
"web.iceworksApp.MaterialSourceForm.materialDescriptionLabel":"Material Description:",
"web.iceworksApp.MaterialSourceForm.materialDescription":"Please Enter Material Description",
"web.iceworksApp.MaterialSourceForm.confirm":"Confirm",
"web.iceworksApp.MaterialSourceForm.cancel":"Cancel"
"web.iceworksApp.customMaterialSource.confirmDelete": "Are you sure to delete the material source?",
"web.iceworksApp.customMaterialSource.editMaterialSource": "Edit Material Source",
"web.iceworksApp.customMaterialSource.addMaterialSource": "Add Material Source",
"web.iceworksApp.customMaterialSource.customMaterialSource": "Custom Material Source",
"web.iceworksApp.customMaterialSource.add": "Add",
"web.iceworksApp.customMaterialSource.loading": "Loading",
"web.iceworksApp.index.CUSTOM_NPM_REGISTRY_SELECT_KEY": "Custom NPM Registry",
"web.iceworksApp.index.addMaterialSuccess": "Added material source successfully",
"web.iceworksApp.index.editMaterialSuccess": "Modified material source successfully",
"web.iceworksApp.index.deletetMaterialSuccess": "Material source deleted successfully",
"web.iceworksApp.index.editSettingSuccess": "Setting up completed successfully ",
"web.iceworksApp.index.npmPackageManager": "Npm Packages Manager",
"web.iceworksApp.index.chooseNpmPackageManager": "Choose NPM Packages Mananger",
"web.iceworksApp.index.npmRegistry": "Npm Registry",
"web.iceworksApp.index.chooseNpmRegistry": "Choose NPM Registry",
"web.iceworksApp.index.formatUrl": "Enter A NPM Registry Url",
"web.iceworksApp.index.customNpmRegistryPlaceHolder": "Custom NPM Registry",
"web.iceworksApp.MaterialSourceForm.materialNameLabel": "Material Name:",
"web.iceworksApp.MaterialSourceForm.materialName": "Please Enter Material Name",
"web.iceworksApp.MaterialSourceForm.materiaURLLabel": "Material URL",
"web.iceworksApp.MaterialSourceForm.materiaURL": "Please Enter Material URL",
"web.iceworksApp.MaterialSourceForm.materialDescriptionLabel": "Material Description:",
"web.iceworksApp.MaterialSourceForm.materialDescription": "Please Enter Material Description",
"web.iceworksApp.MaterialSourceForm.confirm": "Confirm",
"web.iceworksApp.MaterialSourceForm.cancel": "Cancel"
}
50 changes: 25 additions & 25 deletions extensions/iceworks-app/web/src/locales/zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"web.iceworksApp.customMaterialSource.confirmDelete":"是否确定删除该物料源?",
"web.iceworksApp.customMaterialSource.editMaterialSource":"编辑物料源",
"web.iceworksApp.customMaterialSource.addMaterialSource":"新增物料源",
"web.iceworksApp.customMaterialSource.customMaterialSource":"自定义物料源",
"web.iceworksApp.customMaterialSource.add":"添加",
"web.iceworksApp.customMaterialSource.loading":"加载中...",
"web.iceworksApp.index.CUSTOM_NPM_REGISTRY_SELECT_KEY":"npm - 自定义镜像源",
"web.iceworksApp.index.addMaterialSuccess":"新增物料源成功",
"web.iceworksApp.index.editMaterialSuccess":"修改物料源成功",
"web.iceworksApp.index.deletetMaterialSuccess":"删除物料源成功",
"web.iceworksApp.index.editSettingSuccess":"设置成功",
"web.iceworksApp.index.npmPackageManager":"npm 包管理工具",
"web.iceworksApp.index.chooseNpmPackageManager":"请选择 npm 包管理工具",
"web.iceworksApp.index.npmRegistry":"npm 镜像源",
"web.iceworksApp.index.chooseNpmRegistry":"请选择 npm 镜像源",
"web.iceworksApp.index.formatUrl":"请输入正确的 url",
"web.iceworksApp.index.customNpmRegistryPlaceHolder":"请输入自定义 npm 镜像源",
"web.iceworksApp.MaterialSourceForm.materialNameLabel":"物料名称:",
"web.iceworksApp.MaterialSourceForm.materialName":"请输入物料名称",
"web.iceworksApp.MaterialSourceForm.materiaURLLabel":"物料地址:",
"web.iceworksApp.MaterialSourceForm.materiaURL":"请输入物料地址",
"web.iceworksApp.MaterialSourceForm.materialDescriptionLabel":"物料描述:",
"web.iceworksApp.MaterialSourceForm.materialDescription":"请输入物料描述",
"web.iceworksApp.MaterialSourceForm.confirm":"确定",
"web.iceworksApp.MaterialSourceForm.cancel":"取消"
"web.iceworksApp.customMaterialSource.confirmDelete": "是否确定删除该物料源?",
"web.iceworksApp.customMaterialSource.editMaterialSource": "编辑物料源",
"web.iceworksApp.customMaterialSource.addMaterialSource": "新增物料源",
"web.iceworksApp.customMaterialSource.customMaterialSource": "自定义物料源",
"web.iceworksApp.customMaterialSource.add": "添加",
"web.iceworksApp.customMaterialSource.loading": "加载中...",
"web.iceworksApp.index.CUSTOM_NPM_REGISTRY_SELECT_KEY": "npm - 自定义镜像源",
"web.iceworksApp.index.addMaterialSuccess": "新增物料源成功",
"web.iceworksApp.index.editMaterialSuccess": "修改物料源成功",
"web.iceworksApp.index.deletetMaterialSuccess": "删除物料源成功",
"web.iceworksApp.index.editSettingSuccess": "设置成功",
"web.iceworksApp.index.npmPackageManager": "npm 包管理工具",
"web.iceworksApp.index.chooseNpmPackageManager": "请选择 npm 包管理工具",
"web.iceworksApp.index.npmRegistry": "npm 镜像源",
"web.iceworksApp.index.chooseNpmRegistry": "请选择 npm 镜像源",
"web.iceworksApp.index.formatUrl": "请输入正确的 url",
"web.iceworksApp.index.customNpmRegistryPlaceHolder": "请输入自定义 npm 镜像源",
"web.iceworksApp.MaterialSourceForm.materialNameLabel": "物料名称:",
"web.iceworksApp.MaterialSourceForm.materialName": "请输入物料名称",
"web.iceworksApp.MaterialSourceForm.materiaURLLabel": "物料地址:",
"web.iceworksApp.MaterialSourceForm.materiaURL": "请输入物料地址",
"web.iceworksApp.MaterialSourceForm.materialDescriptionLabel": "物料描述:",
"web.iceworksApp.MaterialSourceForm.materialDescription": "请输入物料描述",
"web.iceworksApp.MaterialSourceForm.confirm": "确定",
"web.iceworksApp.MaterialSourceForm.cancel": "取消"
}
2 changes: 1 addition & 1 deletion extensions/iceworks-component-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@iceworks/material-service": "^0.1.3",
"@iceworks/project-service": "^0.1.4",
"@iceworks/vscode-webview": "^0.1.1",
"@iceworks/i18n":"^0.0.1"
"@iceworks/i18n": "^0.0.1"
},
"homepage": "https://github.com/ice-lab/iceworks/blob/master/extensions/iceworks-component-builder/README.md",
"bugs": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extension.iceworksComponentBuilder.extension.webviewTitle":"Generate Components - Iceworks"
"extension.iceworksComponentBuilder.extension.webviewTitle": "Generate Components - Iceworks"
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extension.iceworksComponentBuilder.extension.webviewTitle":"生成组件 - Iceworks"
"extension.iceworksComponentBuilder.extension.webviewTitle": "生成组件 - Iceworks"
}
18 changes: 9 additions & 9 deletions extensions/iceworks-component-builder/web/src/locales/en-US.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"web.ComponentBuiilder.Home.getMaterialError":"Fail to obtain materials. Please try again later.",
"web.ComponentBuiilder.Home.getDataError":"Fail to obtain material data. Please try again later.",
"web.ComponentBuiilder.Home.noComponentName":"Please Enter Component Name.",
"web.ComponentBuiilder.Home.didNotSeletBlock":"Please choose a block before generate.",
"web.ComponentBuiilder.Home.generateSuccess":"Generate component successfully.",
"web.ComponentBuiilder.Home.inputComponentName":"1. Enter Component Name.",
"web.ComponentBuiilder.Home.inputComponentNamePlaceHolder":"Component name must start with [A-Z] and only contains letters and numbers. Special characters are not allowed.",
"web.ComponentBuiilder.Home.selectBlock":"2. Choose A Block",
"web.ComponentBuiilder.Home.generate":"Generate Component"
"web.ComponentBuiilder.Home.getMaterialError": "Fail to obtain materials. Please try again later.",
"web.ComponentBuiilder.Home.getDataError": "Fail to obtain material data. Please try again later.",
"web.ComponentBuiilder.Home.noComponentName": "Please Enter Component Name.",
"web.ComponentBuiilder.Home.didNotSeletBlock": "Please choose a block before generate.",
"web.ComponentBuiilder.Home.generateSuccess": "Generate component successfully.",
"web.ComponentBuiilder.Home.inputComponentName": "1. Enter Component Name.",
"web.ComponentBuiilder.Home.inputComponentNamePlaceHolder": "Component name must start with [A-Z] and only contains letters and numbers. Special characters are not allowed.",
"web.ComponentBuiilder.Home.selectBlock": "2. Choose A Block",
"web.ComponentBuiilder.Home.generate": "Generate Component"
}
18 changes: 9 additions & 9 deletions extensions/iceworks-component-builder/web/src/locales/zh-CN.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"web.ComponentBuiilder.Home.getMaterialError":"获取物料源信息失败,请稍后再试。",
"web.ComponentBuiilder.Home.getDataError":"获取物料集合信息失败,请稍后再试。",
"web.ComponentBuiilder.Home.noComponentName":"请填写组件名。",
"web.ComponentBuiilder.Home.didNotSeletBlock":"请选择使用的区块。",
"web.ComponentBuiilder.Home.generateSuccess":"组件生成成功!",
"web.ComponentBuiilder.Home.inputComponentName":"1. 填写组件名:",
"web.ComponentBuiilder.Home.inputComponentNamePlaceHolder":"名称必须英文字母 A-Z 开头,只包含英文和数字,不允许有特殊字符",
"web.ComponentBuiilder.Home.selectBlock":"2. 选择使用的区块:",
"web.ComponentBuiilder.Home.generate":"生成组件"
"web.ComponentBuiilder.Home.getMaterialError": "获取物料源信息失败,请稍后再试。",
"web.ComponentBuiilder.Home.getDataError": "获取物料集合信息失败,请稍后再试。",
"web.ComponentBuiilder.Home.noComponentName": "请填写组件名。",
"web.ComponentBuiilder.Home.didNotSeletBlock": "请选择使用的区块。",
"web.ComponentBuiilder.Home.generateSuccess": "组件生成成功!",
"web.ComponentBuiilder.Home.inputComponentName": "1. 填写组件名:",
"web.ComponentBuiilder.Home.inputComponentNamePlaceHolder": "名称必须英文字母 A-Z 开头,只包含英文和数字,不允许有特殊字符",
"web.ComponentBuiilder.Home.selectBlock": "2. 选择使用的区块:",
"web.ComponentBuiilder.Home.generate": "生成组件"
}
Loading