Fixed bug where wireframe mode would hide grid, made minor translation changes
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1886 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
833b280504
commit
3622c3d92b
|
@ -156,6 +156,10 @@
|
|||
"exportNoImage": "Image elements will not appear",
|
||||
"exportNoText": "Text may not appear as expected",
|
||||
"exportNoforeignObject": "foreignObject elements will not appear",
|
||||
"unsavedChanges": "There are unsaved changes.",
|
||||
"enterNewLinkURL": "Enter the new hyperlink URL",
|
||||
"errorLoadingSVG": "Error: Unable to load SVG data",
|
||||
"URLloadFail": "Unable to load from URL",
|
||||
"featNotSupported": "Feature not supported",
|
||||
"invalidAttrValGiven": "Invalid value given",
|
||||
"key_backspace": "backspace",
|
||||
|
|
|
@ -139,6 +139,20 @@
|
|||
{"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"},
|
||||
|
||||
// {"id": "tool_prefs_cancel", "textContent": "Annuleren"},
|
||||
// {"id": "tool_prefs_save", "textContent": "Ok"},
|
||||
// {"id": "tool_imagelib", "textContent": "!!! Image Library"},
|
||||
// {"id": "tool_prefs_option", "textContent": "!!! Editor Options"},
|
||||
// {"id": "svginfo_units_rulers", "textContent": "!!! Units & Rulers"},
|
||||
// {"id": "svginfo_rulers_onoff", "textContent": "!!! Show rulers"},
|
||||
// {"id": "show_rulers", "textContent": "!!! Show rulers"},
|
||||
// {"id": "svginfo_unit", "textContent": "!!! Base Unit:"},
|
||||
// {"id": "svginfo_snap_onoff", "textContent": "!!! Snapping on/off"},
|
||||
// {"id": "svginfo_snap_step", "textContent": "!!! Snapping Step-Size:"},
|
||||
// {"id": "svginfo_grid_settings", "textContent": "!!! Grid"},
|
||||
// {"id": "view_grid", "title": "!!! Show/Hide Grid"},
|
||||
|
||||
{
|
||||
"js_strings": {
|
||||
"QerrorsRevertToSource": "Er waren analyse fouten in je SVG bron.\nTeruggaan naar de originele SVG bron?",
|
||||
|
@ -170,7 +184,12 @@
|
|||
"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."
|
||||
"saveFromBrowser": "Kies \"Save As...\" in je browser om dit plaatje op te slaan als een %s bestand.",
|
||||
|
||||
// "unsavedChanges": "There are unsaved changes.",
|
||||
// "enterNewLinkURL": "Enter the new hyperlink URL",
|
||||
// "errorLoadingSVG": "Error: Unable to load SVG data",
|
||||
// "URLloadFail": "Unable to load from URL",
|
||||
}
|
||||
}
|
||||
]
|
|
@ -511,7 +511,7 @@
|
|||
stroke: none;
|
||||
}
|
||||
|
||||
#workarea.wireframe #canvasBackground rect {
|
||||
#workarea.wireframe #canvasBackground > rect {
|
||||
fill: #FFF !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -78,6 +78,10 @@
|
|||
"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",
|
||||
"ok":"OK",
|
||||
"cancel":"Cancel",
|
||||
"key_up":"Up",
|
||||
|
@ -249,6 +253,15 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
var good_langs = [];
|
||||
|
||||
$('#lang_select option').each(function() {
|
||||
good_langs.push(this.value);
|
||||
});
|
||||
|
||||
// var lang = ('lang' in curPrefs) ? curPrefs.lang : null;
|
||||
Editor.putLocale(null, good_langs);
|
||||
}
|
||||
|
||||
// Load extensions
|
||||
|
@ -2417,7 +2430,7 @@
|
|||
|
||||
var makeHyperlink = function() {
|
||||
if (selectedElement != null || multiselected) {
|
||||
$.prompt("Set URL for hyperlink", "http://", function(url) {
|
||||
$.prompt(uiStrings.enterNewLinkURL, "http://", function(url) {
|
||||
if(url) svgCanvas.makeHyperlink(url);
|
||||
});
|
||||
}
|
||||
|
@ -4167,7 +4180,7 @@
|
|||
// show_save_warning is set to "false" when the page is saved.
|
||||
if(!curConfig.no_save_warning && show_save_warning) {
|
||||
// Browser already asks question about closing the page
|
||||
return "There are unsaved changes.";
|
||||
return uiStrings.unsavedChanges;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -4460,15 +4473,6 @@
|
|||
// revnums += svgCanvas.getVersion();
|
||||
// $('#copyright')[0].setAttribute("title", revnums);
|
||||
|
||||
var good_langs = [];
|
||||
|
||||
$('#lang_select option').each(function() {
|
||||
good_langs.push(this.value);
|
||||
});
|
||||
|
||||
// var lang = ('lang' in curPrefs) ? curPrefs.lang : null;
|
||||
Editor.putLocale(null, good_langs);
|
||||
|
||||
// Callback handler for embedapi.js
|
||||
try{
|
||||
var json_encode = function(obj){
|
||||
|
@ -4571,7 +4575,7 @@
|
|||
if(success) {
|
||||
callback(true);
|
||||
} else {
|
||||
$.alert('Error: Unable to load SVG data', function() {
|
||||
$.alert(uiStrings.errorLoadingSVG, function() {
|
||||
callback(false);
|
||||
});
|
||||
}
|
||||
|
@ -4616,7 +4620,7 @@
|
|||
if(xhr.status != 404 && xhr.responseText) {
|
||||
loadSvgString(xhr.responseText, cb);
|
||||
} else {
|
||||
$.alert("Unable to load from URL. Error: \n"+err+'', cb);
|
||||
$.alert(uiStrings.URLloadFail + ": \n"+err+'', cb);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue