svgedit
Version:
Powerful SVG-Editor for your browser
301 lines (300 loc) • 13.3 kB
JavaScript
export default {
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_action: 'Click to open side panel',
quality: 'Quality:',
pathNodeTooltip: 'Drag node to move it. Double-click node to change segment type',
pathCtrlPtTooltip: 'Drag control point to adjust curve properties',
pick_stroke_paint_opacity: 'Pick a Stroke Paint and Opacity',
pick_fill_paint_opacity: 'Pick a Fill Paint and Opacity',
group_identify_label: 'Group identification label',
export_type_label: 'Select an image type for export:'
},
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_label: 'Font:',
font_family: 'Change Font Family',
font_size: 'Change Font Size',
bold: 'Bold Text',
text_decoration_underline: 'Underline',
text_decoration_linethrough: 'Line-Through',
text_decoration_overline: 'Overline',
italic: 'Italic Text',
text_anchor_start: 'Align the text in start',
text_anchor_middle: 'Align the text in middle',
text_anchor_end: 'Align the text in end',
text_letter_spacing: 'Change the letter spacing',
text_word_spacing: 'Change the word spacing',
text_length: 'Lets you specify the width of the space into which the text will draw',
text_length_adjust: 'Length adjust',
text_length_adjust_spacing: 'Spacing',
text_length_adjust_spacing_and_glyphs: 'Spacing & Glyphs',
class: 'Element class',
serif: 'Serif',
sans_serif: 'Sans-serif',
cursive: 'Cursive',
fantasy: 'Fantasy',
monospace: 'Monospace',
courier: 'Courier',
helvetica: 'Helvetica',
times: 'times',
prefs_and_content: 'Store preferences and SVG content locally',
prefs_only: 'Only store preferences locally',
no_prefs_or_content: 'Do not store my preferences or SVG content locally',
jgraduate_pad: 'Pad',
jgraduate_reflect: 'Reflect',
jgraduate_repeat: 'Repeat'
},
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',
export_img: 'Export',
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_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_text: 'Text Tool',
mode_image: 'Image Tool',
mode_zoom: 'Zoom 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',
clone: 'Clone Element(s)',
del: 'Delete Element(s)',
group_elements: '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',
editor_homepage: 'SVG-Edit Home Page',
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',
tool_unlink_use: 'Break link to reference element (make unique)',
ellipse_circle_tool: 'Ellipse/Circle Tool',
square_rect_tool: 'Square/Rect Tool',
remember_this_choice: 'Remember this choice?',
remember_this_choice_title: 'If you choose to opt out of storage while remembering this choice, the URL will change so as to avoid asking again.'
},
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',
language: 'Language',
background: 'Editor Background',
editor_img_url: 'Image URL',
editor_bg_note: 'Note: Background will not be saved with image.',
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:',
grid_color: 'Grid color',
done: 'Done',
change_xxx_color: 'Change xxx color',
pick_paint_opavity: 'Pick a {{newValue}} Paint and Opacity',
open_color_picker: 'Click To Open Color Picker',
jpicker_title: 'Drag Markers To Pick A Color',
jpicker_new_color: 'new',
jpicker_current_color: 'current',
jpicker_tooltip_colors_new_color: 'New Color - Press “OK” To Commit',
jpicker_tooltip_colors_current_color: 'Click To Revert To Original Color',
jpicker_tooltip_buttons_ok: 'Commit To This Color Selection',
jpicker_tooltip_buttons_cancel: 'Cancel And Revert To Original Color',
jpicker_tooltip_hue_radio: 'Set To “Hue” Color Mode',
jpicker_tooltip_hue_textbox: 'Enter A “Hue” Value (0-360°)',
jpicker_tooltip_saturation_radio: 'Set To “Saturation” Color Mode',
jpicker_tooltip_saturation_textbox: 'Enter A “Saturation” Value (0-100%)',
jpicker_tooltip_value_radio: 'Set To “Value” Color Mode',
jpicker_tooltip_value_textbox: 'Enter A “Value” Value (0-100%)',
jpicker_tooltip_red_radio: 'Set To “Red” Color Mode',
jpicker_tooltip_red_textbox: 'Enter A “Red” Value (0-255)',
jpicker_tooltip_green_radio: 'Set To “Green” Color Mode',
jpicker_tooltip_green_textbox: 'Enter A “Green” Value (0-255)',
jpicker_tooltip_blue_radio: 'Set To “Blue” Color Mode',
jpicker_tooltip_blue_textbox: 'Enter A “Blue” Value (0-255)',
jpicker_tooltip_alpha_radio: 'Set To “Alpha” Color Mode',
jpicker_tooltip_alpha_textbox: 'Enter A “Alpha” Value (0-100)',
jpicker_tooltip_hex_textbox: 'Enter A “Hex” Color Value (#000000-#ffffff)',
jpicker_tooltip_hex_alpha: 'Enter A “Alpha” Value (#00-#ff)',
jgraduate_solid_color: 'Solid Color',
jgraduate_linear_gradient: 'Linear Gradient',
jgraduate_radial_gradient: 'Radial Gradient',
jgraduate_begin_point: 'Begin Point',
jgraduate_enter_starting_x: 'Enter starting x value between 0.0 and 1.0',
jgraduate_enter_starting_y: 'Enter starting y value between 0.0 and 1.0',
jgraduate_end_point: 'End Point',
jgraduate_enter_ending_x: 'Enter ending x value between 0.0 and 1.0',
jgraduate_enter_ending_y: 'Enter ending y value between 0.0 and 1.0',
jgraduate_center_point: 'Center Point',
jgraduate_enter_value_x: 'Enter x value between 0.0 and 1.0',
jgraduate_enter_value_y: 'Enter y value between 0.0 and 1.0',
jgraduate_focal_point: 'Focal Point',
jgraduate_match_center: 'Match center:',
jgraduate_enter_focal_x: 'Enter x value between 0.0 and 1.0',
jgraduate_enter_focal_y: 'Enter y value between 0.0 and 1.0',
jgraduate_spread_method: 'Spread method',
jgraduate_radius: 'Radius:',
jgraduate_set_radius: 'Click to set radius',
jgraduate_ellip: 'Ellip:',
jgraduate_set_ellip: 'Click to set Ellip',
jgraduate_angle: 'Angle:',
jgraduate_set_angle: 'Click to set Angle',
jgraduate_deg: 'deg:',
jgraduate_opac: 'Opac:',
jgraduate_set_opac: 'Click to set Opac'
},
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 (possibly via file menu or right-click context-menu) to save this image as a {{type}} 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\' ...',
popupWindowBlocked: 'Popup window may be blocked by browser',
exportNoBlur: 'Blurred elements will appear as un-blurred',
exportNoforeignObject: 'foreignObject elements will not appear',
exportNoDashArray: 'Strokes will appear filled',
exportNoText: 'Text may not appear as expected',
editorPreferencesMsg: 'By default and where supported, SVG-Edit can store your editor preferences and SVG content locally on your machine so you do not need to add these back each time you load SVG-Edit. If, for privacy reasons, you do not wish to store this information on your machine, you can change away from the default option below.',
source_dialog_note: 'Copy the contents of this box into a text editor, then save the file with a .svg extension.'
}
}