From d0783f80bdbfc19b5df73118c93bceee7ee73a8e Mon Sep 17 00:00:00 2001 From: Wormsxulla Date: Sat, 30 Jan 2010 11:41:10 +0000 Subject: [PATCH] Add zh-TW to the good languages. Update the first draft of the Chinese-TW translation by zenixls2. git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1309 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/locale/lang.zh-TW.js | 304 ++++++++++++++++++------------------ editor/locale/locale.js | 2 +- editor/svg-editor.html | 1 + 3 files changed, 154 insertions(+), 153 deletions(-) diff --git a/editor/locale/lang.zh-TW.js b/editor/locale/lang.zh-TW.js index 9c882b2a..a0c1a81e 100644 --- a/editor/locale/lang.zh-TW.js +++ b/editor/locale/lang.zh-TW.js @@ -1,158 +1,158 @@ [ -{"id": "align_relative_to", "title": "相對對齊 ..."}, -{"id": "angle", "title": "旋轉角度的變化"}, -{"id": "angleLabel", "textContent": "角:"}, -{"id": "bkgnd_color", "title": "更改背景顏色/不透明"}, -{"id": "circle_cx", "title": "改變循環的CX坐標"}, -{"id": "circle_cy", "title": "改變循環的賽揚坐標"}, -{"id": "circle_r", "title": "改變圓的半徑"}, -{"id": "cornerRadiusLabel", "textContent": "角半徑:"}, -{"id": "curve_segments", "textContent": "Curve"}, -{"id": "ellipse_cx", "title": "改變橢圓的CX坐標"}, -{"id": "ellipse_cy", "title": "改變橢圓的賽揚坐標"}, -{"id": "ellipse_rx", "title": "改變橢圓的x半徑"}, -{"id": "ellipse_ry", "title": "改變橢圓的y半徑"}, -{"id": "fill_color", "title": "更改填充顏色"}, -{"id": "fill_tool_bottom", "textContent": "充滿:"}, -{"id": "fitToContent", "textContent": "適合內容"}, -{"id": "fit_to_all", "textContent": "適合於所有的內容"}, -{"id": "fit_to_canvas", "textContent": "適合畫布"}, -{"id": "fit_to_layer_content", "textContent": "適合層內容"}, -{"id": "fit_to_sel", "textContent": "適合選擇"}, -{"id": "font_family", "title": "更改字體家族"}, -{"id": "font_size", "title": "更改字體大小"}, -{"id": "group_opacity", "title": "更改所選項目不透明"}, -{"id": "icon_large", "textContent": "Large"}, -{"id": "icon_medium", "textContent": "Medium"}, -{"id": "icon_small", "textContent": "Small"}, -{"id": "icon_xlarge", "textContent": "Extra Large"}, -{"id": "iheightLabel", "textContent": "高度:"}, -{"id": "image_height", "title": "更改圖像高度"}, -{"id": "image_opt_embed", "textContent": "Embed data (local files)"}, -{"id": "image_opt_ref", "textContent": "Use file reference"}, -{"id": "image_url", "title": "更改網址"}, -{"id": "image_width", "title": "更改圖像的寬度"}, -{"id": "includedImages", "textContent": "Included Images"}, -{"id": "iwidthLabel", "textContent": "寬度:"}, -{"id": "largest_object", "textContent": "最大對象"}, -{"id": "layer_delete", "title": "刪除層"}, -{"id": "layer_down", "title": "層向下移動"}, -{"id": "layer_new", "title": "新層"}, -{"id": "layer_rename", "title": "重命名層"}, -{"id": "layer_up", "title": "移動層最多"}, -{"id": "layersLabel", "textContent": "層:"}, -{"id": "line_x1", "title": "更改行的起點的x坐標"}, -{"id": "line_x2", "title": "更改行的結束x坐標"}, -{"id": "line_y1", "title": "更改行的起點的y坐標"}, -{"id": "line_y2", "title": "更改行的結束y坐標"}, -{"id": "page", "textContent": "網頁"}, -{"id": "palette", "title": "點擊更改填充顏色,按住Shift鍵單擊更改顏色中風"}, -{"id": "path_node_x", "title": "Change node's x coordinate"}, -{"id": "path_node_y", "title": "Change node's y coordinate"}, -{"id": "rect_height", "title": "更改矩形的高度"}, -{"id": "rect_rx", "title": "矩形角半徑的變化"}, -{"id": "rect_width", "title": "更改矩形的寬度"}, -{"id": "relativeToLabel", "textContent": "相對於:"}, -{"id": "rheightLabel", "textContent": "身高:"}, -{"id": "rwidthLabel", "textContent": "寬度:"}, -{"id": "seg_type", "title": "Change Segment type"}, -{"id": "selLayerLabel", "textContent": "Move elements to:"}, -{"id": "selLayerNames", "title": "Move selected elements to a different layer"}, -{"id": "selectedPredefined", "textContent": "選擇預定義:"}, -{"id": "selected_objects", "textContent": "選對象"}, -{"id": "selected_x", "title": "Change X coordinate"}, -{"id": "selected_y", "title": "Change Y coordinate"}, -{"id": "smallest_object", "textContent": "最小的對象"}, -{"id": "straight_segments", "textContent": "Straight"}, -{"id": "stroke_color", "title": "中風的顏色變化"}, -{"id": "stroke_style", "title": "更改行程衝刺風格"}, -{"id": "stroke_tool_bottom", "textContent": "敲擊:"}, -{"id": "stroke_width", "title": "筆劃寬度的變化"}, -{"id": "svginfo_bg_note", "textContent": "Note: Background will not be saved with image."}, -{"id": "svginfo_change_background", "textContent": "Editor Background"}, -{"id": "svginfo_dim", "textContent": "Canvas Dimensions"}, -{"id": "svginfo_editor_prefs", "textContent": "Editor Preferences"}, -{"id": "svginfo_height", "textContent": "高度:"}, -{"id": "svginfo_icons", "textContent": "Icon size"}, -{"id": "svginfo_image_props", "textContent": "Image Properties"}, -{"id": "svginfo_lang", "textContent": "Language"}, -{"id": "svginfo_title", "textContent": "Title"}, -{"id": "svginfo_width", "textContent": "寬度:"}, -{"id": "text", "title": "更改文字內容"}, -{"id": "tool_alignbottom", "title": "底部對齊"}, -{"id": "tool_aligncenter", "title": "居中對齊"}, -{"id": "tool_alignleft", "title": "左對齊"}, -{"id": "tool_alignmiddle", "title": "中間對齊"}, -{"id": "tool_alignright", "title": "右對齊"}, -{"id": "tool_aligntop", "title": "頂端對齊"}, -{"id": "tool_bold", "title": "粗體"}, -{"id": "tool_circle", "title": "圈"}, -{"id": "tool_clear", "textContent": "新形象"}, -{"id": "tool_clone", "title": "克隆元素"}, -{"id": "tool_clone_multi", "title": "克隆元素"}, -{"id": "tool_delete", "title": "刪除元素"}, -{"id": "tool_delete_multi", "title": "刪除所選元素"}, -{"id": "tool_docprops", "textContent": "文檔屬性"}, -{"id": "tool_docprops_cancel", "textContent": "取消"}, -{"id": "tool_docprops_save", "textContent": "保存"}, -{"id": "tool_ellipse", "title": "橢圓"}, -{"id": "tool_fhellipse", "title": "免費手橢圓"}, -{"id": "tool_fhpath", "title": "鉛筆工具"}, -{"id": "tool_fhrect", "title": "免費手矩形"}, -{"id": "tool_group", "title": "族元素"}, -{"id": "tool_image", "title": "圖像工具"}, -{"id": "tool_italic", "title": "斜體文本"}, -{"id": "tool_line", "title": "線工具"}, -{"id": "tool_move_bottom", "title": "移至底部"}, -{"id": "tool_move_top", "title": "移動到頂部"}, -{"id": "tool_node_clone", "title": "Clone Node"}, -{"id": "tool_node_delete", "title": "Delete Node"}, -{"id": "tool_node_link", "title": "Link Control Points"}, -{"id": "tool_open", "textContent": "打開圖像"}, -{"id": "tool_path", "title": "Path Tool"}, -{"id": "tool_rect", "title": "矩形"}, -{"id": "tool_redo", "title": "重做"}, -{"id": "tool_reorient", "title": "Reorient path"}, -{"id": "tool_save", "textContent": "保存圖像"}, -{"id": "tool_select", "title": "選擇工具"}, -{"id": "tool_source", "title": "編輯源"}, -{"id": "tool_source_cancel", "textContent": "取消"}, -{"id": "tool_source_save", "textContent": "保存"}, -{"id": "tool_square", "title": "廣場"}, -{"id": "tool_text", "title": "文字工具"}, -{"id": "tool_topath", "title": "Convert to Path"}, -{"id": "tool_undo", "title": "撤消"}, -{"id": "tool_ungroup", "title": "取消組合元素"}, -{"id": "tool_wireframe", "title": "Wireframe Mode"}, -{"id": "tool_zoom", "title": "縮放工具"}, -{"id": "tools_ellipse_show", "title": "橢圓/圓工具"}, -{"id": "tools_rect_show", "title": "廣場/整流工具"}, -{"id": "zoom", "title": "更改縮放級別"}, -{"id": "zoomLabel", "textContent": "變焦:"}, -{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"}, +{"id":"align_relative_to","title":"相對對齊 ..."}, +{"id":"angle","title":"旋轉角度"}, +{"id":"angleLabel","textContent":"角度:"}, +{"id":"bkgnd_color","title":"更改背景顏色/不透明"}, +{"id":"circle_cx","title":"改變圓的CX坐標"}, +{"id":"circle_cy","title":"改變圓的CY坐標"}, +{"id":"circle_r","title":"改變圓的半徑"}, +{"id":"cornerRadiusLabel","textContent":"角半徑:"}, +{"id":"curve_segments","textContent":"曲線"}, +{"id":"ellipse_cx","title":"改變橢圓的圓心x軸座標"}, +{"id":"ellipse_cy","title":"改變橢圓的圓心y軸座標"}, +{"id":"ellipse_rx","title":"改變橢圓的x軸長"}, +{"id":"ellipse_ry","title":"改變橢圓的y軸長"}, +{"id":"fill_color","title":"更改填充顏色"}, +{"id":"fill_tool_bottom","textContent":"填充:"}, +{"id":"fitToContent","textContent":"適合內容"}, +{"id":"fit_to_all","textContent":"適合所有的內容"}, +{"id":"fit_to_canvas","textContent":"適合畫布"}, +{"id":"fit_to_layer_content","textContent":"適合圖層內容"}, +{"id":"fit_to_sel","textContent":"適合選取的物件"}, +{"id":"font_family","title":"更改字體"}, +{"id":"font_size","title":"更改字體大小"}, +{"id":"group_opacity","title":"更改所選項目不透明度"}, +{"id":"icon_large","textContent":"大"}, +{"id":"icon_medium","textContent":"中"}, +{"id":"icon_small","textContent":"小"}, +{"id":"icon_xlarge","textContent":"特大"}, +{"id":"iheightLabel","textContent":"高度:"}, +{"id":"image_height","title":"更改圖像高度"}, +{"id":"image_opt_embed","textContent":"內嵌資料 (本地端檔案)"}, +{"id":"image_opt_ref","textContent":"使用檔案參照"}, +{"id":"image_url","title":"更改網址"}, +{"id":"image_width","title":"更改圖像的寬度"}, +{"id":"includedImages","textContent":"包含圖像"}, +{"id":"iwidthLabel","textContent":"寬度:"}, +{"id":"largest_object","textContent":"最大的物件"}, +{"id":"layer_delete","title":"刪除圖層"}, +{"id":"layer_down","title":"向下移動圖層"}, +{"id":"layer_new","title":"新增圖層"}, +{"id":"layer_rename","title":"重新命名圖層"}, +{"id":"layer_up","title":"向上移動圖層"}, +{"id":"layersLabel","textContent":"圖層:"}, +{"id":"line_x1","title":"更改行的起點的x坐標"}, +{"id":"line_x2","title":"更改行的終點x坐標"}, +{"id":"line_y1","title":"更改行的起點的y坐標"}, +{"id":"line_y2","title":"更改行的終點y坐標"}, +{"id":"page","textContent":"網頁"}, +{"id":"palette","title":"點擊更改填充顏色,按住Shift鍵單擊更改線條顏色"}, +{"id":"path_node_x","title":"改變節點的x軸座標"}, +{"id":"path_node_y","title":"改變節點的y軸座標"}, +{"id":"rect_height","title":"更改矩形的高度"}, +{"id":"rect_rx","title":"矩形角半徑的變化"}, +{"id":"rect_width","title":"更改矩形的寬度"}, +{"id":"relativeToLabel","textContent":"相對於:"}, +{"id":"rheightLabel","textContent":"高度:"}, +{"id":"rwidthLabel","textContent":"寬度:"}, +{"id":"seg_type","title":"Change Segment type"}, +{"id":"selLayerLabel","textContent":"移動物件到:"}, +{"id":"selLayerNames","title":"移動被點選的物件其他圖層"}, +{"id":"selectedPredefined","textContent":"使用預設值:"}, +{"id":"selected_objects","textContent":"選取物件"}, +{"id":"selected_x","title":"調整 X 軸"}, +{"id":"selected_y","title":"調整 Y 軸"}, +{"id":"smallest_object","textContent":"最小的物件"}, +{"id":"straight_segments","textContent":"直線"}, +{"id":"stroke_color","title":"線條顏色"}, +{"id":"stroke_style","title":"更改線條(虛線)風格"}, +{"id":"stroke_tool_bottom","textContent":"線條:"}, +{"id":"stroke_width","title":"線條寬度"}, +{"id":"svginfo_bg_note","textContent":"注意: 編輯器背景不會和圖像一起儲存"}, +{"id":"svginfo_change_background","textContent":"編輯器背景"}, +{"id":"svginfo_dim","textContent":"畫布大小"}, +{"id":"svginfo_editor_prefs","textContent":"編輯器屬性"}, +{"id":"svginfo_height","textContent":"高度:"}, +{"id":"svginfo_icons","textContent":"圖示大小"}, +{"id":"svginfo_image_props","textContent":"圖片屬性"}, +{"id":"svginfo_lang","textContent":"語言"}, +{"id":"svginfo_title","textContent":"標題"}, +{"id":"svginfo_width","textContent":"寬度:"}, +{"id":"text","title":"更改文字內容"}, +{"id":"tool_alignbottom","title":"底部對齊"}, +{"id":"tool_aligncenter","title":"居中對齊"}, +{"id":"tool_alignleft","title":"向左對齊"}, +{"id":"tool_alignmiddle","title":"中間對齊"}, +{"id":"tool_alignright","title":"向右對齊"}, +{"id":"tool_aligntop","title":"頂端對齊"}, +{"id":"tool_bold","title":"粗體"}, +{"id":"tool_circle","title":"圓"}, +{"id":"tool_clear","title":"清空圖像"}, +{"id":"tool_clone","title":"複製"}, +{"id":"tool_clone_multi","title":"複製所選元素"}, +{"id":"tool_delete","title":"刪除"}, +{"id":"tool_delete_multi","title":"刪除所選元素"}, +{"id":"tool_docprops","title":"文件屬性"}, +{"id":"tool_docprops_cancel","textContent":"取消"}, +{"id":"tool_docprops_save","textContent":"保存"}, +{"id":"tool_ellipse","title":"橢圓"}, +{"id":"tool_fhellipse","title":"徒手畫橢圓"}, +{"id":"tool_fhpath","title":"鉛筆工具"}, +{"id":"tool_fhrect","title":"徒手畫矩形"}, +{"id":"tool_group","title":"群組"}, +{"id":"tool_image","title":"圖像工具"}, +{"id":"tool_italic","title":"斜體"}, +{"id":"tool_line","title":"線工具"}, +{"id":"tool_move_bottom","title":"移至底部"}, +{"id":"tool_move_top","title":"移動到頂部"}, +{"id":"tool_node_clone","title":"增加節點"}, +{"id":"tool_node_delete","title":"刪除節點"}, +{"id":"tool_node_link","title":"將控制點連起來"}, +{"id":"tool_open","title":"打開圖像"}, +{"id":"tool_path","title":"路徑工具"}, +{"id":"tool_rect","title":"矩形"}, +{"id":"tool_redo","title":"復原"}, +{"id":"tool_reorient","title":"調整路徑"}, +{"id":"tool_save","title":"保存圖像"}, +{"id":"tool_select","title":"選擇工具"}, +{"id":"tool_source","title":"編輯SVG原始碼"}, +{"id":"tool_source_cancel","textContent":"取消"}, +{"id":"tool_source_save","textContent":"保存"}, +{"id":"tool_square","title":"方形"}, +{"id":"tool_text","title":"文字工具"}, +{"id":"tool_topath","title":"轉換成路徑"}, +{"id":"tool_undo","title":"取消復原"}, +{"id":"tool_ungroup","title":"取消群組"}, +{"id":"tool_wireframe","title":"框線模式(只瀏覽線條)"}, +{"id":"tool_zoom","title":"縮放工具"}, +{"id":"tools_ellipse_show","title":"橢圓/圓工具"}, +{"id":"tools_rect_show","title":"矩形/方形工具"}, +{"id":"zoom","title":"更改縮放級別"}, +{"id":"zoomLabel","textContent":"調整頁面大小:"}, +{"id":"sidepanel_handle","textContent":"圖層","title":"拖拉以改變側邊面板的大小"}, { "js_strings": { - "QerrorsRevertToSource": "There were parsing errors in your SVG source.\nRevert back to original SVG source?", - "QignoreSourceChanges": "Ignore changes made to SVG source?", - "QmoveElemsToLayer": "Move selected elements to layer '%s'?", - "QwantToClear": "Do you want to clear the drawing?\nThis will also erase your undo history!", - "cancel": "Cancel", - "dupeLayerName": "There is already a layer named that!", - "enterNewImgURL": "Enter the new image URL", - "enterNewLayerName": "Please enter the new layer name", - "enterUniqueLayerName": "Please enter a unique layer name", - "featNotSupported": "Feature not supported", - "invalidAttrValGiven": "Invalid value given", - "key_backspace": "backspace", - "key_del": "delete", - "key_down": "down", - "key_up": "up", - "layer": "Layer", - "layerHasThatName": "Layer already has that name", - "noContentToFitTo": "No content to fit to", - "ok": "OK", - "pathCtrlPtTooltip": "Drag control point to adjust curve properties", - "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type" + "QerrorsRevertToSource":"SVG原始碼解析錯誤\n要回復到原本的SVG原始碼嗎?", + "QignoreSourceChanges":"要忽略對SVG原始碼的更動嗎?", + "QmoveElemsToLayer":"要搬移所選取的物件到'%s'層嗎?", + "QwantToClear":"要清空圖像嗎?\n這會順便清空你的回復紀錄!", + "cancel":"取消", + "dupeLayerName":"喔不!已經有另一個同樣名稱的圖層了!", + "enterNewImgURL":"輸入新的圖片網址", + "enterUniqueLayerName":"請輸入一個名稱不重複的", + "enterNewLayerName":"請輸入新圖層的名稱", + "featNotSupported":"未提供此功能", + "invalidAttrValGiven":"數值給定錯誤", + "key_backspace":"空白", + "key_del":"刪除", + "key_down":"下", + "key_up":"上", + "layer":"圖層", + "layerHasThatName":"圖層本來就是這個名稱(抱怨)", + "noContentToFitTo":"找不到符合的內容", + "ok":"確定", + "pathCtrlPtTooltip":"拖拉控制點以改變曲線性質", + "pathNodeTooltip":"拖拉節點以移動, 連擊節點以改變線段型態(直線/曲線)" } } ] \ No newline at end of file diff --git a/editor/locale/locale.js b/editor/locale/locale.js index 78b8e2d1..559e253b 100644 --- a/editor/locale/locale.js +++ b/editor/locale/locale.js @@ -9,7 +9,7 @@ var put_locale = function(svgCanvas, given_param){ var lang_param; // TODO: Make this array be based on entries in svg-editor.html - var good_langs = ['ar','cs','de','en','es','fa','fr','fy','hi','nl','ro','ru','sk']; + var good_langs = ['ar','cs','de','en','es','fa','fr','fy','hi','nl','ro','ru','sk','zh-TW']; if(given_param) { lang_param = given_param; } else { diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 83c3ecbc..a6041727 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -526,6 +526,7 @@ script type="text/javascript" src="locale/locale.min.js"> +