Skip to content

Commit 9b92eb0

Browse files
authored
Merge pull request #203 from yuchenyao/dev-0.9.0
fix i18n json
2 parents 67c4446 + 44be341 commit 9b92eb0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

web/src/commonData/i18n/common/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"project": {
2323
"projectName": "Project Name",
2424
"gotoScriptis": "Visit Scriptis",
25-
"createproject": "Create Project",
25+
"createProject": "Create Project",
2626
"editorProject": "Edit Project",
2727
"search": "Search Project",
2828
"deleteProject": "Delete Project",
@@ -134,7 +134,7 @@
134134
"workflow": {
135135
"infoHeader": "Welcome to Workflow!",
136136
"workflow": "Workflow",
137-
"createworkflow": "Create workflow",
137+
"createWorkflow": "Create workflow",
138138
"gotoVisualis": "Enter Visualis",
139139
"publishProject": "Publish project",
140140
"searchWorkflow": "Search for workflow",

web/src/commonData/i18n/common/zh.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"project": {
2424
"projectName": "工程名",
2525
"gotoScriptis": "进入Scriptis",
26-
"createproject": "创建工程",
26+
"createProject": "创建工程",
2727
"editorProject": "修改工程",
2828
"search": "搜索工程",
2929
"deleteProject": "删除工程",
@@ -134,7 +134,7 @@
134134
"workflow": {
135135
"infoHeader": "欢迎来到工作流!",
136136
"workflow": "工作流",
137-
"createworkflow": "创建工作流",
137+
"createWorkflow": "创建工作流",
138138
"gotoVisualis": "进入Visualis",
139139
"publishProject": "发布工程",
140140
"searchWorkflow": "搜索工作流",

web/src/js/component/workflowContentItem/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class="icon-blod"
1616
size="60"
1717
></Icon>
18-
<span>{{$t(`message.${source}.create${source}`)}}</span>
18+
<span>{{$t(`message.${source}`)}}</span>
1919
</div>
2020
</i-col>
2121
<i-col

web/src/js/module/project/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
:data-list="item.dssProjectList"
1616
:current-data="item"
1717
:precent-list="precentList"
18-
source="project"
18+
source="project.createProject"
1919
tag-prop="business"
2020
@goto="gotoWorkflow"
2121
@add="addProject"
@@ -220,7 +220,7 @@ export default {
220220
this.loading = true;
221221
if (this.actionType === 'add') {
222222
api.fetch('/dss/addProject', projectData, 'post').then(() => {
223-
this.$Message.success(`${this.$t('message.project.createproject')}${this.$t('message.newConst.success')}`);
223+
this.$Message.success(`${this.$t('message.project.createProject')}${this.$t('message.newConst.success')}`);
224224
this.getclassListData().then((data) => {
225225
// 新建完工程进到工作流页
226226
const currentProject = data[0].dssProjectList.filter((project) => project.name === projectData.name)[0];

web/src/js/module/workflow/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
:current-data="item"
1717
:data-list="item.dssFlowList"
1818
:readonly="myReadonly"
19-
source="workflow"
19+
source="workflow.createWorkflow"
2020
tag-prop="uses"
2121
@add="addProject"
2222
@goto="gotoWorkflow"

0 commit comments

Comments
 (0)