Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ch.js #179

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions ardublockly/msg/ch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
var Ardublockly = Ardublockly || {};
Ardublockly.LOCALISED_TEXT = {
translationLanguage: "chinese",
title: "Ardublockly",
blocks: "Blocks",
/* Menu */
open: "打开",
save: "保存",
deleteAll: "删除所有",
settings: "设置",
documentation: "文档",
reportBug: "报告错误",
examples: "例子",
/* Settings */
compilerLocation: "编译器地址",
compilerLocationDefault: "编译器路径未知",
sketchFolder: "Sketch 文件夹",
sketchFolderDefault: "Sketch 文件夹 未知",
arduinoBoard: "Arduino 板",
arduinoBoardDefault: "Arduino 板未知",
comPort: "串口",
comPortDefault: "串口 未知",
defaultIdeButton: "默认 IDE 按钮",
defaultIdeButtonDefault: "IDE options 未知",
language: "语言",
languageDefault: "语言未知",
sketchName: "Sketch 名字",
/* Arduino console output */
arduinoOpMainTitle: "Arduino IDE 输出",
arduinoOpWaiting: "等待IDE输出...",
arduinoOpUploadedTitle: "Successfully Uploaded Sketch",
arduinoOpVerifiedTitle: "Successfully Verified Sketch",
arduinoOpOpenedTitle: "Sketch opened in IDE",
arduinoOpOpenedBody: "The sketch should be loaded in the Arduino IDE.",
arduinoOpErrorUpVerTitle: "Build or Upload failed",
arduinoOpErrorSketchTitle: "Sketch not found",
arduinoOpErrorFlagTitle: "Invalid command line argument",
arduinoOpErrorFlagPrefTitle: "Preference passed to 'get-pref' flag does not exist",
arduinoOpErrorIdeDirTitle: "Unable to find Arduino IDE",
arduinoOpErrorIdeDirBody: "The compiler directory has not been set.<br>" +
"Please set it in the Settings.",
arduinoOpErrorIdeOptionTitle: "What should we do with the Sketch?",
arduinoOpErrorIdeOptionBody: "The launch IDE option has not been set.<br>" +
"Please select an IDE option in the Settings.",
arduinoOpErrorIdePortTitle: "Serial Port unavailable",
arduinoOpErrorIdePortBody: "The Serial Port is not accessible.<br>" +
"Please check if the Arduino is correctly connected to the PC and select the Serial Port in the Settings.",
arduinoOpErrorIdeBoardTitle: "Unknown Arduino Board",
arduinoOpErrorIdeBoardBody: "The Arduino Board has not been set.<br>" +
"Please select the appropriate Arduino Board from the settings.",
/* Modals */
noServerTitle: "Ardublockly app not running",
noServerTitleBody: "<p>For all the Ardublockly features to be enabled, the Ardublockly desktop application must be running locally on your computer.</p>" +
"<p>If you are using an online version you will not be able to configure the settings nor load the blocks code into an Arduino.</p>" +
"<p>Installation instruction can be found in the <a href=\"https://github.com/carlosperate/ardublockly\">Ardublockly repository</a>.</p>" +
"<p>If you have Ardublockly already installed, make sure the application is running correctly.</p>",
noServerNoLangBody: "If the Ardublockly application is not running the language cannot be fully changed.",
addBlocksTitle: "Additional Blocks",
/* Alerts */
loadNewBlocksTitle: "Load new blocks?",
loadNewBlocksBody: "Loading a new XML file will replace the current blocks from the workspace.<br>" +
"Are you sure you want to proceed?",
discardBlocksTitle: "Delete blocks?",
discardBlocksBody: "There are %1 blocks on the workspace.<br>" +
"Are you sure you want to delete them?",
invalidXmlTitle: "Invalid XML",
invalidXmlBody: "The XML file was not successfully parsed into blocks. Please review the XML code and try again.",
/* Tooltips */
uploadingSketch: "Uploading Sketch into Arduino...",
uploadSketch: "Upload Sketch to the Arduino",
verifyingSketch: "Verifying Sketch...",
verifySketch: "Verify the Sketch",
openingSketch: "Opening Sketch in the Arduino IDE...",
openSketch: "Open Sketch in IDE",
notImplemented: "Function not yet implemented",
/* Prompts */
ok: "OK",
okay: "Okay",
cancel: "Cancel",
return: "返回",
/* Cards */
arduinoSourceCode: "Arduino 源程序",
blocksXml: "Blocks XML",
/* Toolbox Categories*/
catLogic: "逻辑",
catLoops: "循环",
catMath: "数学",
catText: "文本",
catVariables: "变量",
catFunctions: "函数",
catInputOutput: "输入/输出",
catTime: "时间",
catAudio: "声音",
catMotors: "马达",
catComms: "通讯",
};