');
@@ -279,7 +294,7 @@ svgEditor.addExtension("imagelib", function() {
width: '100%'
});
- var cancel = $('
Cancel ').appendTo(browser).click(function() {
+ var cancel = $('
' + uiStrings.common.cancel + ' ').appendTo(browser).click(function() {
$('#imgbrowse_holder').hide();
}).css({
position: 'absolute',
@@ -289,16 +304,19 @@ svgEditor.addExtension("imagelib", function() {
var leftBlock = $('
').css({position:'absolute',top:5,left:10}).appendTo(browser);
- var back = $('Show library list ').appendTo(leftBlock).click(function() {
+ var back = $('' + uiStrings.imagelib.show_list + ' ').appendTo(leftBlock).click(function() {
frame.attr('src', 'about:blank').hide();
lib_opts.show();
header.text(all_libs);
back.hide();
}).css({
'margin-right': 5
- });
+ }).hide();
- var type = $('Import single Import multiple Open as new document ').appendTo(leftBlock).change(function() {
+ var type = $('' +
+ uiStrings.imagelib.import_single + ' ' +
+ uiStrings.imagelib.import_multi + ' ' +
+ uiStrings.imagelib.open + ' ').appendTo(leftBlock).change(function() {
mode = $(this).val();
switch (mode) {
case 's':
diff --git a/public/svg-edit/editor/extensions/ext-shapes.js b/public/svg-edit/editor/extensions/ext-shapes.js
index fa18f3fa..92f5db99 100644
--- a/public/svg-edit/editor/extensions/ext-shapes.js
+++ b/public/svg-edit/editor/extensions/ext-shapes.js
@@ -280,7 +280,7 @@ svgEditor.addExtension("shapes", function() {
});
// Make sure shape uses absolute values
- if(current_d.charAt(0) === 'm') {
+ if(/[a-z]/.test(current_d)) {
current_d = cur_lib.data[cur_shape_id] = canv.pathActions.convertPath(cur_shape);
cur_shape.setAttribute('d', current_d);
canv.pathActions.fixEnd(cur_shape);
diff --git a/public/svg-edit/editor/extensions/imagelib/index.html b/public/svg-edit/editor/extensions/imagelib/index.html
index fab9dbad..f5b674a4 100644
--- a/public/svg-edit/editor/extensions/imagelib/index.html
+++ b/public/svg-edit/editor/extensions/imagelib/index.html
@@ -14,7 +14,7 @@
$('a').click(function() {
var href = this.href;
-
+ var target = window.parent;
// Convert Non-SVG images to data URL first
// (this could also have been done server-side by the library)
if(this.href.indexOf('.svg') === -1) {
@@ -23,7 +23,7 @@ $('a').click(function() {
name: $(this).text(),
id: href
});
- window.top.postMessage(meta_str, "*");
+ target.postMessage(meta_str, "*");
var img = new Image();
img.onload = function() {
@@ -40,7 +40,7 @@ $('a').click(function() {
alert("Data URL conversion failed: " + err);
var dataurl = "";
}
- window.top.postMessage('|' + href + '|' + dataurl, "*");
+ target.postMessage('|' + href + '|' + dataurl, "*");
}
img.src = href;
} else {
@@ -49,12 +49,12 @@ $('a').click(function() {
name: $(this).text(),
id: href
});
- window.top.postMessage(meta_str, "*");
+ target.postMessage(meta_str, "*");
// Do ajax request for image's href value
$.get(href, function(data) {
data = '|' + href + '|' + data;
// This is where the magic happens!
- window.top.postMessage(data, "*");
+ target.postMessage(data, "*");
}, 'html'); // 'html' is necessary to keep returned data as a string
}
diff --git a/public/svg-edit/editor/history.js b/public/svg-edit/editor/history.js
index c0e9d88e..98eb5a36 100644
--- a/public/svg-edit/editor/history.js
+++ b/public/svg-edit/editor/history.js
@@ -11,11 +11,9 @@
// 2) svgtransformlist.js
// 3) svgutils.js
-(function() {
+var svgedit = svgedit || {};
-if (!window.svgedit) {
- window.svgedit = {};
-}
+(function() {
if (!svgedit.history) {
svgedit.history = {};
diff --git a/public/svg-edit/editor/images/svg_edit_icons.svg b/public/svg-edit/editor/images/svg_edit_icons.svg
index 2b1a3780..0ada459d 100644
--- a/public/svg-edit/editor/images/svg_edit_icons.svg
+++ b/public/svg-edit/editor/images/svg_edit_icons.svg
@@ -999,6 +999,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Layer 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/public/svg-edit/editor/jgraduate/css/jgraduate.css b/public/svg-edit/editor/jgraduate/css/jgraduate.css
index 4368e00e..238980a1 100644
--- a/public/svg-edit/editor/jgraduate/css/jgraduate.css
+++ b/public/svg-edit/editor/jgraduate/css/jgraduate.css
@@ -91,7 +91,6 @@ div.jGraduate_GradContainer {
div.jGraduate_GradContainer div.grad_coord {
background: #000;
border: 1px solid #fff;
- z-index: 2;
border-radius: 5px;
-moz-border-radius: 5px;
width: 10px;
diff --git a/public/svg-edit/editor/jgraduate/jquery.jgraduate.js b/public/svg-edit/editor/jgraduate/jquery.jgraduate.js
index cb1cc021..d4baa693 100644
--- a/public/svg-edit/editor/jgraduate/jquery.jgraduate.js
+++ b/public/svg-edit/editor/jgraduate/jquery.jgraduate.js
@@ -16,7 +16,9 @@ where options is an object literal:
{
window: { title: "Pick the start color and opacity for the gradient" },
images: { clientPath: "images/" },
- paint: a Paint object
+ paint: a Paint object,
+ newstop: String of value "same", "inverse", "black" or "white"
+ OR object with one or both values {color: #Hex color, opac: number 0-1}
}
- the Paint object is:
@@ -120,7 +122,8 @@ jQuery.fn.jGraduateDefaults = {
},
images: {
clientPath: "images/"
- }
+ },
+ newstop: 'inverse' // same, inverse, black, white
};
var isGecko = navigator.userAgent.indexOf('Gecko/') >= 0;
@@ -363,7 +366,40 @@ jQuery.fn.jGraduate =
grad = curGradient = $('#' + id + '_lg_jgraduate_grad')[0];
var color = $this.paint[curType];
mkStop(0, '#' + color, 1);
- mkStop(1, '#' + color, 0.5);
+
+ var type = typeof $settings.newstop;
+
+ if(type === 'string') {
+ switch ( $settings.newstop ) {
+ case 'same':
+ mkStop(1, '#' + color, 1);
+ break;
+
+ case 'inverse':
+ // Invert current color for second stop
+ var inverted = '';
+
+ for(var i = 0; i < 6; i += 2) {
+ var ch = color.substr(i, 2);
+ var inv = (255 - parseInt(color.substr(i, 2), 16)).toString(16);
+ if(inv.length < 2) inv = 0 + inv;
+ inverted += inv;
+ }
+ mkStop(1, '#' + inverted, 1);
+ break;
+
+ case 'white':
+ mkStop(1, '#ffffff', 1);
+ break;
+
+ case 'black':
+ mkStop(1, '#000000', 1);
+ break;
+ }
+ } else if(type === 'object'){
+ var opac = ('opac' in $settings.newstop) ? $settings.newstop.opac : 1;
+ mkStop(1, ($settings.newstop.color || '#' + color), opac);
+ }
}
@@ -420,15 +456,15 @@ jQuery.fn.jGraduate =
var coords = $(idref + ' .grad_coord');
- $(container).hover(function() {
- coords.animate({
- opacity: 1
- }, 500);
- }, function() {
- coords.animate({
- opacity: .2
- }, 500);
- });
+// $(container).hover(function() {
+// coords.animate({
+// opacity: 1
+// }, 500);
+// }, function() {
+// coords.animate({
+// opacity: .2
+// }, 500);
+// });
$.each(['x1', 'y1', 'x2', 'y2', 'cx', 'cy', 'fx', 'fy'], function(i, attr) {
var attrval = curGradient.getAttribute(attr);
@@ -654,7 +690,7 @@ jQuery.fn.jGraduate =
stopMakerSVG = mkElem('svg', {
width: '100%',
- height: 45,
+ height: 45
}, stopMakerDiv[0]);
var trans_pattern = mkElem('pattern', {
@@ -786,8 +822,6 @@ jQuery.fn.jGraduate =
var offset;
-
-
// No match, so show focus point
var showFocus = false;
@@ -978,7 +1012,7 @@ jQuery.fn.jGraduate =
elem: handle,
input: $(data.input),
parent: parent,
- offset: parent.offset(),
+ offset: parent.offset()
};
$win.mousemove(dragSlider).mouseup(stopSlider);
evt.preventDefault();
diff --git a/public/svg-edit/editor/jgraduate/jquery.jgraduate.min.js b/public/svg-edit/editor/jgraduate/jquery.jgraduate.min.js
index c149d2df..84144eec 100644
--- a/public/svg-edit/editor/jgraduate/jquery.jgraduate.min.js
+++ b/public/svg-edit/editor/jgraduate/jquery.jgraduate.min.js
@@ -1 +1,37 @@
-;var ns={svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"};if(!window.console){window.console=new function(){this.log=function(a){};this.dir=function(a){}}}$.jGraduate={Paint:function(b){var a=b||{};this.alpha=a.alpha||100;if(a.copy){this.type=a.copy.type;this.alpha=a.copy.alpha;switch(this.type){case"none":this.solidColor=null;this.linearGradient=null;break;case"solidColor":this.solidColor=a.copy.solidColor;this.linearGradient=null;break;case"linearGradient":this.solidColor=null;this.linearGradient=a.copy.linearGradient.cloneNode(true);break}}else{if(a.linearGradient){this.type="linearGradient";this.solidColor=null;this.linearGradient=a.linearGradient.cloneNode(true)}else{if(a.solidColor){this.type="solidColor";this.solidColor=a.solidColor}else{this.type="none";this.solidColor=null;this.linearGradient=null}}}}};jQuery.fn.jGraduateDefaults={paint:new $.jGraduate.Paint(),window:{pickerTitle:"Drag markers to pick a paint",},images:{clientPath:"images/",},};jQuery.fn.jGraduate=function(b){var a=arguments;return this.each(function(){var l=$(this),m=$.extend(true,{},jQuery.fn.jGraduateDefaults,b),H=l.attr("id"),e="#"+l.attr("id")+" ";if(!e){alert("Container element must have an id attribute to maintain unique id strings for sub-elements.");return}var c=function(){$.isFunction(l.okCallback)&&l.okCallback(l.paint);l.hide()},i=function(){$.isFunction(l.cancelCallback)&&l.cancelCallback();l.hide()};$.extend(true,l,{paint:new $.jGraduate.Paint({copy:m.paint}),okCallback:$.isFunction(a[1])&&a[1]||null,cancelCallback:$.isFunction(a[2])&&a[2]||null,});var F=l.position(),B=null;if(l.paint.type=="none"){l.paint=$.jGraduate.Paint({solidColor:"ffffff"})}l.addClass("jGraduate_Picker");l.html('Solid Color Linear Gradient
');var K=$(e+"> .jGraduate_colPick");var s=$(e+"> .jGraduate_lgPick");s.html('
');var N=256,E=0,D=0,j=15/2,w=N-2*E,u=N-2*D;var G=document.getElementById(H+"_jGraduate_GradContainer");var g=G.appendChild(document.createElementNS(ns.svg,"svg"));g.id=H+"_jgraduate_svg";g.setAttribute("width",N);g.setAttribute("height",N);g.setAttribute("xmlns",ns.svg);if(l.paint.type=="linearGradient"){l.paint.linearGradient.id=H+"_jgraduate_grad";l.paint.linearGradient=g.appendChild(document.importNode(l.paint.linearGradient,true))}else{var v=g.appendChild(document.createElementNS(ns.svg,"linearGradient"));v.id=H+"_jgraduate_grad";v.setAttribute("x1","0.0");v.setAttribute("y1","0.0");v.setAttribute("x2","1.0");v.setAttribute("y2","1.0");var o=v.appendChild(document.createElementNS(ns.svg,"stop"));o.setAttribute("offset","0.0");o.setAttribute("stop-color","#ff0000");var t=v.appendChild(document.createElementNS(ns.svg,"stop"));t.setAttribute("offset","1.0");t.setAttribute("stop-color","#ffff00");l.paint.linearGradient=v}var z=l.paint.alpha;$("#"+H+"_jGraduate_OpacityInput").val(z);var r=parseInt(255*(z/100))-4.5;$("#"+H+"_jGraduate_AlphaArrows").css({"margin-left":r});$("#"+H+"_jgraduate_rect").attr("fill-opacity",z/100);var q=parseFloat(l.paint.linearGradient.getAttribute("x1")||0);var Q=parseFloat(l.paint.linearGradient.getAttribute("y1")||0);var p=parseFloat(l.paint.linearGradient.getAttribute("x2")||1);var P=parseFloat(l.paint.linearGradient.getAttribute("y2")||0);var C=document.createElementNS(ns.svg,"rect");C.id=H+"_jgraduate_rect";C.setAttribute("x",E);C.setAttribute("y",D);C.setAttribute("width",u);C.setAttribute("height",u);C.setAttribute("fill","url(#"+H+"_jgraduate_grad)");C.setAttribute("fill-opacity","1.0");C=g.appendChild(C);var k=document.createElementNS(ns.svg,"image");k.id=H+"_stop1";k.setAttribute("class","stop");k.setAttributeNS(ns.xlink,"href",m.images.clientPath+"mappoint.gif");k.setAttributeNS(ns.xlink,"title","Begin Stop");k.appendChild(document.createElementNS(ns.svg,"title")).appendChild(document.createTextNode("Begin Stop"));k.setAttribute("width",18);k.setAttribute("height",18);k.setAttribute("x",E+w*q-j);k.setAttribute("y",D+u*Q-j);k.setAttribute("cursor","move");k=g.appendChild(k);var M=document.createElementNS(ns.svg,"image");M.id=H+"_stop2";M.setAttribute("class","stop");M.setAttributeNS(ns.xlink,"href",m.images.clientPath+"mappoint.gif");M.setAttributeNS(ns.xlink,"title","End Stop");M.appendChild(document.createElementNS(ns.svg,"title")).appendChild(document.createTextNode("End Stop"));M.setAttribute("width",18);M.setAttribute("height",18);M.setAttribute("x",E+w*p-j);M.setAttribute("y",D+u*P-j);M.setAttribute("cursor","move");M=g.appendChild(M);$("#"+H+"_jGraduate_Ok").bind("click",function(){l.paint.type="linearGradient";l.paint.solidColor=null;c()});$("#"+H+"_jGraduate_Cancel").bind("click",function(R){i()});var q=l.paint.linearGradient.getAttribute("x1");if(!q){q="0.0"}x1Input=$("#"+H+"_jGraduate_x1");x1Input.val(q);x1Input.change(function(){if(isNaN(parseFloat(this.value))||this.value<0||this.value>1){this.value=0}l.paint.linearGradient.setAttribute("x1",this.value);k.setAttribute("x",E+w*this.value-j)});var Q=l.paint.linearGradient.getAttribute("y1");if(!Q){Q="0.0"}y1Input=$("#"+H+"_jGraduate_y1");y1Input.val(Q);y1Input.change(function(){if(isNaN(parseFloat(this.value))||this.value<0||this.value>1){this.value=0}l.paint.linearGradient.setAttribute("y1",this.value);k.setAttribute("y",D+u*this.value-j)});var p=l.paint.linearGradient.getAttribute("x2");if(!p){p="1.0"}x2Input=$("#"+H+"_jGraduate_x2");x2Input.val(p);x2Input.change(function(){if(isNaN(parseFloat(this.value))||this.value<0||this.value>1){this.value=1}l.paint.linearGradient.setAttribute("x2",this.value);M.setAttribute("x",E+w*this.value-j)});var P=l.paint.linearGradient.getAttribute("y2");if(!P){P="0.0"}y2Input=$("#"+H+"_jGraduate_y2");y2Input.val(P);y2Input.change(function(){if(isNaN(parseFloat(this.value))||this.value<0||this.value>1){this.value=0}l.paint.linearGradient.setAttribute("y2",this.value);M.setAttribute("y",D+u*this.value-j)});var A=l.paint.linearGradient.getElementsByTagNameNS(ns.svg,"stop");var I=A.length;if(I<2){while(I<2){l.paint.linearGradient.appendChild(document.createElementNS(ns.svg,"stop"));++I}A=l.paint.linearGradient.getElementsByTagNameNS(ns.svg,"stop")}var n=function(T,V){var U=V.offset();var S=(T.pageX-U.left-parseInt(V.css("border-left-width")));if(S>255){S=255}if(S<0){S=0}var R=S-4.5;S/=255;$("#"+H+"_jGraduate_AlphaArrows").css({"margin-left":R});$("#"+H+"_jgraduate_rect").attr("fill-opacity",S);S=parseInt(S*100);$("#"+H+"_jGraduate_OpacityInput").val(S);l.paint.alpha=S};var O=false;$(".jGraduate_Opacity").mousedown(function(R){n(R,$(this));O=true;R.preventDefault()});$(".jGraduate_Opacity").mousemove(function(R){if(O){n(R,$(this));R.preventDefault()}});$(".jGraduate_Opacity").mouseup(function(R){n(R,$(this));O=false;R.preventDefault()});var L=null;var h=-1,f=-1;$(".stop, #color_picker_jGraduate_GradContainer image").mousedown(function(R){L=this;h=R.clientX;f=R.clientY;R.preventDefault()});$("#"+H+"_jgraduate_svg").mousemove(function(T){if(null!=L){var V=T.clientX-h;var S=T.clientY-f;h+=V;f+=S;var R=parseFloat(L.getAttribute("x"))+V;var X=parseFloat(L.getAttribute("y"))+S;if(RE+w-j){R=E+w-j}if(X>D+u-j){X=D+u-j}L.setAttribute("x",R);L.setAttribute("y",X);var W=(R-E+j)/w;var U=(X-D+j)/u;if(L.id==(H+"_stop1")){x1Input.val(W);y1Input.val(U);l.paint.linearGradient.setAttribute("x1",W);l.paint.linearGradient.setAttribute("y1",U)}else{x2Input.val(W);y2Input.val(U);l.paint.linearGradient.setAttribute("x2",W);l.paint.linearGradient.setAttribute("y2",U)}T.preventDefault()}});$("#"+H+"_jgraduate_svg").mouseup(function(R){L=null});var J=A[0].getAttribute("stop-color");if(!J){J="#000"}beginColorBox=$("#"+H+"_jGraduate_colorBoxBegin");beginColorBox.css({"background-color":J});var x=A[0].getAttribute("stop-opacity");if(!x){x="1.0"}$("#"+H+"jGraduate_beginOpacity").html((x*100)+"%");var d=A[A.length-1].getAttribute("stop-color");if(!d){d="#000"}endColorBox=$("#"+H+"_jGraduate_colorBoxEnd");endColorBox.css({"background-color":d});var y=A[A.length-1].getAttribute("stop-opacity");if(!y){y="1.0"}$("#"+H+"jGraduate_endOpacity").html((y*100)+"%");$("#"+H+"_jGraduate_colorBoxBegin").click(function(){$("div.jGraduate_LightBox").show();var R=$(this);B=new $.jPicker.Color({hex:J.substr(1),a:(parseFloat(x)*100)});$("#"+H+"_jGraduate_stopPicker").css({left:100,bottom:15}).jPicker({window:{title:"Pick the start color and opacity for the gradient"},images:{clientPath:m.images.clientPath},color:{active:B,alphaSupport:true}},function(S){J="#"+this.settings.color.active.hex;x=this.settings.color.active.a/100;R.css("background",J);$("#"+H+"_jGraduate_beginOpacity").html(parseInt(x*100)+"%");A[0].setAttribute("stop-color",J);A[0].setAttribute("stop-opacity",x);$("div.jGraduate_LightBox").hide();$("#"+H+"_jGraduate_stopPicker").hide()},null,function(){$("div.jGraduate_LightBox").hide();$("#"+H+"_jGraduate_stopPicker").hide()})});$("#"+H+"_jGraduate_colorBoxEnd").click(function(){$("div.jGraduate_LightBox").show();var R=$(this);B=new $.jPicker.Color({hex:d.substr(1),a:(parseFloat(y)*100)});$("#"+H+"_jGraduate_stopPicker").css({left:100,top:15}).jPicker({window:{title:"Pick the end color and opacity for the gradient"},images:{clientPath:m.images.clientPath},color:{active:B,alphaSupport:true}},function(S){d="#"+this.settings.color.active.hex;y=this.settings.color.active.a/100;R.css("background",d);$("#"+H+"_jGraduate_endOpacity").html(parseInt(y*100)+"%");A[1].setAttribute("stop-color",d);A[1].setAttribute("stop-opacity",y);$("div.jGraduate_LightBox").hide();$("#"+H+"_jGraduate_stopPicker").hide()},null,function(){$("div.jGraduate_LightBox").hide();$("#"+H+"_jGraduate_stopPicker").hide()})});K.jPicker({window:{title:m.window.pickerTitle},images:{clientPath:m.images.clientPath},color:{active:new $.jPicker.Color({hex:l.paint.solidColor,a:l.paint.alpha}),alphaSupport:true}},function(R){l.paint.type="solidColor";l.paint.alpha=R.a;l.paint.solidColor=R.hex;l.paint.linearGradient=null;c()},null,function(){i()});$(e+" .jGraduate_tab_color").click(function(){$(e+" .jGraduate_tab_lingrad").removeClass("jGraduate_tab_current");$(e+" .jGraduate_tab_color").addClass("jGraduate_tab_current");s.hide();K.show()});$(e+" .jGraduate_tab_lingrad").click(function(){$(e+" .jGraduate_tab_color").removeClass("jGraduate_tab_current");$(e+" .jGraduate_tab_lingrad").addClass("jGraduate_tab_current");K.hide();s.show()});if(l.paint.type=="linearGradient"){s.show();K.hide();$(e+" .jGraduate_tab_color").removeClass("jGraduate_tab_current");$(e+" .jGraduate_tab_lingrad").addClass("jGraduate_tab_current")}else{K.show();s.hide();$(e+" .jGraduate_tab_color").addClass("jGraduate_tab_current");$(e+" .jGraduate_tab_lingrad").removeClass("jGraduate_tab_current")}l.show()})};
\ No newline at end of file
+(function(){function r(i,z,t){i=document.createElementNS(A.svg,i);if(Ba)for(var B in z)i.setAttribute(B,z[B]);else for(B in z){var W=z[B],w=i[B];if(w&&w.constructor==="SVGLength")w.baseVal.value=W;else i.setAttribute(B,W)}t&&t.appendChild(i);return i}var A={svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"};if(!window.console)window.console=new function(){this.log=function(){};this.dir=function(){}};$.jGraduate={Paint:function(i){i=i||{};this.alpha=isNaN(i.alpha)?100:i.alpha;if(i.copy){this.type=
+i.copy.type;this.alpha=i.copy.alpha;this.radialGradient=this.linearGradient=this.solidColor=null;switch(this.type){case "solidColor":this.solidColor=i.copy.solidColor;break;case "linearGradient":this.linearGradient=i.copy.linearGradient.cloneNode(true);break;case "radialGradient":this.radialGradient=i.copy.radialGradient.cloneNode(true)}}else if(i.linearGradient){this.type="linearGradient";this.radialGradient=this.solidColor=null;this.linearGradient=i.linearGradient.cloneNode(true)}else if(i.radialGradient){this.type=
+"radialGradient";this.linearGradient=this.solidColor=null;this.radialGradient=i.radialGradient.cloneNode(true)}else if(i.solidColor){this.type="solidColor";this.solidColor=i.solidColor}else{this.type="none";this.radialGradient=this.linearGradient=this.solidColor=null}}};jQuery.fn.jGraduateDefaults={paint:new $.jGraduate.Paint,window:{pickerTitle:"Drag markers to pick a paint"},images:{clientPath:"images/"},newstop:"inverse"};var Ba=navigator.userAgent.indexOf("Gecko/")>=0;jQuery.fn.jGraduate=function(i){var z=
+arguments;return this.each(function(){function t(c,a,d,h,f){var l=f||r("stop",{"stop-color":a,"stop-opacity":d,offset:c},g);if(f){a=f.getAttribute("stop-color");d=f.getAttribute("stop-opacity");c=f.getAttribute("offset")}else g.appendChild(l);if(d===null)d=1;f=r("path",{d:"M-6.2,0.9c3.6-4,6.7-4.3,6.7-12.4c-0.2,7.9,3.1,8.8,6.5,12.4c3.5,3.8,2.9,9.6,0,12.3c-3.1,2.8-10.4,2.7-13.2,0C-9.6,9.9-9.4,4.4-6.2,0.9z",fill:"url(#jGraduate_trans)",transform:"translate("+(10+c*j)+", 26)"},fa);var X=r("path",{d:"M-6.2,0.9c3.6-4,6.7-4.3,6.7-12.4c-0.2,7.9,3.1,8.8,6.5,12.4c3.5,3.8,2.9,9.6,0,12.3c-3.1,2.8-10.4,2.7-13.2,0C-9.6,9.9-9.4,4.4-6.2,0.9z",
+fill:a,"fill-opacity":d,transform:"translate("+(10+c*j)+", 26)",stroke:"#000","stroke-width":1.5},fa);$(X).mousedown(function(M){B(this);R=F;N.mousemove(la).mouseup(W);S=ga.offset();M.preventDefault();return false}).data("stop",l).data("bg",f).dblclick(function(){$("div.jGraduate_LightBox").show();for(var M=this,I=+l.getAttribute("stop-opacity")||1,C=l.getAttribute("stop-color")||1,Y=(parseFloat(I)*255).toString(16);Y.length<2;)Y="0"+Y;a=C.substr(1)+Y;$("#"+b+"_jGraduate_stopPicker").css({left:100,
+bottom:15}).jPicker({window:{title:"Pick the start color and opacity for the gradient"},images:{clientPath:o.images.clientPath},color:{active:a,alphaSupport:true}},function(Z){C=Z.val("hex")?"#"+Z.val("hex"):"none";I=Z.val("a")!==null?Z.val("a")/256:1;M.setAttribute("fill",C);M.setAttribute("fill-opacity",I);l.setAttribute("stop-color",C);l.setAttribute("stop-opacity",I);$("div.jGraduate_LightBox").hide();$("#"+b+"_jGraduate_stopPicker").hide()},null,function(){$("div.jGraduate_LightBox").hide();
+$("#"+b+"_jGraduate_stopPicker").hide()})});$(g).find("stop").each(function(){var M=$(this);if(+this.getAttribute("offset")>c){if(!a){var I=this.getAttribute("stop-color"),C=this.getAttribute("stop-opacity");l.setAttribute("stop-color",I);X.setAttribute("fill",I);l.setAttribute("stop-opacity",C===null?1:C);X.setAttribute("fill-opacity",C===null?1:C)}M.before(l);return false}});h&&B(X);return l}function B(c){F&&F.setAttribute("stroke","#000");c.setAttribute("stroke","blue");F=c;F.parentNode.appendChild(F)}
+function W(){N.unbind("mousemove",la);if(O.getAttribute("display")!=="none"){O.setAttribute("display","none");var c=$(F),a=c.data("stop");c=c.data("bg");$([F,a,c]).remove()}R=null}function w(){var c=T?"rotate("+T+","+ha+","+ia+") ":"";J===1&&G===1?g.removeAttribute("gradientTransform"):g.setAttribute("gradientTransform",c+"translate("+-ha*(J-1)+","+-ia*(G-1)+") scale("+J+","+G+")")}function la(c){var a=c.pageX-S.left;c=c.pageY-S.top;a=a<10?10:a>j+10?j+10:a;var d="translate("+a+", 26)";if(c<-60||c>
+130){O.setAttribute("display","block");O.setAttribute("transform",d)}else O.setAttribute("display","none");R.setAttribute("transform",d);$.data(R,"bg").setAttribute("transform",d);$.data(R,"stop").setAttribute("offset",(a-10)/j);var h=0;$(g).find("stop").each(function(){var f=this.getAttribute("offset"),l=$(this);if(fSolid Color Linear Gradient Radial Gradient
');var Ca=$(s+"> .jGraduate_colPick"),
+n=$(s+"> .jGraduate_gradPick");n.html('Spread method Pad Reflect Repeat
');var j=256,oa=j-0,pa=j-0,p,g,aa,q={};$(".jGraduate_SliderBar").width(145);var x=$("#"+b+"_jGraduate_GradContainer")[0],m=r("svg",{id:b+"_jgraduate_svg",width:j,height:j,xmlns:A.svg},x);p=p||e.paint.type;var v=g=e.paint[p],U=e.paint.alpha,ba=p==="solidColor";switch(p){case "solidColor":case "linearGradient":if(!ba){g.id=b+"_lg_jgraduate_grad";v=g=m.appendChild(g)}r("radialGradient",
+{id:b+"_rg_jgraduate_grad"},m);if(p==="linearGradient")break;case "radialGradient":if(!ba){g.id=b+"_rg_jgraduate_grad";v=g=m.appendChild(g)}r("linearGradient",{id:b+"_lg_jgraduate_grad"},m)}if(ba){v=g=$("#"+b+"_lg_jgraduate_grad")[0];u=e.paint[p];t(0,"#"+u,1);var K=typeof o.newstop;if(K==="string")switch(o.newstop){case "same":t(1,"#"+u,1);break;case "inverse":K="";for(var y=0;y<6;y+=2){u.substr(y,2);var P=(255-parseInt(u.substr(y,2),16)).toString(16);if(P.length<2)P=0+P;K+=P}t(1,"#"+K,1);break;case "white":t(1,
+"#ffffff",1);break;case "black":t(1,"#000000",1)}else if(K==="object")t(1,o.newstop.color||"#"+u,"opac"in o.newstop?o.newstop.opac:1)}u=parseFloat(v.getAttribute("x1")||0);K=parseFloat(v.getAttribute("y1")||0);y=parseFloat(v.getAttribute("x2")||1);P=parseFloat(v.getAttribute("y2")||0);var ca=parseFloat(v.getAttribute("cx")||0.5),da=parseFloat(v.getAttribute("cy")||0.5),qa=parseFloat(v.getAttribute("fx")||ca),ra=parseFloat(v.getAttribute("fy")||da);aa=r("rect",{id:b+"_jgraduate_rect",x:0,y:0,width:oa,
+height:pa,fill:"url(#"+b+"_jgraduate_grad)","fill-opacity":U/100},m);var sa=$("
").attr({"class":"grad_coord jGraduate_lg_field",title:"Begin Stop"}).text(1).css({top:K*j,left:u*j}).data("coord","start").appendTo(x),Da=sa.clone().text(2).css({top:P*j,left:y*j}).attr("title","End stop").data("coord","end").appendTo(x),ta=$("
").attr({"class":"grad_coord jGraduate_rg_field",title:"Center stop"}).text("C").css({top:da*j,left:ca*j}).data("coord","center").appendTo(x),V=ta.clone().text("F").css({top:ra*
+j,left:qa*j,display:"none"}).attr("title","Focus point").data("coord","focus").appendTo(x);V[0].id=b+"_jGraduate_focusCoord";$(s+" .grad_coord");$.each(["x1","y1","x2","y2","cx","cy","fx","fy"],function(c,a){var d=g.getAttribute(a),h=isNaN(a[1]);d||(d=h?"0.5":a==="x2"?"1.0":"0.0");q[a]=$("#"+b+"_jGraduate_"+a).val(d).change(function(){if(isNaN(parseFloat(this.value))||this.value<0)this.value=0;else if(this.value>1)this.value=1;if(!(a[0]==="f"&&!E))if(h&&p==="radialGradient"||!h&&p==="linearGradient")g.setAttribute(a,
+this.value);var f=h?a[0]==="c"?ta:V:a[1]==="1"?sa:Da,l=a.indexOf("x")>=0?"left":"top";f.css(l,this.value*j)}).change()});var D,fa,ga=$("#"+b+"_jGraduate_StopSlider"),F,H,R,O=r("path",{d:"m9.75,-6l-19.5,19.5m0,-19.5l19.5,19.5",fill:"none",stroke:"#D00","stroke-width":5,display:"none"},H),S,J=1,G=1,T=0,ha=ca,ia=da;H=r("svg",{width:"100%",height:45},ga[0]);x=r("pattern",{width:16,height:16,patternUnits:"userSpaceOnUse",id:"jGraduate_trans"},H);r("image",{width:16,height:16},x).setAttributeNS(A.xlink,
+"xlink:href",o.images.clientPath+"map-opacity.png");$(H).click(function(c){S=ga.offset();if(c.target.tagName!=="path"){var a=c.pageX-S.left-8;a=a<10?10:a>j+10?j+10:a;t(a/j,0,0,true);c.stopPropagation()}});$(H).mouseover(function(){H.appendChild(O)});fa=r("g",{},H);r("line",{x1:10,y1:15,x2:j+10,y2:15,"stroke-width":2,stroke:"#000"},H);var ua=n.find(".jGraduate_spreadMethod").change(function(){g.setAttribute("spreadMethod",$(this).val())}),Q=null,va=function(c){var a=c.pageX-ja.left,d=c.pageY-ja.top;
+a=a<0?0:a>j?j:a;d=d<0?0:d>j?j:d;Q.css("left",a).css("top",d);a=a/oa;d=d/pa;var h=Q.data("coord"),f=g;switch(h){case "start":q.x1.val(a);q.y1.val(d);f.setAttribute("x1",a);f.setAttribute("y1",d);break;case "end":q.x2.val(a);q.y2.val(d);f.setAttribute("x2",a);f.setAttribute("y2",d);break;case "center":q.cx.val(a);q.cy.val(d);f.setAttribute("cx",a);f.setAttribute("cy",d);ha=a;ia=d;w();break;case "focus":q.fx.val(a);q.fy.val(d);f.setAttribute("fx",a);f.setAttribute("fy",d);w()}c.preventDefault()},wa=
+function(){Q=null;N.unbind("mousemove",va).unbind("mouseup",wa)};D=g.getElementsByTagNameNS(A.svg,"stop");if(k<2){for(;k<2;){g.appendChild(document.createElementNS(A.svg,"stop"));++k}D=g.getElementsByTagNameNS(A.svg,"stop")}var k=D.length;for(y=0;y99.5)h=99.5;if(h>0)G=1-h/100;else J=-(h/100)-1;f=145*((h+100)/2)/100;l&&w();break;case "angle":T=h;f=T/180;f+=0.5;f*=145;l&&w()}if(f>145)f=145;else if(f<0)f=0;d.css({"margin-left":f-5})}).change()});var za=function(c){var a=c.pageX-L.offset.left-parseInt(L.parent.css("border-left-width"));if(a>145)a=145;if(a<=0)a=0;var d=a-5;a/=145;switch(L.type){case "radius":a=
+Math.pow(a*2,2.5);if(a>0.98&&a<1.02)a=1;if(a<=0.01)a=0.01;g.setAttribute("r",a);break;case "opacity":e.paint.alpha=parseInt(a*100);aa.setAttribute("fill-opacity",a);break;case "ellip":G=J=1;if(a<0.5){a/=0.5;J=a<=0?0.01:a}else if(a>0.5){a/=0.5;a=2-a;G=a<=0?0.01:a}w();a-=1;if(G===a+1)a=Math.abs(a);break;case "angle":a-=0.5;T=a*=180;w();a/=100}L.elem.css({"margin-left":d});a=Math.round(a*100);L.input.val(a);c.preventDefault()},Aa=function(){N.unbind("mousemove",za).unbind("mouseup",Aa);L=null};for(n=
+(e.paint.alpha*255/100).toString(16);n.length<2;)n="0"+n;n=n.split(".")[0];u=e.paint.solidColor=="none"?"":e.paint.solidColor+n;ba||(u=D[0].getAttribute("stop-color"));$.extend($.fn.jPicker.defaults.window,{alphaSupport:true,effects:{type:"show",speed:0}});Ca.jPicker({window:{title:o.window.pickerTitle},images:{clientPath:o.images.clientPath},color:{active:u,alphaSupport:true}},function(c){e.paint.type="solidColor";e.paint.alpha=c.val("ahex")?Math.round(c.val("a")/255*100):100;e.paint.solidColor=
+c.val("hex")?c.val("hex"):"none";e.paint.radialGradient=null;ma()},null,function(){na()});var ka=$(s+" .jGraduate_tabs li");ka.click(function(){ka.removeClass("jGraduate_tab_current");$(this).addClass("jGraduate_tab_current");$(s+" > div").hide();var c=$(this).attr("data-type");$(s+" .jGraduate_gradPick").show();if(c==="rg"||c==="lg"){$(".jGraduate_"+c+"_field").show();$(".jGraduate_"+(c==="lg"?"rg":"lg")+"_field").hide();$("#"+b+"_jgraduate_rect")[0].setAttribute("fill","url(#"+b+"_"+c+"_jgraduate_grad)");
+p=c==="lg"?"linearGradient":"radialGradient";$("#"+b+"_jGraduate_OpacInput").val(e.paint.alpha).change();var a=$("#"+b+"_"+c+"_jgraduate_grad")[0];if(g!==a){var d=$(g).find("stop");$(a).empty().append(d);g=a;a=ua.val();g.setAttribute("spreadMethod",a)}E=c==="rg"&&g.getAttribute("fx")!=null&&!(ca==qa&&da==ra);$("#"+b+"_jGraduate_focusCoord").toggle(E);if(E)$("#"+b+"_jGraduate_match_ctr")[0].checked=false}else{$(s+" .jGraduate_gradPick").hide();$(s+" .jGraduate_colPick").show()}});$(s+" > div").hide();
+ka.removeClass("jGraduate_tab_current");var ea;switch(e.paint.type){case "linearGradient":ea=$(s+" .jGraduate_tab_lingrad");break;case "radialGradient":ea=$(s+" .jGraduate_tab_radgrad");break;default:ea=$(s+" .jGraduate_tab_color")}e.show();setTimeout(function(){ea.addClass("jGraduate_tab_current").click()},10)}else alert("Container element must have an id attribute to maintain unique id strings for sub-elements.")})}})();
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.af.js b/public/svg-edit/editor/locale/lang.af.js
index 07f13216..37d8cb2d 100644
--- a/public/svg-edit/editor/locale/lang.af.js
+++ b/public/svg-edit/editor/locale/lang.af.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align in verhouding tot ..."},
-{"id": "bkgnd_color", "title": "Verander agtergrondkleur / opaciteit"},
-{"id": "circle_cx", "title": "Verandering sirkel se cx koördineer"},
-{"id": "circle_cy", "title": "Verandering sirkel se cy koördineer"},
-{"id": "circle_r", "title": "Verandering sirkel se radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Verandering Rechthoek Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Verandering ellips se cx koördineer"},
-{"id": "ellipse_cy", "title": "Verander ellips se cy koördineer"},
-{"id": "ellipse_rx", "title": "Verandering ellips se x radius"},
-{"id": "ellipse_ry", "title": "Verander ellips se j radius"},
-{"id": "fill_color", "title": "Verandering vul kleur"},
-{"id": "fitToContent", "textContent": "Pas na inhoud"},
-{"id": "fit_to_all", "textContent": "Passing tot al inhoud"},
-{"id": "fit_to_canvas", "textContent": "Passing tot doek"},
-{"id": "fit_to_layer_content", "textContent": "Passing tot laag inhoud"},
-{"id": "fit_to_sel", "textContent": "Passing tot seleksie"},
-{"id": "font_family", "title": "Lettertipe verander Familie"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Verandering prent hoogte"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "URL verander"},
-{"id": "image_width", "title": "Verander prent breedte"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "grootste voorwerp"},
-{"id": "layer_delete", "title": "Verwyder Laag"},
-{"id": "layer_down", "title": "Beweeg afbreek Down"},
-{"id": "layer_new", "title": "Nuwe Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Beweeg afbreek Up"},
-{"id": "layersLabel", "textContent": "Lae:"},
-{"id": "line_x1", "title": "Verandering lyn se vertrek x koördinaat"},
-{"id": "line_x2", "title": "Verandering lyn se eindig x koördinaat"},
-{"id": "line_y1", "title": "Verandering lyn se vertrek y koördinaat"},
-{"id": "line_y2", "title": "Verandering lyn se eindig y koördinaat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "bladsy"},
-{"id": "palette", "title": "Klik om te verander vul kleur, verskuiwing klik om 'n beroerte kleur verander"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Verandering reghoek hoogte"},
-{"id": "rect_width_tool", "title": "Verandering reghoek breedte"},
-{"id": "relativeToLabel", "textContent": "relatief tot:"},
-{"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": "Kies gedefinieerde:"},
-{"id": "selected_objects", "textContent": "verkose voorwerpe"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "kleinste voorwerp"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Verandering beroerte kleur"},
-{"id": "stroke_style", "title": "Verandering beroerte dash styl"},
-{"id": "stroke_width", "title": "Verandering beroerte breedte"},
-{"id": "svginfo_bg_note", "textContent": "Note: Background will not be saved with image."},
-{"id": "svginfo_change_background", "textContent": "Editor Background"},
-{"id": "svginfo_dim", "textContent": "Doek Dimensions"},
-{"id": "svginfo_editor_prefs", "textContent": "Editor Preferences"},
-{"id": "svginfo_height", "textContent": "Lengte:"},
-{"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": "Wydte:"},
-{"id": "text", "title": "Verander teks inhoud"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Rig Middel"},
-{"id": "tool_alignleft", "title": "Links Regterkant"},
-{"id": "tool_alignmiddle", "title": "Align Midde"},
-{"id": "tool_alignright", "title": "Lijn regs uit"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Verandering rotasie-hoek"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Vetgedrukte teks"},
-{"id": "tool_circle", "title": "Sirkel"},
-{"id": "tool_clear", "textContent": "Nuwe Beeld"},
-{"id": "tool_clone", "title": "Kloon Element"},
-{"id": "tool_clone_multi", "title": "Kloon Elemente"},
-{"id": "tool_delete", "title": "Verwyder Element"},
-{"id": "tool_delete_multi", "title": "Verwyder geselekteerde Elemente"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Annuleer"},
-{"id": "tool_docprops_save", "textContent": "Spaar"},
-{"id": "tool_ellipse", "title": "Ellips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Gratis-Hand Ellips"},
-{"id": "tool_fhpath", "title": "Potlood tool"},
-{"id": "tool_fhrect", "title": "Free-hand Rectangle"},
-{"id": "tool_font_size", "title": "Verandering Lettertipe Grootte"},
-{"id": "tool_group", "title": "Groep Elemente"},
-{"id": "tool_image", "title": "Image Gereedskap"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Lyn Gereedskap"},
-{"id": "tool_move_bottom", "title": "Skuif na Bottom"},
-{"id": "tool_move_top", "title": "Skuif na bo"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Verander geselekteerde item opaciteit"},
-{"id": "tool_open", "textContent": "Open Beeld"},
-{"id": "tool_path", "title": "Poli Gereedskap"},
-{"id": "tool_rect", "title": "Reghoek"},
-{"id": "tool_redo", "title": "Oordoen"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Slaan Beeld"},
-{"id": "tool_select", "title": "Select Gereedschap"},
-{"id": "tool_source", "title": "Wysig Bron"},
-{"id": "tool_source_cancel", "textContent": "Annuleer"},
-{"id": "tool_source_save", "textContent": "Spaar"},
-{"id": "tool_square", "title": "Vierkant"},
-{"id": "tool_text", "title": "Text Gereedskap"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Boontoe"},
-{"id": "tool_ungroup", "title": "Ungroup Elemente"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Klik op die Gereedskap"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change zoom vlak"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "af",
+ dir : "ltr",
+ common: {
+ "ok": "Spaar",
+ "cancel": "Annuleer",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klik om te verander vul kleur, verskuiwing klik om 'n beroerte kleur verander",
+ "zoom_level": "Change zoom vlak",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Verandering vul kleur",
+ "stroke_color": "Verandering beroerte kleur",
+ "stroke_style": "Verandering beroerte dash styl",
+ "stroke_width": "Verandering beroerte breedte",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Verandering rotasie-hoek",
+ "blur": "Change gaussian blur value",
+ "opacity": "Verander geselekteerde item opaciteit",
+ "circle_cx": "Verandering sirkel se cx koördineer",
+ "circle_cy": "Verandering sirkel se cy koördineer",
+ "circle_r": "Verandering sirkel se radius",
+ "ellipse_cx": "Verandering ellips se cx koördineer",
+ "ellipse_cy": "Verander ellips se cy koördineer",
+ "ellipse_rx": "Verandering ellips se x radius",
+ "ellipse_ry": "Verander ellips se j radius",
+ "line_x1": "Verandering lyn se vertrek x koördinaat",
+ "line_x2": "Verandering lyn se eindig x koördinaat",
+ "line_y1": "Verandering lyn se vertrek y koördinaat",
+ "line_y2": "Verandering lyn se eindig y koördinaat",
+ "rect_height": "Verandering reghoek hoogte",
+ "rect_width": "Verandering reghoek breedte",
+ "corner_radius": "Verandering Rechthoek Corner Radius",
+ "image_width": "Verander prent breedte",
+ "image_height": "Verandering prent hoogte",
+ "image_url": "URL verander",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Verander teks inhoud",
+ "font_family": "Lettertipe verander Familie",
+ "font_size": "Verandering Lettertipe Grootte",
+ "bold": "Vetgedrukte teks",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Verander agtergrondkleur / opaciteit",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Pas na inhoud",
+ "fit_to_all": "Passing tot al inhoud",
+ "fit_to_canvas": "Passing tot doek",
+ "fit_to_layer_content": "Passing tot laag inhoud",
+ "fit_to_sel": "Passing tot seleksie",
+ "align_relative_to": "Align in verhouding tot ...",
+ "relativeTo": "relatief tot:",
+ "bladsy": "bladsy",
+ "largest_object": "grootste voorwerp",
+ "selected_objects": "verkose voorwerpe",
+ "smallest_object": "kleinste voorwerp",
+ "new_doc": "Nuwe Beeld",
+ "open_doc": "Open Beeld",
+ "export_png": "Export as PNG",
+ "save_doc": "Slaan Beeld",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Rig Middel",
+ "align_left": "Links Regterkant",
+ "align_middle": "Align Midde",
+ "align_right": "Lijn regs uit",
+ "align_top": "Align Top",
+ "mode_select": "Select Gereedschap",
+ "mode_fhpath": "Potlood tool",
+ "mode_line": "Lyn Gereedskap",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-hand Rectangle",
+ "mode_ellipse": "Ellips",
+ "mode_circle": "Sirkel",
+ "mode_fhellipse": "Gratis-Hand Ellips",
+ "mode_path": "Poli Gereedskap",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Gereedskap",
+ "mode_image": "Image Gereedskap",
+ "mode_zoom": "Klik op die Gereedskap",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Boontoe",
+ "redo": "Oordoen",
+ "tool_source": "Wysig Bron",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Groep Elemente",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elemente",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Skuif na Bottom",
+ "move_top": "Skuif na bo",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Spaar",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Verwyder Laag",
+ "move_down": "Beweeg afbreek Down",
+ "new": "Nuwe Layer",
+ "rename": "Rename Layer",
+ "move_up": "Beweeg afbreek Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Doek Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Kies gedefinieerde:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ar.js b/public/svg-edit/editor/locale/lang.ar.js
index 26e8fba4..d1076f1e 100644
--- a/public/svg-edit/editor/locale/lang.ar.js
+++ b/public/svg-edit/editor/locale/lang.ar.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "محاذاة النسبي ل ..."},
-{"id": "bkgnd_color", "title": "تغير لون الخلفية / غموض"},
-{"id": "circle_cx", "title": "دائرة التغيير لتنسيق cx"},
-{"id": "circle_cy", "title": "Change circle's cy coordinate"},
-{"id": "circle_r", "title": "التغيير في دائرة نصف قطرها"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "تغيير مستطيل ركن الشعاع"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "تغيير شكل البيضاوي cx تنسيق"},
-{"id": "ellipse_cy", "title": "تغيير شكل البيضاوي قبرصي تنسيق"},
-{"id": "ellipse_rx", "title": "تغيير شكل البيضاوي خ نصف قطرها"},
-{"id": "ellipse_ry", "title": "تغيير القطع الناقص في دائرة نصف قطرها ذ"},
-{"id": "fill_color", "title": "تغير لون التعبئة"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "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": "تغيير الخط لبدء تنسيق خ"},
-{"id": "line_x2", "title": "تغيير الخط لانهاء خ تنسيق"},
-{"id": "line_y1", "title": "تغيير الخط لبدء تنسيق ذ"},
-{"id": "line_y2", "title": "تغيير الخط لإنهاء تنسيق ذ"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "الصفحة"},
-{"id": "palette", "title": "انقر لتغيير لون التعبئة ، تحولا مزدوجا فوق لتغيير لون السكتة الدماغية"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "تغيير المستطيل الارتفاع"},
-{"id": "rect_width_tool", "title": "تغيير عرض المستطيل"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "تغيير زاوية الدوران"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "اليد الحرة البيضوي"},
-{"id": "tool_fhpath", "title": "أداة قلم رصاص"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "تغيير حجم الخط"},
-{"id": "tool_group", "title": "مجموعة عناصر"},
-{"id": "tool_image", "title": "الصورة أداة"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "تغيير مختارة غموض البند"},
-{"id": "tool_open", "textContent": "فتح الصورة"},
-{"id": "tool_path", "title": "بولي أداة"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "تغيير مستوى التكبير"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ar",
+ dir : "ltr",
+ common: {
+ "ok": "حفظ",
+ "cancel": "إلغاء",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "انقر لتغيير لون التعبئة ، تحولا مزدوجا فوق لتغيير لون السكتة الدماغية",
+ "zoom_level": "تغيير مستوى التكبير",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "تغير لون التعبئة",
+ "stroke_color": "تغير لون السكتة الدماغية",
+ "stroke_style": "تغيير نمط السكتة الدماغية اندفاعة",
+ "stroke_width": "تغيير عرض السكتة الدماغية",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change circle's cy coordinate",
+ "circle_r": "التغيير في دائرة نصف قطرها",
+ "ellipse_cx": "تغيير شكل البيضاوي cx تنسيق",
+ "ellipse_cy": "تغيير شكل البيضاوي قبرصي تنسيق",
+ "ellipse_rx": "تغيير شكل البيضاوي خ نصف قطرها",
+ "ellipse_ry": "تغيير القطع الناقص في دائرة نصف قطرها ذ",
+ "line_x1": "تغيير الخط لبدء تنسيق خ",
+ "line_x2": "تغيير الخط لانهاء خ تنسيق",
+ "line_y1": "تغيير الخط لبدء تنسيق ذ",
+ "line_y2": "تغيير الخط لإنهاء تنسيق ذ",
+ "rect_height": "تغيير المستطيل الارتفاع",
+ "rect_width": "تغيير عرض المستطيل",
+ "corner_radius": "تغيير مستطيل ركن الشعاع",
+ "image_width": "تغيير صورة العرض",
+ "image_height": "تغيير ارتفاع الصورة",
+ "image_url": "تغيير العنوان",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "تغيير محتويات النص",
+ "font_family": "تغيير الخط الأسرة",
+ "font_size": "تغيير حجم الخط",
+ "bold": "نص جريء",
+ "italic": "مائل نص"
+ },
+ tools: {
+ "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": "بالنسبة إلى:",
+ "الصفحة": "الصفحة",
+ "largest_object": "أكبر كائن",
+ "selected_objects": "انتخب الأجسام",
+ "smallest_object": "أصغر كائن",
+ "new_doc": "صورة جديدة",
+ "open_doc": "فتح الصورة",
+ "export_png": "Export as PNG",
+ "save_doc": "حفظ صورة",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "القطع الناقص",
+ "mode_circle": "دائرة",
+ "mode_fhellipse": "اليد الحرة البيضوي",
+ "mode_path": "بولي أداة",
+ "mode_shapelib": "Shape library",
+ "mode_text": "النص أداة",
+ "mode_image": "الصورة أداة",
+ "mode_zoom": "أداة تكبير",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "التراجع",
+ "redo": "إعادته",
+ "tool_source": "عدل المصدر",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "مجموعة عناصر",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "فك تجميع عناصر",
+ "docprops": "خصائص المستند",
+ "imagelib": "Image Library",
+ "move_bottom": "الانتقال إلى أسفل",
+ "move_top": "الانتقال إلى أعلى",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.az.js b/public/svg-edit/editor/locale/lang.az.js
index 28f63a64..c4350a29 100644
--- a/public/svg-edit/editor/locale/lang.az.js
+++ b/public/svg-edit/editor/locale/lang.az.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align relative to ..."},
-{"id": "bkgnd_color", "title": "Change background color/opacity"},
-{"id": "circle_cx", "title": "Change circle's cx coordinate"},
-{"id": "circle_cy", "title": "Change circle's cy coordinate"},
-{"id": "circle_r", "title": "Change circle's radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Change Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Change ellipse's cx coordinate"},
-{"id": "ellipse_cy", "title": "Change ellipse's cy coordinate"},
-{"id": "ellipse_rx", "title": "Change ellipse's x radius"},
-{"id": "ellipse_ry", "title": "Change ellipse's y radius"},
-{"id": "fill_color", "title": "Change fill color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit to all content"},
-{"id": "fit_to_canvas", "textContent": "Fit to canvas"},
-{"id": "fit_to_layer_content", "textContent": "Fit to layer content"},
-{"id": "fit_to_sel", "textContent": "Fit to selection"},
-{"id": "font_family", "title": "Change Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Change image height"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Change image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "largest object"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Change line's starting x coordinate"},
-{"id": "line_x2", "title": "Change line's ending x coordinate"},
-{"id": "line_y1", "title": "Change line's starting y coordinate"},
-{"id": "line_y2", "title": "Change line's ending y coordinate"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "page"},
-{"id": "palette", "title": "Click to change fill color, shift-click to change stroke color"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change rectangle height"},
-{"id": "rect_width_tool", "title": "Change rectangle width"},
-{"id": "relativeToLabel", "textContent": "relative to:"},
-{"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": "Select predefined:"},
-{"id": "selected_objects", "textContent": "selected objects"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "smallest object"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change stroke color"},
-{"id": "stroke_style", "title": "Change stroke dash style"},
-{"id": "stroke_width", "title": "Change stroke width"},
-{"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": "Height:"},
-{"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": "Width:"},
-{"id": "text", "title": "Change text contents"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Align Center"},
-{"id": "tool_alignleft", "title": "Align Left"},
-{"id": "tool_alignmiddle", "title": "Align Middle"},
-{"id": "tool_alignright", "title": "Align Right"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Change rotation angle"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Delete Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Cancel"},
-{"id": "tool_docprops_save", "textContent": "OK"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Change Font Size"},
-{"id": "tool_group", "title": "Group Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Change selected item opacity"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Cancel"},
-{"id": "tool_source_save", "textContent": "Apply Changes"},
-{"id": "tool_square", "title": "Square"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change zoom level"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "az",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click to change fill color, shift-click to change stroke color",
+ "zoom_level": "Change zoom level",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change fill color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke dash style",
+ "stroke_width": "Change stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected item opacity",
+ "circle_cx": "Change circle's cx coordinate",
+ "circle_cy": "Change circle's cy coordinate",
+ "circle_r": "Change circle's radius",
+ "ellipse_cx": "Change ellipse's cx coordinate",
+ "ellipse_cy": "Change ellipse's cy coordinate",
+ "ellipse_rx": "Change ellipse's x radius",
+ "ellipse_ry": "Change ellipse's y radius",
+ "line_x1": "Change line's starting x coordinate",
+ "line_x2": "Change line's ending x coordinate",
+ "line_y1": "Change line's starting y coordinate",
+ "line_y2": "Change line's ending y coordinate",
+ "rect_height": "Change rectangle height",
+ "rect_width": "Change rectangle width",
+ "corner_radius": "Change Rectangle Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change text contents",
+ "font_family": "Change Font Family",
+ "font_size": "Change Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color/opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit to all content",
+ "fit_to_canvas": "Fit to canvas",
+ "fit_to_layer_content": "Fit to layer content",
+ "fit_to_sel": "Fit to selection",
+ "align_relative_to": "Align relative to ...",
+ "relativeTo": "relative to:",
+ "page": "page",
+ "largest_object": "largest object",
+ "selected_objects": "selected objects",
+ "smallest_object": "smallest object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Middle",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Apply Changes",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.be.js b/public/svg-edit/editor/locale/lang.be.js
index a399f996..6c201e1f 100644
--- a/public/svg-edit/editor/locale/lang.be.js
+++ b/public/svg-edit/editor/locale/lang.be.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Выраўнаваць па дачыненні да ..."},
-{"id": "bkgnd_color", "title": "Змяненне колеру фону / непразрыстасць"},
-{"id": "circle_cx", "title": "CX змене круга каардынаты"},
-{"id": "circle_cy", "title": "Змены гуртка CY каардынаты"},
-{"id": "circle_r", "title": "Старонка круга's радыус"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Змены прастакутнік Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Змены эліпса CX каардынаты"},
-{"id": "ellipse_cy", "title": "Змены эліпса CY каардынаты"},
-{"id": "ellipse_rx", "title": "Х змяненні эліпса радыюсам"},
-{"id": "ellipse_ry", "title": "Змены у эліпса радыюсам"},
-{"id": "fill_color", "title": "Змяненне колеру залівання"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "Змяніць URL"},
-{"id": "image_width", "title": "Змены шырыня выявы"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"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": "Змены лінія пачынае каардынаты х"},
-{"id": "line_x2", "title": "Змяненне за перыяд, скончыўся лінія каардынаты х"},
-{"id": "line_y1", "title": "Змены лінія пачынае Y каардынаты"},
-{"id": "line_y2", "title": "Змяненне за перыяд, скончыўся лінія Y каардынаты"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "старонка"},
-{"id": "palette", "title": "Націсніце для змены колеру залівання, Shift-Click змяніць обводка"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Змены прастакутнік вышынёй"},
-{"id": "rect_width_tool", "title": "Змяненне шырыні прамавугольніка"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Змены вугла павароту"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Свабоднай рукі Эліпс"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Свабоднай рукі Прастакутнік"},
-{"id": "tool_font_size", "title": "Змяніць памер шрыфта"},
-{"id": "tool_group", "title": "Група элементаў"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Нахілены тэкст"},
-{"id": "tool_line", "title": "Line Tool"},
-{"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_opacity", "title": "Старонка абранага пункта непразрыстасці"},
-{"id": "tool_open", "textContent": "Адкрыць выява"},
-{"id": "tool_path", "title": "Poly 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": "Тэкст Tool"},
-{"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": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Змяненне маштабу"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "be",
+ dir : "ltr",
+ common: {
+ "ok": "Захаваць",
+ "cancel": "Адмена",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Націсніце для змены колеру залівання, Shift-Click змяніць обводка",
+ "zoom_level": "Змяненне маштабу",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Змяненне колеру залівання",
+ "stroke_color": "Змяненне колеру інсульт",
+ "stroke_style": "Змяненне стылю інсульт працяжнік",
+ "stroke_width": "Змены шырыня штрых",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Старонка круга's радыус",
+ "ellipse_cx": "Змены эліпса CX каардынаты",
+ "ellipse_cy": "Змены эліпса CY каардынаты",
+ "ellipse_rx": "Х змяненні эліпса радыюсам",
+ "ellipse_ry": "Змены у эліпса радыюсам",
+ "line_x1": "Змены лінія пачынае каардынаты х",
+ "line_x2": "Змяненне за перыяд, скончыўся лінія каардынаты х",
+ "line_y1": "Змены лінія пачынае Y каардынаты",
+ "line_y2": "Змяненне за перыяд, скончыўся лінія Y каардынаты",
+ "rect_height": "Змены прастакутнік вышынёй",
+ "rect_width": "Змяненне шырыні прамавугольніка",
+ "corner_radius": "Змены прастакутнік Corner Radius",
+ "image_width": "Змены шырыня выявы",
+ "image_height": "Змена вышыні выявы",
+ "image_url": "Змяніць URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Змяненне зместу тэксту",
+ "font_family": "Змены Сямейства шрыфтоў",
+ "font_size": "Змяніць памер шрыфта",
+ "bold": "Тоўсты тэкст",
+ "italic": "Нахілены тэкст"
+ },
+ tools: {
+ "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": "па параўнанні з:",
+ "старонка": "старонка",
+ "largest_object": "найбуйнейшы аб'ект",
+ "selected_objects": "выбранымі аб'ектамі",
+ "smallest_object": "маленькі аб'ект",
+ "new_doc": "Новае выява",
+ "open_doc": "Адкрыць выява",
+ "export_png": "Export as PNG",
+ "save_doc": "Захаваць малюнак",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Лінаваць па ніжнім краю",
+ "align_center": "Лінаваць па цэнтру",
+ "align_left": "Па левым краю",
+ "align_middle": "Выраўнаваць Блізкага",
+ "align_right": "Па правым краю",
+ "align_top": "Лінаваць па верхнім краю",
+ "mode_select": "Выберыце інструмент",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Свабоднай рукі Прастакутнік",
+ "mode_ellipse": "Эліпс",
+ "mode_circle": "Круг",
+ "mode_fhellipse": "Свабоднай рукі Эліпс",
+ "mode_path": "Poly Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Тэкст Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Адмяніць",
+ "redo": "Паўтор",
+ "tool_source": "Змяніць зыходны",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Група элементаў",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Элементы Разгруппировать",
+ "docprops": "Уласцівасці дакумента",
+ "imagelib": "Image Library",
+ "move_bottom": "Перамясціць уніз",
+ "move_top": "Перамясціць угару",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.bg.js b/public/svg-edit/editor/locale/lang.bg.js
index 3ee57a99..5b58f568 100644
--- a/public/svg-edit/editor/locale/lang.bg.js
+++ b/public/svg-edit/editor/locale/lang.bg.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Привеждане в сравнение с ..."},
-{"id": "bkgnd_color", "title": "Промяна на цвета на фона / непрозрачност"},
-{"id": "circle_cx", "title": "CX Промяна кръг на координатната"},
-{"id": "circle_cy", "title": "Промяна кръг's CY координира"},
-{"id": "circle_r", "title": "Промяна кръг радиус"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Промяна на правоъгълник Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Промяна на елипса's CX координира"},
-{"id": "ellipse_cy", "title": "Промяна на елипса's CY координира"},
-{"id": "ellipse_rx", "title": "Промяна на елипса's X радиус"},
-{"id": "ellipse_ry", "title": "Промяна на елипса's Y радиус"},
-{"id": "fill_color", "title": "Промяна попълнете цвят"},
-{"id": "fitToContent", "textContent": "Fit към съдържание"},
-{"id": "fit_to_all", "textContent": "Побери цялото съдържание"},
-{"id": "fit_to_canvas", "textContent": "Fit на платно"},
-{"id": "fit_to_layer_content", "textContent": "Fit да слой съдържание"},
-{"id": "fit_to_sel", "textContent": "Fit за подбор"},
-{"id": "font_family", "title": "Промяна на шрифта Семейство"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "Промяна на URL"},
-{"id": "image_width", "title": "Промяна на изображението ширина"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "най-големият обект"},
-{"id": "layer_delete", "title": "Изтриване на слой"},
-{"id": "layer_down", "title": "Move слой надолу"},
-{"id": "layer_new", "title": "Нов слой"},
-{"id": "layer_rename", "title": "Преименуване Layer"},
-{"id": "layer_up", "title": "Move Up Layer"},
-{"id": "layersLabel", "textContent": "Слоевете:"},
-{"id": "line_x1", "title": "Промяна на линия, започваща х координира"},
-{"id": "line_x2", "title": "Промяна на линията приключва х координира"},
-{"id": "line_y1", "title": "Промяна линия, започваща Y координира"},
-{"id": "line_y2", "title": "Промяна на линията приключва Y координира"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "страница"},
-{"id": "palette", "title": "Кликнете, за да промени попълнете цвят, на смени, кликнете да променят цвета си удар"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Промяна на правоъгълник височина"},
-{"id": "rect_width_tool", "title": "Промяна на правоъгълник ширина"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Промяна ъгъл на завъртане"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Получер текст"},
-{"id": "tool_circle", "title": "Кръгът"},
-{"id": "tool_clear", "textContent": "Ню Имидж"},
-{"id": "tool_clone", "title": "Clone Елемент"},
-{"id": "tool_clone_multi", "title": "Clone Елементи"},
-{"id": "tool_delete", "title": "Изтриване на елемент"},
-{"id": "tool_delete_multi", "title": "Изтриване на избрани елементи"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Отказ"},
-{"id": "tool_docprops_save", "textContent": "Спасявам"},
-{"id": "tool_ellipse", "title": "Елипса"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Свободен Употребявани Елипса"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Свободен Употребявани правоъгълник"},
-{"id": "tool_font_size", "title": "Промени размера на буквите"},
-{"id": "tool_group", "title": "Група Елементи"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Курсив текст"},
-{"id": "tool_line", "title": "Line Tool"},
-{"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_opacity", "title": "Промяна на избрания елемент непрозрачност"},
-{"id": "tool_open", "textContent": "Отворете изображението"},
-{"id": "tool_path", "title": "Поли Tool"},
-{"id": "tool_rect", "title": "Правоъгълник"},
-{"id": "tool_redo", "title": "Възстановяване"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"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": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Промяна на ниво на мащабиране"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "bg",
+ dir : "ltr",
+ common: {
+ "ok": "Спасявам",
+ "cancel": "Отказ",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Кликнете, за да промени попълнете цвят, на смени, кликнете да променят цвета си удар",
+ "zoom_level": "Промяна на ниво на мащабиране",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Промяна попълнете цвят",
+ "stroke_color": "Промяна на инсулт цвят",
+ "stroke_style": "Промяна на стила удар тире",
+ "stroke_width": "Промяна на ширината инсулт",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Промяна кръг's CY координира",
+ "circle_r": "Промяна кръг радиус",
+ "ellipse_cx": "Промяна на елипса's CX координира",
+ "ellipse_cy": "Промяна на елипса's CY координира",
+ "ellipse_rx": "Промяна на елипса's X радиус",
+ "ellipse_ry": "Промяна на елипса's Y радиус",
+ "line_x1": "Промяна на линия, започваща х координира",
+ "line_x2": "Промяна на линията приключва х координира",
+ "line_y1": "Промяна линия, започваща Y координира",
+ "line_y2": "Промяна на линията приключва Y координира",
+ "rect_height": "Промяна на правоъгълник височина",
+ "rect_width": "Промяна на правоъгълник ширина",
+ "corner_radius": "Промяна на правоъгълник Corner Radius",
+ "image_width": "Промяна на изображението ширина",
+ "image_height": "Промяна на изображението височина",
+ "image_url": "Промяна на URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Промяна на текст съдържание",
+ "font_family": "Промяна на шрифта Семейство",
+ "font_size": "Промени размера на буквите",
+ "bold": "Получер текст",
+ "italic": "Курсив текст"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Промяна на цвета на фона / непрозрачност",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit към съдържание",
+ "fit_to_all": "Побери цялото съдържание",
+ "fit_to_canvas": "Fit на платно",
+ "fit_to_layer_content": "Fit да слой съдържание",
+ "fit_to_sel": "Fit за подбор",
+ "align_relative_to": "Привеждане в сравнение с ...",
+ "relativeTo": "в сравнение с:",
+ "страница": "страница",
+ "largest_object": "най-големият обект",
+ "selected_objects": "избраните обекти",
+ "smallest_object": "най-малката обект",
+ "new_doc": "Ню Имидж",
+ "open_doc": "Отворете изображението",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Привеждане Отдолу",
+ "align_center": "Подравняване в средата",
+ "align_left": "Подравняване вляво",
+ "align_middle": "Привеждане в Близкия",
+ "align_right": "Подравняване надясно",
+ "align_top": "Привеждане Топ",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Свободен Употребявани правоъгълник",
+ "mode_ellipse": "Елипса",
+ "mode_circle": "Кръгът",
+ "mode_fhellipse": "Свободен Употребявани Елипса",
+ "mode_path": "Поли Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Текст Оръдие",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Отмени",
+ "redo": "Възстановяване",
+ "tool_source": "Редактиране Източник",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Група Елементи",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Разгрупирай Елементи",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Премести надолу",
+ "move_top": "Премести в началото",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Изтриване на слой",
+ "move_down": "Move слой надолу",
+ "new": "Нов слой",
+ "rename": "Преименуване Layer",
+ "move_up": "Move Up Layer",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ca.js b/public/svg-edit/editor/locale/lang.ca.js
index e2dd954b..d08a60dd 100644
--- a/public/svg-edit/editor/locale/lang.ca.js
+++ b/public/svg-edit/editor/locale/lang.ca.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Alinear pel que fa a ..."},
-{"id": "bkgnd_color", "title": "Color de fons / opacitat"},
-{"id": "circle_cx", "title": "CX cercle Canvi de coordenades"},
-{"id": "circle_cy", "title": "Cercle Canvi CY coordinar"},
-{"id": "circle_r", "title": "Ràdio de cercle Canvi"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Canviar Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Canviar lipse CX coordinar"},
-{"id": "ellipse_cy", "title": "Lipse Canvi CY coordinar"},
-{"id": "ellipse_rx", "title": "Ràdio x lipse Canvi"},
-{"id": "ellipse_ry", "title": "Ràdio i lipse Canvi"},
-{"id": "fill_color", "title": "Canviar el color de farciment"},
-{"id": "fitToContent", "textContent": "Ajustar al contingut"},
-{"id": "fit_to_all", "textContent": "Ajustar a tot el contingut"},
-{"id": "fit_to_canvas", "textContent": "Ajustar a la lona"},
-{"id": "fit_to_layer_content", "textContent": "Ajustar al contingut de la capa d'"},
-{"id": "fit_to_sel", "textContent": "Ajustar a la selecció"},
-{"id": "font_family", "title": "Canviar la font Família"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Canviar l'altura de la imatge"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Canviar URL"},
-{"id": "image_width", "title": "Amplada de la imatge Canvi"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "objecte més gran"},
-{"id": "layer_delete", "title": "Eliminar capa"},
-{"id": "layer_down", "title": "Mou la capa de Down"},
-{"id": "layer_new", "title": "Nova capa"},
-{"id": "layer_rename", "title": "Canvieu el nom de la capa"},
-{"id": "layer_up", "title": "Mou la capa Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Canviar la línia de partida de la coordenada x"},
-{"id": "line_x2", "title": "Canviar la línia d'hores de coordenada x"},
-{"id": "line_y1", "title": "Canviar la línia de partida i de coordinar"},
-{"id": "line_y2", "title": "Canviar la línia d'hores de coordenada"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Pàgina"},
-{"id": "palette", "title": "Feu clic per canviar el color de farciment, shift-clic per canviar el color del traç"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Rectangle d'alçada Canvi"},
-{"id": "rect_width_tool", "title": "Ample rectangle Canvi"},
-{"id": "relativeToLabel", "textContent": "en relació amb:"},
-{"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": "Seleccioneu predefinides:"},
-{"id": "selected_objects", "textContent": "objectes escollits"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "objecte més petit"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Canviar el color del traç"},
-{"id": "stroke_style", "title": "Canviar estil de traç guió"},
-{"id": "stroke_width", "title": "Canviar l'amplada del traç"},
-{"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": "Alçada:"},
-{"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": "Amplada:"},
-{"id": "text", "title": "Contingut del text"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Alinear baix"},
-{"id": "tool_aligncenter", "title": "Alinear al centre"},
-{"id": "tool_alignleft", "title": "Alinear a l'esquerra"},
-{"id": "tool_alignmiddle", "title": "Alinear Medi"},
-{"id": "tool_alignright", "title": "Alinear a la dreta"},
-{"id": "tool_aligntop", "title": "Alinear a dalt"},
-{"id": "tool_angle", "title": "Canviar l'angle de rotació"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Text en negreta"},
-{"id": "tool_circle", "title": "Cercle"},
-{"id": "tool_clear", "textContent": "Nova imatge"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Elements Clone"},
-{"id": "tool_delete", "title": "Eliminar element"},
-{"id": "tool_delete_multi", "title": "Elimina els elements seleccionats"},
-{"id": "tool_docprops", "textContent": "Propietats del document"},
-{"id": "tool_docprops_cancel", "textContent": "Cancel"},
-{"id": "tool_docprops_save", "textContent": "Salvar"},
-{"id": "tool_ellipse", "title": "Lipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Eina Llapis"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Change Font Size"},
-{"id": "tool_group", "title": "Elements de Grup de"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Text en cursiva"},
-{"id": "tool_line", "title": "L'eina"},
-{"id": "tool_move_bottom", "title": "Mou al final"},
-{"id": "tool_move_top", "title": "Mou al principi"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Canviar la opacitat tema seleccionat"},
-{"id": "tool_open", "textContent": "Obrir imatge"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Refer"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Guardar imatge"},
-{"id": "tool_select", "title": "Eina de selecció"},
-{"id": "tool_source", "title": "Font Edita"},
-{"id": "tool_source_cancel", "textContent": "Cancel"},
-{"id": "tool_source_save", "textContent": "Salvar"},
-{"id": "tool_square", "title": "Quadrat"},
-{"id": "tool_text", "title": "Eina de text"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Desfés"},
-{"id": "tool_ungroup", "title": "Desagrupar elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Canviar el nivell de zoom"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ca",
+ dir : "ltr",
+ common: {
+ "ok": "Salvar",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Feu clic per canviar el color de farciment, shift-clic per canviar el color del traç",
+ "zoom_level": "Canviar el nivell de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Canviar el color de farciment",
+ "stroke_color": "Canviar el color del traç",
+ "stroke_style": "Canviar estil de traç guió",
+ "stroke_width": "Canviar l'amplada del traç",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Canviar l'angle de rotació",
+ "blur": "Change gaussian blur value",
+ "opacity": "Canviar la opacitat tema seleccionat",
+ "circle_cx": "CX cercle Canvi de coordenades",
+ "circle_cy": "Cercle Canvi CY coordinar",
+ "circle_r": "Ràdio de cercle Canvi",
+ "ellipse_cx": "Canviar lipse CX coordinar",
+ "ellipse_cy": "Lipse Canvi CY coordinar",
+ "ellipse_rx": "Ràdio x lipse Canvi",
+ "ellipse_ry": "Ràdio i lipse Canvi",
+ "line_x1": "Canviar la línia de partida de la coordenada x",
+ "line_x2": "Canviar la línia d'hores de coordenada x",
+ "line_y1": "Canviar la línia de partida i de coordinar",
+ "line_y2": "Canviar la línia d'hores de coordenada",
+ "rect_height": "Rectangle d'alçada Canvi",
+ "rect_width": "Ample rectangle Canvi",
+ "corner_radius": "Canviar Rectangle Corner Radius",
+ "image_width": "Amplada de la imatge Canvi",
+ "image_height": "Canviar l'altura de la imatge",
+ "image_url": "Canviar URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Contingut del text",
+ "font_family": "Canviar la font Família",
+ "font_size": "Change Font Size",
+ "bold": "Text en negreta",
+ "italic": "Text en cursiva"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Color de fons / opacitat",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Ajustar al contingut",
+ "fit_to_all": "Ajustar a tot el contingut",
+ "fit_to_canvas": "Ajustar a la lona",
+ "fit_to_layer_content": "Ajustar al contingut de la capa d'",
+ "fit_to_sel": "Ajustar a la selecció",
+ "align_relative_to": "Alinear pel que fa a ...",
+ "relativeTo": "en relació amb:",
+ "Pàgina": "Pàgina",
+ "largest_object": "objecte més gran",
+ "selected_objects": "objectes escollits",
+ "smallest_object": "objecte més petit",
+ "new_doc": "Nova imatge",
+ "open_doc": "Obrir imatge",
+ "export_png": "Export as PNG",
+ "save_doc": "Guardar imatge",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Alinear baix",
+ "align_center": "Alinear al centre",
+ "align_left": "Alinear a l'esquerra",
+ "align_middle": "Alinear Medi",
+ "align_right": "Alinear a la dreta",
+ "align_top": "Alinear a dalt",
+ "mode_select": "Eina de selecció",
+ "mode_fhpath": "Eina Llapis",
+ "mode_line": "L'eina",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Lipse",
+ "mode_circle": "Cercle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Eina de text",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Desfés",
+ "redo": "Refer",
+ "tool_source": "Font Edita",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elements de Grup de",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Desagrupar elements",
+ "docprops": "Propietats del document",
+ "imagelib": "Image Library",
+ "move_bottom": "Mou al final",
+ "move_top": "Mou al principi",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Salvar",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Eliminar capa",
+ "move_down": "Mou la capa de Down",
+ "new": "Nova capa",
+ "rename": "Canvieu el nom de la capa",
+ "move_up": "Mou la capa Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Seleccioneu predefinides:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.cs.js b/public/svg-edit/editor/locale/lang.cs.js
index 8b4cbfae..e39f8627 100644
--- a/public/svg-edit/editor/locale/lang.cs.js
+++ b/public/svg-edit/editor/locale/lang.cs.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Zarovnat relativně"},
-{"id": "bkgnd_color", "title": "Změnit barvu a průhlednost pozadí"},
-{"id": "circle_cx", "title": "Změnit souřadnici X středu kružnice"},
-{"id": "circle_cy", "title": "Změnit souřadnici Y středu kružnice"},
-{"id": "circle_r", "title": "Změnit poloměr kružnice"},
-{"id": "connector_no_arrow", "textContent": "Bez šipky"},
-{"id": "copyrightLabel", "textContent": "Běží na"},
-{"id": "cornerRadiusLabel", "title": "Změnit zaoblení obdélníku"},
-{"id": "curve_segments", "textContent": "křivka"},
-{"id": "ellipse_cx", "title": "Změnit souřadnici X středu elipsy"},
-{"id": "ellipse_cy", "title": "Změnit souřadnici Y středu elipsy"},
-{"id": "ellipse_rx", "title": "Změnit poloměr X elipsy"},
-{"id": "ellipse_ry", "title": "Změnit poloměr Y elipsy"},
-{"id": "fill_color", "title": "Změnit barvu výplně"},
-{"id": "fitToContent", "textContent": "přizpůsobit obsahu"},
-{"id": "fit_to_all", "textContent": "Přizpůsobit veškerému obsahu"},
-{"id": "fit_to_canvas", "textContent": "Přizpůsobit stránce"},
-{"id": "fit_to_layer_content", "textContent": "Přizpůsobit obsahu vrstvy"},
-{"id": "fit_to_sel", "textContent": "Přizpůsobit výběru"},
-{"id": "font_family", "title": "Změnit font"},
-{"id": "icon_large", "textContent": "velké"},
-{"id": "icon_medium", "textContent": "střední"},
-{"id": "icon_small", "textContent": "malé"},
-{"id": "icon_xlarge", "textContent": "největší"},
-{"id": "idLabel", "title": "Změnit ID elementu"},
-{"id": "image_height", "title": "Změnit výšku dokumentu"},
-{"id": "image_opt_embed", "textContent": "Vkládat do dokumentu"},
-{"id": "image_opt_ref", "textContent": "Jen odkazem"},
-{"id": "image_url", "title": "Změnit adresu URL"},
-{"id": "image_width", "title": "Změnit šířku dokumentu"},
-{"id": "includedImages", "textContent": "Vložené obrázky"},
-{"id": "largest_object", "textContent": "největšímu objektu"},
-{"id": "layer_delete", "title": "Odstranit vrstvu"},
-{"id": "layer_down", "title": "Přesunout vrstvu níž"},
-{"id": "layer_new", "title": "Přidat vrstvu"},
-{"id": "layer_rename", "title": "Přejmenovat vrstvu"},
-{"id": "layer_up", "title": "Přesunout vrstvu výš"},
-{"id": "layersLabel", "textContent": "vrstvy:"},
-{"id": "line_x1", "title": "Změnit počáteční souřadnici X úsečky"},
-{"id": "line_x2", "title": "Změnit koncovou souřadnici X úsečky"},
-{"id": "line_y1", "title": "Změnit počáteční souřadnici Y úsečky"},
-{"id": "line_y2", "title": "Změnit koncovou souřadnici X úsečky"},
-{"id": "linecap_butt", "title": "Konec úsečky: přesný"},
-{"id": "linecap_round", "title": "Konec úsečky: zaoblený"},
-{"id": "linecap_square", "title": "Konec úsečky: s čtvercovým přesahem"},
-{"id": "linejoin_bevel", "title": "Styl napojení úseček: zkosené"},
-{"id": "linejoin_miter", "title": "Styl napojení úseček: ostré"},
-{"id": "linejoin_round", "title": "Styl napojení úseček: oblé"},
-{"id": "main_icon", "title": "Hlavní menu"},
-{"id": "mode_connect", "title": "Spojit dva objekty"},
-{"id": "page", "textContent": "stránce"},
-{"id": "palette", "title": "Kliknutím změníte barvu výplně, kliknutím současně s klávesou shift změníte barvu čáry"},
-{"id": "path_node_x", "title": "Změnit souřadnici X uzlu"},
-{"id": "path_node_y", "title": "Změnit souřadnici Y uzlu"},
-{"id": "rect_height_tool", "title": "Změnit výšku obdélníku"},
-{"id": "rect_width_tool", "title": "Změnit šířku obdélníku"},
-{"id": "relativeToLabel", "textContent": "relatativně k:"},
-{"id": "seg_type", "title": "Změnit typ segmentu"},
-{"id": "selLayerLabel", "textContent": "Přesunout objekty do:"},
-{"id": "selLayerNames", "title": "Přesunout objekty do jiné vrstvy"},
-{"id": "selectedPredefined", "textContent": "vybrat předdefinovaný:"},
-{"id": "selected_objects", "textContent": "zvoleným objektům"},
-{"id": "selected_x", "title": "Změnit souřadnici X"},
-{"id": "selected_y", "title": "Změnit souřadnici Y"},
-{"id": "smallest_object", "textContent": "nejmenšímu objektu"},
-{"id": "straight_segments", "textContent": "úsečka"},
-{"id": "stroke_color", "title": "Změnit barvu čáry"},
-{"id": "stroke_style", "title": "Změnit styl čáry"},
-{"id": "stroke_width", "title": "Změnit šířku čáry"},
-{"id": "svginfo_bg_note", "textContent": "Pozor: obrázek v pozadí nebude uložen jako součást dokumentu."},
-{"id": "svginfo_change_background", "textContent": "Obrázek v pozadí editoru"},
-{"id": "svginfo_dim", "textContent": "Vlastní velikost"},
-{"id": "svginfo_editor_prefs", "textContent": "Nastavení editoru"},
-{"id": "svginfo_height", "textContent": "výška:"},
-{"id": "svginfo_icons", "textContent": "Velikost ikon"},
-{"id": "svginfo_image_props", "textContent": "Vlastnosti dokumentu"},
-{"id": "svginfo_lang", "textContent": "Jazyk"},
-{"id": "svginfo_title", "textContent": "Název"},
-{"id": "svginfo_width", "textContent": "šířka:"},
-{"id": "text", "title": "Změnit text"},
-{"id": "toggle_stroke_tools", "title": "Zobrazit/schovat více možností"},
-{"id": "tool_add_subpath", "title": "Přidat další součást křivky"},
-{"id": "tool_alignbottom", "title": "Zarovnat dolů"},
-{"id": "tool_aligncenter", "title": "Zarovnat nastřed"},
-{"id": "tool_alignleft", "title": "Zarovnat doleva"},
-{"id": "tool_alignmiddle", "title": "Zarovnat nastřed"},
-{"id": "tool_alignright", "title": "Zarovnat doprava"},
-{"id": "tool_aligntop", "title": "Zarovnat nahoru"},
-{"id": "tool_angle", "title": "Změnit úhel natočení"},
-{"id": "tool_blur", "title": "Změnit rozostření"},
-{"id": "tool_bold", "title": "Tučně"},
-{"id": "tool_circle", "title": "Kružnice"},
-{"id": "tool_clear", "textContent": "Nový dokument"},
-{"id": "tool_clone", "title": "Duplikovat"},
-{"id": "tool_clone_multi", "title": "Duplikovat objekty"},
-{"id": "tool_delete", "title": "Odstranit"},
-{"id": "tool_delete_multi", "title": "Odstranit objekty"},
-{"id": "tool_docprops", "textContent": "Vlastnosti dokumentu"},
-{"id": "tool_docprops_cancel", "textContent": "Storno"},
-{"id": "tool_docprops_save", "textContent": "Uložit"},
-{"id": "tool_ellipse", "title": "Elipsa"},
-{"id": "tool_export", "textContent": "Exportovat jako PNG"},
-{"id": "tool_eyedropper", "title": "Kapátko"},
-{"id": "tool_fhellipse", "title": "Elipsa volnou rukou"},
-{"id": "tool_fhpath", "title": "Kresba od ruky"},
-{"id": "tool_fhrect", "title": "Obdélník volnou rukou"},
-{"id": "tool_font_size", "title": "Změnit velikost písma"},
-{"id": "tool_group", "title": "Seskupit objekty"},
-{"id": "tool_image", "title": "Obrázek"},
-{"id": "tool_import", "textContent": "Importovat SVG"},
-{"id": "tool_italic", "title": "Kurzíva"},
-{"id": "tool_line", "title": "Úsečka"},
-{"id": "tool_move_bottom", "title": "Vrstvu úplně dospodu"},
-{"id": "tool_move_top", "title": "Vrstvu úplně nahoru"},
-{"id": "tool_node_clone", "title": "Vložit nový uzel"},
-{"id": "tool_node_delete", "title": "Ostranit uzel"},
-{"id": "tool_node_link", "title": "Provázat ovládací body uzlu"},
-{"id": "tool_opacity", "title": "Změnit průhlednost objektů"},
-{"id": "tool_open", "textContent": "Otevřít dokument"},
-{"id": "tool_openclose_path", "title": "Otevřít/zavřít součást křivky"},
-{"id": "tool_path", "title": "Křivka"},
-{"id": "tool_position", "title": "Zarovnat element na stránku"},
-{"id": "tool_rect", "title": "Obdélník"},
-{"id": "tool_redo", "title": "Znovu"},
-{"id": "tool_reorient", "title": "Změna orientace křivky"},
-{"id": "tool_save", "textContent": "Uložit dokument"},
-{"id": "tool_select", "title": "Výběr a transformace objektů"},
-{"id": "tool_source", "title": "Upravovat SVG kód"},
-{"id": "tool_source_cancel", "textContent": "Storno"},
-{"id": "tool_source_save", "textContent": "Uložit"},
-{"id": "tool_square", "title": "Čtverec"},
-{"id": "tool_text", "title": "Text"},
-{"id": "tool_topath", "title": "Objekt na křivku"},
-{"id": "tool_undo", "title": "Zpět"},
-{"id": "tool_ungroup", "title": "Zrušit seskupení"},
-{"id": "tool_wireframe", "title": "Zobrazit jen kostru"},
-{"id": "tool_zoom", "title": "Přiblížení"},
-{"id": "url_notice", "title": "POZOR: Obrázek nelze uložit s dokumentem. Bude zobrazován z adresáře, kde se nyní nachází."},
-{"id": "zoom_panel", "title": "Změna přiblížení"},
-{"id": "sidepanel_handle", "textContent": "V r s t v y", "title": "Táhnutím změnit velikost"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Chyba v parsování zdrojového kódu SVG.\nChcete se vrátit k původnímu?",
- "QignoreSourceChanges": "Opravdu chcete stornovat změny provedené v SVG kódu?",
- "QmoveElemsToLayer": "Opravdu chcete přesunout vybrané objekty do vrstvy '%s'?",
- "QwantToClear": "Opravdu chcete smazat současný dokument?\nHistorie změn bude také smazána.",
- "cancel": "Storno",
- "defsFailOnSave": "POZOR: Kvůli nedokonalosti Vašeho prohlížeče se mohou některé části dokumentu špatně vykreslovat (mohou chybět barevné přechody nebo některé objekty). Po uložení dokumentu by se ale vše mělo zobrazovat správně.",
- "dupeLayerName": "Taková vrstva už bohužel existuje",
- "enterNewImgURL": "Vložte adresu URL, na které se nachází vkládaný obrázek",
- "enterNewLayerName": "Zadejte prosím jméno pro novou vrstvu",
- "enterUniqueLayerName": "Zadejte prosím jedinečné jméno pro vrstvu",
- "exportNoBlur": "bez rozostření elementů",
- "exportNoDashArray": "plné tahy",
- "exportNoImage": "bez vložených obrázků",
- "exportNoText": "vložený text může vypadat jinak",
- "exportNoforeignObject": "bez foreignObject objektů",
- "featNotSupported": "Tato vlastnost ještě není k dispozici",
- "invalidAttrValGiven": "Nevhodná hodnota",
- "key_backspace": "backspace",
- "key_del": "delete",
- "key_down": "šipka dolů",
- "key_up": "šipka nahoru",
- "layer": "Vrstva",
- "layerHasThatName": "Vrstva už se tak jmenuje",
- "loadingImage": "Nahrávám obrázek ...",
- "noContentToFitTo": "Vyberte oblast pro přizpůsobení",
- "noteTheseIssues": "Mohou se vyskytnout následující problémy: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Táhnutím ovládacího bodu myší tvarujete křivku.",
- "pathNodeTooltip": "Táhnutím myši uzel přesunete. Dvojklik mění typ segmentu.",
- "saveFromBrowser": "Použijte nabídku \"Uložit stránku jako ...\" ve Vašem prohlížeči pro uložení dokumentu do souboru %s."
- }
-}
-]
+svgEditor.readLang({
+ lang: "cs",
+ dir : "ltr",
+ common: {
+ "ok": "Uložit",
+ "cancel": "Storno",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "šipka dolů",
+ "key_up": "šipka nahoru",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Běží na"
+ },
+ ui: {
+ "toggle_stroke_tools": "Zobrazit/schovat více možností",
+ "palette_info": "Kliknutím změníte barvu výplně, kliknutím současně s klávesou shift změníte barvu čáry",
+ "zoom_level": "Změna přiblížení",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Změnit ID elementu",
+ "fill_color": "Změnit barvu výplně",
+ "stroke_color": "Změnit barvu čáry",
+ "stroke_style": "Změnit styl čáry",
+ "stroke_width": "Změnit šířku čáry",
+ "pos_x": "Změnit souřadnici X",
+ "pos_y": "Změnit souřadnici Y",
+ "linecap_butt": "Konec úsečky: přesný",
+ "linecap_round": "Konec úsečky: zaoblený",
+ "linecap_square": "Konec úsečky: s čtvercovým přesahem",
+ "linejoin_bevel": "Styl napojení úseček: zkosené",
+ "linejoin_miter": "Styl napojení úseček: ostré",
+ "linejoin_round": "Styl napojení úseček: oblé",
+ "angle": "Změnit úhel natočení",
+ "blur": "Změnit rozostření",
+ "opacity": "Změnit průhlednost objektů",
+ "circle_cx": "Změnit souřadnici X středu kružnice",
+ "circle_cy": "Změnit souřadnici Y středu kružnice",
+ "circle_r": "Změnit poloměr kružnice",
+ "ellipse_cx": "Změnit souřadnici X středu elipsy",
+ "ellipse_cy": "Změnit souřadnici Y středu elipsy",
+ "ellipse_rx": "Změnit poloměr X elipsy",
+ "ellipse_ry": "Změnit poloměr Y elipsy",
+ "line_x1": "Změnit počáteční souřadnici X úsečky",
+ "line_x2": "Změnit koncovou souřadnici X úsečky",
+ "line_y1": "Změnit počáteční souřadnici Y úsečky",
+ "line_y2": "Změnit koncovou souřadnici X úsečky",
+ "rect_height": "Změnit výšku obdélníku",
+ "rect_width": "Změnit šířku obdélníku",
+ "corner_radius": "Změnit zaoblení obdélníku",
+ "image_width": "Změnit šířku dokumentu",
+ "image_height": "Změnit výšku dokumentu",
+ "image_url": "Změnit adresu URL",
+ "node_x": "Změnit souřadnici X uzlu",
+ "node_y": "Změnit souřadnici Y uzlu",
+ "seg_type": "Změnit typ segmentu",
+ "straight_segments": "úsečka",
+ "curve_segments": "křivka",
+ "text_contents": "Změnit text",
+ "font_family": "Změnit font",
+ "font_size": "Změnit velikost písma",
+ "bold": "Tučně",
+ "italic": "Kurzíva"
+ },
+ tools: {
+ "main_menu": "Hlavní menu",
+ "bkgnd_color_opac": "Změnit barvu a průhlednost pozadí",
+ "connector_no_arrow": "Bez šipky",
+ "fitToContent": "přizpůsobit obsahu",
+ "fit_to_all": "Přizpůsobit veškerému obsahu",
+ "fit_to_canvas": "Přizpůsobit stránce",
+ "fit_to_layer_content": "Přizpůsobit obsahu vrstvy",
+ "fit_to_sel": "Přizpůsobit výběru",
+ "align_relative_to": "Zarovnat relativně",
+ "relativeTo": "relatativně k:",
+ "stránce": "stránce",
+ "largest_object": "největšímu objektu",
+ "selected_objects": "zvoleným objektům",
+ "smallest_object": "nejmenšímu objektu",
+ "new_doc": "Nový dokument",
+ "open_doc": "Otevřít dokument",
+ "export_png": "Exportovat jako PNG",
+ "save_doc": "Uložit dokument",
+ "import_doc": "Importovat SVG",
+ "align_to_page": "Zarovnat element na stránku",
+ "align_bottom": "Zarovnat dolů",
+ "align_center": "Zarovnat nastřed",
+ "align_left": "Zarovnat doleva",
+ "align_middle": "Zarovnat nastřed",
+ "align_right": "Zarovnat doprava",
+ "align_top": "Zarovnat nahoru",
+ "mode_select": "Výběr a transformace objektů",
+ "mode_fhpath": "Kresba od ruky",
+ "mode_line": "Úsečka",
+ "mode_connect": "Spojit dva objekty",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Obdélník volnou rukou",
+ "mode_ellipse": "Elipsa",
+ "mode_circle": "Kružnice",
+ "mode_fhellipse": "Elipsa volnou rukou",
+ "mode_path": "Křivka",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text",
+ "mode_image": "Obrázek",
+ "mode_zoom": "Přiblížení",
+ "mode_eyedropper": "Kapátko",
+ "no_embed": "POZOR: Obrázek nelze uložit s dokumentem. Bude zobrazován z adresáře, kde se nyní nachází.",
+ "undo": "Zpět",
+ "redo": "Znovu",
+ "tool_source": "Upravovat SVG kód",
+ "wireframe_mode": "Zobrazit jen kostru",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Seskupit objekty",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Objekt na křivku",
+ "reorient_path": "Změna orientace křivky",
+ "ungroup": "Zrušit seskupení",
+ "docprops": "Vlastnosti dokumentu",
+ "imagelib": "Image Library",
+ "move_bottom": "Vrstvu úplně dospodu",
+ "move_top": "Vrstvu úplně nahoru",
+ "node_clone": "Vložit nový uzel",
+ "node_delete": "Ostranit uzel",
+ "node_link": "Provázat ovládací body uzlu",
+ "add_subpath": "Přidat další součást křivky",
+ "openclose_path": "Otevřít/zavřít součást křivky",
+ "source_save": "Uložit",
+ "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"
+ },
+ layers: {
+ "layer":"Vrstva",
+ "layers": "Layers",
+ "del": "Odstranit vrstvu",
+ "move_down": "Přesunout vrstvu níž",
+ "new": "Přidat vrstvu",
+ "rename": "Přejmenovat vrstvu",
+ "move_up": "Přesunout vrstvu výš",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Přesunout objekty do:",
+ "move_selected": "Přesunout objekty do jiné vrstvy"
+ },
+ config: {
+ "image_props": "Vlastnosti dokumentu",
+ "doc_title": "Název",
+ "doc_dims": "Vlastní velikost",
+ "included_images": "Vložené obrázky",
+ "image_opt_embed": "Vkládat do dokumentu",
+ "image_opt_ref": "Jen odkazem",
+ "editor_prefs": "Nastavení editoru",
+ "icon_size": "Velikost ikon",
+ "language": "Jazyk",
+ "background": "Obrázek v pozadí editoru",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Pozor: obrázek v pozadí nebude uložen jako součást dokumentu.",
+ "icon_large": "velké",
+ "icon_medium": "střední",
+ "icon_small": "malé",
+ "icon_xlarge": "největší",
+ "select_predefined": "vybrat předdefinovaný:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Nevhodná hodnota",
+ "noContentToFitTo":"Vyberte oblast pro přizpůsobení",
+ "dupeLayerName":"Taková vrstva už bohužel existuje",
+ "enterUniqueLayerName":"Zadejte prosím jedinečné jméno pro vrstvu",
+ "enterNewLayerName":"Zadejte prosím jméno pro novou vrstvu",
+ "layerHasThatName":"Vrstva už se tak jmenuje",
+ "QmoveElemsToLayer":"Opravdu chcete přesunout vybrané objekty do vrstvy '%s'?",
+ "QwantToClear":"Opravdu chcete smazat současný dokument?\nHistorie změn bude také smazána.",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Chyba v parsování zdrojového kódu SVG.\nChcete se vrátit k původnímu?",
+ "QignoreSourceChanges":"Opravdu chcete stornovat změny provedené v SVG kódu?",
+ "featNotSupported":"Tato vlastnost ještě není k dispozici",
+ "enterNewImgURL":"Vložte adresu URL, na které se nachází vkládaný obrázek",
+ "defsFailOnSave": "POZOR: Kvůli nedokonalosti Vašeho prohlížeče se mohou některé části dokumentu špatně vykreslovat (mohou chybět barevné přechody nebo některé objekty). Po uložení dokumentu by se ale vše mělo zobrazovat správně.",
+ "loadingImage":"Nahrávám obrázek ...",
+ "saveFromBrowser": "Použijte nabídku \"Uložit stránku jako ...\" ve Vašem prohlížeči pro uložení dokumentu do souboru %s.",
+ "noteTheseIssues": "Mohou se vyskytnout následující problémy: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.cy.js b/public/svg-edit/editor/locale/lang.cy.js
index d3e62ae2..4808073b 100644
--- a/public/svg-edit/editor/locale/lang.cy.js
+++ b/public/svg-edit/editor/locale/lang.cy.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Alinio perthynas i ..."},
-{"id": "bkgnd_color", "title": "Newid lliw cefndir / Didreiddiad"},
-{"id": "circle_cx", "title": "CX Newid cylch yn cydlynu"},
-{"id": "circle_cy", "title": "Newid cylch's cy gydgysylltu"},
-{"id": "circle_r", "title": "Newid radiws cylch yn"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Newid Hirsgwâr Corner Radiws"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Newid Ellipse yn CX gydgysylltu"},
-{"id": "ellipse_cy", "title": "Newid Ellipse yn cydlynu cy"},
-{"id": "ellipse_rx", "title": "Radiws Newid Ellipse's x"},
-{"id": "ellipse_ry", "title": "Radiws Newid Ellipse yn y"},
-{"id": "fill_color", "title": "Newid lliw llenwi"},
-{"id": "fitToContent", "textContent": "Ffit i Cynnwys"},
-{"id": "fit_to_all", "textContent": "Yn addas i bawb content"},
-{"id": "fit_to_canvas", "textContent": "Ffit i ofyn"},
-{"id": "fit_to_layer_content", "textContent": "Ffit cynnwys haen i"},
-{"id": "fit_to_sel", "textContent": "Yn addas at ddewis"},
-{"id": "font_family", "title": "Newid Font Teulu"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Uchder delwedd Newid"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Newid URL"},
-{"id": "image_width", "title": "Lled delwedd Newid"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "gwrthrych mwyaf"},
-{"id": "layer_delete", "title": "Dileu Haen"},
-{"id": "layer_down", "title": "Symud Haen i Lawr"},
-{"id": "layer_new", "title": "Haen Newydd"},
-{"id": "layer_rename", "title": "Ail-enwi Haen"},
-{"id": "layer_up", "title": "Symud Haen Up"},
-{"id": "layersLable", "textContent": "Haen:"},
-{"id": "line_x1", "title": "Newid llinell yn cychwyn x gydgysylltu"},
-{"id": "line_x2", "title": "Newid llinell yn diweddu x gydgysylltu"},
-{"id": "line_y1", "title": "Newid llinell ar y cychwyn yn cydlynu"},
-{"id": "line_y2", "title": "Newid llinell yn dod i ben y gydgysylltu"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "tudalen"},
-{"id": "palette", "title": "Cliciwch yma i lenwi newid lliw, sifft-cliciwch i newid lliw strôc"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Uchder petryal Newid"},
-{"id": "rect_width_tool", "title": "Lled petryal Newid"},
-{"id": "relativeToLabel", "textContent": "cymharol i:"},
-{"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": "Rhagosodol Dewis:"},
-{"id": "selected_objects", "textContent": "gwrthrychau etholedig"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "lleiaf gwrthrych"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Newid lliw strôc"},
-{"id": "stroke_style", "title": "Newid arddull strôc diferyn"},
-{"id": "stroke_width", "title": "Lled strôc Newid"},
-{"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": "Uchder:"},
-{"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": "Lled:"},
-{"id": "text", "title": "Cynnwys testun Newid"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Alinio Gwaelod"},
-{"id": "tool_aligncenter", "title": "Alinio Center"},
-{"id": "tool_alignleft", "title": "Alinio Chwith"},
-{"id": "tool_alignmiddle", "title": "Alinio Canol"},
-{"id": "tool_alignright", "title": "Alinio Hawl"},
-{"id": "tool_aligntop", "title": "Alinio Top"},
-{"id": "tool_angle", "title": "Ongl cylchdro Newid"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Testun Bras"},
-{"id": "tool_circle", "title": "Cylch"},
-{"id": "tool_clear", "textContent": "Newydd Delwedd"},
-{"id": "tool_clone", "title": "Clone Elfen"},
-{"id": "tool_clone_multi", "title": "Elfennau Clone "},
-{"id": "tool_delete", "title": "Dileu Elfen"},
-{"id": "tool_delete_multi", "title": "Elfennau Selected Dileu"},
-{"id": "tool_docprops", "textContent": "Document Eiddo"},
-{"id": "tool_docprops_cancel", "textContent": "Canslo"},
-{"id": "tool_docprops_save", "textContent": "Cadw"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Rhad ac am ddim Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Teclyn pensil"},
-{"id": "tool_fhrect", "title": "Hand rhad ac am ddim Hirsgwâr"},
-{"id": "tool_font_size", "title": "Newid Maint Ffont"},
-{"id": "tool_group", "title": "Elfennau Grŵp"},
-{"id": "tool_image", "title": "Offer Delwedd"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italig Testun"},
-{"id": "tool_line", "title": "Llinell Offer"},
-{"id": "tool_move_bottom", "title": "Symud i'r Gwaelod"},
-{"id": "tool_move_top", "title": "Symud i'r Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Newid dewis Didreiddiad eitem"},
-{"id": "tool_open", "textContent": "Delwedd Agored"},
-{"id": "tool_path", "title": "Offer poly"},
-{"id": "tool_rect", "title": "Petryal"},
-{"id": "tool_redo", "title": "Ail-wneud"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Cadw Delwedd"},
-{"id": "tool_select", "title": "Dewiswch Offer"},
-{"id": "tool_source", "title": "Golygu Ffynhonnell"},
-{"id": "tool_source_cancel", "textContent": "Canslo"},
-{"id": "tool_source_save", "textContent": "Cadw"},
-{"id": "tool_square", "title": "Sgwâr"},
-{"id": "tool_text", "title": "Testun Offer"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Dadwneud"},
-{"id": "tool_ungroup", "title": "Elfennau Ungroup"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Offer Chwyddo"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Newid lefel chwyddo"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "cy",
+ dir : "ltr",
+ common: {
+ "ok": "Cadw",
+ "cancel": "Canslo",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Cliciwch yma i lenwi newid lliw, sifft-cliciwch i newid lliw strôc",
+ "zoom_level": "Newid lefel chwyddo",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Newid lliw llenwi",
+ "stroke_color": "Newid lliw strôc",
+ "stroke_style": "Newid arddull strôc diferyn",
+ "stroke_width": "Lled strôc Newid",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Ongl cylchdro Newid",
+ "blur": "Change gaussian blur value",
+ "opacity": "Newid dewis Didreiddiad eitem",
+ "circle_cx": "CX Newid cylch yn cydlynu",
+ "circle_cy": "Newid cylch's cy gydgysylltu",
+ "circle_r": "Newid radiws cylch yn",
+ "ellipse_cx": "Newid Ellipse yn CX gydgysylltu",
+ "ellipse_cy": "Newid Ellipse yn cydlynu cy",
+ "ellipse_rx": "Radiws Newid Ellipse's x",
+ "ellipse_ry": "Radiws Newid Ellipse yn y",
+ "line_x1": "Newid llinell yn cychwyn x gydgysylltu",
+ "line_x2": "Newid llinell yn diweddu x gydgysylltu",
+ "line_y1": "Newid llinell ar y cychwyn yn cydlynu",
+ "line_y2": "Newid llinell yn dod i ben y gydgysylltu",
+ "rect_height": "Uchder petryal Newid",
+ "rect_width": "Lled petryal Newid",
+ "corner_radius": "Newid Hirsgwâr Corner Radiws",
+ "image_width": "Lled delwedd Newid",
+ "image_height": "Uchder delwedd Newid",
+ "image_url": "Newid URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Cynnwys testun Newid",
+ "font_family": "Newid Font Teulu",
+ "font_size": "Newid Maint Ffont",
+ "bold": "Testun Bras",
+ "italic": "Italig Testun"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Newid lliw cefndir / Didreiddiad",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Ffit i Cynnwys",
+ "fit_to_all": "Yn addas i bawb content",
+ "fit_to_canvas": "Ffit i ofyn",
+ "fit_to_layer_content": "Ffit cynnwys haen i",
+ "fit_to_sel": "Yn addas at ddewis",
+ "align_relative_to": "Alinio perthynas i ...",
+ "relativeTo": "cymharol i:",
+ "tudalen": "tudalen",
+ "largest_object": "gwrthrych mwyaf",
+ "selected_objects": "gwrthrychau etholedig",
+ "smallest_object": "lleiaf gwrthrych",
+ "new_doc": "Newydd Delwedd",
+ "open_doc": "Delwedd Agored",
+ "export_png": "Export as PNG",
+ "save_doc": "Cadw Delwedd",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Alinio Gwaelod",
+ "align_center": "Alinio Center",
+ "align_left": "Alinio Chwith",
+ "align_middle": "Alinio Canol",
+ "align_right": "Alinio Hawl",
+ "align_top": "Alinio Top",
+ "mode_select": "Dewiswch Offer",
+ "mode_fhpath": "Teclyn pensil",
+ "mode_line": "Llinell Offer",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Hand rhad ac am ddim Hirsgwâr",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Cylch",
+ "mode_fhellipse": "Rhad ac am ddim Hand Ellipse",
+ "mode_path": "Offer poly",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Testun Offer",
+ "mode_image": "Offer Delwedd",
+ "mode_zoom": "Offer Chwyddo",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Dadwneud",
+ "redo": "Ail-wneud",
+ "tool_source": "Golygu Ffynhonnell",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elfennau Grŵp",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Elfennau Ungroup",
+ "docprops": "Document Eiddo",
+ "imagelib": "Image Library",
+ "move_bottom": "Symud i'r Gwaelod",
+ "move_top": "Symud i'r Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Cadw",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Dileu Haen",
+ "move_down": "Symud Haen i Lawr",
+ "new": "Haen Newydd",
+ "rename": "Ail-enwi Haen",
+ "move_up": "Symud Haen Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Rhagosodol Dewis:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.da.js b/public/svg-edit/editor/locale/lang.da.js
index a081e0b9..ae209cde 100644
--- a/public/svg-edit/editor/locale/lang.da.js
+++ b/public/svg-edit/editor/locale/lang.da.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Juster i forhold til ..."},
-{"id": "bkgnd_color", "title": "Skift baggrundsfarve / uigennemsigtighed"},
-{"id": "circle_cx", "title": "Skift cirklens cx koordinere"},
-{"id": "circle_cy", "title": "Skift cirklens cy koordinere"},
-{"id": "circle_r", "title": "Skift cirklens radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Skift Rektangel Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Skift ellipse's cx koordinere"},
-{"id": "ellipse_cy", "title": "Skift ellipse's cy koordinere"},
-{"id": "ellipse_rx", "title": "Skift ellipse's x radius"},
-{"id": "ellipse_ry", "title": "Skift ellipse's y radius"},
-{"id": "fill_color", "title": "Skift fyldfarve"},
-{"id": "fitToContent", "textContent": "Tilpas til indhold"},
-{"id": "fit_to_all", "textContent": "Passer til alt indhold"},
-{"id": "fit_to_canvas", "textContent": "Tilpas til lærred"},
-{"id": "fit_to_layer_content", "textContent": "Tilpas til lag indhold"},
-{"id": "fit_to_sel", "textContent": "Tilpas til udvælgelse"},
-{"id": "font_family", "title": "Skift Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Skift billede højde"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Skift webadresse"},
-{"id": "image_width", "title": "Skift billede bredde"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "største objekt"},
-{"id": "layer_delete", "title": "Slet Layer"},
-{"id": "layer_down", "title": "Flyt lag ned"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Omdøb Layer"},
-{"id": "layer_up", "title": "Flyt Layer Up"},
-{"id": "layersLable", "textContent": "Lag:"},
-{"id": "line_x1", "title": "Skift linie's start x-koordinat"},
-{"id": "line_x2", "title": "Skift Line's slutter x-koordinat"},
-{"id": "line_y1", "title": "Skift linjens start y-koordinat"},
-{"id": "line_y2", "title": "Skift Line's slutter y-koordinat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "side"},
-{"id": "palette", "title": "Klik for at ændre fyldfarve, shift-klik for at ændre stregfarve"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Skift rektangel højde"},
-{"id": "rect_width_tool", "title": "Skift rektanglets bredde"},
-{"id": "relativeToLabel", "textContent": "i forhold til:"},
-{"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": "Vælg foruddefinerede:"},
-{"id": "selected_objects", "textContent": "valgte objekter"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "mindste objekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Skift stregfarve"},
-{"id": "stroke_style", "title": "Skift slagtilfælde Dash stil"},
-{"id": "stroke_width", "title": "Skift slagtilfælde bredde"},
-{"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": "Højde:"},
-{"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": "Bredde:"},
-{"id": "text", "title": "Skift tekst indhold"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Juster Bottom"},
-{"id": "tool_aligncenter", "title": "Centrer"},
-{"id": "tool_alignleft", "title": "Venstrejusteret"},
-{"id": "tool_alignmiddle", "title": "Juster Mellemøsten"},
-{"id": "tool_alignright", "title": "Højrejusteret"},
-{"id": "tool_aligntop", "title": "Juster Top"},
-{"id": "tool_angle", "title": "Skift rotationsvinkel"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Fed tekst"},
-{"id": "tool_circle", "title": "Cirkel"},
-{"id": "tool_clear", "textContent": "Nyt billede"},
-{"id": "tool_clone", "title": "Klon Element"},
-{"id": "tool_clone_multi", "title": "Klon Elements"},
-{"id": "tool_delete", "title": "Slet Element"},
-{"id": "tool_delete_multi", "title": "Slet markerede elementer"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Annuller"},
-{"id": "tool_docprops_save", "textContent": "Gemme"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Rektangel"},
-{"id": "tool_font_size", "title": "Skift skriftstørrelse"},
-{"id": "tool_group", "title": "Gruppe Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Flyt til bund"},
-{"id": "tool_move_top", "title": "Flyt til toppen"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Skift valgte element opacitet"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rektangel"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Gem billede"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Annuller"},
-{"id": "tool_source_save", "textContent": "Gemme"},
-{"id": "tool_square", "title": "Firkant"},
-{"id": "tool_text", "title": "Tekstværktøj"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Fortryd"},
-{"id": "tool_ungroup", "title": "Opdel Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Skift zoomniveau"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "da",
+ dir : "ltr",
+ common: {
+ "ok": "Gemme",
+ "cancel": "Annuller",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klik for at ændre fyldfarve, shift-klik for at ændre stregfarve",
+ "zoom_level": "Skift zoomniveau",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Skift fyldfarve",
+ "stroke_color": "Skift stregfarve",
+ "stroke_style": "Skift slagtilfælde Dash stil",
+ "stroke_width": "Skift slagtilfælde bredde",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Skift rotationsvinkel",
+ "blur": "Change gaussian blur value",
+ "opacity": "Skift valgte element opacitet",
+ "circle_cx": "Skift cirklens cx koordinere",
+ "circle_cy": "Skift cirklens cy koordinere",
+ "circle_r": "Skift cirklens radius",
+ "ellipse_cx": "Skift ellipse's cx koordinere",
+ "ellipse_cy": "Skift ellipse's cy koordinere",
+ "ellipse_rx": "Skift ellipse's x radius",
+ "ellipse_ry": "Skift ellipse's y radius",
+ "line_x1": "Skift linie's start x-koordinat",
+ "line_x2": "Skift Line's slutter x-koordinat",
+ "line_y1": "Skift linjens start y-koordinat",
+ "line_y2": "Skift Line's slutter y-koordinat",
+ "rect_height": "Skift rektangel højde",
+ "rect_width": "Skift rektanglets bredde",
+ "corner_radius": "Skift Rektangel Corner Radius",
+ "image_width": "Skift billede bredde",
+ "image_height": "Skift billede højde",
+ "image_url": "Skift webadresse",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Skift tekst indhold",
+ "font_family": "Skift Font Family",
+ "font_size": "Skift skriftstørrelse",
+ "bold": "Fed tekst",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Skift baggrundsfarve / uigennemsigtighed",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Tilpas til indhold",
+ "fit_to_all": "Passer til alt indhold",
+ "fit_to_canvas": "Tilpas til lærred",
+ "fit_to_layer_content": "Tilpas til lag indhold",
+ "fit_to_sel": "Tilpas til udvælgelse",
+ "align_relative_to": "Juster i forhold til ...",
+ "relativeTo": "i forhold til:",
+ "side": "side",
+ "largest_object": "største objekt",
+ "selected_objects": "valgte objekter",
+ "smallest_object": "mindste objekt",
+ "new_doc": "Nyt billede",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Gem billede",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Juster Bottom",
+ "align_center": "Centrer",
+ "align_left": "Venstrejusteret",
+ "align_middle": "Juster Mellemøsten",
+ "align_right": "Højrejusteret",
+ "align_top": "Juster Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rektangel",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Cirkel",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekstværktøj",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Fortryd",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Gruppe Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Opdel Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Flyt til bund",
+ "move_top": "Flyt til toppen",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Gemme",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Slet Layer",
+ "move_down": "Flyt lag ned",
+ "new": "New Layer",
+ "rename": "Omdøb Layer",
+ "move_up": "Flyt Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Vælg foruddefinerede:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.de.js b/public/svg-edit/editor/locale/lang.de.js
index 7bd96136..d0e7ad3e 100644
--- a/public/svg-edit/editor/locale/lang.de.js
+++ b/public/svg-edit/editor/locale/lang.de.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Relativ zu einem anderem Objekt ausrichten ..."},
-{"id": "bkgnd_color", "title": "Hintergrundfarbe ändern / Opazität"},
-{"id": "circle_cx", "title": "Kreiszentrum (cx) ändern"},
-{"id": "circle_cy", "title": "Kreiszentrum (cy) ändern"},
-{"id": "circle_r", "title": "Kreisradius (r) ändern"},
-{"id": "connector_no_arrow", "textContent": "Kein Pfeil"},
-{"id": "copyrightLabel", "textContent": "angetrieben durch"},
-{"id": "cornerRadiusLabel", "title": "Eckenradius des Rechtecks ändern"},
-{"id": "curve_segments", "textContent": "Kurve"},
-{"id": "ellipse_cx", "title": "Ellipsenzentrum (cx) ändern"},
-{"id": "ellipse_cy", "title": "Ellipsenzentrum (cy) ändern"},
-{"id": "ellipse_rx", "title": "Ellipsenradius (x) ändern"},
-{"id": "ellipse_ry", "title": "Ellipsenradius (y) ändern"},
-{"id": "fill_color", "title": "Füllfarbe ändern"},
-{"id": "fitToContent", "textContent": "An den Inhalt anpassen"},
-{"id": "fit_to_all", "textContent": "An gesamten Inhalt anpassen"},
-{"id": "fit_to_canvas", "textContent": "An die Zeichenfläche anpassen"},
-{"id": "fit_to_layer_content", "textContent": "An Inhalt der Ebene anpassen"},
-{"id": "fit_to_sel", "textContent": "An die Auswahl anpassen"},
-{"id": "font_family", "title": "Schriftart wählen"},
-{"id": "icon_large", "textContent": "Groß"},
-{"id": "icon_medium", "textContent": "Mittel"},
-{"id": "icon_small", "textContent": "Klein"},
-{"id": "icon_xlarge", "textContent": "Sehr Groß"},
-{"id": "image_height", "title": "Bildhöhe ändern"},
-{"id": "image_opt_embed", "textContent": "Daten einbetten (lokale Dateien)"},
-{"id": "image_opt_ref", "textContent": "Benutze die Datei Referenz"},
-{"id": "image_url", "title": "URL ändern"},
-{"id": "image_width", "title": "Bildbreite ändern"},
-{"id": "includedImages", "textContent": "Eingefügte Bilder"},
-{"id": "largest_object", "textContent": "größtes Objekt"},
-{"id": "layer_delete", "title": "Ebene löschen"},
-{"id": "layer_down", "title": "Ebene nach unten verschieben"},
-{"id": "layer_new", "title": "Neue Ebene"},
-{"id": "layer_rename", "title": "Ebene umbenennen"},
-{"id": "layer_up", "title": "Ebene nach oben verschieben"},
-{"id": "layersLabel", "textContent": "Ebenen:"},
-{"id": "line_x1", "title": "X-Koordinate des Linienanfangs ändern"},
-{"id": "line_x2", "title": "X-Koordinate des Linienendes ändern"},
-{"id": "line_y1", "title": "Y-Koordinate des Linienanfangs ändern"},
-{"id": "line_y2", "title": "Y-Koordinate des Linienendes ändern"},
-{"id": "page", "textContent": "Seite"},
-{"id": "linecap_butt", "title": "Form der Linienendung: Stumpf"},
-{"id": "linecap_round", "title": "Form der Linienendung: Rund"},
-{"id": "linecap_square", "title": "Form der Linienendung: Rechteckig"},
-{"id": "linejoin_bevel", "title": "Zusammentreffen von zwei Linien: abgeschrägte Kante"},
-{"id": "linejoin_miter", "title": "Zusammentreffen von zwei Linien: Gehrung"},
-{"id": "linejoin_round", "title": "Zusammentreffen von zwei Linien: Rund"},
-{"id": "main_icon", "title": "Hauptmenü"},
-{"id": "mode_connect", "title": "Verbinde zwei Objekte"},
-{"id": "palette", "title": "Klick zum Ändern der Füllfarbe, Shift-Klick zum Ändern der Linienfarbe"},
-{"id": "path_node_x", "title": "Ändere die X Koordinate des Knoten"},
-{"id": "path_node_y", "title": "Ändere die Y Koordinate des Knoten"},
-{"id": "rect_height_tool", "title": "Höhe des Rechtecks ändern"},
-{"id": "rect_width_tool", "title": "Breite des Rechtecks ändern"},
-{"id": "relativeToLabel", "textContent": "im Vergleich zu:"},
-{"id": "seg_type", "title": "Ändere den Typ des Segments"},
-{"id": "selLayerLabel", "textContent": "Verschiebe ausgewählte Objekte:"},
-{"id": "selLayerNames", "title": "Verschiebe ausgewählte Objekte auf eine andere Ebene"},
-{"id": "selectedPredefined", "textContent": "Auswahl einer vordefinierten:"},
-{"id": "selected_objects", "textContent": "gewählte Objekte"},
-{"id": "selected_x", "title": "Ändere die X Koordinate"},
-{"id": "selected_y", "title": "Ändere die Y Koordinate"},
-{"id": "smallest_object", "textContent": "kleinstes Objekt"},
-{"id": "straight_segments", "textContent": "Gerade"},
-{"id": "stroke_color", "title": "Linienfarbe ändern"},
-{"id": "stroke_style", "title": "Linienstil ändern"},
-{"id": "stroke_width", "title": "Linienbreite ändern"},
-{"id": "svginfo_bg_note", "textContent": "Anmerkung: Der Hintergrund wird mit der Speicherung des Bildes nicht gespeichert."},
-{"id": "svginfo_change_background", "textContent": "Editor Hintergrund"},
-{"id": "svginfo_dim", "textContent": "Dimension der Zeichenfläche"},
-{"id": "svginfo_editor_prefs", "textContent": "Editor Einstellungen"},
-{"id": "svginfo_height", "textContent": "Höhe:"},
-{"id": "svginfo_icons", "textContent": "Symbol Abmessungen"},
-{"id": "svginfo_image_props", "textContent": "Bildeigenschaften"},
-{"id": "svginfo_lang", "textContent": "Sprache"},
-{"id": "svginfo_title", "textContent": "Titel"},
-{"id": "svginfo_width", "textContent": "Breite:"},
-{"id": "text", "title": "Textinhalt erstellen und bearbeiten"},
-{"id": "toggle_stroke_tools", "title": "Zeige/Verberge weitere Linien Werkzeuge"},
-{"id": "tool_add_subpath", "title": "Teilpfad hinzufügen"},
-{"id": "tool_alignbottom", "title": "Unten ausrichten"},
-{"id": "tool_aligncenter", "title": "Zentriert ausrichten"},
-{"id": "tool_alignleft", "title": "Linksbündig ausrichten"},
-{"id": "tool_alignmiddle", "title": "In der Mitte ausrichten"},
-{"id": "tool_alignright", "title": "Rechtsbündig ausrichten"},
-{"id": "tool_aligntop", "title": "Oben ausrichten"},
-{"id": "tool_angle", "title": "Drehwinkel ändern"},
-{"id": "tool_blur", "title": "Ändere Gaußschen Weichzeichner Wert"},
-{"id": "tool_bold", "title": "Fetter Text"},
-{"id": "tool_circle", "title": "Kreis"},
-{"id": "tool_clear", "textContent": "Neues Bild"},
-{"id": "tool_clone", "title": "Objekt klonen"},
-{"id": "tool_clone_multi", "title": "Ausgewählte Objekte klonen"},
-{"id": "tool_delete", "title": "Objekt löschen"},
-{"id": "tool_delete_multi", "title": "Ausgewählte Objekte löschen"},
-{"id": "tool_docprops", "textContent": "Dokument-Eigenschaften"},
-{"id": "tool_docprops_cancel", "textContent": "Abbrechen"},
-{"id": "tool_docprops_save", "textContent": "OK"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Als PNG exportieren"},
-{"id": "tool_eyedropper", "title": "Ableger"},
-{"id": "tool_fhellipse", "title": "Freihand Ellipse"},
-{"id": "tool_fhpath", "title": "Freihandlinien zeichnen"},
-{"id": "tool_fhrect", "title": "Freihand Rechteck"},
-{"id": "tool_font_size", "title": "Schriftgröße einstellen"},
-{"id": "tool_group", "title": "Gruppieren"},
-{"id": "tool_image", "title": "Bild einfügen"},
-{"id": "tool_import", "textContent": "Importiere SVG"},
-{"id": "tool_italic", "title": "Kursiver Text"},
-{"id": "tool_line", "title": "Linien zeichnen"},
-{"id": "tool_move_bottom", "title": "Die gewählten Objekte nach ganz unten schieben"},
-{"id": "tool_move_top", "title": "Die gewählten Objekte nach ganz oben anheben"},
-{"id": "tool_node_clone", "title": "Klone den Knoten"},
-{"id": "tool_node_delete", "title": "Lösche den Knoten"},
-{"id": "tool_node_link", "title": "Gekoppelte oder separate Kontroll Punkte für die Bearbeitung des Pfades"},
-{"id": "tool_opacity", "title": "Opazität des ausgewählten Objekts ändern"},
-{"id": "tool_open", "textContent": "Bild öffnen"},
-{"id": "tool_path", "title": "Pfad zeichnen"},
-{"id": "tool_rect", "title": "Rechteck"},
-{"id": "tool_redo", "title": "Wiederherstellen"},
-{"id": "tool_reorient", "title": "Neuausrichtung des Pfades"},
-{"id": "tool_save", "textContent": "Bild speichern"},
-{"id": "tool_select", "title": "Objekte auswählen und verändern"},
-{"id": "tool_source", "title": "Quellecode bearbeiten"},
-{"id": "tool_source_cancel", "textContent": "Abbrechen"},
-{"id": "tool_source_save", "textContent": "Änderungen akzeptieren"},
-{"id": "tool_square", "title": "Quadrat"},
-{"id": "tool_text", "title": "Text erstellen und bearbeiten"},
-{"id": "tool_topath", "title": "Gewähltes Objekt in einen Pfad konvertieren"},
-{"id": "tool_undo", "title": "Rückgängig"},
-{"id": "tool_ungroup", "title": "Gruppierung aufheben"},
-{"id": "tool_wireframe", "title": "Drahtmodell Modus"},
-{"id": "tool_zoom", "title": "Zoomfaktor vergrößern oder verringern"},
-{"id": "url_notice", "title": "Hinweis: Dieses Bild kann nicht eingebettet werden. Eine Anzeige hängt von diesem Pfad ab."},
-{"id": "zoom_panel", "title": "vergrößern"},
-{"id": "sidepanel_handle", "textContent": "E b e n e n", "title": "Ziehe links/rechts um die Seitenleiste anzupassen"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Die Syntaxanalyse Ihrer SVG Quelle enthält Fehler.\nOriginal SVG wiederherstellen?",
- "QignoreSourceChanges": "Soll die Änderung am SVG Quelltext ignoriert werden?",
- "QmoveElemsToLayer": "Verschiebe ausgewählte Objekte in die Ebene '%s'?",
- "QwantToClear": "Möchten Sie die Zeichnung löschen?\nDadurch wird auch die Rückgängig Funktion zurückgesetzt!",
- "cancel": "Abbrechen",
- "defsFailOnSave": "Hinweis: Aufgrund eines Fehlers in Ihrem Browser, kann dieses Bild falsch angezeigt werden (fehlende Gradienten oder Elemente). Es wird jedoch richtig angezeigt sobald es tatsächlich gespeichert wird.",
- "dupeLayerName": "Eine Ebene hat bereits diesen Namen!",
- "enterNewImgURL": "Geben Sie die URL für das neue Bild an",
- "enterNewLayerName": "Geben Sie bitte einen neuen Namen für die Ebene ein",
- "enterUniqueLayerName": "Verwenden Sie einen eindeutigen Namen für die Ebene",
- "exportNoBlur": "Verschwommene Elemente werden als un-verschwommen erscheinen.",
- "exportNoDashArray": "Linien werden ausgefüllt angezeigt.",
- "exportNoImage": "Image-Elemente werden nicht angezeigt.",
- "exportNoText": "Text erscheint möglicherweise nicht wie erwartet.",
- "exportNoforeignObject": "Fremde Objekt Elemente werden nicht angezeigt.",
- "featNotSupported": "Diese Eigenschaft wird nicht unterstützt",
- "invalidAttrValGiven": "Fehlerhafter Wert",
- "key_backspace": "Rücktaste",
- "key_del": "Löschen",
- "key_down": "nach unten",
- "key_up": "nach oben",
- "layer": "Ebene",
- "layerHasThatName": "Eine Ebene hat bereits diesen Namen",
- "loadingImage": "Bild wird geladen, bitte warten ...",
- "noContentToFitTo": "Kein Inhalt anzupassen",
- "noteTheseIssues": "Beachten Sie außerdem die folgenden Probleme: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Ziehe den Kontroll Punkt um die Kurven Eigenschaften anzupassen",
- "pathNodeTooltip": "Ziehe den Knoten zum Verschieben. Doppel Klick um den Segment Typ anzupassen",
- "saveFromBrowser": "Wählen Sie \"Speichern unter ...\" in Ihrem Browser, um das Bild als Datei %s zu speichern."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "de",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Abbrechen",
+ "key_backspace": "Rücktaste",
+ "key_del": "Löschen",
+ "key_down": "nach unten",
+ "key_up": "nach oben",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "angetrieben durch"
+ },
+ ui: {
+ "toggle_stroke_tools": "Zeige/Verberge weitere Linien Werkzeuge",
+ "palette_info": "Klick zum Ändern der Füllfarbe, Shift-Klick zum Ändern der Linienfarbe",
+ "zoom_level": "vergrößern",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Füllfarbe ändern",
+ "stroke_color": "Linienfarbe ändern",
+ "stroke_style": "Linienstil ändern",
+ "stroke_width": "Linienbreite ändern",
+ "pos_x": "Ändere die X Koordinate",
+ "pos_y": "Ändere die Y Koordinate",
+ "linecap_butt": "Form der Linienendung: Stumpf",
+ "linecap_round": "Form der Linienendung: Rund",
+ "linecap_square": "Form der Linienendung: Rechteckig",
+ "linejoin_bevel": "Zusammentreffen von zwei Linien: abgeschrägte Kante",
+ "linejoin_miter": "Zusammentreffen von zwei Linien: Gehrung",
+ "linejoin_round": "Zusammentreffen von zwei Linien: Rund",
+ "angle": "Drehwinkel ändern",
+ "blur": "Ändere Gaußschen Weichzeichner Wert",
+ "opacity": "Opazität des ausgewählten Objekts ändern",
+ "circle_cx": "Kreiszentrum (cx) ändern",
+ "circle_cy": "Kreiszentrum (cy) ändern",
+ "circle_r": "Kreisradius (r) ändern",
+ "ellipse_cx": "Ellipsenzentrum (cx) ändern",
+ "ellipse_cy": "Ellipsenzentrum (cy) ändern",
+ "ellipse_rx": "Ellipsenradius (x) ändern",
+ "ellipse_ry": "Ellipsenradius (y) ändern",
+ "line_x1": "X-Koordinate des Linienanfangs ändern",
+ "line_x2": "X-Koordinate des Linienendes ändern",
+ "line_y1": "Y-Koordinate des Linienanfangs ändern",
+ "line_y2": "Y-Koordinate des Linienendes ändern",
+ "rect_height": "Höhe des Rechtecks ändern",
+ "rect_width": "Breite des Rechtecks ändern",
+ "corner_radius": "Eckenradius des Rechtecks ändern",
+ "image_width": "Bildbreite ändern",
+ "image_height": "Bildhöhe ändern",
+ "image_url": "URL ändern",
+ "node_x": "Ändere die X Koordinate des Knoten",
+ "node_y": "Ändere die Y Koordinate des Knoten",
+ "seg_type": "Ändere den Typ des Segments",
+ "straight_segments": "Gerade",
+ "curve_segments": "Kurve",
+ "text_contents": "Textinhalt erstellen und bearbeiten",
+ "font_family": "Schriftart wählen",
+ "font_size": "Schriftgröße einstellen",
+ "bold": "Fetter Text",
+ "italic": "Kursiver Text"
+ },
+ tools: {
+ "main_menu": "Hauptmenü",
+ "bkgnd_color_opac": "Hintergrundfarbe ändern / Opazität",
+ "connector_no_arrow": "Kein Pfeil",
+ "fitToContent": "An den Inhalt anpassen",
+ "fit_to_all": "An gesamten Inhalt anpassen",
+ "fit_to_canvas": "An die Zeichenfläche anpassen",
+ "fit_to_layer_content": "An Inhalt der Ebene anpassen",
+ "fit_to_sel": "An die Auswahl anpassen",
+ "align_relative_to": "Relativ zu einem anderem Objekt ausrichten ...",
+ "relativeTo": "im Vergleich zu:",
+ "Seite": "Seite",
+ "largest_object": "größtes Objekt",
+ "selected_objects": "gewählte Objekte",
+ "smallest_object": "kleinstes Objekt",
+ "new_doc": "Neues Bild",
+ "open_doc": "Bild öffnen",
+ "export_png": "Als PNG exportieren",
+ "save_doc": "Bild speichern",
+ "import_doc": "Importiere SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Unten ausrichten",
+ "align_center": "Zentriert ausrichten",
+ "align_left": "Linksbündig ausrichten",
+ "align_middle": "In der Mitte ausrichten",
+ "align_right": "Rechtsbündig ausrichten",
+ "align_top": "Oben ausrichten",
+ "mode_select": "Objekte auswählen und verändern",
+ "mode_fhpath": "Freihandlinien zeichnen",
+ "mode_line": "Linien zeichnen",
+ "mode_connect": "Verbinde zwei Objekte",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Freihand Rechteck",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Kreis",
+ "mode_fhellipse": "Freihand Ellipse",
+ "mode_path": "Pfad zeichnen",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text erstellen und bearbeiten",
+ "mode_image": "Bild einfügen",
+ "mode_zoom": "Zoomfaktor vergrößern oder verringern",
+ "mode_eyedropper": "Ableger",
+ "no_embed": "Hinweis: Dieses Bild kann nicht eingebettet werden. Eine Anzeige hängt von diesem Pfad ab.",
+ "undo": "Rückgängig",
+ "redo": "Wiederherstellen",
+ "tool_source": "Quellecode bearbeiten",
+ "wireframe_mode": "Drahtmodell Modus",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Gruppieren",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Gewähltes Objekt in einen Pfad konvertieren",
+ "reorient_path": "Neuausrichtung des Pfades",
+ "ungroup": "Gruppierung aufheben",
+ "docprops": "Dokument-Eigenschaften",
+ "imagelib": "Image Library",
+ "move_bottom": "Die gewählten Objekte nach ganz unten schieben",
+ "move_top": "Die gewählten Objekte nach ganz oben anheben",
+ "node_clone": "Klone den Knoten",
+ "node_delete": "Lösche den Knoten",
+ "node_link": "Gekoppelte oder separate Kontroll Punkte für die Bearbeitung des Pfades",
+ "add_subpath": "Teilpfad hinzufügen",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Änderungen akzeptieren",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "Löschen": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Ebene",
+ "layers": "Layers",
+ "del": "Ebene löschen",
+ "move_down": "Ebene nach unten verschieben",
+ "new": "Neue Ebene",
+ "rename": "Ebene umbenennen",
+ "move_up": "Ebene nach oben verschieben",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Verschiebe ausgewählte Objekte:",
+ "move_selected": "Verschiebe ausgewählte Objekte auf eine andere Ebene"
+ },
+ config: {
+ "image_props": "Bildeigenschaften",
+ "doc_title": "Titel",
+ "doc_dims": "Dimension der Zeichenfläche",
+ "included_images": "Eingefügte Bilder",
+ "image_opt_embed": "Daten einbetten (lokale Dateien)",
+ "image_opt_ref": "Benutze die Datei Referenz",
+ "editor_prefs": "Editor Einstellungen",
+ "icon_size": "Symbol Abmessungen",
+ "language": "Sprache",
+ "background": "Editor Hintergrund",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Anmerkung: Der Hintergrund wird mit der Speicherung des Bildes nicht gespeichert.",
+ "icon_large": "Groß",
+ "icon_medium": "Mittel",
+ "icon_small": "Klein",
+ "icon_xlarge": "Sehr Groß",
+ "select_predefined": "Auswahl einer vordefinierten:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Fehlerhafter Wert",
+ "noContentToFitTo":"Kein Inhalt anzupassen",
+ "dupeLayerName":"Eine Ebene hat bereits diesen Namen!",
+ "enterUniqueLayerName":"Verwenden Sie einen eindeutigen Namen für die Ebene",
+ "enterNewLayerName":"Geben Sie bitte einen neuen Namen für die Ebene ein",
+ "layerHasThatName":"Eine Ebene hat bereits diesen Namen",
+ "QmoveElemsToLayer":"Verschiebe ausgewählte Objekte in die Ebene '%s'?",
+ "QwantToClear":"Möchten Sie die Zeichnung löschen?\nDadurch wird auch die Rückgängig Funktion zurückgesetzt!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Die Syntaxanalyse Ihrer SVG Quelle enthält Fehler.\nOriginal SVG wiederherstellen?",
+ "QignoreSourceChanges":"Soll die Änderung am SVG Quelltext ignoriert werden?",
+ "featNotSupported":"Diese Eigenschaft wird nicht unterstützt",
+ "enterNewImgURL":"Geben Sie die URL für das neue Bild an",
+ "defsFailOnSave": "Hinweis: Aufgrund eines Fehlers in Ihrem Browser, kann dieses Bild falsch angezeigt werden (fehlende Gradienten oder Elemente). Es wird jedoch richtig angezeigt sobald es tatsächlich gespeichert wird.",
+ "loadingImage":"Bild wird geladen, bitte warten ...",
+ "saveFromBrowser": "Wählen Sie \"Speichern unter ...\" in Ihrem Browser, um das Bild als Datei %s zu speichern.",
+ "noteTheseIssues": "Beachten Sie außerdem die folgenden Probleme: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.el.js b/public/svg-edit/editor/locale/lang.el.js
index 259408a3..319ebc3b 100644
--- a/public/svg-edit/editor/locale/lang.el.js
+++ b/public/svg-edit/editor/locale/lang.el.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Στοίχιση σε σχέση με ..."},
-{"id": "bkgnd_color", "title": "Αλλαγή χρώματος φόντου / αδιαφάνεια"},
-{"id": "circle_cx", "title": "Cx Αλλαγή κύκλου συντονίζουν"},
-{"id": "circle_cy", "title": "Αλλαγή κύκλου cy συντονίζουν"},
-{"id": "circle_r", "title": "Αλλαγή ακτίνα κύκλου"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Αλλαγή ορθογώνιο Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Αλλαγή ellipse του CX συντονίζουν"},
-{"id": "ellipse_cy", "title": "Αλλαγή ellipse του cy συντονίζουν"},
-{"id": "ellipse_rx", "title": "X ακτίνα Αλλαγή ellipse του"},
-{"id": "ellipse_ry", "title": "Y ακτίνα Αλλαγή ellipse του"},
-{"id": "fill_color", "title": "Αλλαγή συμπληρώστε χρώμα"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Ταιριάζει σε όλο το περιεχόμενο"},
-{"id": "fit_to_canvas", "textContent": "Προσαρμογή στο μουσαμά"},
-{"id": "fit_to_layer_content", "textContent": "Προσαρμογή στο περιεχόμενο στρώμα"},
-{"id": "fit_to_sel", "textContent": "Fit to επιλογή"},
-{"id": "font_family", "title": "Αλλαγή γραμματοσειράς Οικογένεια"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "Αλλαγή URL"},
-{"id": "image_width", "title": "Αλλαγή πλάτος εικόνας"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "μεγαλύτερο αντικείμενο"},
-{"id": "layer_delete", "title": "Διαγραφήστρώματος"},
-{"id": "layer_down", "title": "Μετακίνηση Layer Down"},
-{"id": "layer_new", "title": "Νέο Layer"},
-{"id": "layer_rename", "title": "Μετονομασία Layer"},
-{"id": "layer_up", "title": "Μετακίνηση Layer Up"},
-{"id": "layersLable", "textContent": "Στρώματα:"},
-{"id": "line_x1", "title": "Αλλαγή γραμμής εκκίνησης x συντονίζουν"},
-{"id": "line_x2", "title": "Αλλαγή γραμμής λήγει x συντονίζουν"},
-{"id": "line_y1", "title": "Αλλαγή γραμμής εκκίνησης y συντονίζουν"},
-{"id": "line_y2", "title": "Αλλαγή γραμμής λήγει y συντονίζουν"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "σελίδα"},
-{"id": "palette", "title": "Κάντε κλικ για να συμπληρώσετε την αλλαγή χρώματος, στροφή κλικ για να αλλάξετε το χρώμα εγκεφαλικό"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Αλλαγή ύψος ορθογωνίου"},
-{"id": "rect_width_tool", "title": "Αλλαγή πλάτους ορθογώνιο"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Αλλαγή γωνία περιστροφής"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Κύκλος"},
-{"id": "tool_clear", "textContent": "Νέα εικόνα"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Στοιχεία"},
-{"id": "tool_delete", "title": "Διαγραφή Στοιχείων [Delete/Backspace]"},
-{"id": "tool_delete_multi", "title": "Διαγραφή επιλεγμένων στοιχείων"},
-{"id": "tool_docprops", "textContent": "Ιδιότητες εγγράφου"},
-{"id": "tool_docprops_cancel", "textContent": "Άκυρο"},
-{"id": "tool_docprops_save", "textContent": "Αποθηκεύω"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Δωρεάν-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Εργαλείομολυβιού"},
-{"id": "tool_fhrect", "title": "Δωρεάν-Hand ορθογώνιο"},
-{"id": "tool_font_size", "title": "Αλλαγή μεγέθους γραμματοσειράς"},
-{"id": "tool_group", "title": "Ομάδα Στοιχεία"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Πλάγιους"},
-{"id": "tool_line", "title": "Line Tool"},
-{"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_opacity", "title": "Αλλαγή αδιαφάνεια επιλεγμένο σημείο"},
-{"id": "tool_open", "textContent": "Άνοιγμα εικόνας"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Ορθογώνιο"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Αποθήκευση εικόνας"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Επεξεργασία Πηγή"},
-{"id": "tool_source_cancel", "textContent": "Άκυρο"},
-{"id": "tool_source_save", "textContent": "Αποθηκεύω"},
-{"id": "tool_square", "title": "Τετράγωνο"},
-{"id": "tool_text", "title": "Κείμενο Tool"},
-{"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": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Αλλαγή επίπεδο μεγέθυνσης"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "el",
+ dir : "ltr",
+ common: {
+ "ok": "Αποθηκεύω",
+ "cancel": "Άκυρο",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Κάντε κλικ για να συμπληρώσετε την αλλαγή χρώματος, στροφή κλικ για να αλλάξετε το χρώμα εγκεφαλικό",
+ "zoom_level": "Αλλαγή επίπεδο μεγέθυνσης",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Αλλαγή συμπληρώστε χρώμα",
+ "stroke_color": "Αλλαγή χρώματος εγκεφαλικό",
+ "stroke_style": "Αλλαγή στυλ παύλα εγκεφαλικό",
+ "stroke_width": "Αλλαγή πλάτος γραμμής",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Αλλαγή ellipse του CX συντονίζουν",
+ "ellipse_cy": "Αλλαγή ellipse του cy συντονίζουν",
+ "ellipse_rx": "X ακτίνα Αλλαγή ellipse του",
+ "ellipse_ry": "Y ακτίνα Αλλαγή ellipse του",
+ "line_x1": "Αλλαγή γραμμής εκκίνησης x συντονίζουν",
+ "line_x2": "Αλλαγή γραμμής λήγει x συντονίζουν",
+ "line_y1": "Αλλαγή γραμμής εκκίνησης y συντονίζουν",
+ "line_y2": "Αλλαγή γραμμής λήγει y συντονίζουν",
+ "rect_height": "Αλλαγή ύψος ορθογωνίου",
+ "rect_width": "Αλλαγή πλάτους ορθογώνιο",
+ "corner_radius": "Αλλαγή ορθογώνιο Corner Radius",
+ "image_width": "Αλλαγή πλάτος εικόνας",
+ "image_height": "Αλλαγή ύψος εικόνας",
+ "image_url": "Αλλαγή URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Αλλαγή περιεχόμενο κειμένου",
+ "font_family": "Αλλαγή γραμματοσειράς Οικογένεια",
+ "font_size": "Αλλαγή μεγέθους γραμματοσειράς",
+ "bold": "Bold Text",
+ "italic": "Πλάγιους"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Αλλαγή χρώματος φόντου / αδιαφάνεια",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Ταιριάζει σε όλο το περιεχόμενο",
+ "fit_to_canvas": "Προσαρμογή στο μουσαμά",
+ "fit_to_layer_content": "Προσαρμογή στο περιεχόμενο στρώμα",
+ "fit_to_sel": "Fit to επιλογή",
+ "align_relative_to": "Στοίχιση σε σχέση με ...",
+ "relativeTo": "σε σχέση με:",
+ "σελίδα": "σελίδα",
+ "largest_object": "μεγαλύτερο αντικείμενο",
+ "selected_objects": "εκλέγεται αντικείμενα",
+ "smallest_object": "μικρότερο αντικείμενο",
+ "new_doc": "Νέα εικόνα",
+ "open_doc": "Άνοιγμα εικόνας",
+ "export_png": "Export as PNG",
+ "save_doc": "Αποθήκευση εικόνας",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Στοίχισηκάτω",
+ "align_center": "Στοίχισηστοκέντρο",
+ "align_left": "Στοίχισηαριστερά",
+ "align_middle": "Ευθυγράμμιση Μέση",
+ "align_right": "Στοίχισηδεξιά",
+ "align_top": "Στοίχισηπάνω",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Εργαλείομολυβιού",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Δωρεάν-Hand ορθογώνιο",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Κύκλος",
+ "mode_fhellipse": "Δωρεάν-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Κείμενο Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Αναίρεση",
+ "redo": "Redo",
+ "tool_source": "Επεξεργασία Πηγή",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Ομάδα Στοιχεία",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Κατάργηση ομαδοποίησης Στοιχεία",
+ "docprops": "Ιδιότητες εγγράφου",
+ "imagelib": "Image Library",
+ "move_bottom": "Μετακίνηση προς τα κάτω",
+ "move_top": "Μετακίνηση στην αρχή",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Διαγραφήστρώματος",
+ "move_down": "Μετακίνηση Layer Down",
+ "new": "Νέο Layer",
+ "rename": "Μετονομασία Layer",
+ "move_up": "Μετακίνηση Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.en.js b/public/svg-edit/editor/locale/lang.en.js
index d6451de1..de63d8b3 100644
--- a/public/svg-edit/editor/locale/lang.en.js
+++ b/public/svg-edit/editor/locale/lang.en.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align relative to ..."},
-{"id": "bkgnd_color", "title": "Change background color/opacity"},
-{"id": "circle_cx", "title": "Change circle's cx coordinate"},
-{"id": "circle_cy", "title": "Change circle's cy coordinate"},
-{"id": "circle_r", "title": "Change circle's radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Change Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Change ellipse's cx coordinate"},
-{"id": "ellipse_cy", "title": "Change ellipse's cy coordinate"},
-{"id": "ellipse_rx", "title": "Change ellipse's x radius"},
-{"id": "ellipse_ry", "title": "Change ellipse's y radius"},
-{"id": "fill_color", "title": "Change fill color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit to all content"},
-{"id": "fit_to_canvas", "textContent": "Fit to canvas"},
-{"id": "fit_to_layer_content", "textContent": "Fit to layer content"},
-{"id": "fit_to_sel", "textContent": "Fit to selection"},
-{"id": "font_family", "title": "Change Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "idLabel", "title": "Identify the element"},
-{"id": "image_height", "title": "Change image height"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Change image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "largest object"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Change line's starting x coordinate"},
-{"id": "line_x2", "title": "Change line's ending x coordinate"},
-{"id": "line_y1", "title": "Change line's starting y coordinate"},
-{"id": "line_y2", "title": "Change line's ending y coordinate"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "page"},
-{"id": "palette", "title": "Click to change fill color, shift-click to change stroke color"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change rectangle height"},
-{"id": "rect_width_tool", "title": "Change rectangle width"},
-{"id": "relativeToLabel", "textContent": "relative to:"},
-{"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": "Select predefined:"},
-{"id": "selected_objects", "textContent": "selected objects"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "smallest object"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change stroke color"},
-{"id": "stroke_style", "title": "Change stroke dash style"},
-{"id": "stroke_width", "title": "Change stroke width by 1, shift-click to change by 0.1"},
-{"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": "Height:"},
-{"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": "Width:"},
-{"id": "text", "title": "Change text contents"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Align Center"},
-{"id": "tool_alignleft", "title": "Align Left"},
-{"id": "tool_alignmiddle", "title": "Align Middle"},
-{"id": "tool_alignright", "title": "Align Right"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Change rotation angle"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Delete Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Cancel"},
-{"id": "tool_docprops_save", "textContent": "OK"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Change Font Size"},
-{"id": "tool_group", "title": "Group Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Change selected item opacity"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_openclose_path", "title": "Open/close sub-path"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_position", "title": "Align Element to Page"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Cancel"},
-{"id": "tool_source_save", "textContent": "Apply Changes"},
-{"id": "tool_square", "title": "Square"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change zoom level"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "en",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click to change fill color, shift-click to change stroke color",
+ "zoom_level": "Change zoom level",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change fill color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke dash style",
+ "stroke_width": "Change stroke width by 1, shift-click to change by 0.1",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected item opacity",
+ "circle_cx": "Change circle's cx coordinate",
+ "circle_cy": "Change circle's cy coordinate",
+ "circle_r": "Change circle's radius",
+ "ellipse_cx": "Change ellipse's cx coordinate",
+ "ellipse_cy": "Change ellipse's cy coordinate",
+ "ellipse_rx": "Change ellipse's x radius",
+ "ellipse_ry": "Change ellipse's y radius",
+ "line_x1": "Change line's starting x coordinate",
+ "line_x2": "Change line's ending x coordinate",
+ "line_y1": "Change line's starting y coordinate",
+ "line_y2": "Change line's ending y coordinate",
+ "rect_height": "Change rectangle height",
+ "rect_width": "Change rectangle width",
+ "corner_radius": "Change Rectangle Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change text contents",
+ "font_family": "Change Font Family",
+ "font_size": "Change Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color/opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit to all content",
+ "fit_to_canvas": "Fit to canvas",
+ "fit_to_layer_content": "Fit to layer content",
+ "fit_to_sel": "Fit to selection",
+ "align_relative_to": "Align relative to ...",
+ "relativeTo": "relative to:",
+ "page": "page",
+ "largest_object": "largest object",
+ "selected_objects": "selected objects",
+ "smallest_object": "smallest object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Middle",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Layer",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Apply Changes",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "delete": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Move Layer Up",
+ "move_down": "Move Layer Down",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer \"%s\"?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.es.js b/public/svg-edit/editor/locale/lang.es.js
index 29a66bd8..9b3c1aed 100644
--- a/public/svg-edit/editor/locale/lang.es.js
+++ b/public/svg-edit/editor/locale/lang.es.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Alinear con respecto a ..."},
-{"id": "bkgnd_color", "title": "Cambiar color de fondo / opacidad"},
-{"id": "circle_cx", "title": "Cambiar la posición horizonral CX del círculo"},
-{"id": "circle_cy", "title": "Cambiar la posición vertical CY del círculo"},
-{"id": "circle_r", "title": "Cambiar el radio del círculo"},
-{"id": "connector_no_arrow", "textContent": "Sin flecha"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Cambiar el radio de las esquinas del rectángulo"},
-{"id": "curve_segments", "textContent": "Curva"},
-{"id": "ellipse_cx", "title": "Cambiar la posición horizontal CX de la elipse"},
-{"id": "ellipse_cy", "title": "Cambiar la posición vertical CY de la elipse"},
-{"id": "ellipse_rx", "title": "Cambiar el radio horizontal X de la elipse"},
-{"id": "ellipse_ry", "title": "Cambiar el radio vertical Y de la elipse"},
-{"id": "fill_color", "title": "Cambiar el color de relleno"},
-{"id": "fitToContent", "textContent": "Ajustar al contenido"},
-{"id": "fit_to_all", "textContent": "Ajustar a todo el contenido"},
-{"id": "fit_to_canvas", "textContent": "Ajustar al lienzo"},
-{"id": "fit_to_layer_content", "textContent": "Ajustar al contenido de la capa"},
-{"id": "fit_to_sel", "textContent": "Ajustar a la selección"},
-{"id": "font_family", "title": "Tipo de fuente"},
-{"id": "icon_large", "textContent": "Grande"},
-{"id": "icon_medium", "textContent": "Mediano"},
-{"id": "icon_small", "textContent": "Pequeño"},
-{"id": "icon_xlarge", "textContent": "Muy grande"},
-{"id": "image_height", "title": "Cambiar la altura de la imagen"},
-{"id": "image_opt_embed", "textContent": "Integrar imágenes en forma de datos (archivos locales)"},
-{"id": "image_opt_ref", "textContent": "Usar la referencia del archivo"},
-{"id": "image_url", "title": "Modificar URL"},
-{"id": "image_width", "title": "Cambiar el ancho de la imagen"},
-{"id": "includedImages", "textContent": "Imágenes integradas"},
-{"id": "largest_object", "textContent": "El objeto más grande"},
-{"id": "layer_delete", "title": "Suprimir capa"},
-{"id": "layer_down", "title": "Mover la capa hacia abajo"},
-{"id": "layer_new", "title": "Nueva capa"},
-{"id": "layer_rename", "title": "Renombrar capa"},
-{"id": "layer_up", "title": "Mover la capa hacia arriba"},
-{"id": "layersLabel", "textContent": "Capas:"},
-{"id": "line_x1", "title": "Cambiar la posición horizontal X del comienzo de la línea"},
-{"id": "line_x2", "title": "Cambiar la posición horizontal X del final de la línea"},
-{"id": "line_y1", "title": "Cambiar la posición vertical Y del comienzo de la línea"},
-{"id": "line_y2", "title": "Cambiar la posición vertical Y del final de la línea"},
-{"id": "linecap_butt", "title": "Final de la línea: en el nodo"},
-{"id": "linecap_round", "title": "Final de la línea: redondeada"},
-{"id": "linecap_square", "title": "Final de la línea: cuadrada"},
-{"id": "linejoin_bevel", "title": "Unión: biselada"},
-{"id": "linejoin_miter", "title": "Unión: recta"},
-{"id": "linejoin_round", "title": "Unión: redondeada"},
-{"id": "main_icon", "title": "Menú principal"},
-{"id": "mode_connect", "title": "Conectar dos objetos"},
-{"id": "page", "textContent": "Página"},
-{"id": "palette", "title": "Haga clic para cambiar el color de relleno. Pulse Mayús y haga clic para cambiar el color del contorno."},
-{"id": "path_node_x", "title": "Cambiar la posición horizontal X del nodo"},
-{"id": "path_node_y", "title": "Cambiar la posición vertical Y del nodo"},
-{"id": "rect_height_tool", "title": "Cambiar la altura del rectángulo"},
-{"id": "rect_width_tool", "title": "Cambiar el ancho rectángulo"},
-{"id": "relativeToLabel", "textContent": "en relación con:"},
-{"id": "seg_type", "title": "Cambiar el tipo de segmento"},
-{"id": "selLayerLabel", "textContent": "Desplazar objetos a:"},
-{"id": "selLayerNames", "title": "Mover los objetos seleccionados a otra capa"},
-{"id": "selectedPredefined", "textContent": "Seleccionar predefinido:"},
-{"id": "selected_objects", "textContent": "Objetos seleccionados"},
-{"id": "selected_x", "title": "Cambiar la posición horizontal X"},
-{"id": "selected_y", "title": "Cambiar la posición vertical Y"},
-{"id": "smallest_object", "textContent": "El objeto más pequeño"},
-{"id": "straight_segments", "textContent": "Recta"},
-{"id": "stroke_color", "title": "Cambiar el color del contorno"},
-{"id": "stroke_style", "title": "Cambiar el estilo del trazo del contorno"},
-{"id": "stroke_width", "title": "Cambiar el grosor del contorno"},
-{"id": "svginfo_bg_note", "textContent": "Nota: El fondo no se guardará junto con la imagen."},
-{"id": "svginfo_change_background", "textContent": "Fondo del editor"},
-{"id": "svginfo_dim", "textContent": "Tamaño del lienzo"},
-{"id": "svginfo_editor_prefs", "textContent": "Preferencias del Editor"},
-{"id": "svginfo_height", "textContent": "Alto:"},
-{"id": "svginfo_icons", "textContent": "Tamaño de los iconos"},
-{"id": "svginfo_image_props", "textContent": "Propiedades de la Imagen"},
-{"id": "svginfo_lang", "textContent": "Idioma"},
-{"id": "svginfo_title", "textContent": "Título"},
-{"id": "svginfo_width", "textContent": "Ancho:"},
-{"id": "text", "title": "Modificar el texto"},
-{"id": "toggle_stroke_tools", "title": "Mostrar/ocultar herramientas de trazo adicionales"},
-{"id": "tool_add_subpath", "title": "Añadir subtrazado"},
-{"id": "tool_alignbottom", "title": "Alinear parte inferior"},
-{"id": "tool_aligncenter", "title": "Centrar verticalmente"},
-{"id": "tool_alignleft", "title": "Alinear lado izquierdo"},
-{"id": "tool_alignmiddle", "title": "Centrar horizontalmente"},
-{"id": "tool_alignright", "title": "Alinear lado derecho"},
-{"id": "tool_aligntop", "title": "Alinear parte superior"},
-{"id": "tool_angle", "title": "Cambiar ángulo de rotación"},
-{"id": "tool_blur", "title": "Ajustar desenfoque gausiano"},
-{"id": "tool_bold", "title": "Texto en negrita"},
-{"id": "tool_circle", "title": "Círculo"},
-{"id": "tool_clear", "textContent": "Nueva imagen"},
-{"id": "tool_clone", "title": "Clonar objeto"},
-{"id": "tool_clone_multi", "title": " Clonar objetos"},
-{"id": "tool_delete", "title": "Suprimir objeto"},
-{"id": "tool_delete_multi", "title": "Suprimir los objetos seleccionados"},
-{"id": "tool_docprops", "textContent": "Propiedades del documento"},
-{"id": "tool_docprops_cancel", "textContent": "Cancelar"},
-{"id": "tool_docprops_save", "textContent": "OK"},
-{"id": "tool_ellipse", "title": "Elipse"},
-{"id": "tool_export", "textContent": "Exportar como PNG"},
-{"id": "tool_eyedropper", "title": "Herramienta de pipeta"},
-{"id": "tool_fhellipse", "title": "Elipse a mano alzada"},
-{"id": "tool_fhpath", "title": "Herramienta de lápiz"},
-{"id": "tool_fhrect", "title": "Rectángulo a mano alzada"},
-{"id": "tool_font_size", "title": "Tamaño de la fuente"},
-{"id": "tool_group", "title": "Agrupar objetos"},
-{"id": "tool_image", "title": "Insertar imagen"},
-{"id": "tool_import", "textContent": "Importar un archivo SVG"},
-{"id": "tool_italic", "title": "Texto en cursiva"},
-{"id": "tool_line", "title": "Trazado de líneas"},
-{"id": "tool_move_bottom", "title": "Mover abajo"},
-{"id": "tool_move_top", "title": "Mover arriba"},
-{"id": "tool_node_clone", "title": "Clonar nodo"},
-{"id": "tool_node_delete", "title": "Suprimir nodo"},
-{"id": "tool_node_link", "title": "Enlazar puntos de control"},
-{"id": "tool_opacity", "title": "Cambiar la opacidad del objeto seleccionado"},
-{"id": "tool_open", "textContent": "Abrir imagen"},
-{"id": "tool_path", "title": "Herramienta de trazado"},
-{"id": "tool_rect", "title": "Rectángulo"},
-{"id": "tool_redo", "title": "Rehacer"},
-{"id": "tool_reorient", "title": "Reorientar el trazado"},
-{"id": "tool_save", "textContent": "Guardar imagen"},
-{"id": "tool_select", "title": "Herramienta de selección"},
-{"id": "tool_source", "title": "Editar código fuente"},
-{"id": "tool_source_cancel", "textContent": "Cancelar"},
-{"id": "tool_source_save", "textContent": "Aplicar cambios"},
-{"id": "tool_square", "title": "Cuadrado"},
-{"id": "tool_text", "title": "Insertar texto"},
-{"id": "tool_topath", "title": "Convertir a trazado"},
-{"id": "tool_undo", "title": "Deshacer"},
-{"id": "tool_ungroup", "title": "Desagrupar objetos"},
-{"id": "tool_wireframe", "title": "Modo marco de alambre"},
-{"id": "tool_zoom", "title": "Zoom"},
-{"id": "url_notice", "title": "NOTA: La imagen no puede ser integrada. El contenido mostrado dependerá de la imagen ubicada en esta ruta. "},
-{"id": "zoom_panel", "title": "Cambiar el nivel de zoom"},
-{"id": "sidepanel_handle", "textContent": "C a p a s", "title": "Arrastrar hacia la izquierda/derecha para modificar el tamaño del panel lateral"},
-{
- "js_strings": {
- "Aceptar": "OK",
- "QerrorsRevertToSource": "Existen errores sintácticos en su código fuente SVG.\n¿Desea volver al código fuente SVG original?",
- "QignoreSourceChanges": "¿Desea ignorar los cambios realizados sobre el código fuente SVG?",
- "QmoveElemsToLayer": "¿Desplazar los elementos seleccionados a la capa '%s'?",
- "QwantToClear": "¿Desea borrar el dibujo?\n¡El historial de acciones también se borrará!",
- "cancel": "Cancelar",
- "defsFailOnSave": "NOTA: Debido a un fallo de su navegador, es posible que la imagen aparezca de forma incorrecta (ciertas gradaciones o elementos podría perderse). La imagen aparecerá en su forma correcta una vez guardada.",
- "dupeLayerName": "¡Ya existe una capa con este nombre!",
- "enterNewImgURL": "Introduzca la nueva URL de la imagen.",
- "enterNewLayerName": "Introduzca el nuevo nombre de la capa.",
- "enterUniqueLayerName": "Introduzca otro nombre distinto para la capa.",
- "exportNoBlur": "Los elementos desenfocados aparecerán enfocados",
- "exportNoDashArray": "Los contornos aparecerán rellenos",
- "exportNoImage": "Los elementos “Imagen” no aparecerán",
- "exportNoText": "La apariencia del texto puede cambiar",
- "exportNoforeignObject": "Los elementos “foreignObject” no aparecerán",
- "featNotSupported": "Función no compatible.",
- "invalidAttrValGiven": "Valor no válido",
- "key_backspace": "retroceso",
- "key_del": "suprimir",
- "key_down": "abajo",
- "key_up": "arriba",
- "layer": "Capa",
- "layerHasThatName": "El nombre introducido es el nombre actual de la capa.",
- "loadingImage": "Cargando imagen. Espere, por favor.",
- "noContentToFitTo": "No existe un contenido al que ajustarse.",
- "noteTheseIssues": "Existen además los problemas siguientes:",
- "pathCtrlPtTooltip": "Arrastre el punto de control para ajustar las propiedades de la curva.",
- "pathNodeTooltip": "Arrastre el nodo para desplazarlo. Haga doble clic sobre el nodo para cambiar el tipo de segmento.",
- "saveFromBrowser": "Seleccionar \"Guardar como...\" en su navegador para guardar la imagen en forma de archivo %s."
- }
-}
-]
-
+svgEditor.readLang({
+ lang: "es",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Cancelar",
+ "key_backspace": "retroceso",
+ "key_del": "suprimir",
+ "key_down": "abajo",
+ "key_up": "arriba",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Mostrar/ocultar herramientas de trazo adicionales",
+ "palette_info": "Haga clic para cambiar el color de relleno. Pulse Mayús y haga clic para cambiar el color del contorno.",
+ "zoom_level": "Cambiar el nivel de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Cambiar el color de relleno",
+ "stroke_color": "Cambiar el color del contorno",
+ "stroke_style": "Cambiar el estilo del trazo del contorno",
+ "stroke_width": "Cambiar el grosor del contorno",
+ "pos_x": "Cambiar la posición horizontal X",
+ "pos_y": "Cambiar la posición vertical Y",
+ "linecap_butt": "Final de la línea: en el nodo",
+ "linecap_round": "Final de la línea: redondeada",
+ "linecap_square": "Final de la línea: cuadrada",
+ "linejoin_bevel": "Unión: biselada",
+ "linejoin_miter": "Unión: recta",
+ "linejoin_round": "Unión: redondeada",
+ "angle": "Cambiar ángulo de rotación",
+ "blur": "Ajustar desenfoque gausiano",
+ "opacity": "Cambiar la opacidad del objeto seleccionado",
+ "circle_cx": "Cambiar la posición horizonral CX del círculo",
+ "circle_cy": "Cambiar la posición vertical CY del círculo",
+ "circle_r": "Cambiar el radio del círculo",
+ "ellipse_cx": "Cambiar la posición horizontal CX de la elipse",
+ "ellipse_cy": "Cambiar la posición vertical CY de la elipse",
+ "ellipse_rx": "Cambiar el radio horizontal X de la elipse",
+ "ellipse_ry": "Cambiar el radio vertical Y de la elipse",
+ "line_x1": "Cambiar la posición horizontal X del comienzo de la línea",
+ "line_x2": "Cambiar la posición horizontal X del final de la línea",
+ "line_y1": "Cambiar la posición vertical Y del comienzo de la línea",
+ "line_y2": "Cambiar la posición vertical Y del final de la línea",
+ "rect_height": "Cambiar la altura del rectángulo",
+ "rect_width": "Cambiar el ancho rectángulo",
+ "corner_radius": "Cambiar el radio de las esquinas del rectángulo",
+ "image_width": "Cambiar el ancho de la imagen",
+ "image_height": "Cambiar la altura de la imagen",
+ "image_url": "Modificar URL",
+ "node_x": "Cambiar la posición horizontal X del nodo",
+ "node_y": "Cambiar la posición vertical Y del nodo",
+ "seg_type": "Cambiar el tipo de segmento",
+ "straight_segments": "Recta",
+ "curve_segments": "Curva",
+ "text_contents": "Modificar el texto",
+ "font_family": "Tipo de fuente",
+ "font_size": "Tamaño de la fuente",
+ "bold": "Texto en negrita",
+ "italic": "Texto en cursiva"
+ },
+ tools: {
+ "main_menu": "Menú principal",
+ "bkgnd_color_opac": "Cambiar color de fondo / opacidad",
+ "connector_no_arrow": "Sin flecha",
+ "fitToContent": "Ajustar al contenido",
+ "fit_to_all": "Ajustar a todo el contenido",
+ "fit_to_canvas": "Ajustar al lienzo",
+ "fit_to_layer_content": "Ajustar al contenido de la capa",
+ "fit_to_sel": "Ajustar a la selección",
+ "align_relative_to": "Alinear con respecto a ...",
+ "relativeTo": "en relación con:",
+ "Página": "Página",
+ "largest_object": "El objeto más grande",
+ "selected_objects": "Objetos seleccionados",
+ "smallest_object": "El objeto más pequeño",
+ "new_doc": "Nueva imagen",
+ "open_doc": "Abrir imagen",
+ "export_png": "Exportar como PNG",
+ "save_doc": "Guardar imagen",
+ "import_doc": "Importar un archivo SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Alinear parte inferior",
+ "align_center": "Centrar verticalmente",
+ "align_left": "Alinear lado izquierdo",
+ "align_middle": "Centrar horizontalmente",
+ "align_right": "Alinear lado derecho",
+ "align_top": "Alinear parte superior",
+ "mode_select": "Herramienta de selección",
+ "mode_fhpath": "Herramienta de lápiz",
+ "mode_line": "Trazado de líneas",
+ "mode_connect": "Conectar dos objetos",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Rectángulo a mano alzada",
+ "mode_ellipse": "Elipse",
+ "mode_circle": "Círculo",
+ "mode_fhellipse": "Elipse a mano alzada",
+ "mode_path": "Herramienta de trazado",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Insertar texto",
+ "mode_image": "Insertar imagen",
+ "mode_zoom": "Zoom",
+ "mode_eyedropper": "Herramienta de pipeta",
+ "no_embed": "NOTA: La imagen no puede ser integrada. El contenido mostrado dependerá de la imagen ubicada en esta ruta. ",
+ "undo": "Deshacer",
+ "redo": "Rehacer",
+ "tool_source": "Editar código fuente",
+ "wireframe_mode": "Modo marco de alambre",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Agrupar objetos",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convertir a trazado",
+ "reorient_path": "Reorientar el trazado",
+ "ungroup": "Desagrupar objetos",
+ "docprops": "Propiedades del documento",
+ "imagelib": "Image Library",
+ "move_bottom": "Mover abajo",
+ "move_top": "Mover arriba",
+ "node_clone": "Clonar nodo",
+ "node_delete": "Suprimir nodo",
+ "node_link": "Enlazar puntos de control",
+ "add_subpath": "Añadir subtrazado",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Aplicar cambios",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "suprimir": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Capa",
+ "layers": "Layers",
+ "del": "Suprimir capa",
+ "move_down": "Mover la capa hacia abajo",
+ "new": "Nueva capa",
+ "rename": "Renombrar capa",
+ "move_up": "Mover la capa hacia arriba",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Desplazar objetos a:",
+ "move_selected": "Mover los objetos seleccionados a otra capa"
+ },
+ config: {
+ "image_props": "Propiedades de la Imagen",
+ "doc_title": "Título",
+ "doc_dims": "Tamaño del lienzo",
+ "included_images": "Imágenes integradas",
+ "image_opt_embed": "Integrar imágenes en forma de datos (archivos locales)",
+ "image_opt_ref": "Usar la referencia del archivo",
+ "editor_prefs": "Preferencias del Editor",
+ "icon_size": "Tamaño de los iconos",
+ "language": "Idioma",
+ "background": "Fondo del editor",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Nota: El fondo no se guardará junto con la imagen.",
+ "icon_large": "Grande",
+ "icon_medium": "Mediano",
+ "icon_small": "Pequeño",
+ "icon_xlarge": "Muy grande",
+ "select_predefined": "Seleccionar predefinido:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Valor no válido",
+ "noContentToFitTo":"No existe un contenido al que ajustarse.",
+ "dupeLayerName":"¡Ya existe una capa con este nombre!",
+ "enterUniqueLayerName":"Introduzca otro nombre distinto para la capa.",
+ "enterNewLayerName":"Introduzca el nuevo nombre de la capa.",
+ "layerHasThatName":"El nombre introducido es el nombre actual de la capa.",
+ "QmoveElemsToLayer":"¿Desplazar los elementos seleccionados a la capa '%s'?",
+ "QwantToClear":"¿Desea borrar el dibujo?\n¡El historial de acciones también se borrará!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Existen errores sintácticos en su código fuente SVG.\n¿Desea volver al código fuente SVG original?",
+ "QignoreSourceChanges":"¿Desea ignorar los cambios realizados sobre el código fuente SVG?",
+ "featNotSupported":"Función no compatible.",
+ "enterNewImgURL":"Introduzca la nueva URL de la imagen.",
+ "defsFailOnSave": "NOTA: Debido a un fallo de su navegador, es posible que la imagen aparezca de forma incorrecta (ciertas gradaciones o elementos podría perderse). La imagen aparecerá en su forma correcta una vez guardada.",
+ "loadingImage":"Cargando imagen. Espere, por favor.",
+ "saveFromBrowser": "Seleccionar \"Guardar como...\" en su navegador para guardar la imagen en forma de archivo %s.",
+ "noteTheseIssues": "Existen además los problemas siguientes:",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.et.js b/public/svg-edit/editor/locale/lang.et.js
index df60ee0c..436c509c 100644
--- a/public/svg-edit/editor/locale/lang.et.js
+++ b/public/svg-edit/editor/locale/lang.et.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Viia võrreldes ..."},
-{"id": "bkgnd_color", "title": "Muuda tausta värvi / läbipaistmatus"},
-{"id": "circle_cx", "title": "Muuda ringi's cx kooskõlastada"},
-{"id": "circle_cy", "title": "Muuda ringi's cy kooskõlastada"},
-{"id": "circle_r", "title": "Muuda ring on raadiusega"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Muuda ristkülik Nurgakabe Raadius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Muuda ellips's cx kooskõlastada"},
-{"id": "ellipse_cy", "title": "Muuda ellips's cy kooskõlastada"},
-{"id": "ellipse_rx", "title": "Muuda ellips's x raadius"},
-{"id": "ellipse_ry", "title": "Muuda ellips's y raadius"},
-{"id": "fill_color", "title": "Muuda täitke värvi"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Sobita kogu sisu"},
-{"id": "fit_to_canvas", "textContent": "Sobita lõuend"},
-{"id": "fit_to_layer_content", "textContent": "Sobita kiht sisu"},
-{"id": "fit_to_sel", "textContent": "Fit valiku"},
-{"id": "font_family", "title": "Muutke Kirjasinperhe"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Muuda pilt kõrgus"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Muuda pilt laius"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "suurim objekt"},
-{"id": "layer_delete", "title": "Kustuta Kiht"},
-{"id": "layer_down", "title": "Liiguta kiht alla"},
-{"id": "layer_new", "title": "Uus kiht"},
-{"id": "layer_rename", "title": "Nimeta kiht"},
-{"id": "layer_up", "title": "Liiguta kiht üles"},
-{"id": "layersLabel", "textContent": "Kihid:"},
-{"id": "line_x1", "title": "Muuda rööbastee algab x-koordinaadi"},
-{"id": "line_x2", "title": "Muuda Line lõpeb x-koordinaadi"},
-{"id": "line_y1", "title": "Muuda rööbastee algab y-koordinaadi"},
-{"id": "line_y2", "title": "Muuda Line lõppenud y-koordinaadi"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "lehekülg"},
-{"id": "palette", "title": "Click muuta täitke värvi, Shift-nuppu, et muuta insult värvi"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Muuda ristküliku kõrgus"},
-{"id": "rect_width_tool", "title": "Muuda ristküliku laius"},
-{"id": "relativeToLabel", "textContent": "võrreldes:"},
-{"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": "Valige eelmääratletud:"},
-{"id": "selected_objects", "textContent": "valitud objektide"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "väikseim objekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Muuda insult värvi"},
-{"id": "stroke_style", "title": "Muuda insult kriips stiil"},
-{"id": "stroke_width", "title": "Muuda insult laius"},
-{"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": "Kõrgus:"},
-{"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": "Laius:"},
-{"id": "text", "title": "Muuda teksti sisu"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Viia Bottom"},
-{"id": "tool_aligncenter", "title": "Keskele joondamine"},
-{"id": "tool_alignleft", "title": "Vasakjoondus"},
-{"id": "tool_alignmiddle", "title": "Viia Lähis -"},
-{"id": "tool_alignright", "title": "Paremjoondus"},
-{"id": "tool_aligntop", "title": "Viia Üles"},
-{"id": "tool_angle", "title": "Muuda Pöördenurk"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Rasvane kiri"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Uus pilt"},
-{"id": "tool_clone", "title": "Kloonide Element"},
-{"id": "tool_clone_multi", "title": "Kloonide Elements"},
-{"id": "tool_delete", "title": "Kustuta Element"},
-{"id": "tool_delete_multi", "title": "Kustuta valitud elemendid [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Dokumendi omadused"},
-{"id": "tool_docprops_cancel", "textContent": "Tühista"},
-{"id": "tool_docprops_save", "textContent": "Salvestama"},
-{"id": "tool_ellipse", "title": "Ellips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Online-Hand Ellips"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Online-Hand Ristkülik"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Rühma elemendid"},
-{"id": "tool_image", "title": "Pilt Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursiiv"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Liiguta alla"},
-{"id": "tool_move_top", "title": "Liiguta üles"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Muuda valitud elemendi läbipaistmatus"},
-{"id": "tool_open", "textContent": "Pildi avamine"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Ristkülik"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Salvesta pilt"},
-{"id": "tool_select", "title": "Vali Tool"},
-{"id": "tool_source", "title": "Muuda Allikas"},
-{"id": "tool_source_cancel", "textContent": "Tühista"},
-{"id": "tool_source_save", "textContent": "Salvestama"},
-{"id": "tool_square", "title": "Nelinurkne"},
-{"id": "tool_text", "title": "Tekst Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Lõhu Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Muuda suumi taset"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "et",
+ dir : "ltr",
+ common: {
+ "ok": "Salvestama",
+ "cancel": "Tühista",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click muuta täitke värvi, Shift-nuppu, et muuta insult värvi",
+ "zoom_level": "Muuda suumi taset",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Muuda täitke värvi",
+ "stroke_color": "Muuda insult värvi",
+ "stroke_style": "Muuda insult kriips stiil",
+ "stroke_width": "Muuda insult laius",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Muuda Pöördenurk",
+ "blur": "Change gaussian blur value",
+ "opacity": "Muuda valitud elemendi läbipaistmatus",
+ "circle_cx": "Muuda ringi's cx kooskõlastada",
+ "circle_cy": "Muuda ringi's cy kooskõlastada",
+ "circle_r": "Muuda ring on raadiusega",
+ "ellipse_cx": "Muuda ellips's cx kooskõlastada",
+ "ellipse_cy": "Muuda ellips's cy kooskõlastada",
+ "ellipse_rx": "Muuda ellips's x raadius",
+ "ellipse_ry": "Muuda ellips's y raadius",
+ "line_x1": "Muuda rööbastee algab x-koordinaadi",
+ "line_x2": "Muuda Line lõpeb x-koordinaadi",
+ "line_y1": "Muuda rööbastee algab y-koordinaadi",
+ "line_y2": "Muuda Line lõppenud y-koordinaadi",
+ "rect_height": "Muuda ristküliku kõrgus",
+ "rect_width": "Muuda ristküliku laius",
+ "corner_radius": "Muuda ristkülik Nurgakabe Raadius",
+ "image_width": "Muuda pilt laius",
+ "image_height": "Muuda pilt kõrgus",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Muuda teksti sisu",
+ "font_family": "Muutke Kirjasinperhe",
+ "font_size": "Change font size",
+ "bold": "Rasvane kiri",
+ "italic": "Kursiiv"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Muuda tausta värvi / läbipaistmatus",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Sobita kogu sisu",
+ "fit_to_canvas": "Sobita lõuend",
+ "fit_to_layer_content": "Sobita kiht sisu",
+ "fit_to_sel": "Fit valiku",
+ "align_relative_to": "Viia võrreldes ...",
+ "relativeTo": "võrreldes:",
+ "lehekülg": "lehekülg",
+ "largest_object": "suurim objekt",
+ "selected_objects": "valitud objektide",
+ "smallest_object": "väikseim objekt",
+ "new_doc": "Uus pilt",
+ "open_doc": "Pildi avamine",
+ "export_png": "Export as PNG",
+ "save_doc": "Salvesta pilt",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Viia Bottom",
+ "align_center": "Keskele joondamine",
+ "align_left": "Vasakjoondus",
+ "align_middle": "Viia Lähis -",
+ "align_right": "Paremjoondus",
+ "align_top": "Viia Üles",
+ "mode_select": "Vali Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Online-Hand Ristkülik",
+ "mode_ellipse": "Ellips",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Online-Hand Ellips",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekst Tool",
+ "mode_image": "Pilt Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Muuda Allikas",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Rühma elemendid",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Lõhu Elements",
+ "docprops": "Dokumendi omadused",
+ "imagelib": "Image Library",
+ "move_bottom": "Liiguta alla",
+ "move_top": "Liiguta üles",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Salvestama",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Kustuta Kiht",
+ "move_down": "Liiguta kiht alla",
+ "new": "Uus kiht",
+ "rename": "Nimeta kiht",
+ "move_up": "Liiguta kiht üles",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Valige eelmääratletud:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.fa.js b/public/svg-edit/editor/locale/lang.fa.js
index 941e73d7..2d4d6aae 100644
--- a/public/svg-edit/editor/locale/lang.fa.js
+++ b/public/svg-edit/editor/locale/lang.fa.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "تراز نسبت به ..."},
-{"id": "bkgnd_color", "title": "تغییر رنگ پس زمینه / تاری"},
-{"id": "circle_cx", "title": "تغییر مختصات cx دایره"},
-{"id": "circle_cy", "title": "تغییر مختصات cy دایره"},
-{"id": "circle_r", "title": "تغییر شعاع دایره"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "تغییر شعاع گوشه مستطیل"},
-{"id": "cornerRadiusLabel", "title": "شعاع گوشه:"},
-{"id": "curve_segments", "textContent": "منحنی"},
-{"id": "ellipse_cx", "title": "تغییر مختصات cx بیضی"},
-{"id": "ellipse_cy", "title": "تغییر مختصات cy بیضی"},
-{"id": "ellipse_rx", "title": "تغییر شعاع rx بیضی"},
-{"id": "ellipse_ry", "title": "تغییر شعاع ry بیضی"},
-{"id": "fill_color", "title": "تغییر رنگ"},
-{"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": "icon_large", "textContent": "بزرگ"},
-{"id": "icon_medium", "textContent": "متوسط"},
-{"id": "icon_small", "textContent": "کوچک"},
-{"id": "icon_xlarge", "textContent": "خیلی بزرگ"},
-{"id": "image_height", "title": "تغییر ارتفاع تصویر"},
-{"id": "image_opt_embed", "textContent": "داده های جای داده شده (پرونده های محلی)"},
-{"id": "image_opt_ref", "textContent": "استفاده از ارجاع به پرونده"},
-{"id": "image_url", "title": "تغییر نشانی وب (url)"},
-{"id": "image_width", "title": "تغییر عرض تصویر"},
-{"id": "includedImages", "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "صفحه"},
-{"id": "palette", "title": "برای تغییر رنگ، کلیک کنید. برای تغییر رنگ لبه، کلید تبدیل (shift) را فشرده و کلیک کنید"},
-{"id": "path_node_x", "title": "تغییر مختصات x نقطه"},
-{"id": "path_node_y", "title": "تغییر مختصات y نقطه"},
-{"id": "rect_height_tool", "title": "تغییر ارتفاع مستطیل"},
-{"id": "rect_width_tool", "title": "تغییر عرض مستطیل"},
-{"id": "relativeToLabel", "textContent": "نسبت به:"},
-{"id": "seg_type", "title": "تغییر نوع قطعه (segment)"},
-{"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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "تغییر زاویه چرخش"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "بیضی با قابلیت تغییر پویا"},
-{"id": "tool_fhpath", "title": "ابزار مداد "},
-{"id": "tool_fhrect", "title": "مستطیل با قابلیت تغییر پویا"},
-{"id": "tool_font_size", "title": "تغییر اندازه قلم"},
-{"id": "tool_group", "title": "قرار دادن عناصر در گروه "},
-{"id": "tool_image", "title": "ابزار تصویر "},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "تغییر تاری عنصر انتخاب شده"},
-{"id": "tool_open", "textContent": "باز کردن تصویر "},
-{"id": "tool_path", "title": "ابزار مسیر "},
-{"id": "tool_rect", "title": "مستطیل"},
-{"id": "tool_redo", "title": "ازنو "},
-{"id": "tool_reorient", "title": "جهت دهی مجدد مسیر"},
-{"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": "تبدیل به مسیر"},
-{"id": "tool_undo", "title": "واگرد "},
-{"id": "tool_ungroup", "title": "خارج کردن عناصر از گروه "},
-{"id": "tool_wireframe", "title": "حالت نمایش لبه ها "},
-{"id": "tool_zoom", "title": "ابزار بزرگ نمایی "},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "تغییر بزرگ نمایی"},
-{"id": "sidepanel_handle", "textContent": "لایه ها", "title": "برای تغییر اندازه منوی کناری، آن را به سمت راست/چپ بکشید "},
-{
- "js_strings": {
- "QerrorsRevertToSource": "در منبع SVG شما خطاهای تجزیه (parse) وجود داشت.\nبه منبع SVG اصلی بازگردانده شود؟",
- "QignoreSourceChanges": "تغییرات اعمال شده در منبع SVG نادیده گرفته شوند؟",
- "QmoveElemsToLayer": "عناصر انتخاب شده به لایه '%s' منتقل شوند؟",
- "QwantToClear": "آیا مطمئن هستید که می خواهید نقاشی را پاک کنید؟\nاین عمل باعث حذف تاریخچه واگرد شما خواهد شد!",
- "cancel": "لغو",
- "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.",
- "dupeLayerName": "لایه ای با آن نام وجود دارد!",
- "enterNewImgURL": "نشانی وب (url) تصویر جدید را وارد کنید",
- "enterNewLayerName": "لطفا نام لایه جدید را وارد کنید",
- "enterUniqueLayerName": "لطفا یک نام لایه یکتا انتخاب کنید",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "این ویژگی پشتیبانی نشده است",
- "invalidAttrValGiven": "مقدار داده شده نامعتبر است",
- "key_backspace": "پس بر ",
- "key_del": "حذف ",
- "key_down": "پایین ",
- "key_up": "بالا ",
- "layer": "لایه",
- "layerHasThatName": "لایه از قبل آن نام را دارد",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "محتوایی برای هم اندازه شدن وجود ندارد",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "تأیید",
- "pathCtrlPtTooltip": "برای تنظیم مشخصات منحنی، نقطه کنترل را بکشید",
- "pathNodeTooltip": "برای جابه جا کردن نقطه، آن را بکشید. برای تغییر قطعه (segment)، روی نقطه دوبار کلیک کنید",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "fa",
+ dir : "ltr",
+ common: {
+ "ok": "تأیید",
+ "cancel": "لغو",
+ "key_backspace": "پس بر ",
+ "key_del": "حذف ",
+ "key_down": "پایین ",
+ "key_up": "بالا ",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "برای تغییر رنگ، کلیک کنید. برای تغییر رنگ لبه، کلید تبدیل (shift) را فشرده و کلیک کنید",
+ "zoom_level": "تغییر بزرگ نمایی",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "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": "تغییر مختصات cx بیضی",
+ "ellipse_cy": "تغییر مختصات cy بیضی",
+ "ellipse_rx": "تغییر شعاع rx بیضی",
+ "ellipse_ry": "تغییر شعاع ry بیضی",
+ "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": "تغییر نوع قطعه (segment)",
+ "straight_segments": "مستقیم",
+ "curve_segments": "منحنی",
+ "text_contents": "تغییر محتویات متن",
+ "font_family": "تغییر خانواده قلم",
+ "font_size": "تغییر اندازه قلم",
+ "bold": "متن توپر ",
+ "italic": "متن کج "
+ },
+ tools: {
+ "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": "نسبت به:",
+ "صفحه": "صفحه",
+ "largest_object": "بزرگترین شئ",
+ "selected_objects": "اشیاء انتخاب شده",
+ "smallest_object": "کوچکترین شئ",
+ "new_doc": "تصویر جدید ",
+ "open_doc": "باز کردن تصویر ",
+ "export_png": "Export as PNG",
+ "save_doc": "ذخیره تصویر ",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "مستطیل با قابلیت تغییر پویا",
+ "mode_ellipse": "بیضی",
+ "mode_circle": "دایره",
+ "mode_fhellipse": "بیضی با قابلیت تغییر پویا",
+ "mode_path": "ابزار مسیر ",
+ "mode_shapelib": "Shape library",
+ "mode_text": "ابزار متن ",
+ "mode_image": "ابزار تصویر ",
+ "mode_zoom": "ابزار بزرگ نمایی ",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "واگرد ",
+ "redo": "ازنو ",
+ "tool_source": "ویرایش منبع ",
+ "wireframe_mode": "حالت نمایش لبه ها ",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "قرار دادن عناصر در گروه ",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "تبدیل به مسیر",
+ "reorient_path": "جهت دهی مجدد مسیر",
+ "ungroup": "خارج کردن عناصر از گروه ",
+ "docprops": "مشخصات سند ",
+ "imagelib": "Image Library",
+ "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",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "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": "انتقال عناصر انتخاب شده به یک لایه متفاوت"
+ },
+ config: {
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"مقدار داده شده نامعتبر است",
+ "noContentToFitTo":"محتوایی برای هم اندازه شدن وجود ندارد",
+ "dupeLayerName":"لایه ای با آن نام وجود دارد!",
+ "enterUniqueLayerName":"لطفا یک نام لایه یکتا انتخاب کنید",
+ "enterNewLayerName":"لطفا نام لایه جدید را وارد کنید",
+ "layerHasThatName":"لایه از قبل آن نام را دارد",
+ "QmoveElemsToLayer":"عناصر انتخاب شده به لایه '%s' منتقل شوند؟",
+ "QwantToClear":"آیا مطمئن هستید که می خواهید نقاشی را پاک کنید؟\nاین عمل باعث حذف تاریخچه واگرد شما خواهد شد!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"در منبع SVG شما خطاهای تجزیه (parse) وجود داشت.\nبه منبع SVG اصلی بازگردانده شود؟",
+ "QignoreSourceChanges":"تغییرات اعمال شده در منبع SVG نادیده گرفته شوند؟",
+ "featNotSupported":"این ویژگی پشتیبانی نشده است",
+ "enterNewImgURL":"نشانی وب (url) تصویر جدید را وارد کنید",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.fi.js b/public/svg-edit/editor/locale/lang.fi.js
index a2ce312d..ecec14c0 100644
--- a/public/svg-edit/editor/locale/lang.fi.js
+++ b/public/svg-edit/editor/locale/lang.fi.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Kohdista suhteessa ..."},
-{"id": "bkgnd_color", "title": "Vaihda taustaväri / sameuden"},
-{"id": "circle_cx", "title": "Muuta Circlen CX koordinoida"},
-{"id": "circle_cy", "title": "Muuta Circlen CY koordinoida"},
-{"id": "circle_r", "title": "Muuta ympyrän säde"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Muuta suorakaide Corner Säde"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Muuta ellipsi's CX koordinoida"},
-{"id": "ellipse_cy", "title": "Muuta ellipsi's CY koordinoida"},
-{"id": "ellipse_rx", "title": "Muuta ellipsi's x säde"},
-{"id": "ellipse_ry", "title": "Muuta ellipsi n y säde"},
-{"id": "fill_color", "title": "Muuta täyttöväri"},
-{"id": "fitToContent", "textContent": "Sovita Content"},
-{"id": "fit_to_all", "textContent": "Sovita kaikki content"},
-{"id": "fit_to_canvas", "textContent": "Sovita kangas"},
-{"id": "fit_to_layer_content", "textContent": "Sovita kerros sisältöön"},
-{"id": "fit_to_sel", "textContent": "Sovita valinta"},
-{"id": "font_family", "title": "Muuta Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Muuta kuvan korkeus"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Muuta URL"},
-{"id": "image_width", "title": "Muuta kuvan leveys"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "Suurin kohde"},
-{"id": "layer_delete", "title": "Poista Layer"},
-{"id": "layer_down", "title": "Siirrä Layer alas"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Nimeä Layer"},
-{"id": "layer_up", "title": "Siirrä Layer"},
-{"id": "layersLabel", "textContent": "Kerrosten:"},
-{"id": "line_x1", "title": "Muuta Linen alkaa x-koordinaatti"},
-{"id": "line_x2", "title": "Muuta Linen päättyy x koordinoida"},
-{"id": "line_y1", "title": "Muuta Linen alkaa y-koordinaatti"},
-{"id": "line_y2", "title": "Muuta Linen päättyy y koordinoida"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "sivulta"},
-{"id": "palette", "title": "Klikkaa muuttaa täyttöväri, Shift-click vaihtaa aivohalvauksen väriä"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Muuta suorakaiteen korkeus"},
-{"id": "rect_width_tool", "title": "Muuta suorakaiteen leveys"},
-{"id": "relativeToLabel", "textContent": "suhteessa:"},
-{"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": "Valitse ennalta:"},
-{"id": "selected_objects", "textContent": "valittujen objektien"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "pienin kohde"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Muuta aivohalvaus väri"},
-{"id": "stroke_style", "title": "Muuta aivohalvaus Dash tyyli"},
-{"id": "stroke_width", "title": "Muuta aivohalvaus leveys"},
-{"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": "Korkeus:"},
-{"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": "Leveys:"},
-{"id": "text", "title": "Muuta tekstin sisältö"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Keskitä"},
-{"id": "tool_alignleft", "title": "Tasaa vasemmalle"},
-{"id": "tool_alignmiddle", "title": "Kohdista Lähi"},
-{"id": "tool_alignright", "title": "Tasaa oikealle"},
-{"id": "tool_aligntop", "title": "Kohdista Top"},
-{"id": "tool_angle", "title": "Muuta kiertokulma"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Lihavoitu teksti"},
-{"id": "tool_circle", "title": "Ympyrään"},
-{"id": "tool_clear", "textContent": "Uusi kuva"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Poista Element"},
-{"id": "tool_delete_multi", "title": "Poista valitut Elements"},
-{"id": "tool_docprops", "textContent": "Asiakirjan ominaisuudet"},
-{"id": "tool_docprops_cancel", "textContent": "Peruuta"},
-{"id": "tool_docprops_save", "textContent": "Tallentaa"},
-{"id": "tool_ellipse", "title": "Soikion"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Kynätyökalu"},
-{"id": "tool_fhrect", "title": "Free-Hand suorakaide"},
-{"id": "tool_font_size", "title": "Muuta fontin kokoa"},
-{"id": "tool_group", "title": "Tuoteryhmään Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursivoitu"},
-{"id": "tool_line", "title": "Viivatyökalulla"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Muuta valitun kohteen läpinäkyvyys"},
-{"id": "tool_open", "textContent": "Avaa kuva"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Suorakulmiossa"},
-{"id": "tool_redo", "title": "Tulppaamalla ilmakanavan"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Valitse työkalu"},
-{"id": "tool_source", "title": "Muokkaa lähdekoodipaketti"},
-{"id": "tool_source_cancel", "textContent": "Peruuta"},
-{"id": "tool_source_save", "textContent": "Tallentaa"},
-{"id": "tool_square", "title": "Neliö"},
-{"id": "tool_text", "title": "Työkalua"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Kumoa"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Suurennustyökalu"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Muuta suurennustaso"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "fi",
+ dir : "ltr",
+ common: {
+ "ok": "Tallentaa",
+ "cancel": "Peruuta",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klikkaa muuttaa täyttöväri, Shift-click vaihtaa aivohalvauksen väriä",
+ "zoom_level": "Muuta suurennustaso",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Muuta täyttöväri",
+ "stroke_color": "Muuta aivohalvaus väri",
+ "stroke_style": "Muuta aivohalvaus Dash tyyli",
+ "stroke_width": "Muuta aivohalvaus leveys",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Muuta kiertokulma",
+ "blur": "Change gaussian blur value",
+ "opacity": "Muuta valitun kohteen läpinäkyvyys",
+ "circle_cx": "Muuta Circlen CX koordinoida",
+ "circle_cy": "Muuta Circlen CY koordinoida",
+ "circle_r": "Muuta ympyrän säde",
+ "ellipse_cx": "Muuta ellipsi's CX koordinoida",
+ "ellipse_cy": "Muuta ellipsi's CY koordinoida",
+ "ellipse_rx": "Muuta ellipsi's x säde",
+ "ellipse_ry": "Muuta ellipsi n y säde",
+ "line_x1": "Muuta Linen alkaa x-koordinaatti",
+ "line_x2": "Muuta Linen päättyy x koordinoida",
+ "line_y1": "Muuta Linen alkaa y-koordinaatti",
+ "line_y2": "Muuta Linen päättyy y koordinoida",
+ "rect_height": "Muuta suorakaiteen korkeus",
+ "rect_width": "Muuta suorakaiteen leveys",
+ "corner_radius": "Muuta suorakaide Corner Säde",
+ "image_width": "Muuta kuvan leveys",
+ "image_height": "Muuta kuvan korkeus",
+ "image_url": "Muuta URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Muuta tekstin sisältö",
+ "font_family": "Muuta Font Family",
+ "font_size": "Muuta fontin kokoa",
+ "bold": "Lihavoitu teksti",
+ "italic": "Kursivoitu"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Vaihda taustaväri / sameuden",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Sovita Content",
+ "fit_to_all": "Sovita kaikki content",
+ "fit_to_canvas": "Sovita kangas",
+ "fit_to_layer_content": "Sovita kerros sisältöön",
+ "fit_to_sel": "Sovita valinta",
+ "align_relative_to": "Kohdista suhteessa ...",
+ "relativeTo": "suhteessa:",
+ "sivulta": "sivulta",
+ "largest_object": "Suurin kohde",
+ "selected_objects": "valittujen objektien",
+ "smallest_object": "pienin kohde",
+ "new_doc": "Uusi kuva",
+ "open_doc": "Avaa kuva",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Keskitä",
+ "align_left": "Tasaa vasemmalle",
+ "align_middle": "Kohdista Lähi",
+ "align_right": "Tasaa oikealle",
+ "align_top": "Kohdista Top",
+ "mode_select": "Valitse työkalu",
+ "mode_fhpath": "Kynätyökalu",
+ "mode_line": "Viivatyökalulla",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand suorakaide",
+ "mode_ellipse": "Soikion",
+ "mode_circle": "Ympyrään",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Työkalua",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Suurennustyökalu",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Kumoa",
+ "redo": "Tulppaamalla ilmakanavan",
+ "tool_source": "Muokkaa lähdekoodipaketti",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Tuoteryhmään Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Asiakirjan ominaisuudet",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Tallentaa",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Poista Layer",
+ "move_down": "Siirrä Layer alas",
+ "new": "New Layer",
+ "rename": "Nimeä Layer",
+ "move_up": "Siirrä Layer",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Valitse ennalta:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.fr.js b/public/svg-edit/editor/locale/lang.fr.js
index de8e2302..445cfae3 100644
--- a/public/svg-edit/editor/locale/lang.fr.js
+++ b/public/svg-edit/editor/locale/lang.fr.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Aligner par rapport à ..."},
-{"id": "bkgnd_color", "title": "Changer la couleur d'arrière-plan / l'opacité"},
-{"id": "circle_cx", "title": "Changer la position horizontale cx du cercle"},
-{"id": "circle_cy", "title": "Changer la position verticale cy du cercle"},
-{"id": "circle_r", "title": "Changer le rayon du cercle"},
-{"id": "connector_no_arrow", "textContent": "Sans flèches"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Changer le rayon des coins du rectangle"},
-{"id": "curve_segments", "textContent": "Courbe"},
-{"id": "ellipse_cx", "title": "Changer la position horizontale cx de l'ellipse"},
-{"id": "ellipse_cy", "title": "Changer la position verticale cy de l'ellipse"},
-{"id": "ellipse_rx", "title": "Changer le rayon horizontal x de l'ellipse"},
-{"id": "ellipse_ry", "title": "Changer le rayon vertical y de l'ellipse"},
-{"id": "fill_color", "title": "Changer la couleur de remplissage"},
-{"id": "fitToContent", "textContent": "Ajuster au contenu"},
-{"id": "fit_to_all", "textContent": "Ajuster au contenu de tous les calques"},
-{"id": "fit_to_canvas", "textContent": "Ajuster au canevas"},
-{"id": "fit_to_layer_content", "textContent": "Ajuster au contenu du calque"},
-{"id": "fit_to_sel", "textContent": "Ajuster à la sélection"},
-{"id": "font_family", "title": "Changer la famille de police"},
-{"id": "icon_large", "textContent": "Grande"},
-{"id": "icon_medium", "textContent": "Moyenne"},
-{"id": "icon_small", "textContent": "Petite"},
-{"id": "icon_xlarge", "textContent": "Super-Grande"},
-{"id": "idLabel", "title": "Identifier l'élément"},
-{"id": "image_height", "title": "Changer la hauteur de l'image"},
-{"id": "image_opt_embed", "textContent": "Incorporer les images en tant que données (fichiers locaux)"},
-{"id": "image_opt_ref", "textContent": "Utiliser la référence des images "},
-{"id": "image_url", "title": "Modifier l'URL"},
-{"id": "image_width", "title": "Changer la largeur de l'image"},
-{"id": "includedImages", "textContent": "Images incorporées"},
-{"id": "largest_object", "textContent": "Plus gros objet"},
-{"id": "layer_delete", "title": "Supprimer le calque"},
-{"id": "layer_down", "title": "Descendre le calque"},
-{"id": "layer_new", "title": "Nouveau calque"},
-{"id": "layer_rename", "title": "Renommer le calque"},
-{"id": "layer_up", "title": "Monter le calque"},
-{"id": "layersLabel", "textContent": "Calques :"},
-{"id": "line_x1", "title": "Changer la position horizontale x de début de la ligne"},
-{"id": "line_x2", "title": "Changer la position horizontale x de fin de la ligne"},
-{"id": "line_y1", "title": "Changer la position verticale y de début de la ligne"},
-{"id": "line_y2", "title": "Changer la position verticale y de fin de la ligne"},
-{"id": "linecap_butt", "title": "Terminaison : Sur le nœud"},
-{"id": "linecap_round", "title": "Terminaison : Arrondie"},
-{"id": "linecap_square", "title": "Terminaison : Carrée"},
-{"id": "linejoin_bevel", "title": "Raccord : Biseauté"},
-{"id": "linejoin_miter", "title": "Raccord : Droit"},
-{"id": "linejoin_round", "title": "Raccord : Arrondi"},
-{"id": "main_icon", "title": "Menu principal"},
-{"id": "mode_connect", "title": "Connecter deux objets"},
-{"id": "page", "textContent": "Page"},
-{"id": "palette", "title": "Cliquer pour changer la couleur de remplissage, Shift-Clic pour changer la couleur de contour"},
-{"id": "path_node_x", "title": "Changer la positon horizontale x du nœud"},
-{"id": "path_node_y", "title": "Changer la position verticale y du nœud"},
-{"id": "rect_height_tool", "title": "Changer la hauteur du rectangle"},
-{"id": "rect_width_tool", "title": "Changer la largeur du rectangle"},
-{"id": "relativeToLabel", "textContent": "Relativement à:"},
-{"id": "seg_type", "title": "Changer le type du Segment"},
-{"id": "selLayerLabel", "textContent": "Déplacer éléments vers:"},
-{"id": "selLayerNames", "title": "Déplacer les éléments sélectionnés vers un autre calque"},
-{"id": "selectedPredefined", "textContent": "Sélectionner prédéfinis:"},
-{"id": "selected_objects", "textContent": "Objets sélectionnés"},
-{"id": "selected_x", "title": "Changer la position horizontale X"},
-{"id": "selected_y", "title": "Changer la position verticale Y"},
-{"id": "smallest_object", "textContent": "Plus petit objet"},
-{"id": "straight_segments", "textContent": "Droit"},
-{"id": "stroke_color", "title": "Changer la couleur du contour"},
-{"id": "stroke_style", "title": "Changer le style du contour"},
-{"id": "stroke_width", "title": "Changer la largeur du contour de 1, Shift-Click pour changer la largeur de 0.1"},
-{"id": "svginfo_bg_note", "textContent": "Note: La toile de fond n'est pas sauvegardée avec l'image."},
-{"id": "svginfo_change_background", "textContent": "Toile de fond de l'Éditeur"},
-{"id": "svginfo_dim", "textContent": "Dimensions du canevas"},
-{"id": "svginfo_editor_prefs", "textContent": "Préférences de l'Éditeur"},
-{"id": "svginfo_height", "textContent": "Hauteur:"},
-{"id": "svginfo_icons", "textContent": "Taille des icônes"},
-{"id": "svginfo_image_props", "textContent": "Propriétés de l'Image"},
-{"id": "svginfo_lang", "textContent": "Langue"},
-{"id": "svginfo_title", "textContent": "Titre"},
-{"id": "svginfo_width", "textContent": "Largeur:"},
-{"id": "text", "title": "Changer le contenu du texte"},
-{"id": "toggle_stroke_tools", "title": "Montrer/Cacher plus d'outils de Contour"},
-{"id": "tool_add_subpath", "title": "Ajouter un sous-chemin"},
-{"id": "tool_alignbottom", "title": "Aligner le bas des objets"},
-{"id": "tool_aligncenter", "title": "Centrer verticalement"},
-{"id": "tool_alignleft", "title": "Aligner les côtés gauches"},
-{"id": "tool_alignmiddle", "title": "Centrer horizontalement"},
-{"id": "tool_alignright", "title": "Aligner les côtés droits"},
-{"id": "tool_aligntop", "title": "Aligner le haut des objets"},
-{"id": "tool_angle", "title": "Changer l'angle de rotation"},
-{"id": "tool_blur", "title": "Changer la valeur du flou gaussien"},
-{"id": "tool_bold", "title": "Texte en gras"},
-{"id": "tool_circle", "title": "Cercle"},
-{"id": "tool_clear", "textContent": "Nouvelle image"},
-{"id": "tool_clone", "title": "Cloner l'élément"},
-{"id": "tool_clone_multi", "title": "Cloner les éléments"},
-{"id": "tool_delete", "title": "Supprimer l'élément"},
-{"id": "tool_delete_multi", "title": "Supprimer les éléments sélectionnés"},
-{"id": "tool_docprops", "textContent": "Propriétés du document"},
-{"id": "tool_docprops_cancel", "textContent": "Annuler"},
-{"id": "tool_docprops_save", "textContent": "OK"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Exporter au format PNG"},
-{"id": "tool_eyedropper", "title": "Outil Pipette"},
-{"id": "tool_fhellipse", "title": "Ellipse main levée"},
-{"id": "tool_fhpath", "title": "Crayon à main levée"},
-{"id": "tool_fhrect", "title": "Rectangle main levée"},
-{"id": "tool_font_size", "title": "Changer la taille de la police"},
-{"id": "tool_group", "title": "Grouper les éléments"},
-{"id": "tool_image", "title": "Outil Image"},
-{"id": "tool_import", "textContent": "Importer un objet SVG"},
-{"id": "tool_italic", "title": "Texte en italique"},
-{"id": "tool_line", "title": "Tracer des lignes"},
-{"id": "tool_move_bottom", "title": "Déplacer vers le bas"},
-{"id": "tool_move_top", "title": "Déplacer vers le haut"},
-{"id": "tool_node_clone", "title": "Cloner le nœud"},
-{"id": "tool_node_delete", "title": "Supprimer le nœud"},
-{"id": "tool_node_link", "title": "Rendre les points de contrôle solidaires"},
-{"id": "tool_opacity", "title": "Changer l'opacité de l'élément sélectionné"},
-{"id": "tool_open", "textContent": "Ouvrir une image"},
-{"id": "tool_openclose_path", "title": "Ouvrir/Fermer sous-chemin"},
-{"id": "tool_path", "title": "Outil Chemin"},
-{"id": "tool_position", "title": "Aligner l'élément relativement à la Page"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Refaire l'action"},
-{"id": "tool_reorient", "title": "Réorienter le chemin"},
-{"id": "tool_save", "textContent": "Enregistrer l'image"},
-{"id": "tool_select", "title": "Outil de sélection"},
-{"id": "tool_source", "title": "Modifier la source"},
-{"id": "tool_source_cancel", "textContent": "Annuler"},
-{"id": "tool_source_save", "textContent": "Appliquer Modifications"},
-{"id": "tool_square", "title": "Carré"},
-{"id": "tool_text", "title": "Outil Texte"},
-{"id": "tool_topath", "title": "Convertir en chemin"},
-{"id": "tool_undo", "title": "Annuler l'action"},
-{"id": "tool_ungroup", "title": "Dégrouper les éléments"},
-{"id": "tool_wireframe", "title": "Mode Fil de Fer"},
-{"id": "tool_zoom", "title": "Zoom"},
-{"id": "url_notice", "title": "NOTE: Cette image ne peut être incorporée en tant que données. Le contenu affiché sera celui de l'image située à cette adresse"},
-{"id": "zoom_panel", "title": "Changer le niveau de zoom"},
-{"id": "sidepanel_handle", "textContent": "C A L Q U E S", "title": "Tirer vers la gauche/droite pour redimensionner le panneau"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Il y a des erreurs d'analyse syntaxique dans votre code-source SVG.\nRevenir au code-source SVG avant modifications ?",
- "QignoreSourceChanges": "Ignorer les modifications faites à la source SVG ?",
- "QmoveElemsToLayer": "Déplacer les éléments sélectionnés vers le calque '%s' ?",
- "QwantToClear": "Voulez-vous effacer le dessin ?\nL'historique de vos actions sera également effacé !",
- "cancel": "Annuler",
- "defsFailOnSave": "NOTE : À cause d'un bug de votre navigateur, cette image peut être affichée de façon incorrecte (dégradés ou éléments manquants). Cependant, une fois enregistrée, elle sera correcte.",
- "dupeLayerName": "Il existe déjà un calque de ce nom !",
- "enterNewImgURL": "Entrer la nouvelle URL de l'image",
- "enterNewLayerName": "Veuillez entrer le nouveau nom du calque",
- "enterUniqueLayerName": "Veuillez entrer un nom (unique) pour le calque",
- "exportNoBlur": "Les éléments ayant du flou gaussien seront affichés sans flou",
- "exportNoDashArray": "Les contours seront affichés remplis",
- "exportNoImage": "Les éléments Image ne seront pas affichés",
- "exportNoText": "Le texte peut être affiché de façon incorrecte",
- "exportNoforeignObject": "Les éléments foreignObject se seront pas affichés",
- "featNotSupported": "Fonction non supportée",
- "invalidAttrValGiven": "Valeur fournie invalide",
- "key_backspace": "Suppr.",
- "key_del": "Retour Arr.",
- "key_down": "Bas",
- "key_up": "Haut",
- "layer": "Calque",
- "layerHasThatName": "Le calque porte déjà ce nom",
- "loadingImage": "Chargement de l'image, veuillez patienter...",
- "noContentToFitTo": "Il n'y a pas de contenu auquel ajuster",
- "noteTheseIssues": "Notez également les problèmes suivants : ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Glisser-déposer le point de contrôle pour ajuster les propriétés de la courbe",
- "pathNodeTooltip": "Glisser-déposer le nœud pour le déplacer. Double-cliquer le nœud pour changer de type de segment",
- "saveFromBrowser": "Selectionner \"Enregistrer sous...\" dans votre navigateur pour sauvegarder l'image en tant que fichier %s."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "fr",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Annuler",
+ "key_backspace": "Suppr.",
+ "key_del": "Retour Arr.",
+ "key_down": "Bas",
+ "key_up": "Haut",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Montrer/Cacher plus d'outils de Contour",
+ "palette_info": "Cliquer pour changer la couleur de remplissage, Shift-Clic pour changer la couleur de contour",
+ "zoom_level": "Changer le niveau de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identifier l'élément",
+ "fill_color": "Changer la couleur de remplissage",
+ "stroke_color": "Changer la couleur du contour",
+ "stroke_style": "Changer le style du contour",
+ "stroke_width": "Changer la largeur du contour de 1, Shift-Click pour changer la largeur de 0.1",
+ "pos_x": "Changer la position horizontale X",
+ "pos_y": "Changer la position verticale Y",
+ "linecap_butt": "Terminaison : Sur le nœud",
+ "linecap_round": "Terminaison : Arrondie",
+ "linecap_square": "Terminaison : Carrée",
+ "linejoin_bevel": "Raccord : Biseauté",
+ "linejoin_miter": "Raccord : Droit",
+ "linejoin_round": "Raccord : Arrondi",
+ "angle": "Changer l'angle de rotation",
+ "blur": "Changer la valeur du flou gaussien",
+ "opacity": "Changer l'opacité de l'élément sélectionné",
+ "circle_cx": "Changer la position horizontale cx du cercle",
+ "circle_cy": "Changer la position verticale cy du cercle",
+ "circle_r": "Changer le rayon du cercle",
+ "ellipse_cx": "Changer la position horizontale cx de l'ellipse",
+ "ellipse_cy": "Changer la position verticale cy de l'ellipse",
+ "ellipse_rx": "Changer le rayon horizontal x de l'ellipse",
+ "ellipse_ry": "Changer le rayon vertical y de l'ellipse",
+ "line_x1": "Changer la position horizontale x de début de la ligne",
+ "line_x2": "Changer la position horizontale x de fin de la ligne",
+ "line_y1": "Changer la position verticale y de début de la ligne",
+ "line_y2": "Changer la position verticale y de fin de la ligne",
+ "rect_height": "Changer la hauteur du rectangle",
+ "rect_width": "Changer la largeur du rectangle",
+ "corner_radius": "Changer le rayon des coins du rectangle",
+ "image_width": "Changer la largeur de l'image",
+ "image_height": "Changer la hauteur de l'image",
+ "image_url": "Modifier l'URL",
+ "node_x": "Changer la positon horizontale x du nœud",
+ "node_y": "Changer la position verticale y du nœud",
+ "seg_type": "Changer le type du Segment",
+ "straight_segments": "Droit",
+ "curve_segments": "Courbe",
+ "text_contents": "Changer le contenu du texte",
+ "font_family": "Changer la famille de police",
+ "font_size": "Changer la taille de la police",
+ "bold": "Texte en gras",
+ "italic": "Texte en italique"
+ },
+ tools: {
+ "main_menu": "Menu principal",
+ "bkgnd_color_opac": "Changer la couleur d'arrière-plan / l'opacité",
+ "connector_no_arrow": "Sans flèches",
+ "fitToContent": "Ajuster au contenu",
+ "fit_to_all": "Ajuster au contenu de tous les calques",
+ "fit_to_canvas": "Ajuster au canevas",
+ "fit_to_layer_content": "Ajuster au contenu du calque",
+ "fit_to_sel": "Ajuster à la sélection",
+ "align_relative_to": "Aligner par rapport à ...",
+ "relativeTo": "Relativement à:",
+ "Page": "Page",
+ "largest_object": "Plus gros objet",
+ "selected_objects": "Objets sélectionnés",
+ "smallest_object": "Plus petit objet",
+ "new_doc": "Nouvelle image",
+ "open_doc": "Ouvrir une image",
+ "export_png": "Exporter au format PNG",
+ "save_doc": "Enregistrer l'image",
+ "import_doc": "Importer un objet SVG",
+ "align_to_page": "Aligner l'élément relativement à la Page",
+ "align_bottom": "Aligner le bas des objets",
+ "align_center": "Centrer verticalement",
+ "align_left": "Aligner les côtés gauches",
+ "align_middle": "Centrer horizontalement",
+ "align_right": "Aligner les côtés droits",
+ "align_top": "Aligner le haut des objets",
+ "mode_select": "Outil de sélection",
+ "mode_fhpath": "Crayon à main levée",
+ "mode_line": "Tracer des lignes",
+ "mode_connect": "Connecter deux objets",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Rectangle main levée",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Cercle",
+ "mode_fhellipse": "Ellipse main levée",
+ "mode_path": "Outil Chemin",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Outil Texte",
+ "mode_image": "Outil Image",
+ "mode_zoom": "Zoom",
+ "mode_eyedropper": "Outil Pipette",
+ "no_embed": "NOTE: Cette image ne peut être incorporée en tant que données. Le contenu affiché sera celui de l'image située à cette adresse",
+ "undo": "Annuler l'action",
+ "redo": "Refaire l'action",
+ "tool_source": "Modifier la source",
+ "wireframe_mode": "Mode Fil de Fer",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grouper les éléments",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convertir en chemin",
+ "reorient_path": "Réorienter le chemin",
+ "ungroup": "Dégrouper les éléments",
+ "docprops": "Propriétés du document",
+ "imagelib": "Image Library",
+ "move_bottom": "Déplacer vers le bas",
+ "move_top": "Déplacer vers le haut",
+ "node_clone": "Cloner le nœud",
+ "node_delete": "Supprimer le nœud",
+ "node_link": "Rendre les points de contrôle solidaires",
+ "add_subpath": "Ajouter un sous-chemin",
+ "openclose_path": "Ouvrir/Fermer sous-chemin",
+ "source_save": "Appliquer Modifications",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "Retour Arr.": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Calque",
+ "layers": "Layers",
+ "del": "Supprimer le calque",
+ "move_down": "Descendre le calque",
+ "new": "Nouveau calque",
+ "rename": "Renommer le calque",
+ "move_up": "Monter le calque",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Déplacer éléments vers:",
+ "move_selected": "Déplacer les éléments sélectionnés vers un autre calque"
+ },
+ config: {
+ "image_props": "Propriétés de l'Image",
+ "doc_title": "Titre",
+ "doc_dims": "Dimensions du canevas",
+ "included_images": "Images incorporées",
+ "image_opt_embed": "Incorporer les images en tant que données (fichiers locaux)",
+ "image_opt_ref": "Utiliser la référence des images ",
+ "editor_prefs": "Préférences de l'Éditeur",
+ "icon_size": "Taille des icônes",
+ "language": "Langue",
+ "background": "Toile de fond de l'Éditeur",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: La toile de fond n'est pas sauvegardée avec l'image.",
+ "icon_large": "Grande",
+ "icon_medium": "Moyenne",
+ "icon_small": "Petite",
+ "icon_xlarge": "Super-Grande",
+ "select_predefined": "Sélectionner prédéfinis:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Valeur fournie invalide",
+ "noContentToFitTo":"Il n'y a pas de contenu auquel ajuster",
+ "dupeLayerName":"Il existe déjà un calque de ce nom !",
+ "enterUniqueLayerName":"Veuillez entrer un nom (unique) pour le calque",
+ "enterNewLayerName":"Veuillez entrer le nouveau nom du calque",
+ "layerHasThatName":"Le calque porte déjà ce nom",
+ "QmoveElemsToLayer":"Déplacer les éléments sélectionnés vers le calque '%s' ?",
+ "QwantToClear":"Voulez-vous effacer le dessin ?\nL'historique de vos actions sera également effacé !",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Il y a des erreurs d'analyse syntaxique dans votre code-source SVG.\nRevenir au code-source SVG avant modifications ?",
+ "QignoreSourceChanges":"Ignorer les modifications faites à la source SVG ?",
+ "featNotSupported":"Fonction non supportée",
+ "enterNewImgURL":"Entrer la nouvelle URL de l'image",
+ "defsFailOnSave": "NOTE : À cause d'un bug de votre navigateur, cette image peut être affichée de façon incorrecte (dégradés ou éléments manquants). Cependant, une fois enregistrée, elle sera correcte.",
+ "loadingImage":"Chargement de l'image, veuillez patienter...",
+ "saveFromBrowser": "Selectionner \"Enregistrer sous...\" dans votre navigateur pour sauvegarder l'image en tant que fichier %s.",
+ "noteTheseIssues": "Notez également les problèmes suivants : ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.fy.js b/public/svg-edit/editor/locale/lang.fy.js
index dd615a32..18655a76 100644
--- a/public/svg-edit/editor/locale/lang.fy.js
+++ b/public/svg-edit/editor/locale/lang.fy.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Útlijne relatyf oan..."},
-{"id": "bkgnd_color", "title": "Eftergrûnkleur/trochsichtigens oanpasse"},
-{"id": "circle_cx", "title": "Feroarje it X-koördinaat fan it middelpunt fan'e sirkel."},
-{"id": "circle_cy", "title": "Feroarje it Y-koördinaat fan it middelpunt fan'e sirkel."},
-{"id": "circle_r", "title": "Feroarje sirkelradius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Hoekeradius oanpasse"},
-{"id": "curve_segments", "textContent": "Bûcht"},
-{"id": "ellipse_cx", "title": "Feroarje it X-koördinaat fan it middelpunt fan'e ellips."},
-{"id": "ellipse_cy", "title": "Feroarje it Y-koördinaat fan it middelpunt fan'e ellips."},
-{"id": "ellipse_rx", "title": "Feroarje ellips X radius"},
-{"id": "ellipse_ry", "title": "Feroarje ellips Y radius"},
-{"id": "fill_color", "title": "Folkleur oanpasse"},
-{"id": "fitToContent", "textContent": "Passe op ynhâld"},
-{"id": "fit_to_all", "textContent": "Op alle ynhâld passe"},
-{"id": "fit_to_canvas", "textContent": "Op kanvas passe"},
-{"id": "fit_to_layer_content", "textContent": "Op laachynhâld passe"},
-{"id": "fit_to_sel", "textContent": "Op seleksje passe"},
-{"id": "font_family", "title": "Lettertype oanpasse"},
-{"id": "icon_large", "textContent": "Grut"},
-{"id": "icon_medium", "textContent": "Middel"},
-{"id": "icon_small", "textContent": "Lyts"},
-{"id": "icon_xlarge", "textContent": "Ekstra grut"},
-{"id": "image_height", "title": "Hichte ôfbielding oanpasse"},
-{"id": "image_opt_embed", "textContent": "Ynformaasje tafoege (lokale triemen)"},
-{"id": "image_opt_ref", "textContent": "Triemreferensje brûke"},
-{"id": "image_url", "title": "URL oanpasse"},
-{"id": "image_width", "title": "Breedte ôfbielding oanpasse"},
-{"id": "includedImages", "textContent": "Ynslúten ôfbieldingen"},
-{"id": "largest_object", "textContent": "Grutste ûnderdiel"},
-{"id": "layer_delete", "title": "Laach fuortsmite"},
-{"id": "layer_down", "title": "Laach omleech bringe"},
-{"id": "layer_new", "title": "Nije laach"},
-{"id": "layer_rename", "title": "Laach omneame"},
-{"id": "layer_up", "title": "Laach omheech bringe"},
-{"id": "layersLabel", "textContent": "Lagen:"},
-{"id": "line_x1", "title": "Feroarje start X koördinaat fan'e line"},
-{"id": "line_x2", "title": "Feroarje ein X koördinaat fan'e line"},
-{"id": "line_y1", "title": "Feroarje start Y koördinaat fan'e line"},
-{"id": "line_y2", "title": "Feroarje ein Y koördinaat fan'e line"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Side"},
-{"id": "palette", "title": "Klik om de folkleur te feroarjen, shift-klik om de linekleur te feroarjen."},
-{"id": "path_node_x", "title": "X-koördinaat knooppunt oanpasse"},
-{"id": "path_node_y", "title": "Y-koördinaat knooppunt oanpasse"},
-{"id": "rect_height_tool", "title": "Hichte rjochthoeke oanpasse"},
-{"id": "rect_width_tool", "title": "Breedte rjochthoeke oanpasse"},
-{"id": "relativeToLabel", "textContent": "Relatief tsjinoer:"},
-{"id": "seg_type", "title": "Segmenttype oanpasse"},
-{"id": "selLayerLabel", "textContent": "Ûnderdielen ferplaate nei:"},
-{"id": "selLayerNames", "title": "Selektearre ûnderdielen ferplaatse nei in oare laach"},
-{"id": "selectedPredefined", "textContent": "Selektearje:"},
-{"id": "selected_objects", "textContent": "Selektearre ûnderdielen"},
-{"id": "selected_x", "title": "X-koördinaat oanpasse"},
-{"id": "selected_y", "title": "Y-koördinaat oanpasse"},
-{"id": "smallest_object", "textContent": "Lytste ûnderdiel"},
-{"id": "straight_segments", "textContent": "Rjocht"},
-{"id": "stroke_color", "title": "Linekleur oanpasse"},
-{"id": "stroke_style", "title": "Linestijl oanpasse"},
-{"id": "stroke_width", "title": "Linebreedte oanpasse"},
-{"id": "svginfo_bg_note", "textContent": "Let op: de eftergrûn wurd net mei de ôfbielding bewarre."},
-{"id": "svginfo_change_background", "textContent": "Eftergrûn bewurker"},
-{"id": "svginfo_dim", "textContent": "Kanvasgrutte"},
-{"id": "svginfo_editor_prefs", "textContent": "Eigenskippen bewurker"},
-{"id": "svginfo_height", "textContent": "Hichte:"},
-{"id": "svginfo_icons", "textContent": "Ikoangrutte"},
-{"id": "svginfo_image_props", "textContent": "Ôfbieldingseigenskippen"},
-{"id": "svginfo_lang", "textContent": "Taal"},
-{"id": "svginfo_title", "textContent": "Titel"},
-{"id": "svginfo_width", "textContent": "Breedte:"},
-{"id": "text", "title": "Tekst oanpasse"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Ûnder útlijne"},
-{"id": "tool_aligncenter", "title": "Midden útlijne"},
-{"id": "tool_alignleft", "title": "Lofts útlijne"},
-{"id": "tool_alignmiddle", "title": "Midden útlijne"},
-{"id": "tool_alignright", "title": "Rjochts útlijne"},
-{"id": "tool_aligntop", "title": "Boppe útlijne"},
-{"id": "tool_angle", "title": "Draaie"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Fet"},
-{"id": "tool_circle", "title": "Sirkel"},
-{"id": "tool_clear", "textContent": "Nije ôfbielding"},
-{"id": "tool_clone", "title": "Ûnderdiel duplisearje"},
-{"id": "tool_clone_multi", "title": "Ûnderdielen duplisearje"},
-{"id": "tool_delete", "title": "Ûnderdiel fuortsmite"},
-{"id": "tool_delete_multi", "title": "Ûnderdielen fuortsmite"},
-{"id": "tool_docprops", "textContent": "Dokuminteigenskippen"},
-{"id": "tool_docprops_cancel", "textContent": "Ôfbrekke"},
-{"id": "tool_docprops_save", "textContent": "Ok"},
-{"id": "tool_ellipse", "title": "Ellips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Frije ellips"},
-{"id": "tool_fhpath", "title": "Potlead"},
-{"id": "tool_fhrect", "title": "Frije rjochthoeke"},
-{"id": "tool_font_size", "title": "Lettergrutte oanpasse"},
-{"id": "tool_group", "title": "Ûnderdielen groepearje"},
-{"id": "tool_image", "title": "Ôfbielding"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Skean"},
-{"id": "tool_line", "title": "Line"},
-{"id": "tool_move_bottom", "title": "Nei eftergrûn"},
-{"id": "tool_move_top", "title": "Nei foargrûn"},
-{"id": "tool_node_clone", "title": "Knooppunt duplisearje"},
-{"id": "tool_node_delete", "title": "Knooppunt fuortsmite"},
-{"id": "tool_node_link", "title": "Knooppunten keppelje"},
-{"id": "tool_opacity", "title": "Trochsichtigens oanpasse"},
-{"id": "tool_open", "textContent": "Ôfbielding iepenje"},
-{"id": "tool_path", "title": "Paad"},
-{"id": "tool_rect", "title": "Rjochthoeke"},
-{"id": "tool_redo", "title": "Op 'e nij"},
-{"id": "tool_reorient", "title": "Paad opnij orientearje"},
-{"id": "tool_save", "textContent": "Ôfbielding bewarje"},
-{"id": "tool_select", "title": "Selektearje"},
-{"id": "tool_source", "title": "Boarne oanpasse"},
-{"id": "tool_source_cancel", "textContent": "Ôfbrekke"},
-{"id": "tool_source_save", "textContent": "Feroarings tapasse"},
-{"id": "tool_square", "title": "Fjouwerkant"},
-{"id": "tool_text", "title": "Tekst"},
-{"id": "tool_topath", "title": "Omsette nei paad"},
-{"id": "tool_undo", "title": "Ungedien meitjse"},
-{"id": "tool_ungroup", "title": "Groepering opheffe"},
-{"id": "tool_wireframe", "title": "Triemodel"},
-{"id": "tool_zoom", "title": "Zoom"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Yn-/útzoome"},
-{"id": "sidepanel_handle", "textContent": "L a g e n", "title": "Sleep nei links/rjochts om it sidepaniel grutter as lytser te meitjen"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Der wiene flaters yn de SVG-boarne.\nWeromgean nei foarige SVG-boarne?",
- "QignoreSourceChanges": "Feroarings yn SVG-boarne negeare?",
- "QmoveElemsToLayer": "Selektearre ûnderdielen ferplaatse nei '%s'?",
- "QwantToClear": "Ôfbielding leechmeitsje? Dit sil ek de skiednis fuortsmite!",
- "cancel": "Ôfbrekke",
- "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.",
- "dupeLayerName": "Der is al in laach mei dy namme!",
- "enterNewImgURL": "Jou de nije URL",
- "enterNewLayerName": "Type in nije laachnamme",
- "enterUniqueLayerName": "Type in unyke laachnamme",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "Funksje wurdt net ûndersteund",
- "invalidAttrValGiven": "Ferkearde waarde jûn",
- "key_backspace": "backspace",
- "key_del": "delete",
- "key_down": "omleech",
- "key_up": "omheech",
- "layer": "Laach",
- "layerHasThatName": "Laach hat dy namme al",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "Gjin ynhâld om te passen",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "Ok",
- "pathCtrlPtTooltip": "Fersleepje dit knooppunt om de boocheigenskippen oan te passen.",
- "pathNodeTooltip": "Fersleepje dit knooppunt as dûbelklik om it segmenttype oan te passen.",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "fy",
+ dir : "ltr",
+ common: {
+ "ok": "Ok",
+ "cancel": "Ôfbrekke",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "omleech",
+ "key_up": "omheech",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klik om de folkleur te feroarjen, shift-klik om de linekleur te feroarjen.",
+ "zoom_level": "Yn-/útzoome",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Folkleur oanpasse",
+ "stroke_color": "Linekleur oanpasse",
+ "stroke_style": "Linestijl oanpasse",
+ "stroke_width": "Linebreedte oanpasse",
+ "pos_x": "X-koördinaat oanpasse",
+ "pos_y": "Y-koördinaat oanpasse",
+ "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": "Draaie",
+ "blur": "Change gaussian blur value",
+ "opacity": "Trochsichtigens oanpasse",
+ "circle_cx": "Feroarje it X-koördinaat fan it middelpunt fan'e sirkel.",
+ "circle_cy": "Feroarje it Y-koördinaat fan it middelpunt fan'e sirkel.",
+ "circle_r": "Feroarje sirkelradius",
+ "ellipse_cx": "Feroarje it X-koördinaat fan it middelpunt fan'e ellips.",
+ "ellipse_cy": "Feroarje it Y-koördinaat fan it middelpunt fan'e ellips.",
+ "ellipse_rx": "Feroarje ellips X radius",
+ "ellipse_ry": "Feroarje ellips Y radius",
+ "line_x1": "Feroarje start X koördinaat fan'e line",
+ "line_x2": "Feroarje ein X koördinaat fan'e line",
+ "line_y1": "Feroarje start Y koördinaat fan'e line",
+ "line_y2": "Feroarje ein Y koördinaat fan'e line",
+ "rect_height": "Hichte rjochthoeke oanpasse",
+ "rect_width": "Breedte rjochthoeke oanpasse",
+ "corner_radius": "Hoekeradius oanpasse",
+ "image_width": "Breedte ôfbielding oanpasse",
+ "image_height": "Hichte ôfbielding oanpasse",
+ "image_url": "URL oanpasse",
+ "node_x": "X-koördinaat knooppunt oanpasse",
+ "node_y": "Y-koördinaat knooppunt oanpasse",
+ "seg_type": "Segmenttype oanpasse",
+ "straight_segments": "Rjocht",
+ "curve_segments": "Bûcht",
+ "text_contents": "Tekst oanpasse",
+ "font_family": "Lettertype oanpasse",
+ "font_size": "Lettergrutte oanpasse",
+ "bold": "Fet",
+ "italic": "Skean"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Eftergrûnkleur/trochsichtigens oanpasse",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Passe op ynhâld",
+ "fit_to_all": "Op alle ynhâld passe",
+ "fit_to_canvas": "Op kanvas passe",
+ "fit_to_layer_content": "Op laachynhâld passe",
+ "fit_to_sel": "Op seleksje passe",
+ "align_relative_to": "Útlijne relatyf oan...",
+ "relativeTo": "Relatief tsjinoer:",
+ "Side": "Side",
+ "largest_object": "Grutste ûnderdiel",
+ "selected_objects": "Selektearre ûnderdielen",
+ "smallest_object": "Lytste ûnderdiel",
+ "new_doc": "Nije ôfbielding",
+ "open_doc": "Ôfbielding iepenje",
+ "export_png": "Export as PNG",
+ "save_doc": "Ôfbielding bewarje",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Ûnder útlijne",
+ "align_center": "Midden útlijne",
+ "align_left": "Lofts útlijne",
+ "align_middle": "Midden útlijne",
+ "align_right": "Rjochts útlijne",
+ "align_top": "Boppe útlijne",
+ "mode_select": "Selektearje",
+ "mode_fhpath": "Potlead",
+ "mode_line": "Line",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Frije rjochthoeke",
+ "mode_ellipse": "Ellips",
+ "mode_circle": "Sirkel",
+ "mode_fhellipse": "Frije ellips",
+ "mode_path": "Paad",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekst",
+ "mode_image": "Ôfbielding",
+ "mode_zoom": "Zoom",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Ungedien meitjse",
+ "redo": "Op 'e nij",
+ "tool_source": "Boarne oanpasse",
+ "wireframe_mode": "Triemodel",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Ûnderdielen groepearje",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Omsette nei paad",
+ "reorient_path": "Paad opnij orientearje",
+ "ungroup": "Groepering opheffe",
+ "docprops": "Dokuminteigenskippen",
+ "imagelib": "Image Library",
+ "move_bottom": "Nei eftergrûn",
+ "move_top": "Nei foargrûn",
+ "node_clone": "Knooppunt duplisearje",
+ "node_delete": "Knooppunt fuortsmite",
+ "node_link": "Knooppunten keppelje",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Feroarings tapasse",
+ "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"
+ },
+ layers: {
+ "layer":"Laach",
+ "layers": "Layers",
+ "del": "Laach fuortsmite",
+ "move_down": "Laach omleech bringe",
+ "new": "Nije laach",
+ "rename": "Laach omneame",
+ "move_up": "Laach omheech bringe",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Ûnderdielen ferplaate nei:",
+ "move_selected": "Selektearre ûnderdielen ferplaatse nei in oare laach"
+ },
+ config: {
+ "image_props": "Ôfbieldingseigenskippen",
+ "doc_title": "Titel",
+ "doc_dims": "Kanvasgrutte",
+ "included_images": "Ynslúten ôfbieldingen",
+ "image_opt_embed": "Ynformaasje tafoege (lokale triemen)",
+ "image_opt_ref": "Triemreferensje brûke",
+ "editor_prefs": "Eigenskippen bewurker",
+ "icon_size": "Ikoangrutte",
+ "language": "Taal",
+ "background": "Eftergrûn bewurker",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Let op: de eftergrûn wurd net mei de ôfbielding bewarre.",
+ "icon_large": "Grut",
+ "icon_medium": "Middel",
+ "icon_small": "Lyts",
+ "icon_xlarge": "Ekstra grut",
+ "select_predefined": "Selektearje:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Ferkearde waarde jûn",
+ "noContentToFitTo":"Gjin ynhâld om te passen",
+ "dupeLayerName":"Der is al in laach mei dy namme!",
+ "enterUniqueLayerName":"Type in unyke laachnamme",
+ "enterNewLayerName":"Type in nije laachnamme",
+ "layerHasThatName":"Laach hat dy namme al",
+ "QmoveElemsToLayer":"Selektearre ûnderdielen ferplaatse nei '%s'?",
+ "QwantToClear":"Ôfbielding leechmeitsje? Dit sil ek de skiednis fuortsmite!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Der wiene flaters yn de SVG-boarne.\nWeromgean nei foarige SVG-boarne?",
+ "QignoreSourceChanges":"Feroarings yn SVG-boarne negeare?",
+ "featNotSupported":"Funksje wurdt net ûndersteund",
+ "enterNewImgURL":"Jou de nije URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ga.js b/public/svg-edit/editor/locale/lang.ga.js
index 68659a25..7f069481 100644
--- a/public/svg-edit/editor/locale/lang.ga.js
+++ b/public/svg-edit/editor/locale/lang.ga.js
@@ -1,156 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Ailínigh i gcomparáid leis ..."},
-{"id": "angleLabel", "textContent": "uillinn:"},
-{"id": "bkgnd_color", "title": "Dath cúlra Athraigh / teimhneacht"},
-{"id": "circle_cx", "title": "Athraigh an ciorcal a chomhordú CX"},
-{"id": "circle_cy", "title": "Athraigh an ciorcal a chomhordú ga"},
-{"id": "circle_r", "title": "Athraigh an ciorcal's ga"},
-{"id": "cornerRadiusLabel", "textContent": "Ga Cúinne:"},
-{"id": "cornerRadiusLabel", "title": "Athraigh Dronuilleog Cúinne na Ga"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Athraigh Éilips's CX a chomhordú"},
-{"id": "ellipse_cy", "title": "Athraigh an Éilips a chomhordú ga"},
-{"id": "ellipse_rx", "title": "Éilips Athraigh an gha x"},
-{"id": "ellipse_ry", "title": "Éilips Athraigh an gha y"},
-{"id": "fill_color", "title": "Athraigh an dath a líonadh"},
-{"id": "fill_tool_bottom", "textContent": "líon:"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Laghdaigh do gach ábhar"},
-{"id": "fit_to_canvas", "textContent": "Laghdaigh ar chanbhás"},
-{"id": "fit_to_layer_content", "textContent": "Laghdaigh shraith ábhar a"},
-{"id": "fit_to_sel", "textContent": "Laghdaigh a roghnú"},
-{"id": "font_family", "title": "Athraigh an Cló Teaghlaigh"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "iheightLabel", "textContent": "airde:"},
-{"id": "image_height", "title": "Airde íomhá Athrú"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Athraigh an URL"},
-{"id": "image_width", "title": "Leithead íomhá Athrú"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "iwidthLabel", "textContent": "leithne:"},
-{"id": "largest_object", "textContent": "réad is mó"},
-{"id": "layer_delete", "title": "Scrios Sraith"},
-{"id": "layer_down", "title": "Bog Sraith Síos"},
-{"id": "layer_new", "title": "Sraith Nua"},
-{"id": "layer_rename", "title": "Athainmnigh Sraith"},
-{"id": "layer_up", "title": "Bog Sraith Suas"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Athraigh an líne tosaigh a chomhordú x"},
-{"id": "line_x2", "title": "Athraigh an líne deireadh x chomhordú"},
-{"id": "line_y1", "title": "Athraigh an líne tosaigh a chomhordú y"},
-{"id": "line_y2", "title": "Athrú ar líne deireadh y chomhordú"},
-{"id": "page", "textContent": "leathanach"},
-{"id": "palette", "title": "Cliceáil chun athrú a líonadh dath, aistriú-cliceáil chun dath a athrú stróc"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Airde dronuilleog Athrú"},
-{"id": "rect_width_tool", "title": "Leithead dronuilleog Athrú"},
-{"id": "relativeToLabel", "textContent": "i gcomparáid leis:"},
-{"id": "rheightLabel", "textContent": "Airde:"},
-{"id": "rwidthLabel", "textContent": "leithead:"},
-{"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": "Roghnaigh réamhshainithe:"},
-{"id": "selected_objects", "textContent": "réada tofa"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "lú réad"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Dath stróc Athrú"},
-{"id": "stroke_style", "title": "Athraigh an stíl Fleasc stróc"},
-{"id": "stroke_tool_bottom", "textContent": "buille:"},
-{"id": "stroke_width", "title": "Leithead stróc Athrú"},
-{"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": "Airde:"},
-{"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": "Leithne:"},
-{"id": "text", "title": "Inneachar Athraigh téacs"},
-{"id": "tool_alignbottom", "title": "Cineál Bun"},
-{"id": "tool_aligncenter", "title": "Ailínigh sa Lár"},
-{"id": "tool_alignleft", "title": "Ailínigh ar Chlé"},
-{"id": "tool_alignmiddle", "title": "Cineál Middle"},
-{"id": "tool_alignright", "title": "Ailínigh ar Dheis"},
-{"id": "tool_aligntop", "title": "Cineál Barr"},
-{"id": "tool_angle", "title": "Uillinn rothlaithe Athrú"},
-{"id": "tool_bold", "title": "Trom Téacs"},
-{"id": "tool_circle", "title": "Ciorcal"},
-{"id": "tool_clear", "textContent": "Íomhá Nua"},
-{"id": "tool_clone", "title": "Eilimint Chlónála"},
-{"id": "tool_clone_multi", "title": "Eilimintí Chlónála"},
-{"id": "tool_delete", "title": "Scrios Eilimint"},
-{"id": "tool_delete_multi", "title": "Eilimintí Roghnaithe Scrios [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Doiciméad Airíonna"},
-{"id": "tool_docprops_cancel", "textContent": "Cealaigh"},
-{"id": "tool_docprops_save", "textContent": "Sábháil"},
-{"id": "tool_ellipse", "title": "Éilips"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Phionsail Uirlis"},
-{"id": "tool_fhrect", "title": "Saor Hand Dronuilleog"},
-{"id": "tool_font_size", "title": "Athraigh Clómhéid"},
-{"id": "tool_group", "title": "Eilimintí Grúpa"},
-{"id": "tool_image", "title": "Íomhá Uirlis"},
-{"id": "tool_italic", "title": "Iodálach Téacs"},
-{"id": "tool_line", "title": "Uirlis Líne"},
-{"id": "tool_move_bottom", "title": "Téigh go Bun"},
-{"id": "tool_move_top", "title": "Téigh go Barr"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Athraigh roghnaithe teimhneacht mír"},
-{"id": "tool_open", "textContent": "Íomhá Oscailte"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Dronuilleog"},
-{"id": "tool_redo", "title": "Athdhéan"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Sábháil Íomhá"},
-{"id": "tool_select", "title": "Roghnaigh Uirlis"},
-{"id": "tool_source", "title": "Cuir Foinse"},
-{"id": "tool_source_cancel", "textContent": "Cealaigh"},
-{"id": "tool_source_save", "textContent": "Sábháil"},
-{"id": "tool_square", "title": "Cearnóg"},
-{"id": "tool_text", "title": "Téacs Uirlis"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Cealaigh"},
-{"id": "tool_ungroup", "title": "Eilimintí Díghrúpáil"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zúmáil Uirlis"},
-{"id": "zoomLabel", "textContent": "súmáil isteach:"},
-{"id": "zoom_panel", "title": "Athraigh súmáil leibhéal"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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"
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ga",
+ dir : "ltr",
+ common: {
+ "ok": "Sábháil",
+ "cancel": "Cealaigh",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Cliceáil chun athrú a líonadh dath, aistriú-cliceáil chun dath a athrú stróc",
+ "zoom_level": "Athraigh súmáil leibhéal",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Athraigh an dath a líonadh",
+ "stroke_color": "Dath stróc Athrú",
+ "stroke_style": "Athraigh an stíl Fleasc stróc",
+ "stroke_width": "Leithead stróc Athrú",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Uillinn rothlaithe Athrú",
+ "blur": "Change gaussian blur value",
+ "opacity": "Athraigh roghnaithe teimhneacht mír",
+ "circle_cx": "Athraigh an ciorcal a chomhordú CX",
+ "circle_cy": "Athraigh an ciorcal a chomhordú ga",
+ "circle_r": "Athraigh an ciorcal's ga",
+ "ellipse_cx": "Athraigh Éilips's CX a chomhordú",
+ "ellipse_cy": "Athraigh an Éilips a chomhordú ga",
+ "ellipse_rx": "Éilips Athraigh an gha x",
+ "ellipse_ry": "Éilips Athraigh an gha y",
+ "line_x1": "Athraigh an líne tosaigh a chomhordú x",
+ "line_x2": "Athraigh an líne deireadh x chomhordú",
+ "line_y1": "Athraigh an líne tosaigh a chomhordú y",
+ "line_y2": "Athrú ar líne deireadh y chomhordú",
+ "rect_height": "Airde dronuilleog Athrú",
+ "rect_width": "Leithead dronuilleog Athrú",
+ "corner_radius": "Athraigh Dronuilleog Cúinne na Ga",
+ "image_width": "Leithead íomhá Athrú",
+ "image_height": "Airde íomhá Athrú",
+ "image_url": "Athraigh an URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Inneachar Athraigh téacs",
+ "font_family": "Athraigh an Cló Teaghlaigh",
+ "font_size": "Athraigh Clómhéid",
+ "bold": "Trom Téacs",
+ "italic": "Iodálach Téacs"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Dath cúlra Athraigh / teimhneacht",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Laghdaigh do gach ábhar",
+ "fit_to_canvas": "Laghdaigh ar chanbhás",
+ "fit_to_layer_content": "Laghdaigh shraith ábhar a",
+ "fit_to_sel": "Laghdaigh a roghnú",
+ "align_relative_to": "Ailínigh i gcomparáid leis ...",
+ "relativeTo": "i gcomparáid leis:",
+ "leathanach": "leathanach",
+ "largest_object": "réad is mó",
+ "selected_objects": "réada tofa",
+ "smallest_object": "lú réad",
+ "new_doc": "Íomhá Nua",
+ "open_doc": "Íomhá Oscailte",
+ "export_png": "Export as PNG",
+ "save_doc": "Sábháil Íomhá",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Cineál Bun",
+ "align_center": "Ailínigh sa Lár",
+ "align_left": "Ailínigh ar Chlé",
+ "align_middle": "Cineál Middle",
+ "align_right": "Ailínigh ar Dheis",
+ "align_top": "Cineál Barr",
+ "mode_select": "Roghnaigh Uirlis",
+ "mode_fhpath": "Phionsail Uirlis",
+ "mode_line": "Uirlis Líne",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Saor Hand Dronuilleog",
+ "mode_ellipse": "Éilips",
+ "mode_circle": "Ciorcal",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Téacs Uirlis",
+ "mode_image": "Íomhá Uirlis",
+ "mode_zoom": "Zúmáil Uirlis",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Cealaigh",
+ "redo": "Athdhéan",
+ "tool_source": "Cuir Foinse",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Eilimintí Grúpa",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Eilimintí Díghrúpáil",
+ "docprops": "Doiciméad Airíonna",
+ "imagelib": "Image Library",
+ "move_bottom": "Téigh go Bun",
+ "move_top": "Téigh go Barr",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Sábháil",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Scrios Sraith",
+ "move_down": "Bog Sraith Síos",
+ "new": "Sraith Nua",
+ "rename": "Athainmnigh Sraith",
+ "move_up": "Bog Sraith Suas",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Roghnaigh réamhshainithe:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.gl.js b/public/svg-edit/editor/locale/lang.gl.js
index 0d7fe2a1..c7be0c9c 100644
--- a/public/svg-edit/editor/locale/lang.gl.js
+++ b/public/svg-edit/editor/locale/lang.gl.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Aliñar en relación a ..."},
-{"id": "bkgnd_color", "title": "Mudar a cor de fondo / Opacidade"},
-{"id": "circle_cx", "title": "Cx Cambiar círculo de coordenadas"},
-{"id": "circle_cy", "title": "Círculo Cambio cy coordinar"},
-{"id": "circle_r", "title": "Cambiar círculo de raio"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Cambiar Corner Rectangle Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Cambiar elipse cx coordinar"},
-{"id": "ellipse_cy", "title": "Elipse Cambio cy coordinar"},
-{"id": "ellipse_rx", "title": "Raios X Change elipse"},
-{"id": "ellipse_ry", "title": "Radio y Change elipse"},
-{"id": "fill_color", "title": "Cambia-la cor de recheo"},
-{"id": "fitToContent", "textContent": "Axustar ó contido"},
-{"id": "fit_to_all", "textContent": "Axustar a todo o contido"},
-{"id": "fit_to_canvas", "textContent": "Axustar a pantalla"},
-{"id": "fit_to_layer_content", "textContent": "Axustar o contido da capa de"},
-{"id": "fit_to_sel", "textContent": "Axustar a selección"},
-{"id": "font_family", "title": "Cambiar fonte Familia"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Cambiar altura da imaxe"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Cambiar URL"},
-{"id": "image_width", "title": "Cambiar o ancho da imaxe"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "maior obxecto"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move capa inferior"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Capas:"},
-{"id": "line_x1", "title": "Cambie a liña de partida coordenada x"},
-{"id": "line_x2", "title": "Cambie a liña acaba coordenada x"},
-{"id": "line_y1", "title": "Cambio na liña do recurso coordinada y"},
-{"id": "line_y2", "title": "Salto de liña acaba coordinada y"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Portada"},
-{"id": "palette", "title": "Preme aquí para cambiar a cor de recheo, Shift-clic para cambiar a cor do curso"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Cambiar altura do rectángulo"},
-{"id": "rect_width_tool", "title": "Cambiar a largo rectángulo"},
-{"id": "relativeToLabel", "textContent": "en relación ao:"},
-{"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": "Seleccione por defecto:"},
-{"id": "selected_objects", "textContent": "obxectos elixidos"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "menor obxecto"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Cambiar a cor do curso"},
-{"id": "stroke_style", "title": "Modifica o estilo do trazo do curso"},
-{"id": "stroke_width", "title": "Cambiar o ancho do curso"},
-{"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": "Altura:"},
-{"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": "Ancho:"},
-{"id": "text", "title": "Cambiar o contido de texto"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align bottom"},
-{"id": "tool_aligncenter", "title": "Centrar"},
-{"id": "tool_alignleft", "title": "Aliñar á Esquerda"},
-{"id": "tool_alignmiddle", "title": "Aliñar Medio"},
-{"id": "tool_alignright", "title": "Aliñar á Dereita"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Cambiar o ángulo de xiro"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Nova Imaxe"},
-{"id": "tool_clone", "title": "Clon Element"},
-{"id": "tool_clone_multi", "title": "Elementos Clon"},
-{"id": "tool_delete", "title": "Eliminar Elemento"},
-{"id": "tool_delete_multi", "title": "Eliminar elementos seleccionados"},
-{"id": "tool_docprops", "textContent": "Propriedades do Documento"},
-{"id": "tool_docprops_cancel", "textContent": "Cancelar"},
-{"id": "tool_docprops_save", "textContent": "Gardar"},
-{"id": "tool_ellipse", "title": "Elipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Ferramenta Lapis"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Mudar tamaño de letra"},
-{"id": "tool_group", "title": "Elementos do grupo"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Texto en cursiva"},
-{"id": "tool_line", "title": "Ferramenta Liña"},
-{"id": "tool_move_bottom", "title": "Move a Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Cambia a opacidade elemento seleccionado"},
-{"id": "tool_open", "textContent": "Abrir Imaxe"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectángulo"},
-{"id": "tool_redo", "title": "Volver"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Gardar Imaxe"},
-{"id": "tool_select", "title": "Seleccionar a ferramenta"},
-{"id": "tool_source", "title": "Fonte Editar"},
-{"id": "tool_source_cancel", "textContent": "Cancelar"},
-{"id": "tool_source_save", "textContent": "Gardar"},
-{"id": "tool_square", "title": "Cadrado"},
-{"id": "tool_text", "title": "Ferramenta de Texto"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Desfacer"},
-{"id": "tool_ungroup", "title": "Elementos Desagrupadas"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Cambiar o nivel de zoom"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "gl",
+ dir : "ltr",
+ common: {
+ "ok": "Gardar",
+ "cancel": "Cancelar",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Preme aquí para cambiar a cor de recheo, Shift-clic para cambiar a cor do curso",
+ "zoom_level": "Cambiar o nivel de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Cambia-la cor de recheo",
+ "stroke_color": "Cambiar a cor do curso",
+ "stroke_style": "Modifica o estilo do trazo do curso",
+ "stroke_width": "Cambiar o ancho do curso",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Cambiar o ángulo de xiro",
+ "blur": "Change gaussian blur value",
+ "opacity": "Cambia a opacidade elemento seleccionado",
+ "circle_cx": "Cx Cambiar círculo de coordenadas",
+ "circle_cy": "Círculo Cambio cy coordinar",
+ "circle_r": "Cambiar círculo de raio",
+ "ellipse_cx": "Cambiar elipse cx coordinar",
+ "ellipse_cy": "Elipse Cambio cy coordinar",
+ "ellipse_rx": "Raios X Change elipse",
+ "ellipse_ry": "Radio y Change elipse",
+ "line_x1": "Cambie a liña de partida coordenada x",
+ "line_x2": "Cambie a liña acaba coordenada x",
+ "line_y1": "Cambio na liña do recurso coordinada y",
+ "line_y2": "Salto de liña acaba coordinada y",
+ "rect_height": "Cambiar altura do rectángulo",
+ "rect_width": "Cambiar a largo rectángulo",
+ "corner_radius": "Cambiar Corner Rectangle Radius",
+ "image_width": "Cambiar o ancho da imaxe",
+ "image_height": "Cambiar altura da imaxe",
+ "image_url": "Cambiar URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Cambiar o contido de texto",
+ "font_family": "Cambiar fonte Familia",
+ "font_size": "Mudar tamaño de letra",
+ "bold": "Bold Text",
+ "italic": "Texto en cursiva"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Mudar a cor de fondo / Opacidade",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Axustar ó contido",
+ "fit_to_all": "Axustar a todo o contido",
+ "fit_to_canvas": "Axustar a pantalla",
+ "fit_to_layer_content": "Axustar o contido da capa de",
+ "fit_to_sel": "Axustar a selección",
+ "align_relative_to": "Aliñar en relación a ...",
+ "relativeTo": "en relación ao:",
+ "Portada": "Portada",
+ "largest_object": "maior obxecto",
+ "selected_objects": "obxectos elixidos",
+ "smallest_object": "menor obxecto",
+ "new_doc": "Nova Imaxe",
+ "open_doc": "Abrir Imaxe",
+ "export_png": "Export as PNG",
+ "save_doc": "Gardar Imaxe",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align bottom",
+ "align_center": "Centrar",
+ "align_left": "Aliñar á Esquerda",
+ "align_middle": "Aliñar Medio",
+ "align_right": "Aliñar á Dereita",
+ "align_top": "Align Top",
+ "mode_select": "Seleccionar a ferramenta",
+ "mode_fhpath": "Ferramenta Lapis",
+ "mode_line": "Ferramenta Liña",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Elipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Ferramenta de Texto",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Desfacer",
+ "redo": "Volver",
+ "tool_source": "Fonte Editar",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elementos do grupo",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Elementos Desagrupadas",
+ "docprops": "Propriedades do Documento",
+ "imagelib": "Image Library",
+ "move_bottom": "Move a Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Gardar",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move capa inferior",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Seleccione por defecto:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.he.js b/public/svg-edit/editor/locale/lang.he.js
index 42f1a818..555c9f75 100755
--- a/public/svg-edit/editor/locale/lang.he.js
+++ b/public/svg-edit/editor/locale/lang.he.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "יישור ביחס ..."},
-{"id": "bkgnd_color", "title": "שנה את צבע הרקע / אטימות"},
-{"id": "circle_cx", "title": "CX מעגל של שנה לתאם"},
-{"id": "circle_cy", "title": "מעגל שנה של cy לתאם"},
-{"id": "circle_r", "title": "מעגל שנה של רדיוס"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "לשנות מלבן פינת רדיוס"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "שינוי של אליפסה CX לתאם"},
-{"id": "ellipse_cy", "title": "אליפסה שינוי של cy לתאם"},
-{"id": "ellipse_rx", "title": "אליפסה שינוי של רדיוס x"},
-{"id": "ellipse_ry", "title": "אליפסה שינוי של Y רדיוס"},
-{"id": "fill_color", "title": "שינוי צבע מילוי"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "largest_object", "textContent": "האובייקט הגדול"},
-{"id": "layer_delete", "title": "מחיקת שכבה"},
-{"id": "layer_down", "title": "הזז למטה שכבה"},
-{"id": "layer_new", "title": "שכבהחדשה"},
-{"id": "layer_rename", "title": "שינוי שם שכבה"},
-{"id": "layer_up", "title": "העבר שכבה Up"},
-{"id": "layersLabel", "textContent": "שכבות:"},
-{"id": "line_x1", "title": "שינוי קו ההתחלה של x לתאם"},
-{"id": "line_x2", "title": "שינוי קו הסיום של x לתאם"},
-{"id": "line_y1", "title": "שינוי קו ההתחלה של Y לתאם"},
-{"id": "line_y2", "title": "שינוי קו הסיום של Y לתאם"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"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_tool", "title": "שינוי גובה המלבן"},
-{"id": "rect_width_tool", "title": "שינוי רוחב המלבן"},
-{"id": "relativeToLabel", "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": "elected objects"},
-{"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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "שינוי זווית הסיבוב"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "טקסט מודגש"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "תמונה חדשה"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand אליפסה"},
-{"id": "tool_fhpath", "title": "כלי העיפרון"},
-{"id": "tool_fhrect", "title": "Free-Hand מלבן"},
-{"id": "tool_font_size", "title": "שנה גודל גופן"},
-{"id": "tool_group", "title": "אלמנטים הקבוצה"},
-{"id": "tool_image", "title": "כלי תמונה"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "שינוי הפריט הנבחר אטימות"},
-{"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": "Select Tool"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "שינוי גודל תצוגה"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "he",
+ dir : "ltr",
+ common: {
+ "ok": "לשמור",
+ "cancel": "ביטול",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "לחץ כדי לשנות צבע מילוי, לחץ על Shift-לשנות צבע שבץ",
+ "zoom_level": "שינוי גודל תצוגה",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "שינוי צבע מילוי",
+ "stroke_color": "שינוי צבע שבץ",
+ "stroke_style": "דש שבץ שינוי סגנון",
+ "stroke_width": "שינוי רוחב שבץ",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "שינוי של אליפסה CX לתאם",
+ "ellipse_cy": "אליפסה שינוי של cy לתאם",
+ "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": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "שינוי תוכן טקסט",
+ "font_family": "שינוי גופן משפחה",
+ "font_size": "שנה גודל גופן",
+ "bold": "טקסט מודגש",
+ "italic": "טקסט נטוי"
+ },
+ tools: {
+ "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": "יחסית:",
+ "דף": "דף",
+ "largest_object": "האובייקט הגדול",
+ "selected_objects": "elected objects",
+ "smallest_object": "הקטן אובייקט",
+ "new_doc": "תמונה חדשה",
+ "open_doc": "פתח תמונה",
+ "export_png": "Export as PNG",
+ "save_doc": "שמור תמונה",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "יישור תחתון",
+ "align_center": "ישור לאמצע",
+ "align_left": "יישור לשמאל",
+ "align_middle": "יישור התיכון",
+ "align_right": "יישור לימין",
+ "align_top": "יישור למעלה",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "כלי העיפרון",
+ "mode_line": "כלי הקו",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand מלבן",
+ "mode_ellipse": "אליפסה",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand אליפסה",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "כלי טקסט",
+ "mode_image": "כלי תמונה",
+ "mode_zoom": "זום כלי",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "בטל",
+ "redo": "בצע שוב",
+ "tool_source": "מקור ערוך",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "אלמנטים הקבוצה",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "אלמנטים פרק קבוצה",
+ "docprops": "מאפייני מסמך",
+ "imagelib": "Image Library",
+ "move_bottom": "הזז למטה",
+ "move_top": "עבור לראש הדף",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "מחיקת שכבה",
+ "move_down": "הזז למטה שכבה",
+ "new": "שכבהחדשה",
+ "rename": "שינוי שם שכבה",
+ "move_up": "העבר שכבה Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.hi.js b/public/svg-edit/editor/locale/lang.hi.js
index 75402801..c495cd02 100644
--- a/public/svg-edit/editor/locale/lang.hi.js
+++ b/public/svg-edit/editor/locale/lang.hi.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "संरेखित करें रिश्तेदार को ..."},
-{"id": "bkgnd_color", "title": "पृष्ठभूमि का रंग बदल / अस्पष्टता"},
-{"id": "circle_cx", "title": "बदल रहा है चक्र cx समन्वय"},
-{"id": "circle_cy", "title": "परिवर्तन चक्र cy समन्वय है"},
-{"id": "circle_r", "title": "बदल रहा है चक्र त्रिज्या"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "कोने का रेडियस"},
-{"id": "cornerRadiusLabel", "title": "बदलें आयत कॉर्नर त्रिज्या"},
-{"id": "curve_segments", "textContent": "घुमाव"},
-{"id": "ellipse_cx", "title": "बदलें दीर्घवृत्त है cx समन्वय"},
-{"id": "ellipse_cy", "title": "बदलें दीर्घवृत्त cy समन्वय है"},
-{"id": "ellipse_rx", "title": "बदल रहा है दीर्घवृत्त x त्रिज्या"},
-{"id": "ellipse_ry", "title": "बदल रहा है दीर्घवृत्त y त्रिज्या"},
-{"id": "fill_color", "title": "बदलें का रंग भरना"},
-{"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": "icon_large", "textContent": "बड़ा"},
-{"id": "icon_medium", "textContent": "मध्यम"},
-{"id": "icon_small", "textContent": "छोटा"},
-{"id": "icon_xlarge", "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": "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "पृष्ठ"},
-{"id": "palette", "title": "रंग बदलने पर क्लिक करें, बदलाव भरने के क्लिक करने के लिए स्ट्रोक का रंग बदलने के लिए"},
-{"id": "path_node_x", "title": "नोड का x समकक्ष बदलें"},
-{"id": "path_node_y", "title": "नोड का y समकक्ष बदलें"},
-{"id": "rect_height_tool", "title": "बदलें आयत ऊंचाई"},
-{"id": "rect_width_tool", "title": "बदलें आयत चौड़ाई"},
-{"id": "relativeToLabel", "textContent": "रिश्तेदार को:"},
-{"id": "seg_type", "title": "वर्ग प्रकार बदलें"},
-{"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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "बदलें रोटेशन कोण"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "नि: शुल्क हाथ दीर्घवृत्त"},
-{"id": "tool_fhpath", "title": "पेंसिल उपकरण"},
-{"id": "tool_fhrect", "title": "नि: शुल्क हाथ आयत"},
-{"id": "tool_font_size", "title": "फ़ॉन्ट का आकार बदलें"},
-{"id": "tool_group", "title": "समूह तत्वों"},
-{"id": "tool_image", "title": "छवि उपकरण"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "पारदर्शिता बदलें"},
-{"id": "tool_open", "textContent": "छवि खोलें"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "आयत"},
-{"id": "tool_redo", "title": "फिर से करें"},
-{"id": "tool_reorient", "title": "पथ को नई दिशा दें"},
-{"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": "पथ में बदलें"},
-{"id": "tool_undo", "title": "पूर्ववत करें"},
-{"id": "tool_ungroup", "title": "अंश को समूह से अलग करें"},
-{"id": "tool_wireframe", "title": "रूपरेखा मोड"},
-{"id": "tool_zoom", "title": "ज़ूम उपकरण"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "बदलें स्तर ज़ूम"},
-{"id": "sidepanel_handle", "textContent": "प र तें", "title": "दायें/बाएं घसीट कर आकार बदलें"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "आपके एस.वी.जी. स्रोत में त्रुटियों थी.\nक्या आप मूल एस.वी.जी स्रोत पर वापिस जाना चाहते हैं?",
- "QignoreSourceChanges": "एसवीजी स्रोत से लाये बदलावों को ध्यान न दें?",
- "QmoveElemsToLayer": "चयनित अंश को परत '%s' पर ले जाएँ ?",
- "QwantToClear": "क्या आप छवि साफ़ करना चाहते हैं?\nयह आपके उन्डू इतिहास को भी मिटा देगा!",
- "cancel": "रद्द करें",
- "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.",
- "dupeLayerName": "इस नाम कि परत पहले से मौजूद है !",
- "enterNewImgURL": "नई छवि URL दर्ज करें",
- "enterNewLayerName": "कृपया परत का एक नया नाम डालें",
- "enterUniqueLayerName": "कृपया परत का एक अद्वितीय नाम डालें",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "सुविधा असमर्थित है",
- "invalidAttrValGiven": "अमान्य मूल्य",
- "key_backspace": "बैकस्पेस",
- "key_del": "हटायें",
- "key_down": "नीचे",
- "key_up": "ऊपर",
- "layer": "परत",
- "layerHasThatName": "परत का पहले से ही यही नाम है",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "कोई सामग्री फिट करने के लिए उपलब्ध नहीं",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "ठीक",
- "pathCtrlPtTooltip": "नियंत्रण बिंदु को खींचें, घुमाव के गुणो समायोजित करने के लिए",
- "pathNodeTooltip": "नोड खींचें उसे हिलाने के लिए. डबल-क्लिक कीजिये वर्ग के प्रकार को बदलने के लिए",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "hi",
+ dir : "ltr",
+ common: {
+ "ok": "बचाना",
+ "cancel": "रद्द करें",
+ "key_backspace": "बैकस्पेस",
+ "key_del": "हटायें",
+ "key_down": "नीचे",
+ "key_up": "ऊपर",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "रंग बदलने पर क्लिक करें, बदलाव भरने के क्लिक करने के लिए स्ट्रोक का रंग बदलने के लिए",
+ "zoom_level": "बदलें स्तर ज़ूम",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "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": "बदलें दीर्घवृत्त है cx समन्वय",
+ "ellipse_cy": "बदलें दीर्घवृत्त cy समन्वय है",
+ "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": "वर्ग प्रकार बदलें",
+ "straight_segments": "सीधे वर्ग",
+ "curve_segments": "घुमाव",
+ "text_contents": "बदलें पाठ सामग्री",
+ "font_family": "बदलें फ़ॉन्ट परिवार",
+ "font_size": "फ़ॉन्ट का आकार बदलें",
+ "bold": "मोटा पाठ",
+ "italic": "इटैलिक पाठ"
+ },
+ tools: {
+ "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": "रिश्तेदार को:",
+ "पृष्ठ": "पृष्ठ",
+ "largest_object": "सबसे बड़ी वस्तु",
+ "selected_objects": "निर्वाचित वस्तुओं",
+ "smallest_object": "छोटी से छोटी वस्तु",
+ "new_doc": "नई छवि",
+ "open_doc": "छवि खोलें",
+ "export_png": "Export as PNG",
+ "save_doc": "सहेजें छवि",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "नि: शुल्क हाथ आयत",
+ "mode_ellipse": "दीर्घवृत्त",
+ "mode_circle": "वृत्त",
+ "mode_fhellipse": "नि: शुल्क हाथ दीर्घवृत्त",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "पाठ उपकरण",
+ "mode_image": "छवि उपकरण",
+ "mode_zoom": "ज़ूम उपकरण",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "पूर्ववत करें",
+ "redo": "फिर से करें",
+ "tool_source": "स्रोत में बदलाव करें",
+ "wireframe_mode": "रूपरेखा मोड",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "समूह तत्वों",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "पथ में बदलें",
+ "reorient_path": "पथ को नई दिशा दें",
+ "ungroup": "अंश को समूह से अलग करें",
+ "docprops": "दस्तावेज़ गुण",
+ "imagelib": "Image Library",
+ "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",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "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": "चयनित अंश को दूसरी परत पर ले जाएँ"
+ },
+ config: {
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"अमान्य मूल्य",
+ "noContentToFitTo":"कोई सामग्री फिट करने के लिए उपलब्ध नहीं",
+ "dupeLayerName":"इस नाम कि परत पहले से मौजूद है !",
+ "enterUniqueLayerName":"कृपया परत का एक अद्वितीय नाम डालें",
+ "enterNewLayerName":"कृपया परत का एक नया नाम डालें",
+ "layerHasThatName":"परत का पहले से ही यही नाम है",
+ "QmoveElemsToLayer":"चयनित अंश को परत '%s' पर ले जाएँ ?",
+ "QwantToClear":"क्या आप छवि साफ़ करना चाहते हैं?\nयह आपके उन्डू इतिहास को भी मिटा देगा!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"आपके एस.वी.जी. स्रोत में त्रुटियों थी.\nक्या आप मूल एस.वी.जी स्रोत पर वापिस जाना चाहते हैं?",
+ "QignoreSourceChanges":"एसवीजी स्रोत से लाये बदलावों को ध्यान न दें?",
+ "featNotSupported":"सुविधा असमर्थित है",
+ "enterNewImgURL":"नई छवि URL दर्ज करें",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.hr.js b/public/svg-edit/editor/locale/lang.hr.js
index 59e0c90a..629abb34 100644
--- a/public/svg-edit/editor/locale/lang.hr.js
+++ b/public/svg-edit/editor/locale/lang.hr.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Poravnaj u odnosu na ..."},
-{"id": "bkgnd_color", "title": "Promijeni boju pozadine / neprozirnost"},
-{"id": "circle_cx", "title": "Promjena krug's CX koordinirati"},
-{"id": "circle_cy", "title": "Cy Promijeni krug je koordinirati"},
-{"id": "circle_r", "title": "Promjena krug je radijusa"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Promijeni Pravokutnik Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Promjena elipsa's CX koordinirati"},
-{"id": "ellipse_cy", "title": "Cy Promijeni elipsa je koordinirati"},
-{"id": "ellipse_rx", "title": "Promijeniti elipsa's x polumjer"},
-{"id": "ellipse_ry", "title": "Promjena elipsa's y polumjer"},
-{"id": "fill_color", "title": "Promjena boje ispune"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Prilagodi na sve sadržaje"},
-{"id": "fit_to_canvas", "textContent": "Prilagodi na platnu"},
-{"id": "fit_to_layer_content", "textContent": "Prilagodi sloj sadržaj"},
-{"id": "fit_to_sel", "textContent": "Prilagodi odabir"},
-{"id": "font_family", "title": "Promjena fontova"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Promijeni sliku visina"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Promijeni URL"},
-{"id": "image_width", "title": "Promijeni sliku širine"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "najveći objekt"},
-{"id": "layer_delete", "title": "Brisanje sloja"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Preimenuj Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Promijeni linija je početak x koordinatu"},
-{"id": "line_x2", "title": "Promjena linije završetak x koordinatu"},
-{"id": "line_y1", "title": "Promijeni linija je početak y koordinatu"},
-{"id": "line_y2", "title": "Promjena linije završetak y koordinatu"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "stranica"},
-{"id": "palette", "title": "Kliknite promijeniti boju ispune, shift-click to promijeniti boju moždanog udara"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Promijeni pravokutnik visine"},
-{"id": "rect_width_tool", "title": "Promijeni pravokutnik širine"},
-{"id": "relativeToLabel", "textContent": "u odnosu na:"},
-{"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": "Select predefinirane:"},
-{"id": "selected_objects", "textContent": "izabrani objekti"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "najmanji objekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Promjena boje moždani udar"},
-{"id": "stroke_style", "title": "Promijeni stroke crtica stil"},
-{"id": "stroke_width", "title": "Promjena širine moždani udar"},
-{"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": "Visina:"},
-{"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": "Širina:"},
-{"id": "text", "title": "Promjena sadržaja teksta"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Poravnaj dolje"},
-{"id": "tool_aligncenter", "title": "Centriraj"},
-{"id": "tool_alignleft", "title": "Poravnaj lijevo"},
-{"id": "tool_alignmiddle", "title": "Poravnaj Srednji"},
-{"id": "tool_alignright", "title": "Poravnaj desno"},
-{"id": "tool_aligntop", "title": "Poravnaj Top"},
-{"id": "tool_angle", "title": "Promijeni rotation angle"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Podebljani tekst"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Nove slike"},
-{"id": "tool_clone", "title": "Klon Element"},
-{"id": "tool_clone_multi", "title": "Klon Elementi"},
-{"id": "tool_delete", "title": "Brisanje elemenata"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Svojstva dokumenta"},
-{"id": "tool_docprops_cancel", "textContent": "Odustani"},
-{"id": "tool_docprops_save", "textContent": "Spremiti"},
-{"id": "tool_ellipse", "title": "Elipsa"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Pravokutnik"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Grupa Elementi"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Pomakni na vrh"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Promjena odabrane stavke neprozirnost"},
-{"id": "tool_open", "textContent": "Otvori sliku"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Pravokutnik"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Spremanje slike"},
-{"id": "tool_select", "title": "Odaberite alat"},
-{"id": "tool_source", "title": "Uredi Source"},
-{"id": "tool_source_cancel", "textContent": "Odustani"},
-{"id": "tool_source_save", "textContent": "Spremiti"},
-{"id": "tool_square", "title": "Kvadrat"},
-{"id": "tool_text", "title": "Tekst Alat"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Poništi"},
-{"id": "tool_ungroup", "title": "Razgrupiranje Elementi"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Alat za zumiranje"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Promjena razine zumiranja"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "hr",
+ dir : "ltr",
+ common: {
+ "ok": "Spremiti",
+ "cancel": "Odustani",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Kliknite promijeniti boju ispune, shift-click to promijeniti boju moždanog udara",
+ "zoom_level": "Promjena razine zumiranja",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Promjena boje ispune",
+ "stroke_color": "Promjena boje moždani udar",
+ "stroke_style": "Promijeni stroke crtica stil",
+ "stroke_width": "Promjena širine moždani udar",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Promijeni rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Promjena odabrane stavke neprozirnost",
+ "circle_cx": "Promjena krug's CX koordinirati",
+ "circle_cy": "Cy Promijeni krug je koordinirati",
+ "circle_r": "Promjena krug je radijusa",
+ "ellipse_cx": "Promjena elipsa's CX koordinirati",
+ "ellipse_cy": "Cy Promijeni elipsa je koordinirati",
+ "ellipse_rx": "Promijeniti elipsa's x polumjer",
+ "ellipse_ry": "Promjena elipsa's y polumjer",
+ "line_x1": "Promijeni linija je početak x koordinatu",
+ "line_x2": "Promjena linije završetak x koordinatu",
+ "line_y1": "Promijeni linija je početak y koordinatu",
+ "line_y2": "Promjena linije završetak y koordinatu",
+ "rect_height": "Promijeni pravokutnik visine",
+ "rect_width": "Promijeni pravokutnik širine",
+ "corner_radius": "Promijeni Pravokutnik Corner Radius",
+ "image_width": "Promijeni sliku širine",
+ "image_height": "Promijeni sliku visina",
+ "image_url": "Promijeni URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Promjena sadržaja teksta",
+ "font_family": "Promjena fontova",
+ "font_size": "Change font size",
+ "bold": "Podebljani tekst",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Promijeni boju pozadine / neprozirnost",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Prilagodi na sve sadržaje",
+ "fit_to_canvas": "Prilagodi na platnu",
+ "fit_to_layer_content": "Prilagodi sloj sadržaj",
+ "fit_to_sel": "Prilagodi odabir",
+ "align_relative_to": "Poravnaj u odnosu na ...",
+ "relativeTo": "u odnosu na:",
+ "stranica": "stranica",
+ "largest_object": "najveći objekt",
+ "selected_objects": "izabrani objekti",
+ "smallest_object": "najmanji objekt",
+ "new_doc": "Nove slike",
+ "open_doc": "Otvori sliku",
+ "export_png": "Export as PNG",
+ "save_doc": "Spremanje slike",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Poravnaj dolje",
+ "align_center": "Centriraj",
+ "align_left": "Poravnaj lijevo",
+ "align_middle": "Poravnaj Srednji",
+ "align_right": "Poravnaj desno",
+ "align_top": "Poravnaj Top",
+ "mode_select": "Odaberite alat",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Pravokutnik",
+ "mode_ellipse": "Elipsa",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekst Alat",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Alat za zumiranje",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Poništi",
+ "redo": "Redo",
+ "tool_source": "Uredi Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grupa Elementi",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Razgrupiranje Elementi",
+ "docprops": "Svojstva dokumenta",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Pomakni na vrh",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Spremiti",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Brisanje sloja",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Preimenuj Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Select predefinirane:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.hu.js b/public/svg-edit/editor/locale/lang.hu.js
index 9f5d35a4..00006869 100644
--- a/public/svg-edit/editor/locale/lang.hu.js
+++ b/public/svg-edit/editor/locale/lang.hu.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Képest Igazítás ..."},
-{"id": "bkgnd_color", "title": "Change background color / homályosság"},
-{"id": "circle_cx", "title": "Change kör CX koordináta"},
-{"id": "circle_cy", "title": "Change kör cy koordináta"},
-{"id": "circle_r", "title": "Change kör sugara"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Change téglalap sarok sugara"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Change ellipszis's CX koordináta"},
-{"id": "ellipse_cy", "title": "Change ellipszis's cy koordináta"},
-{"id": "ellipse_rx", "title": "Change ellipszis's x sugarú"},
-{"id": "ellipse_ry", "title": "Change ellipszis's y sugara"},
-{"id": "fill_color", "title": "Change töltse color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Illeszkednek az összes tartalom"},
-{"id": "fit_to_canvas", "textContent": "Igazítás a vászonra"},
-{"id": "fit_to_layer_content", "textContent": "Igazítás a réteg tartalma"},
-{"id": "fit_to_sel", "textContent": "Igazítás a kiválasztási"},
-{"id": "font_family", "title": "Change Betűcsalád"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Kép módosítása height"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Change kép szélessége"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "legnagyobb objektum"},
-{"id": "layer_delete", "title": "Réteg törlése"},
-{"id": "layer_down", "title": "Mozgatása lefelé"},
-{"id": "layer_new", "title": "Új réteg"},
-{"id": "layer_rename", "title": "Réteg átnevezése"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Rétegből:"},
-{"id": "line_x1", "title": "A sor kezd x koordináta"},
-{"id": "line_x2", "title": "A sor vége az x koordináta"},
-{"id": "line_y1", "title": "A sor kezd y koordináta"},
-{"id": "line_y2", "title": "A sor vége az y koordináta"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Page"},
-{"id": "palette", "title": "Kattints ide a változások töltse szín, shift-click változtatni stroke color"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change téglalap magassága"},
-{"id": "rect_width_tool", "title": "Change téglalap szélessége"},
-{"id": "relativeToLabel", "textContent": "relatív hogy:"},
-{"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": "Válassza ki előre definiált:"},
-{"id": "selected_objects", "textContent": "választott tárgyak"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "legkisebb objektum"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change stroke color"},
-{"id": "stroke_style", "title": "Change stroke kötőjel style"},
-{"id": "stroke_width", "title": "Change stroke width"},
-{"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": "Magasság:"},
-{"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": "Szélesség:"},
-{"id": "text", "title": "A szöveg tartalma"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Alulra igazítás"},
-{"id": "tool_aligncenter", "title": "Középre igazítás"},
-{"id": "tool_alignleft", "title": "Balra igazítás"},
-{"id": "tool_alignmiddle", "title": "Közép-align"},
-{"id": "tool_alignright", "title": "Jobbra igazítás"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Váltás forgás szög"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Félkövér szöveg"},
-{"id": "tool_circle", "title": "Körbe"},
-{"id": "tool_clear", "textContent": "Új kép"},
-{"id": "tool_clone", "title": "Klónok Element"},
-{"id": "tool_clone_multi", "title": "Klón Elements"},
-{"id": "tool_delete", "title": "Delete Element"},
-{"id": "tool_delete_multi", "title": "A kijelölt elemek"},
-{"id": "tool_docprops", "textContent": "Dokumentum tulajdonságai"},
-{"id": "tool_docprops_cancel", "textContent": "Szakítani"},
-{"id": "tool_docprops_save", "textContent": "Ment"},
-{"id": "tool_ellipse", "title": "Ellipszisszelet"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Ceruza eszköz"},
-{"id": "tool_fhrect", "title": "Free-Hand téglalap"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Csoport elemei"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Dőlt szöveg"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Mozgatás lefelé"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "A kijelölt elem opacity"},
-{"id": "tool_open", "textContent": "Kép megnyitása"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Téglalapban"},
-{"id": "tool_redo", "title": "Megismétléséhez"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Kép mentése más"},
-{"id": "tool_select", "title": "Válassza ki az eszközt"},
-{"id": "tool_source", "title": "Szerkesztés Forrás"},
-{"id": "tool_source_cancel", "textContent": "Szakítani"},
-{"id": "tool_source_save", "textContent": "Ment"},
-{"id": "tool_square", "title": "Négyzetes"},
-{"id": "tool_text", "title": "Szöveg eszköz"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Visszavon"},
-{"id": "tool_ungroup", "title": "Szétbont elemei"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change nagyítási"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "hu",
+ dir : "ltr",
+ common: {
+ "ok": "Ment",
+ "cancel": "Szakítani",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Kattints ide a változások töltse szín, shift-click változtatni stroke color",
+ "zoom_level": "Change nagyítási",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change töltse color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke kötőjel style",
+ "stroke_width": "Change stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Váltás forgás szög",
+ "blur": "Change gaussian blur value",
+ "opacity": "A kijelölt elem opacity",
+ "circle_cx": "Change kör CX koordináta",
+ "circle_cy": "Change kör cy koordináta",
+ "circle_r": "Change kör sugara",
+ "ellipse_cx": "Change ellipszis's CX koordináta",
+ "ellipse_cy": "Change ellipszis's cy koordináta",
+ "ellipse_rx": "Change ellipszis's x sugarú",
+ "ellipse_ry": "Change ellipszis's y sugara",
+ "line_x1": "A sor kezd x koordináta",
+ "line_x2": "A sor vége az x koordináta",
+ "line_y1": "A sor kezd y koordináta",
+ "line_y2": "A sor vége az y koordináta",
+ "rect_height": "Change téglalap magassága",
+ "rect_width": "Change téglalap szélessége",
+ "corner_radius": "Change téglalap sarok sugara",
+ "image_width": "Change kép szélessége",
+ "image_height": "Kép módosítása height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "A szöveg tartalma",
+ "font_family": "Change Betűcsalád",
+ "font_size": "Change font size",
+ "bold": "Félkövér szöveg",
+ "italic": "Dőlt szöveg"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color / homályosság",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Illeszkednek az összes tartalom",
+ "fit_to_canvas": "Igazítás a vászonra",
+ "fit_to_layer_content": "Igazítás a réteg tartalma",
+ "fit_to_sel": "Igazítás a kiválasztási",
+ "align_relative_to": "Képest Igazítás ...",
+ "relativeTo": "relatív hogy:",
+ "Page": "Page",
+ "largest_object": "legnagyobb objektum",
+ "selected_objects": "választott tárgyak",
+ "smallest_object": "legkisebb objektum",
+ "new_doc": "Új kép",
+ "open_doc": "Kép megnyitása",
+ "export_png": "Export as PNG",
+ "save_doc": "Kép mentése más",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Alulra igazítás",
+ "align_center": "Középre igazítás",
+ "align_left": "Balra igazítás",
+ "align_middle": "Közép-align",
+ "align_right": "Jobbra igazítás",
+ "align_top": "Align Top",
+ "mode_select": "Válassza ki az eszközt",
+ "mode_fhpath": "Ceruza eszköz",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand téglalap",
+ "mode_ellipse": "Ellipszisszelet",
+ "mode_circle": "Körbe",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Szöveg eszköz",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Visszavon",
+ "redo": "Megismétléséhez",
+ "tool_source": "Szerkesztés Forrás",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Csoport elemei",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Szétbont elemei",
+ "docprops": "Dokumentum tulajdonságai",
+ "imagelib": "Image Library",
+ "move_bottom": "Mozgatás lefelé",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Ment",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Réteg törlése",
+ "move_down": "Mozgatása lefelé",
+ "new": "Új réteg",
+ "rename": "Réteg átnevezése",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Válassza ki előre definiált:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.hy.js b/public/svg-edit/editor/locale/lang.hy.js
index 08cffbee..54851b77 100644
--- a/public/svg-edit/editor/locale/lang.hy.js
+++ b/public/svg-edit/editor/locale/lang.hy.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align relative to ..."},
-{"id": "bkgnd_color", "title": "Change background color/opacity"},
-{"id": "circle_cx", "title": "Change circle's cx coordinate"},
-{"id": "circle_cy", "title": "Change circle's cy coordinate"},
-{"id": "circle_r", "title": "Change circle's radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Change Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Change ellipse's cx coordinate"},
-{"id": "ellipse_cy", "title": "Change ellipse's cy coordinate"},
-{"id": "ellipse_rx", "title": "Change ellipse's x radius"},
-{"id": "ellipse_ry", "title": "Change ellipse's y radius"},
-{"id": "fill_color", "title": "Change fill color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit to all content"},
-{"id": "fit_to_canvas", "textContent": "Fit to canvas"},
-{"id": "fit_to_layer_content", "textContent": "Fit to layer content"},
-{"id": "fit_to_sel", "textContent": "Fit to selection"},
-{"id": "font_family", "title": "Change Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Change image height"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Change image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "largest object"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Change line's starting x coordinate"},
-{"id": "line_x2", "title": "Change line's ending x coordinate"},
-{"id": "line_y1", "title": "Change line's starting y coordinate"},
-{"id": "line_y2", "title": "Change line's ending y coordinate"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "page"},
-{"id": "palette", "title": "Click to change fill color, shift-click to change stroke color"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change rectangle height"},
-{"id": "rect_width_tool", "title": "Change rectangle width"},
-{"id": "relativeToLabel", "textContent": "relative to:"},
-{"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": "Select predefined:"},
-{"id": "selected_objects", "textContent": "elected objects"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "smallest object"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change stroke color"},
-{"id": "stroke_style", "title": "Change stroke dash style"},
-{"id": "stroke_width", "title": "Change stroke width"},
-{"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": "Height:"},
-{"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": "Width:"},
-{"id": "text", "title": "Change text contents"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Align Center"},
-{"id": "tool_alignleft", "title": "Align Left"},
-{"id": "tool_alignmiddle", "title": "Align Middle"},
-{"id": "tool_alignright", "title": "Align Right"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Change rotation angle"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Delete Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Cancel"},
-{"id": "tool_docprops_save", "textContent": "Save"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Change Font Size"},
-{"id": "tool_group", "title": "Group Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Change selected item opacity"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Cancel"},
-{"id": "tool_source_save", "textContent": "Save"},
-{"id": "tool_square", "title": "Square"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change zoom level"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "hy",
+ dir : "ltr",
+ common: {
+ "ok": "Save",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click to change fill color, shift-click to change stroke color",
+ "zoom_level": "Change zoom level",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change fill color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke dash style",
+ "stroke_width": "Change stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected item opacity",
+ "circle_cx": "Change circle's cx coordinate",
+ "circle_cy": "Change circle's cy coordinate",
+ "circle_r": "Change circle's radius",
+ "ellipse_cx": "Change ellipse's cx coordinate",
+ "ellipse_cy": "Change ellipse's cy coordinate",
+ "ellipse_rx": "Change ellipse's x radius",
+ "ellipse_ry": "Change ellipse's y radius",
+ "line_x1": "Change line's starting x coordinate",
+ "line_x2": "Change line's ending x coordinate",
+ "line_y1": "Change line's starting y coordinate",
+ "line_y2": "Change line's ending y coordinate",
+ "rect_height": "Change rectangle height",
+ "rect_width": "Change rectangle width",
+ "corner_radius": "Change Rectangle Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change text contents",
+ "font_family": "Change Font Family",
+ "font_size": "Change Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color/opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit to all content",
+ "fit_to_canvas": "Fit to canvas",
+ "fit_to_layer_content": "Fit to layer content",
+ "fit_to_sel": "Fit to selection",
+ "align_relative_to": "Align relative to ...",
+ "relativeTo": "relative to:",
+ "page": "page",
+ "largest_object": "largest object",
+ "selected_objects": "elected objects",
+ "smallest_object": "smallest object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Middle",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.id.js b/public/svg-edit/editor/locale/lang.id.js
index 03ef774f..aedfa756 100644
--- a/public/svg-edit/editor/locale/lang.id.js
+++ b/public/svg-edit/editor/locale/lang.id.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Rata relatif ..."},
-{"id": "bkgnd_color", "title": "Mengubah warna latar belakang / keburaman"},
-{"id": "circle_cx", "title": "Mengubah koordinat lingkaran cx"},
-{"id": "circle_cy", "title": "Mengubah koordinat cy lingkaran"},
-{"id": "circle_r", "title": "Ubah jari-jari lingkaran"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Ubah Corner Rectangle Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Ubah elips's cx koordinat"},
-{"id": "ellipse_cy", "title": "Ubah elips's cy koordinat"},
-{"id": "ellipse_rx", "title": "Ubah elips's x jari-jari"},
-{"id": "ellipse_ry", "title": "Ubah elips's y jari-jari"},
-{"id": "fill_color", "title": "Ubah warna mengisi"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Cocok untuk semua konten"},
-{"id": "fit_to_canvas", "textContent": "Muat kanvas"},
-{"id": "fit_to_layer_content", "textContent": "Muat konten lapisan"},
-{"id": "fit_to_sel", "textContent": "Fit seleksi"},
-{"id": "font_family", "title": "Ubah Font Keluarga"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Tinggi gambar Perubahan"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Ubah URL"},
-{"id": "image_width", "title": "Ubah Lebar gambar"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "objek terbesar"},
-{"id": "layer_delete", "title": "Hapus Layer"},
-{"id": "layer_down", "title": "Pindahkan Layer Bawah"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Pindahkan Layer Up"},
-{"id": "layersLabel", "textContent": "Lapisan:"},
-{"id": "line_x1", "title": "Ubah baris mulai x koordinat"},
-{"id": "line_x2", "title": "Ubah baris's Berakhir x koordinat"},
-{"id": "line_y1", "title": "Ubah baris mulai y koordinat"},
-{"id": "line_y2", "title": "Ubah baris di tiap akhir y koordinat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Halaman"},
-{"id": "palette", "title": "Klik untuk mengubah warna mengisi, shift-klik untuk mengubah warna stroke"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Perubahan tinggi persegi panjang"},
-{"id": "rect_width_tool", "title": "Ubah persegi panjang lebar"},
-{"id": "relativeToLabel", "textContent": "relatif:"},
-{"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": "Pilih standar:"},
-{"id": "selected_objects", "textContent": "objek terpilih"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "objek terkecil"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Ubah warna stroke"},
-{"id": "stroke_style", "title": "Ubah gaya dash stroke"},
-{"id": "stroke_width", "title": "Ubah stroke width"},
-{"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": "Ketinggian:"},
-{"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": "Lebar:"},
-{"id": "text", "title": "Ubah isi teks"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Rata Bottom"},
-{"id": "tool_aligncenter", "title": "Rata Tengah"},
-{"id": "tool_alignleft", "title": "Rata Kiri"},
-{"id": "tool_alignmiddle", "title": "Rata Tengah"},
-{"id": "tool_alignright", "title": "Rata Kanan"},
-{"id": "tool_aligntop", "title": "Rata Top"},
-{"id": "tool_angle", "title": "Ubah sudut rotasi"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Teks"},
-{"id": "tool_circle", "title": "Lingkaran"},
-{"id": "tool_clear", "textContent": "Gambar Baru"},
-{"id": "tool_clone", "title": "Clone Elemen"},
-{"id": "tool_clone_multi", "title": "Clone Elemen"},
-{"id": "tool_delete", "title": "Hapus Elemen"},
-{"id": "tool_delete_multi", "title": "Hapus Elemen"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Batal"},
-{"id": "tool_docprops_save", "textContent": "Simpan"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Persegi Panjang"},
-{"id": "tool_font_size", "title": "Ubah Ukuran Font"},
-{"id": "tool_group", "title": "Kelompok Elemen"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Teks"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Pindah ke Bawah"},
-{"id": "tool_move_top", "title": "Pindahkan ke Atas"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Mengubah item yang dipilih keburaman"},
-{"id": "tool_open", "textContent": "Membuka Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Pilih Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Batal"},
-{"id": "tool_source_save", "textContent": "Simpan"},
-{"id": "tool_square", "title": "Kotak"},
-{"id": "tool_text", "title": "Teks Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Ungroup Elemen"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Mengubah tingkat pembesaran"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "id",
+ dir : "ltr",
+ common: {
+ "ok": "Simpan",
+ "cancel": "Batal",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klik untuk mengubah warna mengisi, shift-klik untuk mengubah warna stroke",
+ "zoom_level": "Mengubah tingkat pembesaran",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Ubah warna mengisi",
+ "stroke_color": "Ubah warna stroke",
+ "stroke_style": "Ubah gaya dash stroke",
+ "stroke_width": "Ubah stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Ubah sudut rotasi",
+ "blur": "Change gaussian blur value",
+ "opacity": "Mengubah item yang dipilih keburaman",
+ "circle_cx": "Mengubah koordinat lingkaran cx",
+ "circle_cy": "Mengubah koordinat cy lingkaran",
+ "circle_r": "Ubah jari-jari lingkaran",
+ "ellipse_cx": "Ubah elips's cx koordinat",
+ "ellipse_cy": "Ubah elips's cy koordinat",
+ "ellipse_rx": "Ubah elips's x jari-jari",
+ "ellipse_ry": "Ubah elips's y jari-jari",
+ "line_x1": "Ubah baris mulai x koordinat",
+ "line_x2": "Ubah baris's Berakhir x koordinat",
+ "line_y1": "Ubah baris mulai y koordinat",
+ "line_y2": "Ubah baris di tiap akhir y koordinat",
+ "rect_height": "Perubahan tinggi persegi panjang",
+ "rect_width": "Ubah persegi panjang lebar",
+ "corner_radius": "Ubah Corner Rectangle Radius",
+ "image_width": "Ubah Lebar gambar",
+ "image_height": "Tinggi gambar Perubahan",
+ "image_url": "Ubah URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Ubah isi teks",
+ "font_family": "Ubah Font Keluarga",
+ "font_size": "Ubah Ukuran Font",
+ "bold": "Bold Teks",
+ "italic": "Italic Teks"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Mengubah warna latar belakang / keburaman",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Cocok untuk semua konten",
+ "fit_to_canvas": "Muat kanvas",
+ "fit_to_layer_content": "Muat konten lapisan",
+ "fit_to_sel": "Fit seleksi",
+ "align_relative_to": "Rata relatif ...",
+ "relativeTo": "relatif:",
+ "Halaman": "Halaman",
+ "largest_object": "objek terbesar",
+ "selected_objects": "objek terpilih",
+ "smallest_object": "objek terkecil",
+ "new_doc": "Gambar Baru",
+ "open_doc": "Membuka Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Rata Bottom",
+ "align_center": "Rata Tengah",
+ "align_left": "Rata Kiri",
+ "align_middle": "Rata Tengah",
+ "align_right": "Rata Kanan",
+ "align_top": "Rata Top",
+ "mode_select": "Pilih Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Persegi Panjang",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Lingkaran",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Teks Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Kelompok Elemen",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elemen",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Pindah ke Bawah",
+ "move_top": "Pindahkan ke Atas",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Simpan",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Hapus Layer",
+ "move_down": "Pindahkan Layer Bawah",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Pindahkan Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Pilih standar:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.is.js b/public/svg-edit/editor/locale/lang.is.js
index 9ad606a0..2ef73f71 100644
--- a/public/svg-edit/editor/locale/lang.is.js
+++ b/public/svg-edit/editor/locale/lang.is.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Jafna miðað við ..."},
-{"id": "bkgnd_color", "title": "Breyta bakgrunnslit / opacity"},
-{"id": "circle_cx", "title": "Cx Breyta hring er að samræma"},
-{"id": "circle_cy", "title": "Breyta hring's cy samræma"},
-{"id": "circle_r", "title": "Radíus Breyta hringsins er"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Breyta rétthyrningur Corner Radíus"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Breyta sporbaug's cx samræma"},
-{"id": "ellipse_cy", "title": "Breyta sporbaug's cy samræma"},
-{"id": "ellipse_rx", "title": "X radíus Breyta sporbaug's"},
-{"id": "ellipse_ry", "title": "Y radíus Breyta sporbaug's"},
-{"id": "fill_color", "title": "Breyta fylla color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Laga til efni"},
-{"id": "fit_to_canvas", "textContent": "Fit á striga"},
-{"id": "fit_to_layer_content", "textContent": "Laga til lag efni"},
-{"id": "fit_to_sel", "textContent": "Fit til val"},
-{"id": "font_family", "title": "Change Leturfjölskylda"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Breyta mynd hæð"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Breyta URL"},
-{"id": "image_width", "title": "Breyta mynd width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "stærsti hlutinn"},
-{"id": "layer_delete", "title": "Eyða Lag"},
-{"id": "layer_down", "title": "Færa Layer Down"},
-{"id": "layer_new", "title": "Lag"},
-{"id": "layer_rename", "title": "Endurnefna Lag"},
-{"id": "layer_up", "title": "Færa Lag Up"},
-{"id": "layersLabel", "textContent": "Lag:"},
-{"id": "line_x1", "title": "Breyta lína í byrjun x samræma"},
-{"id": "line_x2", "title": "Breyta lína's Ending x samræma"},
-{"id": "line_y1", "title": "Breyta lína í byrjun y samræma"},
-{"id": "line_y2", "title": "Breyta lína er endir y samræma"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "síðu"},
-{"id": "palette", "title": "Smelltu hér til að breyta fylla lit, Shift-smelltu til að breyta högg lit"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Breyta rétthyrningur hæð"},
-{"id": "rect_width_tool", "title": "Skipta rétthyrningur width"},
-{"id": "relativeToLabel", "textContent": "hlutfallslegt til:"},
-{"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": "Veldu predefined:"},
-{"id": "selected_objects", "textContent": "kjörinn hlutir"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "lítill hluti"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Breyta heilablķđfall color"},
-{"id": "stroke_style", "title": "Breyta heilablķđfall þjóta stíl"},
-{"id": "stroke_width", "title": "Breyta heilablķđfall width"},
-{"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": "Hæð:"},
-{"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": "Breidd:"},
-{"id": "text", "title": "Breyta texta innihald"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Jafna Bottom"},
-{"id": "tool_aligncenter", "title": "Jafna Center"},
-{"id": "tool_alignleft", "title": "Vinstri jöfnun"},
-{"id": "tool_alignmiddle", "title": "Jafna Mið"},
-{"id": "tool_alignright", "title": "Hægri jöfnun"},
-{"id": "tool_aligntop", "title": "Jöfnun Top"},
-{"id": "tool_angle", "title": "Breyting snúningur horn"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Eyða Element"},
-{"id": "tool_delete_multi", "title": "Eyða Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Hætta"},
-{"id": "tool_docprops_save", "textContent": "Vista"},
-{"id": "tool_ellipse", "title": "Sporbaugur"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Sporbaugur"},
-{"id": "tool_fhpath", "title": "Blýantur Tól"},
-{"id": "tool_fhrect", "title": "Free-Hand rétthyrningur"},
-{"id": "tool_font_size", "title": "Breyta leturstærð"},
-{"id": "tool_group", "title": "Group Elements"},
-{"id": "tool_image", "title": "Mynd Tól"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Færa Bottom"},
-{"id": "tool_move_top", "title": "Fara efst á síðu"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Breyta valin atriði opacity"},
-{"id": "tool_open", "textContent": "Opna mynd"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rétthyrningur"},
-{"id": "tool_redo", "title": "Endurtaka"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Spara Image"},
-{"id": "tool_select", "title": "Veldu Tól"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Hætta"},
-{"id": "tool_source_save", "textContent": "Vista"},
-{"id": "tool_square", "title": "Ferningur"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Hætta"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Breyta Stækkunarstig"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "is",
+ dir : "ltr",
+ common: {
+ "ok": "Vista",
+ "cancel": "Hætta",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Smelltu hér til að breyta fylla lit, Shift-smelltu til að breyta högg lit",
+ "zoom_level": "Breyta Stækkunarstig",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Breyta fylla color",
+ "stroke_color": "Breyta heilablķđfall color",
+ "stroke_style": "Breyta heilablķđfall þjóta stíl",
+ "stroke_width": "Breyta heilablķđfall width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Breyting snúningur horn",
+ "blur": "Change gaussian blur value",
+ "opacity": "Breyta valin atriði opacity",
+ "circle_cx": "Cx Breyta hring er að samræma",
+ "circle_cy": "Breyta hring's cy samræma",
+ "circle_r": "Radíus Breyta hringsins er",
+ "ellipse_cx": "Breyta sporbaug's cx samræma",
+ "ellipse_cy": "Breyta sporbaug's cy samræma",
+ "ellipse_rx": "X radíus Breyta sporbaug's",
+ "ellipse_ry": "Y radíus Breyta sporbaug's",
+ "line_x1": "Breyta lína í byrjun x samræma",
+ "line_x2": "Breyta lína's Ending x samræma",
+ "line_y1": "Breyta lína í byrjun y samræma",
+ "line_y2": "Breyta lína er endir y samræma",
+ "rect_height": "Breyta rétthyrningur hæð",
+ "rect_width": "Skipta rétthyrningur width",
+ "corner_radius": "Breyta rétthyrningur Corner Radíus",
+ "image_width": "Breyta mynd width",
+ "image_height": "Breyta mynd hæð",
+ "image_url": "Breyta URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Breyta texta innihald",
+ "font_family": "Change Leturfjölskylda",
+ "font_size": "Breyta leturstærð",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Breyta bakgrunnslit / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Laga til efni",
+ "fit_to_canvas": "Fit á striga",
+ "fit_to_layer_content": "Laga til lag efni",
+ "fit_to_sel": "Fit til val",
+ "align_relative_to": "Jafna miðað við ...",
+ "relativeTo": "hlutfallslegt til:",
+ "síðu": "síðu",
+ "largest_object": "stærsti hlutinn",
+ "selected_objects": "kjörinn hlutir",
+ "smallest_object": "lítill hluti",
+ "new_doc": "New Image",
+ "open_doc": "Opna mynd",
+ "export_png": "Export as PNG",
+ "save_doc": "Spara Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Jafna Bottom",
+ "align_center": "Jafna Center",
+ "align_left": "Vinstri jöfnun",
+ "align_middle": "Jafna Mið",
+ "align_right": "Hægri jöfnun",
+ "align_top": "Jöfnun Top",
+ "mode_select": "Veldu Tól",
+ "mode_fhpath": "Blýantur Tól",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand rétthyrningur",
+ "mode_ellipse": "Sporbaugur",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Sporbaugur",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Mynd Tól",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Hætta",
+ "redo": "Endurtaka",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Færa Bottom",
+ "move_top": "Fara efst á síðu",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Vista",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Eyða Lag",
+ "move_down": "Færa Layer Down",
+ "new": "Lag",
+ "rename": "Endurnefna Lag",
+ "move_up": "Færa Lag Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Veldu 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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.it.js b/public/svg-edit/editor/locale/lang.it.js
index c19606ea..594e5128 100644
--- a/public/svg-edit/editor/locale/lang.it.js
+++ b/public/svg-edit/editor/locale/lang.it.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Allineati a ..."},
-{"id": "bkgnd_color", "title": "Cambia colore/opacità dello sfondo"},
-{"id": "circle_cx", "title": "Cambia la coordinata Cx del cerchio"},
-{"id": "circle_cy", "title": "Cambia la coordinata Cy del cerchio"},
-{"id": "circle_r", "title": "Cambia il raggio del cerchio"},
-{"id": "connector_no_arrow", "textContent": "No freccia"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Cambia il raggio dell'angolo"},
-{"id": "curve_segments", "textContent": "Curva"},
-{"id": "ellipse_cx", "title": "Cambia la coordinata Cx dell'ellisse"},
-{"id": "ellipse_cy", "title": "Cambia la coordinata Cy dell'ellisse"},
-{"id": "ellipse_rx", "title": "Cambia l'asse x dell'ellisse"},
-{"id": "ellipse_ry", "title": "Cambia l'asse y dell'ellisse"},
-{"id": "fill_color", "title": "Cambia il colore di riempimento"},
-{"id": "fitToContent", "textContent": "Adatta al contenuto"},
-{"id": "fit_to_all", "textContent": "Adatta a tutti i contenuti"},
-{"id": "fit_to_canvas", "textContent": "Adatta all'area di disegno"},
-{"id": "fit_to_layer_content", "textContent": "Adatta al contenuto del livello"},
-{"id": "fit_to_sel", "textContent": "Adatta alla selezione"},
-{"id": "font_family", "title": "Cambia il tipo di Font"},
-{"id": "icon_large", "textContent": "Grande"},
-{"id": "icon_medium", "textContent": "Medio"},
-{"id": "icon_small", "textContent": "Piccolo"},
-{"id": "icon_xlarge", "textContent": "Molto grande"},
-{"id": "idLabel", "title": "Identifica l'elemento"},
-{"id": "image_height", "title": "Cambia l'altezza dell'immagine"},
-{"id": "image_opt_embed", "textContent": "Incorpora dati (file locali)"},
-{"id": "image_opt_ref", "textContent": "Usa l'identificativo di riferimento"},
-{"id": "image_url", "title": "Cambia URL"},
-{"id": "image_width", "title": "Cambia la larghezza dell'immagine"},
-{"id": "includedImages", "textContent": "Immagini incluse"},
-{"id": "largest_object", "textContent": "Oggetto più grande"},
-{"id": "layer_delete", "title": "Elimina il livello"},
-{"id": "layer_down", "title": "Sposta indietro il livello"},
-{"id": "layer_new", "title": "Nuovo livello"},
-{"id": "layer_rename", "title": "Rinomina il livello"},
-{"id": "layer_up", "title": "Sposta avanti il livello"},
-{"id": "layersLabel", "textContent": "Livello:"},
-{"id": "line_x1", "title": "Modifica la coordinata iniziale x della linea"},
-{"id": "line_x2", "title": "Modifica la coordinata finale x della linea"},
-{"id": "line_y1", "title": "Modifica la coordinata iniziale y della linea"},
-{"id": "line_y2", "title": "Modifica la coordinata finale y della linea"},
-{"id": "linecap_butt", "title": "Inizio linea: Punto"},
-{"id": "linecap_round", "title": "Inizio linea: Tondo"},
-{"id": "linecap_square", "title": "Inizio linea: Quadrato"},
-{"id": "linejoin_bevel", "title": "Giunzione: smussata"},
-{"id": "linejoin_miter", "title": "Giunzione: spezzata"},
-{"id": "linejoin_round", "title": "Giunzione: arrotondata"},
-{"id": "main_icon", "title": "Menù principale"},
-{"id": "mode_connect", "title": "Collega due oggetti"},
-{"id": "page", "textContent": "Pagina"},
-{"id": "palette", "title": "Fare clic per cambiare il colore di riempimento, shift-click per cambiare colore del tratto"},
-{"id": "path_node_x", "title": "Modifica la coordinata x del nodo"},
-{"id": "path_node_y", "title": "Modifica la coordinata y del nodo"},
-{"id": "rect_height_tool", "title": "Cambia l'altezza rettangolo"},
-{"id": "rect_width_tool", "title": "Cambia la larghezza rettangolo"},
-{"id": "relativeToLabel", "textContent": "Rispetto a:"},
-{"id": "seg_type", "title": "Cambia il tipo di segmento"},
-{"id": "selLayerLabel", "textContent": "Sposta verso:"},
-{"id": "selLayerNames", "title": "Sposta gli elementi in un diverso livello"},
-{"id": "selectedPredefined", "textContent": "Selezioni predefinite:"},
-{"id": "selected_objects", "textContent": "Oggetti selezionati"},
-{"id": "selected_x", "title": "Modifica la coordinata x"},
-{"id": "selected_y", "title": "Modifica la coordinata y"},
-{"id": "smallest_object", "textContent": "Oggetto più piccolo"},
-{"id": "straight_segments", "textContent": "Linea retta"},
-{"id": "stroke_color", "title": "Cambia il colore del tratto"},
-{"id": "stroke_style", "title": "Cambia lo stile del tratto"},
-{"id": "stroke_width", "title": "Cambia la larghezza del tratto"},
-{"id": "svginfo_bg_note", "textContent": "Nota: Lo sfondo non verrà salvato con l'immagine."},
-{"id": "svginfo_change_background", "textContent": "Sfondo dell'editor"},
-{"id": "svginfo_dim", "textContent": "Dimensioni dell'area di disegno"},
-{"id": "svginfo_editor_prefs", "textContent": "Preferenze"},
-{"id": "svginfo_height", "textContent": "Altezza:"},
-{"id": "svginfo_icons", "textContent": "Dimensione Icona"},
-{"id": "svginfo_image_props", "textContent": "Proprietà Immagine"},
-{"id": "svginfo_lang", "textContent": "Lingua"},
-{"id": "svginfo_title", "textContent": "Titolo"},
-{"id": "svginfo_width", "textContent": "Ampiezza:"},
-{"id": "text", "title": "Cambia il contenuto del testo"},
-{"id": "toggle_stroke_tools", "title": "Mostra/nascondi strumenti per il tratto"},
-{"id": "tool_add_subpath", "title": "Aggiungi sotto-percorso"},
-{"id": "tool_alignbottom", "title": "Allinea in basso"},
-{"id": "tool_aligncenter", "title": "Allinea al centro"},
-{"id": "tool_alignleft", "title": "Allinea a sinistra"},
-{"id": "tool_alignmiddle", "title": "Allinea al centro"},
-{"id": "tool_alignright", "title": "Allinea a destra"},
-{"id": "tool_aligntop", "title": "Allinea in alto"},
-{"id": "tool_angle", "title": "Cambia l'angolo di rotazione"},
-{"id": "tool_blur", "title": "Cambia l'intensità della sfocatura"},
-{"id": "tool_bold", "title": "Grassetto"},
-{"id": "tool_circle", "title": "Cerchio"},
-{"id": "tool_clear", "textContent": "Nuova immagine"},
-{"id": "tool_clone", "title": "Clona l'elemento"},
-{"id": "tool_clone_multi", "title": "Clona più elementi"},
-{"id": "tool_delete", "title": "Cancella l'elemento"},
-{"id": "tool_delete_multi", "title": "Elimina gli elementi selezionati"},
-{"id": "tool_docprops", "textContent": "Proprietà del documento"},
-{"id": "tool_docprops_cancel", "textContent": "Annulla"},
-{"id": "tool_docprops_save", "textContent": "Salva"},
-{"id": "tool_ellipse", "title": "Ellisse"},
-{"id": "tool_export", "textContent": "Esporta come PNG"},
-{"id": "tool_eyedropper", "title": "Seleziona colore"},
-{"id": "tool_fhellipse", "title": "Ellisse a mano libera"},
-{"id": "tool_fhpath", "title": "Matita"},
-{"id": "tool_fhrect", "title": "Rettangolo a mano libera"},
-{"id": "tool_font_size", "title": "Modifica dimensione carattere"},
-{"id": "tool_group", "title": "Raggruppa elementi"},
-{"id": "tool_image", "title": "Immagine"},
-{"id": "tool_import", "textContent": "Importa SVG"},
-{"id": "tool_italic", "title": "Corsivo"},
-{"id": "tool_line", "title": "Linea"},
-{"id": "tool_move_bottom", "title": "Sposta in fondo"},
-{"id": "tool_move_top", "title": "Sposta in cima"},
-{"id": "tool_node_clone", "title": "Clona nodo"},
-{"id": "tool_node_delete", "title": "Elimina nodo"},
-{"id": "tool_node_link", "title": "Collegamento tra punti di controllo"},
-{"id": "tool_opacity", "title": "Cambia l'opacità dell'oggetto selezionato"},
-{"id": "tool_open", "textContent": "Apri immagine"},
-{"id": "tool_openclose_path", "title": "Apri/chiudi spezzata"},
-{"id": "tool_path", "title": "Spezzata"},
-{"id": "tool_position", "title": "Allinea elementi alla pagina"},
-{"id": "tool_rect", "title": "Rettangolo"},
-{"id": "tool_redo", "title": "Rifai"},
-{"id": "tool_reorient", "title": "Riallinea"},
-{"id": "tool_save", "textContent": "Salva"},
-{"id": "tool_select", "title": "Seleziona"},
-{"id": "tool_source", "title": "Modifica sorgente"},
-{"id": "tool_source_cancel", "textContent": "Annulla"},
-{"id": "tool_source_save", "textContent": "Salva"},
-{"id": "tool_square", "title": "Quadrato"},
-{"id": "tool_text", "title": "Testo"},
-{"id": "tool_topath", "title": "Converti in tracciato"},
-{"id": "tool_undo", "title": "Annulla"},
-{"id": "tool_ungroup", "title": "Separa gli elementi"},
-{"id": "tool_wireframe", "title": "Contorno"},
-{"id": "tool_zoom", "title": "Zoom"},
-{"id": "url_notice", "title": "NOTA: L'immagine non può essere incorporata: dipenderà dal percorso assoluto per essere vista"},
-{"id": "zoom_panel", "title": "Cambia il livello di zoom"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "titolo": "Trascina a sinistra/destra per ridimensionare il pannello"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Ci sono errori nel codice sorgente SVG.\nRitorno al codice originale?",
- "QignoreSourceChanges": "Ignoro i cambiamenti nel sorgente SVG?",
- "QmoveElemsToLayer": "Sposta gli elementi selezionali al livello '%s'?",
- "QwantToClear": "Vuoi cancellare il disegno?\nVerrà eliminato anche lo storico delle modifiche!",
- "cancel": "Annulla",
- "defsFailOnSave": "NOTA: A causa dlle caratteristiche del tuo browser, l'immagine potrà apparire errata (senza elementi o gradazioni) finché non sarà salvata.",
- "dupeLayerName": "C'è già un livello con questo nome!",
- "enterNewImgURL": "Scrivi un nuovo URL per l'immagine",
- "enterNewLayerName": "Assegna un nome al livello",
- "enterUniqueLayerName": "Assegna un diverso nome a ciascun livello, grazie!",
- "exportNoBlur": "Gli elementi sfocati appariranno non sfocati",
- "exportNoDashArray": "I tratti appariranno pieni",
- "exportNoImage": "Elementi dell'immagine non compariranno",
- "exportNoText": "Il testo non apparirà come indicato",
- "exportNoforeignObject": "Gli elementi dell'oggetto esterno non potranno essere visti",
- "featNotSupported": "Caratteristica non supportata",
- "invalidAttrValGiven": "Valore assegnato non valido",
- "key_backspace": "backspace",
- "key_del": "Canc",
- "key_down": "giù",
- "key_up": "su",
- "layer": "Livello",
- "layerHasThatName": "Un livello ha già questo nome",
- "loadingImage": "Sto caricando l'immagine. attendere prego...",
- "noContentToFitTo": "Non c'è contenuto cui adeguarsi",
- "noteTheseIssues": "Nota le seguenti particolarità: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Trascina il punto di controllo per assestare le proprietà della curva",
- "pathNodeTooltip": "Trascina il nodo per spostarlo. Doppo click per cambiare i tipo di segmento",
- "saveFromBrowser": "Seleziona \"Salva con nome...\" nel browser per salvare l'immagine con nome %s ."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "it",
+ dir : "ltr",
+ common: {
+ "ok": "Salva",
+ "cancel": "Annulla",
+ "key_backspace": "backspace",
+ "key_del": "Canc",
+ "key_down": "giù",
+ "key_up": "su",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Mostra/nascondi strumenti per il tratto",
+ "palette_info": "Fare clic per cambiare il colore di riempimento, shift-click per cambiare colore del tratto",
+ "zoom_level": "Cambia il livello di zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identifica l'elemento",
+ "fill_color": "Cambia il colore di riempimento",
+ "stroke_color": "Cambia il colore del tratto",
+ "stroke_style": "Cambia lo stile del tratto",
+ "stroke_width": "Cambia la larghezza del tratto",
+ "pos_x": "Modifica la coordinata x",
+ "pos_y": "Modifica la coordinata y",
+ "linecap_butt": "Inizio linea: Punto",
+ "linecap_round": "Inizio linea: Tondo",
+ "linecap_square": "Inizio linea: Quadrato",
+ "linejoin_bevel": "Giunzione: smussata",
+ "linejoin_miter": "Giunzione: spezzata",
+ "linejoin_round": "Giunzione: arrotondata",
+ "angle": "Cambia l'angolo di rotazione",
+ "blur": "Cambia l'intensità della sfocatura",
+ "opacity": "Cambia l'opacità dell'oggetto selezionato",
+ "circle_cx": "Cambia la coordinata Cx del cerchio",
+ "circle_cy": "Cambia la coordinata Cy del cerchio",
+ "circle_r": "Cambia il raggio del cerchio",
+ "ellipse_cx": "Cambia la coordinata Cx dell'ellisse",
+ "ellipse_cy": "Cambia la coordinata Cy dell'ellisse",
+ "ellipse_rx": "Cambia l'asse x dell'ellisse",
+ "ellipse_ry": "Cambia l'asse y dell'ellisse",
+ "line_x1": "Modifica la coordinata iniziale x della linea",
+ "line_x2": "Modifica la coordinata finale x della linea",
+ "line_y1": "Modifica la coordinata iniziale y della linea",
+ "line_y2": "Modifica la coordinata finale y della linea",
+ "rect_height": "Cambia l'altezza rettangolo",
+ "rect_width": "Cambia la larghezza rettangolo",
+ "corner_radius": "Cambia il raggio dell'angolo",
+ "image_width": "Cambia la larghezza dell'immagine",
+ "image_height": "Cambia l'altezza dell'immagine",
+ "image_url": "Cambia URL",
+ "node_x": "Modifica la coordinata x del nodo",
+ "node_y": "Modifica la coordinata y del nodo",
+ "seg_type": "Cambia il tipo di segmento",
+ "straight_segments": "Linea retta",
+ "curve_segments": "Curva",
+ "text_contents": "Cambia il contenuto del testo",
+ "font_family": "Cambia il tipo di Font",
+ "font_size": "Modifica dimensione carattere",
+ "bold": "Grassetto",
+ "italic": "Corsivo"
+ },
+ tools: {
+ "main_menu": "Menù principale",
+ "bkgnd_color_opac": "Cambia colore/opacità dello sfondo",
+ "connector_no_arrow": "No freccia",
+ "fitToContent": "Adatta al contenuto",
+ "fit_to_all": "Adatta a tutti i contenuti",
+ "fit_to_canvas": "Adatta all'area di disegno",
+ "fit_to_layer_content": "Adatta al contenuto del livello",
+ "fit_to_sel": "Adatta alla selezione",
+ "align_relative_to": "Allineati a ...",
+ "relativeTo": "Rispetto a:",
+ "Pagina": "Pagina",
+ "largest_object": "Oggetto più grande",
+ "selected_objects": "Oggetti selezionati",
+ "smallest_object": "Oggetto più piccolo",
+ "new_doc": "Nuova immagine",
+ "open_doc": "Apri immagine",
+ "export_png": "Esporta come PNG",
+ "save_doc": "Salva",
+ "import_doc": "Importa SVG",
+ "align_to_page": "Allinea elementi alla pagina",
+ "align_bottom": "Allinea in basso",
+ "align_center": "Allinea al centro",
+ "align_left": "Allinea a sinistra",
+ "align_middle": "Allinea al centro",
+ "align_right": "Allinea a destra",
+ "align_top": "Allinea in alto",
+ "mode_select": "Seleziona",
+ "mode_fhpath": "Matita",
+ "mode_line": "Linea",
+ "mode_connect": "Collega due oggetti",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Rettangolo a mano libera",
+ "mode_ellipse": "Ellisse",
+ "mode_circle": "Cerchio",
+ "mode_fhellipse": "Ellisse a mano libera",
+ "mode_path": "Spezzata",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Testo",
+ "mode_image": "Immagine",
+ "mode_zoom": "Zoom",
+ "mode_eyedropper": "Seleziona colore",
+ "no_embed": "NOTA: L'immagine non può essere incorporata: dipenderà dal percorso assoluto per essere vista",
+ "undo": "Annulla",
+ "redo": "Rifai",
+ "tool_source": "Modifica sorgente",
+ "wireframe_mode": "Contorno",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Raggruppa elementi",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Converti in tracciato",
+ "reorient_path": "Riallinea",
+ "ungroup": "Separa gli elementi",
+ "docprops": "Proprietà del documento",
+ "imagelib": "Image Library",
+ "move_bottom": "Sposta in fondo",
+ "move_top": "Sposta in cima",
+ "node_clone": "Clona nodo",
+ "node_delete": "Elimina nodo",
+ "node_link": "Collegamento tra punti di controllo",
+ "add_subpath": "Aggiungi sotto-percorso",
+ "openclose_path": "Apri/chiudi spezzata",
+ "source_save": "Salva",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "Canc": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Livello",
+ "layers": "Layers",
+ "del": "Elimina il livello",
+ "move_down": "Sposta indietro il livello",
+ "new": "Nuovo livello",
+ "rename": "Rinomina il livello",
+ "move_up": "Sposta avanti il livello",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Sposta verso:",
+ "move_selected": "Sposta gli elementi in un diverso livello"
+ },
+ config: {
+ "image_props": "Proprietà Immagine",
+ "doc_title": "Titolo",
+ "doc_dims": "Dimensioni dell'area di disegno",
+ "included_images": "Immagini incluse",
+ "image_opt_embed": "Incorpora dati (file locali)",
+ "image_opt_ref": "Usa l'identificativo di riferimento",
+ "editor_prefs": "Preferenze",
+ "icon_size": "Dimensione Icona",
+ "language": "Lingua",
+ "background": "Sfondo dell'editor",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Nota: Lo sfondo non verrà salvato con l'immagine.",
+ "icon_large": "Grande",
+ "icon_medium": "Medio",
+ "icon_small": "Piccolo",
+ "icon_xlarge": "Molto grande",
+ "select_predefined": "Selezioni predefinite:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Valore assegnato non valido",
+ "noContentToFitTo":"Non c'è contenuto cui adeguarsi",
+ "dupeLayerName":"C'è già un livello con questo nome!",
+ "enterUniqueLayerName":"Assegna un diverso nome a ciascun livello, grazie!",
+ "enterNewLayerName":"Assegna un nome al livello",
+ "layerHasThatName":"Un livello ha già questo nome",
+ "QmoveElemsToLayer":"Sposta gli elementi selezionali al livello '%s'?",
+ "QwantToClear":"Vuoi cancellare il disegno?\nVerrà eliminato anche lo storico delle modifiche!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Ci sono errori nel codice sorgente SVG.\nRitorno al codice originale?",
+ "QignoreSourceChanges":"Ignoro i cambiamenti nel sorgente SVG?",
+ "featNotSupported":"Caratteristica non supportata",
+ "enterNewImgURL":"Scrivi un nuovo URL per l'immagine",
+ "defsFailOnSave": "NOTA: A causa dlle caratteristiche del tuo browser, l'immagine potrà apparire errata (senza elementi o gradazioni) finché non sarà salvata.",
+ "loadingImage":"Sto caricando l'immagine. attendere prego...",
+ "saveFromBrowser": "Seleziona \"Salva con nome...\" nel browser per salvare l'immagine con nome %s .",
+ "noteTheseIssues": "Nota le seguenti particolarità: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ja.js b/public/svg-edit/editor/locale/lang.ja.js
index e0bde679..27c58d41 100644
--- a/public/svg-edit/editor/locale/lang.ja.js
+++ b/public/svg-edit/editor/locale/lang.ja.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "揃える"},
-{"id": "bkgnd_color", "title": "背景色/不透明度の変更"},
-{"id": "circle_cx", "title": "円の中心を変更(X座標)"},
-{"id": "circle_cy", "title": "円の中心を変更(Y座標)"},
-{"id": "circle_r", "title": "変更円の半径"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "角の半径:"},
-{"id": "cornerRadiusLabel", "title": "長方形の角の半径を変更"},
-{"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": "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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "画像の高さを変更"},
-{"id": "image_opt_embed", "textContent": "SVGファイルに埋め込む"},
-{"id": "image_opt_ref", "textContent": "画像を参照する"},
-{"id": "image_url", "title": "URLを変更"},
-{"id": "image_width", "title": "画像の幅を変更"},
-{"id": "includedImages", "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "ページ"},
-{"id": "palette", "title": "クリックで塗りの色を選択、Shift+クリックで線の色を選択"},
-{"id": "path_node_x", "title": "ノードのX座標を変更"},
-{"id": "path_node_y", "title": "ノードのY座標を変更"},
-{"id": "rect_height_tool", "title": "長方形の高さを変更"},
-{"id": "rect_width_tool", "title": "長方形の幅を変更"},
-{"id": "relativeToLabel", "textContent": "相対:"},
-{"id": "seg_type", "title": "線分の種類を変更"},
-{"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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "回転角の変更"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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": "OK"},
-{"id": "tool_ellipse", "title": "楕円"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "フリーハンド楕円"},
-{"id": "tool_fhpath", "title": "鉛筆ツール"},
-{"id": "tool_fhrect", "title": "フリーハンド長方形"},
-{"id": "tool_font_size", "title": "文字サイズの変更"},
-{"id": "tool_group", "title": "グループ化"},
-{"id": "tool_image", "title": "イメージツール"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "不透明度"},
-{"id": "tool_open", "textContent": "イメージを開く"},
-{"id": "tool_path", "title": "パスツール"},
-{"id": "tool_rect", "title": "長方形"},
-{"id": "tool_redo", "title": "やり直し"},
-{"id": "tool_reorient", "title": "現在の角度を0度とする"},
-{"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": "パスに変換"},
-{"id": "tool_undo", "title": "元に戻す"},
-{"id": "tool_ungroup", "title": "グループ化を解除"},
-{"id": "tool_wireframe", "title": "ワイヤーフレームで表示 [F]"},
-{"id": "tool_zoom", "title": "ズームツール"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "ズーム倍率の変更"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "ドラッグで幅の調整"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "ソースにエラーがあります。\n元のソースに戻しますか?",
- "QignoreSourceChanges": "ソースの変更を無視しますか?",
- "QmoveElemsToLayer": "選択した要素をレイヤー '%s' に移動しますか?",
- "QwantToClear": "キャンバスをクリアしますか?\nアンドゥ履歴も消去されます。",
- "cancel": "キャンセル",
- "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.",
- "dupeLayerName": "同名のレイヤーが既に存在します。",
- "enterNewImgURL": "画像のURLを入力してください。",
- "enterNewLayerName": "レイヤの新しい名前を入力してください。",
- "enterUniqueLayerName": "新規レイヤの一意な名前を入力してください。",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "機能はサポートされていません。",
- "invalidAttrValGiven": "無効な値が指定されています。",
- "key_backspace": "backspace",
- "key_del": "delete",
- "key_down": "down",
- "key_up": "up",
- "layer": "レイヤ",
- "layerHasThatName": "既に同名が付いています。",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "合わせる対象のコンテンツがありません。",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "カーブの形状を調整するには、制御点をドラッグしてください。",
- "pathNodeTooltip": "移動するには、ノードをドラッグしてください。ノードをダブルクリックすると線分の種類を変更できます。",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ja",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "キャンセル",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "クリックで塗りの色を選択、Shift+クリックで線の色を選択",
+ "zoom_level": "ズーム倍率の変更",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "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": "イタリック体"
+ },
+ tools: {
+ "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": "相対:",
+ "ページ": "ページ",
+ "largest_object": "最大のオブジェクト",
+ "selected_objects": "選択オブジェクト",
+ "smallest_object": "最小のオブジェクト",
+ "new_doc": "新規イメージ",
+ "open_doc": "イメージを開く",
+ "export_png": "Export as PNG",
+ "save_doc": "画像を保存",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "フリーハンド長方形",
+ "mode_ellipse": "楕円",
+ "mode_circle": "円",
+ "mode_fhellipse": "フリーハンド楕円",
+ "mode_path": "パスツール",
+ "mode_shapelib": "Shape library",
+ "mode_text": "テキストツール",
+ "mode_image": "イメージツール",
+ "mode_zoom": "ズームツール",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "元に戻す",
+ "redo": "やり直し",
+ "tool_source": "ソースの編集",
+ "wireframe_mode": "ワイヤーフレームで表示 [F]",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "グループ化",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "パスに変換",
+ "reorient_path": "現在の角度を0度とする",
+ "ungroup": "グループ化を解除",
+ "docprops": "文書のプロパティ",
+ "imagelib": "Image Library",
+ "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"
+ },
+ layers: {
+ "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": "選択対象を別のレイヤに移動"
+ },
+ config: {
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"無効な値が指定されています。",
+ "noContentToFitTo":"合わせる対象のコンテンツがありません。",
+ "dupeLayerName":"同名のレイヤーが既に存在します。",
+ "enterUniqueLayerName":"新規レイヤの一意な名前を入力してください。",
+ "enterNewLayerName":"レイヤの新しい名前を入力してください。",
+ "layerHasThatName":"既に同名が付いています。",
+ "QmoveElemsToLayer":"選択した要素をレイヤー '%s' に移動しますか?",
+ "QwantToClear":"キャンバスをクリアしますか?\nアンドゥ履歴も消去されます。",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"ソースにエラーがあります。\n元のソースに戻しますか?",
+ "QignoreSourceChanges":"ソースの変更を無視しますか?",
+ "featNotSupported":"機能はサポートされていません。",
+ "enterNewImgURL":"画像のURLを入力してください。",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ko.js b/public/svg-edit/editor/locale/lang.ko.js
index 9c4f322b..28cced19 100644
--- a/public/svg-edit/editor/locale/lang.ko.js
+++ b/public/svg-edit/editor/locale/lang.ko.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "정렬 상대적으로 ..."},
-{"id": "bkgnd_color", "title": "배경 색상 변경 / 투명도"},
-{"id": "circle_cx", "title": "변경 동그라미 CX는 좌표"},
-{"id": "circle_cy", "title": "동그라미 싸이 변경 조정할 수있어"},
-{"id": "circle_r", "title": "변경 원의 반지름"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "변경 직사각형 코너 반경"},
-{"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": "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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "URL 변경"},
-{"id": "image_width", "title": "이미지 변경 폭"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "페이지"},
-{"id": "palette", "title": "색상을 클릭, 근무 시간 채우기 스트로크 색상을 변경하려면 변경하려면"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "사각형의 높이를 변경"},
-{"id": "rect_width_tool", "title": "사각형의 너비 변경"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "회전 각도를 변경"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "자유 핸드 타원"},
-{"id": "tool_fhpath", "title": "연필 도구"},
-{"id": "tool_fhrect", "title": "자유 핸드 직사각형"},
-{"id": "tool_font_size", "title": "글꼴 크기 변경"},
-{"id": "tool_group", "title": "그룹 요소"},
-{"id": "tool_image", "title": "이미지 도구"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "변경 항목을 선택 불투명도"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "변경 수준으로 확대"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ko",
+ dir : "ltr",
+ common: {
+ "ok": "저장",
+ "cancel": "취소",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "색상을 클릭, 근무 시간 채우기 스트로크 색상을 변경하려면 변경하려면",
+ "zoom_level": "변경 수준으로 확대",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "채우기 색상 변경",
+ "stroke_color": "뇌졸중으로 색상 변경",
+ "stroke_style": "뇌졸중 변경 대시 스타일",
+ "stroke_width": "뇌졸중 너비 변경",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "동그라미 싸이 변경 조정할 수있어",
+ "circle_r": "변경 원의 반지름",
+ "ellipse_cx": "CX는 타원의 좌표 변경",
+ "ellipse_cy": "싸이 타원 변경 조정할 수있어",
+ "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": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "텍스트 변경 내용",
+ "font_family": "글꼴 변경 패밀리",
+ "font_size": "글꼴 크기 변경",
+ "bold": "굵은 텍스트",
+ "italic": "기울임꼴 텍스트"
+ },
+ tools: {
+ "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": "상대:",
+ "페이지": "페이지",
+ "largest_object": "큰 개체",
+ "selected_objects": "당선 개체",
+ "smallest_object": "작은 개체",
+ "new_doc": "새 이미지",
+ "open_doc": "오픈 이미지",
+ "export_png": "Export as PNG",
+ "save_doc": "이미지 저장",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "자유 핸드 직사각형",
+ "mode_ellipse": "타원",
+ "mode_circle": "동그라미",
+ "mode_fhellipse": "자유 핸드 타원",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "텍스트 도구",
+ "mode_image": "이미지 도구",
+ "mode_zoom": "줌 도구",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "취소",
+ "redo": "재실행",
+ "tool_source": "수정 소스",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "그룹 요소",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "그룹 해제 요소",
+ "docprops": "문서 속성",
+ "imagelib": "Image Library",
+ "move_bottom": "아래로 이동",
+ "move_top": "상단으로 이동",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.lt.js b/public/svg-edit/editor/locale/lang.lt.js
index 629bdd5f..9224941a 100644
--- a/public/svg-edit/editor/locale/lang.lt.js
+++ b/public/svg-edit/editor/locale/lang.lt.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Derinti palyginti ..."},
-{"id": "bkgnd_color", "title": "Pakeisti fono spalvą / drumstumas"},
-{"id": "circle_cx", "title": "Keisti ratas's CX koordinuoti"},
-{"id": "circle_cy", "title": "Keisti ratas's CY koordinuoti"},
-{"id": "circle_r", "title": "Keisti savo apskritimo spindulys"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Keisti stačiakampis skyrelį Spindulys"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Keisti elipse's CX koordinuoti"},
-{"id": "ellipse_cy", "title": "Keisti elipse's CY koordinuoti"},
-{"id": "ellipse_rx", "title": "Keisti elipsė "X spindulys"},
-{"id": "ellipse_ry", "title": "Keisti elipse Y spindulys"},
-{"id": "fill_color", "title": "Keisti užpildyti spalvos"},
-{"id": "fitToContent", "textContent": "Talpinti turinys"},
-{"id": "fit_to_all", "textContent": "Talpinti All content"},
-{"id": "fit_to_canvas", "textContent": "Talpinti drobė"},
-{"id": "fit_to_layer_content", "textContent": "Talpinti sluoksnis turinio"},
-{"id": "fit_to_sel", "textContent": "Talpinti atrankos"},
-{"id": "font_family", "title": "Pakeistišriftą Šeima"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Keisti vaizdo aukštis"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Pakeisti URL"},
-{"id": "image_width", "title": "Keisti paveikslėlio plotis"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "didžiausias objektas"},
-{"id": "layer_delete", "title": "Ištrinti Layer"},
-{"id": "layer_down", "title": "Perkelti sluoksnį Žemyn"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Pervadinti sluoksnį"},
-{"id": "layer_up", "title": "Perkelti sluoksnį Up"},
-{"id": "layersLabel", "textContent": "Sluoksniai:"},
-{"id": "line_x1", "title": "Keisti linijos nuo koordinačių x"},
-{"id": "line_x2", "title": "Keisti linijos baigėsi x koordinuoti"},
-{"id": "line_y1", "title": "Keisti linijos pradžios y koordinačių"},
-{"id": "line_y2", "title": "Keisti linijos baigėsi y koordinačių"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "puslapis"},
-{"id": "palette", "title": "Spustelėkite norėdami keisti užpildo spalvą, perėjimo spustelėkite pakeisti insultas spalva"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Keisti stačiakampio aukščio"},
-{"id": "rect_width_tool", "title": "Pakeisti stačiakampio plotis"},
-{"id": "relativeToLabel", "textContent": "palyginti:"},
-{"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": "Pasirinkite iš anksto:"},
-{"id": "selected_objects", "textContent": "išrinktas objektai"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "mažiausias objektą"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Keisti insultas spalva"},
-{"id": "stroke_style", "title": "Keisti insultas brūkšnys stilius"},
-{"id": "stroke_width", "title": "Keisti insultas plotis"},
-{"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": "Aukštis:"},
-{"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": "Plotis:"},
-{"id": "text", "title": "Keisti teksto turinys"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Lygiuoti apačioje"},
-{"id": "tool_aligncenter", "title": "Lygiuoti"},
-{"id": "tool_alignleft", "title": "Lygiuoti kairėje"},
-{"id": "tool_alignmiddle", "title": "Suderinti Vidurio"},
-{"id": "tool_alignright", "title": "Lygiuoti dešinėje"},
-{"id": "tool_aligntop", "title": "Lygiuoti viršų"},
-{"id": "tool_angle", "title": "Keisti sukimosi kampas"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Pusjuodis"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Klonas Element"},
-{"id": "tool_clone_multi", "title": "Klonas elementai"},
-{"id": "tool_delete", "title": "Naikinti elementą"},
-{"id": "tool_delete_multi", "title": "Pašalinti pasirinktus elementus"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Atšaukti"},
-{"id": "tool_docprops_save", "textContent": "Saugoti"},
-{"id": "tool_ellipse", "title": "Elipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free Hand Elipsė"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free Hand stačiakampis"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Elementų grupės"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursyvas"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Perkelti į apačią"},
-{"id": "tool_move_top", "title": "Perkelti į viršų"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Pakeisti pasirinkto elemento neskaidrumo"},
-{"id": "tool_open", "textContent": "Atidaryti atvaizdą"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Stačiakampis"},
-{"id": "tool_redo", "title": "Atstatyti"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Išsaugoti nuotrauką"},
-{"id": "tool_select", "title": "Įrankis"},
-{"id": "tool_source", "title": "Taisyti Šaltinis"},
-{"id": "tool_source_cancel", "textContent": "Atšaukti"},
-{"id": "tool_source_save", "textContent": "Saugoti"},
-{"id": "tool_square", "title": "Aikštė"},
-{"id": "tool_text", "title": "Tekstas Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Atšaukti"},
-{"id": "tool_ungroup", "title": "Išgrupuoti elementai"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Įrankį"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Keisti mastelį"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "lt",
+ dir : "ltr",
+ common: {
+ "ok": "Saugoti",
+ "cancel": "Atšaukti",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Spustelėkite norėdami keisti užpildo spalvą, perėjimo spustelėkite pakeisti insultas spalva",
+ "zoom_level": "Keisti mastelį",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Keisti užpildyti spalvos",
+ "stroke_color": "Keisti insultas spalva",
+ "stroke_style": "Keisti insultas brūkšnys stilius",
+ "stroke_width": "Keisti insultas plotis",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Keisti sukimosi kampas",
+ "blur": "Change gaussian blur value",
+ "opacity": "Pakeisti pasirinkto elemento neskaidrumo",
+ "circle_cx": "Keisti ratas's CX koordinuoti",
+ "circle_cy": "Keisti ratas's CY koordinuoti",
+ "circle_r": "Keisti savo apskritimo spindulys",
+ "ellipse_cx": "Keisti elipse's CX koordinuoti",
+ "ellipse_cy": "Keisti elipse's CY koordinuoti",
+ "ellipse_rx": "Keisti elipsė "X spindulys",
+ "ellipse_ry": "Keisti elipse Y spindulys",
+ "line_x1": "Keisti linijos nuo koordinačių x",
+ "line_x2": "Keisti linijos baigėsi x koordinuoti",
+ "line_y1": "Keisti linijos pradžios y koordinačių",
+ "line_y2": "Keisti linijos baigėsi y koordinačių",
+ "rect_height": "Keisti stačiakampio aukščio",
+ "rect_width": "Pakeisti stačiakampio plotis",
+ "corner_radius": "Keisti stačiakampis skyrelį Spindulys",
+ "image_width": "Keisti paveikslėlio plotis",
+ "image_height": "Keisti vaizdo aukštis",
+ "image_url": "Pakeisti URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Keisti teksto turinys",
+ "font_family": "Pakeistišriftą Šeima",
+ "font_size": "Change font size",
+ "bold": "Pusjuodis",
+ "italic": "Kursyvas"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Pakeisti fono spalvą / drumstumas",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Talpinti turinys",
+ "fit_to_all": "Talpinti All content",
+ "fit_to_canvas": "Talpinti drobė",
+ "fit_to_layer_content": "Talpinti sluoksnis turinio",
+ "fit_to_sel": "Talpinti atrankos",
+ "align_relative_to": "Derinti palyginti ...",
+ "relativeTo": "palyginti:",
+ "puslapis": "puslapis",
+ "largest_object": "didžiausias objektas",
+ "selected_objects": "išrinktas objektai",
+ "smallest_object": "mažiausias objektą",
+ "new_doc": "New Image",
+ "open_doc": "Atidaryti atvaizdą",
+ "export_png": "Export as PNG",
+ "save_doc": "Išsaugoti nuotrauką",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Lygiuoti apačioje",
+ "align_center": "Lygiuoti",
+ "align_left": "Lygiuoti kairėje",
+ "align_middle": "Suderinti Vidurio",
+ "align_right": "Lygiuoti dešinėje",
+ "align_top": "Lygiuoti viršų",
+ "mode_select": "Įrankis",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free Hand stačiakampis",
+ "mode_ellipse": "Elipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free Hand Elipsė",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekstas Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Įrankį",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Atšaukti",
+ "redo": "Atstatyti",
+ "tool_source": "Taisyti Šaltinis",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elementų grupės",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Išgrupuoti elementai",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Perkelti į apačią",
+ "move_top": "Perkelti į viršų",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Saugoti",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Ištrinti Layer",
+ "move_down": "Perkelti sluoksnį Žemyn",
+ "new": "New Layer",
+ "rename": "Pervadinti sluoksnį",
+ "move_up": "Perkelti sluoksnį Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Pasirinkite iš anksto:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.lv.js b/public/svg-edit/editor/locale/lang.lv.js
index 0445a6ef..76c7dbfd 100644
--- a/public/svg-edit/editor/locale/lang.lv.js
+++ b/public/svg-edit/editor/locale/lang.lv.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Līdzināt, salīdzinot ar ..."},
-{"id": "bkgnd_color", "title": "Change background color / necaurredzamība"},
-{"id": "circle_cx", "title": "Maina aplis's CX koordinēt"},
-{"id": "circle_cy", "title": "Pārmaiņu loks ir cy koordinēt"},
-{"id": "circle_r", "title": "Pārmaiņu loks ir rādiuss"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Maina Taisnstūris Corner Rādiuss"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Mainīt elipses's CX koordinēt"},
-{"id": "ellipse_cy", "title": "Mainīt elipses's cy koordinēt"},
-{"id": "ellipse_rx", "title": "Mainīt elipses's x rādiuss"},
-{"id": "ellipse_ry", "title": "Mainīt elipses's y rādiuss"},
-{"id": "fill_color", "title": "Change aizpildījuma krāsu"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit uz visu saturu"},
-{"id": "fit_to_canvas", "textContent": "Ievietot audekls"},
-{"id": "fit_to_layer_content", "textContent": "Ievietot slānis saturs"},
-{"id": "fit_to_sel", "textContent": "Fit atlases"},
-{"id": "font_family", "title": "Mainīt fonta Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Mainīt attēla augstums"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Mainīt attēla platumu"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "lielākais objekts"},
-{"id": "layer_delete", "title": "Dzēst Layer"},
-{"id": "layer_down", "title": "Pārvietot slāni uz leju"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Pārdēvēt Layer"},
-{"id": "layer_up", "title": "Pārvietot slāni uz augšu"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Mainīt līnijas sākas x koordinēt"},
-{"id": "line_x2", "title": "Mainīt līnijas beigu x koordinēt"},
-{"id": "line_y1", "title": "Mainīt līnijas sākas y koordinātu"},
-{"id": "line_y2", "title": "Mainīt līnijas beigu y koordinātu"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "lapa"},
-{"id": "palette", "title": "Noklikšķiniet, lai mainītu aizpildījuma krāsu, shift-click to mainīt stroke krāsa"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change Taisnstūra augstums"},
-{"id": "rect_width_tool", "title": "Change taisnstūra platums"},
-{"id": "relativeToLabel", "textContent": "salīdzinājumā ar:"},
-{"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": "Izvēlieties iepriekš:"},
-{"id": "selected_objects", "textContent": "ievēlēts objekti"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "mazākais objekts"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change stroke krāsa"},
-{"id": "stroke_style", "title": "Maina stroke domuzīme stils"},
-{"id": "stroke_width", "title": "Change stroke platums"},
-{"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": "Augstums:"},
-{"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": "Platums:"},
-{"id": "text", "title": "Mainītu teksta saturs"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Līdzināt Bottom"},
-{"id": "tool_aligncenter", "title": "Līdzināt uz centru"},
-{"id": "tool_alignleft", "title": "Līdzināt pa kreisi"},
-{"id": "tool_alignmiddle", "title": "Līdzināt Middle"},
-{"id": "tool_alignright", "title": "Līdzināt pa labi"},
-{"id": "tool_aligntop", "title": "Līdzināt Top"},
-{"id": "tool_angle", "title": "Mainīt griešanās leņķis"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Klons Element"},
-{"id": "tool_clone_multi", "title": "Klons Elements"},
-{"id": "tool_delete", "title": "Dzēst Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Atcelt"},
-{"id": "tool_docprops_save", "textContent": "Glābt"},
-{"id": "tool_ellipse", "title": "Elipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Taisnstūris"},
-{"id": "tool_font_size", "title": "Mainīt fonta izmēru"},
-{"id": "tool_group", "title": "Grupa Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursīvs"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Pārvietot uz leju"},
-{"id": "tool_move_top", "title": "Pārvietot uz augšu"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Mainīt izvēlēto objektu necaurredzamība"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path"},
-{"id": "tool_rect", "title": "Taisnstūris"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Rediģēt Source"},
-{"id": "tool_source_cancel", "textContent": "Atcelt"},
-{"id": "tool_source_save", "textContent": "Glābt"},
-{"id": "tool_square", "title": "Kvadrāts"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Atpogāt"},
-{"id": "tool_ungroup", "title": "Atgrupēt Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Pārmaiņu mērogu"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "lv",
+ dir : "ltr",
+ common: {
+ "ok": "Glābt",
+ "cancel": "Atcelt",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Noklikšķiniet, lai mainītu aizpildījuma krāsu, shift-click to mainīt stroke krāsa",
+ "zoom_level": "Pārmaiņu mērogu",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change aizpildījuma krāsu",
+ "stroke_color": "Change stroke krāsa",
+ "stroke_style": "Maina stroke domuzīme stils",
+ "stroke_width": "Change stroke platums",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Mainīt griešanās leņķis",
+ "blur": "Change gaussian blur value",
+ "opacity": "Mainīt izvēlēto objektu necaurredzamība",
+ "circle_cx": "Maina aplis's CX koordinēt",
+ "circle_cy": "Pārmaiņu loks ir cy koordinēt",
+ "circle_r": "Pārmaiņu loks ir rādiuss",
+ "ellipse_cx": "Mainīt elipses's CX koordinēt",
+ "ellipse_cy": "Mainīt elipses's cy koordinēt",
+ "ellipse_rx": "Mainīt elipses's x rādiuss",
+ "ellipse_ry": "Mainīt elipses's y rādiuss",
+ "line_x1": "Mainīt līnijas sākas x koordinēt",
+ "line_x2": "Mainīt līnijas beigu x koordinēt",
+ "line_y1": "Mainīt līnijas sākas y koordinātu",
+ "line_y2": "Mainīt līnijas beigu y koordinātu",
+ "rect_height": "Change Taisnstūra augstums",
+ "rect_width": "Change taisnstūra platums",
+ "corner_radius": "Maina Taisnstūris Corner Rādiuss",
+ "image_width": "Mainīt attēla platumu",
+ "image_height": "Mainīt attēla augstums",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Mainītu teksta saturs",
+ "font_family": "Mainīt fonta Family",
+ "font_size": "Mainīt fonta izmēru",
+ "bold": "Bold Text",
+ "italic": "Kursīvs"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color / necaurredzamība",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit uz visu saturu",
+ "fit_to_canvas": "Ievietot audekls",
+ "fit_to_layer_content": "Ievietot slānis saturs",
+ "fit_to_sel": "Fit atlases",
+ "align_relative_to": "Līdzināt, salīdzinot ar ...",
+ "relativeTo": "salīdzinājumā ar:",
+ "lapa": "lapa",
+ "largest_object": "lielākais objekts",
+ "selected_objects": "ievēlēts objekti",
+ "smallest_object": "mazākais objekts",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Līdzināt Bottom",
+ "align_center": "Līdzināt uz centru",
+ "align_left": "Līdzināt pa kreisi",
+ "align_middle": "Līdzināt Middle",
+ "align_right": "Līdzināt pa labi",
+ "align_top": "Līdzināt Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Taisnstūris",
+ "mode_ellipse": "Elipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Atpogāt",
+ "redo": "Redo",
+ "tool_source": "Rediģēt Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grupa Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Atgrupēt Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Pārvietot uz leju",
+ "move_top": "Pārvietot uz augšu",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Glābt",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Dzēst Layer",
+ "move_down": "Pārvietot slāni uz leju",
+ "new": "New Layer",
+ "rename": "Pārdēvēt Layer",
+ "move_up": "Pārvietot slāni uz augšu",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Izvēlieties iepriekš:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.mk.js b/public/svg-edit/editor/locale/lang.mk.js
index 3a8d6665..2b0812ee 100644
--- a/public/svg-edit/editor/locale/lang.mk.js
+++ b/public/svg-edit/editor/locale/lang.mk.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Порамни во поглед на ..."},
-{"id": "bkgnd_color", "title": "Смени позадина / непроѕирноста"},
-{"id": "circle_cx", "title": "Промена круг на cx координира"},
-{"id": "circle_cy", "title": "Промена круг's cy координираат"},
-{"id": "circle_r", "title": "Промена на круг со радиус"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Промена правоаголник Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Промена елипса's cx координираат"},
-{"id": "ellipse_cy", "title": "Промена на елипса cy координира"},
-{"id": "ellipse_rx", "title": "Промена на елипса x радиус"},
-{"id": "ellipse_ry", "title": "Промена на елипса у радиус"},
-{"id": "fill_color", "title": "Измени пополнете боја"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "Промена URL"},
-{"id": "image_width", "title": "Промена Ширина на сликата"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "страница"},
-{"id": "palette", "title": "Кликни за да внесете промени бојата, промена клик да се промени бојата удар"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Промена правоаголник височина"},
-{"id": "rect_width_tool", "title": "Промена правоаголник Ширина"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Центрирано"},
-{"id": "tool_alignleft", "title": "Порамни лево Порамни"},
-{"id": "tool_alignmiddle", "title": "Израмни Среден"},
-{"id": "tool_alignright", "title": "Порамни десно"},
-{"id": "tool_aligntop", "title": "Израмни почетокот"},
-{"id": "tool_angle", "title": "Change ротација агол"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Задебелен текст"},
-{"id": "tool_circle", "title": "Круг"},
-{"id": "tool_clear", "textContent": "Нови слики"},
-{"id": "tool_clone", "title": "Клон на Element"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Елипса"},
-{"id": "tool_fhpath", "title": "Алатка за молив"},
-{"id": "tool_fhrect", "title": "Правоаголник слободна рака"},
-{"id": "tool_font_size", "title": "Изменифонт Големина"},
-{"id": "tool_group", "title": "Група на елементи"},
-{"id": "tool_image", "title": "Алатка за сликата"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic текст"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to bottom"},
-{"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_opacity", "title": "Промена избрани ставка непроѕирноста"},
-{"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": "Ungroup Елементи"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Алатка за зумирање"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Промена зум ниво"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "mk",
+ dir : "ltr",
+ common: {
+ "ok": "Зачувува",
+ "cancel": "Откажи",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Кликни за да внесете промени бојата, промена клик да се промени бојата удар",
+ "zoom_level": "Промена зум ниво",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Измени пополнете боја",
+ "stroke_color": "Промена боја на мозочен удар",
+ "stroke_style": "Промена удар цртичка стил",
+ "stroke_width": "Промена удар Ширина",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change ротација агол",
+ "blur": "Change gaussian blur value",
+ "opacity": "Промена избрани ставка непроѕирноста",
+ "circle_cx": "Промена круг на cx координира",
+ "circle_cy": "Промена круг's cy координираат",
+ "circle_r": "Промена на круг со радиус",
+ "ellipse_cx": "Промена елипса's cx координираат",
+ "ellipse_cy": "Промена на елипса cy координира",
+ "ellipse_rx": "Промена на елипса x радиус",
+ "ellipse_ry": "Промена на елипса у радиус",
+ "line_x1": "Промена линија почетна x координира",
+ "line_x2": "Промена линија завршува x координира",
+ "line_y1": "Промена линија координираат почетна y",
+ "line_y2": "Промена линија завршува y координира",
+ "rect_height": "Промена правоаголник височина",
+ "rect_width": "Промена правоаголник Ширина",
+ "corner_radius": "Промена правоаголник Corner Radius",
+ "image_width": "Промена Ширина на сликата",
+ "image_height": "Промена на слика височина",
+ "image_url": "Промена URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Промена текст содржина",
+ "font_family": "Смени фонт Фамилија",
+ "font_size": "Изменифонт Големина",
+ "bold": "Задебелен текст",
+ "italic": "Italic текст"
+ },
+ tools: {
+ "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": "во поглед на:",
+ "страница": "страница",
+ "largest_object": "најголемиот објект",
+ "selected_objects": "избран објекти",
+ "smallest_object": "најмалата објект",
+ "new_doc": "Нови слики",
+ "open_doc": "Отвори слика",
+ "export_png": "Export as PNG",
+ "save_doc": "Зачувај слика",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Центрирано",
+ "align_left": "Порамни лево Порамни",
+ "align_middle": "Израмни Среден",
+ "align_right": "Порамни десно",
+ "align_top": "Израмни почетокот",
+ "mode_select": "Изберете ја алатката",
+ "mode_fhpath": "Алатка за молив",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Правоаголник слободна рака",
+ "mode_ellipse": "Елипса",
+ "mode_circle": "Круг",
+ "mode_fhellipse": "Free-Hand Елипса",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Алатка за текст",
+ "mode_image": "Алатка за сликата",
+ "mode_zoom": "Алатка за зумирање",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Врати",
+ "redo": "Повтори",
+ "tool_source": "Уреди Извор",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Група на елементи",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Елементи",
+ "docprops": "Својства на документот",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to bottom",
+ "move_top": "Поместување на почетокот",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ms.js b/public/svg-edit/editor/locale/lang.ms.js
index 2df3218f..fbdf01bb 100644
--- a/public/svg-edit/editor/locale/lang.ms.js
+++ b/public/svg-edit/editor/locale/lang.ms.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Rata relatif ..."},
-{"id": "bkgnd_color", "title": "Mengubah warna latar belakang / keburaman"},
-{"id": "circle_cx", "title": "Mengubah koordinat bulatan cx"},
-{"id": "circle_cy", "title": "Mengubah koordinat cy bulatan"},
-{"id": "circle_r", "title": "Tukar jari-jari lingkaran"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Tukar Corner Rectangle Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Tukar elips's cx koordinat"},
-{"id": "ellipse_cy", "title": "Tukar elips's cy koordinat"},
-{"id": "ellipse_rx", "title": "Tukar elips's x jari-jari"},
-{"id": "ellipse_ry", "title": "Tukar elips's y jari-jari"},
-{"id": "fill_color", "title": "Tukar Warna mengisi"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Cocok untuk semua kandungan"},
-{"id": "fit_to_canvas", "textContent": "Muat kanvas"},
-{"id": "fit_to_layer_content", "textContent": "Muat kandungan lapisan"},
-{"id": "fit_to_sel", "textContent": "Fit seleksi"},
-{"id": "font_family", "title": "Tukar Font Keluarga"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Tinggi gambar Kaca"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Tukar URL"},
-{"id": "image_width", "title": "Tukar Lebar imej"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "objek terbesar"},
-{"id": "layer_delete", "title": "Padam Layer"},
-{"id": "layer_down", "title": "Pindah Layer Bawah"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Pindah Layer Up"},
-{"id": "layersLabel", "textContent": "Lapisan:"},
-{"id": "line_x1", "title": "Ubah baris mulai x koordinat"},
-{"id": "line_x2", "title": "Ubah baris's Berakhir x koordinat"},
-{"id": "line_y1", "title": "Ubah baris mulai y koordinat"},
-{"id": "line_y2", "title": "Ubah baris di tiap akhir y koordinat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Laman"},
-{"id": "palette", "title": "Klik untuk menukar warna mengisi, shift-klik untuk menukar warna stroke"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Perubahan quality persegi panjang"},
-{"id": "rect_width_tool", "title": "Tukar persegi panjang lebar"},
-{"id": "relativeToLabel", "textContent": "relatif:"},
-{"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": "Pilih standard:"},
-{"id": "selected_objects", "textContent": "objek terpilih"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "objek terkecil"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Tukar Warna stroke"},
-{"id": "stroke_style", "title": "Tukar gaya dash stroke"},
-{"id": "stroke_width", "title": "Tukar stroke width"},
-{"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": "Ketinggian:"},
-{"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": "Lebar:"},
-{"id": "text", "title": "Tukar isi teks"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Rata Bottom"},
-{"id": "tool_aligncenter", "title": "Rata Tengah"},
-{"id": "tool_alignleft", "title": "Rata Kiri"},
-{"id": "tool_alignmiddle", "title": "Rata Tengah"},
-{"id": "tool_alignright", "title": "Rata Kanan"},
-{"id": "tool_aligntop", "title": "Rata Popular"},
-{"id": "tool_angle", "title": "Namakan sudut putaran"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Teks"},
-{"id": "tool_circle", "title": "Lingkaran"},
-{"id": "tool_clear", "textContent": "Imej Baru"},
-{"id": "tool_clone", "title": "Clone Elemen"},
-{"id": "tool_clone_multi", "title": "Clone Elemen"},
-{"id": "tool_delete", "title": "Padam Elemen"},
-{"id": "tool_delete_multi", "title": "Padam Elemen"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Batal"},
-{"id": "tool_docprops_save", "textContent": "Simpan"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Persegi Panjang"},
-{"id": "tool_font_size", "title": "Ubah Saiz Font"},
-{"id": "tool_group", "title": "Kelompok Elemen"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Teks"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Pindah ke Bawah"},
-{"id": "tool_move_top", "title": "Pindah ke Atas"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Mengubah item yang dipilih keburaman"},
-{"id": "tool_open", "textContent": "Membuka Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rectangle"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Pilih Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Batal"},
-{"id": "tool_source_save", "textContent": "Simpan"},
-{"id": "tool_square", "title": "Peti"},
-{"id": "tool_text", "title": "Teks Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Ungroup Elemen"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Mengubah peringkat pembesaran"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ms",
+ dir : "ltr",
+ common: {
+ "ok": "Simpan",
+ "cancel": "Batal",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klik untuk menukar warna mengisi, shift-klik untuk menukar warna stroke",
+ "zoom_level": "Mengubah peringkat pembesaran",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Tukar Warna mengisi",
+ "stroke_color": "Tukar Warna stroke",
+ "stroke_style": "Tukar gaya dash stroke",
+ "stroke_width": "Tukar stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Namakan sudut putaran",
+ "blur": "Change gaussian blur value",
+ "opacity": "Mengubah item yang dipilih keburaman",
+ "circle_cx": "Mengubah koordinat bulatan cx",
+ "circle_cy": "Mengubah koordinat cy bulatan",
+ "circle_r": "Tukar jari-jari lingkaran",
+ "ellipse_cx": "Tukar elips's cx koordinat",
+ "ellipse_cy": "Tukar elips's cy koordinat",
+ "ellipse_rx": "Tukar elips's x jari-jari",
+ "ellipse_ry": "Tukar elips's y jari-jari",
+ "line_x1": "Ubah baris mulai x koordinat",
+ "line_x2": "Ubah baris's Berakhir x koordinat",
+ "line_y1": "Ubah baris mulai y koordinat",
+ "line_y2": "Ubah baris di tiap akhir y koordinat",
+ "rect_height": "Perubahan quality persegi panjang",
+ "rect_width": "Tukar persegi panjang lebar",
+ "corner_radius": "Tukar Corner Rectangle Radius",
+ "image_width": "Tukar Lebar imej",
+ "image_height": "Tinggi gambar Kaca",
+ "image_url": "Tukar URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Tukar isi teks",
+ "font_family": "Tukar Font Keluarga",
+ "font_size": "Ubah Saiz Font",
+ "bold": "Bold Teks",
+ "italic": "Italic Teks"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Mengubah warna latar belakang / keburaman",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Cocok untuk semua kandungan",
+ "fit_to_canvas": "Muat kanvas",
+ "fit_to_layer_content": "Muat kandungan lapisan",
+ "fit_to_sel": "Fit seleksi",
+ "align_relative_to": "Rata relatif ...",
+ "relativeTo": "relatif:",
+ "Laman": "Laman",
+ "largest_object": "objek terbesar",
+ "selected_objects": "objek terpilih",
+ "smallest_object": "objek terkecil",
+ "new_doc": "Imej Baru",
+ "open_doc": "Membuka Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Rata Bottom",
+ "align_center": "Rata Tengah",
+ "align_left": "Rata Kiri",
+ "align_middle": "Rata Tengah",
+ "align_right": "Rata Kanan",
+ "align_top": "Rata Popular",
+ "mode_select": "Pilih Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Persegi Panjang",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Lingkaran",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Teks Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Kelompok Elemen",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elemen",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Pindah ke Bawah",
+ "move_top": "Pindah ke Atas",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Simpan",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Padam Layer",
+ "move_down": "Pindah Layer Bawah",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Pindah Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Pilih standard:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.mt.js b/public/svg-edit/editor/locale/lang.mt.js
index 29f0ed51..3ba830d8 100644
--- a/public/svg-edit/editor/locale/lang.mt.js
+++ b/public/svg-edit/editor/locale/lang.mt.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Jallinjaw relattiv għall - ..."},
-{"id": "bkgnd_color", "title": "Bidla fil-kulur fl-isfond / opaċità"},
-{"id": "circle_cx", "title": "CX ċirku Tibdil jikkoordinaw"},
-{"id": "circle_cy", "title": "Ċirku Tibdil cy jikkoordinaw"},
-{"id": "circle_r", "title": "Raġġ ta 'ċirku tal-Bidla"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Bidla Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Bidla ellissi's CX jikkoordinaw"},
-{"id": "ellipse_cy", "title": "Ellissi Tibdil cy jikkoordinaw"},
-{"id": "ellipse_rx", "title": "Raġġ x ellissi Tibdil"},
-{"id": "ellipse_ry", "title": "Raġġ y ellissi Tibdil"},
-{"id": "fill_color", "title": "Bidla imla color"},
-{"id": "fitToContent", "textContent": "Fit għall-kontenut"},
-{"id": "fit_to_all", "textContent": "Tajbin għall-kontenut"},
-{"id": "fit_to_canvas", "textContent": "Xieraq li kanvas"},
-{"id": "fit_to_layer_content", "textContent": "Fit-kontenut ta 'saff għal"},
-{"id": "fit_to_sel", "textContent": "Fit-għażla"},
-{"id": "font_family", "title": "Bidla Font Familja"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Għoli image Bidla"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Bidla URL"},
-{"id": "image_width", "title": "Wisa image Bidla"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "akbar oġġett"},
-{"id": "layer_delete", "title": "Ħassar Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Semmi mill-ġdid Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Saffi:"},
-{"id": "line_x1", "title": "Bidla fil-linja tal-bidu tikkoordina x"},
-{"id": "line_x2", "title": "Linja tal-Bidla li jispiċċa x jikkoordinaw"},
-{"id": "line_y1", "title": "Bidla fil-linja tal-bidu y jikkoordinaw"},
-{"id": "line_y2", "title": "Linja Tibdil jispiċċa y jikkoordinaw"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "paġna"},
-{"id": "palette", "title": "Ikklikkja biex timla l-bidla fil-kulur, ikklikkja-bidla għall-bidla color stroke"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Għoli rettangolu Bidla"},
-{"id": "rect_width_tool", "title": "Wisa 'rettangolu Bidla"},
-{"id": "relativeToLabel", "textContent": "relattiv għall -:"},
-{"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": "Select predefiniti:"},
-{"id": "selected_objects", "textContent": "oġġetti elett"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "iżgħar oġġett"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Color stroke Bidla"},
-{"id": "stroke_style", "title": "Bidla stroke dash stil"},
-{"id": "stroke_width", "title": "Wisa 'puplesija Bidla"},
-{"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": "Għoli:"},
-{"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": "Wisa ':"},
-{"id": "text", "title": "Test kontenut Bidla"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Tallinja Bottom"},
-{"id": "tool_aligncenter", "title": "Tallinja Center"},
-{"id": "tool_alignleft", "title": "Tallinja Left"},
-{"id": "tool_alignmiddle", "title": "Tallinja Nofsani"},
-{"id": "tool_alignright", "title": "Tallinja Dritt"},
-{"id": "tool_aligntop", "title": "Tallinja Top"},
-{"id": "tool_angle", "title": "Angolu ta 'rotazzjoni Bidla"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Test"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Image New"},
-{"id": "tool_clone", "title": "Klonu Element"},
-{"id": "tool_clone_multi", "title": "Klonu Elements"},
-{"id": "tool_delete", "title": "Ħassar Element"},
-{"id": "tool_delete_multi", "title": "Elementi Selected Ħassar"},
-{"id": "tool_docprops", "textContent": "Dokument Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Ikkanċella"},
-{"id": "tool_docprops_save", "textContent": "Save"},
-{"id": "tool_ellipse", "title": "Ellissi"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free Hand-ellissi"},
-{"id": "tool_fhpath", "title": "Lapes Tool"},
-{"id": "tool_fhrect", "title": "Free Hand-Rectangle"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Grupp Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Test korsiv"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Bidla magħżula opaċità partita"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rettangolu"},
-{"id": "tool_redo", "title": "Jerġa 'jagħmel"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Image Save"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Source Edit"},
-{"id": "tool_source_cancel", "textContent": "Ikkanċella"},
-{"id": "tool_source_save", "textContent": "Save"},
-{"id": "tool_square", "title": "Kwadru"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Jneħħu"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Bidla zoom livell"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "mt",
+ dir : "ltr",
+ common: {
+ "ok": "Save",
+ "cancel": "Ikkanċella",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Ikklikkja biex timla l-bidla fil-kulur, ikklikkja-bidla għall-bidla color stroke",
+ "zoom_level": "Bidla zoom livell",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Bidla imla color",
+ "stroke_color": "Color stroke Bidla",
+ "stroke_style": "Bidla stroke dash stil",
+ "stroke_width": "Wisa 'puplesija Bidla",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Angolu ta 'rotazzjoni Bidla",
+ "blur": "Change gaussian blur value",
+ "opacity": "Bidla magħżula opaċità partita",
+ "circle_cx": "CX ċirku Tibdil jikkoordinaw",
+ "circle_cy": "Ċirku Tibdil cy jikkoordinaw",
+ "circle_r": "Raġġ ta 'ċirku tal-Bidla",
+ "ellipse_cx": "Bidla ellissi's CX jikkoordinaw",
+ "ellipse_cy": "Ellissi Tibdil cy jikkoordinaw",
+ "ellipse_rx": "Raġġ x ellissi Tibdil",
+ "ellipse_ry": "Raġġ y ellissi Tibdil",
+ "line_x1": "Bidla fil-linja tal-bidu tikkoordina x",
+ "line_x2": "Linja tal-Bidla li jispiċċa x jikkoordinaw",
+ "line_y1": "Bidla fil-linja tal-bidu y jikkoordinaw",
+ "line_y2": "Linja Tibdil jispiċċa y jikkoordinaw",
+ "rect_height": "Għoli rettangolu Bidla",
+ "rect_width": "Wisa 'rettangolu Bidla",
+ "corner_radius": "Bidla Rectangle Corner Radius",
+ "image_width": "Wisa image Bidla",
+ "image_height": "Għoli image Bidla",
+ "image_url": "Bidla URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Test kontenut Bidla",
+ "font_family": "Bidla Font Familja",
+ "font_size": "Change font size",
+ "bold": "Bold Test",
+ "italic": "Test korsiv"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Bidla fil-kulur fl-isfond / opaċità",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit għall-kontenut",
+ "fit_to_all": "Tajbin għall-kontenut",
+ "fit_to_canvas": "Xieraq li kanvas",
+ "fit_to_layer_content": "Fit-kontenut ta 'saff għal",
+ "fit_to_sel": "Fit-għażla",
+ "align_relative_to": "Jallinjaw relattiv għall - ...",
+ "relativeTo": "relattiv għall -:",
+ "paġna": "paġna",
+ "largest_object": "akbar oġġett",
+ "selected_objects": "oġġetti elett",
+ "smallest_object": "iżgħar oġġett",
+ "new_doc": "Image New",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Image Save",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Tallinja Bottom",
+ "align_center": "Tallinja Center",
+ "align_left": "Tallinja Left",
+ "align_middle": "Tallinja Nofsani",
+ "align_right": "Tallinja Dritt",
+ "align_top": "Tallinja Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Lapes Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free Hand-Rectangle",
+ "mode_ellipse": "Ellissi",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free Hand-ellissi",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Jneħħu",
+ "redo": "Jerġa 'jagħmel",
+ "tool_source": "Source Edit",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grupp Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Dokument Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Ħassar Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Semmi mill-ġdid Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Select predefiniti:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.nl.js b/public/svg-edit/editor/locale/lang.nl.js
index 8c7cd41c..35830347 100644
--- a/public/svg-edit/editor/locale/lang.nl.js
+++ b/public/svg-edit/editor/locale/lang.nl.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Uitlijnen relatief ten opzichte van ..."},
-{"id": "bkgnd_color", "title": "Verander achtergrond kleur/doorzichtigheid"},
-{"id": "circle_cx", "title": "Verander het X coordinaat van het cirkel middelpunt"},
-{"id": "circle_cy", "title": "Verander het Y coordinaat van het cirkel middelpunt"},
-{"id": "circle_r", "title": "Verander de cirkel radius"},
-{"id": "connector_no_arrow", "textContent": "Geen pijl"},
-{"id": "copyrightLabel", "textContent": "Mogelijk gemaakt door"},
-{"id": "cornerRadiusLabel", "title": "Verander hoekradius rechthoek"},
-{"id": "curve_segments", "textContent": "Gebogen"},
-{"id": "ellipse_cx", "title": "Verander het X coordinaat van het ellips middelpunt"},
-{"id": "ellipse_cy", "title": "Verander het Y coordinaat van het ellips middelpunt"},
-{"id": "ellipse_rx", "title": "Verander ellips X radius"},
-{"id": "ellipse_ry", "title": "Verander ellips Y radius"},
-{"id": "fill_color", "title": "Verander vul kleur"},
-{"id": "fitToContent", "textContent": "Pas om inhoud"},
-{"id": "fit_to_all", "textContent": "Pas om alle inhoud"},
-{"id": "fit_to_canvas", "textContent": "Pas om canvas"},
-{"id": "fit_to_layer_content", "textContent": "Pas om laag inhoud"},
-{"id": "fit_to_sel", "textContent": "Pas om selectie"},
-{"id": "font_family", "title": "Verander lettertype"},
-{"id": "icon_large", "textContent": "Groot"},
-{"id": "icon_medium", "textContent": "Gemiddeld"},
-{"id": "icon_small", "textContent": "Klein"},
-{"id": "icon_xlarge", "textContent": "Extra groot"},
-{"id": "idLabel", "title": "Identificeer het element"},
-{"id": "image_height", "title": "Verander hoogte afbeelding"},
-{"id": "image_opt_embed", "textContent": "Toevoegen data (lokale bestanden)"},
-{"id": "image_opt_ref", "textContent": "Gebruik bestand referentie"},
-{"id": "image_url", "title": "Verander URL"},
-{"id": "image_width", "title": "Verander breedte afbeelding"},
-{"id": "includedImages", "textContent": "Ingesloten afbeeldingen"},
-{"id": "largest_object", "textContent": "Grootste object"},
-{"id": "layer_delete", "title": "Delete laag"},
-{"id": "layer_down", "title": "Beweeg laag omlaag"},
-{"id": "layer_new", "title": "Nieuwe laag"},
-{"id": "layer_rename", "title": "Hernoem laag"},
-{"id": "layer_up", "title": "Beweeg laag omhoog"},
-{"id": "layersLabel", "textContent": "Lagen:"},
-{"id": "line_x1", "title": "Verander start X coordinaat van de lijn"},
-{"id": "line_x2", "title": "Verander eind X coordinaat van de lijn"},
-{"id": "line_y1", "title": "Verander start Y coordinaat van de lijn"},
-{"id": "line_y2", "title": "Verander eind Y coordinaat van de lijn"},
-{"id": "linecap_butt", "title": "Lijneinde: Geen"},
-{"id": "linecap_round", "title": "Lijneinde: Rond"},
-{"id": "linecap_square", "title": "Lijneinde: Vierkant"},
-{"id": "linejoin_bevel", "title": "Lijnverbinding: Afgestompt"},
-{"id": "linejoin_miter", "title": "Lijnverbinding: Hoek"},
-{"id": "linejoin_round", "title": "Lijnverbinding: Rond"},
-{"id": "main_icon", "title": "Hoofdmenu"},
-{"id": "mode_connect", "title": "Verbind twee objecten"},
-{"id": "page", "textContent": "Pagina"},
-{"id": "palette", "title": "Klik om de vul kleur te veranderen, shift-klik om de lijn kleur te veranderen"},
-{"id": "path_node_x", "title": "Verander X coordinaat knooppunt"},
-{"id": "path_node_y", "title": "Verander Y coordinaat knooppunt"},
-{"id": "rect_height_tool", "title": "Verander hoogte rechthoek"},
-{"id": "rect_width_tool", "title": "Verander breedte rechthoek"},
-{"id": "relativeToLabel", "textContent": "Relatief ten opzichte van:"},
-{"id": "seg_type", "title": "Verander segment type"},
-{"id": "selLayerLabel", "textContent": "Verplaats elementen naar:"},
-{"id": "selLayerNames", "title": "Verplaats geselecteerde elementen naar andere laag"},
-{"id": "selectedPredefined", "textContent": "Kies voorgedefinieerd:"},
-{"id": "selected_objects", "textContent": "Geselecteerde objecten"},
-{"id": "selected_x", "title": "Verander X coordinaat"},
-{"id": "selected_y", "title": "Verander Y coordinaat"},
-{"id": "smallest_object", "textContent": "Kleinste object"},
-{"id": "straight_segments", "textContent": "Recht"},
-{"id": "stroke_color", "title": "Verander lijn kleur"},
-{"id": "stroke_style", "title": "Verander lijn stijl"},
-{"id": "stroke_width", "title": "Verander lijn breedte"},
-{"id": "svginfo_bg_note", "textContent": "Let op: De achtergrond wordt niet opgeslagen met de afbeelding."},
-{"id": "svginfo_change_background", "textContent": "Editor achtergrond"},
-{"id": "svginfo_dim", "textContent": "Canvas afmetingen"},
-{"id": "svginfo_editor_prefs", "textContent": "Editor eigenschappen"},
-{"id": "svginfo_height", "textContent": "Hoogte:"},
-{"id": "svginfo_icons", "textContent": "Icoon grootte"},
-{"id": "svginfo_image_props", "textContent": "Afbeeldingeigenschappen"},
-{"id": "svginfo_lang", "textContent": "Taal"},
-{"id": "svginfo_title", "textContent": "Titel"},
-{"id": "svginfo_width", "textContent": "Breedte:"},
-{"id": "text", "title": "Wijzig tekst"},
-{"id": "toggle_stroke_tools", "title": "Toon/verberg meer lijn gereedschap"},
-{"id": "tool_add_subpath", "title": "Subpad toevoegen"},
-{"id": "tool_alignbottom", "title": "Onder uitlijnen"},
-{"id": "tool_aligncenter", "title": "Centreren"},
-{"id": "tool_alignleft", "title": "Links uitlijnen"},
-{"id": "tool_alignmiddle", "title": "Midden uitlijnen"},
-{"id": "tool_alignright", "title": "Rechts uitlijnen"},
-{"id": "tool_aligntop", "title": "Boven uitlijnen"},
-{"id": "tool_angle", "title": "Draai"},
-{"id": "tool_blur", "title": "Verander Gaussische vervaging waarde"},
-{"id": "tool_bold", "title": "Vet"},
-{"id": "tool_circle", "title": "Cirkel"},
-{"id": "tool_clear", "textContent": "Nieuwe afbeelding"},
-{"id": "tool_clone", "title": "Kloon element"},
-{"id": "tool_clone_multi", "title": "Kloon elementen"},
-{"id": "tool_delete", "title": "Delete element"},
-{"id": "tool_delete_multi", "title": "Delete geselecteerde elementen"},
-{"id": "tool_docprops", "textContent": "Documenteigenschappen"},
-{"id": "tool_docprops_cancel", "textContent": "Annuleren"},
-{"id": "tool_docprops_save", "textContent": "Ok"},
-{"id": "tool_ellipse", "title": "Ellips"},
-{"id": "tool_export", "textContent": "Exporteer als PNG"},
-{"id": "tool_eyedropper", "title": "Kleuren kopieer gereedschap"},
-{"id": "tool_fhellipse", "title": "Vrije stijl ellips"},
-{"id": "tool_fhpath", "title": "Potlood"},
-{"id": "tool_fhrect", "title": "Vrije stijl rechthoek"},
-{"id": "tool_font_size", "title": "Verander lettertype grootte"},
-{"id": "tool_group", "title": "Groepeer elementen"},
-{"id": "tool_image", "title": "Afbeelding"},
-{"id": "tool_import", "textContent": "Importeer SVG"},
-{"id": "tool_italic", "title": "Cursief"},
-{"id": "tool_line", "title": "Lijn"},
-{"id": "tool_move_bottom", "title": "Naar achtergrond"},
-{"id": "tool_move_top", "title": "Naar voorgrond"},
-{"id": "tool_node_clone", "title": "Kloon knooppunt"},
-{"id": "tool_node_delete", "title": "Delete knooppunt"},
-{"id": "tool_node_link", "title": "Koppel controle punten"},
-{"id": "tool_opacity", "title": "Verander opaciteit geselecteerde item"},
-{"id": "tool_open", "textContent": "Open afbeelding"},
-{"id": "tool_openclose_path", "title": "Open/sluit subpad"},
-{"id": "tool_path", "title": "Pad"},
-{"id": "tool_position", "title": "Lijn element uit relatief ten opzichte van de pagina"},
-{"id": "tool_rect", "title": "Rechthoek"},
-{"id": "tool_redo", "title": "Opnieuw doen"},
-{"id": "tool_reorient", "title": "Herorienteer pad"},
-{"id": "tool_save", "textContent": "Afbeelding opslaan"},
-{"id": "tool_select", "title": "Selecteer"},
-{"id": "tool_source", "title": "Bewerk bron"},
-{"id": "tool_source_cancel", "textContent": "Annuleren"},
-{"id": "tool_source_save", "textContent": "Veranderingen toepassen"},
-{"id": "tool_square", "title": "Vierkant"},
-{"id": "tool_text", "title": "Tekst"},
-{"id": "tool_topath", "title": "Zet om naar pad"},
-{"id": "tool_undo", "title": "Ongedaan maken"},
-{"id": "tool_ungroup", "title": "Groepering opheffen"},
-{"id": "tool_wireframe", "title": "Draadmodel"},
-{"id": "tool_zoom", "title": "Zoom"},
-{"id": "url_notice", "title": "Let op: Dit plaatje kan niet worden geintegreerd (embeded). Het hangt af van dit pad om te worden afgebeeld."},
-{"id": "zoom_panel", "title": "In-/uitzoomen"},
-{"id": "sidepanel_handle", "textContent": "L a g e n", "title": "Sleep naar links/rechts om het zijpaneel te vergroten/verkleinen"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Er waren analyse fouten in je SVG bron.\nTeruggaan naar de originele SVG bron?",
- "QignoreSourceChanges": "Veranderingen in de SVG bron negeren?",
- "QmoveElemsToLayer": "Verplaats geselecteerde elementen naar laag '%s'?",
- "QwantToClear": "Wil je de afbeelding leeg maken?\nDit zal ook de ongedaan maak geschiedenis wissen!",
- "cancel": "Annuleren",
- "defsFailOnSave": "Let op: Vanwege een fout in je browser, kan dit plaatje verkeerd verschijnen (missende hoeken en/of elementen). Het zal goed verschijnen zodra het plaatje echt wordt opgeslagen.",
- "dupeLayerName": "Er is al een laag met die naam!",
- "enterNewImgURL": "Geef de nieuwe afbeelding URL",
- "enterNewLayerName": "Geef een nieuwe laag naam",
- "enterUniqueLayerName": "Geef een unieke laag naam",
- "exportNoBlur": "Vervaagde elementen zullen niet vervaagd worden geexporteerd.",
- "exportNoDashArray": "Lijnstijlen zullen gevuld worden geexporteerd..",
- "exportNoImage": "Plaatjes elementen zullen niet worden geexporteerd.",
- "exportNoText": "Tekst kan mogelijk niet zo worden geexporteerd zoals verwacht.",
- "exportNoforeignObject": "Vreemde objecten zullen niet worden geexporteerd.",
- "featNotSupported": "Functie wordt niet ondersteund",
- "invalidAttrValGiven": "Verkeerde waarde gegeven",
- "key_backspace": "backspace",
- "key_del": "delete",
- "key_down": "omlaag",
- "key_up": "omhoog",
- "layer": "Laag",
- "layerHasThatName": "Laag heeft al die naam",
- "loadingImage": "Laden van het plaatje, even geduld aub...",
- "noContentToFitTo": "Geen inhoud om omheen te passen",
- "noteTheseIssues": "Let op de volgende problemen: ",
- "ok": "Ok",
- "pathCtrlPtTooltip": "Versleep het controle punt om de boog eigenschappen te veranderen",
- "pathNodeTooltip": "Versleep knooppunt om hem te verslepen. Dubbel klik knooppunt om het segment type te veranderen",
- "saveFromBrowser": "Kies \"Save As...\" in je browser om dit plaatje op te slaan als een %s bestand."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "nl",
+ dir : "ltr",
+ common: {
+ "ok": "Ok",
+ "cancel": "Annuleren",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "omlaag",
+ "key_up": "omhoog",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Mogelijk gemaakt door"
+ },
+ ui: {
+ "toggle_stroke_tools": "Toon/verberg meer lijn gereedschap",
+ "palette_info": "Klik om de vul kleur te veranderen, shift-klik om de lijn kleur te veranderen",
+ "zoom_level": "In-/uitzoomen",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identificeer het element",
+ "fill_color": "Verander vul kleur",
+ "stroke_color": "Verander lijn kleur",
+ "stroke_style": "Verander lijn stijl",
+ "stroke_width": "Verander lijn breedte",
+ "pos_x": "Verander X coordinaat",
+ "pos_y": "Verander Y coordinaat",
+ "linecap_butt": "Lijneinde: Geen",
+ "linecap_round": "Lijneinde: Rond",
+ "linecap_square": "Lijneinde: Vierkant",
+ "linejoin_bevel": "Lijnverbinding: Afgestompt",
+ "linejoin_miter": "Lijnverbinding: Hoek",
+ "linejoin_round": "Lijnverbinding: Rond",
+ "angle": "Draai",
+ "blur": "Verander Gaussische vervaging waarde",
+ "opacity": "Verander opaciteit geselecteerde item",
+ "circle_cx": "Verander het X coordinaat van het cirkel middelpunt",
+ "circle_cy": "Verander het Y coordinaat van het cirkel middelpunt",
+ "circle_r": "Verander de cirkel radius",
+ "ellipse_cx": "Verander het X coordinaat van het ellips middelpunt",
+ "ellipse_cy": "Verander het Y coordinaat van het ellips middelpunt",
+ "ellipse_rx": "Verander ellips X radius",
+ "ellipse_ry": "Verander ellips Y radius",
+ "line_x1": "Verander start X coordinaat van de lijn",
+ "line_x2": "Verander eind X coordinaat van de lijn",
+ "line_y1": "Verander start Y coordinaat van de lijn",
+ "line_y2": "Verander eind Y coordinaat van de lijn",
+ "rect_height": "Verander hoogte rechthoek",
+ "rect_width": "Verander breedte rechthoek",
+ "corner_radius": "Verander hoekradius rechthoek",
+ "image_width": "Verander breedte afbeelding",
+ "image_height": "Verander hoogte afbeelding",
+ "image_url": "Verander URL",
+ "node_x": "Verander X coordinaat knooppunt",
+ "node_y": "Verander Y coordinaat knooppunt",
+ "seg_type": "Verander segment type",
+ "straight_segments": "Recht",
+ "curve_segments": "Gebogen",
+ "text_contents": "Wijzig tekst",
+ "font_family": "Verander lettertype",
+ "font_size": "Verander lettertype grootte",
+ "bold": "Vet",
+ "italic": "Cursief"
+ },
+ tools: {
+ "main_menu": "Hoofdmenu",
+ "bkgnd_color_opac": "Verander achtergrond kleur/doorzichtigheid",
+ "connector_no_arrow": "Geen pijl",
+ "fitToContent": "Pas om inhoud",
+ "fit_to_all": "Pas om alle inhoud",
+ "fit_to_canvas": "Pas om canvas",
+ "fit_to_layer_content": "Pas om laag inhoud",
+ "fit_to_sel": "Pas om selectie",
+ "align_relative_to": "Uitlijnen relatief ten opzichte van ...",
+ "relativeTo": "Relatief ten opzichte van:",
+ "Pagina": "Pagina",
+ "largest_object": "Grootste object",
+ "selected_objects": "Geselecteerde objecten",
+ "smallest_object": "Kleinste object",
+ "new_doc": "Nieuwe afbeelding",
+ "open_doc": "Open afbeelding",
+ "export_png": "Exporteer als PNG",
+ "save_doc": "Afbeelding opslaan",
+ "import_doc": "Importeer SVG",
+ "align_to_page": "Lijn element uit relatief ten opzichte van de pagina",
+ "align_bottom": "Onder uitlijnen",
+ "align_center": "Centreren",
+ "align_left": "Links uitlijnen",
+ "align_middle": "Midden uitlijnen",
+ "align_right": "Rechts uitlijnen",
+ "align_top": "Boven uitlijnen",
+ "mode_select": "Selecteer",
+ "mode_fhpath": "Potlood",
+ "mode_line": "Lijn",
+ "mode_connect": "Verbind twee objecten",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Vrije stijl rechthoek",
+ "mode_ellipse": "Ellips",
+ "mode_circle": "Cirkel",
+ "mode_fhellipse": "Vrije stijl ellips",
+ "mode_path": "Pad",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekst",
+ "mode_image": "Afbeelding",
+ "mode_zoom": "Zoom",
+ "mode_eyedropper": "Kleuren kopieer gereedschap",
+ "no_embed": "Let op: Dit plaatje kan niet worden geintegreerd (embeded). Het hangt af van dit pad om te worden afgebeeld.",
+ "undo": "Ongedaan maken",
+ "redo": "Opnieuw doen",
+ "tool_source": "Bewerk bron",
+ "wireframe_mode": "Draadmodel",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Groepeer elementen",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Zet om naar pad",
+ "reorient_path": "Herorienteer pad",
+ "ungroup": "Groepering opheffen",
+ "docprops": "Documenteigenschappen",
+ "imagelib": "Image Library",
+ "move_bottom": "Naar achtergrond",
+ "move_top": "Naar voorgrond",
+ "node_clone": "Kloon knooppunt",
+ "node_delete": "Delete knooppunt",
+ "node_link": "Koppel controle punten",
+ "add_subpath": "Subpad toevoegen",
+ "openclose_path": "Open/sluit subpad",
+ "source_save": "Veranderingen toepassen",
+ "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"
+ },
+ layers: {
+ "layer":"Laag",
+ "layers": "Layers",
+ "del": "Delete laag",
+ "move_down": "Beweeg laag omlaag",
+ "new": "Nieuwe laag",
+ "rename": "Hernoem laag",
+ "move_up": "Beweeg laag omhoog",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Verplaats elementen naar:",
+ "move_selected": "Verplaats geselecteerde elementen naar andere laag"
+ },
+ config: {
+ "image_props": "Afbeeldingeigenschappen",
+ "doc_title": "Titel",
+ "doc_dims": "Canvas afmetingen",
+ "included_images": "Ingesloten afbeeldingen",
+ "image_opt_embed": "Toevoegen data (lokale bestanden)",
+ "image_opt_ref": "Gebruik bestand referentie",
+ "editor_prefs": "Editor eigenschappen",
+ "icon_size": "Icoon grootte",
+ "language": "Taal",
+ "background": "Editor achtergrond",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Let op: De achtergrond wordt niet opgeslagen met de afbeelding.",
+ "icon_large": "Groot",
+ "icon_medium": "Gemiddeld",
+ "icon_small": "Klein",
+ "icon_xlarge": "Extra groot",
+ "select_predefined": "Kies voorgedefinieerd:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Verkeerde waarde gegeven",
+ "noContentToFitTo":"Geen inhoud om omheen te passen",
+ "dupeLayerName":"Er is al een laag met die naam!",
+ "enterUniqueLayerName":"Geef een unieke laag naam",
+ "enterNewLayerName":"Geef een nieuwe laag naam",
+ "layerHasThatName":"Laag heeft al die naam",
+ "QmoveElemsToLayer":"Verplaats geselecteerde elementen naar laag '%s'?",
+ "QwantToClear":"Wil je de afbeelding leeg maken?\nDit zal ook de ongedaan maak geschiedenis wissen!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Er waren analyse fouten in je SVG bron.\nTeruggaan naar de originele SVG bron?",
+ "QignoreSourceChanges":"Veranderingen in de SVG bron negeren?",
+ "featNotSupported":"Functie wordt niet ondersteund",
+ "enterNewImgURL":"Geef de nieuwe afbeelding URL",
+ "defsFailOnSave": "Let op: Vanwege een fout in je browser, kan dit plaatje verkeerd verschijnen (missende hoeken en/of elementen). Het zal goed verschijnen zodra het plaatje echt wordt opgeslagen.",
+ "loadingImage":"Laden van het plaatje, even geduld aub...",
+ "saveFromBrowser": "Kies \"Save As...\" in je browser om dit plaatje op te slaan als een %s bestand.",
+ "noteTheseIssues": "Let op de volgende problemen: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.no.js b/public/svg-edit/editor/locale/lang.no.js
index 3aed595d..c1f5cf04 100644
--- a/public/svg-edit/editor/locale/lang.no.js
+++ b/public/svg-edit/editor/locale/lang.no.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Juster i forhold til ..."},
-{"id": "bkgnd_color", "title": "Endre bakgrunnsfarge / opacity"},
-{"id": "circle_cx", "title": "Endre sirkelens CX koordinatsystem"},
-{"id": "circle_cy", "title": "Endre sirkelens koordinere cy"},
-{"id": "circle_r", "title": "Endre sirkelens radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Endre rektangel Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Endre ellipse's CX koordinatsystem"},
-{"id": "ellipse_cy", "title": "Endre ellipse's koordinere cy"},
-{"id": "ellipse_rx", "title": "Endre ellipse's x radius"},
-{"id": "ellipse_ry", "title": "Endre ellipse's y radius"},
-{"id": "fill_color", "title": "Endre fyllfarge"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Passer til alt innhold"},
-{"id": "fit_to_canvas", "textContent": "Tilpass til lerret"},
-{"id": "fit_to_layer_content", "textContent": "Fit to lag innhold"},
-{"id": "fit_to_sel", "textContent": "Tilpass til valg"},
-{"id": "font_family", "title": "Change Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Endre bilde høyde"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Endre URL"},
-{"id": "image_width", "title": "Endre bilde bredde"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "største objekt"},
-{"id": "layer_delete", "title": "Slett laget"},
-{"id": "layer_down", "title": "Flytt laget ned"},
-{"id": "layer_new", "title": "Nytt lag"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Flytt Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Endre linje begynner x koordinat"},
-{"id": "line_x2", "title": "Endre linje's ending x koordinat"},
-{"id": "line_y1", "title": "Endre linje begynner y koordinat"},
-{"id": "line_y2", "title": "Endre linje's ending y koordinat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "side"},
-{"id": "palette", "title": "Click å endre fyllfarge, shift-klikke for å endre slag farge"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Endre rektangel høyde"},
-{"id": "rect_width_tool", "title": "Endre rektangel bredde"},
-{"id": "relativeToLabel", "textContent": "i forhold til:"},
-{"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": "Velg forhåndsdefinerte:"},
-{"id": "selected_objects", "textContent": "velges objekter"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "minste objekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Endre stroke color"},
-{"id": "stroke_style", "title": "Endre stroke dash stil"},
-{"id": "stroke_width", "title": "Endre stroke width"},
-{"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": "Høyde:"},
-{"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": "Bredde:"},
-{"id": "text", "title": "Endre tekst innholdet"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Midtstill"},
-{"id": "tool_alignleft", "title": "Venstrejuster"},
-{"id": "tool_alignmiddle", "title": "Rett Middle"},
-{"id": "tool_alignright", "title": "Høyrejuster"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Endre rotasjonsvinkelen"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Fet tekst"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Slett element"},
-{"id": "tool_delete_multi", "title": "Slett valgte elementer [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Avbryt"},
-{"id": "tool_docprops_save", "textContent": "Lagre"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand rektangel"},
-{"id": "tool_font_size", "title": "Endre skriftstørrelse"},
-{"id": "tool_group", "title": "Gruppe Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursiv tekst"},
-{"id": "tool_line", "title": "Linjeverktøy"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Flytt til toppen"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Endre valgte elementet opasitet"},
-{"id": "tool_open", "textContent": "Åpne Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rektangel"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Lagre bilde"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Source"},
-{"id": "tool_source_cancel", "textContent": "Avbryt"},
-{"id": "tool_source_save", "textContent": "Lagre"},
-{"id": "tool_square", "title": "Torg"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Angre"},
-{"id": "tool_ungroup", "title": "Dele opp Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Endre zoomnivå"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "no",
+ dir : "ltr",
+ common: {
+ "ok": "Lagre",
+ "cancel": "Avbryt",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click å endre fyllfarge, shift-klikke for å endre slag farge",
+ "zoom_level": "Endre zoomnivå",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Endre fyllfarge",
+ "stroke_color": "Endre stroke color",
+ "stroke_style": "Endre stroke dash stil",
+ "stroke_width": "Endre stroke width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Endre rotasjonsvinkelen",
+ "blur": "Change gaussian blur value",
+ "opacity": "Endre valgte elementet opasitet",
+ "circle_cx": "Endre sirkelens CX koordinatsystem",
+ "circle_cy": "Endre sirkelens koordinere cy",
+ "circle_r": "Endre sirkelens radius",
+ "ellipse_cx": "Endre ellipse's CX koordinatsystem",
+ "ellipse_cy": "Endre ellipse's koordinere cy",
+ "ellipse_rx": "Endre ellipse's x radius",
+ "ellipse_ry": "Endre ellipse's y radius",
+ "line_x1": "Endre linje begynner x koordinat",
+ "line_x2": "Endre linje's ending x koordinat",
+ "line_y1": "Endre linje begynner y koordinat",
+ "line_y2": "Endre linje's ending y koordinat",
+ "rect_height": "Endre rektangel høyde",
+ "rect_width": "Endre rektangel bredde",
+ "corner_radius": "Endre rektangel Corner Radius",
+ "image_width": "Endre bilde bredde",
+ "image_height": "Endre bilde høyde",
+ "image_url": "Endre URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Endre tekst innholdet",
+ "font_family": "Change Font Family",
+ "font_size": "Endre skriftstørrelse",
+ "bold": "Fet tekst",
+ "italic": "Kursiv tekst"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Endre bakgrunnsfarge / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Passer til alt innhold",
+ "fit_to_canvas": "Tilpass til lerret",
+ "fit_to_layer_content": "Fit to lag innhold",
+ "fit_to_sel": "Tilpass til valg",
+ "align_relative_to": "Juster i forhold til ...",
+ "relativeTo": "i forhold til:",
+ "side": "side",
+ "largest_object": "største objekt",
+ "selected_objects": "velges objekter",
+ "smallest_object": "minste objekt",
+ "new_doc": "New Image",
+ "open_doc": "Åpne Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Lagre bilde",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Midtstill",
+ "align_left": "Venstrejuster",
+ "align_middle": "Rett Middle",
+ "align_right": "Høyrejuster",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Linjeverktøy",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand rektangel",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Angre",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Gruppe Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Dele opp Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Flytt til toppen",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Lagre",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Slett laget",
+ "move_down": "Flytt laget ned",
+ "new": "Nytt lag",
+ "rename": "Rename Layer",
+ "move_up": "Flytt Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Velg forhåndsdefinerte:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.pl.js b/public/svg-edit/editor/locale/lang.pl.js
index 88a19ce7..00b42661 100644
--- a/public/svg-edit/editor/locale/lang.pl.js
+++ b/public/svg-edit/editor/locale/lang.pl.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Dostosowanie w stosunku do ..."},
-{"id": "bkgnd_color", "title": "Zmień kolor tła / opacity"},
-{"id": "circle_cx", "title": "Zmiana koła CX koordynacji"},
-{"id": "circle_cy", "title": "Koła Zmian cy koordynacji"},
-{"id": "circle_r", "title": "Zmiana koła promienia"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Zmiana prostokąt Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Zmiana elipsy CX koordynacji"},
-{"id": "ellipse_cy", "title": "Elipsy Zmian cy koordynacji"},
-{"id": "ellipse_rx", "title": "Elipsy Zmian x promieniu"},
-{"id": "ellipse_ry", "title": "Elipsy Zmian y promieniu"},
-{"id": "fill_color", "title": "Zmiana koloru wypełnienia"},
-{"id": "fitToContent", "textContent": "Dopasuj do treści"},
-{"id": "fit_to_all", "textContent": "Dopasuj do wszystkich treści"},
-{"id": "fit_to_canvas", "textContent": "Dopasuj do płótnie"},
-{"id": "fit_to_layer_content", "textContent": "Dopasuj do zawartości warstwy"},
-{"id": "fit_to_sel", "textContent": "Dopasuj do wyboru"},
-{"id": "font_family", "title": "Zmiana czcionki Rodzina"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Wysokość obrazu zmian"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Zmień adres URL"},
-{"id": "image_width", "title": "Zmiana image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "największego obiektu"},
-{"id": "layer_delete", "title": "Usuwanie warstwy"},
-{"id": "layer_down", "title": "Przesuń warstwę w dół"},
-{"id": "layer_new", "title": "Nowa warstwa"},
-{"id": "layer_rename", "title": "Zmiana nazwy warstwy"},
-{"id": "layer_up", "title": "Move Up Layer"},
-{"id": "layersLabel", "textContent": "Warstwy:"},
-{"id": "line_x1", "title": "Zmian od linii współrzędna x"},
-{"id": "line_x2", "title": "Zgodnie Zmian kończące współrzędna x"},
-{"id": "line_y1", "title": "Line y Zmian od współrzędnych"},
-{"id": "line_y2", "title": "Zgodnie Zmian kończące y koordynowanie"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "strona"},
-{"id": "palette", "title": "Kliknij, aby zmienić kolor wypełnienia, shift kliknij, aby zmienić kolor skok"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Zmiana wysokości prostokąta"},
-{"id": "rect_width_tool", "title": "Szerokość prostokąta Zmień"},
-{"id": "relativeToLabel", "textContent": "w stosunku do:"},
-{"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": "Wybierz predefiniowanych:"},
-{"id": "selected_objects", "textContent": "wybranych obiektów"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "Najmniejszy obiekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Zmień kolor skok"},
-{"id": "stroke_style", "title": "Zmień styl skoku kreska"},
-{"id": "stroke_width", "title": "Szerokość skoku Zmień"},
-{"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": "Wysokość:"},
-{"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": "Szerokość:"},
-{"id": "text", "title": "Zmiana treści tekstu"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Wyrównaj do dołu"},
-{"id": "tool_aligncenter", "title": "Wyśrodkuj"},
-{"id": "tool_alignleft", "title": "Wyrównaj do lewej"},
-{"id": "tool_alignmiddle", "title": "Align Middle"},
-{"id": "tool_alignright", "title": "Wyrównaj do prawej"},
-{"id": "tool_aligntop", "title": "Wyrównaj do góry"},
-{"id": "tool_angle", "title": "Zmiana kąta obrotu"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Koło"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Elementy Clone"},
-{"id": "tool_delete", "title": "Usuń element"},
-{"id": "tool_delete_multi", "title": "Usun Wybrane elementy"},
-{"id": "tool_docprops", "textContent": "Właściwości dokumentu"},
-{"id": "tool_docprops_cancel", "textContent": "Anuluj"},
-{"id": "tool_docprops_save", "textContent": "Zapisać"},
-{"id": "tool_ellipse", "title": "Elipsa"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Wolny-Hand Elipsa"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Wolnej ręki prostokąt"},
-{"id": "tool_font_size", "title": "Zmień rozmiar czcionki"},
-{"id": "tool_group", "title": "Elementy Grupa"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursywa"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Przenieś do dołu"},
-{"id": "tool_move_top", "title": "Przenieś do góry"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Zmiana stron przezroczystość elementu"},
-{"id": "tool_open", "textContent": "Otwórz obraz"},
-{"id": "tool_path", "title": "Poli Tool"},
-{"id": "tool_rect", "title": "Prostokąt"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Zapisz obraz"},
-{"id": "tool_select", "title": "Wybierz narzędzie"},
-{"id": "tool_source", "title": "Edycja źródła"},
-{"id": "tool_source_cancel", "textContent": "Anuluj"},
-{"id": "tool_source_save", "textContent": "Zapisać"},
-{"id": "tool_square", "title": "Kwadrat"},
-{"id": "tool_text", "title": "Tekst Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Cofnij"},
-{"id": "tool_ungroup", "title": "Elementy Rozgrupuj"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Zmiana poziomu powiększenia"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "pl",
+ dir : "ltr",
+ common: {
+ "ok": "Zapisać",
+ "cancel": "Anuluj",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Kliknij, aby zmienić kolor wypełnienia, shift kliknij, aby zmienić kolor skok",
+ "zoom_level": "Zmiana poziomu powiększenia",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Zmiana koloru wypełnienia",
+ "stroke_color": "Zmień kolor skok",
+ "stroke_style": "Zmień styl skoku kreska",
+ "stroke_width": "Szerokość skoku Zmień",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Zmiana kąta obrotu",
+ "blur": "Change gaussian blur value",
+ "opacity": "Zmiana stron przezroczystość elementu",
+ "circle_cx": "Zmiana koła CX koordynacji",
+ "circle_cy": "Koła Zmian cy koordynacji",
+ "circle_r": "Zmiana koła promienia",
+ "ellipse_cx": "Zmiana elipsy CX koordynacji",
+ "ellipse_cy": "Elipsy Zmian cy koordynacji",
+ "ellipse_rx": "Elipsy Zmian x promieniu",
+ "ellipse_ry": "Elipsy Zmian y promieniu",
+ "line_x1": "Zmian od linii współrzędna x",
+ "line_x2": "Zgodnie Zmian kończące współrzędna x",
+ "line_y1": "Line y Zmian od współrzędnych",
+ "line_y2": "Zgodnie Zmian kończące y koordynowanie",
+ "rect_height": "Zmiana wysokości prostokąta",
+ "rect_width": "Szerokość prostokąta Zmień",
+ "corner_radius": "Zmiana prostokąt Corner Radius",
+ "image_width": "Zmiana image width",
+ "image_height": "Wysokość obrazu zmian",
+ "image_url": "Zmień adres URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Zmiana treści tekstu",
+ "font_family": "Zmiana czcionki Rodzina",
+ "font_size": "Zmień rozmiar czcionki",
+ "bold": "Bold Text",
+ "italic": "Kursywa"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Zmień kolor tła / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Dopasuj do treści",
+ "fit_to_all": "Dopasuj do wszystkich treści",
+ "fit_to_canvas": "Dopasuj do płótnie",
+ "fit_to_layer_content": "Dopasuj do zawartości warstwy",
+ "fit_to_sel": "Dopasuj do wyboru",
+ "align_relative_to": "Dostosowanie w stosunku do ...",
+ "relativeTo": "w stosunku do:",
+ "strona": "strona",
+ "largest_object": "największego obiektu",
+ "selected_objects": "wybranych obiektów",
+ "smallest_object": "Najmniejszy obiekt",
+ "new_doc": "New Image",
+ "open_doc": "Otwórz obraz",
+ "export_png": "Export as PNG",
+ "save_doc": "Zapisz obraz",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Wyrównaj do dołu",
+ "align_center": "Wyśrodkuj",
+ "align_left": "Wyrównaj do lewej",
+ "align_middle": "Align Middle",
+ "align_right": "Wyrównaj do prawej",
+ "align_top": "Wyrównaj do góry",
+ "mode_select": "Wybierz narzędzie",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Wolnej ręki prostokąt",
+ "mode_ellipse": "Elipsa",
+ "mode_circle": "Koło",
+ "mode_fhellipse": "Wolny-Hand Elipsa",
+ "mode_path": "Poli Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Tekst Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Cofnij",
+ "redo": "Redo",
+ "tool_source": "Edycja źródła",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elementy Grupa",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Elementy Rozgrupuj",
+ "docprops": "Właściwości dokumentu",
+ "imagelib": "Image Library",
+ "move_bottom": "Przenieś do dołu",
+ "move_top": "Przenieś do góry",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Zapisać",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Usuwanie warstwy",
+ "move_down": "Przesuń warstwę w dół",
+ "new": "Nowa warstwa",
+ "rename": "Zmiana nazwy warstwy",
+ "move_up": "Move Up Layer",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Wybierz predefiniowanych:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.pt-BR.js b/public/svg-edit/editor/locale/lang.pt-BR.js
index 6ae824a8..d03dff87 100644
--- a/public/svg-edit/editor/locale/lang.pt-BR.js
+++ b/public/svg-edit/editor/locale/lang.pt-BR.js
@@ -1,157 +1,234 @@
-[
-{"id":"layer_new","title":"Nova Camada"},
-{"id":"layer_delete","title":"Deletar Camada"},
-{"id":"layer_rename","title":"Renomear Camada"},
-{"id":"layer_up","title":"Camada para Cima"},
-{"id":"layer_down","title":"Camada para baixo"},
-{"id":"tool_clear","title":"Nova Imagem"},
-{"id":"tool_open","title":"Abrir Imagem"},
-{"id":"tool_save","title":"Salvar Imagem"},
-{"id":"tool_docprops","title":"Propriedades"},
-{"id":"tool_source","title":"Código"},
-{"id":"tool_undo","title":"Desfazer"},
-{"id":"tool_redo","title":"Refazer"},
-{"id":"tool_clone","title":"Duplicar Elemento"},
-{"id":"tool_delete","title":"Excluir Elemento"},
-{"id":"tool_move_top","title":"Mover para Cima"},
-{"id":"tool_move_bottom","title":"Mover para Baixo"},
-{"id":"group_opacity","title":"Mudar a opacidade"},
-{"id":"angle","title":"Ângulo de rotação"},
-{"id":"tool_clone_multi","title":"Duplicar Elementos"},
-{"id":"tool_delete_multi","title":"Eliminar Elementos"},
-{"id":"tool_alignleft","title":"Alinhar à Esquerda"},
-{"id":"tool_aligncenter","title":"Alinhar ao centro"},
-{"id":"tool_alignright","title":"Alinhar à Direita"},
-{"id":"tool_aligntop","title":"Alinhar Acima"},
-{"id":"tool_alignmiddle","title":"Alinhar no Méio"},
-{"id":"tool_alignbottom","title":"Alinhar Abaixo"},
-{"id":"align_relative_to","title":"Alinhar em relação a ..."},
-{"id":"tool_group","title":"Agrupar"},
-{"id":"tool_ungroup","title":"Desagrupar"},
-{"id":"rect_width","title":"Alterar a largura retângulo"},
-{"id":"rect_height","title":"Alterar altura do retângulo"},
-{"id":"rect_rx","title":"Radio do chanfro"},
-{"id":"image_width","title":"Alterar a largura da imagem"},
-{"id":"image_height","title":"Alterar altura da imagem"},
-{"id":"image_url","title":"Alterar caminho URL"},
-{"id":"circle_cx","title":"Ponto horizontal do centro cx"},
-{"id":"circle_cy","title":"Ponto Vertical do centro cy"},
-{"id":"circle_r","title":"Alterar raio"},
-{"id":"ellipse_cx","title":"Ponto horizontal do centro cx"},
-{"id":"ellipse_cy","title":"Ponto Vertical do centro cy"},
-{"id":"ellipse_rx","title":"Alterar raio horizontal"},
-{"id":"ellipse_ry","title":"Alterar raio vertical"},
-{"id":"line_x1","title":"Ponto horizontal do início da linha x1"},
-{"id":"line_y1","title":"Ponto vertical do início da linha y1"},
-{"id":"line_x2","title":"Ponto horizontal do fim da linha x2"},
-{"id":"line_y2","title":"Ponto vertical do fim da linha y2"},
-{"id":"tool_bold","title":"Negrito"},
-{"id":"tool_italic","title":"Itálico"},
-{"id":"font_family","title":"Fonte"},
-{"id":"font_size","title":"Alterar tamanho da fonte"},
-{"id":"text","title":"Alterar o conteúdo do texto"},
-{"id":"tool_select","title":"Seleção"},
-{"id":"tool_fhpath","title":"Lápis"},
-{"id":"tool_line","title":"Linha"},
-{"id":"tools_rect_show","title":"Quadrado / Retângulo"},
-{"id":"tools_ellipse_show","title":"Elipse / Círculo"},
-{"id":"tool_text","title":"Texto"},
-{"id":"tool_path","title":"Área"},
-{"id":"tool_image","title":"Imagem"},
-{"id":"tool_zoom","title":"Zoom"},
-{"id":"zoom","title":"Alterar o zoom"},
-{"id":"fill_color","title":"Cor do preenchimento"},
-{"id":"stroke_color","title":"Cor do contorno"},
-{"id":"stroke_width","title":"Alterar a largura do contorno"},
-{"id":"stroke_style","title":"Alterar o estilo do contorno"},
-{"id":"palette","title":"Clique para mudar a cor do preenchimento, Shift + Clique para mudar a cor do contorno"},
-{"id":"tool_square","title":"Quadrado"},
-{"id":"tool_rect","title":"Retângulo"},
-{"id":"tool_fhrect","title":"Retangulo à mão-livre"},
-{"id":"tool_circle","title":"Circle"},
-{"id":"tool_ellipse","title":"Elipse"},
-{"id":"tool_fhellipse","title":"Elipse à mão-livre"},
-{"id":"bkgnd_color","title":"Mudar a cor de fundo / opacidade"},
-{"id":"rwidthLabel","textContent":"largura:"},
-{"id":"rheightLabel","textContent":"altura:"},
-{"id":"cornerRadiusLabel","textContent":"Raio:"},
-{"id":"iwidthLabel","textContent":"largura:"},
-{"id":"iheightLabel","textContent":"altura:"},
-{"id":"svginfo_width","textContent":"Largura:"},
-{"id":"svginfo_height","textContent":"Altura:"},
-{"id":"angleLabel","textContent":"ângulo:"},
-{"id":"relativeToLabel","textContent":"em relação ao:"},
-{"id":"zoomLabel","textContent":"zoom:"},
-{"id":"layersLabel","textContent":"Camadas:"},
-{"id":"selectedPredefined","textContent":"Selecionar predefinidos:"},
-{"id":"fitToContent","textContent":"Ajustar ao conteúdo"},
-{"id":"tool_source_save","textContent":"Salvar"},
-{"id":"tool_docprops_save","textContent":"Salvar"},
-{"id":"tool_docprops_cancel","textContent":"Cancelar"},
-{"id":"tool_source_cancel","textContent":"Cancelar"},
-{"id":"fit_to_all","textContent":"Ajustar a todo o conteúdo"},
-{"id":"fit_to_layer_content","textContent":"Ajustar ao conteúdo da camada"},
-{"id":"fit_to_sel","textContent":"Ajustar à seleção"},
-{"id":"fit_to_canvas","textContent":"Ajustar à tela"},
-{"id":"selected_objects","textContent":"objetos selecionados"},
-{"id":"largest_object","textContent":"maior objeto"},
-{"id":"smallest_object","textContent":"menor objeto"},
-{"id":"page","textContent":"Página"},
-{"id":"fill_tool_bottom","textContent":"Preenchimento:"},
-{"id":"stroke_tool_bottom","textContent":"Contorno:"},
-{"id":"path_node_x","title":"Coordenada do ponto x"},
-{"id":"path_node_y","title":"Coordenada do ponto y"},
-{"id":"seg_type","title":"Mudar Tipo de segmento"},
-{"id":"straight_segments","textContent":"Reta"},
-{"id":"curve_segments","textContent":"Curva"},
-{"id":"tool_node_clone","title":"Duplicar ponto"},
-{"id":"tool_node_delete","title":"Deletar ponto"},
-{"id":"selLayerLabel","textContent":"Mover elementos para:"},
-{"id":"selLayerNames","title":"Mover elementos selecionados para outra camada"},
-{"id":"sidepanel_handle","title":"Arraste para os lados para alterar a largura","textContent":"C a m a d a s"},
-{"id":"tool_wireframe","title":"Modo Somente Contornos"},
-{"id":"svginfo_image_props","textContent":"Propriedades da Imagem"},
-{"id":"svginfo_title","textContent":"Título"},
-{"id":"svginfo_dim","textContent":"Dimensões"},
-{"id":"includedImages","textContent":"Imagens incluídas"},
-{"id":"image_opt_embed","textContent":"Embutir dados (arquivos locais)"},
-{"id":"image_opt_ref","textContent":"Usar referência a arquivo"},
-{"id":"svginfo_editor_prefs","textContent":"Preferências"},
-{"id":"svginfo_lang","textContent":"Idioma"},
-{"id":"svginfo_change_background","textContent":"Mudar fundo"},
-{"id":"svginfo_bg_note","textContent":"Aviso: Fundo não será salvo com a imagem."},
-{"id":"svginfo_icons","textContent":"Tamanho do ícone"},
-{"id":"icon_small","textContent":"Pequeno"},
-{"id":"icon_medium","textContent":"Medio"},
-{"id":"icon_large","textContent":"Grande"},
-{"id":"icon_xlarge","textContent":"Extra"},
-{"id":"selected_x","title":"Mudar coodenada x"},
-{"id":"selected_y","title":"Mudar coodenada y"},
-{"id":"tool_topath","title":"Mudar para Área"},
-{"id":"tool_reorient","title":"Reorientar Área"},
-{"id":"tool_node_link","title":"Alinhar ponto de controle da curva"},
-{"js_strings": {
- "invalidAttrValGiven":"Valor inválido",
- "noContentToFitTo":"Sem conteúdo",
- 'layer':"Camada",
- "dupeLayerName":"Já existe uma camada com esse nome",
- "enterUniqueLayerName":"Por favor, insira um nome único",
- "enterNewLayerName":"Por favor, insira o nome da nova camada",
- "layerHasThatName":"A camada já possui este nome",
- "QmoveElemsToLayer":"Mover os elementos selecionados para a camada: '%s'?",
- "QwantToClear":"Deseja apagar o desenho?\nIsso também vai limpar o histórico!",
- "QerrorsRevertToSource":"Foram encontrados erros no seu código SVG.\nVoltar para o código SVG original?",
- "QignoreSourceChanges":"Ignorar mudanças no código SVG?",
- "featNotSupported":"Recurso não suportado",
- "enterNewImgURL":"Insirao caminho URL da imagem",
- "ok":"Ok",
- "cancel":"Cancelar",
- "pathNodeTooltip":"Arraste o ponto para move-lo. \nDuplo-click para mudar o tipo de segmento (Reta / Curva)",
- "pathCtrlPtTooltip":"Arraste ponto de controle da curva para alterar suas propriedades",
- "key_up":"seta pra cima",
- "key_down":"seta pra baixo",
- "key_backspace":"backspace",
- "key_del":"delete"
+svgEditor.readLang({
+ lang: "pt-BR",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click to change fill color, shift-click to change stroke color",
+ "zoom_level": "Change zoom level",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change fill color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke dash style",
+ "stroke_width": "Change stroke width by 1, shift-click to change by 0.1",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected item opacity",
+ "circle_cx": "Change circle's cx coordinate",
+ "circle_cy": "Change circle's cy coordinate",
+ "circle_r": "Change circle's radius",
+ "ellipse_cx": "Change ellipse's cx coordinate",
+ "ellipse_cy": "Change ellipse's cy coordinate",
+ "ellipse_rx": "Change ellipse's x radius",
+ "ellipse_ry": "Change ellipse's y radius",
+ "line_x1": "Change line's starting x coordinate",
+ "line_x2": "Change line's ending x coordinate",
+ "line_y1": "Change line's starting y coordinate",
+ "line_y2": "Change line's ending y coordinate",
+ "rect_height": "Change rectangle height",
+ "rect_width": "Change rectangle width",
+ "corner_radius": "Change Rectangle Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change text contents",
+ "font_family": "Change Font Family",
+ "font_size": "Change Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color/opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit to all content",
+ "fit_to_canvas": "Fit to canvas",
+ "fit_to_layer_content": "Fit to layer content",
+ "fit_to_sel": "Fit to selection",
+ "align_relative_to": "Align relative to ...",
+ "relativeTo": "relative to:",
+ "page": "page",
+ "largest_object": "largest object",
+ "selected_objects": "selected objects",
+ "smallest_object": "smallest object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Middle",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Apply Changes",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer \"%s\"?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
}
-}
-]
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.pt-PT.js b/public/svg-edit/editor/locale/lang.pt-PT.js
index 7ac35fd4..22a21f91 100644
--- a/public/svg-edit/editor/locale/lang.pt-PT.js
+++ b/public/svg-edit/editor/locale/lang.pt-PT.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Alinhar em relação a ..."},
-{"id": "bkgnd_color", "title": "Mudar a cor de fundo / opacidade"},
-{"id": "circle_cx", "title": "Cx Mudar círculo de coordenadas"},
-{"id": "circle_cy", "title": "Círculo Mudança cy coordenar"},
-{"id": "circle_r", "title": "Alterar círculo de raio"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Alterar Corner Rectangle Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Alterar elipse cx coordenar"},
-{"id": "ellipse_cy", "title": "Elipse Mudança cy coordenar"},
-{"id": "ellipse_rx", "title": "Raio X Change elipse"},
-{"id": "ellipse_ry", "title": "Raio y Change elipse"},
-{"id": "fill_color", "title": "Alterar a cor de preenchimento"},
-{"id": "fitToContent", "textContent": "Ajustar ao conteúdo"},
-{"id": "fit_to_all", "textContent": "Ajustar a todo o conteúdo"},
-{"id": "fit_to_canvas", "textContent": "Ajustar à tela"},
-{"id": "fit_to_layer_content", "textContent": "Ajustar o conteúdo da camada de"},
-{"id": "fit_to_sel", "textContent": "Ajustar à selecção"},
-{"id": "font_family", "title": "Alterar fonte Família"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Alterar altura da imagem"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Alterar URL"},
-{"id": "image_width", "title": "Alterar a largura da imagem"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "maior objeto"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move camada para baixo"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Camadas:"},
-{"id": "line_x1", "title": "Altere a linha de partida coordenada x"},
-{"id": "line_x2", "title": "Altere a linha está terminando coordenada x"},
-{"id": "line_y1", "title": "Mudança na linha de partida coordenada y"},
-{"id": "line_y2", "title": "Mudança de linha está terminando coordenada y"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Página"},
-{"id": "palette", "title": "Clique para mudar a cor de preenchimento, shift-clique para mudar a cor do curso"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Alterar altura do retângulo"},
-{"id": "rect_width_tool", "title": "Alterar a largura retângulo"},
-{"id": "relativeToLabel", "textContent": "em relação ao:"},
-{"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": "Selecione predefinidos:"},
-{"id": "selected_objects", "textContent": "objetos eleitos"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "menor objeto"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Mudar a cor do curso"},
-{"id": "stroke_style", "title": "Alterar o estilo do traço do curso"},
-{"id": "stroke_width", "title": "Alterar a largura do curso"},
-{"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": "Altura:"},
-{"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": "Largura:"},
-{"id": "text", "title": "Alterar o conteúdo de texto"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Alinhar ao centro"},
-{"id": "tool_alignleft", "title": "Alinhar à Esquerda"},
-{"id": "tool_alignmiddle", "title": "Alinhar Médio"},
-{"id": "tool_alignright", "title": "Alinhar à Direita"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Alterar o ângulo de rotação"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Nova Imagem"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Elementos Clone"},
-{"id": "tool_delete", "title": "Excluir Elemento"},
-{"id": "tool_delete_multi", "title": "Eliminar elementos selecionados"},
-{"id": "tool_docprops", "textContent": "Propriedades do Documento"},
-{"id": "tool_docprops_cancel", "textContent": "Cancelar"},
-{"id": "tool_docprops_save", "textContent": "Salvar"},
-{"id": "tool_ellipse", "title": "Elipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Ferramenta Lápis"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Alterar tamanho de letra"},
-{"id": "tool_group", "title": "Elementos do Grupo"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Texto em itálico"},
-{"id": "tool_line", "title": "Ferramenta Linha"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Mude a opacidade item selecionado"},
-{"id": "tool_open", "textContent": "Abrir Imagem"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Retângulo"},
-{"id": "tool_redo", "title": "Refazer"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Salvar Imagem"},
-{"id": "tool_select", "title": "Selecione a ferramenta"},
-{"id": "tool_source", "title": "Fonte Editar"},
-{"id": "tool_source_cancel", "textContent": "Cancelar"},
-{"id": "tool_source_save", "textContent": "Salvar"},
-{"id": "tool_square", "title": "Quadrado"},
-{"id": "tool_text", "title": "Ferramenta de Texto"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Desfazer"},
-{"id": "tool_ungroup", "title": "Elementos Desagrupar"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Alterar o nível de zoom"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "pt-PT",
+ dir : "ltr",
+ common: {
+ "ok": "Salvar",
+ "cancel": "Cancelar",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Clique para mudar a cor de preenchimento, shift-clique para mudar a cor do curso",
+ "zoom_level": "Alterar o nível de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Alterar a cor de preenchimento",
+ "stroke_color": "Mudar a cor do curso",
+ "stroke_style": "Alterar o estilo do traço do curso",
+ "stroke_width": "Alterar a largura do curso",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Alterar o ângulo de rotação",
+ "blur": "Change gaussian blur value",
+ "opacity": "Mude a opacidade item selecionado",
+ "circle_cx": "Cx Mudar círculo de coordenadas",
+ "circle_cy": "Círculo Mudança cy coordenar",
+ "circle_r": "Alterar círculo de raio",
+ "ellipse_cx": "Alterar elipse cx coordenar",
+ "ellipse_cy": "Elipse Mudança cy coordenar",
+ "ellipse_rx": "Raio X Change elipse",
+ "ellipse_ry": "Raio y Change elipse",
+ "line_x1": "Altere a linha de partida coordenada x",
+ "line_x2": "Altere a linha está terminando coordenada x",
+ "line_y1": "Mudança na linha de partida coordenada y",
+ "line_y2": "Mudança de linha está terminando coordenada y",
+ "rect_height": "Alterar altura do retângulo",
+ "rect_width": "Alterar a largura retângulo",
+ "corner_radius": "Alterar Corner Rectangle Radius",
+ "image_width": "Alterar a largura da imagem",
+ "image_height": "Alterar altura da imagem",
+ "image_url": "Alterar URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Alterar o conteúdo de texto",
+ "font_family": "Alterar fonte Família",
+ "font_size": "Alterar tamanho de letra",
+ "bold": "Bold Text",
+ "italic": "Texto em itálico"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Mudar a cor de fundo / opacidade",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Ajustar ao conteúdo",
+ "fit_to_all": "Ajustar a todo o conteúdo",
+ "fit_to_canvas": "Ajustar à tela",
+ "fit_to_layer_content": "Ajustar o conteúdo da camada de",
+ "fit_to_sel": "Ajustar à selecção",
+ "align_relative_to": "Alinhar em relação a ...",
+ "relativeTo": "em relação ao:",
+ "Página": "Página",
+ "largest_object": "maior objeto",
+ "selected_objects": "objetos eleitos",
+ "smallest_object": "menor objeto",
+ "new_doc": "Nova Imagem",
+ "open_doc": "Abrir Imagem",
+ "export_png": "Export as PNG",
+ "save_doc": "Salvar Imagem",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Alinhar ao centro",
+ "align_left": "Alinhar à Esquerda",
+ "align_middle": "Alinhar Médio",
+ "align_right": "Alinhar à Direita",
+ "align_top": "Align Top",
+ "mode_select": "Selecione a ferramenta",
+ "mode_fhpath": "Ferramenta Lápis",
+ "mode_line": "Ferramenta Linha",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Elipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Ferramenta de Texto",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Desfazer",
+ "redo": "Refazer",
+ "tool_source": "Fonte Editar",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elementos do Grupo",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Elementos Desagrupar",
+ "docprops": "Propriedades do Documento",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Salvar",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move camada para baixo",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Selecione predefinidos:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ro.js b/public/svg-edit/editor/locale/lang.ro.js
index fedffce7..ea1e66c3 100644
--- a/public/svg-edit/editor/locale/lang.ro.js
+++ b/public/svg-edit/editor/locale/lang.ro.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Alinierea în raport cu ..."},
-{"id": "bkgnd_color", "title": "Schimbare culoare de fundal / opacitate"},
-{"id": "circle_cx", "title": "Schimbarea coordonatei CX a cercului"},
-{"id": "circle_cy", "title": "Schimbarea coordonatei CY a cercului"},
-{"id": "circle_r", "title": "Schimbarea razei cercului"},
-{"id": "connector_no_arrow", "textContent": "Fără Săgeată"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Schimbarea Razei Colţului Dreptunghiului"},
-{"id": "curve_segments", "textContent": "Curv"},
-{"id": "ellipse_cx", "title": "Schimbarea coordonatei CX a elipsei"},
-{"id": "ellipse_cy", "title": "Schimbarea coordonatei CY a elipsei"},
-{"id": "ellipse_rx", "title": "Schimbarea razei elipsei X"},
-{"id": "ellipse_ry", "title": "Schimbarea razei elipsei Y"},
-{"id": "fill_color", "title": "Schimbarea culorii de umplere"},
-{"id": "fitToContent", "textContent": "Dimensionare la Conţinut"},
-{"id": "fit_to_all", "textContent": "Potrivire la tot conţinutul"},
-{"id": "fit_to_canvas", "textContent": "Potrivire la Şevalet"},
-{"id": "fit_to_layer_content", "textContent": "Potrivire la conţinutul stratului"},
-{"id": "fit_to_sel", "textContent": "Potrivire la selecţie"},
-{"id": "font_family", "title": "Modificare familie de Fonturi"},
-{"id": "icon_large", "textContent": "Mari"},
-{"id": "icon_medium", "textContent": "Medii"},
-{"id": "icon_small", "textContent": "Mici"},
-{"id": "icon_xlarge", "textContent": "Foarte Mari"},
-{"id": "image_height", "title": "Schimbarea Înălţimii imaginii"},
-{"id": "image_opt_embed", "textContent": "Includeţi Datele (fisiere locale)"},
-{"id": "image_opt_ref", "textContent": "Foloseste referinte la fisiere"},
-{"id": "image_url", "title": "Schimbaţi URL-ul"},
-{"id": "image_width", "title": "Schimbarea Lăţimii imaginii"},
-{"id": "includedImages", "textContent": "Imaginile Incluse"},
-{"id": "largest_object", "textContent": "cel mai mare obiect"},
-{"id": "layer_delete", "title": "Ştergeţi Strat"},
-{"id": "layer_down", "title": "Mutare Strat în Jos"},
-{"id": "layer_new", "title": "Strat Nou"},
-{"id": "layer_rename", "title": "Redenumiţi Strat"},
-{"id": "layer_up", "title": "Mutare Strat în Sus"},
-{"id": "layersLabel", "textContent": "Straturi:"},
-{"id": "line_x1", "title": "Schimbare coordonatei x a punctului de start"},
-{"id": "line_x2", "title": "Schimbare coordonatei x a punctului final"},
-{"id": "line_y1", "title": "Schimbare coordonatei y a punctului de start"},
-{"id": "line_y2", "title": "Schimbare coordonatei y a punctului final"},
-{"id": "linecap_butt", "title": "Capat de linie: Butuc"},
-{"id": "linecap_round", "title": "Capat de linie: Rotund"},
-{"id": "linecap_square", "title": "Capat de linie: Patrat"},
-{"id": "linejoin_bevel", "title": "Articulatia liniei: Tesita"},
-{"id": "linejoin_miter", "title": "Articulatia liniei: Unghi ascutit"},
-{"id": "linejoin_round", "title": "Articulatia liniei: Rotunda"},
-{"id": "main_icon", "title": "Menu Principal"},
-{"id": "mode_connect", "title": "Conectati doua obiecte"},
-{"id": "page", "textContent": "de start"},
-{"id": "palette", "title": "Faceţi clic a schimba culoare de umplere, Shift-click pentru a schimba culoarea de contur"},
-{"id": "path_node_x", "title": "Schimba coordonata x a punctului"},
-{"id": "path_node_y", "title": "Schimba coordonata x a punctului"},
-{"id": "rect_height_tool", "title": "Schimbarea înălţimii dreptunghiului"},
-{"id": "rect_width_tool", "title": "Schimbarea lăţimii dreptunghiului"},
-{"id": "relativeToLabel", "textContent": "în raport cu:"},
-{"id": "seg_type", "title": "Schimba tipul de segment"},
-{"id": "selLayerLabel", "textContent": "Muta elemente la:"},
-{"id": "selLayerNames", "title": "Muta elementele selectate pe un alt strat"},
-{"id": "selectedPredefined", "textContent": "Selecţii predefinite:"},
-{"id": "selected_objects", "textContent": "obiectele alese"},
-{"id": "selected_x", "title": "Schimba coordonata X"},
-{"id": "selected_y", "title": "Schimba coordonata Y"},
-{"id": "smallest_object", "textContent": "cel mai mic obiect"},
-{"id": "straight_segments", "textContent": "Drept"},
-{"id": "stroke_color", "title": "Schimbarea culorii de contur"},
-{"id": "stroke_style", "title": "Schimbarea stilului de contur"},
-{"id": "stroke_width", "title": "Schimbarea lăţime de contur"},
-{"id": "svginfo_bg_note", "textContent": "Nota: Fondul nu va fi salvat cu imaginea."},
-{"id": "svginfo_change_background", "textContent": "Fondul Editorului"},
-{"id": "svginfo_dim", "textContent": "Dimensiunile Sevaletuui"},
-{"id": "svginfo_editor_prefs", "textContent": "Preferintele Editorului"},
-{"id": "svginfo_height", "textContent": "Înălţime:"},
-{"id": "svginfo_icons", "textContent": "Dimensiunile Butoanelor"},
-{"id": "svginfo_image_props", "textContent": "Proprietaţile Imaginii"},
-{"id": "svginfo_lang", "textContent": "Limba"},
-{"id": "svginfo_title", "textContent": "Titlul"},
-{"id": "svginfo_width", "textContent": "Lăţime:"},
-{"id": "text", "title": "Schimbarea Conţinutului textului"},
-{"id": "toggle_stroke_tools", "title": "Aratati/ascundeti mai multe unelte de contur"},
-{"id": "tool_add_subpath", "title": "Adaugati sub-traiectorie"},
-{"id": "tool_alignbottom", "title": "Alinierea jos"},
-{"id": "tool_aligncenter", "title": "Aliniere la centru"},
-{"id": "tool_alignleft", "title": "Aliniere la stânga"},
-{"id": "tool_alignmiddle", "title": "Aliniere la mijloc"},
-{"id": "tool_alignright", "title": "Aliniere la dreapta"},
-{"id": "tool_aligntop", "title": "Alinierea sus"},
-{"id": "tool_angle", "title": "Schimbarea unghiul de rotatie"},
-{"id": "tool_blur", "title": "Schimbarea valorii estomparii gaussiene"},
-{"id": "tool_bold", "title": "Text Îngroşat"},
-{"id": "tool_circle", "title": "Cerc"},
-{"id": "tool_clear", "textContent": "Imagine nouă"},
-{"id": "tool_clone", "title": "Clonare Element"},
-{"id": "tool_clone_multi", "title": "Clonare Elemente"},
-{"id": "tool_delete", "title": "Şterge Element"},
-{"id": "tool_delete_multi", "title": "Ştergeţi Elementele selectate"},
-{"id": "tool_docprops", "textContent": "Propertile Documentului"},
-{"id": "tool_docprops_cancel", "textContent": "Anulaţi"},
-{"id": "tool_docprops_save", "textContent": "Ok"},
-{"id": "tool_ellipse", "title": "Elipsă"},
-{"id": "tool_export", "textContent": "Exportare ca şi PNG"},
-{"id": "tool_eyedropper", "title": "Unealta de Eye Dropper"},
-{"id": "tool_fhellipse", "title": "Elipsă cu mana-libera"},
-{"id": "tool_fhpath", "title": "Unealta de Traiectorie"},
-{"id": "tool_fhrect", "title": "Dreptunghi cu mana-libera"},
-{"id": "tool_font_size", "title": "Schimbă dimensiunea fontului"},
-{"id": "tool_group", "title": "Grupare Elemente"},
-{"id": "tool_image", "title": "Unealta de Imagine"},
-{"id": "tool_import", "textContent": "Importare SVG"},
-{"id": "tool_italic", "title": "Text Înclinat"},
-{"id": "tool_line", "title": "Unealta de Linie"},
-{"id": "tool_move_bottom", "title": "Mutare în jos"},
-{"id": "tool_move_top", "title": "Mutare în sus"},
-{"id": "tool_node_clone", "title": "Cloneaza Punct"},
-{"id": "tool_node_delete", "title": "Sterge Punct"},
-{"id": "tool_node_link", "title": "Uneste Punctele de Control"},
-{"id": "tool_opacity", "title": "Schimbarea selectat opacitate element"},
-{"id": "tool_open", "textContent": "Imagine deschisă"},
-{"id": "tool_path", "title": "Unealta de Path"},
-{"id": "tool_rect", "title": "Dreptunghi"},
-{"id": "tool_redo", "title": "Refacere"},
-{"id": "tool_reorient", "title": "Reorienteaza Traiectoria"},
-{"id": "tool_save", "textContent": "Salvare Imagine"},
-{"id": "tool_select", "title": "Unealta de Selectare"},
-{"id": "tool_source", "title": "Editare Cod Sursa"},
-{"id": "tool_source_cancel", "textContent": "Anulaţi"},
-{"id": "tool_source_save", "textContent": "Folositi Schimbarile"},
-{"id": "tool_square", "title": "Pătrat"},
-{"id": "tool_text", "title": "Unealta de Text"},
-{"id": "tool_topath", "title": "Converteste in Traiectorie"},
-{"id": "tool_undo", "title": "Anulare"},
-{"id": "tool_ungroup", "title": "Anulare Grupare Elemente"},
-{"id": "tool_wireframe", "title": "Mod Schelet"},
-{"id": "tool_zoom", "title": "Unealta de Zoom"},
-{"id": "url_notice", "title": "NOTE: Aceasta imagine nu poate fi inglobata. Va depinde de aceasta traiectorie pentru a fi prezentata."},
-{"id": "zoom_panel", "title": "Schimbarea nivelului de zoom"},
-{"id": "sidepanel_handle", "textContent": "S t r a t u r i", "title": "Trage stanga/dreapta pentru redimensionare panou lateral"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Sunt erori de parsing in sursa SVG.\nRevenire la sursa SVG orginala?",
- "QignoreSourceChanges": "Ignorati schimbarile la sursa SVG?",
- "QmoveElemsToLayer": "Mutati elementele selectate pe stratul '%s'?",
- "QwantToClear": "Doriti sa stergeti desenul?\nAceasta va sterge si posibilitatea de anulare!",
- "cancel": "Revocare",
- "defsFailOnSave": "NOTE: Din cauza unei erori in browserul dv., aceasta imagine poate apare gresit (fara gradiente sau elemente). Insa va apare corect dupa salvare.",
- "dupeLayerName": "Deja exista un strat numis asa!",
- "enterNewImgURL": "Introduceti noul URL pentru Imagine",
- "enterNewLayerName": "Rog introduceti un nume pentru strat",
- "enterUniqueLayerName": "Rog introduceti un nume unic",
- "exportNoBlur": "Elementele estompate vor apare ne-estompate",
- "exportNoDashArray": "Contururile vor apare pline",
- "exportNoImage": "Elementele de imagine nu vor apare",
- "exportNoText": "Posibil ca textul sa nu apara conform asteptarilor",
- "exportNoforeignObject": "Elementele foreignObject nu vor apare",
- "featNotSupported": "Functie neimplementata",
- "invalidAttrValGiven": "Valoarea data nu este valida",
- "key_backspace": "backspace",
- "key_del": "stergere",
- "key_down": "jos",
- "key_up": "sus",
- "layer": "Strat",
- "layerHasThatName": "Statul deja are acest nume",
- "loadingImage": "Imaginea se incarca, va rugam asteptati...",
- "noContentToFitTo": "Fara continut de referinta",
- "noteTheseIssues": "De asemeni remarcati urmatoarele probleme: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Trage de punctul de control pt. a-i schimba proprietatile",
- "pathNodeTooltip": "Trage de punct pentru a-l muta. Dublu-clic pentru schimbarea tipului de segment",
- "saveFromBrowser": "Selecteaza \"Salvea ca si...\" in browserul dv. pt. a salva aceasta imafine ca si fisier %s."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ro",
+ dir : "ltr",
+ common: {
+ "ok": "Ok",
+ "cancel": "Anulaţi",
+ "key_backspace": "backspace",
+ "key_del": "stergere",
+ "key_down": "jos",
+ "key_up": "sus",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Aratati/ascundeti mai multe unelte de contur",
+ "palette_info": "Faceţi clic a schimba culoare de umplere, Shift-click pentru a schimba culoarea de contur",
+ "zoom_level": "Schimbarea nivelului de zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Schimbarea culorii de umplere",
+ "stroke_color": "Schimbarea culorii de contur",
+ "stroke_style": "Schimbarea stilului de contur",
+ "stroke_width": "Schimbarea lăţime de contur",
+ "pos_x": "Schimba coordonata X",
+ "pos_y": "Schimba coordonata Y",
+ "linecap_butt": "Capat de linie: Butuc",
+ "linecap_round": "Capat de linie: Rotund",
+ "linecap_square": "Capat de linie: Patrat",
+ "linejoin_bevel": "Articulatia liniei: Tesita",
+ "linejoin_miter": "Articulatia liniei: Unghi ascutit",
+ "linejoin_round": "Articulatia liniei: Rotunda",
+ "angle": "Schimbarea unghiul de rotatie",
+ "blur": "Schimbarea valorii estomparii gaussiene",
+ "opacity": "Schimbarea selectat opacitate element",
+ "circle_cx": "Schimbarea coordonatei CX a cercului",
+ "circle_cy": "Schimbarea coordonatei CY a cercului",
+ "circle_r": "Schimbarea razei cercului",
+ "ellipse_cx": "Schimbarea coordonatei CX a elipsei",
+ "ellipse_cy": "Schimbarea coordonatei CY a elipsei",
+ "ellipse_rx": "Schimbarea razei elipsei X",
+ "ellipse_ry": "Schimbarea razei elipsei Y",
+ "line_x1": "Schimbare coordonatei x a punctului de start",
+ "line_x2": "Schimbare coordonatei x a punctului final",
+ "line_y1": "Schimbare coordonatei y a punctului de start",
+ "line_y2": "Schimbare coordonatei y a punctului final",
+ "rect_height": "Schimbarea înălţimii dreptunghiului",
+ "rect_width": "Schimbarea lăţimii dreptunghiului",
+ "corner_radius": "Schimbarea Razei Colţului Dreptunghiului",
+ "image_width": "Schimbarea Lăţimii imaginii",
+ "image_height": "Schimbarea Înălţimii imaginii",
+ "image_url": "Schimbaţi URL-ul",
+ "node_x": "Schimba coordonata x a punctului",
+ "node_y": "Schimba coordonata x a punctului",
+ "seg_type": "Schimba tipul de segment",
+ "straight_segments": "Drept",
+ "curve_segments": "Curv",
+ "text_contents": "Schimbarea Conţinutului textului",
+ "font_family": "Modificare familie de Fonturi",
+ "font_size": "Schimbă dimensiunea fontului",
+ "bold": "Text Îngroşat",
+ "italic": "Text Înclinat"
+ },
+ tools: {
+ "main_menu": "Menu Principal",
+ "bkgnd_color_opac": "Schimbare culoare de fundal / opacitate",
+ "connector_no_arrow": "Fără Săgeată",
+ "fitToContent": "Dimensionare la Conţinut",
+ "fit_to_all": "Potrivire la tot conţinutul",
+ "fit_to_canvas": "Potrivire la Şevalet",
+ "fit_to_layer_content": "Potrivire la conţinutul stratului",
+ "fit_to_sel": "Potrivire la selecţie",
+ "align_relative_to": "Alinierea în raport cu ...",
+ "relativeTo": "în raport cu:",
+ "de start": "de start",
+ "largest_object": "cel mai mare obiect",
+ "selected_objects": "obiectele alese",
+ "smallest_object": "cel mai mic obiect",
+ "new_doc": "Imagine nouă",
+ "open_doc": "Imagine deschisă",
+ "export_png": "Exportare ca şi PNG",
+ "save_doc": "Salvare Imagine",
+ "import_doc": "Importare SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Alinierea jos",
+ "align_center": "Aliniere la centru",
+ "align_left": "Aliniere la stânga",
+ "align_middle": "Aliniere la mijloc",
+ "align_right": "Aliniere la dreapta",
+ "align_top": "Alinierea sus",
+ "mode_select": "Unealta de Selectare",
+ "mode_fhpath": "Unealta de Traiectorie",
+ "mode_line": "Unealta de Linie",
+ "mode_connect": "Conectati doua obiecte",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Dreptunghi cu mana-libera",
+ "mode_ellipse": "Elipsă",
+ "mode_circle": "Cerc",
+ "mode_fhellipse": "Elipsă cu mana-libera",
+ "mode_path": "Unealta de Path",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Unealta de Text",
+ "mode_image": "Unealta de Imagine",
+ "mode_zoom": "Unealta de Zoom",
+ "mode_eyedropper": "Unealta de Eye Dropper",
+ "no_embed": "NOTE: Aceasta imagine nu poate fi inglobata. Va depinde de aceasta traiectorie pentru a fi prezentata.",
+ "undo": "Anulare",
+ "redo": "Refacere",
+ "tool_source": "Editare Cod Sursa",
+ "wireframe_mode": "Mod Schelet",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grupare Elemente",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Converteste in Traiectorie",
+ "reorient_path": "Reorienteaza Traiectoria",
+ "ungroup": "Anulare Grupare Elemente",
+ "docprops": "Propertile Documentului",
+ "imagelib": "Image Library",
+ "move_bottom": "Mutare în jos",
+ "move_top": "Mutare în sus",
+ "node_clone": "Cloneaza Punct",
+ "node_delete": "Sterge Punct",
+ "node_link": "Uneste Punctele de Control",
+ "add_subpath": "Adaugati sub-traiectorie",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Folositi Schimbarile",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "stergere": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Strat",
+ "layers": "Layers",
+ "del": "Ştergeţi Strat",
+ "move_down": "Mutare Strat în Jos",
+ "new": "Strat Nou",
+ "rename": "Redenumiţi Strat",
+ "move_up": "Mutare Strat în Sus",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Muta elemente la:",
+ "move_selected": "Muta elementele selectate pe un alt strat"
+ },
+ config: {
+ "image_props": "Proprietaţile Imaginii",
+ "doc_title": "Titlul",
+ "doc_dims": "Dimensiunile Sevaletuui",
+ "included_images": "Imaginile Incluse",
+ "image_opt_embed": "Includeţi Datele (fisiere locale)",
+ "image_opt_ref": "Foloseste referinte la fisiere",
+ "editor_prefs": "Preferintele Editorului",
+ "icon_size": "Dimensiunile Butoanelor",
+ "language": "Limba",
+ "background": "Fondul Editorului",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Nota: Fondul nu va fi salvat cu imaginea.",
+ "icon_large": "Mari",
+ "icon_medium": "Medii",
+ "icon_small": "Mici",
+ "icon_xlarge": "Foarte Mari",
+ "select_predefined": "Selecţii predefinite:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Valoarea data nu este valida",
+ "noContentToFitTo":"Fara continut de referinta",
+ "dupeLayerName":"Deja exista un strat numis asa!",
+ "enterUniqueLayerName":"Rog introduceti un nume unic",
+ "enterNewLayerName":"Rog introduceti un nume pentru strat",
+ "layerHasThatName":"Statul deja are acest nume",
+ "QmoveElemsToLayer":"Mutati elementele selectate pe stratul '%s'?",
+ "QwantToClear":"Doriti sa stergeti desenul?\nAceasta va sterge si posibilitatea de anulare!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Sunt erori de parsing in sursa SVG.\nRevenire la sursa SVG orginala?",
+ "QignoreSourceChanges":"Ignorati schimbarile la sursa SVG?",
+ "featNotSupported":"Functie neimplementata",
+ "enterNewImgURL":"Introduceti noul URL pentru Imagine",
+ "defsFailOnSave": "NOTE: Din cauza unei erori in browserul dv., aceasta imagine poate apare gresit (fara gradiente sau elemente). Insa va apare corect dupa salvare.",
+ "loadingImage":"Imaginea se incarca, va rugam asteptati...",
+ "saveFromBrowser": "Selecteaza \"Salvea ca si...\" in browserul dv. pt. a salva aceasta imafine ca si fisier %s.",
+ "noteTheseIssues": "De asemeni remarcati urmatoarele probleme: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.ru.js b/public/svg-edit/editor/locale/lang.ru.js
index f5c9f214..c2d7e7d9 100644
--- a/public/svg-edit/editor/locale/lang.ru.js
+++ b/public/svg-edit/editor/locale/lang.ru.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Выровнять по отношению к ..."},
-{"id": "bkgnd_color", "title": "Изменить цвет фона или прозрачность"},
-{"id": "circle_cx", "title": "Изменить горизонтальный координат (CX) окружности"},
-{"id": "circle_cy", "title": "Изменить вертикальный координат (CY) окружности"},
-{"id": "circle_r", "title": "Изменить радиус окружности"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Изменить радиус скругления углов прямоугольника"},
-{"id": "cornerRadiusLabel", "title": "Радиус закругленности угла"},
-{"id": "curve_segments", "textContent": "Сплайн"},
-{"id": "ellipse_cx", "title": "Изменить горизонтальный координат (CX) эллипса"},
-{"id": "ellipse_cy", "title": "Изменить вертикальный координат (CY) эллипса"},
-{"id": "ellipse_rx", "title": "Изменить горизонтальный радиус эллипса"},
-{"id": "ellipse_ry", "title": "Изменить вертикальный радиус эллипса"},
-{"id": "fill_color", "title": "Изменить цвет заливки"},
-{"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": "icon_large", "textContent": "Большие"},
-{"id": "icon_medium", "textContent": "Средние"},
-{"id": "icon_small", "textContent": "Малые"},
-{"id": "icon_xlarge", "textContent": "Огромные"},
-{"id": "image_height", "title": "Изменить высоту изображения"},
-{"id": "image_opt_embed", "textContent": "Локальные файлы"},
-{"id": "image_opt_ref", "textContent": "По ссылкам"},
-{"id": "image_url", "title": "Изменить URL"},
-{"id": "image_width", "title": "Изменить ширину изображения"},
-{"id": "includedImages", "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "страница"},
-{"id": "palette", "title": "Нажмите для изменения цвета заливки, Shift-Click изменить цвета обводки"},
-{"id": "path_node_x", "title": "Изменить горизонтальную координату узла"},
-{"id": "path_node_y", "title": "Изменить вертикальную координату узла"},
-{"id": "rect_height_tool", "title": "Изменениe высоту прямоугольника"},
-{"id": "rect_width_tool", "title": "Измененить ширину прямоугольника"},
-{"id": "relativeToLabel", "textContent": "По отношению к "},
-{"id": "seg_type", "title": "Изменить вид"},
-{"id": "selLayerLabel", "textContent": "Переместить выделенные элементы:"},
-{"id": "selLayerNames", "title": "Переместить выделенные элементы на другой слой"},
-{"id": "selectedPredefined", "textContent": "Выбирать предопределенный размер"},
-{"id": "selected_objects", "textContent": "Выделенные объекты"},
-{"id": "selected_x", "title": "Изменить горизонтальный координат"},
-{"id": "selected_y", "title": "Изменить вертикальный координат"},
-{"id": "smallest_object", "textContent": "Самый маленький объект"},
-{"id": "straight_segments", "textContent": "Отрезок"},
-{"id": "stroke_color", "title": "Изменить цвет обводки"},
-{"id": "stroke_style", "title": "Изменить стиль обводки"},
-{"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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Изменить угол поворота"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Эллипс от руки"},
-{"id": "tool_fhpath", "title": "Карандаш"},
-{"id": "tool_fhrect", "title": "Прямоугольник от руки"},
-{"id": "tool_font_size", "title": "Изменить размер шрифта"},
-{"id": "tool_group", "title": "Создать группу элементов"},
-{"id": "tool_image", "title": "Изображение"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "Изменить непрозрачность элемента"},
-{"id": "tool_open", "textContent": "Открыть изображение"},
-{"id": "tool_path", "title": "Контуры"},
-{"id": "tool_rect", "title": "Прямоугольник"},
-{"id": "tool_redo", "title": "Вернуть"},
-{"id": "tool_reorient", "title": "Изменить ориентацию контура"},
-{"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": "В контур"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Изменить масштаб"},
-{"id": "sidepanel_handle", "textContent": "С л о и", "title": "Перетащить налево или направо"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Была проблема при парсинге вашего SVG исходного кода.\nЗаменить его предыдущим SVG кодом?",
- "QignoreSourceChanges": "Забыть без сохранения?",
- "QmoveElemsToLayer": "Переместить выделенные элементы на слой '%s'?",
- "QwantToClear": "Вы хотите очистить?\nИстория действий будет забыта!",
- "cancel": "Отменить",
- "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.",
- "dupeLayerName": "Слой с этим именем уже существует.",
- "enterNewImgURL": "Введите новый URL изображения",
- "enterNewLayerName": "Пожалуйста, введите новое имя.",
- "enterUniqueLayerName": "Пожалуйста, введите имя для слоя.",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "Возможность не реализована",
- "invalidAttrValGiven": "Некорректное значение аргумента",
- "key_backspace": "Backspace",
- "key_del": "Delete",
- "key_down": "Вниз",
- "key_up": "Вверх",
- "layer": "Слой",
- "layerHasThatName": "Слой уже называется этим именем.",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "Нет содержания, по которому выровнять.",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Перетащите для изменения свойвст кривой",
- "pathNodeTooltip": "Потащите узел. Чтобы изменить вид отрезка, сделайте двойной щелчок.",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "ru",
+ dir : "ltr",
+ common: {
+ "ok": "Сохранить",
+ "cancel": "Отменить",
+ "key_backspace": "Backspace",
+ "key_del": "Delete",
+ "key_down": "Вниз",
+ "key_up": "Вверх",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Нажмите для изменения цвета заливки, Shift-Click изменить цвета обводки",
+ "zoom_level": "Изменить масштаб",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Изменить цвет заливки",
+ "stroke_color": "Изменить цвет обводки",
+ "stroke_style": "Изменить стиль обводки",
+ "stroke_width": "Изменить толщину обводки",
+ "pos_x": "Изменить горизонтальный координат",
+ "pos_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": "Изменить горизонтальный координат (CX) эллипса",
+ "ellipse_cy": "Изменить вертикальный координат (CY) эллипса",
+ "ellipse_rx": "Изменить горизонтальный радиус эллипса",
+ "ellipse_ry": "Изменить вертикальный радиус эллипса",
+ "line_x1": "Изменить горизонтальный координат X начальной точки линии",
+ "line_x2": "Изменить горизонтальный координат X конечной точки линии",
+ "line_y1": "Изменить вертикальный координат Y начальной точки линии",
+ "line_y2": "Изменить вертикальный координат Y конечной точки линии",
+ "rect_height": "Изменениe высоту прямоугольника",
+ "rect_width": "Измененить ширину прямоугольника",
+ "corner_radius": "Радиус закругленности угла",
+ "image_width": "Изменить ширину изображения",
+ "image_height": "Изменить высоту изображения",
+ "image_url": "Изменить URL",
+ "node_x": "Изменить горизонтальную координату узла",
+ "node_y": "Изменить вертикальную координату узла",
+ "seg_type": "Изменить вид",
+ "straight_segments": "Отрезок",
+ "curve_segments": "Сплайн",
+ "text_contents": "Изменить содержание текста",
+ "font_family": "Изменить семейство шрифтов",
+ "font_size": "Изменить размер шрифта",
+ "bold": "Жирный",
+ "italic": "Курсив"
+ },
+ tools: {
+ "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": "По отношению к ",
+ "страница": "страница",
+ "largest_object": "Наибольший объект",
+ "selected_objects": "Выделенные объекты",
+ "smallest_object": "Самый маленький объект",
+ "new_doc": "Создать изображение",
+ "open_doc": "Открыть изображение",
+ "export_png": "Export as PNG",
+ "save_doc": "Сохранить изображение",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Прямоугольник от руки",
+ "mode_ellipse": "Эллипс",
+ "mode_circle": "Окружность",
+ "mode_fhellipse": "Эллипс от руки",
+ "mode_path": "Контуры",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Текст",
+ "mode_image": "Изображение",
+ "mode_zoom": "Лупа",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Отменить",
+ "redo": "Вернуть",
+ "tool_source": "Редактировать исходный код",
+ "wireframe_mode": "Каркас",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Создать группу элементов",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "В контур",
+ "reorient_path": "Изменить ориентацию контура",
+ "ungroup": "Разгруппировать элементы",
+ "docprops": "Свойства документа",
+ "imagelib": "Image Library",
+ "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"
+ },
+ layers: {
+ "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": "Переместить выделенные элементы на другой слой"
+ },
+ config: {
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Некорректное значение аргумента",
+ "noContentToFitTo":"Нет содержания, по которому выровнять.",
+ "dupeLayerName":"Слой с этим именем уже существует.",
+ "enterUniqueLayerName":"Пожалуйста, введите имя для слоя.",
+ "enterNewLayerName":"Пожалуйста, введите новое имя.",
+ "layerHasThatName":"Слой уже называется этим именем.",
+ "QmoveElemsToLayer":"Переместить выделенные элементы на слой '%s'?",
+ "QwantToClear":"Вы хотите очистить?\nИстория действий будет забыта!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Была проблема при парсинге вашего SVG исходного кода.\nЗаменить его предыдущим SVG кодом?",
+ "QignoreSourceChanges":"Забыть без сохранения?",
+ "featNotSupported":"Возможность не реализована",
+ "enterNewImgURL":"Введите новый URL изображения",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sk.js b/public/svg-edit/editor/locale/lang.sk.js
index e15b65c2..53bc7e50 100644
--- a/public/svg-edit/editor/locale/lang.sk.js
+++ b/public/svg-edit/editor/locale/lang.sk.js
@@ -1,176 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Zarovnať relatívne k ..."},
-{"id": "bkgnd_color", "title": "Zmeniť farbu a priehľadnosť pozadia"},
-{"id": "circle_cx", "title": "Zmeniť súradnicu X stredu kružnice"},
-{"id": "circle_cy", "title": "Zmeniť súradnicu Y stredu kružnice"},
-{"id": "circle_r", "title": "Zmeniť polomer kružnice"},
-{"id": "connector_no_arrow", "textContent": "Bez šípok"},
-{"id": "copyrightLabel", "textContent": "Beží na"},
-{"id": "cornerRadiusLabel", "title": "Zmeniť zaoblenie rohov obdĺžnika"},
-{"id": "curve_segments", "textContent": "Krivka"},
-{"id": "ellipse_cx", "title": "Zmeniť súradnicu X stredu elipsy"},
-{"id": "ellipse_cy", "title": "Zmeniť súradnicu Y stredu elipsy"},
-{"id": "ellipse_rx", "title": "Zmeniť polomer X elipsy"},
-{"id": "ellipse_ry", "title": "Zmeniť polomer Y elipsy"},
-{"id": "fill_color", "title": "Zmeniť farbu výplne"},
-{"id": "fitToContent", "textContent": "Prispôsobiť obsahu"},
-{"id": "fit_to_all", "textContent": "Prisposobiť celému obsahu"},
-{"id": "fit_to_canvas", "textContent": "Prispôsobiť stránke"},
-{"id": "fit_to_layer_content", "textContent": "Prispôsobiť obsahu vrstvy"},
-{"id": "fit_to_sel", "textContent": "Prispôsobiť výberu"},
-{"id": "font_family", "title": "Zmeniť font"},
-{"id": "icon_large", "textContent": "Veľká"},
-{"id": "icon_medium", "textContent": "Stredná"},
-{"id": "icon_small", "textContent": "Malá"},
-{"id": "icon_xlarge", "textContent": "Extra veľká"},
-{"id": "idLabel", "title": "Zmeniť ID elementu"},
-{"id": "image_height", "title": "Zmeniť výšku obrázka"},
-{"id": "image_opt_embed", "textContent": "Vložiť data (lokálne súbory)"},
-{"id": "image_opt_ref", "textContent": "Použiť referenciu na súbor"},
-{"id": "image_url", "title": "Zmeniť URL"},
-{"id": "image_width", "title": "Zmeniť šírku obrázka"},
-{"id": "includedImages", "textContent": "Vložené obrázky"},
-{"id": "largest_object", "textContent": "najväčšiemu objektu"},
-{"id": "layer_delete", "title": "Odstrániť vrstvu"},
-{"id": "layer_down", "title": "Presunúť vrstvu dole"},
-{"id": "layer_new", "title": "Nová vrstva"},
-{"id": "layer_rename", "title": "Premenovať vrstvu"},
-{"id": "layer_up", "title": "Presunúť vrstvu hore"},
-{"id": "layersLabel", "textContent": "Vrstvy:"},
-{"id": "line_x1", "title": "Zmeniť počiatočnú súradnicu X čiary"},
-{"id": "line_x2", "title": "Zmeniť koncovú súradnicu X čiary"},
-{"id": "line_y1", "title": "Zmeniť počiatočnú súradnicu Y čiary"},
-{"id": "line_y2", "title": "Zmeniť koncovú súradnicu Y čiary"},
-{"id": "linecap_butt", "title": "Koniec čiary: presný"},
-{"id": "linecap_round", "title": "Koniec čiary: zaoblený"},
-{"id": "linecap_square", "title": "Koniec čiary: so štvorcovým presahom"},
-{"id": "linejoin_bevel", "title": "Napojenie čiar: skosené"},
-{"id": "linejoin_miter", "title": "Napojenie čiar: ostré"},
-{"id": "linejoin_round", "title": "Napojenie čiar: oblé"},
-{"id": "main_icon", "title": "Hlavné menu"},
-{"id": "mode_connect", "title": "Spojiť dva objekty"},
-{"id": "page", "textContent": "stránke"},
-{"id": "palette", "title": "Kliknutím zmeníte farbu výplne, so Shiftom zmeníte farbu obrysu"},
-{"id": "path_node_x", "title": "Zmeniť uzlu súradnicu X"},
-{"id": "path_node_y", "title": "Zmeniť uzlu súradnicu Y"},
-{"id": "rect_height_tool", "title": "Zmena výšku obdĺžnika"},
-{"id": "rect_width_tool", "title": "Zmeniť šírku obdĺžnika"},
-{"id": "relativeToLabel", "textContent": "vzhľadom k:"},
-{"id": "seg_type", "title": "Zmeniť typ segmentu"},
-{"id": "selLayerLabel", "textContent": "Presunút elementy do:"},
-{"id": "selLayerNames", "title": "Presunúť vybrané elementy do inej vrstvy"},
-{"id": "selectedPredefined", "textContent": "Vybrať preddefinovaný:"},
-{"id": "selected_objects", "textContent": "zvoleným objektom"},
-{"id": "selected_x", "title": "Zmeniť súradnicu X"},
-{"id": "selected_y", "title": "Zmeniť súradnicu Y"},
-{"id": "smallest_object", "textContent": "najmenšiemu objektu"},
-{"id": "straight_segments", "textContent": "Rovný"},
-{"id": "stroke_color", "title": "Zmena farby obrysu"},
-{"id": "stroke_style", "title": "Zmeniť štýl obrysu"},
-{"id": "stroke_width", "title": "Zmeniť šírku obrysu"},
-{"id": "svginfo_bg_note", "textContent": "Poznámka: Pozadie nebude uložené spolu s obrázkom."},
-{"id": "svginfo_change_background", "textContent": "Zmeniť pozadie"},
-{"id": "svginfo_dim", "textContent": "Rozmery plátna"},
-{"id": "svginfo_editor_prefs", "textContent": "Vlastnosti editora"},
-{"id": "svginfo_height", "textContent": "Výška:"},
-{"id": "svginfo_icons", "textContent": "Veľkosť ikon"},
-{"id": "svginfo_image_props", "textContent": "Vlastnosti obrázka"},
-{"id": "svginfo_lang", "textContent": "Jazyk"},
-{"id": "svginfo_title", "textContent": "Titulok"},
-{"id": "svginfo_width", "textContent": "Šírka:"},
-{"id": "text", "title": "Změnit text"},
-{"id": "toggle_stroke_tools", "title": "Skryť/ukázať viac nástrojov pre krivku"},
-{"id": "tool_add_subpath", "title": "Pridať daľšiu súčasť krivky"},
-{"id": "tool_alignbottom", "title": "Zarovnať dole"},
-{"id": "tool_aligncenter", "title": "Zarovnať na stred"},
-{"id": "tool_alignleft", "title": "Zarovnať doľava"},
-{"id": "tool_alignmiddle", "title": "Zarovnať na stred"},
-{"id": "tool_alignright", "title": "Zarovnať doprava"},
-{"id": "tool_aligntop", "title": "Zarovnať hore"},
-{"id": "tool_angle", "title": "Zmeniť uhol natočenia"},
-{"id": "tool_blur", "title": "Zmeniť intenzitu rozmazania"},
-{"id": "tool_bold", "title": "Tučne"},
-{"id": "tool_circle", "title": "Kružnica"},
-{"id": "tool_clear", "textContent": "Nový obrázok"},
-{"id": "tool_clone", "title": "Klonovať element"},
-{"id": "tool_clone_multi", "title": "Klonovať elementy"},
-{"id": "tool_delete", "title": "Zmazať element"},
-{"id": "tool_delete_multi", "title": "Vymazať vybrané prvky [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Vlastnosti dokumentu"},
-{"id": "tool_docprops_cancel", "textContent": "Zrušiť"},
-{"id": "tool_docprops_save", "textContent": "Uložiť"},
-{"id": "tool_ellipse", "title": "Elipsa"},
-{"id": "tool_export", "textContent": "Exportovať ako PNG"},
-{"id": "tool_eyedropper", "title": "Pipeta"},
-{"id": "tool_fhellipse", "title": "Elipsa voľnou rukou"},
-{"id": "tool_fhpath", "title": "Ceruzka"},
-{"id": "tool_fhrect", "title": "Obdĺžnik voľnou rukou"},
-{"id": "tool_font_size", "title": "Zmeniť veľkosť písma"},
-{"id": "tool_group", "title": "Zoskupiť elementy"},
-{"id": "tool_image", "title": "Obrázok"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kurzíva"},
-{"id": "tool_line", "title": "Čiara"},
-{"id": "tool_move_bottom", "title": "Presunúť spodok"},
-{"id": "tool_move_top", "title": "Presunúť na vrch"},
-{"id": "tool_node_clone", "title": "Klonovať uzol"},
-{"id": "tool_node_delete", "title": "Zmazať uzol"},
-{"id": "tool_node_link", "title": "Prepojiť kontrolné body"},
-{"id": "tool_opacity", "title": "Zmeniť prehľadnosť vybraných položiek"},
-{"id": "tool_open", "textContent": "Otvoriť obrázok"},
-{"id": "tool_openclose_path", "title": "Otvoriť/uzatvoriť súčasť krivky"},
-{"id": "tool_path", "title": "Krivka"},
-{"id": "tool_position", "title": "Zarovnať element na stránku"},
-{"id": "tool_rect", "title": "Obdĺžnik"},
-{"id": "tool_redo", "title": "Opakovať"},
-{"id": "tool_reorient", "title": "Zmeniť orientáciu krivky"},
-{"id": "tool_save", "textContent": "Uložiť obrázok"},
-{"id": "tool_select", "title": "Výber"},
-{"id": "tool_source", "title": "Upraviť SVG kód"},
-{"id": "tool_source_cancel", "textContent": "Zrušiť"},
-{"id": "tool_source_save", "textContent": "Uložiť"},
-{"id": "tool_square", "title": "Štvorec"},
-{"id": "tool_text", "title": "Text"},
-{"id": "tool_topath", "title": "Previesť na krivku"},
-{"id": "tool_undo", "title": "Späť"},
-{"id": "tool_ungroup", "title": "Zrušiť skupinu"},
-{"id": "tool_wireframe", "title": "Drôtový model"},
-{"id": "tool_zoom", "title": "Priblíženie"},
-{"id": "url_notice", "title": "POZNÁMKA: Tento obrázok nemôže byť vložený. Jeho zobrazenie bude závisieť na jeho ceste"},
-{"id": "zoom_panel", "title": "Zmena priblíženia"},
-{"id": "sidepanel_handle", "textContent": "V r s t v y", "title": "Ťahajte vľavo/vpravo na zmenu veľkosti"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "Chyba pri načítaní SVG dokumentu.\nVrátiť povodný SVG dokument?",
- "QignoreSourceChanges": "Ignorovať zmeny v SVG dokumente?",
- "QmoveElemsToLayer": "Presunúť elementy do vrstvy '%s'?",
- "QwantToClear": "Naozaj chcete vymazať kresbu?\n(História bude taktiež vymazaná!)!",
- "cancel": "Zrušiť",
- "defsFailOnSave": "POZNÁMKA: Kvôli chybe v prehliadači sa tento obrázok môže zobraziť nesprávne (napr. chýbajúce prechody či elementy). Po uložení sa zobrazí správne.",
- "dupeLayerName": "Vrstva s daným názvom už existuje!",
- "enterNewImgURL": "Zadajte nové URL obrázka",
- "enterNewLayerName": "Zadajte názov vrstvy",
- "enterUniqueLayerName": "Zadajte jedinečný názov vrstvy",
- "exportNoBlur": "bez rozostrenia elementov",
- "exportNoDashArray": "plné krivky",
- "exportNoImage": "bez vložených obrázkov",
- "exportNoText": "vložený text môže vyzerať inak",
- "exportNoforeignObject": "bez foreignObject objektov",
- "featNotSupported": "Vlastnosť nie je podporovaná",
- "invalidAttrValGiven": "Neplatná hodnota",
- "key_backspace": "Backspace",
- "key_del": "Delete",
- "key_down": "šípka dole",
- "key_up": "šípka hore",
- "layer": "Vrstva",
- "layerHasThatName": "Vrstva už má zadaný názov",
- "loadingImage": "Nahrávam obrázok, prosím čakajte ...",
- "noContentToFitTo": "Vyberte oblasť na prispôsobenie",
- "noteTheseIssues": "Môžu sa vyskytnúť nasledujúce problémy: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Ťahajte kontrolné body pre upravnie vlastnosti krivky",
- "pathNodeTooltip": "Ťahajte bod na presunutie. Dvojklik na zmenu typu segmentu",
- "saveFromBrowser": "Vyberte \"Uložiť ako ...\" vo vašom prehliadači na uloženie tohoto obrázka do súboru %s."
- }
-}
-]
+svgEditor.readLang({
+ lang: "sk",
+ dir : "ltr",
+ common: {
+ "ok": "Uložiť",
+ "cancel": "Zrušiť",
+ "key_backspace": "Backspace",
+ "key_del": "Delete",
+ "key_down": "šípka dole",
+ "key_up": "šípka hore",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Beží na"
+ },
+ ui: {
+ "toggle_stroke_tools": "Skryť/ukázať viac nástrojov pre krivku",
+ "palette_info": "Kliknutím zmeníte farbu výplne, so Shiftom zmeníte farbu obrysu",
+ "zoom_level": "Zmena priblíženia",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Zmeniť ID elementu",
+ "fill_color": "Zmeniť farbu výplne",
+ "stroke_color": "Zmena farby obrysu",
+ "stroke_style": "Zmeniť štýl obrysu",
+ "stroke_width": "Zmeniť šírku obrysu",
+ "pos_x": "Zmeniť súradnicu X",
+ "pos_y": "Zmeniť súradnicu Y",
+ "linecap_butt": "Koniec čiary: presný",
+ "linecap_round": "Koniec čiary: zaoblený",
+ "linecap_square": "Koniec čiary: so štvorcovým presahom",
+ "linejoin_bevel": "Napojenie čiar: skosené",
+ "linejoin_miter": "Napojenie čiar: ostré",
+ "linejoin_round": "Napojenie čiar: oblé",
+ "angle": "Zmeniť uhol natočenia",
+ "blur": "Zmeniť intenzitu rozmazania",
+ "opacity": "Zmeniť prehľadnosť vybraných položiek",
+ "circle_cx": "Zmeniť súradnicu X stredu kružnice",
+ "circle_cy": "Zmeniť súradnicu Y stredu kružnice",
+ "circle_r": "Zmeniť polomer kružnice",
+ "ellipse_cx": "Zmeniť súradnicu X stredu elipsy",
+ "ellipse_cy": "Zmeniť súradnicu Y stredu elipsy",
+ "ellipse_rx": "Zmeniť polomer X elipsy",
+ "ellipse_ry": "Zmeniť polomer Y elipsy",
+ "line_x1": "Zmeniť počiatočnú súradnicu X čiary",
+ "line_x2": "Zmeniť koncovú súradnicu X čiary",
+ "line_y1": "Zmeniť počiatočnú súradnicu Y čiary",
+ "line_y2": "Zmeniť koncovú súradnicu Y čiary",
+ "rect_height": "Zmena výšku obdĺžnika",
+ "rect_width": "Zmeniť šírku obdĺžnika",
+ "corner_radius": "Zmeniť zaoblenie rohov obdĺžnika",
+ "image_width": "Zmeniť šírku obrázka",
+ "image_height": "Zmeniť výšku obrázka",
+ "image_url": "Zmeniť URL",
+ "node_x": "Zmeniť uzlu súradnicu X",
+ "node_y": "Zmeniť uzlu súradnicu Y",
+ "seg_type": "Zmeniť typ segmentu",
+ "straight_segments": "Rovný",
+ "curve_segments": "Krivka",
+ "text_contents": "Změnit text",
+ "font_family": "Zmeniť font",
+ "font_size": "Zmeniť veľkosť písma",
+ "bold": "Tučne",
+ "italic": "Kurzíva"
+ },
+ tools: {
+ "main_menu": "Hlavné menu",
+ "bkgnd_color_opac": "Zmeniť farbu a priehľadnosť pozadia",
+ "connector_no_arrow": "Bez šípok",
+ "fitToContent": "Prispôsobiť obsahu",
+ "fit_to_all": "Prisposobiť celému obsahu",
+ "fit_to_canvas": "Prispôsobiť stránke",
+ "fit_to_layer_content": "Prispôsobiť obsahu vrstvy",
+ "fit_to_sel": "Prispôsobiť výberu",
+ "align_relative_to": "Zarovnať relatívne k ...",
+ "relativeTo": "vzhľadom k:",
+ "stránke": "stránke",
+ "largest_object": "najväčšiemu objektu",
+ "selected_objects": "zvoleným objektom",
+ "smallest_object": "najmenšiemu objektu",
+ "new_doc": "Nový obrázok",
+ "open_doc": "Otvoriť obrázok",
+ "export_png": "Exportovať ako PNG",
+ "save_doc": "Uložiť obrázok",
+ "import_doc": "Import SVG",
+ "align_to_page": "Zarovnať element na stránku",
+ "align_bottom": "Zarovnať dole",
+ "align_center": "Zarovnať na stred",
+ "align_left": "Zarovnať doľava",
+ "align_middle": "Zarovnať na stred",
+ "align_right": "Zarovnať doprava",
+ "align_top": "Zarovnať hore",
+ "mode_select": "Výber",
+ "mode_fhpath": "Ceruzka",
+ "mode_line": "Čiara",
+ "mode_connect": "Spojiť dva objekty",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Obdĺžnik voľnou rukou",
+ "mode_ellipse": "Elipsa",
+ "mode_circle": "Kružnica",
+ "mode_fhellipse": "Elipsa voľnou rukou",
+ "mode_path": "Krivka",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text",
+ "mode_image": "Obrázok",
+ "mode_zoom": "Priblíženie",
+ "mode_eyedropper": "Pipeta",
+ "no_embed": "POZNÁMKA: Tento obrázok nemôže byť vložený. Jeho zobrazenie bude závisieť na jeho ceste",
+ "undo": "Späť",
+ "redo": "Opakovať",
+ "tool_source": "Upraviť SVG kód",
+ "wireframe_mode": "Drôtový model",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Zoskupiť elementy",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Previesť na krivku",
+ "reorient_path": "Zmeniť orientáciu krivky",
+ "ungroup": "Zrušiť skupinu",
+ "docprops": "Vlastnosti dokumentu",
+ "imagelib": "Image Library",
+ "move_bottom": "Presunúť spodok",
+ "move_top": "Presunúť na vrch",
+ "node_clone": "Klonovať uzol",
+ "node_delete": "Zmazať uzol",
+ "node_link": "Prepojiť kontrolné body",
+ "add_subpath": "Pridať daľšiu súčasť krivky",
+ "openclose_path": "Otvoriť/uzatvoriť súčasť krivky",
+ "source_save": "Uložiť",
+ "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"
+ },
+ layers: {
+ "layer":"Vrstva",
+ "layers": "Layers",
+ "del": "Odstrániť vrstvu",
+ "move_down": "Presunúť vrstvu dole",
+ "new": "Nová vrstva",
+ "rename": "Premenovať vrstvu",
+ "move_up": "Presunúť vrstvu hore",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Presunút elementy do:",
+ "move_selected": "Presunúť vybrané elementy do inej vrstvy"
+ },
+ config: {
+ "image_props": "Vlastnosti obrázka",
+ "doc_title": "Titulok",
+ "doc_dims": "Rozmery plátna",
+ "included_images": "Vložené obrázky",
+ "image_opt_embed": "Vložiť data (lokálne súbory)",
+ "image_opt_ref": "Použiť referenciu na súbor",
+ "editor_prefs": "Vlastnosti editora",
+ "icon_size": "Veľkosť ikon",
+ "language": "Jazyk",
+ "background": "Zmeniť pozadie",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Poznámka: Pozadie nebude uložené spolu s obrázkom.",
+ "icon_large": "Veľká",
+ "icon_medium": "Stredná",
+ "icon_small": "Malá",
+ "icon_xlarge": "Extra veľká",
+ "select_predefined": "Vybrať preddefinovaný:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Neplatná hodnota",
+ "noContentToFitTo":"Vyberte oblasť na prispôsobenie",
+ "dupeLayerName":"Vrstva s daným názvom už existuje!",
+ "enterUniqueLayerName":"Zadajte jedinečný názov vrstvy",
+ "enterNewLayerName":"Zadajte názov vrstvy",
+ "layerHasThatName":"Vrstva už má zadaný názov",
+ "QmoveElemsToLayer":"Presunúť elementy do vrstvy '%s'?",
+ "QwantToClear":"Naozaj chcete vymazať kresbu?\n(História bude taktiež vymazaná!)!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"Chyba pri načítaní SVG dokumentu.\nVrátiť povodný SVG dokument?",
+ "QignoreSourceChanges":"Ignorovať zmeny v SVG dokumente?",
+ "featNotSupported":"Vlastnosť nie je podporovaná",
+ "enterNewImgURL":"Zadajte nové URL obrázka",
+ "defsFailOnSave": "POZNÁMKA: Kvôli chybe v prehliadači sa tento obrázok môže zobraziť nesprávne (napr. chýbajúce prechody či elementy). Po uložení sa zobrazí správne.",
+ "loadingImage":"Nahrávam obrázok, prosím čakajte ...",
+ "saveFromBrowser": "Vyberte \"Uložiť ako ...\" vo vašom prehliadači na uloženie tohoto obrázka do súboru %s.",
+ "noteTheseIssues": "Môžu sa vyskytnúť nasledujúce problémy: ",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sl.js b/public/svg-edit/editor/locale/lang.sl.js
index 8711df28..e969a8bb 100644
--- a/public/svg-edit/editor/locale/lang.sl.js
+++ b/public/svg-edit/editor/locale/lang.sl.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Poravnaj glede na ..."},
-{"id": "bkgnd_color", "title": "Spreminjanje barve ozadja / motnosti"},
-{"id": "circle_cx", "title": "Spremeni krog's CX usklajujejo"},
-{"id": "circle_cy", "title": "Spremeni krog's cy usklajujejo"},
-{"id": "circle_r", "title": "Spremeni krogu polmera"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Spremeni Pravokotnik Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Spremeni elipse's CX usklajujejo"},
-{"id": "ellipse_cy", "title": "Spremeni elipse's cy usklajujejo"},
-{"id": "ellipse_rx", "title": "Spremeni elipse's x polmer"},
-{"id": "ellipse_ry", "title": "Spremeni elipse's y polmer"},
-{"id": "fill_color", "title": "Spremeni barvo polnila"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit na vse vsebine"},
-{"id": "fit_to_canvas", "textContent": "Fit na platno"},
-{"id": "fit_to_layer_content", "textContent": "Fit na plast vsebine"},
-{"id": "fit_to_sel", "textContent": "Fit za izbor"},
-{"id": "font_family", "title": "Change Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Spremeni Višina slike"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Spremeni URL"},
-{"id": "image_width", "title": "Spremeni Širina slike"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "Največji objekt"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Down Layer"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Up Layer"},
-{"id": "layersLabel", "textContent": "Plasti:"},
-{"id": "line_x1", "title": "Spremeni skladu z začetkom x usklajujejo"},
-{"id": "line_x2", "title": "Change line je končalo x usklajujejo"},
-{"id": "line_y1", "title": "Change line's začetkom y usklajujejo"},
-{"id": "line_y2", "title": "Change line je končalo y usklajujejo"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "page"},
-{"id": "palette", "title": "Kliknite, če želite spremeniti barvo polnila, premik miške kliknite spremeniti barvo kap"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Spremeni pravokotniku višine"},
-{"id": "rect_width_tool", "title": "Spremeni pravokotnik širine"},
-{"id": "relativeToLabel", "textContent": "glede na:"},
-{"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": "Select vnaprej:"},
-{"id": "selected_objects", "textContent": "izvoljeni predmeti"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "najmanjša objekt"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Spremeni barvo kap"},
-{"id": "stroke_style", "title": "Spremeni kap dash slog"},
-{"id": "stroke_width", "title": "Spreminjanje širine kap"},
-{"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": "Višina:"},
-{"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": "Širina:"},
-{"id": "text", "title": "Spremeni besedilo vsebino"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Sredino"},
-{"id": "tool_alignleft", "title": "Poravnaj levo"},
-{"id": "tool_alignmiddle", "title": "Poravnava Middle"},
-{"id": "tool_alignright", "title": "Poravnaj desno"},
-{"id": "tool_aligntop", "title": "Poravnava Top"},
-{"id": "tool_angle", "title": "Sprememba kota rotacije"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Izbriši element"},
-{"id": "tool_delete_multi", "title": "Brisanje izbranih elementov"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Prekliči"},
-{"id": "tool_docprops_save", "textContent": "Shraniti"},
-{"id": "tool_ellipse", "title": "Elipsa"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Elipsa"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand pravokotnik"},
-{"id": "tool_font_size", "title": "Spremeni velikost pisave"},
-{"id": "tool_group", "title": "Skupina Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Premakni v Bottom"},
-{"id": "tool_move_top", "title": "Premakni na vrh"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Spremeni izbran predmet motnosti"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Pravokotnik"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Shrani slike"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Vir"},
-{"id": "tool_source_cancel", "textContent": "Prekliči"},
-{"id": "tool_source_save", "textContent": "Shraniti"},
-{"id": "tool_square", "title": "Kvadrat"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Razdruži Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Spreminjanje povečave"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "sl",
+ dir : "ltr",
+ common: {
+ "ok": "Shraniti",
+ "cancel": "Prekliči",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Kliknite, če želite spremeniti barvo polnila, premik miške kliknite spremeniti barvo kap",
+ "zoom_level": "Spreminjanje povečave",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Spremeni barvo polnila",
+ "stroke_color": "Spremeni barvo kap",
+ "stroke_style": "Spremeni kap dash slog",
+ "stroke_width": "Spreminjanje širine kap",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Sprememba kota rotacije",
+ "blur": "Change gaussian blur value",
+ "opacity": "Spremeni izbran predmet motnosti",
+ "circle_cx": "Spremeni krog's CX usklajujejo",
+ "circle_cy": "Spremeni krog's cy usklajujejo",
+ "circle_r": "Spremeni krogu polmera",
+ "ellipse_cx": "Spremeni elipse's CX usklajujejo",
+ "ellipse_cy": "Spremeni elipse's cy usklajujejo",
+ "ellipse_rx": "Spremeni elipse's x polmer",
+ "ellipse_ry": "Spremeni elipse's y polmer",
+ "line_x1": "Spremeni skladu z začetkom x usklajujejo",
+ "line_x2": "Change line je končalo x usklajujejo",
+ "line_y1": "Change line's začetkom y usklajujejo",
+ "line_y2": "Change line je končalo y usklajujejo",
+ "rect_height": "Spremeni pravokotniku višine",
+ "rect_width": "Spremeni pravokotnik širine",
+ "corner_radius": "Spremeni Pravokotnik Corner Radius",
+ "image_width": "Spremeni Širina slike",
+ "image_height": "Spremeni Višina slike",
+ "image_url": "Spremeni URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Spremeni besedilo vsebino",
+ "font_family": "Change Font Family",
+ "font_size": "Spremeni velikost pisave",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Spreminjanje barve ozadja / motnosti",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit na vse vsebine",
+ "fit_to_canvas": "Fit na platno",
+ "fit_to_layer_content": "Fit na plast vsebine",
+ "fit_to_sel": "Fit za izbor",
+ "align_relative_to": "Poravnaj glede na ...",
+ "relativeTo": "glede na:",
+ "page": "page",
+ "largest_object": "Največji objekt",
+ "selected_objects": "izvoljeni predmeti",
+ "smallest_object": "najmanjša objekt",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Shrani slike",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Sredino",
+ "align_left": "Poravnaj levo",
+ "align_middle": "Poravnava Middle",
+ "align_right": "Poravnaj desno",
+ "align_top": "Poravnava Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand pravokotnik",
+ "mode_ellipse": "Elipsa",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Elipsa",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Vir",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Skupina Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Razdruži Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Premakni v Bottom",
+ "move_top": "Premakni na vrh",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Shraniti",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Down Layer",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Up Layer",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Select vnaprej:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sq.js b/public/svg-edit/editor/locale/lang.sq.js
index 0e1ba659..afa2b56e 100644
--- a/public/svg-edit/editor/locale/lang.sq.js
+++ b/public/svg-edit/editor/locale/lang.sq.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Vendose në lidhje me ..."},
-{"id": "bkgnd_color", "title": "Change color background / patejdukshmëri"},
-{"id": "circle_cx", "title": "Cx rrethi Ndryshimi i bashkërenduar"},
-{"id": "circle_cy", "title": "Ndryshimi i rrethit cy koordinuar"},
-{"id": "circle_r", "title": "Rreze rreth Ndryshimi i"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Ndryshimi Rectangle Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Ndryshimi elips e cx koordinuar"},
-{"id": "ellipse_cy", "title": "Elips cy Ndryshimi i bashkërenduar"},
-{"id": "ellipse_rx", "title": "Rreze x elips Ndryshimi i"},
-{"id": "ellipse_ry", "title": "Radiusi y elips ndërroj"},
-{"id": "fill_color", "title": "Ndryshimi mbush color"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit për të gjithë përmbajtjen"},
-{"id": "fit_to_canvas", "textContent": "Fit në kanavacë"},
-{"id": "fit_to_layer_content", "textContent": "Shtresë Fit to content"},
-{"id": "fit_to_sel", "textContent": "Fit to Selection"},
-{"id": "font_family", "title": "Ndryshimi Font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Height të ndryshuar imazhin"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Ndrysho URL"},
-{"id": "image_width", "title": "Ndryshimi image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "madh objekt"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Down Layer"},
-{"id": "layer_new", "title": "Re Shtresa"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Up Layer"},
-{"id": "layersLabel", "textContent": "Shtresa:"},
-{"id": "line_x1", "title": "Shkarko Ndryshimi që fillon x koordinuar"},
-{"id": "line_x2", "title": "Linjë Ndryshimi i fund x koordinuar"},
-{"id": "line_y1", "title": "Shkarko Ndryshimi që fillon y koordinuar"},
-{"id": "line_y2", "title": "Shkarko Ndryshimi i dhënë fund y koordinuar"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "faqe"},
-{"id": "palette", "title": "Klikoni për të ndryshuar mbushur me ngjyra, shift-klikoni për të ndryshuar ngjyrën pash"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Height Ndryshimi drejtkëndësh"},
-{"id": "rect_width_tool", "title": "Width Ndryshimi drejtkëndësh"},
-{"id": "relativeToLabel", "textContent": "lidhje me:"},
-{"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": "Zgjidhni paracaktuara:"},
-{"id": "selected_objects", "textContent": "objektet e zgjedhur"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "objektit më të vogël"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change color pash"},
-{"id": "stroke_style", "title": "Ndryshimi dash goditje stil"},
-{"id": "stroke_width", "title": "Ndryshimi goditje width"},
-{"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": "Lartësia:"},
-{"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": "Gjerësia:"},
-{"id": "text", "title": "Text contents Ndryshimi"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Align Center"},
-{"id": "tool_alignleft", "title": "Align Left"},
-{"id": "tool_alignmiddle", "title": "Align Mesme"},
-{"id": "tool_alignright", "title": "Align Right"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Kënd Ndryshimi rrotullim"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Rrethi"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Klon Element"},
-{"id": "tool_clone_multi", "title": "Elemente Clone"},
-{"id": "tool_delete", "title": "Fshije Element"},
-{"id": "tool_delete_multi", "title": "Elementet e zgjedhur është dhënë Delete [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Dokumenti Prona"},
-{"id": "tool_docprops_cancel", "textContent": "Anulo"},
-{"id": "tool_docprops_save", "textContent": "Ruaj"},
-{"id": "tool_ellipse", "title": "Elips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Lëndë Hand Rectangle"},
-{"id": "tool_font_size", "title": "Ndryshimi Font Size"},
-{"id": "tool_group", "title": "Elementet e Grupit"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Ndryshimi zgjedhur errësirë item"},
-{"id": "tool_open", "textContent": "Image Hapur"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Drejtkëndësh"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Image Ruaj"},
-{"id": "tool_select", "title": "Zgjidhni Tool"},
-{"id": "tool_source", "title": "Burimi Edit"},
-{"id": "tool_source_cancel", "textContent": "Anulo"},
-{"id": "tool_source_save", "textContent": "Ruaj"},
-{"id": "tool_square", "title": "Sheshi"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Undo"},
-{"id": "tool_ungroup", "title": "Elemente Ungroup"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Ndryshimi zoom nivel"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "sq",
+ dir : "ltr",
+ common: {
+ "ok": "Ruaj",
+ "cancel": "Anulo",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klikoni për të ndryshuar mbushur me ngjyra, shift-klikoni për të ndryshuar ngjyrën pash",
+ "zoom_level": "Ndryshimi zoom nivel",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Ndryshimi mbush color",
+ "stroke_color": "Change color pash",
+ "stroke_style": "Ndryshimi dash goditje stil",
+ "stroke_width": "Ndryshimi goditje width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Kënd Ndryshimi rrotullim",
+ "blur": "Change gaussian blur value",
+ "opacity": "Ndryshimi zgjedhur errësirë item",
+ "circle_cx": "Cx rrethi Ndryshimi i bashkërenduar",
+ "circle_cy": "Ndryshimi i rrethit cy koordinuar",
+ "circle_r": "Rreze rreth Ndryshimi i",
+ "ellipse_cx": "Ndryshimi elips e cx koordinuar",
+ "ellipse_cy": "Elips cy Ndryshimi i bashkërenduar",
+ "ellipse_rx": "Rreze x elips Ndryshimi i",
+ "ellipse_ry": "Radiusi y elips ndërroj",
+ "line_x1": "Shkarko Ndryshimi që fillon x koordinuar",
+ "line_x2": "Linjë Ndryshimi i fund x koordinuar",
+ "line_y1": "Shkarko Ndryshimi që fillon y koordinuar",
+ "line_y2": "Shkarko Ndryshimi i dhënë fund y koordinuar",
+ "rect_height": "Height Ndryshimi drejtkëndësh",
+ "rect_width": "Width Ndryshimi drejtkëndësh",
+ "corner_radius": "Ndryshimi Rectangle Corner Radius",
+ "image_width": "Ndryshimi image width",
+ "image_height": "Height të ndryshuar imazhin",
+ "image_url": "Ndrysho URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Text contents Ndryshimi",
+ "font_family": "Ndryshimi Font Family",
+ "font_size": "Ndryshimi Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change color background / patejdukshmëri",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit për të gjithë përmbajtjen",
+ "fit_to_canvas": "Fit në kanavacë",
+ "fit_to_layer_content": "Shtresë Fit to content",
+ "fit_to_sel": "Fit to Selection",
+ "align_relative_to": "Vendose në lidhje me ...",
+ "relativeTo": "lidhje me:",
+ "faqe": "faqe",
+ "largest_object": "madh objekt",
+ "selected_objects": "objektet e zgjedhur",
+ "smallest_object": "objektit më të vogël",
+ "new_doc": "New Image",
+ "open_doc": "Image Hapur",
+ "export_png": "Export as PNG",
+ "save_doc": "Image Ruaj",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Mesme",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Zgjidhni Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Lëndë Hand Rectangle",
+ "mode_ellipse": "Elips",
+ "mode_circle": "Rrethi",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Burimi Edit",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Elementet e Grupit",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Elemente Ungroup",
+ "docprops": "Dokumenti Prona",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Ruaj",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Down Layer",
+ "new": "Re Shtresa",
+ "rename": "Rename Layer",
+ "move_up": "Move Up Layer",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Zgjidhni paracaktuara:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sr.js b/public/svg-edit/editor/locale/lang.sr.js
index ebfc6b13..2866b894 100644
--- a/public/svg-edit/editor/locale/lang.sr.js
+++ b/public/svg-edit/editor/locale/lang.sr.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Алигн у односу на ..."},
-{"id": "bkgnd_color", "title": "Промена боје позадине / непрозирност"},
-{"id": "circle_cx", "title": "Промена круг'с ЦКС координатни"},
-{"id": "circle_cy", "title": "Промена круг'с ср координатни"},
-{"id": "circle_r", "title": "Промена круга је полупречник"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Промена правоугаоник Кутак радијуса"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Промена елипса ЦКС'с координатни"},
-{"id": "ellipse_cy", "title": "Промена елипса'с ср координатни"},
-{"id": "ellipse_rx", "title": "Промена елипса'с Кс радијуса"},
-{"id": "ellipse_ry", "title": "Промена елипса је радијус Ы"},
-{"id": "fill_color", "title": "Промена боје попуне"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "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": "Промена линија Стартни кс координата"},
-{"id": "line_x2", "title": "Промена линија је завршетак кс координата"},
-{"id": "line_y1", "title": "Промена линија у координатни почетак Ы"},
-{"id": "line_y2", "title": "Промена линија је Ы координата се завршава"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "страна"},
-{"id": "palette", "title": "Кликните да бисте променили боју попуне, Схифт-кликните да промените боју удар"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Промени правоугаоник висина"},
-{"id": "rect_width_tool", "title": "Промени правоугаоник ширине"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Промени ротације Угао"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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": "Избриши изабране Елементи [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Особине документа"},
-{"id": "tool_docprops_cancel", "textContent": "Откажи"},
-{"id": "tool_docprops_save", "textContent": "Сачувати"},
-{"id": "tool_ellipse", "title": "Елипса"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Фрее-Ручни Елипса"},
-{"id": "tool_fhpath", "title": "Алатка оловка"},
-{"id": "tool_fhrect", "title": "Фрее-Ручни правоугаоник"},
-{"id": "tool_font_size", "title": "Цханге фонт сизе"},
-{"id": "tool_group", "title": "Група Елементи"},
-{"id": "tool_image", "title": "Алатка за слике"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "Промена изабране ставке непрозирност"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Промените ниво зумирања"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "sr",
+ dir : "ltr",
+ common: {
+ "ok": "Сачувати",
+ "cancel": "Откажи",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Кликните да бисте променили боју попуне, Схифт-кликните да промените боју удар",
+ "zoom_level": "Промените ниво зумирања",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Промена боје попуне",
+ "stroke_color": "Промена боје удар",
+ "stroke_style": "Промена ход Дасх стил",
+ "stroke_width": "Промена удара ширина",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Промена круг'с ЦКС координатни",
+ "circle_cy": "Промена круг'с ср координатни",
+ "circle_r": "Промена круга је полупречник",
+ "ellipse_cx": "Промена елипса ЦКС'с координатни",
+ "ellipse_cy": "Промена елипса'с ср координатни",
+ "ellipse_rx": "Промена елипса'с Кс радијуса",
+ "ellipse_ry": "Промена елипса је радијус Ы",
+ "line_x1": "Промена линија Стартни кс координата",
+ "line_x2": "Промена линија је завршетак кс координата",
+ "line_y1": "Промена линија у координатни почетак Ы",
+ "line_y2": "Промена линија је Ы координата се завршава",
+ "rect_height": "Промени правоугаоник висина",
+ "rect_width": "Промени правоугаоник ширине",
+ "corner_radius": "Промена правоугаоник Кутак радијуса",
+ "image_width": "Промени слику ширине",
+ "image_height": "Промени слику висине",
+ "image_url": "Промените УРЛ адресу",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Промена садржаја текстуалне",
+ "font_family": "Цханге фонт породицу",
+ "font_size": "Цханге фонт сизе",
+ "bold": "Подебљан текст",
+ "italic": "Италиц текст"
+ },
+ tools: {
+ "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": "у односу на:",
+ "страна": "страна",
+ "largest_object": "Највећи објекат",
+ "selected_objects": "изабраних објеката",
+ "smallest_object": "Најмањи објекат",
+ "new_doc": "Нова слика",
+ "open_doc": "Отвори слике",
+ "export_png": "Export as PNG",
+ "save_doc": "Сачувај слика",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Фрее-Ручни правоугаоник",
+ "mode_ellipse": "Елипса",
+ "mode_circle": "Круг",
+ "mode_fhellipse": "Фрее-Ручни Елипса",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Текст Алат",
+ "mode_image": "Алатка за слике",
+ "mode_zoom": "Алатка за зумирање",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Поништи",
+ "redo": "Редо",
+ "tool_source": "Уреди Извор",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Група Елементи",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Разгрупирање Елементи",
+ "docprops": "Особине документа",
+ "imagelib": "Image Library",
+ "move_bottom": "Премести на доле",
+ "move_top": "Премести на врх",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sv.js b/public/svg-edit/editor/locale/lang.sv.js
index 6c08c174..49f6a3b8 100644
--- a/public/svg-edit/editor/locale/lang.sv.js
+++ b/public/svg-edit/editor/locale/lang.sv.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Justera förhållande till ..."},
-{"id": "bkgnd_color", "title": "Ändra bakgrundsfärg / opacitet"},
-{"id": "circle_cx", "title": "Ändra cirkeln cx samordna"},
-{"id": "circle_cy", "title": "Ändra cirkeln samordna cy"},
-{"id": "circle_r", "title": "Ändra cirkelns radie"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Ändra rektangel hörnradie"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Ändra ellips's cx samordna"},
-{"id": "ellipse_cy", "title": "Ändra ellips's samordna cy"},
-{"id": "ellipse_rx", "title": "Ändra ellips's x radie"},
-{"id": "ellipse_ry", "title": "Ändra ellips's y radie"},
-{"id": "fill_color", "title": "Ändra fyllningsfärg"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Passar till allt innehåll"},
-{"id": "fit_to_canvas", "textContent": "Anpassa till duk"},
-{"id": "fit_to_layer_content", "textContent": "Anpassa till lager innehåll"},
-{"id": "fit_to_sel", "textContent": "Anpassa till val"},
-{"id": "font_family", "title": "Ändra Typsnitt"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Ändra bildhöjd"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Ändra URL"},
-{"id": "image_width", "title": "Ändra bild bredd"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "största objekt"},
-{"id": "layer_delete", "title": "Radera Layer"},
-{"id": "layer_down", "title": "Flytta Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Byt namn på Layer"},
-{"id": "layer_up", "title": "Flytta Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Ändra Lines startar x samordna"},
-{"id": "line_x2", "title": "Ändra Lines slutar x samordna"},
-{"id": "line_y1", "title": "Ändra Lines startar Y-koordinat"},
-{"id": "line_y2", "title": "Ändra Lines slutar Y-koordinat"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "sida"},
-{"id": "palette", "title": "Klicka för att ändra fyllningsfärg, shift-klicka för att ändra färgar"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Ändra rektangel höjd"},
-{"id": "rect_width_tool", "title": "Ändra rektangel bredd"},
-{"id": "relativeToLabel", "textContent": "jämfört:"},
-{"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": "Välj fördefinierad:"},
-{"id": "selected_objects", "textContent": "valda objekt"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "minsta objektet"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Ändra färgar"},
-{"id": "stroke_style", "title": "Ändra stroke Dash stil"},
-{"id": "stroke_width", "title": "Ändra stroke bredd"},
-{"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": "Höjd:"},
-{"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": "Bredd:"},
-{"id": "text", "title": "Ändra textinnehållet"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Centrera"},
-{"id": "tool_alignleft", "title": "Vänsterjustera"},
-{"id": "tool_alignmiddle", "title": "Justera Middle"},
-{"id": "tool_alignright", "title": "Högerjustera"},
-{"id": "tool_aligntop", "title": "Justera Top"},
-{"id": "tool_angle", "title": "Ändra rotationsvinkel"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Fet text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Radera Element"},
-{"id": "tool_delete_multi", "title": "Radera markerade element [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Dokumentegenskaper"},
-{"id": "tool_docprops_cancel", "textContent": "Avbryt"},
-{"id": "tool_docprops_save", "textContent": "Spara"},
-{"id": "tool_ellipse", "title": "Ellips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Fri hand Ellipse"},
-{"id": "tool_fhpath", "title": "Pennverktyget"},
-{"id": "tool_fhrect", "title": "Fri hand rektangel"},
-{"id": "tool_font_size", "title": "Ändra textstorlek"},
-{"id": "tool_group", "title": "Group Elements"},
-{"id": "tool_image", "title": "Bildverktyg"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Kursiv text"},
-{"id": "tool_line", "title": "Linjeverktyg"},
-{"id": "tool_move_bottom", "title": "Move to Bottom"},
-{"id": "tool_move_top", "title": "Flytta till början"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Ändra markerat objekt opacitet"},
-{"id": "tool_open", "textContent": "Öppna bild"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Rektangel"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Markeringsverktyget"},
-{"id": "tool_source", "title": "Redigera källa"},
-{"id": "tool_source_cancel", "textContent": "Avbryt"},
-{"id": "tool_source_save", "textContent": "Spara"},
-{"id": "tool_square", "title": "Fyrkant"},
-{"id": "tool_text", "title": "Textverktyg"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Ångra"},
-{"id": "tool_ungroup", "title": "Dela Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoomverktyget"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Ändra zoomnivå"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "sv",
+ dir : "ltr",
+ common: {
+ "ok": "Spara",
+ "cancel": "Avbryt",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Klicka för att ändra fyllningsfärg, shift-klicka för att ändra färgar",
+ "zoom_level": "Ändra zoomnivå",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Ändra fyllningsfärg",
+ "stroke_color": "Ändra färgar",
+ "stroke_style": "Ändra stroke Dash stil",
+ "stroke_width": "Ändra stroke bredd",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Ändra rotationsvinkel",
+ "blur": "Change gaussian blur value",
+ "opacity": "Ändra markerat objekt opacitet",
+ "circle_cx": "Ändra cirkeln cx samordna",
+ "circle_cy": "Ändra cirkeln samordna cy",
+ "circle_r": "Ändra cirkelns radie",
+ "ellipse_cx": "Ändra ellips's cx samordna",
+ "ellipse_cy": "Ändra ellips's samordna cy",
+ "ellipse_rx": "Ändra ellips's x radie",
+ "ellipse_ry": "Ändra ellips's y radie",
+ "line_x1": "Ändra Lines startar x samordna",
+ "line_x2": "Ändra Lines slutar x samordna",
+ "line_y1": "Ändra Lines startar Y-koordinat",
+ "line_y2": "Ändra Lines slutar Y-koordinat",
+ "rect_height": "Ändra rektangel höjd",
+ "rect_width": "Ändra rektangel bredd",
+ "corner_radius": "Ändra rektangel hörnradie",
+ "image_width": "Ändra bild bredd",
+ "image_height": "Ändra bildhöjd",
+ "image_url": "Ändra URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Ändra textinnehållet",
+ "font_family": "Ändra Typsnitt",
+ "font_size": "Ändra textstorlek",
+ "bold": "Fet text",
+ "italic": "Kursiv text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Ändra bakgrundsfärg / opacitet",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Passar till allt innehåll",
+ "fit_to_canvas": "Anpassa till duk",
+ "fit_to_layer_content": "Anpassa till lager innehåll",
+ "fit_to_sel": "Anpassa till val",
+ "align_relative_to": "Justera förhållande till ...",
+ "relativeTo": "jämfört:",
+ "sida": "sida",
+ "largest_object": "största objekt",
+ "selected_objects": "valda objekt",
+ "smallest_object": "minsta objektet",
+ "new_doc": "New Image",
+ "open_doc": "Öppna bild",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Centrera",
+ "align_left": "Vänsterjustera",
+ "align_middle": "Justera Middle",
+ "align_right": "Högerjustera",
+ "align_top": "Justera Top",
+ "mode_select": "Markeringsverktyget",
+ "mode_fhpath": "Pennverktyget",
+ "mode_line": "Linjeverktyg",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Fri hand rektangel",
+ "mode_ellipse": "Ellips",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Fri hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Textverktyg",
+ "mode_image": "Bildverktyg",
+ "mode_zoom": "Zoomverktyget",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Ångra",
+ "redo": "Redo",
+ "tool_source": "Redigera källa",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Dela Elements",
+ "docprops": "Dokumentegenskaper",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Flytta till början",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Spara",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Radera Layer",
+ "move_down": "Flytta Layer Down",
+ "new": "New Layer",
+ "rename": "Byt namn på Layer",
+ "move_up": "Flytta Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Välj fördefinierad:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.sw.js b/public/svg-edit/editor/locale/lang.sw.js
index d2f65a98..ec0275a1 100644
--- a/public/svg-edit/editor/locale/lang.sw.js
+++ b/public/svg-edit/editor/locale/lang.sw.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align jamaa na ..."},
-{"id": "bkgnd_color", "title": "Change background color / opacity"},
-{"id": "circle_cx", "title": "Change mduara's CX kuratibu"},
-{"id": "circle_cy", "title": "Change mduara's cy kuratibu"},
-{"id": "circle_r", "title": "Change mduara's Radius"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Change Mstatili Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Change ellipse s CX kuratibu"},
-{"id": "ellipse_cy", "title": "Change ellipse s cy kuratibu"},
-{"id": "ellipse_rx", "title": "Change ellipse s x Radius"},
-{"id": "ellipse_ry", "title": "Change ellipse's y Radius"},
-{"id": "fill_color", "title": "Change kujaza Michezo"},
-{"id": "fitToContent", "textContent": "Waliopo Content"},
-{"id": "fit_to_all", "textContent": "Waliopo all content"},
-{"id": "fit_to_canvas", "textContent": "Wanaofaa Canvas"},
-{"id": "fit_to_layer_content", "textContent": "Waliopo safu content"},
-{"id": "fit_to_sel", "textContent": "Waliopo uteuzi"},
-{"id": "font_family", "title": "Change font Family"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Change image urefu"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Change URL"},
-{"id": "image_width", "title": "Change image width"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "ukubwa object"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "Mpya Layer"},
-{"id": "layer_rename", "title": "Rename Layer"},
-{"id": "layer_up", "title": "Move Layer Up"},
-{"id": "layersLabel", "textContent": "Tabaka:"},
-{"id": "line_x1", "title": "Change Mpya's mapya x kuratibu"},
-{"id": "line_x2", "title": "Change Mpya's kuishia x kuratibu"},
-{"id": "line_y1", "title": "Change Mpya's mapya y kuratibu"},
-{"id": "line_y2", "title": "Change Mpya's kuishia y kuratibu"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "umebadilisha"},
-{"id": "palette", "title": "Click kubadili kujaza color, skiftarbete-click kubadili kiharusi color"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Change Mstatili height"},
-{"id": "rect_width_tool", "title": "Change Mstatili width"},
-{"id": "relativeToLabel", "textContent": "relativa att:"},
-{"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": "Select predefined:"},
-{"id": "selected_objects", "textContent": "waliochaguliwa vitu"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "minsta object"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Change kiharusi Michezo"},
-{"id": "stroke_style", "title": "Change kiharusi dash style"},
-{"id": "stroke_width", "title": "Change kiharusi width"},
-{"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": "Urefu:"},
-{"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": "Upana:"},
-{"id": "text", "title": "Change Nakala contents"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Align Center"},
-{"id": "tool_alignleft", "title": "Align Left"},
-{"id": "tool_alignmiddle", "title": "Kati align"},
-{"id": "tool_alignright", "title": "Align Right"},
-{"id": "tool_aligntop", "title": "Align Juu"},
-{"id": "tool_angle", "title": "Change mzunguko vinkel"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Nakala"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "New Image"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Delete Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Cancel"},
-{"id": "tool_docprops_save", "textContent": "Okoa"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Penseli Tool"},
-{"id": "tool_fhrect", "title": "Free-Hand Rectangle"},
-{"id": "tool_font_size", "title": "Change font Size"},
-{"id": "tool_group", "title": "Kikundi Elements"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italiki Nakala"},
-{"id": "tool_line", "title": "Mpya Tool"},
-{"id": "tool_move_bottom", "title": "Kuhama Bottom"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Change selected opacity punkt"},
-{"id": "tool_open", "textContent": "Open Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Mstatili"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Select Tool"},
-{"id": "tool_source", "title": "Edit Lugha"},
-{"id": "tool_source_cancel", "textContent": "Cancel"},
-{"id": "tool_source_save", "textContent": "Save"},
-{"id": "tool_square", "title": "Mraba"},
-{"id": "tool_text", "title": "Nakala Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Tengua"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Change zoom ngazi"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "sw",
+ dir : "ltr",
+ common: {
+ "ok": "Okoa",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click kubadili kujaza color, skiftarbete-click kubadili kiharusi color",
+ "zoom_level": "Change zoom ngazi",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change kujaza Michezo",
+ "stroke_color": "Change kiharusi Michezo",
+ "stroke_style": "Change kiharusi dash style",
+ "stroke_width": "Change kiharusi width",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change mzunguko vinkel",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected opacity punkt",
+ "circle_cx": "Change mduara's CX kuratibu",
+ "circle_cy": "Change mduara's cy kuratibu",
+ "circle_r": "Change mduara's Radius",
+ "ellipse_cx": "Change ellipse s CX kuratibu",
+ "ellipse_cy": "Change ellipse s cy kuratibu",
+ "ellipse_rx": "Change ellipse s x Radius",
+ "ellipse_ry": "Change ellipse's y Radius",
+ "line_x1": "Change Mpya's mapya x kuratibu",
+ "line_x2": "Change Mpya's kuishia x kuratibu",
+ "line_y1": "Change Mpya's mapya y kuratibu",
+ "line_y2": "Change Mpya's kuishia y kuratibu",
+ "rect_height": "Change Mstatili height",
+ "rect_width": "Change Mstatili width",
+ "corner_radius": "Change Mstatili Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image urefu",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change Nakala contents",
+ "font_family": "Change font Family",
+ "font_size": "Change font Size",
+ "bold": "Bold Nakala",
+ "italic": "Italiki Nakala"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Waliopo Content",
+ "fit_to_all": "Waliopo all content",
+ "fit_to_canvas": "Wanaofaa Canvas",
+ "fit_to_layer_content": "Waliopo safu content",
+ "fit_to_sel": "Waliopo uteuzi",
+ "align_relative_to": "Align jamaa na ...",
+ "relativeTo": "relativa att:",
+ "umebadilisha": "umebadilisha",
+ "largest_object": "ukubwa object",
+ "selected_objects": "waliochaguliwa vitu",
+ "smallest_object": "minsta object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Kati align",
+ "align_right": "Align Right",
+ "align_top": "Align Juu",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Penseli Tool",
+ "mode_line": "Mpya Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Nakala Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Tengua",
+ "redo": "Redo",
+ "tool_source": "Edit Lugha",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Kikundi Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Kuhama Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "Mpya Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.test.js b/public/svg-edit/editor/locale/lang.test.js
new file mode 100644
index 00000000..fe69bc1e
--- /dev/null
+++ b/public/svg-edit/editor/locale/lang.test.js
@@ -0,0 +1,234 @@
+svgEditor.readLang({
+ lang: "test",
+ dir : "ltr",
+ common: {
+ "ok": "OK",
+ "cancel": "Cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Click to change fill color, shift-click to change stroke color",
+ "zoom_level": "Change zoom level",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Change fill color",
+ "stroke_color": "Change stroke color",
+ "stroke_style": "Change stroke dash style",
+ "stroke_width": "Change stroke width by 1, shift-click to change by 0.1",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Change rotation angle",
+ "blur": "Change gaussian blur value",
+ "opacity": "Change selected item opacity",
+ "circle_cx": "Change circle's cx coordinate",
+ "circle_cy": "Change circle's cy coordinate",
+ "circle_r": "Change circle's radius",
+ "ellipse_cx": "Change ellipse's cx coordinate",
+ "ellipse_cy": "Change ellipse's cy coordinate",
+ "ellipse_rx": "Change ellipse's x radius",
+ "ellipse_ry": "Change ellipse's y radius",
+ "line_x1": "Change line's starting x coordinate",
+ "line_x2": "Change line's ending x coordinate",
+ "line_y1": "Change line's starting y coordinate",
+ "line_y2": "Change line's ending y coordinate",
+ "rect_height": "Change rectangle height",
+ "rect_width": "Change rectangle width",
+ "corner_radius": "Change Rectangle Corner Radius",
+ "image_width": "Change image width",
+ "image_height": "Change image height",
+ "image_url": "Change URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Change text contents",
+ "font_family": "Change Font Family",
+ "font_size": "Change Font Size",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Change background color/opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit to all content",
+ "fit_to_canvas": "Fit to canvas",
+ "fit_to_layer_content": "Fit to layer content",
+ "fit_to_sel": "Fit to selection",
+ "align_relative_to": "Align relative to ...",
+ "relativeTo": "relative to:",
+ "page": "page",
+ "largest_object": "largest object",
+ "selected_objects": "selected objects",
+ "smallest_object": "smallest object",
+ "new_doc": "New Image",
+ "open_doc": "Open Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Align Center",
+ "align_left": "Align Left",
+ "align_middle": "Align Middle",
+ "align_right": "Align Right",
+ "align_top": "Align Top",
+ "mode_select": "Select Tool",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-Hand Rectangle",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Free-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Undo",
+ "redo": "Redo",
+ "tool_source": "Edit Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Layer",
+ "group": "Group Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Move to Bottom",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Apply Changes",
+ "cut": "Cut",
+ "copy": "Copy",
+ "paste": "Paste",
+ "paste_in_place": "Paste in Place",
+ "delete": "Delete",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Move Layer Up",
+ "move_down": "Move Layer Down",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Rename Layer",
+ "move_up": "Move Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer \"%s\"?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.th.js b/public/svg-edit/editor/locale/lang.th.js
index 2a01c188..e937da74 100644
--- a/public/svg-edit/editor/locale/lang.th.js
+++ b/public/svg-edit/editor/locale/lang.th.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "จัดชิดเทียบกับ ..."},
-{"id": "bkgnd_color", "title": "สีพื้นหลังเปลี่ยน / ความทึบ"},
-{"id": "circle_cx", "title": "Cx วงกลมเปลี่ยนของพิกัด"},
-{"id": "circle_cy", "title": "วงกลมเปลี่ยนเป็น cy ประสานงาน"},
-{"id": "circle_r", "title": "รัศมีวงกลมเปลี่ยนเป็น"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "รัศมีเปลี่ยนสี่เหลี่ยมผืนผ้า Corner"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "เปลี่ยน ellipse ของ cx ประสานงาน"},
-{"id": "ellipse_cy", "title": "Ellipse เปลี่ยนของ cy ประสานงาน"},
-{"id": "ellipse_rx", "title": "Ellipse เปลี่ยนของรัศมี x"},
-{"id": "ellipse_ry", "title": "Ellipse เปลี่ยนของรัศมี y"},
-{"id": "fill_color", "title": "เปลี่ยนใส่สี"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"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": "ครอบครัว Change Font"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "URL เปลี่ยน"},
-{"id": "image_width", "title": "ความกว้างเปลี่ยนรูปภาพ"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "ที่ใหญ่ที่สุดในวัตถุ"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "ย้าย Layer ลง"},
-{"id": "layer_new", "title": "Layer ใหม่"},
-{"id": "layer_rename", "title": "Layer เปลี่ยนชื่อ"},
-{"id": "layer_up", "title": "ย้าย Layer Up"},
-{"id": "layersLabel", "textContent": "ชั้น:"},
-{"id": "line_x1", "title": "สายเปลี่ยนเป็นเริ่มต้น x พิกัด"},
-{"id": "line_x2", "title": "สายเปลี่ยนเป็นสิ้นสุด x พิกัด"},
-{"id": "line_y1", "title": "สายเปลี่ยนเป็นเริ่มต้น y พิกัด"},
-{"id": "line_y2", "title": "สายเปลี่ยนเป็นสิ้นสุด y พิกัด"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "หน้า"},
-{"id": "palette", "title": "คลิกเพื่อเปลี่ยนใส่สีกะคลิกเปลี่ยนสีจังหวะ"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "ความสูงสี่เหลี่ยมผืนผ้าเปลี่ยน"},
-{"id": "rect_width_tool", "title": "ความกว้างสี่เหลี่ยมผืนผ้าเปลี่ยน"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "มุมหมุนเปลี่ยน"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "ข้อความตัวหนา"},
-{"id": "tool_circle", "title": "Circle"},
-{"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": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Ellipse Free-Hand"},
-{"id": "tool_fhpath", "title": "เครื่องมือดินสอ"},
-{"id": "tool_fhrect", "title": "สี่เหลี่ยมผืนผ้า Free-Hand"},
-{"id": "tool_font_size", "title": "เปลี่ยนขนาดตัวอักษร"},
-{"id": "tool_group", "title": "องค์ประกอบของกลุ่ม"},
-{"id": "tool_image", "title": "เครื่องมือ Image"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "ข้อความตัวเอียง"},
-{"id": "tool_line", "title": "เครื่องมือ Line"},
-{"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_opacity", "title": "เปลี่ยนความทึบเลือกรายการ"},
-{"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": "เครื่องมือ Text"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "เลิก"},
-{"id": "tool_ungroup", "title": "องค์ประกอบ Ungroup"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "เครื่องมือซูม"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "เปลี่ยนระดับการซูม"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "th",
+ dir : "ltr",
+ common: {
+ "ok": "บันทึก",
+ "cancel": "ยกเลิก",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "คลิกเพื่อเปลี่ยนใส่สีกะคลิกเปลี่ยนสีจังหวะ",
+ "zoom_level": "เปลี่ยนระดับการซูม",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "เปลี่ยนใส่สี",
+ "stroke_color": "สีจังหวะเปลี่ยน",
+ "stroke_style": "รีบเปลี่ยนสไตล์จังหวะ",
+ "stroke_width": "ความกว้างจังหวะเปลี่ยน",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "เปลี่ยน ellipse ของ cx ประสานงาน",
+ "ellipse_cy": "Ellipse เปลี่ยนของ cy ประสานงาน",
+ "ellipse_rx": "Ellipse เปลี่ยนของรัศมี x",
+ "ellipse_ry": "Ellipse เปลี่ยนของรัศมี y",
+ "line_x1": "สายเปลี่ยนเป็นเริ่มต้น x พิกัด",
+ "line_x2": "สายเปลี่ยนเป็นสิ้นสุด x พิกัด",
+ "line_y1": "สายเปลี่ยนเป็นเริ่มต้น y พิกัด",
+ "line_y2": "สายเปลี่ยนเป็นสิ้นสุด y พิกัด",
+ "rect_height": "ความสูงสี่เหลี่ยมผืนผ้าเปลี่ยน",
+ "rect_width": "ความกว้างสี่เหลี่ยมผืนผ้าเปลี่ยน",
+ "corner_radius": "รัศมีเปลี่ยนสี่เหลี่ยมผืนผ้า Corner",
+ "image_width": "ความกว้างเปลี่ยนรูปภาพ",
+ "image_height": "ความสูงเปลี่ยนรูปภาพ",
+ "image_url": "URL เปลี่ยน",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "เปลี่ยนเนื้อหาข้อความ",
+ "font_family": "ครอบครัว Change Font",
+ "font_size": "เปลี่ยนขนาดตัวอักษร",
+ "bold": "ข้อความตัวหนา",
+ "italic": "ข้อความตัวเอียง"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "สีพื้นหลังเปลี่ยน / ความทึบ",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "พอดีกับเนื้อหาทั้งหมด",
+ "fit_to_canvas": "เหมาะสมในการผ้าใบ",
+ "fit_to_layer_content": "พอดีเนื้อหาชั้นที่",
+ "fit_to_sel": "เหมาะสมในการเลือก",
+ "align_relative_to": "จัดชิดเทียบกับ ...",
+ "relativeTo": "เทียบกับ:",
+ "หน้า": "หน้า",
+ "largest_object": "ที่ใหญ่ที่สุดในวัตถุ",
+ "selected_objects": "วัตถุเลือกตั้ง",
+ "smallest_object": "วัตถุที่เล็กที่สุด",
+ "new_doc": "รูปภาพใหม่",
+ "open_doc": "ภาพเปิด",
+ "export_png": "Export as PNG",
+ "save_doc": "บันทึกรูปภาพ",
+ "import_doc": "Import SVG",
+ "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": "เครื่องมือ Line",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "สี่เหลี่ยมผืนผ้า Free-Hand",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Ellipse Free-Hand",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "เครื่องมือ Text",
+ "mode_image": "เครื่องมือ Image",
+ "mode_zoom": "เครื่องมือซูม",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "เลิก",
+ "redo": "ทำซ้ำ",
+ "tool_source": "แหล่งที่มาแก้ไข",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "องค์ประกอบของกลุ่ม",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "องค์ประกอบ Ungroup",
+ "docprops": "คุณสมบัติของเอกสาร",
+ "imagelib": "Image Library",
+ "move_bottom": "ย้ายไปด้านล่าง",
+ "move_top": "ย้ายไปด้านบน",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "ย้าย Layer ลง",
+ "new": "Layer ใหม่",
+ "rename": "Layer เปลี่ยนชื่อ",
+ "move_up": "ย้าย Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.tl.js b/public/svg-edit/editor/locale/lang.tl.js
index d81762d0..4c820a62 100644
--- a/public/svg-edit/editor/locale/lang.tl.js
+++ b/public/svg-edit/editor/locale/lang.tl.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Pantayin sa kamag-anak sa ..."},
-{"id": "bkgnd_color", "title": "Baguhin ang kulay ng background / kalabuan"},
-{"id": "circle_cx", "title": "Cx Baguhin ang bilog's coordinate"},
-{"id": "circle_cy", "title": "Baguhin ang bilog's cy coordinate"},
-{"id": "circle_r", "title": "Baguhin ang radius ng bilog"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Baguhin ang Parihaba Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Baguhin ang tambilugan's cx-ugma"},
-{"id": "ellipse_cy", "title": "Baguhin ang tambilugan's cy coordinate"},
-{"id": "ellipse_rx", "title": "X radius Baguhin ang tambilugan's"},
-{"id": "ellipse_ry", "title": "Y radius Baguhin ang tambilugan's"},
-{"id": "fill_color", "title": "Baguhin ang punuin ng kulay"},
-{"id": "fitToContent", "textContent": "Pagkasyahin sa Nilalaman"},
-{"id": "fit_to_all", "textContent": "Pagkasyahin sa lahat ng mga nilalaman"},
-{"id": "fit_to_canvas", "textContent": "Pagkasyahin sa tolda"},
-{"id": "fit_to_layer_content", "textContent": "Pagkasyahin sa layer nilalaman"},
-{"id": "fit_to_sel", "textContent": "Pagkasyahin sa pagpili"},
-{"id": "font_family", "title": "Baguhin ang Pamilya ng Font"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Baguhin ang taas ng imahe"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Baguhin ang URL"},
-{"id": "image_width", "title": "Baguhin ang lapad ng imahe"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "pinakamalaking bagay"},
-{"id": "layer_delete", "title": "Tanggalin Layer"},
-{"id": "layer_down", "title": "Ilipat Layer Down"},
-{"id": "layer_new", "title": "Bagong Layer"},
-{"id": "layer_rename", "title": "Palitan ang pangalan ng Layer"},
-{"id": "layer_up", "title": "Ilipat Layer Up"},
-{"id": "layersLabel", "textContent": "Layers:"},
-{"id": "line_x1", "title": "Baguhin ang linya ng simula x coordinate"},
-{"id": "line_x2", "title": "Baguhin ang linya ay nagtatapos x coordinate"},
-{"id": "line_y1", "title": "Baguhin ang linya ng simula y coordinate"},
-{"id": "line_y2", "title": "Baguhin ang linya ay nagtatapos y coordinate"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "pahina"},
-{"id": "palette", "title": "I-click upang baguhin ang punan ang kulay, paglilipat-click upang baguhin ang paghampas ng kulay"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Baguhin ang rektanggulo taas"},
-{"id": "rect_width_tool", "title": "Baguhin ang rektanggulo lapad"},
-{"id": "relativeToLabel", "textContent": "kamag-anak sa:"},
-{"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": "Piliin ang paunang-natukoy na:"},
-{"id": "selected_objects", "textContent": "inihalal na mga bagay"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "pinakamaliit na bagay"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Baguhin ang kulay ng paghampas"},
-{"id": "stroke_style", "title": "Baguhin ang stroke pagsugod estilo"},
-{"id": "stroke_width", "title": "Baguhin ang stroke lapad"},
-{"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": "Tangkad:"},
-{"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": "Lapad:"},
-{"id": "text", "title": "Baguhin ang mga nilalaman ng teksto"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Pantayin sa Ibaba"},
-{"id": "tool_aligncenter", "title": "Pantayin sa Gitna"},
-{"id": "tool_alignleft", "title": "Pantayin ang Kaliwa"},
-{"id": "tool_alignmiddle", "title": "Pantayin sa Gitnang"},
-{"id": "tool_alignright", "title": "Pantayin sa Kanan"},
-{"id": "tool_aligntop", "title": "Pantayin Top"},
-{"id": "tool_angle", "title": "Baguhin ang pag-ikot anggulo"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Bagong Imahe"},
-{"id": "tool_clone", "title": "I-clone ang Sangkap"},
-{"id": "tool_clone_multi", "title": "I-clone ang mga Sangkap"},
-{"id": "tool_delete", "title": "Burahin ang Sangkap"},
-{"id": "tool_delete_multi", "title": "Tanggalin Napiling Mga Sangkap [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Document Katangian"},
-{"id": "tool_docprops_cancel", "textContent": "I-cancel"},
-{"id": "tool_docprops_save", "textContent": "I-save"},
-{"id": "tool_ellipse", "title": "Tambilugan"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Libreng-kamay tambilugan"},
-{"id": "tool_fhpath", "title": "Kasangkapan ng lapis"},
-{"id": "tool_fhrect", "title": "Libreng-kamay Parihaba"},
-{"id": "tool_font_size", "title": "Baguhin ang Laki ng Font"},
-{"id": "tool_group", "title": "Group Sangkap"},
-{"id": "tool_image", "title": "Image Kasangkapan"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Kasangkapan"},
-{"id": "tool_move_bottom", "title": "Ilipat sa Ibaba"},
-{"id": "tool_move_top", "title": "Ilipat sa Tuktok"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Palitan ang mga napiling bagay kalabuan"},
-{"id": "tool_open", "textContent": "Buksan ang Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Parihaba"},
-{"id": "tool_redo", "title": "Gawin muli"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "I-save ang Image"},
-{"id": "tool_select", "title": "Piliin ang Tool"},
-{"id": "tool_source", "title": "I-edit ang Source"},
-{"id": "tool_source_cancel", "textContent": "I-cancel"},
-{"id": "tool_source_save", "textContent": "I-save"},
-{"id": "tool_square", "title": "Parisukat"},
-{"id": "tool_text", "title": "Text Kasangkapan"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Bawiin"},
-{"id": "tool_ungroup", "title": "Ungroup Sangkap"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Mag-zoom Kasangkapan"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Baguhin ang antas ng zoom"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "tl",
+ dir : "ltr",
+ common: {
+ "ok": "I-save",
+ "cancel": "I-cancel",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "I-click upang baguhin ang punan ang kulay, paglilipat-click upang baguhin ang paghampas ng kulay",
+ "zoom_level": "Baguhin ang antas ng zoom",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Baguhin ang punuin ng kulay",
+ "stroke_color": "Baguhin ang kulay ng paghampas",
+ "stroke_style": "Baguhin ang stroke pagsugod estilo",
+ "stroke_width": "Baguhin ang stroke lapad",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Baguhin ang pag-ikot anggulo",
+ "blur": "Change gaussian blur value",
+ "opacity": "Palitan ang mga napiling bagay kalabuan",
+ "circle_cx": "Cx Baguhin ang bilog's coordinate",
+ "circle_cy": "Baguhin ang bilog's cy coordinate",
+ "circle_r": "Baguhin ang radius ng bilog",
+ "ellipse_cx": "Baguhin ang tambilugan's cx-ugma",
+ "ellipse_cy": "Baguhin ang tambilugan's cy coordinate",
+ "ellipse_rx": "X radius Baguhin ang tambilugan's",
+ "ellipse_ry": "Y radius Baguhin ang tambilugan's",
+ "line_x1": "Baguhin ang linya ng simula x coordinate",
+ "line_x2": "Baguhin ang linya ay nagtatapos x coordinate",
+ "line_y1": "Baguhin ang linya ng simula y coordinate",
+ "line_y2": "Baguhin ang linya ay nagtatapos y coordinate",
+ "rect_height": "Baguhin ang rektanggulo taas",
+ "rect_width": "Baguhin ang rektanggulo lapad",
+ "corner_radius": "Baguhin ang Parihaba Corner Radius",
+ "image_width": "Baguhin ang lapad ng imahe",
+ "image_height": "Baguhin ang taas ng imahe",
+ "image_url": "Baguhin ang URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Baguhin ang mga nilalaman ng teksto",
+ "font_family": "Baguhin ang Pamilya ng Font",
+ "font_size": "Baguhin ang Laki ng Font",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Baguhin ang kulay ng background / kalabuan",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Pagkasyahin sa Nilalaman",
+ "fit_to_all": "Pagkasyahin sa lahat ng mga nilalaman",
+ "fit_to_canvas": "Pagkasyahin sa tolda",
+ "fit_to_layer_content": "Pagkasyahin sa layer nilalaman",
+ "fit_to_sel": "Pagkasyahin sa pagpili",
+ "align_relative_to": "Pantayin sa kamag-anak sa ...",
+ "relativeTo": "kamag-anak sa:",
+ "pahina": "pahina",
+ "largest_object": "pinakamalaking bagay",
+ "selected_objects": "inihalal na mga bagay",
+ "smallest_object": "pinakamaliit na bagay",
+ "new_doc": "Bagong Imahe",
+ "open_doc": "Buksan ang Image",
+ "export_png": "Export as PNG",
+ "save_doc": "I-save ang Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Pantayin sa Ibaba",
+ "align_center": "Pantayin sa Gitna",
+ "align_left": "Pantayin ang Kaliwa",
+ "align_middle": "Pantayin sa Gitnang",
+ "align_right": "Pantayin sa Kanan",
+ "align_top": "Pantayin Top",
+ "mode_select": "Piliin ang Tool",
+ "mode_fhpath": "Kasangkapan ng lapis",
+ "mode_line": "Line Kasangkapan",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Libreng-kamay Parihaba",
+ "mode_ellipse": "Tambilugan",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Libreng-kamay tambilugan",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Kasangkapan",
+ "mode_image": "Image Kasangkapan",
+ "mode_zoom": "Mag-zoom Kasangkapan",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Bawiin",
+ "redo": "Gawin muli",
+ "tool_source": "I-edit ang Source",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Group Sangkap",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Sangkap",
+ "docprops": "Document Katangian",
+ "imagelib": "Image Library",
+ "move_bottom": "Ilipat sa Ibaba",
+ "move_top": "Ilipat sa Tuktok",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "I-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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Tanggalin Layer",
+ "move_down": "Ilipat Layer Down",
+ "new": "Bagong Layer",
+ "rename": "Palitan ang pangalan ng Layer",
+ "move_up": "Ilipat Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Piliin ang paunang-natukoy na:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.tr.js b/public/svg-edit/editor/locale/lang.tr.js
index ce6ab6bc..f802615f 100644
--- a/public/svg-edit/editor/locale/lang.tr.js
+++ b/public/svg-edit/editor/locale/lang.tr.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Align göre ..."},
-{"id": "bkgnd_color", "title": "Arka plan rengini değiştirmek / opacity"},
-{"id": "circle_cx", "title": "Değiştirmek daire's cx koordine"},
-{"id": "circle_cy", "title": "Değiştirmek daire cy koordine's"},
-{"id": "circle_r", "title": "Değiştirmek daire yarıçapı"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Değiştirmek Dikdörtgen Köşe Yarıçap"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "'s Koordine cx elips Girişi"},
-{"id": "ellipse_cy", "title": "Değiştirmek elips cy koordine's"},
-{"id": "ellipse_rx", "title": "Değiştirmek elips's x yarıçapı"},
-{"id": "ellipse_ry", "title": "Değiştirmek elips Y yarıçapı"},
-{"id": "fill_color", "title": "Renk değiştirmek doldurmak"},
-{"id": "fitToContent", "textContent": "Fit to Content"},
-{"id": "fit_to_all", "textContent": "Fit tüm içerik için"},
-{"id": "fit_to_canvas", "textContent": "Fit tuvaline"},
-{"id": "fit_to_layer_content", "textContent": "Sığacak şekilde katman içerik"},
-{"id": "fit_to_sel", "textContent": "Fit seçimine"},
-{"id": "font_family", "title": "Font değiştir Aile"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Değiştirmek görüntü yüksekliği"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Değiştirmek URL"},
-{"id": "image_width", "title": "Değiştirmek görüntü genişliği"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "en büyük nesne"},
-{"id": "layer_delete", "title": "Delete Layer"},
-{"id": "layer_down", "title": "Katman Aşağı Taşı"},
-{"id": "layer_new", "title": "Yeni Katman"},
-{"id": "layer_rename", "title": "Rename Katman"},
-{"id": "layer_up", "title": "Up Katman Taşı"},
-{"id": "layersLabel", "textContent": "Katmanlar:"},
-{"id": "line_x1", "title": "Değiştirmek hattı's koordine x başlangıç"},
-{"id": "line_x2", "title": "Değiştirmek hattı's koordine x biten"},
-{"id": "line_y1", "title": "Değiştirmek hattı y başlangıç's koordine"},
-{"id": "line_y2", "title": "Değiştirmek hattı y biten's koordine"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "sayfa"},
-{"id": "palette", "title": "Tıklatın renk, vardiya dolgu zamanlı rengini değiştirmek için tıklayın değiştirmek için"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Değiştirmek dikdörtgen yüksekliği"},
-{"id": "rect_width_tool", "title": "Değiştirmek dikdörtgen genişliği"},
-{"id": "relativeToLabel", "textContent": "göreli:"},
-{"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": "Seçin önceden tanımlanmış:"},
-{"id": "selected_objects", "textContent": "seçilen nesneleri"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "küçük nesne"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Değiştirmek inme renk"},
-{"id": "stroke_style", "title": "Değiştirmek inme çizgi stili"},
-{"id": "stroke_width", "title": "Değiştirmek vuruş genişliği"},
-{"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": "Yükseklik:"},
-{"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": "En:"},
-{"id": "text", "title": "Değiştirmek metin içeriği"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Ortala"},
-{"id": "tool_alignleft", "title": "Sola"},
-{"id": "tool_alignmiddle", "title": "Align Orta"},
-{"id": "tool_alignright", "title": "Sağa Hizala"},
-{"id": "tool_aligntop", "title": "Align Top"},
-{"id": "tool_angle", "title": "Değiştirmek dönme açısı"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Kalın Yazı"},
-{"id": "tool_circle", "title": "Daire"},
-{"id": "tool_clear", "textContent": "Yeni Resim"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elemanları"},
-{"id": "tool_delete", "title": "Sil Element"},
-{"id": "tool_delete_multi", "title": "Seçilen Elemanları"},
-{"id": "tool_docprops", "textContent": "Belge Özellikleri"},
-{"id": "tool_docprops_cancel", "textContent": "Iptal"},
-{"id": "tool_docprops_save", "textContent": "Kaydetmek"},
-{"id": "tool_ellipse", "title": "Elips"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-El Elips"},
-{"id": "tool_fhpath", "title": "Kalem Aracı"},
-{"id": "tool_fhrect", "title": "Free-El Dikdörtgen"},
-{"id": "tool_font_size", "title": "Change font size"},
-{"id": "tool_group", "title": "Grup Elemanları"},
-{"id": "tool_image", "title": "Resim Aracı"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italik yazı"},
-{"id": "tool_line", "title": "Line Aracı"},
-{"id": "tool_move_bottom", "title": "Altına gider"},
-{"id": "tool_move_top", "title": "Üste taşı"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Değiştirmek öğe opacity seçilmiş"},
-{"id": "tool_open", "textContent": "Aç Resim"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Dikdörtgen"},
-{"id": "tool_redo", "title": "Redo"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Görüntüyü Kaydet"},
-{"id": "tool_select", "title": "Seçim aracı"},
-{"id": "tool_source", "title": "Değiştir Kaynak"},
-{"id": "tool_source_cancel", "textContent": "Iptal"},
-{"id": "tool_source_save", "textContent": "Kaydetmek"},
-{"id": "tool_square", "title": "Kare"},
-{"id": "tool_text", "title": "Metin Aracı"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Geri"},
-{"id": "tool_ungroup", "title": "Çöz Elemanları"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Yakınlaştırma düzeyini değiştirebilirsiniz"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "tr",
+ dir : "ltr",
+ common: {
+ "ok": "Kaydetmek",
+ "cancel": "Iptal",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Tıklatın renk, vardiya dolgu zamanlı rengini değiştirmek için tıklayın değiştirmek için",
+ "zoom_level": "Yakınlaştırma düzeyini değiştirebilirsiniz",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Renk değiştirmek doldurmak",
+ "stroke_color": "Değiştirmek inme renk",
+ "stroke_style": "Değiştirmek inme çizgi stili",
+ "stroke_width": "Değiştirmek vuruş genişliği",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Değiştirmek dönme açısı",
+ "blur": "Change gaussian blur value",
+ "opacity": "Değiştirmek öğe opacity seçilmiş",
+ "circle_cx": "Değiştirmek daire's cx koordine",
+ "circle_cy": "Değiştirmek daire cy koordine's",
+ "circle_r": "Değiştirmek daire yarıçapı",
+ "ellipse_cx": "'s Koordine cx elips Girişi",
+ "ellipse_cy": "Değiştirmek elips cy koordine's",
+ "ellipse_rx": "Değiştirmek elips's x yarıçapı",
+ "ellipse_ry": "Değiştirmek elips Y yarıçapı",
+ "line_x1": "Değiştirmek hattı's koordine x başlangıç",
+ "line_x2": "Değiştirmek hattı's koordine x biten",
+ "line_y1": "Değiştirmek hattı y başlangıç's koordine",
+ "line_y2": "Değiştirmek hattı y biten's koordine",
+ "rect_height": "Değiştirmek dikdörtgen yüksekliği",
+ "rect_width": "Değiştirmek dikdörtgen genişliği",
+ "corner_radius": "Değiştirmek Dikdörtgen Köşe Yarıçap",
+ "image_width": "Değiştirmek görüntü genişliği",
+ "image_height": "Değiştirmek görüntü yüksekliği",
+ "image_url": "Değiştirmek URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Değiştirmek metin içeriği",
+ "font_family": "Font değiştir Aile",
+ "font_size": "Change font size",
+ "bold": "Kalın Yazı",
+ "italic": "Italik yazı"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Arka plan rengini değiştirmek / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Fit to Content",
+ "fit_to_all": "Fit tüm içerik için",
+ "fit_to_canvas": "Fit tuvaline",
+ "fit_to_layer_content": "Sığacak şekilde katman içerik",
+ "fit_to_sel": "Fit seçimine",
+ "align_relative_to": "Align göre ...",
+ "relativeTo": "göreli:",
+ "sayfa": "sayfa",
+ "largest_object": "en büyük nesne",
+ "selected_objects": "seçilen nesneleri",
+ "smallest_object": "küçük nesne",
+ "new_doc": "Yeni Resim",
+ "open_doc": "Aç Resim",
+ "export_png": "Export as PNG",
+ "save_doc": "Görüntüyü Kaydet",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Ortala",
+ "align_left": "Sola",
+ "align_middle": "Align Orta",
+ "align_right": "Sağa Hizala",
+ "align_top": "Align Top",
+ "mode_select": "Seçim aracı",
+ "mode_fhpath": "Kalem Aracı",
+ "mode_line": "Line Aracı",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-El Dikdörtgen",
+ "mode_ellipse": "Elips",
+ "mode_circle": "Daire",
+ "mode_fhellipse": "Free-El Elips",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Metin Aracı",
+ "mode_image": "Resim Aracı",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Geri",
+ "redo": "Redo",
+ "tool_source": "Değiştir Kaynak",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Grup Elemanları",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Çöz Elemanları",
+ "docprops": "Belge Özellikleri",
+ "imagelib": "Image Library",
+ "move_bottom": "Altına gider",
+ "move_top": "Üste taşı",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Kaydetmek",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Delete Layer",
+ "move_down": "Katman Aşağı Taşı",
+ "new": "Yeni Katman",
+ "rename": "Rename Katman",
+ "move_up": "Up Katman Taşı",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Seçin önceden tanımlanmış:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.uk.js b/public/svg-edit/editor/locale/lang.uk.js
index 92fb598c..c909fb97 100644
--- a/public/svg-edit/editor/locale/lang.uk.js
+++ b/public/svg-edit/editor/locale/lang.uk.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Вирівняти по відношенню до ..."},
-{"id": "bkgnd_color", "title": "Зміна кольору тла / непрозорість"},
-{"id": "circle_cx", "title": "CX зміну кола координата"},
-{"id": "circle_cy", "title": "Зміни гуртка CY координати"},
-{"id": "circle_r", "title": "Зміна кола's радіус"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Зміни прямокутник Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Зміни еліпса CX координати"},
-{"id": "ellipse_cy", "title": "Зміни еліпса CY координати"},
-{"id": "ellipse_rx", "title": "Х Зміни еліпса радіусом"},
-{"id": "ellipse_ry", "title": "Зміни у еліпса радіусом"},
-{"id": "fill_color", "title": "Зміна кольору заливки"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "Змінити URL"},
-{"id": "image_width", "title": "Зміни ширина зображення"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"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": "Зміни починає координати лінія х"},
-{"id": "line_x2", "title": "Зміни за період, що закінчився лінія координати х"},
-{"id": "line_y1", "title": "Зміни лінія починає Y координата"},
-{"id": "line_y2", "title": "Зміна за період, що закінчився лінія Y координата"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "сторінка"},
-{"id": "palette", "title": "Натисніть для зміни кольору заливки, Shift-Click змінити обвід"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Зміни прямокутник висотою"},
-{"id": "rect_width_tool", "title": "Зміна ширини прямокутника"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "Зміна кута повороту"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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": "Видалити вибрані елементи [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "Властивості документа"},
-{"id": "tool_docprops_cancel", "textContent": "Скасування"},
-{"id": "tool_docprops_save", "textContent": "Зберегти"},
-{"id": "tool_ellipse", "title": "Еліпс"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Вільної руки Еліпс"},
-{"id": "tool_fhpath", "title": "Pencil Tool"},
-{"id": "tool_fhrect", "title": "Вільної руки Прямокутник"},
-{"id": "tool_font_size", "title": "Змінити розмір шрифту"},
-{"id": "tool_group", "title": "Група елементів"},
-{"id": "tool_image", "title": "Image Tool"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Похилий текст"},
-{"id": "tool_line", "title": "Line Tool"},
-{"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_opacity", "title": "Зміна вибраного пункту непрозорості"},
-{"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": "Текст Tool"},
-{"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": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Зміна масштабу"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "uk",
+ dir : "ltr",
+ common: {
+ "ok": "Зберегти",
+ "cancel": "Скасування",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Натисніть для зміни кольору заливки, Shift-Click змінити обвід",
+ "zoom_level": "Зміна масштабу",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Зміна кольору заливки",
+ "stroke_color": "Зміна кольору інсульт",
+ "stroke_style": "Зміна стилю інсульт тире",
+ "stroke_width": "Зміни ширина штриха",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Зміна кола's радіус",
+ "ellipse_cx": "Зміни еліпса CX координати",
+ "ellipse_cy": "Зміни еліпса CY координати",
+ "ellipse_rx": "Х Зміни еліпса радіусом",
+ "ellipse_ry": "Зміни у еліпса радіусом",
+ "line_x1": "Зміни починає координати лінія х",
+ "line_x2": "Зміни за період, що закінчився лінія координати х",
+ "line_y1": "Зміни лінія починає Y координата",
+ "line_y2": "Зміна за період, що закінчився лінія Y координата",
+ "rect_height": "Зміни прямокутник висотою",
+ "rect_width": "Зміна ширини прямокутника",
+ "corner_radius": "Зміни прямокутник Corner Radius",
+ "image_width": "Зміни ширина зображення",
+ "image_height": "Зміна висоти зображення",
+ "image_url": "Змінити URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Зміна змісту тексту",
+ "font_family": "Зміни Сімейство шрифтів",
+ "font_size": "Змінити розмір шрифту",
+ "bold": "Товстий текст",
+ "italic": "Похилий текст"
+ },
+ tools: {
+ "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": "в порівнянні з:",
+ "сторінка": "сторінка",
+ "largest_object": "найбільший об'єкт",
+ "selected_objects": "обраними об'єктами",
+ "smallest_object": "маленький об'єкт",
+ "new_doc": "Нове зображення",
+ "open_doc": "Відкрити зображення",
+ "export_png": "Export as PNG",
+ "save_doc": "Зберегти малюнок",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Вирівняти по нижньому краю",
+ "align_center": "Вирівняти по центру",
+ "align_left": "По лівому краю",
+ "align_middle": "Вирівняти Близького",
+ "align_right": "По правому краю",
+ "align_top": "Вирівняти по верхньому краю",
+ "mode_select": "Виберіть інструмент",
+ "mode_fhpath": "Pencil Tool",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Вільної руки Прямокутник",
+ "mode_ellipse": "Еліпс",
+ "mode_circle": "Коло",
+ "mode_fhellipse": "Вільної руки Еліпс",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Текст Tool",
+ "mode_image": "Image Tool",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Скасувати",
+ "redo": "Повтор",
+ "tool_source": "Змінити вихідний",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Група елементів",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Елементи розгрупувати",
+ "docprops": "Властивості документа",
+ "imagelib": "Image Library",
+ "move_bottom": "Перемістити вниз",
+ "move_top": "Перемістити догори",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.vi.js b/public/svg-edit/editor/locale/lang.vi.js
index 5db7d000..8f8119d2 100644
--- a/public/svg-edit/editor/locale/lang.vi.js
+++ b/public/svg-edit/editor/locale/lang.vi.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "Căn liên quan đến ..."},
-{"id": "bkgnd_color", "title": "Thay đổi màu nền / opacity"},
-{"id": "circle_cx", "title": "Thay đổi hình tròn của cx phối hợp"},
-{"id": "circle_cy", "title": "Thay đổi hình tròn của vi phối hợp"},
-{"id": "circle_r", "title": "Thay đổi bán kính của hình tròn"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "Thay đổi chữ nhật Corner Radius"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "Thay đổi hình elip của cx phối hợp"},
-{"id": "ellipse_cy", "title": "Thay đổi hình elip của vi phối hợp"},
-{"id": "ellipse_rx", "title": "Thay đổi hình elip của x bán kính"},
-{"id": "ellipse_ry", "title": "Y Thay đổi bán kính của hình ellipse"},
-{"id": "fill_color", "title": "Thay đổi đầy màu sắc"},
-{"id": "fitToContent", "textContent": "Phù hợp với nội dung"},
-{"id": "fit_to_all", "textContent": "Phù hợp với tất cả nội dung"},
-{"id": "fit_to_canvas", "textContent": "Phù hợp với vải"},
-{"id": "fit_to_layer_content", "textContent": "Vào lớp phù hợp với nội dung"},
-{"id": "fit_to_sel", "textContent": "Phù hợp để lựa chọn"},
-{"id": "font_family", "title": "Thay đổi Font Gia đình"},
-{"id": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"id": "image_height", "title": "Thay đổi hình ảnh chiều cao"},
-{"id": "image_opt_embed", "textContent": "Embed data (local files)"},
-{"id": "image_opt_ref", "textContent": "Use file reference"},
-{"id": "image_url", "title": "Thay đổi URL"},
-{"id": "image_width", "title": "Thay đổi hình ảnh rộng"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"id": "largest_object", "textContent": "lớn nhất đối tượng"},
-{"id": "layer_delete", "title": "Xoá Layer"},
-{"id": "layer_down", "title": "Move Layer Down"},
-{"id": "layer_new", "title": "New Layer"},
-{"id": "layer_rename", "title": "Đổi tên Layer"},
-{"id": "layer_up", "title": "Di chuyển Layer Up"},
-{"id": "layersLabel", "textContent": "Lớp:"},
-{"id": "line_x1", "title": "Thay đổi dòng của bắt đầu từ x phối hợp"},
-{"id": "line_x2", "title": "Thay đổi dòng của x kết thúc sớm nhất phối hợp"},
-{"id": "line_y1", "title": "Thay đổi dòng của bắt đầu từ y phối hợp"},
-{"id": "line_y2", "title": "Thay đổi dòng của kết thúc y phối hợp"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "Sửa"},
-{"id": "palette", "title": "Nhấn vào đây để thay đổi đầy màu sắc, thay đổi nhấp chuột để thay đổi màu sắc đột quỵ"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "Thay đổi hình chữ nhật chiều cao"},
-{"id": "rect_width_tool", "title": "Thay đổi hình chữ nhật chiều rộng"},
-{"id": "relativeToLabel", "textContent": "liên quan đến:"},
-{"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": "Chọn định sẵn:"},
-{"id": "selected_objects", "textContent": "bầu các đối tượng"},
-{"id": "selected_x", "title": "Change X coordinate"},
-{"id": "selected_y", "title": "Change Y coordinate"},
-{"id": "smallest_object", "textContent": "nhỏ đối tượng"},
-{"id": "straight_segments", "textContent": "Straight"},
-{"id": "stroke_color", "title": "Thay đổi màu sắc đột quỵ"},
-{"id": "stroke_style", "title": "Thay đổi phong cách đột quỵ dash"},
-{"id": "stroke_width", "title": "Thay đổi chiều rộng đột quỵ"},
-{"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": "Chiều cao:"},
-{"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": "Chiều rộng:"},
-{"id": "text", "title": "Thay đổi nội dung văn bản"},
-{"id": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "Align Bottom"},
-{"id": "tool_aligncenter", "title": "Căn giữa"},
-{"id": "tool_alignleft", "title": "Căn còn lại"},
-{"id": "tool_alignmiddle", "title": "Căn Trung"},
-{"id": "tool_alignright", "title": "Căn phải"},
-{"id": "tool_aligntop", "title": "Căn Top"},
-{"id": "tool_angle", "title": "Thay đổi góc xoay"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"id": "tool_bold", "title": "Bold Text"},
-{"id": "tool_circle", "title": "Circle"},
-{"id": "tool_clear", "textContent": "Hình mới"},
-{"id": "tool_clone", "title": "Clone Element"},
-{"id": "tool_clone_multi", "title": "Clone Elements"},
-{"id": "tool_delete", "title": "Xóa Element"},
-{"id": "tool_delete_multi", "title": "Delete Selected Elements"},
-{"id": "tool_docprops", "textContent": "Document Properties"},
-{"id": "tool_docprops_cancel", "textContent": "Hủy"},
-{"id": "tool_docprops_save", "textContent": "Lưu"},
-{"id": "tool_ellipse", "title": "Ellipse"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Việt-Hand Ellipse"},
-{"id": "tool_fhpath", "title": "Bút chì Công cụ"},
-{"id": "tool_fhrect", "title": "Việt-Hand Hình chữ nhật"},
-{"id": "tool_font_size", "title": "Thay đổi cỡ chữ"},
-{"id": "tool_group", "title": "Nhóm Elements"},
-{"id": "tool_image", "title": "Hình Công cụ"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "Italic Text"},
-{"id": "tool_line", "title": "Line Tool"},
-{"id": "tool_move_bottom", "title": "Chuyển đến đáy"},
-{"id": "tool_move_top", "title": "Move to Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "Thay đổi lựa chọn opacity mục"},
-{"id": "tool_open", "textContent": "Mở Image"},
-{"id": "tool_path", "title": "Path Tool"},
-{"id": "tool_rect", "title": "Hình chữ nhật"},
-{"id": "tool_redo", "title": "Làm lại"},
-{"id": "tool_reorient", "title": "Reorient path"},
-{"id": "tool_save", "textContent": "Save Image"},
-{"id": "tool_select", "title": "Chọn Công cụ"},
-{"id": "tool_source", "title": "Sửa Nguồn"},
-{"id": "tool_source_cancel", "textContent": "Hủy"},
-{"id": "tool_source_save", "textContent": "Lưu"},
-{"id": "tool_square", "title": "Hình vuông"},
-{"id": "tool_text", "title": "Text Tool"},
-{"id": "tool_topath", "title": "Convert to Path"},
-{"id": "tool_undo", "title": "Hoàn tác"},
-{"id": "tool_ungroup", "title": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "Zoom Tool"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "Thay đổi mức độ phóng"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "vi",
+ dir : "ltr",
+ common: {
+ "ok": "Lưu",
+ "cancel": "Hủy",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "Nhấn vào đây để thay đổi đầy màu sắc, thay đổi nhấp chuột để thay đổi màu sắc đột quỵ",
+ "zoom_level": "Thay đổi mức độ phóng",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "Thay đổi đầy màu sắc",
+ "stroke_color": "Thay đổi màu sắc đột quỵ",
+ "stroke_style": "Thay đổi phong cách đột quỵ dash",
+ "stroke_width": "Thay đổi chiều rộng đột quỵ",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "Thay đổi góc xoay",
+ "blur": "Change gaussian blur value",
+ "opacity": "Thay đổi lựa chọn opacity mục",
+ "circle_cx": "Thay đổi hình tròn của cx phối hợp",
+ "circle_cy": "Thay đổi hình tròn của vi phối hợp",
+ "circle_r": "Thay đổi bán kính của hình tròn",
+ "ellipse_cx": "Thay đổi hình elip của cx phối hợp",
+ "ellipse_cy": "Thay đổi hình elip của vi phối hợp",
+ "ellipse_rx": "Thay đổi hình elip của x bán kính",
+ "ellipse_ry": "Y Thay đổi bán kính của hình ellipse",
+ "line_x1": "Thay đổi dòng của bắt đầu từ x phối hợp",
+ "line_x2": "Thay đổi dòng của x kết thúc sớm nhất phối hợp",
+ "line_y1": "Thay đổi dòng của bắt đầu từ y phối hợp",
+ "line_y2": "Thay đổi dòng của kết thúc y phối hợp",
+ "rect_height": "Thay đổi hình chữ nhật chiều cao",
+ "rect_width": "Thay đổi hình chữ nhật chiều rộng",
+ "corner_radius": "Thay đổi chữ nhật Corner Radius",
+ "image_width": "Thay đổi hình ảnh rộng",
+ "image_height": "Thay đổi hình ảnh chiều cao",
+ "image_url": "Thay đổi URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "Thay đổi nội dung văn bản",
+ "font_family": "Thay đổi Font Gia đình",
+ "font_size": "Thay đổi cỡ chữ",
+ "bold": "Bold Text",
+ "italic": "Italic Text"
+ },
+ tools: {
+ "main_menu": "Main Menu",
+ "bkgnd_color_opac": "Thay đổi màu nền / opacity",
+ "connector_no_arrow": "No arrow",
+ "fitToContent": "Phù hợp với nội dung",
+ "fit_to_all": "Phù hợp với tất cả nội dung",
+ "fit_to_canvas": "Phù hợp với vải",
+ "fit_to_layer_content": "Vào lớp phù hợp với nội dung",
+ "fit_to_sel": "Phù hợp để lựa chọn",
+ "align_relative_to": "Căn liên quan đến ...",
+ "relativeTo": "liên quan đến:",
+ "Sửa": "Sửa",
+ "largest_object": "lớn nhất đối tượng",
+ "selected_objects": "bầu các đối tượng",
+ "smallest_object": "nhỏ đối tượng",
+ "new_doc": "Hình mới",
+ "open_doc": "Mở Image",
+ "export_png": "Export as PNG",
+ "save_doc": "Save Image",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "Align Bottom",
+ "align_center": "Căn giữa",
+ "align_left": "Căn còn lại",
+ "align_middle": "Căn Trung",
+ "align_right": "Căn phải",
+ "align_top": "Căn Top",
+ "mode_select": "Chọn Công cụ",
+ "mode_fhpath": "Bút chì Công cụ",
+ "mode_line": "Line Tool",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Việt-Hand Hình chữ nhật",
+ "mode_ellipse": "Ellipse",
+ "mode_circle": "Circle",
+ "mode_fhellipse": "Việt-Hand Ellipse",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "Text Tool",
+ "mode_image": "Hình Công cụ",
+ "mode_zoom": "Zoom Tool",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "Hoàn tác",
+ "redo": "Làm lại",
+ "tool_source": "Sửa Nguồn",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "Nhóm Elements",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "Document Properties",
+ "imagelib": "Image Library",
+ "move_bottom": "Chuyển đến đáy",
+ "move_top": "Move to Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "add_subpath": "Add sub-path",
+ "openclose_path": "Open/close sub-path",
+ "source_save": "Lưu",
+ "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"
+ },
+ layers: {
+ "layer":"Layer",
+ "layers": "Layers",
+ "del": "Xoá Layer",
+ "move_down": "Move Layer Down",
+ "new": "New Layer",
+ "rename": "Đổi tên Layer",
+ "move_up": "Di chuyển Layer Up",
+ "dupe": "Duplicate Layer",
+ "merge_down": "Merge Down",
+ "merge_all": "Merge All",
+ "move_elems_to": "Move elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "icon_large": "Large",
+ "icon_medium": "Medium",
+ "icon_small": "Small",
+ "icon_xlarge": "Extra Large",
+ "select_predefined": "Chọn định sẵn:",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.yi.js b/public/svg-edit/editor/locale/lang.yi.js
index 3a7e63e2..2233da0f 100644
--- a/public/svg-edit/editor/locale/lang.yi.js
+++ b/public/svg-edit/editor/locale/lang.yi.js
@@ -1,173 +1,234 @@
-[
-{"id": "align_relative_to", "title": "יינרייען קאָרעוו צו ..."},
-{"id": "bkgnd_color", "title": "ענדערן הינטערגרונט פאַרב / אָופּאַסאַטי"},
-{"id": "circle_cx", "title": "ענדערן קרייז ס קקס קאָואָרדאַנאַט"},
-{"id": "circle_cy", "title": "ענדערן קרייז ס סי קאָואָרדאַנאַט"},
-{"id": "circle_r", "title": "ענדערן קרייז ס ראַדיוס"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "ענדערן רעקטאַנגלע קאָרנער ראַדיוס"},
-{"id": "curve_segments", "textContent": "Curve"},
-{"id": "ellipse_cx", "title": "ענדערן יליפּס ס קקס קאָואָרדאַנאַט"},
-{"id": "ellipse_cy", "title": "ענדערן יליפּס ס סי קאָואָרדאַנאַט"},
-{"id": "ellipse_rx", "title": "ענדערן יליפּס ס 'קס ראַדיוס"},
-{"id": "ellipse_ry", "title": "ענדערן יליפּס ס 'י ראַדיוס"},
-{"id": "fill_color", "title": "ענדערן אָנעסן קאָליר"},
-{"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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "ענדערן URL"},
-{"id": "image_width", "title": "טוישן בילד ברייט"},
-{"id": "includedImages", "textContent": "Included Images"},
-{"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": "טוישן ליניע ס 'סטאַרטינג קס קאָואָרדאַנאַט"},
-{"id": "line_x2", "title": "טוישן ליניע ס 'סאָף קס קאָואָרדאַנאַט"},
-{"id": "line_y1", "title": "טוישן ליניע ס 'סטאַרטינג י קאָואָרדאַנאַט"},
-{"id": "line_y2", "title": "טוישן ליניע ס 'סאָף י קאָואָרדאַנאַט"},
-{"id": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "בלאַט"},
-{"id": "palette", "title": "גיט צו ענדערן אָנעסן קאָליר, יבעררוק-גיט צו טוישן מאַך קאָליר"},
-{"id": "path_node_x", "title": "Change node's x coordinate"},
-{"id": "path_node_y", "title": "Change node's y coordinate"},
-{"id": "rect_height_tool", "title": "ענדערן גראָדעק הייך"},
-{"id": "rect_width_tool", "title": "ענדערן גראָדעק ברייט"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"id": "tool_alignbottom", "title": "יינרייען באָטטאָם"},
-{"id": "tool_aligncenter", "title": "יינרייען צענטער"},
-{"id": "tool_alignleft", "title": "יינרייען לעפט"},
-{"id": "tool_alignmiddle", "title": "יינרייען מיטל"},
-{"id": "tool_alignright", "title": "יינרייען רעכט"},
-{"id": "tool_aligntop", "title": "יינרייען Top"},
-{"id": "tool_angle", "title": "ענדערן ראָוטיישאַן ווינקל"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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": "ויסמעקן סעלעקטעד עלעמענץ [Delete/Backspace]"},
-{"id": "tool_docprops", "textContent": "דאָקומענט פּראָפּערטיעס"},
-{"id": "tool_docprops_cancel", "textContent": "באָטל מאַכן"},
-{"id": "tool_docprops_save", "textContent": "היט"},
-{"id": "tool_ellipse", "title": "עלליפּסע"},
-{"id": "tool_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "Free-הענט עלליפּסע"},
-{"id": "tool_fhpath", "title": "בלייער טול"},
-{"id": "tool_fhrect", "title": "Free-הענט רעקטאַנגלע"},
-{"id": "tool_font_size", "title": "בייטן פאָנט גרייס"},
-{"id": "tool_group", "title": "גרופּע עלעמענץ"},
-{"id": "tool_image", "title": "בילד טול"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"id": "tool_italic", "title": "יטאַליק טעקסט"},
-{"id": "tool_line", "title": "שורה טול"},
-{"id": "tool_move_bottom", "title": "מאַך צו באָטטאָם"},
-{"id": "tool_move_top", "title": "באַוועגן צו Top"},
-{"id": "tool_node_clone", "title": "Clone Node"},
-{"id": "tool_node_delete", "title": "Delete Node"},
-{"id": "tool_node_link", "title": "Link Control Points"},
-{"id": "tool_opacity", "title": "ענדערן סעלעקטעד נומער אָופּאַסאַטי"},
-{"id": "tool_open", "textContent": "Open בילד"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "ענדערן פארגרעסער הייך"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "yi",
+ dir : "ltr",
+ common: {
+ "ok": "היט",
+ "cancel": "באָטל מאַכן",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "גיט צו ענדערן אָנעסן קאָליר, יבעררוק-גיט צו טוישן מאַך קאָליר",
+ "zoom_level": "ענדערן פארגרעסער הייך",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "ענדערן אָנעסן קאָליר",
+ "stroke_color": "טוישן מאַך קאָליר",
+ "stroke_style": "טוישן מאַך לאָך מאָדע",
+ "stroke_width": "טוישן מאַך ברייט",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "ענדערן קרייז ס קקס קאָואָרדאַנאַט",
+ "circle_cy": "ענדערן קרייז ס סי קאָואָרדאַנאַט",
+ "circle_r": "ענדערן קרייז ס ראַדיוס",
+ "ellipse_cx": "ענדערן יליפּס ס קקס קאָואָרדאַנאַט",
+ "ellipse_cy": "ענדערן יליפּס ס סי קאָואָרדאַנאַט",
+ "ellipse_rx": "ענדערן יליפּס ס 'קס ראַדיוס",
+ "ellipse_ry": "ענדערן יליפּס ס 'י ראַדיוס",
+ "line_x1": "טוישן ליניע ס 'סטאַרטינג קס קאָואָרדאַנאַט",
+ "line_x2": "טוישן ליניע ס 'סאָף קס קאָואָרדאַנאַט",
+ "line_y1": "טוישן ליניע ס 'סטאַרטינג י קאָואָרדאַנאַט",
+ "line_y2": "טוישן ליניע ס 'סאָף י קאָואָרדאַנאַט",
+ "rect_height": "ענדערן גראָדעק הייך",
+ "rect_width": "ענדערן גראָדעק ברייט",
+ "corner_radius": "ענדערן רעקטאַנגלע קאָרנער ראַדיוס",
+ "image_width": "טוישן בילד ברייט",
+ "image_height": "טוישן בילד הייך",
+ "image_url": "ענדערן URL",
+ "node_x": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "ענדערן טעקסט אינהאַלט",
+ "font_family": "ענדערן פאָנט פאַמילי",
+ "font_size": "בייטן פאָנט גרייס",
+ "bold": "דרייסט טעקסט",
+ "italic": "יטאַליק טעקסט"
+ },
+ tools: {
+ "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": "קאָרעוו צו:",
+ "בלאַט": "בלאַט",
+ "largest_object": "לאַרדזשאַסט קעגן",
+ "selected_objects": "עלעקטעד אַבדזשעקץ",
+ "smallest_object": "סמאָלאַסט קעגן",
+ "new_doc": "ניו בילד",
+ "open_doc": "Open בילד",
+ "export_png": "Export as PNG",
+ "save_doc": "היט בילד",
+ "import_doc": "Import SVG",
+ "align_to_page": "Align Element to Page",
+ "align_bottom": "יינרייען באָטטאָם",
+ "align_center": "יינרייען צענטער",
+ "align_left": "יינרייען לעפט",
+ "align_middle": "יינרייען מיטל",
+ "align_right": "יינרייען רעכט",
+ "align_top": "יינרייען Top",
+ "mode_select": "סעלעקטירן טול",
+ "mode_fhpath": "בלייער טול",
+ "mode_line": "שורה טול",
+ "mode_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "Free-הענט רעקטאַנגלע",
+ "mode_ellipse": "עלליפּסע",
+ "mode_circle": "קאַראַהאָד",
+ "mode_fhellipse": "Free-הענט עלליפּסע",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "טעקסט טול",
+ "mode_image": "בילד טול",
+ "mode_zoom": "פארגרעסער טול",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "ופמאַכן",
+ "redo": "רעדאָ",
+ "tool_source": "רעדאַקטירן סאָרס",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "גרופּע עלעמענץ",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "ונגראָופּ עלעמענץ",
+ "docprops": "דאָקומענט פּראָפּערטיעס",
+ "imagelib": "Image Library",
+ "move_bottom": "מאַך צו באָטטאָם",
+ "move_top": "באַוועגן צו Top",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.zh-CN.js b/public/svg-edit/editor/locale/lang.zh-CN.js
index 86ae15fd..86ad5e65 100644
--- a/public/svg-edit/editor/locale/lang.zh-CN.js
+++ b/public/svg-edit/editor/locale/lang.zh-CN.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "相对对齐 ..."},
-{"id": "bkgnd_color", "title": "更改背景颜色/不透明"},
-{"id": "circle_cx", "title": "改变循环的CX坐标"},
-{"id": "circle_cy", "title": "改变循环的赛扬坐标"},
-{"id": "circle_r", "title": "改变圆的半径"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "矩形角半径的变化"},
-{"id": "cornerRadiusLabel", "title": "角半径:"},
-{"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": "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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"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_tool", "title": "更改矩形的高度"},
-{"id": "rect_width_tool", "title": "更改矩形的宽度"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "旋转角度的变化"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "免费手椭圆"},
-{"id": "tool_fhpath", "title": "铅笔工具"},
-{"id": "tool_fhrect", "title": "免费手矩形"},
-{"id": "tool_font_size", "title": "更改字体大小"},
-{"id": "tool_group", "title": "族元素"},
-{"id": "tool_image", "title": "图像工具"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "更改所选项目不透明"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "更改缩放级别"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "zh-CN",
+ dir : "ltr",
+ common: {
+ "ok": "保存",
+ "cancel": "取消",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "点击更改填充颜色,按住Shift键单击更改颜色中风",
+ "zoom_level": "更改缩放级别",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "更改填充颜色",
+ "stroke_color": "中风的颜色变化",
+ "stroke_style": "更改行程冲刺风格",
+ "stroke_width": "笔划宽度的变化",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "改变循环的赛扬坐标",
+ "circle_r": "改变圆的半径",
+ "ellipse_cx": "改变椭圆的CX坐标",
+ "ellipse_cy": "改变椭圆的赛扬坐标",
+ "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": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "更改文字内容",
+ "font_family": "更改字体家族",
+ "font_size": "更改字体大小",
+ "bold": "粗体",
+ "italic": "斜体文本"
+ },
+ tools: {
+ "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": "相对于:",
+ "网页": "网页",
+ "largest_object": "最大对象",
+ "selected_objects": "选对象",
+ "smallest_object": "最小的对象",
+ "new_doc": "新形象",
+ "open_doc": "打开图像",
+ "export_png": "Export as PNG",
+ "save_doc": "保存图像",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "免费手矩形",
+ "mode_ellipse": "椭圆",
+ "mode_circle": "圈",
+ "mode_fhellipse": "免费手椭圆",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "文字工具",
+ "mode_image": "图像工具",
+ "mode_zoom": "缩放工具",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "撤消",
+ "redo": "重做",
+ "tool_source": "编辑源",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "族元素",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "取消组合元素",
+ "docprops": "文档属性",
+ "imagelib": "Image Library",
+ "move_bottom": "移至底部",
+ "move_top": "移动到顶部",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.zh-HK.js b/public/svg-edit/editor/locale/lang.zh-HK.js
index bb595afb..06a55a78 100644
--- a/public/svg-edit/editor/locale/lang.zh-HK.js
+++ b/public/svg-edit/editor/locale/lang.zh-HK.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "相对对齐 ..."},
-{"id": "bkgnd_color", "title": "更改背景颜色/不透明"},
-{"id": "circle_cx", "title": "改变循环的CX坐标"},
-{"id": "circle_cy", "title": "改变循环的赛扬坐标"},
-{"id": "circle_r", "title": "改变圆的半径"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "矩形角半径的变化"},
-{"id": "cornerRadiusLabel", "title": "角半径:"},
-{"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": "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": "icon_large", "textContent": "Large"},
-{"id": "icon_medium", "textContent": "Medium"},
-{"id": "icon_small", "textContent": "Small"},
-{"id": "icon_xlarge", "textContent": "Extra Large"},
-{"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": "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"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_tool", "title": "更改矩形的高度"},
-{"id": "rect_width_tool", "title": "更改矩形的宽度"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "旋转角度的变化"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "免费手椭圆"},
-{"id": "tool_fhpath", "title": "铅笔工具"},
-{"id": "tool_fhrect", "title": "免费手矩形"},
-{"id": "tool_font_size", "title": "更改字体大小"},
-{"id": "tool_group", "title": "族元素"},
-{"id": "tool_image", "title": "图像工具"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "更改所选项目不透明"},
-{"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": "Ungroup Elements"},
-{"id": "tool_wireframe", "title": "Wireframe Mode"},
-{"id": "tool_zoom", "title": "缩放工具"},
-{"id": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "更改缩放级别"},
-{"id": "sidepanel_handle", "textContent": "L a y e r s", "title": "Drag left/right to resize side panel"},
-{
- "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",
- "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.",
- "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",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "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",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "No content to fit to",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "OK",
- "pathCtrlPtTooltip": "Drag control point to adjust curve properties",
- "pathNodeTooltip": "Drag node to move it. Double-click node to change segment type",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "zh-HK",
+ dir : "ltr",
+ common: {
+ "ok": "保存",
+ "cancel": "取消",
+ "key_backspace": "backspace",
+ "key_del": "delete",
+ "key_down": "down",
+ "key_up": "up",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "点击更改填充颜色,按住Shift键单击更改颜色中风",
+ "zoom_level": "更改缩放级别",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "id": "Identify the element",
+ "fill_color": "更改填充颜色",
+ "stroke_color": "中风的颜色变化",
+ "stroke_style": "更改行程冲刺风格",
+ "stroke_width": "笔划宽度的变化",
+ "pos_x": "Change X coordinate",
+ "pos_y": "Change Y coordinate",
+ "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": "改变循环的赛扬坐标",
+ "circle_r": "改变圆的半径",
+ "ellipse_cx": "改变椭圆的CX坐标",
+ "ellipse_cy": "改变椭圆的赛扬坐标",
+ "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": "Change node's x coordinate",
+ "node_y": "Change node's y coordinate",
+ "seg_type": "Change Segment type",
+ "straight_segments": "Straight",
+ "curve_segments": "Curve",
+ "text_contents": "更改文字内容",
+ "font_family": "更改字体家族",
+ "font_size": "更改字体大小",
+ "bold": "粗体",
+ "italic": "斜体文本"
+ },
+ tools: {
+ "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": "相对于:",
+ "网页": "网页",
+ "largest_object": "最大对象",
+ "selected_objects": "选对象",
+ "smallest_object": "最小的对象",
+ "new_doc": "新形象",
+ "open_doc": "打开图像",
+ "export_png": "Export as PNG",
+ "save_doc": "保存图像",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "免费手矩形",
+ "mode_ellipse": "椭圆",
+ "mode_circle": "圈",
+ "mode_fhellipse": "免费手椭圆",
+ "mode_path": "Path Tool",
+ "mode_shapelib": "Shape library",
+ "mode_text": "文字工具",
+ "mode_image": "图像工具",
+ "mode_zoom": "缩放工具",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "撤消",
+ "redo": "重做",
+ "tool_source": "编辑源",
+ "wireframe_mode": "Wireframe Mode",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "族元素",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "Convert to Path",
+ "reorient_path": "Reorient path",
+ "ungroup": "Ungroup Elements",
+ "docprops": "文档属性",
+ "imagelib": "Image Library",
+ "move_bottom": "移至底部",
+ "move_top": "移动到顶部",
+ "node_clone": "Clone Node",
+ "node_delete": "Delete Node",
+ "node_link": "Link Control Points",
+ "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"
+ },
+ layers: {
+ "layer":"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 elements to:",
+ "move_selected": "Move selected elements to a different layer"
+ },
+ config: {
+ "image_props": "Image Properties",
+ "doc_title": "Title",
+ "doc_dims": "Canvas Dimensions",
+ "included_images": "Included Images",
+ "image_opt_embed": "Embed data (local files)",
+ "image_opt_ref": "Use file reference",
+ "editor_prefs": "Editor Preferences",
+ "icon_size": "Icon size",
+ "language": "Language",
+ "background": "Editor Background",
+ "editor_img_url": "Image URL",
+ "editor_bg_note": "Note: Background will not be saved with image.",
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"Invalid value given",
+ "noContentToFitTo":"No content to fit to",
+ "dupeLayerName":"There is already a layer named that!",
+ "enterUniqueLayerName":"Please enter a unique layer name",
+ "enterNewLayerName":"Please enter the new layer name",
+ "layerHasThatName":"Layer already has that name",
+ "QmoveElemsToLayer":"Move selected elements to layer '%s'?",
+ "QwantToClear":"Do you want to clear the drawing?\nThis will also erase your undo history!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"There were parsing errors in your SVG source.\nRevert back to original SVG source?",
+ "QignoreSourceChanges":"Ignore changes made to SVG source?",
+ "featNotSupported":"Feature not supported",
+ "enterNewImgURL":"Enter the new image URL",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/lang.zh-TW.js b/public/svg-edit/editor/locale/lang.zh-TW.js
index 31303f6b..5d32e0fb 100644
--- a/public/svg-edit/editor/locale/lang.zh-TW.js
+++ b/public/svg-edit/editor/locale/lang.zh-TW.js
@@ -1,174 +1,234 @@
-[
-{"id": "align_relative_to", "title": "相對對齊 ..."},
-{"id": "bkgnd_color", "title": "更改背景顏色/不透明"},
-{"id": "circle_cx", "title": "改變圓的CX坐標"},
-{"id": "circle_cy", "title": "改變圓的CY坐標"},
-{"id": "circle_r", "title": "改變圓的半徑"},
-{"id": "connector_no_arrow", "textContent": "No arrow"},
-{"id": "copyrightLabel", "textContent": "Powered by"},
-{"id": "cornerRadiusLabel", "title": "矩形角半徑的變化"},
-{"id": "cornerRadiusLabel", "title": "角半徑:"},
-{"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": "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": "icon_large", "textContent": "大"},
-{"id": "icon_medium", "textContent": "中"},
-{"id": "icon_small", "textContent": "小"},
-{"id": "icon_xlarge", "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": "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": "linecap_butt", "title": "Linecap: Butt"},
-{"id": "linecap_round", "title": "Linecap: Round"},
-{"id": "linecap_square", "title": "Linecap: Square"},
-{"id": "linejoin_bevel", "title": "Linejoin: Bevel"},
-{"id": "linejoin_miter", "title": "Linejoin: Miter"},
-{"id": "linejoin_round", "title": "Linejoin: Round"},
-{"id": "main_icon", "title": "Main Menu"},
-{"id": "mode_connect", "title": "Connect two objects"},
-{"id": "page", "textContent": "網頁"},
-{"id": "palette", "title": "點擊更改填充顏色,按住Shift鍵單擊更改線條顏色"},
-{"id": "path_node_x", "title": "改變節點的x軸座標"},
-{"id": "path_node_y", "title": "改變節點的y軸座標"},
-{"id": "rect_height_tool", "title": "更改矩形的高度"},
-{"id": "rect_width_tool", "title": "更改矩形的寬度"},
-{"id": "relativeToLabel", "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_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": "toggle_stroke_tools", "title": "Show/hide more stroke tools"},
-{"id": "tool_add_subpath", "title": "Add sub-path"},
-{"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_angle", "title": "旋轉角度"},
-{"id": "tool_blur", "title": "Change gaussian blur value"},
-{"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_export", "textContent": "Export as PNG"},
-{"id": "tool_eyedropper", "title": "Eye Dropper Tool"},
-{"id": "tool_fhellipse", "title": "徒手畫橢圓"},
-{"id": "tool_fhpath", "title": "鉛筆工具"},
-{"id": "tool_fhrect", "title": "徒手畫矩形"},
-{"id": "tool_font_size", "title": "更改字體大小"},
-{"id": "tool_group", "title": "群組"},
-{"id": "tool_image", "title": "圖像工具"},
-{"id": "tool_import", "textContent": "Import SVG"},
-{"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_opacity", "title": "更改所選項目不透明度"},
-{"id": "tool_open", "textContent": "打開圖像"},
-{"id": "tool_path", "title": "路徑工具"},
-{"id": "tool_rect", "title": "矩形"},
-{"id": "tool_redo", "title": "復原"},
-{"id": "tool_reorient", "title": "調整路徑"},
-{"id": "tool_save", "textContent": "保存圖像"},
-{"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": "url_notice", "title": "NOTE: This image cannot be embedded. It will depend on this path to be displayed"},
-{"id": "zoom_panel", "title": "更改縮放級別"},
-{"id": "sidepanel_handle", "textContent": "圖層", "title": "拖拉以改變側邊面板的大小"},
-{
- "js_strings": {
- "QerrorsRevertToSource": "SVG原始碼解析錯誤\n要回復到原本的SVG原始碼嗎?",
- "QignoreSourceChanges": "要忽略對SVG原始碼的更動嗎?",
- "QmoveElemsToLayer": "要搬移所選取的物件到'%s'層嗎?",
- "QwantToClear": "要清空圖像嗎?\n這會順便清空你的回復紀錄!",
- "cancel": "取消",
- "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.",
- "dupeLayerName": "喔不!已經有另一個同樣名稱的圖層了!",
- "enterNewImgURL": "輸入新的圖片網址",
- "enterNewLayerName": "請輸入新圖層的名稱",
- "enterUniqueLayerName": "請輸入一個名稱不重複的",
- "exportNoBlur": "Blurred elements will appear as un-blurred",
- "exportNoDashArray": "Strokes will appear filled",
- "exportNoImage": "Image elements will not appear",
- "exportNoText": "Text may not appear as expected",
- "exportNoforeignObject": "foreignObject elements will not appear",
- "featNotSupported": "未提供此功能",
- "invalidAttrValGiven": "數值給定錯誤",
- "key_backspace": "空白",
- "key_del": "刪除",
- "key_down": "下",
- "key_up": "上",
- "layer": "圖層",
- "layerHasThatName": "圖層本來就是這個名稱(抱怨)",
- "loadingImage": "Loading image, please wait...",
- "noContentToFitTo": "找不到符合的內容",
- "noteTheseIssues": "Also note the following issues: ",
- "ok": "確定",
- "pathCtrlPtTooltip": "拖拉控制點以改變曲線性質",
- "pathNodeTooltip": "拖拉節點以移動, 連擊節點以改變線段型態(直線/曲線)",
- "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file."
- }
-}
-]
\ No newline at end of file
+svgEditor.readLang({
+ lang: "zh-TW",
+ dir : "ltr",
+ common: {
+ "ok": "保存",
+ "cancel": "取消",
+ "key_backspace": "空白",
+ "key_del": "刪除",
+ "key_down": "下",
+ "key_up": "上",
+ "more_opts": "More Options",
+ "url": "URL",
+ "width": "Width",
+ "height": "Height"
+ },
+ misc: {
+ "powered_by": "Powered by"
+ },
+ ui: {
+ "toggle_stroke_tools": "Show/hide more stroke tools",
+ "palette_info": "點擊更改填充顏色,按住Shift鍵單擊更改線條顏色",
+ "zoom_level": "更改縮放級別",
+ "panel_drag": "Drag left/right to resize side panel"
+ },
+ properties: {
+ "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": "斜體"
+ },
+ tools: {
+ "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": "相對於:",
+ "網頁": "網頁",
+ "largest_object": "最大的物件",
+ "selected_objects": "選取物件",
+ "smallest_object": "最小的物件",
+ "new_doc": "清空圖像",
+ "open_doc": "打開圖像",
+ "export_png": "Export as PNG",
+ "save_doc": "保存圖像",
+ "import_doc": "Import SVG",
+ "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_connect": "Connect two objects",
+ "mode_rect": "Rectangle Tool",
+ "mode_square": "Square Tool",
+ "mode_fhrect": "徒手畫矩形",
+ "mode_ellipse": "橢圓",
+ "mode_circle": "圓",
+ "mode_fhellipse": "徒手畫橢圓",
+ "mode_path": "路徑工具",
+ "mode_shapelib": "Shape library",
+ "mode_text": "文字工具",
+ "mode_image": "圖像工具",
+ "mode_zoom": "縮放工具",
+ "mode_eyedropper": "Eye Dropper Tool",
+ "no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed",
+ "undo": "取消復原",
+ "redo": "復原",
+ "tool_source": "編輯SVG原始碼",
+ "wireframe_mode": "框線模式(只瀏覽線條)",
+ "toggle_grid": "Show/Hide Grid",
+ "clone": "Clone Element(s)",
+ "del": "Delete Element(s)",
+ "group": "群組",
+ "make_link": "Make (hyper)link",
+ "set_link_url": "Set link URL (leave empty to remove)",
+ "to_path": "轉換成路徑",
+ "reorient_path": "調整路徑",
+ "ungroup": "取消群組",
+ "docprops": "文件屬性",
+ "imagelib": "Image Library",
+ "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",
+ "group": "Group",
+ "move_front": "Bring to Front",
+ "move_up": "Bring Forward",
+ "move_down": "Send Backward",
+ "move_back": "Send to Back"
+ },
+ layers: {
+ "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": "移動被點選的物件其他圖層"
+ },
+ config: {
+ "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:"
+ },
+ shape_cats: {
+ "basic": "Basic",
+ "object": "Objects",
+ "symbol": "Symbols",
+ "arrow": "Arrows",
+ "flowchart": "Flowchart",
+ "animal": "Animals",
+ "game": "Cards & Chess",
+ "dialog_balloon": "Dialog balloons",
+ "electronics": "Electronics",
+ "math": "Mathematical",
+ "music": "Music",
+ "misc": "Miscellaneous",
+ "raphael_1": "raphaeljs.com set 1",
+ "raphael_2": "raphaeljs.com set 2"
+ },
+ imagelib: {
+ "select_lib": "Select an image library",
+ "show_list": "Show library list",
+ "import_single": "Import single",
+ "import_multi": "Import multiple",
+ "open": "Open as new document"
+ },
+ notification: {
+ "invalidAttrValGiven":"數值給定錯誤",
+ "noContentToFitTo":"找不到符合的內容",
+ "dupeLayerName":"喔不!已經有另一個同樣名稱的圖層了!",
+ "enterUniqueLayerName":"請輸入一個名稱不重複的",
+ "enterNewLayerName":"請輸入新圖層的名稱",
+ "layerHasThatName":"圖層本來就是這個名稱(抱怨)",
+ "QmoveElemsToLayer":"要搬移所選取的物件到'%s'層嗎?",
+ "QwantToClear":"要清空圖像嗎?\n這會順便清空你的回復紀錄!",
+ "QwantToOpen":"Do you want to open a new file?\nThis will also erase your undo history!",
+ "QerrorsRevertToSource":"SVG原始碼解析錯誤\n要回復到原本的SVG原始碼嗎?",
+ "QignoreSourceChanges":"要忽略對SVG原始碼的更動嗎?",
+ "featNotSupported":"未提供此功能",
+ "enterNewImgURL":"輸入新的圖片網址",
+ "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...",
+ "saveFromBrowser": "Select \"Save As...\" in your browser to save this image as a %s file.",
+ "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\"..."
+ }
+});
\ No newline at end of file
diff --git a/public/svg-edit/editor/locale/locale.js b/public/svg-edit/editor/locale/locale.js
index ce73288f..e480a2ae 100644
--- a/public/svg-edit/editor/locale/locale.js
+++ b/public/svg-edit/editor/locale/locale.js
@@ -8,9 +8,272 @@
*
*/
+// Dependencies
+// 1) jQuery
+// 2) svgcanvas.js
+// 3) svg-editor.js
+
var svgEditor = (function($, Editor) {
+
+ var lang_param;
+
+ function setStrings(type, obj, ids) {
+ // Root element to look for element from
+ var parent = $('#svg_editor').parent();
+ for(var sel in obj) {
+ var val = obj[sel];
+ if(!val) console.log(sel);
+
+ if(ids) sel = '#' + sel;
+ var $elem = parent.find(sel);
+ if($elem.length) {
+ var elem = parent.find(sel)[0];
+
+ switch ( type ) {
+ case 'content':
+ for(var i = 0; i < elem.childNodes.length; i++) {
+ var node = elem.childNodes[i];
+ if(node.nodeType === 3 && node.textContent.replace(/\s/g,'')) {
+ node.textContent = val;
+ break;
+ }
+ }
+ break;
+
+ case 'title':
+ elem.title = val;
+ break;
+ }
+
+
+ } else {
+ console.log('Missing: ' + sel);
+ }
+ }
+ }
+
+ Editor.readLang = function(langData) {
+ var more = Editor.canvas.runExtensions("addlangData", lang_param, true);
+ $.each(more, function(i, m) {
+ if(m.data) {
+ langData = $.merge(langData, m.data);
+ }
+ });
+
+ // Old locale file, do nothing for now.
+ if(!langData.tools) return;
+
+ var tools = langData.tools,
+ misc = langData.misc,
+ properties = langData.properties,
+ config = langData.config,
+ layers = langData.layers,
+ common = langData.common,
+ ui = langData.ui;
+
+ setStrings('content', {
+ copyrightLabel: misc.powered_by,
+ curve_segments: properties.curve_segments,
+ fitToContent: tools.fitToContent,
+ fit_to_all: tools.fit_to_all,
+ fit_to_canvas: tools.fit_to_canvas,
+ fit_to_layer_content: tools.fit_to_layer_content,
+ fit_to_sel: tools.fit_to_sel,
+
+ icon_large: config.icon_large,
+ icon_medium: config.icon_medium,
+ icon_small: config.icon_small,
+ icon_xlarge: config.icon_xlarge,
+ image_opt_embed: config.image_opt_embed,
+ image_opt_ref: config.image_opt_ref,
+ includedImages: config.included_images,
+
+ largest_object: tools.largest_object,
+
+ layersLabel: layers.layers,
+ page: tools.page,
+ relativeToLabel: tools.relativeTo,
+ selLayerLabel: layers.move_elems_to,
+ selectedPredefined: config.select_predefined,
+
+ selected_objects: tools.selected_objects,
+ smallest_object: tools.smallest_object,
+ straight_segments: properties.straight_segments,
+
+ svginfo_bg_url: config.editor_img_url + ":",
+ svginfo_bg_note: config.editor_bg_note,
+ svginfo_change_background: config.background,
+ svginfo_dim: config.doc_dims,
+ svginfo_editor_prefs: config.editor_prefs,
+ svginfo_height: common.height,
+ svginfo_icons: config.icon_size,
+ svginfo_image_props: config.image_props,
+ svginfo_lang: config.language,
+ svginfo_title: config.doc_title,
+ svginfo_width: common.width,
+
+ tool_docprops_cancel: common.cancel,
+ tool_docprops_save: common.ok,
+
+ tool_source_cancel: common.cancel,
+ tool_source_save: common.ok,
+
+ tool_prefs_cancel: common.cancel,
+ tool_prefs_save: common.ok,
+
+ sidepanel_handle: layers.layers.split('').join(' '),
+
+ tool_clear: tools.new_doc,
+ tool_docprops: tools.docprops,
+ tool_export: tools.export_png,
+ tool_import: tools.import_doc,
+ tool_imagelib: tools.imagelib,
+ tool_open: tools.open_doc,
+ tool_save: tools.save_doc,
+
+ svginfo_units_rulers: config.units_and_rulers,
+ svginfo_rulers_onoff: config.show_rulers,
+ svginfo_unit: config.base_unit,
+
+ svginfo_grid_settings: config.grid,
+ svginfo_snap_onoff: config.snapping_onoff,
+ svginfo_snap_step: config.snapping_stepsize
+ }, true);
+
+ // Shape categories
+ var cats = {};
+ for (var o in langData.shape_cats) {
+ cats['#shape_cats [data-cat="' + o + '"]'] = langData.shape_cats[o];
+ }
+
+ // TODO: Find way to make this run after shapelib ext has loaded
+ setTimeout(function() {
+ setStrings('content', cats);
+ }, 2000);
+
+ // Context menus
+ var opts = {};
+ $.each(['cut','copy','paste', 'paste_in_place', 'delete', 'group', 'ungroup', 'move_front', 'move_up', 'move_down', 'move_back'], function() {
+ opts['#cmenu_canvas a[href="#' + this + '"]'] = tools[this];
+ });
+
+ $.each(['dupe','merge_down', 'merge_all'], function() {
+ opts['#cmenu_layers a[href="#' + this + '"]'] = layers[this];
+ });
+
+ opts['#cmenu_layers a[href="#delete"]'] = layers.del;
+
+ setStrings('content', opts);
+
+ setStrings('title', {
+ align_relative_to: tools.align_relative_to,
+ circle_cx: properties.circle_cx,
+ circle_cy: properties.circle_cy,
+ circle_r: properties.circle_r,
+ cornerRadiusLabel: properties.corner_radius,
+ ellipse_cx: properties.ellipse_cx,
+ ellipse_cy: properties.ellipse_cy,
+ ellipse_rx: properties.ellipse_rx,
+ ellipse_ry: properties.ellipse_ry,
+ fill_color: properties.fill_color,
+ font_family: properties.font_family,
+ idLabel: properties.id,
+ image_height: properties.image_height,
+ image_url: properties.image_url,
+ image_width: properties.image_width,
+ layer_delete: layers.del,
+ layer_down: layers.move_down,
+ layer_new: layers['new'],
+ layer_rename: layers.rename,
+ layer_moreopts: common.more_opts,
+ layer_up: layers.move_up,
+ line_x1: properties.line_x1,
+ line_x2: properties.line_x2,
+ line_y1: properties.line_y1,
+ line_y2: properties.line_y2,
+ linecap_butt: properties.linecap_butt,
+ linecap_round: properties.linecap_round,
+ linecap_square: properties.linecap_square,
+ linejoin_bevel: properties.linejoin_bevel,
+ linejoin_miter: properties.linejoin_miter,
+ linejoin_round: properties.linejoin_round,
+ main_icon: tools.main_menu,
+ mode_connect: tools.mode_connect,
+ tools_shapelib_show: tools.mode_shapelib,
+ palette: ui.palette_info,
+ zoom_panel: ui.zoom_level,
+ path_node_x: properties.node_x,
+ path_node_y: properties.node_y,
+ rect_height_tool: properties.rect_height,
+ rect_width_tool: properties.rect_width,
+ seg_type: properties.seg_type,
+ selLayerNames: layers.move_selected,
+ selected_x: properties.pos_x,
+ selected_y: properties.pos_y,
+ stroke_color: properties.stroke_color,
+ stroke_style: properties.stroke_style,
+ stroke_width: properties.stroke_width,
+ svginfo_title: config.doc_title,
+ text: properties.text_contents,
+ toggle_stroke_tools: ui.toggle_stroke_tools,
+ tool_add_subpath: tools.add_subpath,
+ tool_alignbottom: tools.align_bottom,
+ tool_aligncenter: tools.align_center,
+ tool_alignleft: tools.align_left,
+ tool_alignmiddle: tools.align_middle,
+ tool_alignright: tools.align_right,
+ tool_aligntop: tools.align_top,
+ tool_angle: properties.angle,
+ tool_blur: properties.blur,
+ tool_bold: properties.bold,
+ tool_circle: tools.mode_circle,
+ tool_clone: tools.clone,
+ tool_clone_multi: tools.clone,
+ tool_delete: tools.del,
+ tool_delete_multi: tools.del,
+ tool_ellipse: tools.mode_ellipse,
+ tool_eyedropper: tools.mode_eyedropper,
+ tool_fhellipse: tools.mode_fhellipse,
+ tool_fhpath: tools.mode_fhpath,
+ tool_fhrect: tools.mode_fhrect,
+ tool_font_size: properties.font_size,
+ tool_group: tools.group,
+ tool_make_link: tools.make_link,
+ tool_link_url: tools.set_link_url,
+ tool_image: tools.mode_image,
+ tool_italic: properties.italic,
+ tool_line: tools.mode_line,
+ tool_move_bottom: tools.move_bottom,
+ tool_move_top: tools.move_top,
+ tool_node_clone: tools.node_clone,
+ tool_node_delete: tools.node_delete,
+ tool_node_link: tools.node_link,
+ tool_opacity: properties.opacity,
+ tool_openclose_path: tools.openclose_path,
+ tool_path: tools.mode_path,
+ tool_position: tools.align_to_page,
+ tool_rect: tools.mode_rect,
+ tool_redo: tools.redo,
+ tool_reorient: tools.reorient_path,
+ tool_select: tools.mode_select,
+ tool_source: tools.source_save,
+ tool_square: tools.mode_square,
+ tool_text: tools.mode_text,
+ tool_topath: tools.to_path,
+ tool_undo: tools.undo,
+ tool_ungroup: tools.ungroup,
+ tool_wireframe: tools.wireframe_mode,
+ view_grid: tools.toggle_grid,
+ tool_zoom: tools.mode_zoom,
+ url_notice: tools.no_embed
+
+ }
+ , true);
+
+ Editor.setLang(lang_param, langData);
+ }
+
Editor.putLocale = function(given_param, good_langs){
- var lang_param;
if(given_param) {
lang_param = given_param;
@@ -25,56 +288,28 @@ var svgEditor = (function($, Editor) {
return;
}
+ console.log('Lang: ' + lang_param);
+
// Set to English if language is not in list of good langs
- if($.inArray(lang_param, good_langs) == -1) {
+ if($.inArray(lang_param, good_langs) == -1 && lang_param !== 'test') {
lang_param = "en";
}
// don't bother on first run if language is English
if(lang_param.indexOf("en") == 0) return;
+
}
var conf = Editor.curConfig;
var url = conf.langPath + "lang." + lang_param + ".js";
- var processFile = function(data){
- var LangData = eval(data), js_strings;
- var more = Editor.canvas.runExtensions("addLangData", lang_param, true);
- $.each(more, function(i, m) {
- if(m.data) {
- LangData = $.merge(LangData, m.data);
- }
- });
- $.each(LangData, function(i, data) {
- if(data.id) {
- var elem = $('#svg_editor').parent().find('#'+data.id)[0];
- if(elem) {
- if(data.title)
- elem.title = data.title;
- if(data.textContent) {
- // Only replace non-empty text nodes, not elements
- $.each(elem.childNodes, function(j, node) {
- if(node.nodeType == 3 && $.trim(node.textContent)) {
- node.textContent = data.textContent;
- }
- });
- }
- }
- } else if(data.js_strings) {
- js_strings = data.js_strings;
- }
- });
- Editor.setLang(lang_param, js_strings);
- }
-
$.ajax({
'url': url,
- 'dataType': "text",
- success: processFile,
+ 'dataType': "script",
error: function(xhr) {
if(xhr.responseText) {
- processFile(xhr.responseText);
+ Editor.readLang(eval(xhr.responseText));
}
}
});
@@ -82,3 +317,4 @@ var svgEditor = (function($, Editor) {
return Editor;
}(jQuery, svgEditor));
+
diff --git a/public/svg-edit/editor/math.js b/public/svg-edit/editor/math.js
index 5ae1e949..d69bc3f1 100644
--- a/public/svg-edit/editor/math.js
+++ b/public/svg-edit/editor/math.js
@@ -10,11 +10,9 @@
// Dependencies:
// None.
-(function() {
+var svgedit = svgedit || {};
-if (!window.svgedit) {
- window.svgedit = {};
-}
+(function() {
if (!svgedit.math) {
svgedit.math = {};
diff --git a/public/svg-edit/editor/sanitize.js b/public/svg-edit/editor/sanitize.js
index 0a14bb9f..6442332c 100644
--- a/public/svg-edit/editor/sanitize.js
+++ b/public/svg-edit/editor/sanitize.js
@@ -8,14 +8,12 @@
*/
// Dependencies:
-// 1) browsersupport.js
+// 1) browser.js
// 2) svgutils.js
-(function() {
+var svgedit = svgedit || {};
-if (!window.svgedit) {
- window.svgedit = {};
-}
+(function() {
if (!svgedit.sanitize) {
svgedit.sanitize = {};
@@ -184,7 +182,7 @@ svgedit.sanitize.sanitizeSvg = function(node) {
}
// Add spaces before negative signs where necessary
- if(svgedit.browsersupport.isGecko()) {
+ if(svgedit.browser.isGecko()) {
switch ( attrName ) {
case "transform":
case "gradientTransform":
diff --git a/public/svg-edit/editor/select.js b/public/svg-edit/editor/select.js
index a75161d1..c13f2918 100644
--- a/public/svg-edit/editor/select.js
+++ b/public/svg-edit/editor/select.js
@@ -9,15 +9,13 @@
// Dependencies:
// 1) jQuery
-// 2) browsersupport.js
+// 2) browser.js
// 3) math.js
// 4) svgutils.js
-(function() {
+var svgedit = svgedit || {};
-if (!window.svgedit) {
- window.svgedit = {};
-}
+(function() {
if (!svgedit.select) {
svgedit.select = {};
@@ -383,7 +381,7 @@ svgedit.select.SelectorManager.prototype.initGroup = function() {
'height': dims[1],
'x': 0,
'y': 0,
- 'overflow': (svgedit.browsersupport.isWebkit() ? 'none' : 'visible'), // Chrome 7 has a problem with this when zooming out
+ 'overflow': (svgedit.browser.isWebkit() ? 'none' : 'visible'), // Chrome 7 has a problem with this when zooming out
'style': 'pointer-events:none'
}
});
@@ -404,7 +402,7 @@ svgedit.select.SelectorManager.prototype.initGroup = function() {
// Both Firefox and WebKit are too slow with this filter region (especially at higher
// zoom levels) and Opera has at least one bug
-// if (!svgedit.browsersupport.isOpera()) rect.setAttribute('filter', 'url(#canvashadow)');
+// if (!svgedit.browser.isOpera()) rect.setAttribute('filter', 'url(#canvashadow)');
canvasbg.appendChild(rect);
svgFactory_.svgRoot().insertBefore(canvasbg, svgFactory_.svgContent());
};
diff --git a/public/svg-edit/editor/svg-editor.css b/public/svg-edit/editor/svg-editor.css
index c13f1b03..dc5f2fc2 100644
--- a/public/svg-edit/editor/svg-editor.css
+++ b/public/svg-edit/editor/svg-editor.css
@@ -2,6 +2,13 @@
background: #D0D0D0;
}
+#browser-not-supported {
+ font-size: 0.8em;
+ font-family: Verdana, Helvetica, Arial;
+ color: #000000;
+}
+
+
#svg_editor * {
transform-origin: 0 0;
-moz-transform-origin: 0 0;
@@ -163,6 +170,11 @@
padding-top: 4px
}
+#svg_editor #linkLabel > svg {
+ height: 20px;
+ padding-top: 4px;
+}
+
#color_tools .icon_label > * {
position: relative;
top: 1px;
@@ -252,7 +264,7 @@
padding: 0px;
padding-left: 2px;
padding-right: 2px;
- width: 123px;
+ width: 125px;
height: 20px;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
@@ -406,7 +418,7 @@
z-index: 12;
background: #E8E8E8;
position: relative;
- width: 200px;
+ width: 230px;
padding: 5px;
-moz-box-shadow: #555 1px 1px 4px;
-webkit-box-shadow: #555 1px 1px 4px;
@@ -473,9 +485,7 @@
top: 2px;
height: 72px;
border-bottom: none;
- /* Ideally this should be auto (makes scrollbar if needed), but currently hides
- the .dropdown lists.
-/* overflow: auto;*/
+ overflow: auto;
}
#svg_editor #tools_left {
@@ -506,7 +516,7 @@
stroke: none;
}
-#workarea.wireframe #canvasBackground rect {
+#workarea.wireframe #canvasBackground > rect {
fill: #FFF !important;
}
@@ -520,9 +530,10 @@
#cur_context_panel {
position: absolute;
- top: 70px;
- left: -10px;
+ top: 77px;
+ left: 40px;
right: -2px;
+ line-height: 22px;
overflow: auto;
border: 1px solid #777;
border-bottom: none;
@@ -659,7 +670,7 @@ span.zoom_tool {
background: #FFC;
}
-#font_family_dropdown li {
+#font_family_dropdown-list li {
font-size: 1.4em;
}
@@ -775,7 +786,7 @@ span.zoom_tool {
display: none;
background: #E8E8E8;
height: 350px;
- z-index: 4;
+ z-index: 5;
}
#svg_editor .tools_flyout {
@@ -902,7 +913,7 @@ span.zoom_tool {
#tools_top .dropdown .icon_label {
border: 1px solid transparent;
- margin-top: 3px;
+/* margin-top: 3px;*/
height: auto;
}
diff --git a/public/svg-edit/editor/svg-editor.html b/public/svg-edit/editor/svg-editor.html
index 09f207aa..0fd4dc43 100644
--- a/public/svg-edit/editor/svg-editor.html
+++ b/public/svg-edit/editor/svg-editor.html
@@ -9,37 +9,39 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
--->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -115,14 +117,14 @@
- New Image [N]
+ New Image (N)
- Open Image [O]
+ Open Image
@@ -134,7 +136,7 @@
- Save Image [S]
+ Save Image (S)
@@ -144,7 +146,7 @@
- Document Properties [P]
+ Document Properties (D)
@@ -182,13 +184,14 @@
+