Squashed commit of the following:
commit38d10d7151Author: R2m1liA <15258427350@163.com> Date: Sat Jul 19 11:34:11 2025 +0800 Feature: 添加俄语、西班牙语支持 & 添加单位国际化 commit25d4dc7a7fAuthor: R2m1liA <15258427350@163.com> Date: Fri Jul 18 11:42:21 2025 +0800 Fix: 修正导航栏动画 & 移除无用代码 commite9d254c4e7Author: R2m1liA <15258427350@163.com> Date: Fri Jul 18 11:37:40 2025 +0800 Fix: 修改部分文本表述 commitc85afc9bdeAuthor: R2m1liA <15258427350@163.com> Date: Fri Jul 18 11:36:08 2025 +0800 Feature: 添加更多语言支持
This commit is contained in:
@ -124,8 +124,8 @@
|
|||||||
t('50_120Series'),
|
t('50_120Series'),
|
||||||
t('200_Series'),
|
t('200_Series'),
|
||||||
t('600_Series'),
|
t('600_Series'),
|
||||||
t('new_120Series'),
|
t('PT23-120_Series'),
|
||||||
t('new_200_Series'),
|
t('PT23-200_Series'),
|
||||||
t('custom'),
|
t('custom'),
|
||||||
])
|
])
|
||||||
|
|
||||||
@ -199,11 +199,11 @@
|
|||||||
maxWheelbase: 1675,
|
maxWheelbase: 1675,
|
||||||
hubDiameter: 320,
|
hubDiameter: 320,
|
||||||
},
|
},
|
||||||
[t('new_120Series')]: {
|
[t('PT23-120_Series')]: {
|
||||||
maxWheelbase: 900,
|
maxWheelbase: 900,
|
||||||
hubDiameter: 240,
|
hubDiameter: 240,
|
||||||
},
|
},
|
||||||
[t('new_200_Series')]: {
|
[t('PT23-200_Series')]: {
|
||||||
maxWheelbase: 1100,
|
maxWheelbase: 1100,
|
||||||
hubDiameter: 268,
|
hubDiameter: 268,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -27,26 +27,26 @@
|
|||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperCoreDiameter"
|
v-model="paperCoreDiameter"
|
||||||
:disabled="recordList.length > 0"
|
:disabled="recordList.length > 0"
|
||||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
:label="$t('paperCoreDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="bottomPaperWidth"
|
v-model="bottomPaperWidth"
|
||||||
:disabled="recordList.length > 0"
|
:disabled="recordList.length > 0"
|
||||||
:label="`${$t('bottomPaperWidth')} (${bottomPaperWidth.unit})`"
|
:label="$t('bottomPaperWidth')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperGrammage"
|
v-model="paperGrammage"
|
||||||
:label="`${$t('paperGrammage')} (${paperGrammage.unit})`"
|
:label="$t('paperGrammage')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperDensity"
|
v-model="paperDensity"
|
||||||
:label="`${$t('paperDensity')} (${paperDensity.unit})`"
|
:label="$t('paperDensity')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -143,10 +143,10 @@
|
|||||||
<transition-group name="fade" tag="tbody">
|
<transition-group name="fade" tag="tbody">
|
||||||
<tr v-for="(record, index) in recordList" :key="index" class="table-row-item">
|
<tr v-for="(record, index) in recordList" :key="index" class="table-row-item">
|
||||||
<td>{{ record.layer }}</td>
|
<td>{{ record.layer }}</td>
|
||||||
<td>{{ record.grammage.value }} {{ record.grammage.unit }}</td>
|
<td>{{ record.grammage.value }} {{ $t(`units.${record.grammage.unit}`) }}</td>
|
||||||
<td>{{ record.cumulativeThickness.value.toFixed(2) }} {{ record.cumulativeThickness.unit }}</td>
|
<td>{{ record.cumulativeThickness.value.toFixed(2) }} {{ $t(`units.${record.cumulativeThickness.unit}`) }}</td>
|
||||||
<td>{{ record.angle.value.toFixed(2) }} {{ record.angle.unit }}</td>
|
<td>{{ record.angle.value.toFixed(2) }} {{ $t(`units.${record.angle.unit}`) }}</td>
|
||||||
<td>{{ record.paperWidth.value.toFixed(2) }} {{ record.paperWidth.unit }}</td>
|
<td>{{ record.paperWidth.value.toFixed(2) }} {{ $t(`units.${record.paperWidth.unit}`) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</transition-group>
|
</transition-group>
|
||||||
</v-table>
|
</v-table>
|
||||||
@ -176,8 +176,8 @@
|
|||||||
|
|
||||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||||
const bottomPaperWidth = ref<Param>(createParam(100, 'mm'))
|
const bottomPaperWidth = ref<Param>(createParam(100, 'mm'))
|
||||||
const paperGrammage = ref<Param>(createParam(420, 'g/m²'))
|
const paperGrammage = ref<Param>(createParam(420, 'g_per_m2'))
|
||||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||||
|
|
||||||
const recordList = ref<LayerRecord[]>([])
|
const recordList = ref<LayerRecord[]>([])
|
||||||
|
|
||||||
@ -195,7 +195,7 @@
|
|||||||
layer: recordList.value.length + 1,
|
layer: recordList.value.length + 1,
|
||||||
grammage: paperGrammage.value,
|
grammage: paperGrammage.value,
|
||||||
cumulativeThickness: createParam(paperTotalThickness + paperRollWallThickness, 'mm'),
|
cumulativeThickness: createParam(paperTotalThickness + paperRollWallThickness, 'mm'),
|
||||||
angle: createParam(beltAngle, '°'),
|
angle: createParam(beltAngle, 'degree'),
|
||||||
paperWidth: createParam(paperWidth, 'mm'),
|
paperWidth: createParam(paperWidth, 'mm'),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -338,13 +338,13 @@
|
|||||||
// 添加Results表头列名
|
// 添加Results表头列名
|
||||||
worksheet.getCell('A8').value = t('layer')
|
worksheet.getCell('A8').value = t('layer')
|
||||||
worksheet.getCell('A8').style = parameterStyle
|
worksheet.getCell('A8').style = parameterStyle
|
||||||
worksheet.getCell('B8').value = t('paperGrammage') + ` (${recordList.value[0].grammage.unit})`
|
worksheet.getCell('B8').value = t('paperGrammage') + ` (${t(`units.${recordList.value[0].grammage.unit}`)})`
|
||||||
worksheet.getCell('B8').style = parameterStyle
|
worksheet.getCell('B8').style = parameterStyle
|
||||||
worksheet.getCell('C8').value = t('cumulativeThickness') + ` (${recordList.value[0].cumulativeThickness.unit})`
|
worksheet.getCell('C8').value = t('cumulativeThickness') + ` (${t(`units.${recordList.value[0].cumulativeThickness.unit}`)})`
|
||||||
worksheet.getCell('C8').style = parameterStyle
|
worksheet.getCell('C8').style = parameterStyle
|
||||||
worksheet.getCell('D8').value = t('angle') + ` (${recordList.value[0].angle.unit})`
|
worksheet.getCell('D8').value = t('angle') + ` (${t(`units.${recordList.value[0].angle.unit}`)})`
|
||||||
worksheet.getCell('D8').style = parameterStyle
|
worksheet.getCell('D8').style = parameterStyle
|
||||||
worksheet.getCell('E8').value = t('paperWidth') + ` (${recordList.value[0].paperWidth.unit})`
|
worksheet.getCell('E8').value = t('paperWidth') + ` (${t(`units.${recordList.value[0].paperWidth.unit}`)})`
|
||||||
worksheet.getCell('E8').style = parameterStyle
|
worksheet.getCell('E8').style = parameterStyle
|
||||||
|
|
||||||
// 添加Results数据
|
// 添加Results数据
|
||||||
@ -420,7 +420,7 @@
|
|||||||
worksheet.mergeCells('F5:H6')
|
worksheet.mergeCells('F5:H6')
|
||||||
|
|
||||||
// 自动调整列宽
|
// 自动调整列宽
|
||||||
for (const [index, column] of worksheet.columns.entries()) {
|
for (const [_index, column] of worksheet.columns.entries()) {
|
||||||
let maxLength = 0
|
let maxLength = 0
|
||||||
|
|
||||||
if (column && typeof column.eachCell === 'function') {
|
if (column && typeof column.eachCell === 'function') {
|
||||||
|
|||||||
@ -28,31 +28,31 @@
|
|||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperCoreDiameter"
|
v-model="paperCoreDiameter"
|
||||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
:label="$t('paperCoreDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollExternalDiameter"
|
v-model="paperRollExternalDiameter"
|
||||||
:label="`${$t('paperRollExternalDiameter')} (${paperRollExternalDiameter.unit})`"
|
:label="$t('paperRollExternalDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollWidth"
|
v-model="paperRollWidth"
|
||||||
:label="`${$t('paperRollWidth')} (${paperRollWidth.unit})`"
|
:label="$t('paperRollWidth')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperDensity"
|
v-model="paperDensity"
|
||||||
:label="`${$t('paperDensity')} (${paperDensity.unit})`"
|
:label="$t('paperDensity')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperGrammage"
|
v-model="paperGrammage"
|
||||||
:label="`${$t('paperGrammage')} (${paperGrammage.unit})`"
|
:label="$t('paperGrammage')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -126,8 +126,8 @@
|
|||||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||||
const paperRollExternalDiameter = ref<Param>(createParam(200, 'mm'))
|
const paperRollExternalDiameter = ref<Param>(createParam(200, 'mm'))
|
||||||
const paperRollWidth = ref<Param>(createParam(100, 'mm'))
|
const paperRollWidth = ref<Param>(createParam(100, 'mm'))
|
||||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||||
const paperGrammage = ref<Param>(createParam(420, 'g/m²'))
|
const paperGrammage = ref<Param>(createParam(420, 'g_per_m2'))
|
||||||
|
|
||||||
const result = computed(() => {
|
const result = computed(() => {
|
||||||
const paperRollExternalRadius = paperRollExternalDiameter.value.value / 2
|
const paperRollExternalRadius = paperRollExternalDiameter.value.value / 2
|
||||||
@ -147,8 +147,8 @@
|
|||||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||||
paperRollExternalDiameter.value = createParam(200, 'mm')
|
paperRollExternalDiameter.value = createParam(200, 'mm')
|
||||||
paperRollWidth.value = createParam(100, 'mm')
|
paperRollWidth.value = createParam(100, 'mm')
|
||||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
paperDensity.value = createParam(0.76, 'g_per_cm3')
|
||||||
paperGrammage.value = createParam(420, 'g/m²')
|
paperGrammage.value = createParam(420, 'g_per_m2')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -26,19 +26,19 @@
|
|||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperCoreDiameter"
|
v-model="paperCoreDiameter"
|
||||||
:label="`${$t('paperCoreDiameter')} (${paperCoreDiameter.unit})`"
|
:label="$t('paperCoreDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollWallThickness"
|
v-model="paperRollWallThickness"
|
||||||
:label="`${$t('paperRollWallThickness')} (${paperRollWallThickness.unit})`"
|
:label="$t('paperRollWallThickness')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="innerPaperWidth"
|
v-model="innerPaperWidth"
|
||||||
:label="`${$t('innerPaperWidth')} (${innerPaperWidth.unit})`"
|
:label="$t('innerPaperWidth')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -106,8 +106,8 @@
|
|||||||
const paperWidth = leadingLength * Math.sin(Math.atan(paperRollExternalDiameter * Math.PI / leadingLength))
|
const paperWidth = leadingLength * Math.sin(Math.atan(paperRollExternalDiameter * Math.PI / leadingLength))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
beltAngle: createParam(beltAngle, '°'),
|
beltAngle: createParam(beltAngle, 'degree'),
|
||||||
paperHolderAngle: createParam(paperHolderAngle, '°'),
|
paperHolderAngle: createParam(paperHolderAngle, 'degree'),
|
||||||
leadingLength: createParam(leadingLength, 'mm'),
|
leadingLength: createParam(leadingLength, 'mm'),
|
||||||
paperWidth: createParam(paperWidth, 'mm'),
|
paperWidth: createParam(paperWidth, 'mm'),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,49 +26,49 @@
|
|||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperCoreDiameter"
|
v-model="paperCoreDiameter"
|
||||||
:label="`${$t('paperCoreDiameter')}(${paperCoreDiameter.unit})`"
|
:label="$t('paperCoreDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollWallThickness"
|
v-model="paperRollWallThickness"
|
||||||
:label="`${$t('paperRollWallThickness')}(${paperRollWallThickness.unit})`"
|
:label="$t('paperRollWallThickness')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollLength"
|
v-model="paperRollLength"
|
||||||
:label="`${$t('paperRollLength')}(${paperRollLength.unit})`"
|
:label="$t('paperRollLength')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperDensity"
|
v-model="paperDensity"
|
||||||
:label="`${$t('paperDensity')}(${paperDensity.unit})`"
|
:label="$t('paperDensity')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="innerPaperWidth"
|
v-model="innerPaperWidth"
|
||||||
:label="`${$t('innerPaperWidth')}(${innerPaperWidth.unit})`"
|
:label="$t('innerPaperWidth')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="workFrequency"
|
v-model="workFrequency"
|
||||||
:label="`${$t('workFrequency')}(${workFrequency.unit})`"
|
:label="$t('workFrequency')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="workTime"
|
v-model="workTime"
|
||||||
:label="`${$t('workTime')}(${workTime.unit})`"
|
:label="$t('workTime')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="workEfficiency"
|
v-model="workEfficiency"
|
||||||
:label="`${$t('workEfficiency')}(${workEfficiency.unit})`"
|
:label="$t('workEfficiency')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -162,11 +162,11 @@
|
|||||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||||
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
||||||
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
||||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||||
const innerPaperWidth = ref<Param>(createParam(105, 'mm'))
|
const innerPaperWidth = ref<Param>(createParam(105, 'mm'))
|
||||||
const workFrequency = ref<Param>(createParam(30, 'Hz'))
|
const workFrequency = ref<Param>(createParam(30, 'hz'))
|
||||||
const workTime = ref<Param>(createParam(8, 'h'))
|
const workTime = ref<Param>(createParam(8, 'hour'))
|
||||||
const workEfficiency = ref<Param>(createParam(85, '%'))
|
const workEfficiency = ref<Param>(createParam(85, 'percent'))
|
||||||
|
|
||||||
const result = computed(() => {
|
const result = computed(() => {
|
||||||
const paperRollExternalDiameter = paperCoreDiameter.value.value + 2 * paperRollWallThickness.value.value
|
const paperRollExternalDiameter = paperCoreDiameter.value.value + 2 * paperRollWallThickness.value.value
|
||||||
@ -181,12 +181,12 @@
|
|||||||
const productionWeightPerDay = productionWeightPerHour * workTime.value.value
|
const productionWeightPerDay = productionWeightPerHour * workTime.value.value
|
||||||
|
|
||||||
return {
|
return {
|
||||||
feedPaperSpeed: createParam(feedPaperSpeed, 'm/min'),
|
feedPaperSpeed: createParam(feedPaperSpeed, 'm_per_min'),
|
||||||
outputSpeed: createParam(outputSpeed, 'm/min'),
|
outputSpeed: createParam(outputSpeed, 'm_per_min'),
|
||||||
productionAmountPerHour: createParam(productionAmountPerHour, '支/h'),
|
productionAmountPerHour: createParam(productionAmountPerHour, 'pcs_per_hour'),
|
||||||
productionWeightPerHour: createParam(productionWeightPerHour, 'kg/h'),
|
productionWeightPerHour: createParam(productionWeightPerHour, 'kg_per_hour'),
|
||||||
productionAmountPerDay: createParam(productionAmountPerDay, '支'),
|
productionAmountPerDay: createParam(productionAmountPerDay, 'pcs_per_day'),
|
||||||
productionWeightPerDay: createParam(productionWeightPerDay, 'kg'),
|
productionWeightPerDay: createParam(productionWeightPerDay, 'kg_per_day'),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -194,11 +194,11 @@
|
|||||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||||
paperRollWallThickness.value = createParam(10, 'mm')
|
paperRollWallThickness.value = createParam(10, 'mm')
|
||||||
paperRollLength.value = createParam(1000, 'mm')
|
paperRollLength.value = createParam(1000, 'mm')
|
||||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
paperDensity.value = createParam(0.76, 'g_per_cm3')
|
||||||
innerPaperWidth.value = createParam(105, 'mm')
|
innerPaperWidth.value = createParam(105, 'mm')
|
||||||
workFrequency.value = createParam(30, 'Hz')
|
workFrequency.value = createParam(30, 'hz')
|
||||||
workTime.value = createParam(8, 'h')
|
workTime.value = createParam(8, 'hour')
|
||||||
workEfficiency.value = createParam(85, '%')
|
workEfficiency.value = createParam(85, 'percent')
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -26,31 +26,31 @@
|
|||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollLength"
|
v-model="paperRollLength"
|
||||||
:label="`${$t('paperRollLength')}(${paperRollLength.unit})`"
|
:label="$t('paperRollLength')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperDensity"
|
v-model="paperDensity"
|
||||||
:label="`${$t('paperDensity')}(${paperDensity.unit})`"
|
:label="$t('paperDensity')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="productionAmount"
|
v-model="productionAmount"
|
||||||
:label="`${$t('productionAmount')}(${productionAmount.unit})`"
|
:label="$t('productionAmount')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperCoreDiameter"
|
v-model="paperCoreDiameter"
|
||||||
:label="`${$t('paperCoreDiameter')}(${paperCoreDiameter.unit})`"
|
:label="$t('paperCoreDiameter')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<param-input-field
|
<param-input-field
|
||||||
v-model="paperRollWallThickness"
|
v-model="paperRollWallThickness"
|
||||||
:label="`${$t('paperRollWallThickness')}(${paperRollWallThickness.unit})`"
|
:label="$t('paperRollWallThickness')"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
@ -118,8 +118,8 @@
|
|||||||
import { createParam, type Param } from '@/types/param'
|
import { createParam, type Param } from '@/types/param'
|
||||||
|
|
||||||
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
const paperRollLength = ref<Param>(createParam(1000, 'mm'))
|
||||||
const paperDensity = ref<Param>(createParam(0.76, 'g/cm³'))
|
const paperDensity = ref<Param>(createParam(0.76, 'g_per_cm3'))
|
||||||
const productionAmount = ref<Param>(createParam(1000, '支'))
|
const productionAmount = ref<Param>(createParam(1000, 'pcs'))
|
||||||
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
const paperCoreDiameter = ref<Param>(createParam(76.2, 'mm'))
|
||||||
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
const paperRollWallThickness = ref<Param>(createParam(10, 'mm'))
|
||||||
|
|
||||||
@ -138,8 +138,8 @@
|
|||||||
|
|
||||||
const resetParameters = () => {
|
const resetParameters = () => {
|
||||||
paperRollLength.value = createParam(1000, 'mm')
|
paperRollLength.value = createParam(1000, 'mm')
|
||||||
paperDensity.value = createParam(0.76, 'g/cm³')
|
paperDensity.value = createParam(0.76, 'gpcm3')
|
||||||
productionAmount.value = createParam(1000, '支')
|
productionAmount.value = createParam(1000, 'pcs')
|
||||||
paperCoreDiameter.value = createParam(76.2, 'mm')
|
paperCoreDiameter.value = createParam(76.2, 'mm')
|
||||||
paperRollWallThickness.value = createParam(10, 'mm')
|
paperRollWallThickness.value = createParam(10, 'mm')
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
hide-details
|
hide-details
|
||||||
hide-spin-buttons
|
hide-spin-buttons
|
||||||
:label="label"
|
:label="label + ' (' + $t(`units.${modelValue.unit}`) + ')'"
|
||||||
:model-value="modelValue.value.toString()"
|
:model-value="modelValue.value.toString()"
|
||||||
:suffix="modelValue.unit"
|
:suffix="$t(`units.${modelValue.unit}`)"
|
||||||
type="number"
|
type="number"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
@update:model-value="handleUpdate"
|
@update:model-value="handleUpdate"
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
size="large"
|
size="large"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
>
|
>
|
||||||
{{ value.value.toFixed(2) }} {{ value.unit }}
|
{{ value.value.toFixed(2) }} {{ $t(`units.${value.unit}`) }}
|
||||||
</v-chip>
|
</v-chip>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|||||||
@ -335,12 +335,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
code: 'ru',
|
code: 'ru',
|
||||||
label: 'Русский(Developing)',
|
label: 'Русский(Experimental)',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: 'sp',
|
||||||
|
label: 'Español(Experimental)',
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// code: 'sp',
|
|
||||||
// label: 'Español',
|
|
||||||
// },
|
|
||||||
]
|
]
|
||||||
const currentLanguage = computed(() => {
|
const currentLanguage = computed(() => {
|
||||||
return availableLanguages.find(lang => lang.code === locale.value) || availableLanguages[0]
|
return availableLanguages.find(lang => lang.code === locale.value) || availableLanguages[0]
|
||||||
@ -350,20 +350,12 @@
|
|||||||
return availableLanguages.findIndex(lang => lang.code === locale.value)
|
return availableLanguages.findIndex(lang => lang.code === locale.value)
|
||||||
})
|
})
|
||||||
|
|
||||||
function changeLanguage (langCode: string) {
|
|
||||||
locale.value = langCode
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleLanguageChange (index: number) {
|
function handleLanguageChange (index: number) {
|
||||||
if (index !== undefined && index >= 0 && index < availableLanguages.length) {
|
if (index !== undefined && index >= 0 && index < availableLanguages.length) {
|
||||||
locale.value = availableLanguages[index].code
|
locale.value = availableLanguages[index].code
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleLanguage () {
|
|
||||||
locale.value = locale.value === 'zh' ? 'en' : 'zh'
|
|
||||||
}
|
|
||||||
|
|
||||||
function handleSelect (_index: number) {
|
function handleSelect (_index: number) {
|
||||||
drawer.value = false // 选择后自动关闭抽屉
|
drawer.value = false // 选择后自动关闭抽屉
|
||||||
}
|
}
|
||||||
@ -451,11 +443,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 抽屉内容的紧凑布局 */
|
|
||||||
.drawer-transition {
|
|
||||||
transition: width 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 移动设备上的特殊处理 */
|
/* 移动设备上的特殊处理 */
|
||||||
@media (max-width: 599px) {
|
@media (max-width: 599px) {
|
||||||
.v-list-item.pa-4 {
|
.v-list-item.pa-4 {
|
||||||
|
|||||||
@ -42,7 +42,8 @@
|
|||||||
"50_120Series": "50, 120 series",
|
"50_120Series": "50, 120 series",
|
||||||
"200_Series": "200 series",
|
"200_Series": "200 series",
|
||||||
"600_Series": "600 series",
|
"600_Series": "600 series",
|
||||||
"new_200_Series": "New 200 series",
|
"PT23-120_Series": "PT23-120 series",
|
||||||
|
"PT23-200_Series": "PT23-200 series",
|
||||||
"custom": "Customize",
|
"custom": "Customize",
|
||||||
"recommendBeltLength": "Recommended belt length",
|
"recommendBeltLength": "Recommended belt length",
|
||||||
"recommendBeltWidth": "Recommended bandwidth",
|
"recommendBeltWidth": "Recommended bandwidth",
|
||||||
@ -54,7 +55,6 @@
|
|||||||
"add": "Add",
|
"add": "Add",
|
||||||
"layer": "Layer",
|
"layer": "Layer",
|
||||||
"angle": "Angle",
|
"angle": "Angle",
|
||||||
"new_120Series": "New 120 Series",
|
|
||||||
"cumulativeThickness": "Cumulative thickness",
|
"cumulativeThickness": "Cumulative thickness",
|
||||||
"reference": "Reference",
|
"reference": "Reference",
|
||||||
"minimum": "Minimum",
|
"minimum": "Minimum",
|
||||||
@ -71,5 +71,22 @@
|
|||||||
"close": "Close",
|
"close": "Close",
|
||||||
"officialWebsite": "Official website",
|
"officialWebsite": "Official website",
|
||||||
"loading": "Loading",
|
"loading": "Loading",
|
||||||
"paperTapeWidth": "Paper tape width"
|
"paperTapeWidth": "Paper tape width",
|
||||||
|
"units": {
|
||||||
|
"mm": "mm",
|
||||||
|
"m": "m",
|
||||||
|
"g_per_cm3": "g/cm³",
|
||||||
|
"pcs": "pcs",
|
||||||
|
"kg": "kg",
|
||||||
|
"g_per_m2": "g/m²",
|
||||||
|
"hz": "Hz",
|
||||||
|
"hour": "h",
|
||||||
|
"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": "°"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,75 +1,94 @@
|
|||||||
{
|
{
|
||||||
"appTitle": "Paper Tube Production Calculator",
|
"appTitle": "Калькулятор производства бумажных трубок",
|
||||||
"beltSpecificationCalculate": "Belt Specification",
|
"beltSpecificationCalculate": "Спецификация ремня",
|
||||||
"multiLayerPaperTapeWidthAngleCalculate": "MultiLayer Paper Tape Width & Angle",
|
"multiLayerPaperTapeWidthAngleCalculate": "Ширина и угол многослойной бумажной ленты",
|
||||||
"paperCoreDiameter": "Paper core diameter",
|
"paperCoreDiameter": "Диаметр бумажного сердечника",
|
||||||
"paperDensity": "Paper density",
|
"paperDensity": "Плотность бумаги",
|
||||||
"paperGrammage": "Grammage",
|
"paperGrammage": "Граммаж",
|
||||||
"paperRollExternalDiameter": "Paper roll external diameter",
|
"paperRollExternalDiameter": "Внешний диаметр бумажного рулона",
|
||||||
"paperRollLength": "Paper roll length",
|
"paperRollLength": "Длина бумажного рулона",
|
||||||
"paperRollWallThickness": "Paper roll wall thickness",
|
"paperRollWallThickness": "Толщина стенки бумажного рулона",
|
||||||
"paperRollWeightLengthCalculate": "Paper Roll Weight Length",
|
"paperRollWeightLengthCalculate": "Вес и длина бумажного рулона",
|
||||||
"paperTapeWidthAngleCalculate": "Paper Tape Width & Angle",
|
"paperTapeWidthAngleCalculate": "Ширина и угол бумажной ленты",
|
||||||
"paperTubeProductionCalculate": "Paper Tube Production",
|
"paperTubeProductionCalculate": "Производство бумажных трубок",
|
||||||
"paperTubeWeightCalculate": "Paper Tube Weight",
|
"paperTubeWeightCalculate": "Вес бумажной трубки",
|
||||||
"parameters": "Parameters",
|
"parameters": "Параметры",
|
||||||
"productionAmount": "Production amount",
|
"productionAmount": "Количество производства",
|
||||||
"reset": "Reset",
|
"reset": "Сброс",
|
||||||
"results": "Results",
|
"results": "Результаты",
|
||||||
"singlePaperTubeWeight": "Single paper tube weight",
|
"singlePaperTubeWeight": "Вес одной бумажной трубки",
|
||||||
"totalPaperTubeWeight": "Total paper tube weight",
|
"totalPaperTubeWeight": "Общий вес бумажных трубок",
|
||||||
"paperRollWidth": "Paper roll width",
|
"paperRollWidth": "Ширина бумажного рулона",
|
||||||
"paperThickness": "Paper thickness",
|
"paperThickness": "Толщина бумаги",
|
||||||
"paperRollWeight": "Paper roll weight",
|
"paperRollWeight": "Вес бумажного рулона",
|
||||||
"paperLength": "Paper Roll Length",
|
"paperLength": "Длина бумажного рулона",
|
||||||
"innerPaperWidth": "Inner paper width",
|
"innerPaperWidth": "Ширина внутренней бумаги",
|
||||||
"workFrequency": "Work Frequency",
|
"workFrequency": "Рабочая частота",
|
||||||
"workTime": "Work time",
|
"workTime": "Рабочее время",
|
||||||
"workEfficiency": "Work efficiency",
|
"workEfficiency": "Эффективность работы",
|
||||||
"feedPaperSpeed": "Feed speed",
|
"feedPaperSpeed": "Скорость подачи",
|
||||||
"outputSpeed": "Output speed",
|
"outputSpeed": "Скорость выхода",
|
||||||
"productionAmountPerDay": "Daily output",
|
"productionAmountPerDay": "Дневная выработка",
|
||||||
"productionAmountPerHour": "Hourly output",
|
"productionAmountPerHour": "Часовая выработка",
|
||||||
"productionWeightPerDay": "Daily output",
|
"productionWeightPerDay": "Дневная выработка по весу",
|
||||||
"productionWeightPerHour": "Hourly output",
|
"productionWeightPerHour": "Часовая выработка по весу",
|
||||||
"beltAngle": "Belt angle",
|
"beltAngle": "Угол ремня",
|
||||||
"paperHolderAngle": "Paper holder angle",
|
"paperHolderAngle": "Угол держателя бумаги",
|
||||||
"leadingLength": "Leading length",
|
"leadingLength": "Ведущая длина",
|
||||||
"paperWidth": "Paper width",
|
"paperWidth": "Ширина бумаги",
|
||||||
"machineModel": "Model",
|
"machineModel": "Модель",
|
||||||
"maxWheelbase": "Maximum wheelbase",
|
"maxWheelbase": "Максимальная колесная база",
|
||||||
"hubDiameter": "Hub diameter",
|
"hubDiameter": "Диаметр ступицы",
|
||||||
"50_120Series": "50, 120 series",
|
"50_120Series": "50, 120 серии",
|
||||||
"200_Series": "200 series",
|
"200_Series": "200 серия",
|
||||||
"600_Series": "600 series",
|
"600_Series": "600 серия",
|
||||||
"new_200_Series": "New 200 series",
|
"PT23-120_Series": "PT23-120 серия",
|
||||||
"custom": "Customize",
|
"PT23-200_Series": "PT23-200 серия",
|
||||||
"recommendBeltLength": "Recommended belt length",
|
"custom": "Настроить",
|
||||||
"recommendBeltWidth": "Recommended bandwidth",
|
"recommendBeltLength": "Рекомендуемая длина ремня",
|
||||||
"recommendBeltThickness": "Recommended belt thickness",
|
"recommendBeltWidth": "Рекомендуемая ширина ремня",
|
||||||
"bottomPaperWidth": "Bottom paper width",
|
"recommendBeltThickness": "Рекомендуемая толщина ремня",
|
||||||
"save": "Save",
|
"bottomPaperWidth": "Ширина нижней бумаги",
|
||||||
"clear": "Clear",
|
"save": "Сохранить",
|
||||||
"remove": "Remove",
|
"clear": "Очистить",
|
||||||
"add": "Add",
|
"remove": "Удалить",
|
||||||
"layer": "Layer",
|
"add": "Добавить",
|
||||||
"angle": "Angle",
|
"layer": "Слой",
|
||||||
"new_120Series": "New 120 Series",
|
"angle": "Угол",
|
||||||
"cumulativeThickness": "Cumulative thickness",
|
"cumulativeThickness": "Накопительная толщина",
|
||||||
"reference": "Reference",
|
"reference": "Справочная информация",
|
||||||
"minimum": "Minimum",
|
"minimum": "Минимум",
|
||||||
"maximum": "Maximum",
|
"maximum": "Максимум",
|
||||||
"calculatedValue": "Calculated value",
|
"calculatedValue": "Расчетное значение",
|
||||||
"fit": "FIT",
|
"fit": "ПОДХОДИТ",
|
||||||
"notFit": "NOT FIT",
|
"notFit": "НЕ ПОДХОДИТ",
|
||||||
"multiLayerExcelOutputFile": "MultiLayerPaperTapeWidthAngle",
|
"multiLayerExcelOutputFile": "МногослойнаяШиринаУголБумажнойЛенты",
|
||||||
"about": "About",
|
"about": "О программе",
|
||||||
"calculator": "Calculator",
|
"calculator": "Калькулятор",
|
||||||
"companyName": "Zhejiang Jinshen Machinery Manufacturing Co., Ltd.",
|
"companyName": "Чжэцзян Цзиньшэнь Машиностроительная компания с ограниченной ответственностью",
|
||||||
"appDescription": "Paper tube production auxiliary production tool provides calculation of various parameters such as weight, size, angle, etc.",
|
"appDescription": "Вспомогательный инструмент для производства бумажных трубок, обеспечивающий расчет различных параметров: веса, размеров, углов и т.д.",
|
||||||
"allRightsReserved": "All Rights Reserved",
|
"allRightsReserved": "Все права защищены",
|
||||||
"close": "Close",
|
"close": "Закрыть",
|
||||||
"officialWebsite": "Official website",
|
"officialWebsite": "Официальный сайт",
|
||||||
"loading": "Loading",
|
"loading": "Загрузка",
|
||||||
"paperTapeWidth": "Paper tape width"
|
"paperTapeWidth": "Ширина бумажной ленты",
|
||||||
|
"selectLanguage": "Выберите язык",
|
||||||
|
"units": {
|
||||||
|
"mm": "мм",
|
||||||
|
"m": "м",
|
||||||
|
"g_per_cm3": "г/см³",
|
||||||
|
"pcs": "шт.",
|
||||||
|
"kg": "кг",
|
||||||
|
"g_per_m2": "г/м²",
|
||||||
|
"hz": "Гц",
|
||||||
|
"hour": "ч",
|
||||||
|
"percent": "%",
|
||||||
|
"m_per_min": "м/мин",
|
||||||
|
"kg_per_hour": "кг/ч",
|
||||||
|
"pcs_per_hour": "шт./ч",
|
||||||
|
"kg_per_day": "кг/д",
|
||||||
|
"pcs_per_day": "шт./д",
|
||||||
|
"degree": "°"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
93
src/locale/sp.json
Normal file
93
src/locale/sp.json
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"appTitle": "Calculadora de Producción de Tubos de Papel",
|
||||||
|
"beltSpecificationCalculate": "Especificación de Correa",
|
||||||
|
"multiLayerPaperTapeWidthAngleCalculate": "Ancho y Ángulo de Cinta de Papel Multicapa",
|
||||||
|
"paperCoreDiameter": "Diámetro del núcleo de papel",
|
||||||
|
"paperDensity": "Densidad del papel",
|
||||||
|
"paperGrammage": "Gramaje",
|
||||||
|
"paperRollExternalDiameter": "Diámetro externo del rollo de papel",
|
||||||
|
"paperRollLength": "Longitud del rollo de papel",
|
||||||
|
"paperRollWallThickness": "Grosor de pared del rollo de papel",
|
||||||
|
"paperRollWeightLengthCalculate": "Peso y Longitud del Rollo de Papel",
|
||||||
|
"paperTapeWidthAngleCalculate": "Ancho y Ángulo de Cinta de Papel",
|
||||||
|
"paperTubeProductionCalculate": "Producción de Tubos de Papel",
|
||||||
|
"paperTubeWeightCalculate": "Peso del Tubo de Papel",
|
||||||
|
"parameters": "Parámetros",
|
||||||
|
"productionAmount": "Cantidad de producción",
|
||||||
|
"reset": "Restablecer",
|
||||||
|
"results": "Resultados",
|
||||||
|
"singlePaperTubeWeight": "Peso de un solo tubo de papel",
|
||||||
|
"totalPaperTubeWeight": "Peso total de tubos de papel",
|
||||||
|
"paperRollWidth": "Ancho del rollo de papel",
|
||||||
|
"paperThickness": "Grosor del papel",
|
||||||
|
"paperRollWeight": "Peso del rollo de papel",
|
||||||
|
"paperLength": "Longitud del rollo de papel",
|
||||||
|
"innerPaperWidth": "Ancho del papel interior",
|
||||||
|
"workFrequency": "Frecuencia de trabajo",
|
||||||
|
"workTime": "Tiempo de trabajo",
|
||||||
|
"workEfficiency": "Eficiencia del trabajo",
|
||||||
|
"feedPaperSpeed": "Velocidad de alimentación",
|
||||||
|
"outputSpeed": "Velocidad de salida",
|
||||||
|
"productionAmountPerDay": "Producción diaria",
|
||||||
|
"productionAmountPerHour": "Producción por hora",
|
||||||
|
"productionWeightPerDay": "Peso de producción diaria",
|
||||||
|
"productionWeightPerHour": "Peso de producción por hora",
|
||||||
|
"beltAngle": "Ángulo de la correa",
|
||||||
|
"paperHolderAngle": "Ángulo del soporte de papel",
|
||||||
|
"leadingLength": "Longitud de avance",
|
||||||
|
"paperWidth": "Ancho del papel",
|
||||||
|
"machineModel": "Modelo de máquina",
|
||||||
|
"maxWheelbase": "Distancia entre ejes máxima",
|
||||||
|
"hubDiameter": "Diámetro del cubo",
|
||||||
|
"50_120Series": "Series 50, 120",
|
||||||
|
"200_Series": "Serie 200",
|
||||||
|
"600_Series": "Serie 600",
|
||||||
|
"PT23-120_Series": "Serie PT23-120",
|
||||||
|
"PT23-200_Series": "Serie PT23-200",
|
||||||
|
"custom": "Personalizar",
|
||||||
|
"recommendBeltLength": "Longitud de correa recomendada",
|
||||||
|
"recommendBeltWidth": "Ancho de correa recomendado",
|
||||||
|
"recommendBeltThickness": "Grosor de correa recomendado",
|
||||||
|
"bottomPaperWidth": "Ancho del papel inferior",
|
||||||
|
"save": "Guardar",
|
||||||
|
"clear": "Limpiar",
|
||||||
|
"remove": "Eliminar",
|
||||||
|
"add": "Agregar",
|
||||||
|
"layer": "Capa",
|
||||||
|
"angle": "Ángulo",
|
||||||
|
"cumulativeThickness": "Grosor acumulativo",
|
||||||
|
"reference": "Referencia",
|
||||||
|
"minimum": "Mínimo",
|
||||||
|
"maximum": "Máximo",
|
||||||
|
"calculatedValue": "Valor calculado",
|
||||||
|
"fit": "AJUSTA",
|
||||||
|
"notFit": "NO AJUSTA",
|
||||||
|
"multiLayerExcelOutputFile": "AnchoAnguloTintaPapelMulticapa",
|
||||||
|
"about": "Acerca de",
|
||||||
|
"calculator": "Calculadora",
|
||||||
|
"companyName": "Zhejiang Jinshen Machinery Manufacturing Co., Ltd.",
|
||||||
|
"appDescription": "Herramienta auxiliar de producción de tubos de papel que proporciona cálculo de varios parámetros como peso, tamaño, ángulo, etc.",
|
||||||
|
"allRightsReserved": "Todos los derechos reservados",
|
||||||
|
"close": "Cerrar",
|
||||||
|
"officialWebsite": "Sitio web oficial",
|
||||||
|
"loading": "Cargando",
|
||||||
|
"paperTapeWidth": "Ancho de cinta de papel",
|
||||||
|
"selectLanguage": "Seleccionar idioma",
|
||||||
|
"units": {
|
||||||
|
"mm": "mm",
|
||||||
|
"m": "m",
|
||||||
|
"g_per_cm3": "g/cm³",
|
||||||
|
"pcs": "uds.",
|
||||||
|
"kg": "kg",
|
||||||
|
"g_per_m2": "g/m²",
|
||||||
|
"hz": "Hz",
|
||||||
|
"hour": "h",
|
||||||
|
"percent": "%",
|
||||||
|
"m_per_min": "m/min",
|
||||||
|
"kg_per_hour": "kg/h",
|
||||||
|
"pcs_per_hour": "uds./h",
|
||||||
|
"kg_per_day": "kg/d",
|
||||||
|
"pcs_per_day": "uds./d",
|
||||||
|
"degree": "°"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"appTitle": "纸管制作辅助生产工具",
|
"appTitle": "纸管生产辅助计算工具",
|
||||||
"beltSpecificationCalculate": "皮带规格计算",
|
"beltSpecificationCalculate": "皮带规格计算",
|
||||||
"multiLayerPaperTapeWidthAngleCalculate": "多层纸带宽度角度计算",
|
"multiLayerPaperTapeWidthAngleCalculate": "多层纸带宽度角度计算",
|
||||||
"paperCoreDiameter": "纸芯内径",
|
"paperCoreDiameter": "纸芯内径",
|
||||||
@ -42,7 +42,8 @@
|
|||||||
"50_120Series": "50、120系列",
|
"50_120Series": "50、120系列",
|
||||||
"200_Series": "200系列",
|
"200_Series": "200系列",
|
||||||
"600_Series": "600系列",
|
"600_Series": "600系列",
|
||||||
"new_200_Series": "新200系列",
|
"PT23-120_Series": "PT23-120系列",
|
||||||
|
"PT23-200_Series": "PT23-200系列",
|
||||||
"custom": "自定义",
|
"custom": "自定义",
|
||||||
"recommendBeltThickness": "推荐皮带厚度",
|
"recommendBeltThickness": "推荐皮带厚度",
|
||||||
"recommendBeltWidth": "推荐皮带宽度",
|
"recommendBeltWidth": "推荐皮带宽度",
|
||||||
@ -54,7 +55,6 @@
|
|||||||
"add": "新增",
|
"add": "新增",
|
||||||
"layer": "层数",
|
"layer": "层数",
|
||||||
"angle": "角度",
|
"angle": "角度",
|
||||||
"new_120Series": "新120系列",
|
|
||||||
"cumulativeThickness": "累计厚度",
|
"cumulativeThickness": "累计厚度",
|
||||||
"reference": "参考区间",
|
"reference": "参考区间",
|
||||||
"minimum": "最小值",
|
"minimum": "最小值",
|
||||||
@ -71,5 +71,22 @@
|
|||||||
"close": "关闭",
|
"close": "关闭",
|
||||||
"officialWebsite": "官方网站",
|
"officialWebsite": "官方网站",
|
||||||
"loading": "加载中",
|
"loading": "加载中",
|
||||||
"paperTapeWidth": "纸带宽度"
|
"paperTapeWidth": "纸带宽度",
|
||||||
|
"units": {
|
||||||
|
"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": "°"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { createI18n } from 'vue-i18n'
|
import { createI18n } from 'vue-i18n'
|
||||||
import en from '@/locale/en.json'
|
import en from '@/locale/en.json'
|
||||||
import ru from '@/locale/ru.json'
|
import ru from '@/locale/ru.json'
|
||||||
|
import sp from '@/locale/sp.json'
|
||||||
import zh from '@/locale/zh.json'
|
import zh from '@/locale/zh.json'
|
||||||
|
|
||||||
export default createI18n({
|
export default createI18n({
|
||||||
@ -11,5 +12,6 @@ export default createI18n({
|
|||||||
zh,
|
zh,
|
||||||
en,
|
en,
|
||||||
ru,
|
ru,
|
||||||
|
sp,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user