From 1c8c43dd77974335a6c650eea0f05866131cbe5d Mon Sep 17 00:00:00 2001 From: Simon-Mong <30740101+Simon-Mong@users.noreply.github.com> Date: Sat, 16 Feb 2019 15:15:06 +0800 Subject: [PATCH] Update lang-zh_CN.js Localization of mainland Chinese. --- stitchcode/locales/lang-zh_CN.js | 213 +++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) diff --git a/stitchcode/locales/lang-zh_CN.js b/stitchcode/locales/lang-zh_CN.js index e69de29b..b058a906 100644 --- a/stitchcode/locales/lang-zh_CN.js +++ b/stitchcode/locales/lang-zh_CN.js @@ -0,0 +1,213 @@ +tempDict = { + + // UI strings + 'About Snap!...': + '关于Snap!...', + 'About TurtleStitch...': + '关于TurtleStitch!...', + 'About TurtleStitch': + '关于TurtleStitch', + ' Stitches : ': + ' 针法 : ', + 'Jumps': + '跳线', + 'Jumps : ': + '跳线 : ', + 'Stitchpoints': + '针点', + 'Grid': + '网格', + 'Reset View': + '复位视图', + 'Zoom to fit': + '缩放适应', + 'zoom to fit': + '缩放适应', + 'Size : ': + '尺寸 : ', + 'Imperial units': + '英制单位', + 'Turtle': + '海龟', + 'Login': + '登录', + 'Create an account': + '创建账号', + 'Reset Password...': + '重设密码', + 'Export as SVG': + '导出为SVG格式', + 'Export as PNG': + '导出为PNG格式', + 'Export as Melco/EXP': + '导出为Melco/EXP格式', + 'Export as Tajima/DST': + '导出为Tajima/DST格式', + 'Export current drawing as SVG Vector file': + '导出当前设计为SVG格式文件', + 'Export current drawing as EXP/Melco Embroidery file': + '导出当前设计为EXP/Melco格式文件', + 'Export current drawing as DST/Tajima Embroidery file': + 'Exportiert die aktuelle Zeichnung als Stickmuster im Tajima/DST Format', + 'Export to Embroidery service': + '导出到刺绣服务', + 'Export to stitchcode.com\'s embroidery service': + '导出到stitchcode.com的刺绣服务', + 'Ignore colors during export': + '导出时忽略颜色', + 'X-Ray': + 'X射线', + + // settings + 'Units..': + '单位...', + 'Display dimension in Inch': + '以英寸显示尺寸', + 'Hide grid': + '隐藏网格', + 'Hide turtle': + '隐藏海龟', + 'Hide jump stitches': + '隐藏跳线', + 'Hide stitch points': + '隐藏针点', + 'Ignore embroidery warnings': + '忽略刺绣警告', + 'uncheck to show embroidery specific warnings': + '不勾选可以显示刺绣警告', + 'check to ignore embroidery specific warnings': + '勾选忽略刺绣专门警告', + 'uncheck to show grid': + '不勾选可以显示网格', + 'check to hide grid': + '勾选隐藏网格', + 'uncheck to show jump stitches': + '不勾选可以显示跳线', + 'check to hide jump stitches': + '勾选隐藏条线', + 'uncheck to show stitch points': + '不勾选可以显示针点', + 'check to hide stitch points': + '勾选隐藏针点', + 'uncheck to show turtle': + '不勾选可以显示海龟', + 'check to hide turtle': + '勾选隐藏海龟', + 'uncheck to display dimensions in millimeters': + '不勾选以毫米显示尺寸', + 'check to show dimensions in inch': + '勾选以英寸显示尺寸', + 'Default background color': + '默认背景颜色', + 'Default pen color': + '默认画笔颜色', + 'Default background color...': + '默认背景颜色...', + 'Default pen color...': + '默认画笔颜色...', + + // legacy blocks + 'clear': + '清空', + 'move %n steps by %n steps': + '移动 %n steps 每针 %n 步', + 'move %n steps in %n': + '移动 %n steps 针数 %n', + 'go to x: %n y: %n by %n': + '移到 x: %n y: %n 每针 %n', + 'go to x: %n y: %n in %n': + '移到 x: %n y: %n 针数 %n', + + // new blocks + 'point towards x: %n y: %n': + '面向 x: %n y: %n', + 'reset': + '初始化', + + // warnings + ' are too long! (will get clamped)': + '太长了! (会被缠住)', + ' is too long! (will get clamped)': + '太长了! (会被缠住)', + + // pen and color setting + 'pen size': + '画笔大小', + 'pen down?': + '画笔已落下?', + 'RGB color': + 'RGB颜色', + 'hex color': + 'hex颜色', + 'HSV color': + 'HSV颜色', + 'set color to %clr': + '把颜色设为 %clr', + 'set color to RGB %n %n %n': + '把颜色设为 RGB %n %n %n', + 'set color to HSV %n %n %n': + '把颜色设为 HSV %n %n %n', + 'set color to hex %s': + '把颜色设为 hex %s', + 'set color by hue %huewheel': + '按色调 %huewheel 设置颜色', + 'set %hsb to %n': + '把 %hsb 设为 %n', + 'change %hsb by %n': + '把 %hsb 增加 %n', + 'color: %hsb': + '颜色: %hsb', + 'opacity': + '不透明度', + 'set opacity to %n': + '把不透明度设为 %n', + 'change opacity by %n': + '把不透明度增加 %n', + 'hue': + '色调', + 'brightness': + '亮度', + 'change hue by %n': + '把色调增加 %n', + + // new categories + 'Embroidery': + '刺绣', + 'Colors': + '颜色', + + // embroidery blocks and stuff + 'running stitch by %n steps': + '把每针设置为 %n 步', + 'triple run by %n': + '设为往复3次模式,每针设置为 %n 步', + 'cross stitch in %n by %n center %b': + '十字线 针数 %n 每针 %n 步 沿中心 %b', + 'zigzag with density %n width %n center %b': + '锯齿线 齿距 %n 宽度 %n 沿中心 %b', + 'Z-stitch with density %n width %n center %b': + 'Z字线 齿距 %n 宽度 %n 沿中心 %b', + 'satin stitch with width %n center %b': + '缎纹线 宽度 %n 沿中心 %b', + 'tatami stitch width %n interval %n center %b': + '榻榻米线 宽度 %n 间距 %n 沿中心 %b', + 'jump stitch %b': + '跳线模式 %b', + 'tie stitch': + '结针', + 'trim': + '切割', + 'stop running': + '停止当前刺绣模式', + 'draw text %s with size %n': + '绣出文本 %s 字号 %n', + 'text length of %s with size %n': + '字符串 %s 为 %n 号字时的长度', + 'rendering X-RAY ...': + '实现X射线效果 ...', + 'turn off X-RAY ...': + '关闭X射线 ...', +}; + +// Add attributes to original SnapTranslator.dict.de +for (var attrname in tempDict) { SnapTranslator.dict.zh_CN[attrname] = tempDict[attrname]; }