- 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 : 'ja' ,
dir : 'ltr' ,
2018-05-18 06:23:36 +00:00
common : {
2018-05-18 03:25:45 +00:00
ok : 'OK' ,
2018-07-31 14:45:43 +00:00
cancel : 'キャンセル' ,
key _backspace : 'backspace' ,
key _del : '削除' ,
key _down : 'down' ,
key _up : '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 : '円の中心を変更( X座標) ' ,
circle _cy : '円の中心を変更( Y座標) ' ,
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 : 'URLを変更' ,
node _x : 'ノ ードのX座標を変更' ,
node _y : 'ノ ードのY座標を変更' ,
seg _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 : 'ソースの編集' ,
wireframe _mode : 'ワイヤーフレームで表示 [F]' ,
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 : '現在の角度を0度とする' ,
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 : 'SVGファイルに埋め込む' ,
image _opt _ref : '画像を参照する' ,
editor _prefs : 'エディタの設定' ,
icon _size : 'アイコンの大きさ' ,
language : '言語' ,
background : 'エディタの背景色' ,
editor _img _url : 'Image URL' ,
editor _bg _note : '※背景色はファイルに保存されません。' ,
icon _large : 'Large' ,
icon _medium : 'Medium' ,
icon _small : 'Small' ,
icon _xlarge : 'Extra Large' ,
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アンドゥ履歴も消去されます。' ,
QwantToOpen : '新しいファイルを開きますか?\nアンドゥ履歴も消去されます。' ,
QerrorsRevertToSource : 'ソースにエラーがあります。\n元のソースに戻しますか? ' ,
QignoreSourceChanges : 'ソースの変更を無視しますか?' ,
featNotSupported : '機能はサポートされていません。' ,
enterNewImgURL : '画像のURLを入力してください。' ,
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
} ;