- Breaking change: Extension now formatted as export (and `this` is set to editor, including for `callback`)
- Breaking change: Locale now formatted as export
- Breaking change: Moved out remaining modular i18n (imagelib) to own folder
- Breaking change: Drop `executeAfterLoads` (and getJSPDF/getCanvg)
- Breaking change: `RGBColor` must accept `new`
- Breaking change: canvg - `stackBlurCanvasRGBA` must be set now by function (`setStackBlurCanvasRGBA`) rather than global; `canvg` now a named export
- Breaking change: Avoid passing `canvg`/`buildCanvgCallback` to extensions (have them import)
- Fix: i18nize imaglib more deeply
- Fix: Positioning of Document Properties dialog (Fixes #246)
- Fix (regression): PDF Export (Fixes #249)
- Fix (regression): Add polyfill for `ChildNode`/`ParentNode` (and use further)
- Fix (regression): Apply Babel universally to dependencies
- Fix (regression): Ordering of `uaPrefix` function in `svgEditor.js`
- Fix (regression): Embedded API
- Fix (embedded editor): Fix backspace key in Firefox so it doesn't navigate out of frame
- Fix: Alert if no exportWindow for PDF (e.g., if blocked)
- Refactoring( RGBColor) `RGBColor` as class, without rebuilding constants, optimize string replacement, move methods to prototype, use templates and object literals, use `Object.keys`
- Refactoring (canvg) Use classes more internally, use shorthand objects; array extras, return to lazy-loading
- Refactoring: Use Promises in place of `$.getScript`; always return Promises in case deciding to await resolving
- Refactoring: Avoid importing `RGBColor` into `svgutils.js` (jsPDF imports it itself)
- Refactoring: Arrow functions, destructuring, shorter property references
- Refactoring: Fix `lang` and `dir` for locales (though not in use currently anyways)
- Refactoring: Provide path config for canvg, jspdf
2018-06-02 01:14:38 +00:00
export default {
lang : 'zh-TW' ,
dir : 'ltr' ,
2018-05-18 06:23:36 +00:00
common : {
2018-05-28 14:00:20 +00:00
ok : '确定' ,
2018-07-31 14:45:43 +00:00
cancel : '取消' ,
key _backspace : '空白' ,
key _del : '刪除' ,
key _down : '下' ,
key _up : '上' ,
more _opts : 'More Options' ,
url : 'URL' ,
width : 'Width' ,
height : 'Height'
2018-05-18 06:23:36 +00:00
} ,
misc : {
2018-07-31 14:45:43 +00:00
powered _by : 'Powered by'
2018-05-18 06:23:36 +00:00
} ,
ui : {
2018-07-31 14:45:43 +00:00
toggle _stroke _tools : 'Show/hide more stroke tools' ,
palette _info : '點擊更改填充顏色, 按住Shift鍵單擊更改線條顏色' ,
zoom _level : '更改縮放級別' ,
panel _drag : 'Drag left/right to resize side panel' ,
2018-05-18 03:25:45 +00:00
quality : 'Quality:' ,
pathNodeTooltip : 'Drag node to move it. Double-click node to change segment type' ,
2018-07-31 14:45:43 +00:00
pathCtrlPtTooltip : 'Drag control point to adjust curve properties' ,
pick _stroke _paint _opacity : 'Pick a Stroke Paint and Opacity' ,
pick _fill _paint _opacity : 'Pick a Fill Paint and Opacity'
2018-05-18 06:23:36 +00:00
} ,
properties : {
2018-07-31 14:45:43 +00:00
id : 'Identify the element' ,
fill _color : '更改填充顏色' ,
stroke _color : '線條顏色' ,
stroke _style : '更改線條(虛線)風格' ,
stroke _width : '線條寬度' ,
pos _x : '調整 X 軸' ,
pos _y : '調整 Y 軸' ,
linecap _butt : 'Linecap: Butt' ,
linecap _round : 'Linecap: Round' ,
linecap _square : 'Linecap: Square' ,
linejoin _bevel : 'Linejoin: Bevel' ,
linejoin _miter : 'Linejoin: Miter' ,
linejoin _round : 'Linejoin: Round' ,
angle : '旋轉角度' ,
blur : 'Change gaussian blur value' ,
opacity : '更改所選項目不透明度' ,
circle _cx : '改變圓的CX坐標' ,
circle _cy : '改變圓的CY坐標' ,
circle _r : '改變圓的半徑' ,
ellipse _cx : '改變橢圓的圓心x軸座標' ,
ellipse _cy : '改變橢圓的圓心y軸座標' ,
ellipse _rx : '改變橢圓的x軸長' ,
ellipse _ry : '改變橢圓的y軸長' ,
line _x1 : '更改行的起點的x坐標' ,
line _x2 : '更改行的終點x坐標' ,
line _y1 : '更改行的起點的y坐標' ,
line _y2 : '更改行的終點y坐標' ,
rect _height : '更改矩形的高度' ,
rect _width : '更改矩形的寬度' ,
corner _radius : '角半徑:' ,
image _width : '更改圖像的寬度' ,
image _height : '更改圖像高度' ,
image _url : '更改網址' ,
node _x : '改變節點的x軸座標' ,
node _y : '改變節點的y軸座標' ,
seg _type : 'Change Segment type' ,
straight _segments : '直線' ,
curve _segments : '曲線' ,
text _contents : '更改文字內容' ,
font _family : '更改字體' ,
font _size : '更改字體大小' ,
bold : '粗體' ,
italic : '斜體'
2018-05-18 06:23:36 +00:00
} ,
tools : {
2018-07-31 14:45:43 +00:00
main _menu : 'Main Menu' ,
bkgnd _color _opac : '更改背景顏色/不透明' ,
connector _no _arrow : 'No arrow' ,
fitToContent : '適合內容' ,
fit _to _all : '適合所有的內容' ,
fit _to _canvas : '適合畫布' ,
fit _to _layer _content : '適合圖層內容' ,
fit _to _sel : '適合選取的物件' ,
align _relative _to : '相對對齊 ...' ,
relativeTo : '相對於:' ,
page : '網頁' ,
largest _object : '最大的物件' ,
selected _objects : '選取物件' ,
smallest _object : '最小的物件' ,
new _doc : '清空圖像' ,
open _doc : '打開圖像' ,
export _img : 'Export' ,
save _doc : '保存圖像' ,
import _doc : 'Import Image' ,
align _to _page : 'Align Element to Page' ,
align _bottom : '底部對齊' ,
align _center : '居中對齊' ,
align _left : '向左對齊' ,
align _middle : '中間對齊' ,
align _right : '向右對齊' ,
align _top : '頂端對齊' ,
mode _select : '選擇工具' ,
mode _fhpath : '鉛筆工具' ,
mode _line : '線工具' ,
mode _rect : 'Rectangle Tool' ,
mode _square : 'Square Tool' ,
mode _fhrect : '徒手畫矩形' ,
mode _ellipse : '橢圓' ,
mode _circle : '圓' ,
mode _fhellipse : '徒手畫橢圓' ,
mode _path : '路徑工具' ,
mode _text : '文字工具' ,
mode _image : '圖像工具' ,
mode _zoom : '縮放工具' ,
no _embed : 'NOTE: This image cannot be embedded. It will depend on this path to be displayed' ,
undo : '取消復原' ,
redo : '復原' ,
tool _source : '編輯SVG原始碼' ,
wireframe _mode : '框線模式(只瀏覽線條)' ,
clone : 'Clone Element(s)' ,
del : 'Delete Element(s)' ,
group _elements : '群組' ,
make _link : 'Make (hyper)link' ,
set _link _url : 'Set link URL (leave empty to remove)' ,
to _path : '轉換成路徑' ,
reorient _path : '調整路徑' ,
ungroup : '取消群組' ,
docprops : '文件屬性' ,
move _bottom : '移至底部' ,
move _top : '移動到頂部' ,
node _clone : '增加節點' ,
node _delete : '刪除節點' ,
node _link : '將控制點連起來' ,
add _subpath : 'Add sub-path' ,
openclose _path : 'Open/close sub-path' ,
source _save : '保存' ,
cut : 'Cut' ,
copy : 'Copy' ,
paste : 'Paste' ,
paste _in _place : 'Paste in Place' ,
delete : 'Delete' ,
group : 'Group' ,
move _front : 'Bring to Front' ,
move _up : 'Bring Forward' ,
move _down : 'Send Backward' ,
move _back : 'Send to Back'
2018-05-18 06:23:36 +00:00
} ,
layers : {
2018-07-31 14:45:43 +00:00
layer : '圖層' ,
layers : 'Layers' ,
del : '刪除圖層' ,
move _down : '向下移動圖層' ,
new : '新增圖層' ,
rename : '重新命名圖層' ,
move _up : '向上移動圖層' ,
dupe : 'Duplicate Layer' ,
merge _down : 'Merge Down' ,
merge _all : 'Merge All' ,
move _elems _to : '移動物件到:' ,
move _selected : '移動被點選的物件其他圖層'
2018-05-18 06:23:36 +00:00
} ,
config : {
2018-07-31 14:45:43 +00:00
image _props : '圖片屬性' ,
doc _title : '標題' ,
doc _dims : '畫布大小' ,
included _images : '包含圖像' ,
image _opt _embed : '內嵌資料 (本地端檔案)' ,
image _opt _ref : '使用檔案參照' ,
editor _prefs : '編輯器屬性' ,
icon _size : '圖示大小' ,
language : '語言' ,
background : '編輯器背景' ,
editor _img _url : 'Image URL' ,
editor _bg _note : '注意: 編輯器背景不會和圖像一起儲存' ,
icon _large : '大' ,
icon _medium : '中' ,
icon _small : '小' ,
icon _xlarge : '特大' ,
select _predefined : '使用預設值:' ,
units _and _rulers : 'Units & Rulers' ,
show _rulers : 'Show rulers' ,
base _unit : 'Base Unit:' ,
grid : 'Grid' ,
snapping _onoff : 'Snapping on/off' ,
snapping _stepsize : 'Snapping Step-Size:' ,
grid _color : 'Grid color'
2018-05-18 06:23:36 +00:00
} ,
notification : {
2018-07-31 14:45:43 +00:00
invalidAttrValGiven : '數值給定錯誤' ,
noContentToFitTo : '找不到符合的內容' ,
dupeLayerName : '喔不!已經有另一個同樣名稱的圖層了!' ,
enterUniqueLayerName : '請輸入一個名稱不重複的' ,
enterNewLayerName : '請輸入新圖層的名稱' ,
layerHasThatName : '圖層本來就是這個名稱(抱怨)' ,
2018-05-20 07:04:11 +00:00
QmoveElemsToLayer : "要搬移所選取的物件到'%s'層嗎?" ,
2018-07-31 14:45:43 +00:00
QwantToClear : '要清空圖像嗎?\n這會順便清空你的回復紀錄! ' ,
2018-05-18 03:25:45 +00:00
QwantToOpen : 'Do you want to open a new file?\nThis will also erase your undo history!' ,
2018-07-31 14:45:43 +00:00
QerrorsRevertToSource : 'SVG原始碼解析錯誤\n要回復到原本的SVG原始碼嗎? ' ,
QignoreSourceChanges : '要忽略對SVG原始碼的更動嗎? ' ,
featNotSupported : '未提供此功能' ,
enterNewImgURL : '輸入新的圖片網址' ,
2018-05-18 03:25:45 +00:00
defsFailOnSave : 'NOTE: Due to a bug in your browser, this image may appear wrong (missing gradients or elements). It will however appear correct once actually saved.' ,
loadingImage : 'Loading image, please wait...' ,
2018-07-31 14:45:43 +00:00
saveFromBrowser : "Select 'Save As...' in your browser (possibly via file menu or right-click context-menu) to save this image as a %s file." ,
2018-05-18 03:25:45 +00:00
noteTheseIssues : 'Also note the following issues: ' ,
unsavedChanges : 'There are unsaved changes.' ,
enterNewLinkURL : 'Enter the new hyperlink URL' ,
errorLoadingSVG : 'Error: Unable to load SVG data' ,
URLloadFail : 'Unable to load from URL' ,
retrieving : 'Retrieving \'%s\' ...' ,
2018-07-31 14:45:43 +00:00
popupWindowBlocked : 'Popup window may be blocked by browser' ,
2018-05-18 03:25:45 +00:00
exportNoBlur : 'Blurred elements will appear as un-blurred' ,
exportNoforeignObject : 'foreignObject elements will not appear' ,
exportNoDashArray : 'Strokes will appear filled' ,
exportNoText : 'Text may not appear as expected'
2018-05-18 06:23:36 +00:00
}
- Breaking change: Extension now formatted as export (and `this` is set to editor, including for `callback`)
- Breaking change: Locale now formatted as export
- Breaking change: Moved out remaining modular i18n (imagelib) to own folder
- Breaking change: Drop `executeAfterLoads` (and getJSPDF/getCanvg)
- Breaking change: `RGBColor` must accept `new`
- Breaking change: canvg - `stackBlurCanvasRGBA` must be set now by function (`setStackBlurCanvasRGBA`) rather than global; `canvg` now a named export
- Breaking change: Avoid passing `canvg`/`buildCanvgCallback` to extensions (have them import)
- Fix: i18nize imaglib more deeply
- Fix: Positioning of Document Properties dialog (Fixes #246)
- Fix (regression): PDF Export (Fixes #249)
- Fix (regression): Add polyfill for `ChildNode`/`ParentNode` (and use further)
- Fix (regression): Apply Babel universally to dependencies
- Fix (regression): Ordering of `uaPrefix` function in `svgEditor.js`
- Fix (regression): Embedded API
- Fix (embedded editor): Fix backspace key in Firefox so it doesn't navigate out of frame
- Fix: Alert if no exportWindow for PDF (e.g., if blocked)
- Refactoring( RGBColor) `RGBColor` as class, without rebuilding constants, optimize string replacement, move methods to prototype, use templates and object literals, use `Object.keys`
- Refactoring (canvg) Use classes more internally, use shorthand objects; array extras, return to lazy-loading
- Refactoring: Use Promises in place of `$.getScript`; always return Promises in case deciding to await resolving
- Refactoring: Avoid importing `RGBColor` into `svgutils.js` (jsPDF imports it itself)
- Refactoring: Arrow functions, destructuring, shorter property references
- Refactoring: Fix `lang` and `dir` for locales (though not in use currently anyways)
- Refactoring: Provide path config for canvg, jspdf
2018-06-02 01:14:38 +00:00
} ;