1
0
forked from me/IronOS

Compare commits

...

3 Commits

Author SHA1 Message Date
Ben V. Brown
07893daec7 Increase PWM rate 2023-09-23 13:06:44 +10:00
discip
b489601883 Merge pull request #1818 from dogtopus/add-missing-chinese-translation
Add missing Chinese translation
2023-09-22 21:37:09 +02:00
dogtopus
e56060ab4a Add missing Chinese translation
I'm not very good at zh_TW so some of the terms might sound strange.
2023-09-22 00:47:46 -03:00
3 changed files with 24 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
"tempUnitFahrenheit": true,
"messagesWarn": {
"CalibrationDone": {
"message": "Calibration done!"
"message": "校正完成!"
},
"ResetOKMessage": {
"message": "已重置!"
@@ -31,13 +31,13 @@
"message": "加热失控"
},
"WarningTipShorted": {
"message": "!Tip Shorted!"
"message": "!烙铁头短路!"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "在重启前请确认烙铁头及本体已完全冷却!"
},
"CJCCalibrating": {
"message": "calibrating"
"message": "校正中"
},
"SettingsResetWarning": {
"message": "你是否确定要将全部设定重置为默认值?"
@@ -133,7 +133,7 @@
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
"description": "启用PPS和EPR快充支持"
},
"BoostTemperature": {
"displayText": "增热温度",
@@ -280,8 +280,8 @@
"description": "焊接模式画面以英语小字体显示详请"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
"displayText": "蓝牙",
"description": "启用蓝牙支持"
},
"PowerLimit": {
"displayText": "功率限制",
@@ -289,7 +289,7 @@
},
"CalibrateCJC": {
"displayText": "校正CJC",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5 C)"
"description": "在下次重启时校正烙铁头热电偶冷接点补偿值CJC温差小于5摄氏度时无需校正"
},
"VoltageCalibration": {
"displayText": "输入电压校正?",
@@ -316,4 +316,4 @@
"description": ""
}
}
}
}

View File

@@ -4,7 +4,7 @@
"tempUnitFahrenheit": true,
"messagesWarn": {
"CalibrationDone": {
"message": "Calibration done!"
"message": "校正完成!"
},
"ResetOKMessage": {
"message": "已重設!"
@@ -31,13 +31,13 @@
"message": "加熱失控"
},
"WarningTipShorted": {
"message": "!Tip Shorted!"
"message": "!烙鐵頭短路!"
},
"SettingsCalibrationWarning": {
"message": "Before rebooting, make sure tip & handle are at room temperature!"
"message": "在重啟前請確認烙鐵頭及本體已完全冷卻!"
},
"CJCCalibrating": {
"message": "calibrating"
"message": "校正中"
},
"SettingsResetWarning": {
"message": "你是否確定要將全部設定重設到預設值?"
@@ -133,7 +133,7 @@
},
"PDVpdo": {
"displayText": "PD VPDO",
"description": "Enables PPS & EPR modes"
"description": "開啟PPS及EPR支援"
},
"BoostTemperature": {
"displayText": "增熱溫度",
@@ -280,8 +280,8 @@
"description": "於焊接模式畫面以英文小字型顯示詳細資料"
},
"BluetoothLE": {
"displayText": "Bluetooth",
"description": "Enables BLE"
"displayText": "藍牙",
"description": "開啟藍牙支援"
},
"PowerLimit": {
"displayText": "功率限制",
@@ -289,7 +289,7 @@
},
"CalibrateCJC": {
"displayText": "校正CJC",
"description": "At next boot tip Cold Junction Compensation will be calibrated (not required if Delta T is < 5 C)"
"description": "在下次重啟時校正烙鐵頭熱電偶冷接點補償值CJC溫差小於5攝氏度時無需校正"
},
"VoltageCalibration": {
"displayText": "輸入電壓校正?",
@@ -316,4 +316,4 @@
"description": ""
}
}
}
}

View File

@@ -112,8 +112,8 @@ void timer0_comp1_callback(void) { PWM_Channel_Disable(PWM_Channel); } // Trigge
void switchToFastPWM(void) {
inFastPWMMode = true;
holdoffTicks = 10;
tempMeasureTicks = 10;
holdoffTicks = 20;
tempMeasureTicks = 20;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_2, totalPWM);
@@ -123,7 +123,7 @@ void switchToFastPWM(void) {
uint32_t tmpVal = BL_RD_REG(TIMER_BASE, TIMER_TCDR);
tmpVal = BL_SET_REG_BITS_VAL(tmpVal, TIMER_TCDR2, 10);
tmpVal = BL_SET_REG_BITS_VAL(tmpVal, TIMER_TCDR2, 6);
BL_WR_REG(TIMER_BASE, TIMER_TCDR, tmpVal);
}
@@ -131,8 +131,8 @@ void switchToFastPWM(void) {
void switchToSlowPWM(void) {
// 5Hz
inFastPWMMode = false;
holdoffTicks = 5;
tempMeasureTicks = 5;
holdoffTicks = 10;
tempMeasureTicks = 10;
totalPWM = powerPWM + tempMeasureTicks + holdoffTicks;
TIMER_SetCompValue(TIMER_CH0, TIMER_COMP_ID_2, totalPWM);
@@ -143,7 +143,7 @@ void switchToSlowPWM(void) {
uint32_t tmpVal = BL_RD_REG(TIMER_BASE, TIMER_TCDR);
tmpVal = BL_SET_REG_BITS_VAL(tmpVal, TIMER_TCDR2, 20);
tmpVal = BL_SET_REG_BITS_VAL(tmpVal, TIMER_TCDR2, 12);
BL_WR_REG(TIMER_BASE, TIMER_TCDR, tmpVal);
}