refactor: 调整i18n文本目录结构
- 目录调整: i18n文本由单文件改为多文件 - 组件修改: 对应组件内的文本key做出对应修改 - WIP: 其他语言适配逐步完成...
This commit is contained in:
26
src/locale/zh/common.json
Normal file
26
src/locale/zh/common.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"app-title": "纸管生产辅助计算工具",
|
||||
"parameters": "参数",
|
||||
"reset": "重置",
|
||||
"results": "结果",
|
||||
"about": "关于",
|
||||
"calculator": "计算工具",
|
||||
"company-name": "浙江金申机械制造有限公司",
|
||||
"app-description": "纸管生产辅助计算工具,提供纸管重量、尺寸、角度等多种参数的计算。",
|
||||
"all-rights-reserved": "版权所有",
|
||||
"close": "关闭",
|
||||
"official-website": "官方网站",
|
||||
"loading": "加载中",
|
||||
"calculate-parameters": "计算参数",
|
||||
"expand-to-show-calculate-parameters": "展开以显示计算参数",
|
||||
"navigation": {
|
||||
"paper-tube-weight-calculate": "纸管重量计算",
|
||||
"belt-specification-calculate": "皮带规格计算",
|
||||
"paper-roll-weight-length-calculate": "纸卷重量长度计算",
|
||||
"paper-tube-production-calculate": "纸管产能计算",
|
||||
"paper-tape-width-angle-calculate": "纸带宽度角度计算",
|
||||
"multi-layer-paper-tape-width-angle-calculate": "多层纸带宽度角度计算",
|
||||
"three-layer-paper-straw-calculate": "三层纸吸管计算",
|
||||
"four-layer-paper-straw-calculate": "四层纸吸管计算"
|
||||
}
|
||||
}
|
||||
9
src/locale/zh/index.ts
Normal file
9
src/locale/zh/index.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import common from './common.json'
|
||||
import page from './page'
|
||||
import units from './units.json'
|
||||
|
||||
export default {
|
||||
common,
|
||||
units,
|
||||
page,
|
||||
}
|
||||
23
src/locale/zh/page/belt-specification.json
Normal file
23
src/locale/zh/page/belt-specification.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"title": "皮带规格计算",
|
||||
"parameters": {
|
||||
"machine-model": "机器型号",
|
||||
"max-wheelbase": "最大轮距",
|
||||
"hub-diameter": "轮毂直径",
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-tube-wall-thickness": "纸管壁厚"
|
||||
},
|
||||
"results": {
|
||||
"recommend-belt-thickness": "推荐皮带厚度",
|
||||
"recommend-belt-width": "推荐皮带宽度",
|
||||
"recommend-belt-length": "推荐皮带长度"
|
||||
},
|
||||
"machine-model": {
|
||||
"50_120-series": "50、120系列",
|
||||
"200-series": "200系列",
|
||||
"600-series": "600系列",
|
||||
"PT23-120-series": "PT23-120系列",
|
||||
"PT23-200-series": "PT23-200系列",
|
||||
"custom": "自定义"
|
||||
}
|
||||
}
|
||||
40
src/locale/zh/page/four-layer-paper-straw.json
Normal file
40
src/locale/zh/page/four-layer-paper-straw.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"title": "四层纸吸管计算",
|
||||
"parameters": {
|
||||
"preset-specification": "预设规格",
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"bottom-paper-width": "底纸宽度",
|
||||
"bottom-paper-thickness": "底层纸厚度",
|
||||
"second-layer-paper-thickness": "第二层纸厚度",
|
||||
"third-layer-paper-thickness": "第三层纸厚度",
|
||||
"top-paper-thickness": "顶层纸厚度"
|
||||
},
|
||||
"results": {
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-tube-external-diameter": "纸管外径",
|
||||
"paper-tube-wall-thickness": "纸管壁厚",
|
||||
"leading-length": "导程",
|
||||
"bottom-paper-angle": "底层纸角度",
|
||||
"bottom-paper-width": "底层纸宽度",
|
||||
"second-layer-paper-width": "第二层纸宽度",
|
||||
"third-layer-paper-width": "第三层纸宽度",
|
||||
"top-paper-width": "顶层纸宽度",
|
||||
"belt-width": "皮带宽度"
|
||||
},
|
||||
"section": {
|
||||
"paper-straw-specification": "纸吸管规格",
|
||||
"production-parameters": "生产参数"
|
||||
},
|
||||
"preset-specification": {
|
||||
"inner_3_3-outer_4_0": "内径3.3mm,外径4.0mm",
|
||||
"inner_3_8-outer_4_5": "内径3.8mm,外径4.5mm",
|
||||
"inner_4_3-outer_5_0": "内径4.3mm,外径5.0mm",
|
||||
"inner_5_3-outer_6_0": "内径5.3mm,外径6.0mm",
|
||||
"inner_6_3-outer_7_0": "内径6.3mm,外径7.0mm",
|
||||
"inner_7_3-outer_8_0": "内径7.3mm,外径8.0mm",
|
||||
"inner_8_3-outer_9_0": "内径8.3mm,外径9.0mm",
|
||||
"inner_9_3-outer_10_0": "内径9.3mm,外径10.0mm",
|
||||
"inner_11_3-outer_12_0": "内径11.3mm,外径12.0mm",
|
||||
"custom": "自定义"
|
||||
}
|
||||
}
|
||||
19
src/locale/zh/page/index.ts
Normal file
19
src/locale/zh/page/index.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import beltSpecification from './belt-specification.json'
|
||||
import fourLayerPaperStraw from './four-layer-paper-straw.json'
|
||||
import multiLayerPaperTapeWidthAngle from './multi-layer-paper-tape-width-angle.json'
|
||||
import paperRollWeightLength from './paper-roll-weight-length.json'
|
||||
import paperTapeWidthAngle from './paper-tape-width-angle.json'
|
||||
import paperTubeProduction from './paper-tube-production.json'
|
||||
import paperTubeWeight from './paper-tube-weight.json'
|
||||
import threeLayerPaperStraw from './three-layer-paper-straw.json'
|
||||
|
||||
export default {
|
||||
'paper-tube-weight': paperTubeWeight,
|
||||
'belt-specification': beltSpecification,
|
||||
'paper-roll-weight-length': paperRollWeightLength,
|
||||
'paper-tube-production': paperTubeProduction,
|
||||
'paper-tape-width-angle': paperTapeWidthAngle,
|
||||
'multi-layer-paper-tape-width-angle': multiLayerPaperTapeWidthAngle,
|
||||
'three-layer-paper-straw': threeLayerPaperStraw,
|
||||
'four-layer-paper-straw': fourLayerPaperStraw,
|
||||
}
|
||||
32
src/locale/zh/page/multi-layer-paper-tape-width-angle.json
Normal file
32
src/locale/zh/page/multi-layer-paper-tape-width-angle.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"title": "多层纸带宽度角度计算",
|
||||
"parameters": {
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"bottom-paper-width": "底纸宽度",
|
||||
"paper-grammage": "纸张克重",
|
||||
"paper-density": "纸张密度"
|
||||
},
|
||||
"operation": {
|
||||
"remove": "移除",
|
||||
"add": "新增",
|
||||
"clear": "清空",
|
||||
"save": "保存"
|
||||
},
|
||||
"header": {
|
||||
"layer": "层数",
|
||||
"paper-grammage": "纸张克重",
|
||||
"cumulative-thickness": "累计厚度",
|
||||
"angle": "角度",
|
||||
"paper-tape-width": "纸带宽度"
|
||||
},
|
||||
"export": {
|
||||
"reference": "参考区间",
|
||||
"minimum": "最小值",
|
||||
"maximum": "最大值",
|
||||
"calculated-value": "计算值",
|
||||
"fit": "符合",
|
||||
"not-fit": "不符合",
|
||||
"filename": "多层纸带宽度角度计算",
|
||||
"sheet-name": "多层纸带宽度角度"
|
||||
}
|
||||
}
|
||||
15
src/locale/zh/page/paper-roll-weight-length.json
Normal file
15
src/locale/zh/page/paper-roll-weight-length.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"title": "纸卷重量长度计算",
|
||||
"parameters": {
|
||||
"paper-core-diameter": "纸芯内径",
|
||||
"paper-roll-external-diameter": "纸卷外径",
|
||||
"paper-roll-width": "纸卷宽度",
|
||||
"paper-density": "纸张密度",
|
||||
"paper-grammage": "纸张克重"
|
||||
},
|
||||
"results": {
|
||||
"paper-roll-weight": "纸卷重量",
|
||||
"paper-roll-length": "纸卷长度",
|
||||
"paper-thickness": "纸张厚度"
|
||||
}
|
||||
}
|
||||
14
src/locale/zh/page/paper-tape-width-angle.json
Normal file
14
src/locale/zh/page/paper-tape-width-angle.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"title": "纸带宽度角度计算",
|
||||
"parameters": {
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-tube-wall-thickness": "纸管壁厚",
|
||||
"inner-paper-width": "里纸宽度"
|
||||
},
|
||||
"results": {
|
||||
"belt-angle": "皮带角度",
|
||||
"paper-holder-angle": "纸架角度",
|
||||
"leading-length": "导程",
|
||||
"paper-tape-width": "纸带宽度"
|
||||
}
|
||||
}
|
||||
21
src/locale/zh/page/paper-tube-production.json
Normal file
21
src/locale/zh/page/paper-tube-production.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"title": "纸管产能计算",
|
||||
"parameters": {
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-tube-wall-thickness": "纸管壁厚",
|
||||
"paper-tube-length": "纸管长度",
|
||||
"paper-density": "纸张密度",
|
||||
"inner-paper-width": "里纸宽度",
|
||||
"work-frequency": "工作频率",
|
||||
"work-time": "工作时间",
|
||||
"work-efficiency": "工作效率"
|
||||
},
|
||||
"results": {
|
||||
"feed-paper-speed": "进纸速度",
|
||||
"output-speed": "出管速度",
|
||||
"production-amount-per-hour": "每小时产量",
|
||||
"production-amount-per-day": "每日产量",
|
||||
"production-weight-per-hour": "每小时产量(重量)",
|
||||
"production-weight-per-day": "每日产量(重量)"
|
||||
}
|
||||
}
|
||||
14
src/locale/zh/page/paper-tube-weight.json
Normal file
14
src/locale/zh/page/paper-tube-weight.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"title": "纸管重量计算",
|
||||
"parameters": {
|
||||
"paper-roll-length": "纸卷长度",
|
||||
"paper-density": "纸张密度",
|
||||
"production-amount": "生产数量",
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-roll-wall-thickness": "纸卷壁厚"
|
||||
},
|
||||
"results": {
|
||||
"single-paper-tube-weight": "单个纸管重量",
|
||||
"total-paper-tube-weight": "总纸管重量"
|
||||
}
|
||||
}
|
||||
38
src/locale/zh/page/three-layer-paper-straw.json
Normal file
38
src/locale/zh/page/three-layer-paper-straw.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"title": "三层纸吸管计算",
|
||||
"parameters": {
|
||||
"preset-specification": "预设规格",
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"bottom-paper-width": "底纸宽度",
|
||||
"bottom-paper-thickness": "底层纸厚度",
|
||||
"middle-paper-thickness": "中层纸厚度",
|
||||
"top-paper-thickness": "顶层纸厚度"
|
||||
},
|
||||
"results": {
|
||||
"paper-tube-inner-diameter": "纸管内径",
|
||||
"paper-tube-external-diameter": "纸管外径",
|
||||
"paper-tube-wall-thickness": "纸管壁厚",
|
||||
"leading-length": "导程",
|
||||
"bottom-paper-angle": "底层纸角度",
|
||||
"bottom-paper-width": "底层纸宽度",
|
||||
"middle-paper-width": "中层纸宽度",
|
||||
"top-paper-width": "顶层纸宽度",
|
||||
"belt-width": "皮带宽度"
|
||||
},
|
||||
"section": {
|
||||
"paper-straw-specification": "纸吸管规格",
|
||||
"production-parameters": "生产参数"
|
||||
},
|
||||
"preset-specification": {
|
||||
"inner_3_3-outer_4_0": "内径3.3mm,外径4.0mm",
|
||||
"inner_3_8-outer_4_5": "内径3.8mm,外径4.5mm",
|
||||
"inner_4_3-outer_5_0": "内径4.3mm,外径5.0mm",
|
||||
"inner_5_3-outer_6_0": "内径5.3mm,外径6.0mm",
|
||||
"inner_6_3-outer_7_0": "内径6.3mm,外径7.0mm",
|
||||
"inner_7_3-outer_8_0": "内径7.3mm,外径8.0mm",
|
||||
"inner_8_3-outer_9_0": "内径8.3mm,外径9.0mm",
|
||||
"inner_9_3-outer_10_0": "内径9.3mm,外径10.0mm",
|
||||
"inner_11_3-outer_12_0": "内径11.3mm,外径12.0mm",
|
||||
"custom": "自定义"
|
||||
}
|
||||
}
|
||||
17
src/locale/zh/units.json
Normal file
17
src/locale/zh/units.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"mm": "mm",
|
||||
"m": "m",
|
||||
"g_per_cm3": "g/cm³",
|
||||
"pcs": "支",
|
||||
"kg": "kg",
|
||||
"g_per_m2": "g/m²",
|
||||
"hz": "Hz",
|
||||
"hour": "小时",
|
||||
"percent": "%",
|
||||
"m_per_min": "m/min",
|
||||
"kg_per_hour": "kg/h",
|
||||
"pcs_per_hour": "pcs/h",
|
||||
"kg_per_day": "kg/d",
|
||||
"pcs_per_day": "pcs/d",
|
||||
"degree": "°"
|
||||
}
|
||||
100
src/locale/zh/zh.jsonc
Normal file
100
src/locale/zh/zh.jsonc
Normal file
@ -0,0 +1,100 @@
|
||||
{
|
||||
"beltSpecificationCalculate": "皮带规格计算",
|
||||
"multiLayerPaperTapeWidthAngleCalculate": "多层纸带宽度角度计算",
|
||||
"paperCoreDiameter": "纸芯内径",
|
||||
"paperTubeInnerDiameter": "纸管内径",
|
||||
"paperDensity": "纸张密度",
|
||||
"paperGrammage": "纸张克重",
|
||||
"paperRollExternalDiameter": "纸卷外径",
|
||||
"paperRollLength": "纸卷长度",
|
||||
"paperRollWallThickness": "纸卷壁厚",
|
||||
"paperRollWeightLengthCalculate": "纸卷重量长度计算",
|
||||
"paperTapeWidthAngleCalculate": "纸带宽度角度计算",
|
||||
"paperTubeProductionCalculate": "纸管产能计算",
|
||||
"paperTubeWeightCalculate": "纸管重量计算",
|
||||
"3LayerPaperStrawCalculate": "三层纸吸管计算",
|
||||
"4LayerPaperStrawCalculate": "四层纸吸管计算",
|
||||
|
||||
"productionAmount": "生产数量",
|
||||
|
||||
"singlePaperTubeWeight": "单个纸管重量",
|
||||
"totalPaperTubeWeight": "总纸管重量",
|
||||
"paperRollWidth": "纸卷宽度",
|
||||
"paperThickness": "纸张厚度",
|
||||
"paperLength": "纸卷长度",
|
||||
"paperRollWeight": "纸卷重量",
|
||||
"innerPaperWidth": "里纸宽度",
|
||||
"workFrequency": "工作频率",
|
||||
"workTime": "工作时间",
|
||||
"workEfficiency": "工作效率",
|
||||
"feedPaperSpeed": "进纸速度",
|
||||
"outputSpeed": "出管速度",
|
||||
"productionAmountPerHour": "每小时产量",
|
||||
"productionWeightPerHour": "每小时产量",
|
||||
"productionAmountPerDay": "每天产量",
|
||||
"productionWeightPerDay": "每天产量",
|
||||
"beltAngle": "皮带角度",
|
||||
"paperHolderAngle": "纸架角度",
|
||||
"leadingLength": "导程",
|
||||
"paperWidth": "面纸宽度",
|
||||
"machineModel": "机器型号",
|
||||
"maxWheelbase": "最大轮距",
|
||||
"hubDiameter": "轮毂直径",
|
||||
"50_120Series": "50、120系列",
|
||||
"200_Series": "200系列",
|
||||
"600_Series": "600系列",
|
||||
"PT23-120_Series": "PT23-120系列",
|
||||
"PT23-200_Series": "PT23-200系列",
|
||||
"custom": "自定义",
|
||||
"recommendBeltThickness": "推荐皮带厚度",
|
||||
"recommendBeltWidth": "推荐皮带宽度",
|
||||
"recommendBeltLength": "推荐皮带长度",
|
||||
"bottomPaperWidth": "底纸宽度",
|
||||
"save": "保存",
|
||||
"clear": "清空",
|
||||
"remove": "移除",
|
||||
"add": "新增",
|
||||
"layer": "层数",
|
||||
"angle": "角度",
|
||||
"cumulativeThickness": "累计厚度",
|
||||
"reference": "参考区间",
|
||||
"minimum": "最小值",
|
||||
"maximum": "最大值",
|
||||
"calculatedValue": "计算值",
|
||||
"fit": "符合",
|
||||
"notFit": "不符合",
|
||||
"multiLayerExcelOutputFile": "多层纸带宽度角度计算",
|
||||
"paperTapeWidth": "纸带宽度",
|
||||
"presetSpecifications": "预设规格",
|
||||
"bottomPaperThickness": "底层纸厚度",
|
||||
"middlePaperThickness": "中层纸厚度",
|
||||
"secondLayerPaperThickness": "第二层纸厚度",
|
||||
"thirdLayerPaperThickness": "第三层纸厚度",
|
||||
"topPaperThickness": "顶层纸厚度",
|
||||
"paperStrawResult": {
|
||||
"paperTubeInnerDiameter": "纸管内径",
|
||||
"paperTubeExternalDiameter": "纸管外径",
|
||||
"paperTubeThickness": "纸管壁厚",
|
||||
"bottomPaperAngle": "底层纸角度",
|
||||
"leadingLength": "导程",
|
||||
"bottomPaperWidth": "底层纸宽度",
|
||||
"middlePaperWidth": "中层纸宽度",
|
||||
"secondLayerPaperWidth": "第二层纸宽度",
|
||||
"thirdLayerPaperWidth": "第三层纸宽度",
|
||||
"topPaperWidth": "顶层纸宽度",
|
||||
"beltWidth": "皮带宽度"
|
||||
},
|
||||
"presetSpecification": {
|
||||
"inner_3_3_outer_4_0": "内径3.3mm,外径4.0mm",
|
||||
"inner_3_8_outer_4_5": "内径3.8mm,外径4.5mm",
|
||||
"inner_4_3_outer_5_0": "内径4.3mm,外径5.0mm",
|
||||
"inner_5_3_outer_6_0": "内径5.3mm,外径6.0mm",
|
||||
"inner_6_3_outer_7_0": "内径6.3mm,外径7.0mm",
|
||||
"inner_7_3_outer_8_0": "内径7.3mm,外径8.0mm",
|
||||
"inner_8_3_outer_9_0": "内径8.3mm,外径9.0mm",
|
||||
"inner_9_3_outer_10_0": "内径9.3mm,外径10.0mm",
|
||||
"inner_11_3_outer_12_0": "内径11.3mm,外径12.0mm"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user