Skip to content

Commit

Permalink
修复翻译问题
Browse files Browse the repository at this point in the history
  • Loading branch information
kungvwow committed Feb 17, 2017
1 parent 69234cc commit e35f5d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/serial.js
Expand Up @@ -107,7 +107,7 @@ function Serial(app){
return;
}
if (stderr.indexOf('dialout ') > -1) {
_app.alert(_translator.map("Cannot connect to the 2.4G device. Please check your USB connection or restart your computer."));
_app.alert(_translator.map("Cannot connect to serial port. Please check your USB connection or restart your computer."));
} else {
sudoer.enableSerialInLinux(errorCallbackHander);
}
Expand Down
1 change: 1 addition & 0 deletions i18n/locales/en.json
Expand Up @@ -56,5 +56,6 @@
"Directory could not be created": "Please set the permission to create the directory.",
"Cannot find 2.4G dongle": "2.4G device is not found.",
"Cannot connect to the 2.4G device. Please check your USB connection or use another USB port.": "Cannot find 2.4G transmitter, please check the connection or use another USB port.",
"Cannot connect to serial port. Please check your USB connection or restart your computer.": "Cannot connect to serial port. Please check your USB connection or restart your computer.",
"Connected": "Connected"
}
3 changes: 2 additions & 1 deletion i18n/locales/zh_CN.json
Expand Up @@ -962,6 +962,7 @@
"It doesn't exist": "文件不存在。",
"Directory could not be created": "请设置权限创建文件夹。",
"Cannot find 2.4G dongle": "没有找到2.4G设备。",
"Cannot connect to the 2.4G device. Please check your USB connection or restart your computer.": "没有找到2.4G发射器,请检查链接或尝试重新启动计算机。",
"Cannot connect to the 2.4G device. Please check your USB connection or use another USB port.": "没有找到2.4G发射器,请检查链接或尝试连接其他USB口。",
"Cannot connect to serial port. Please check your USB connection or restart your computer.": "串口无法连接,请尝试连接其他串口或重启计算机。",
"Hardware communication timeout, please confirm whether the serial connection": "固件上传超时,请确认串口是否连接。"
}

0 comments on commit e35f5d5

Please sign in to comment.