/** @ignore */
Kekule.LOCAL_RES = true;

Kekule.Localization.setCurrModule("widget");

Kekule.Localization.addResource("zh", "WidgetTexts",
		{
			"CAPTION_OK": "确定",
			"CAPTION_CANCEL": "取消",
			"CAPTION_YES": "是",
			"CAPTION_NO": "否",
			"CAPTION_BROWSE_COLOR": "浏览颜色",
			"HINT_BROWSE_COLOR": "浏览更多颜色",
			"S_COLOR_UNSET": "(未设置)",
			"S_COLOR_DEFAULT": "(缺省值)",
			"S_COLOR_MIXED": "(多个值)",
			"S_COLOR_TRANSPARENT": "(透明)",
			"S_OBJECT_UNSET": "(无)",
			"S_ITEMS": "条目",
			"S_OBJECT": "对象",
			"S_VALUE_UNSET": "(未设置)",
			"CAPTION_MENU": "Menu",
			"HINT_MENU": "Open menu",
			"S_INSPECT_NONE": "(无)",
			"S_INSPECT_OBJECTS": "({0}个对象)",
			"S_INSPECT_ID_OBJECT": "{0}: {1}",
			"S_INSPECT_ANONYMOUS_OBJECT": "({0})",
			"CAPTION_TOGGLE_TEXTWRAP": "切换文本换行",
			"CAPTION_INC_TEXT_SIZE": "增大字号",
			"CAPTION_DEC_TEXT_SIZE": "减小字号",
			"HINT_TOGGLE_TEXTWRAP": "切换文本是否自动换行",
			"HINT_INC_TEXT_SIZE": "增大字号",
			"HINT_DEC_TEXT_SIZE": "减小字号",
			"HINT_CHOOSE_FONT_FAMILY": "选择字体",
			"CAPTION_FIRST_PAGE": "首页",
			"CAPTION_LAST_PAGE": "末页",
			"CAPTION_PREV_PAGE": "前一页",
			"CAPTION_NEXT_PAGE": "后一页",
			"HINT_FIRST_PAGE": "首页",
			"HINT_LAST_PAGE": "末页",
			"HINT_PREV_PAGE": "前一页",
			"HINT_NEXT_PAGE": "后一页",
			"HINT_CURR_PAGE": "当前页",
			"MSG_RETRIEVING_DATA": "载入数据…",
			"CAPTION_DATATABLE_EDIT": "编辑",
			"CAPTION_DATATABLE_DELETE": "删除",
			"CAPTION_DATATABLE_INSERT": "插入",
			"HINT_DATATABLE_EDIT": "编辑数据",
			"HINT_DATATABLE_DELETE": "删除数据",
			"HINT_DATATABLE_INSERT": "插入数据",
			"CAPTION_ADD_CELL": "+",
			"HINT_ADD_CELL": "添加新单元格",
			"CAPTION_REMOVE_CELL": "移除",
			"HINT_REMOVE_CELL": "移除单元格",
			"CAPTION_CONFIG": "设置…",
			"HINT_CONFIG": "修改设置"
		});

