373 lines
16 KiB
JavaScript
373 lines
16 KiB
JavaScript
({
|
|
common: {
|
|
"ok": 'OK',
|
|
"cancel": 'Cancel',
|
|
"key_backspace": "backspace",
|
|
"key_del": "delete",
|
|
"key_down": "down",
|
|
"key_up": "up",
|
|
"layer": "Layer",
|
|
"more_opts": "More Options",
|
|
"url": "URL",
|
|
"width": "Width",
|
|
"height": "Height"
|
|
},
|
|
misc: {
|
|
"powered_by": "Powered by" // "copyrightLabel"
|
|
},
|
|
ui: {
|
|
"toggle_stroke_tools": "Show/hide more stroke tools", // "toggle_stroke_tools"
|
|
"palette_info": "Click to change fill color, shift-click to change stroke color", // "palette"
|
|
"zoom_level": "Change zoom level", // "zoom_panel"
|
|
"panel_drag": "Drag left/right to resize side panel"
|
|
},
|
|
properties: {
|
|
"id": "Identify the element", // "idLabel"
|
|
"fill_color": "Change fill color", // "fill_color"
|
|
"stroke_color": "Change stroke color", // "stroke_color"
|
|
"stroke_style": "Change stroke dash style", // "stroke_style"
|
|
"stroke_width": "Change stroke width by 1, shift-click to change by 0.1", // "stroke_width"
|
|
"pos_x": "Change X coordinate", // "selected_x"
|
|
"pos_y": "Change Y coordinate", // "selected_y"
|
|
"linecap_butt": "Linecap: Butt", // "linecap_butt"
|
|
"linecap_round": "Linecap: Round", // "linecap_round"
|
|
"linecap_square": "Linecap: Square", // "linecap_square"
|
|
"linejoin_bevel": "Linejoin: Bevel", // "linejoin_bevel"
|
|
"linejoin_miter": "Linejoin: Miter", // "linejoin_miter"
|
|
"linejoin_round": "Linejoin: Round", // "linejoin_round"
|
|
"angle": "Change rotation angle", // "tool_angle"
|
|
"blur": "Change gaussian blur value", // "tool_blur"
|
|
"opacity": "Change selected item opacity", // "tool_opacity"
|
|
"circle_cx": "Change circle's cx coordinate", // "circle_cx"
|
|
"circle_cy": "Change circle's cy coordinate", // "circle_cy"
|
|
"circle_r": "Change circle's radius", // "circle_r"
|
|
"ellipse_cx": "Change ellipse's cx coordinate", // "ellipse_cx"
|
|
"ellipse_cy": "Change ellipse's cy coordinate", // "ellipse_cy"
|
|
"ellipse_rx": "Change ellipse's x radius", // "ellipse_rx"
|
|
"ellipse_ry": "Change ellipse's y radius", // "ellipse_ry"
|
|
"line_x1": "Change line's starting x coordinate", // "line_x1"
|
|
"line_x2": "Change line's ending x coordinate", // "line_x2"
|
|
"line_y1": "Change line's starting y coordinate", // "line_y1"
|
|
"line_y2": "Change line's ending y coordinate", // "line_y2"
|
|
"rect_height": "Change rectangle height", // "rect_height_tool"
|
|
"rect_width": "Change rectangle width", // "rect_width_tool"
|
|
"corner_radius": "Change Rectangle Corner Radius", // "cornerRadiusLabel"
|
|
"image_width": "Change image width", // "image_width"
|
|
"image_height": "Change image height", // "image_height"
|
|
"image_url": "Change URL", // "image_url"
|
|
"node_x": "Change node's x coordinate", // "path_node_x"
|
|
"node_y": "Change node's y coordinate", // "path_node_y"
|
|
"seg_type": "Change Segment type", // "seg_type"
|
|
"straight_segments": "Straight", // "straight_segments"
|
|
"curve_segments": "Curve", // "curve_segments"
|
|
"text_contents": "Change text contents", // "text"
|
|
"font_family": "Change Font Family", // "font_family"
|
|
"font_size": "Change Font Size", // "tool_font_size"
|
|
"bold": "Bold Text", // "tool_bold"
|
|
"italic": "Italic Text" // "tool_italic"
|
|
},
|
|
|
|
tools: {
|
|
"main_menu": "Main Menu", // "main_icon"
|
|
"bkgnd_color_opac": "Change background color/opacity", // "bkgnd_color"
|
|
"connector_no_arrow": "No arrow", // "connector_no_arrow"
|
|
"fitToContent": "Fit to Content", // "fitToContent"
|
|
"fit_to_all": "Fit to all content", // "fit_to_all"
|
|
"fit_to_canvas": "Fit to canvas", // "fit_to_canvas"
|
|
"fit_to_layer_content": "Fit to layer content", // "fit_to_layer_content"
|
|
"fit_to_sel": "Fit to selection", // "fit_to_sel"
|
|
"align_relative_to": "Align relative to ...", // "align_relative_to"
|
|
"relativeTo": "relative to:", // "relativeToLabel"
|
|
"page": "page", // "page"
|
|
"largest_object": "largest object", // "largest_object"
|
|
"selected_objects": "selected objects", // "selected_objects"
|
|
"smallest_object": "smallest object", // "smallest_object"
|
|
"new_doc": "New Image", // "tool_clear"
|
|
"open_doc": "Open Image", // "tool_open"
|
|
"export_png": "Export as PNG", // "tool_export"
|
|
"save_doc": "Save Image", // "tool_save"
|
|
"import_doc": "Import SVG", // "tool_import"
|
|
"align_to_page": "Align Element to Page", // "tool_position"
|
|
"align_bottom": "Align Bottom", // "tool_alignbottom"
|
|
"align_center": "Align Center", // "tool_aligncenter"
|
|
"align_left": "Align Left", // "tool_alignleft"
|
|
"align_middle": "Align Middle", // "tool_alignmiddle"
|
|
"align_right": "Align Right", // "tool_alignright"
|
|
"align_top": "Align Top", // "tool_aligntop"
|
|
"mode_select": "Select Tool", // "tool_select"
|
|
"mode_fhpath": "Pencil Tool", // "tool_fhpath"
|
|
"mode_line": "Line Tool", // "tool_line"
|
|
"mode_connect": "Connect two objects", // "tool_connect"
|
|
"mode_rect": "Rectangle Tool", // "tool_rect"
|
|
"mode_square": "Square Tool", // "tool_square"
|
|
"mode_fhrect": "Free-Hand Rectangle", // "tool_fhrect"
|
|
"mode_ellipse": "Ellipse", // "tool_ellipse"
|
|
"mode_circle": "Circle", // "tool_circle"
|
|
"mode_fhellipse": "Free-Hand Ellipse", // "tool_fhellipse"
|
|
"mode_path": "Path Tool", // "tool_path"
|
|
"mode_shapelib": "Shape library", // "tools_shapelib_show"
|
|
"mode_text": "Text Tool", // "tool_text"
|
|
"mode_image": "Image Tool", // "tool_image"
|
|
"mode_zoom": "Zoom Tool", // "tool_zoom"
|
|
"mode_eyedropper": "Eye Dropper Tool", // "tool_eyedropper"
|
|
|
|
"no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed", // "url_notice"
|
|
|
|
"undo": "Undo", // "tool_undo"
|
|
"redo": "Redo", // "tool_redo"
|
|
"tool_source": "Edit Source", // "tool_source"
|
|
"wireframe_mode": "Wireframe Mode", // "tool_wireframe"
|
|
"toggle_grid": "Show/Hide Grid", // "view_grid"
|
|
"clone": "Clone Element(s)", // "tool_clone"
|
|
// "tool_clone_multi": "Clone Elements", // "tool_clone_multi"
|
|
"del": "Delete Element(s)", // "tool_delete"
|
|
// "tool_delete_multi": "Delete Selected Elements", // "tool_delete_multi"
|
|
"group": "Group Elements", // "tool_group"
|
|
"make_link": "Make (hyper)link", // "tool_make_link"
|
|
"set_link_url": "Set link URL (leave empty to remove)", // "tool_link_url"
|
|
"to_path": "Convert to Path", // "tool_topath"
|
|
"reorient_path": "Reorient path", // "tool_reorient"
|
|
"ungroup": "Ungroup Elements", // "tool_ungroup"
|
|
"docprops": "Document Properties", // "tool_docprops"
|
|
"imagelib": "Image Library", // "tool_imagelib"
|
|
"move_bottom": "Move to Bottom", // "tool_move_bottom"
|
|
"move_top": "Move to Top", // "tool_move_top"
|
|
"node_clone": "Clone Node", // "tool_node_clone"
|
|
"node_delete": "Delete Node", // "tool_node_delete"
|
|
"node_link": "Link Control Points", // "tool_node_link"
|
|
"add_subpath": "Add sub-path", // "tool_add_subpath"
|
|
"openclose_path": "Open/close sub-path", // "tool_openclose_path"
|
|
"source_save": "Apply Changes", // "tool_source_save"
|
|
"cut": "Cut", // "cut"
|
|
"copy": "Copy", // "copy"
|
|
"paste": "Paste", // "paste"
|
|
"paste_in_place": "Paste in Place", // "paste_in_place"
|
|
"delete": "Delete", // "delete"
|
|
"group": "Group", // "group"
|
|
"move_front": "Bring to Front", // "move_front"
|
|
"move_up": "Bring Forward", // "move_up"
|
|
"move_down": "Send Backward", // "move_down"
|
|
"move_back": "Send to Back" // "move_back"
|
|
},
|
|
layers: {
|
|
"layers": "Layers", // "layersLabel"
|
|
"del": "Delete Layer", // "layer_delete"
|
|
"move_down": "Move Layer Down", // "layer_down"
|
|
"new": "New Layer", // "layer_new"
|
|
"rename": "Rename Layer", // "layer_rename"
|
|
"move_up": "Move Layer Up", // "layer_up"
|
|
"dupe": "Duplicate Layer", // "dupe"
|
|
"merge_down": "Merge Down", // "merge_down"
|
|
"merge_all": "Merge All", // "merge_all"
|
|
"move_elems_to": "Move elements to:", // "selLayerLabel"
|
|
"move_selected": "Move selected elements to a different layer" // "selLayerNames"
|
|
},
|
|
config: {
|
|
"image_props": "Image Properties", // "svginfo_image_props"
|
|
"doc_title": "Title", // "svginfo_title"
|
|
"doc_dims": "Canvas Dimensions", // "svginfo_dim"
|
|
// "svginfo_width": "Width:", // "svginfo_width"
|
|
// "svginfo_height": "Height:", // "svginfo_height"
|
|
"included_images": "Included Images", // "includedImages"
|
|
"image_opt_embed": "Embed data (local files)", // "image_opt_embed"
|
|
"image_opt_ref": "Use file reference", // "image_opt_ref"
|
|
"editor_prefs": "Editor Preferences", // "svginfo_editor_prefs"
|
|
"icon_size": "Icon size", // "svginfo_icons"
|
|
"language": "Language", // "svginfo_lang"
|
|
"background": "Editor Background", // "svginfo_change_background"
|
|
"editor_img_url": "Image URL", // "image_url"
|
|
"editor_bg_note": "Note: Background will not be saved with image.", // "svginfo_bg_note"
|
|
"icon_large": "Large", // "icon_large"
|
|
"icon_medium": "Medium", // "icon_medium"
|
|
"icon_small": "Small", // "icon_small"
|
|
"icon_xlarge": "Extra Large", // "icon_xlarge"
|
|
"select_predefined": "Select predefined:", // "selectedPredefined"
|
|
units_and_rulers: "Units & Rulers", // units_and_rulers
|
|
show_rulers: "Show rulers", // show_rulers
|
|
base_unit: "Base Unit:", // base_unit
|
|
grid: "Grid", // grid
|
|
snapping_onoff: "Snapping on/off", // snapping_onoff
|
|
snapping_stepsize: "Snapping Step-Size:" // snapping_stepsize
|
|
},
|
|
shape_cats: {
|
|
basic: 'Basic', // basic
|
|
object: 'Objects', // object
|
|
symbol: 'Symbols', // symbol
|
|
arrow: 'Arrows', // arrow
|
|
flowchart: 'Flowchart', // flowchart
|
|
animal: 'Animals', // animal
|
|
game: 'Cards & Chess', // game
|
|
dialog_balloon: 'Dialog balloons', // dialog_balloon
|
|
electronics: 'Electronics', // electronics
|
|
math: 'Mathematical', // math
|
|
music: 'Music', // music
|
|
misc: 'Miscellaneous', // misc
|
|
raphael_1: 'raphaeljs.com set 1', // raphael_1
|
|
raphael_2: 'raphaeljs.com set 2' // raphael_2
|
|
},
|
|
imagelib: {
|
|
select_lib: 'Select an image library', // select_lib
|
|
show_list: 'Show library list', // show_list
|
|
import_single: 'Import single', // import_single
|
|
import_multi: 'Import multiple', // import_multi
|
|
open: 'Open as new document' // open
|
|
},
|
|
notification: {
|
|
"invalidAttrValGiven":"Invalid value given",
|
|
"noContentToFitTo":"No content to fit to",
|
|
"layer":"Layer",
|
|
"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"...',
|
|
"ok":"OK",
|
|
"cancel":"Cancel",
|
|
"key_up":"Up",
|
|
"key_down":"Down",
|
|
"key_backspace":"Backspace",
|
|
"key_del":"Del"
|
|
}
|
|
})
|
|
|
|
/*
|
|
includedImages
|
|
layersLabel
|
|
selLayerLabel
|
|
selectedPredefined
|
|
svginfo_bg_note
|
|
svginfo_change_background
|
|
svginfo_dim
|
|
svginfo_editor_prefs
|
|
svginfo_height
|
|
svginfo_icons
|
|
svginfo_image_props
|
|
svginfo_lang
|
|
svginfo_title
|
|
svginfo_width
|
|
tool_docprops
|
|
tool_imagelib
|
|
#cmenu_layers a[href="#delete"]
|
|
Missing: #bkgnd_color
|
|
layer_delete
|
|
layer_down
|
|
layer_new
|
|
layer_rename
|
|
layer_up
|
|
selLayerNames
|
|
svginfo_title
|
|
tool_add_subpath
|
|
tool_clone
|
|
tool_clone_multi
|
|
tool_delete
|
|
tool_delete_multi
|
|
tool_group
|
|
tool_make_link
|
|
tool_link_url
|
|
tool_image
|
|
tool_line
|
|
tool_move_bottom
|
|
tool_move_top
|
|
tool_node_clone
|
|
tool_node_delete
|
|
tool_node_link
|
|
tool_openclose_path
|
|
tool_path
|
|
tool_rect
|
|
tool_reorient
|
|
tool_select
|
|
tool_square
|
|
tool_text
|
|
tool_topath
|
|
tool_ungroup
|
|
tool_wireframe
|
|
view_grid
|
|
|
|
|
|
"powered_by": "Powered by" // "copyrightLabel"
|
|
"palette_info": "Click to change fill color, shift-click to change stroke color", // "palette"
|
|
"zoom_level": "Change zoom level" // "zoom_panel"
|
|
|
|
"id": "Identify the element", // "idLabel"
|
|
"pos_x": "Change X coordinate", // "selected_x"
|
|
"pos_y": "Change Y coordinate", // "selected_y"
|
|
"angle": "Change rotation angle", // "tool_angle"
|
|
"blur": "Change gaussian blur value", // "tool_blur"
|
|
"opacity": "Change selected item opacity", // "tool_opacity"
|
|
"rect_height": "Change rectangle height", // "rect_height_tool"
|
|
"rect_width": "Change rectangle width", // "rect_width_tool"
|
|
"corner_radius": "Change Rectangle Corner Radius", // "cornerRadiusLabel"
|
|
"node_x": "Change node's x coordinate", // "path_node_x"
|
|
"node_y": "Change node's y coordinate", // "path_node_y"
|
|
"text_contents": "Change text contents", // "text"
|
|
"font_size": "Change Font Size", // "tool_font_size"
|
|
"bold": "Bold Text", // "tool_bold"
|
|
"italic": "Italic Text" // "tool_italic"
|
|
|
|
"main_menu": "Main Menu", // "main_icon"
|
|
"bkgnd_color_opac": "Change background color/opacity", // "bkgnd_color"
|
|
"relativeTo": "relative to:", // "relativeToLabel"
|
|
"new_doc": "New Image", // "tool_clear"
|
|
"open_doc": "Open Image", // "tool_open"
|
|
"export_png": "Export as PNG", // "tool_export"
|
|
"save_doc": "Save Image", // "tool_save"
|
|
"import_doc": "Import SVG", // "tool_import"
|
|
"align_to_page": "Align Element to Page", // "tool_position"
|
|
"align_bottom": "Align Bottom", // "tool_alignbottom"
|
|
"align_center": "Align Center", // "tool_aligncenter"
|
|
"align_left": "Align Left", // "tool_alignleft"
|
|
"align_middle": "Align Middle", // "tool_alignmiddle"
|
|
"align_right": "Align Right", // "tool_alignright"
|
|
"align_top": "Align Top", // "tool_aligntop"
|
|
"mode_select": "Select Tool", // "mode_select"
|
|
"mode_fhpath": "Pencil Tool", // "tool_fhpath"
|
|
"mode_line": "Line Tool", // "mode_line"
|
|
"mode_connect": "Connect two objects", // "mode_connect"
|
|
"mode_rect": "Rectangle Tool", // "mode_rect"
|
|
"mode_square": "Square Tool", // "mode_square"
|
|
"mode_fhrect": "Free-Hand Rectangle", // "tool_fhrect"
|
|
"mode_ellipse": "Ellipse", // "tool_ellipse"
|
|
"mode_circle": "Circle", // "tool_circle"
|
|
"mode_fhellipse": "Free-Hand Ellipse", // "tool_fhellipse"
|
|
"mode_path": "Path Tool", // "mode_path"
|
|
"mode_shapelib": "Shape library", // "tools_shapelib_show"
|
|
"mode_text": "Text Tool", // "mode_text"
|
|
"mode_image": "Image Tool", // "tool_image"
|
|
"mode_zoom": "Zoom Tool", // "tool_zoom"
|
|
"mode_eyedropper": "Eye Dropper Tool", // "tool_eyedropper"
|
|
"no_embed": "NOTE: This image cannot be embedded. It will depend on this path to be displayed", // "url_notice"
|
|
|
|
"undo": "Undo", // "tool_undo"
|
|
"redo": "Redo", // "tool_redo"
|
|
"included_images": "Included Images", // "includedImages"
|
|
"layers": "Layers", // "layersLabel"
|
|
"move_elems_to": "Move elements to:", // "selLayerLabel"
|
|
"move_selected": "Move selected elements to a different layer", // "selLayerNames"
|
|
"select_predefined": "Select predefined:", // "selectedPredefined"
|
|
"editor_bg_note": "Note: Background will not be saved with image.", // "svginfo_bg_note"
|
|
"background": "Editor Background", // "svginfo_change_background"
|
|
"image_props": "Image Properties", // "svginfo_image_props"
|
|
"doc_title": "Title", // "svginfo_title"
|
|
"doc_dims": "Canvas Dimensions", // "svginfo_dim"
|
|
"editor_prefs": "Editor Preferences", // "svginfo_editor_prefs"
|
|
"icon_size": "Icon size", // "svginfo_icons"
|
|
"language": "Language", // "svginfo_lang"
|
|
"editor_img_url": "Image URL", // "image_url"
|
|
|
|
|
|
*/ |