Kekule.Localization.addResource("zh", "ChemWidgetTexts",
		{
			"CAPTION_CLEAROBJS": "清除",
			"CAPTION_LOADFILE": "载入…",
			"CAPTION_LOADDATA": "载入…",
			"CAPTION_SAVEFILE": "保存…",
			"CAPTION_ZOOMIN": "放大",
			"CAPTION_ZOOMOUT": "缩小",
			"CAPTION_RESETZOOM": "重置缩放",
			"CAPTION_RESETVIEW": "重置",
			"CAPTION_ROTATE": "旋转",
			"CAPTION_ROTATELEFT": "向左旋转",
			"CAPTION_ROTATERIGHT": "向右旋转",
			"CAPTION_ROTATEX": "沿X轴旋转",
			"CAPTION_ROTATEY": "沿Y轴旋转",
			"CAPTION_ROTATEZ": "沿Z轴旋转",
			"CAPTION_MOL_DISPLAY_TYPE": "分子显示样式",
			"CAPTION_SKELETAL": "键线式",
			"CAPTION_CONDENSED": "缩写式",
			"CAPTION_WIRE": "单线模型",
			"CAPTION_STICKS": "棍式模型",
			"CAPTION_BALLSTICK": "球棍模型",
			"CAPTION_SPACEFILL": "比例模型",
			"CAPTION_HIDEHYDROGENS": "显示/隐藏氢原子",
			"CAPTION_OPENEDITOR": "编辑…",
			"CAPTION_EDIT_OBJ": "编辑",
			"HINT_CLEAROBJS": "清除对象",
			"HINT_LOADFILE": "自文件载入",
			"HINT_LOADDATA": "载入数据",
			"HINT_SAVEFILE": "存储到文件",
			"HINT_ZOOMIN": "放大",
			"HINT_ZOOMOUT": "缩小",
			"HINT_RESETZOOM": "重置缩放",
			"HINT_RESETVIEW": "重置缩放与旋转",
			"HINT_ROTATE": "旋转",
			"HINT_ROTATELEFT": "逆时针旋转",
			"HINT_ROTATERIGHT": "顺时针旋转",
			"HINT_ROTATEX": "沿X轴旋转",
			"HINT_ROTATEY": "沿Y轴旋转",
			"HINT_ROTATEZ": "沿Z轴旋转",
			"HINT_MOL_DISPLAY_TYPE": "改变分子显示样式",
			"HINT_SKELETAL": "以键线式显示",
			"HINT_CONDENSED": "以缩写式显示",
			"HINT_WIRE": "以单线模型显示",
			"HINT_STICKS": "以棍式模型显示",
			"HINT_BALLSTICK": "以球棍模型显示",
			"HINT_SPACEFILL": "以比例模型显示",
			"HINT_HIDEHYDROGENS": "模型中显示/隐藏氢原子",
			"HINT_OPENEDITOR": "编辑当前对象",
			"CAPTION_NEWDOC": "新建",
			"CAPTION_UNDO": "撤销",
			"CAPTION_REDO": "重做",
			"CAPTION_COPY": "复制",
			"CAPTION_CUT": "剪切",
			"CAPTION_PASTE": "粘贴",
			"CAPTION_CLONE_SELECTION": "克隆选区",
			"CAPTION_TOGGLE_INSPECTOR": "对象检视器",
			"CAPTION_MANIPULATE": "选取",
			"CAPTION_ERASE": "删除",
			"CAPTION_MOL_BOND": "键",
			"CAPTION_MOL_BOND_SINGLE": "单键",
			"CAPTION_MOL_BOND_DOUBLE": "双键",
			"CAPTION_MOL_BOND_TRIPLE": "三键",
			"CAPTION_MOL_BOND_WEDGEUP": "实楔线键",
			"CAPTION_MOL_BOND_WEDGEDOWN": "虚楔线键",
			"CAPTION_MOL_BOND_CLOSER": "突出(加粗)键",
			"CAPTION_MOL_BOND_WAVY": "波浪键",
			"CAPTION_MOL_BOND_DOUBLE_EITHER": "顺或反式双键",
			"CAPTION_MOL_ATOM": "原子",
			"CAPTION_MOL_FORMULA": "分子式",
			"CAPTION_MOL_CHARGE": "电荷",
			"CAPTION_MOL_CHARGE_CLEAR": "清除电荷",
			"CAPTION_MOL_CHARGE_POSITIVE": "正电荷",
			"CAPTION_MOL_CHARGE_NEGATIVE": "负电荷",
			"CAPTION_MOL_CHARGE_SINGLET": "单线态",
			"CAPTION_TEXT_BLOCK": "文本",
			"CAPTION_REPOSITORY_RING": "环",
			"CAPTION_REPOSITORY_RING_3": "环丙烷",
			"CAPTION_REPOSITORY_RING_4": "环丁烷",
			"CAPTION_REPOSITORY_RING_5": "环戊烷",
			"CAPTION_REPOSITORY_RING_6": "环己烷",
			"CAPTION_REPOSITORY_RING_7": "环庚烷",
			"CAPTION_REPOSITORY_RING_8": "环辛烷",
			"CAPTION_REPOSITORY_RING_AR_6": "苯",
			"CAPTION_REPOSITORY_RING_AR_5": "环戊二烯",
			"CAPTION_REPOSITORY_ARROWLINE": "线段与箭头",
			"CAPTION_REPOSITORY_GLYPH": "图符",
			"CAPTION_REPOSITORY_GLYPH_LINE": "直线",
			"CAPTION_REPOSITORY_GLYPH_OPEN_ARROW_LINE": "开放箭头线",
			"CAPTION_REPOSITORY_GLYPH_TRIANGLE_ARROW_LINE": "三角箭头线",
			"CAPTION_REPOSITORY_GLYPH_DI_OPEN_ARROW_LINE": "双向开放箭头线",
			"CAPTION_REPOSITORY_GLYPH_DI_TRIANGLE_ARROW_LINE": "双向三角箭头线",
			"CAPTION_REPOSITORY_GLYPH_REV_ARROW_LINE": "可逆箭头线",
			"CAPTION_REPOSITORY_GLYPH_OPEN_ARROW_DILINE": "开放箭头双线",
			"CAPTION_REPOSITORY_HEAT_SYMBOL": "加热符号",
			"CAPTION_REPOSITORY_ADD_SYMBOL": "加号",
			"CAPTION_PICK_COLOR": "颜色",
			"CAPTION_TEXT_DIRECTION": "文字方向",
			"CAPTION_TEXT_DIRECTION_DEFAULT": "缺省",
			"CAPTION_TEXT_DIRECTION_LTR": "由左至右",
			"CAPTION_TEXT_DIRECTION_RTL": "由右至左",
			"CAPTION_TEXT_DIRECTION_TTB": "由上至下",
			"CAPTION_TEXT_DIRECTION_BTT": "由下至上",
			"CAPTION_TEXT_HORIZONTAL_ALIGN": "文字水平对齐",
			"CAPTION_TEXT_VERTICAL_ALIGN": "文字垂直对齐",
			"CAPTION_TEXT_ALIGN_DEFAULT": "缺省",
			"CAPTION_TEXT_ALIGN_LEADING": "首对齐",
			"CAPTION_TEXT_ALIGN_TRAILING": "尾对齐",
			"CAPTION_TEXT_ALIGN_CENTER": "居中对齐",
			"CAPTION_TEXT_ALIGN_LEFT": "左对齐",
			"CAPTION_TEXT_ALIGN_RIGHT": "右对齐",
			"CAPTION_TEXT_ALIGN_TOP": "上对齐",
			"CAPTION_TEXT_ALIGN_BOTTOM": "下对齐",
			"HINT_NEWDOC": "创建新文档",
			"HINT_UNDO": "撤销",
			"HINT_REDO": "重做",
			"HINT_COPY": "将选定对象复制至内部剪贴板",
			"HINT_CUT": "将选定对象剪切至内部剪贴板",
			"HINT_PASTE": "自内部剪贴板复制",
			"HINT_CLONE_SELECTION": "克隆当前选区",
			"HINT_TOGGLE_INSPECTOR": "显示或隐藏对象检视器",
			"HINT_MANIPULATE": "选择工具",
			"HINT_ERASE": "删除工具",
			"HINT_MOL_BOND": "化学键工具",
			"HINT_MOL_BOND_SINGLE": "单键",
			"HINT_MOL_BOND_DOUBLE": "双键",
			"HINT_MOL_BOND_TRIPLE": "叁键",
			"HINT_MOL_BOND_WEDGEUP": "实楔线键",
			"HINT_MOL_BOND_WEDGEDOWN": "虚楔线键",
			"HINT_MOL_BOND_CLOSER": "突出(加粗)键",
			"HINT_MOL_BOND_WAVY": "波浪键",
			"HINT_MOL_BOND_DOUBLE_EITHER": "顺或反式双键",
			"HINT_MOL_ATOM": "原子工具",
			"HINT_MOL_FORMULA": "分子式工具",
			"HINT_MOL_CHARGE": "电荷工具",
			"HINT_MOL_CHARGE_CLEAR": "清除电荷或自由基",
			"HINT_MOL_CHARGE_POSITIVE": "正电荷",
			"HINT_MOL_CHARGE_NEGATIVE": "负电荷",
			"HINT_MOL_CHARGE_SINGLET": "单线态自由基",
			"HINT_MOL_CHARGE_DOUBLET": "双线态自由基",
			"HINT_MOL_CHARGE_TRIPLET": "三线态自由基",
			"HINT_TEXT_BLOCK": "文字工具",
			"HINT_REPOSITORY_RING": "环工具",
			"HINT_REPOSITORY_RING_3": "环丙烷",
			"HINT_REPOSITORY_RING_4": "环丁烷",
			"HINT_REPOSITORY_RING_5": "环戊烷",
			"HINT_REPOSITORY_RING_6": "环己烷",
			"HINT_REPOSITORY_RING_7": "环庚烷",
			"HINT_REPOSITORY_RING_8": "环辛烷",
			"HINT_REPOSITORY_RING_AR_6": "苯",
			"HINT_REPOSITORY_RING_AR_5": "环戊二烯",
			"HINT_REPOSITORY_ARROWLINE": "线段与箭头",
			"HINT_REPOSITORY_GLYPH": "图符",
			"HINT_REPOSITORY_GLYPH_LINE": "直线",
			"HINT_REPOSITORY_GLYPH_OPEN_ARROW_LINE": "开放箭头线",
			"HINT_REPOSITORY_GLYPH_TRIANGLE_ARROW_LINE": "三角箭头线",
			"HINT_REPOSITORY_GLYPH_DI_OPEN_ARROW_LINE": "双向开放箭头线",
			"HINT_REPOSITORY_GLYPH_DI_TRIANGLE_ARROW_LINE": "双向三角箭头线",
			"HINT_REPOSITORY_GLYPH_REV_ARROW_LINE": "可逆箭头线",
			"HINT_REPOSITORY_GLYPH_OPEN_ARROW_DILINE": "开放箭头双线",
			"HINT_REPOSITORY_HEAT_SYMBOL": "加热符号",
			"HINT_REPOSITORY_ADD_SYMBOL": "加号",
			"HINT_FONTNAME": "设置字体",
			"HINT_FONTSIZE": "设置字号",
			"HINT_PICK_COLOR": "选择颜色",
			"HINT_TEXT_DIRECTION": "设置文字方向",
			"HINT_TEXT_HORIZONTAL_ALIGN": "设置文字水平对齐方式",
			"HINT_TEXT_VERTICAL_ALIGN": "设置文字水平垂直方式",
			"CAPTION_LOADDATA_DIALOG": "载入数据",
			"CAPTION_DATA_FORMAT": "数据格式：",
			"CAPTION_DATA_SRC": "在下方输入或粘贴数据：",
			"CAPTION_LOADDATA_FROM_FILE": "载入文件",
			"CAPTION_CHOOSEFILEFORMAT": "选择文件格式",
			"CAPTION_SELECT_FORMAT": "选择格式：",
			"CAPTION_PREVIEW_FILE_CONTENT": "预览文件内容…",
			"S_DEF_SAVE_FILENAME": "Unnamed",
			"CAPTION_ATOMLIST_PERIODIC_TABLE": "更多…",
			"CAPTION_RGROUP": "取代基",
			"CAPTION_VARIABLE_ATOM": "(包含)原子列表",
			"CAPTION_VARIABLE_NOT_ATOM": "(不包含)原子列表",
			"CAPTION_PSEUDOATOM": "赝原子(Pseudoatom)",
			"CAPTION_DUMMY_ATOM": "虚原子(Dummy atom)",
			"CAPTION_HETERO_ATOM": "杂原子",
			"CAPTION_ANY_ATOM": "任意原子",
			"CAPTION_PERIODIC_TABLE_DIALOG": "元素周期表",
			"CAPTION_PERIODIC_TABLE_DIALOG_SEL_ELEM": "选择元素",
			"CAPTION_PERIODIC_TABLE_DIALOG_SEL_ELEMS": "选择多个元素",
			"CAPTION_TEXTBLOCK_INIT": "在此输入文字",
			"LEGEND_CAPTION": "图例",
			"LEGEND_ELEM_SYMBOL": "元素符号",
			"LEGEND_ELEM_NAME": "名称",
			"LEGEND_ATOMIC_NUM": "原子序数",
			"LEGEND_ATOMIC_WEIGHT": "原子量",
			"CAPTION_2D": "2D",
			"CAPTION_3D": "3D",
			"CAPTION_AUTOSIZE": "自动尺寸",
			"CAPTION_AUTOFIT": "自动缩放",
			"CAPTION_SHOWSIZEINFO": "显示尺寸信息",
			"CAPTION_LABEL_SIZE": "尺寸：",
			"CAPTION_BACKGROUND_COLOR": "背景颜色：",
			"CAPTION_WIDTH_HEIGHT": "宽：{0}、高：{1}",
			"PLACEHOLDER_WIDTH": "宽",
			"PLACEHOLDER_HEIGHT": "高",
			"HINT_AUTOSIZE": "图形尺寸是否由对象大小自动调整",
			"HINT_AUTOFIT": "对象是否填满图形区域",
			"S_VALUE_DEFAULT": "(缺省)"
		});

Kekule.Localization.addResource("zh", "ErrorMsg",
		{
			"WIDGET_CLASS_NOT_FOUND": "控件类不存在",
			"WIDGET_CAN_NOT_BIND_TO_ELEM": "控件{0}无法绑定到HTML元素<{1}>",
			"LOAD_CHEMDATA_FAILED": "载入数据失败",
			"FILE_API_NOT_SUPPORTED": "您当前的浏览器不支持HTML文件操作，请升级浏览器。",
			"DRAW_BRIDGE_NOT_SUPPORTED": "您当前的浏览器不支持该绘图功能，请升级浏览器。",
			"COMMAND_NOT_REVERSIBLE": "命令无法撤销",
			"PAGE_INDEX_OUTOF_RANGE": "页面超出范围",
			"FETCH_DATA_TIMEOUT": "加载数据超时",
			"RENDER_TYPE_CHANGE_NOT_ALLOWED": "渲染类型无法改变",
			"CAN_NOT_CREATE_EDITOR": "创建编辑器失败",
			"CAN_NOT_SET_COORD_OF_CLASS": "无法设置对象{0}实例的坐标",
			"CAN_NOT_SET_DIMENSION_OF_CLASS": "无法设置对象{0}实例的尺寸",
			"CAN_NOT_MERGE_CONNECTORS": "化学键或连接符无法合并",
			"NOT_A_VALID_ATOM": "无效的原子",
			"INVALID_ATOM_SYMBOL": "原子符号无效"
		});
			"CAPTION_MOL_CHARGE_DOUBLET": "双线态自由基",
			"CAPTION_MOL_CHARGE_TRIPLET": "三线态",