Added support for translated text in svgcanvas.js, updated es, ja files, complete fr file by wormsxulla
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1004 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
161714b157
commit
df642b1500
|
@ -28,13 +28,9 @@
|
|||
{"id":"align_relative_to","title":"Alinear con respecto a ..."},
|
||||
{"id":"tool_group","title":"Elementos de Grupo de [G]"},
|
||||
{"id":"tool_ungroup","title":"Desagrupar elementos [G]"},
|
||||
{"id":"rect_x","title":"Cambiar rectángulo coordenada X"},
|
||||
{"id":"rect_y","title":"Y rectángulo Cambio de coordenadas"},
|
||||
{"id":"rect_width","title":"Ancho rectángulo Cambio"},
|
||||
{"id":"rect_height","title":"Rectángulo de altura Cambio"},
|
||||
{"id":"rect_rx","title":"Cambiar Rectángulo Corner Radius"},
|
||||
{"id":"image_x","title":"Cambiar imagen coordenada X"},
|
||||
{"id":"image_y","title":"Y la imagen Cambio de coordenadas"},
|
||||
{"id":"image_width","title":"Ancho de la imagen Cambio"},
|
||||
{"id":"image_height","title":"Cambiar la altura de la imagen"},
|
||||
{"id":"image_url","title":"Cambiar URL"},
|
||||
|
@ -49,20 +45,18 @@
|
|||
{"id":"line_y1","title":"Cambiar la línea de partida y de coordinar"},
|
||||
{"id":"line_x2","title":"Cambiar la línea de horas de coordenada x"},
|
||||
{"id":"line_y2","title":"Cambiar la línea de horas de coordenada"},
|
||||
{"id":"text_x","title":"Cambiar el texto coordenada X"},
|
||||
{"id":"text_y","title":"Y del texto de coordenadas"},
|
||||
{"id":"tool_bold","title":"Texto en negrita [B]"},
|
||||
{"id":"tool_italic","title":"Texto en cursiva [I]"},
|
||||
{"id":"font_family","title":"Cambiar la fuente Familia"},
|
||||
{"id":"font_size","title":"Change Font Size"},
|
||||
{"id":"text","title":"Contenido del texto"},
|
||||
{"id":"tool_select","title":"Herramienta de selección [1]"},
|
||||
{"id":"tool_path","title":"Herramienta Lápiz [2]"},
|
||||
{"id":"tool_fhpath","title":"Herramienta Lápiz [2]"},
|
||||
{"id":"tool_line","title":"La herramienta [3]"},
|
||||
{"id":"tools_rect_show","title":"Cuadrado / Rect Herramienta [4/Shift 4]"},
|
||||
{"id":"tools_ellipse_show","title":"Elipse / Herramienta Círculo [5/Shift 5]"},
|
||||
{"id":"tool_text","title":"Herramienta de texto [6]"},
|
||||
{"id":"tool_poly","title":"Poly Tool [7]"},
|
||||
{"id":"tool_path","title":"Path Tool [7]"},
|
||||
{"id":"tool_image","title":"Image Tool [8]"},
|
||||
{"id":"tool_zoom","title":"Zoom Tool [Ctrl Up/Down]"},
|
||||
{"id":"zoom","title":"Cambiar el nivel de zoom"},
|
||||
|
@ -92,8 +86,8 @@
|
|||
{"id":"layersLable","textContent":"Capas:"},
|
||||
{"id":"selectedPredefined","textContent":"Seleccione predefinidas:"},
|
||||
{"id":"fitToContent","textContent":"Ajustar al contenido"},
|
||||
{"id":"tool_source_save","textContent":"Salvar"},
|
||||
{"id":"tool_docprops_save","textContent":"Salvar"},
|
||||
{"id":"tool_source_save","textContent":"Apply Changes"},
|
||||
{"id":"tool_docprops_save","textContent":"OK"},
|
||||
{"id":"tool_docprops_cancel","textContent":"Cancelar"},
|
||||
{"id":"tool_source_cancel","textContent":"Cancelar"},
|
||||
{"id":"fit_to_all","textContent":"Ajustar a todo el contenido"},
|
||||
|
@ -107,4 +101,55 @@
|
|||
{"id":"fill_tool_bottom","textContent":"llenar:"},
|
||||
{"id":"stroke_tool_bottom","textContent":"golpe:"},
|
||||
{"id":"svninfo_dim","textContent":"Dimensiones lienzo"}
|
||||
]
|
||||
{"id":"path_node_x","title":"Change node's x coordinate"},
|
||||
{"id":"path_node_y","title":"Change node's y coordinate"},
|
||||
{"id":"seg_type","title":"Change Segment type"},
|
||||
{"id":"straight_segments","textContent":"Straight"},
|
||||
{"id":"curve_segments","textContent":"Curve"},
|
||||
{"id":"tool_node_clone","title":"Clone Node"},
|
||||
{"id":"tool_node_delete","title":"Delete Node"},
|
||||
{"id":"selLayerLabel","textContent":"Move elements to:"},
|
||||
{"id":"selLayerNames","title":"Move selected elements to a different layer"},
|
||||
{"id":"sidepanel_handle","title":"Drag left/right to resize side panel [X]","textContent":"L a y e r s"},
|
||||
{"id":"tool_wireframe","title":"Wireframe Mode [F]"},
|
||||
{"id":"svginfo_image_props","textContent":"Image Properties"},
|
||||
{"id":"svginfo_title","textContent":"Title"},
|
||||
{"id":"svginfo_dim","textContent":"Canvas Dimensions"},
|
||||
{"id":"includedImages","textContent":"Included Images"},
|
||||
{"id":"image_opt_embed","textContent":"Embed data (local files)"},
|
||||
{"id":"image_opt_ref","textContent":"Use file reference"},
|
||||
{"id":"svginfo_editor_prefs","textContent":"Editor Preferences"},
|
||||
{"id":"svginfo_lang","textContent":"Language"},
|
||||
{"id":"svginfo_change_background","textContent":"Editor Background"},
|
||||
{"id":"svginfo_bg_note","textContent":"Note: Background will not be saved with image."},
|
||||
{"id":"svginfo_icons","textContent":"Icon size"},
|
||||
{"id":"icon_small","textContent":"Small"},
|
||||
{"id":"icon_medium","textContent":"Medium"},
|
||||
{"id":"icon_large","textContent":"Large"},
|
||||
{"id":"icon_xlarge","textContent":"Extra Large"},
|
||||
{"id":"selected_x","title":"Change X coordinate"},
|
||||
{"id":"selected_y","title":"Change Y coordinate"},
|
||||
{"id":"tool_topath","title":"Convert to Path"},
|
||||
{"id":"tool_reorient","title":"Reorient path"},
|
||||
{"id":"tool_node_link","title":"Link Control Points"},
|
||||
{"js_strings": {
|
||||
"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!",
|
||||
"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",
|
||||
"ok":"OK",
|
||||
"cancel":"Cancel",
|
||||
"pathNodeTooltip":"Drag node to move it. Double-click node to change segment type",
|
||||
"pathCtrlPtTooltip":"Drag control point to adjust curve properties"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -13,63 +13,57 @@
|
|||
{"id":"tool_redo","title":"Refaire l'action [Y]"},
|
||||
{"id":"tool_clone","title":"Cloner l'élément [C]"},
|
||||
{"id":"tool_delete","title":"Supprimer l'élément [Suppr./Retour Arr.]"},
|
||||
{"id":"tool_move_top","title":"Déplacer vers le haut [Shift Haut]"},
|
||||
{"id":"tool_move_bottom","title":"Déplacer vers le bas [Shift Bas]"},
|
||||
{"id":"tool_move_top","title":"Déplacer vers le haut [Shift+Haut]"},
|
||||
{"id":"tool_move_bottom","title":"Déplacer vers le bas [Shift+Bas]"},
|
||||
{"id":"group_opacity","title":"Changer l'opacité de l'élément"},
|
||||
{"id":"angle","title":"Changer l'angle de rotation"},
|
||||
{"id":"tool_clone_multi","title":"Cloner les éléments [C]"},
|
||||
{"id":"tool_delete_multi","title":"Supprimer les éléments sélectionnés [Suppr./Retour Arr.]"},
|
||||
{"id":"tool_alignleft","title":"Aligner les côtés gauches"},
|
||||
{"id":"tool_aligncenter","title":"Aligner selon l'axe vertical"},
|
||||
{"id":"tool_aligncenter","title":"Centrer verticalement"},
|
||||
{"id":"tool_alignright","title":"Aligner les côtés droits"},
|
||||
{"id":"tool_aligntop","title":"Aligner le haut des objets"},
|
||||
{"id":"tool_alignmiddle","title":"Aligner selon l'axe horizontal"},
|
||||
{"id":"tool_alignmiddle","title":"Centrer horizontalement"},
|
||||
{"id":"tool_alignbottom","title":"Aligner le bas des objets"},
|
||||
{"id":"align_relative_to","title":"Aligner par rapport à ..."},
|
||||
{"id":"tool_group","title":"Grouper les éléments [G]"},
|
||||
{"id":"tool_ungroup","title":"Dégrouper les éléments [G]"},
|
||||
{"id":"rect_x","title":"Changer la position horizontale du rectangle"},
|
||||
{"id":"rect_y","title":"Changer la position verticale du rectangle"},
|
||||
{"id":"rect_width","title":"Changer la largeur du rectangle"},
|
||||
{"id":"rect_height","title":"Changer la hauteur du rectangle"},
|
||||
{"id":"rect_rx","title":"Changer le rayon des coins du rectangle"},
|
||||
{"id":"image_x","title":"Changer la position horizontale de l'image"},
|
||||
{"id":"image_y","title":"Changer la position verticale de l'image"},
|
||||
{"id":"image_width","title":"Changer la largeur de l'image"},
|
||||
{"id":"image_height","title":"Changer la hauteur de l'image"},
|
||||
{"id":"image_url","title":"Modifier l'URL"},
|
||||
{"id":"circle_cx","title":"Cx Changer la position horizontale du cercle"},
|
||||
{"id":"circle_cy","title":"Changer la position verticale du cercle"},
|
||||
{"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":"ellipse_cx","title":"Changer la position horizontale de l'ellipse"},
|
||||
{"id":"ellipse_cy","title":"Changer la position verticale de l'ellipse"},
|
||||
{"id":"ellipse_rx","title":"Changer le rayon horizontal de l'ellipse"},
|
||||
{"id":"ellipse_ry","title":"Changer le rayon vertical de l'ellipse"},
|
||||
{"id":"line_x1","title":"Changer la position horizontale de départ de la ligne"},
|
||||
{"id":"line_y1","title":"Changer la position verticale de départ de la ligne"},
|
||||
{"id":"line_x2","title":"Changer la position horizontale de fin de la ligne"},
|
||||
{"id":"line_y2","title":"Changer la position verticale de fin de la ligne"},
|
||||
{"id":"text_x","title":"Changer la position horizontale du texte"},
|
||||
{"id":"text_y","title":"Changer la position verticale du texte"},
|
||||
{"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":"line_x1","title":"Changer la position horizontale x de début de la ligne"},
|
||||
{"id":"line_y1","title":"Changer la position verticale y de début de la ligne"},
|
||||
{"id":"line_x2","title":"Changer la position horizontale x de fin de la ligne"},
|
||||
{"id":"line_y2","title":"Changer la position verticale y de fin de la ligne"},
|
||||
{"id":"tool_bold","title":"Texte en gras [B]"},
|
||||
{"id":"tool_italic","title":"Texte en italique [I]"},
|
||||
{"id":"font_family","title":"Changer la famille de police"},
|
||||
{"id":"font_size","title":"Taille de la police"},
|
||||
{"id":"text","title":"Changer le contenu du texte"},
|
||||
{"id":"tool_select","title":"Outil de sélection [1]"},
|
||||
{"id":"tool_path","title":"Crayon à main levée [2]"},
|
||||
{"id":"tool_fhpath","title":"Crayon à main levée [2]"},
|
||||
{"id":"tool_line","title":"Tracer des lignes [3]"},
|
||||
{"id":"tools_rect_show","title":"Carré / Rectangle / Rectangle à main levée [4/Shift 4]"},
|
||||
{"id":"tools_ellipse_show","title":"Cercle / Ellipse / Ellipse à main levée [5/Shift 5]"},
|
||||
{"id":"tool_text","title":"Texte [6]"},
|
||||
{"id":"tool_poly","title":"Polyline - Polygone [7]"},
|
||||
{"id":"tool_image","title":"Image [8]"},
|
||||
{"id":"tool_zoom","title":"Zoom [Ctrl Up/Down]"},
|
||||
{"id":"tools_rect_show","title":"Carré / Rectangle / Rectangle à main levée [4/Shift+4]"},
|
||||
{"id":"tools_ellipse_show","title":"Cercle / Ellipse / Ellipse à main levée [5/Shift+5]"},
|
||||
{"id":"tool_text","title":"Outil Texte [6]"},
|
||||
{"id":"tool_path","title":"Outil Chemin [7]"},
|
||||
{"id":"tool_image","title":"Outil Image [8]"},
|
||||
{"id":"tool_zoom","title":"Zoom [Ctrl+Haut/Bas]"},
|
||||
{"id":"zoom","title":"Changer le niveau de zoom"},
|
||||
{"id":"fill_color","title":"Changer la couleur de remplissage"},
|
||||
{"id":"stroke_color","title":"Changer la couleur du contour"},
|
||||
{"id":"stroke_width","title":"Changer la largeur du contour"},
|
||||
{"id":"stroke_style","title":"Changement le style du contour"},
|
||||
{"id":"stroke_style","title":"Changer le style du contour"},
|
||||
{"id":"palette","title":"Cliquer pour changer la couleur de remplissage, Shift-Clic pour changer la couleur de contour"},
|
||||
{"id":"tool_square","title":"Carré"},
|
||||
{"id":"tool_rect","title":"Rectangle"},
|
||||
|
@ -82,21 +76,21 @@
|
|||
{"id":"rheightLabel","textContent":"Hauteur:"},
|
||||
{"id":"cornerRadiusLabel","textContent":"Rayon du coin :"},
|
||||
{"id":"iwidthLabel","textContent":"Largeur:"},
|
||||
{"id":"iheightLabel","textContent":"Taille:"},
|
||||
{"id":"iheightLabel","textContent":"Hauteur:"},
|
||||
{"id":"svginfo_width","textContent":"Largeur:"},
|
||||
{"id":"svginfo_height","textContent":"Taille:"},
|
||||
{"id":"svginfo_height","textContent":"Hauteur:"},
|
||||
{"id":"angleLabel","textContent":"Angle:"},
|
||||
{"id":"relativeToLabel","textContent":"Relativement à:"},
|
||||
{"id":"zoomLabel","textContent":"Zoom:"},
|
||||
{"id":"svninfo_change_background","textContent":"Toile de fond"},
|
||||
{"id":"layersLable","textContent":"Calques:"},
|
||||
{"id":"layersLable","textContent":"Calques :"},
|
||||
{"id":"selectedPredefined","textContent":"Sélectionner prédéfinis:"},
|
||||
{"id":"fitToContent","textContent":"Ajuster au contenu"},
|
||||
{"id":"tool_source_save","textContent":"Sauver"},
|
||||
{"id":"tool_docprops_save","textContent":"Sauver"},
|
||||
{"id":"tool_source_save","textContent":"Appliquer Modifications"},
|
||||
{"id":"tool_docprops_save","textContent":"OK"},
|
||||
{"id":"tool_docprops_cancel","textContent":"Annuler"},
|
||||
{"id":"tool_source_cancel","textContent":"Annuler"},
|
||||
{"id":"fit_to_all","textContent":"Ajuster à l'ensemble du contenu"},
|
||||
{"id":"fit_to_all","textContent":"Ajuster au contenu de tous les calques"},
|
||||
{"id":"fit_to_layer_content","textContent":"Ajuster au contenu du calque"},
|
||||
{"id":"fit_to_sel","textContent":"Ajuster à la sélection"},
|
||||
{"id":"fit_to_canvas","textContent":"Ajuster au canevas"},
|
||||
|
@ -106,5 +100,56 @@
|
|||
{"id":"page","textContent":"Page"},
|
||||
{"id":"fill_tool_bottom","textContent":"Remplis.:"},
|
||||
{"id":"stroke_tool_bottom","textContent":"Contour:"},
|
||||
{"id":"svninfo_dim","textContent":"Dimensions du canevas"}
|
||||
]
|
||||
{"id":"svninfo_dim","textContent":"Dimensions du canevas"},
|
||||
{"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":"seg_type","title":"Changer le type du Segment"},
|
||||
{"id":"straight_segments","textContent":"Droit"},
|
||||
{"id":"curve_segments","textContent":"Courbe"},
|
||||
{"id":"tool_node_clone","title":"Cloner le nœud"},
|
||||
{"id":"tool_node_delete","title":"Supprimer le nœud"},
|
||||
{"id":"selLayerLabel","textContent":"Déplacer éléments vers:"},
|
||||
{"id":"selLayerNames","title":"Déplacer les éléments sélectionnés vers un autre calque"},
|
||||
{"id":"sidepanel_handle","title":"Tirer vers la gauche/droite pour redimensionner le panneau [X]","textContent":"C A L Q U E S"},
|
||||
{"id":"tool_wireframe","title":"Mode Fil de Fer [F]"},
|
||||
{"id":"svginfo_image_props","textContent":"Propriétés de l'Image"},
|
||||
{"id":"svginfo_title","textContent":"Titre"},
|
||||
{"id":"svginfo_dim","textContent":"Dimensions du canevas"},
|
||||
{"id":"includedImages","textContent":"Images incorporées"},
|
||||
{"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":"svginfo_editor_prefs","textContent":"Préférences de l'Éditeur"},
|
||||
{"id":"svginfo_lang","textContent":"Langue"},
|
||||
{"id":"svginfo_change_background","textContent":"Toile de fond de l'Éditeur"},
|
||||
{"id":"svginfo_bg_note","textContent":"Note: La toile de fond n'est pas sauvegardée avec l'image."},
|
||||
{"id":"svginfo_icons","textContent":"Taille des icônes"},
|
||||
{"id":"icon_small","textContent":"Petite"},
|
||||
{"id":"icon_medium","textContent":"Moyenne"},
|
||||
{"id":"icon_large","textContent":"Grande"},
|
||||
{"id":"icon_xlarge","textContent":"Super-Grande"},
|
||||
{"id":"selected_x","title":"Changer la position horizontale X"},
|
||||
{"id":"selected_y","title":"Changer la position verticale Y"},
|
||||
{"id":"tool_topath","title":"Convertir en chemin"},
|
||||
{"id":"tool_reorient","title":"Réorienter le chemin"},
|
||||
{"id":"tool_node_link","title":"Rendre les points de contrôle solidaires"},
|
||||
{"js_strings": {
|
||||
"invalidAttrValGiven":"Valeur fournie invalide",
|
||||
"noContentToFitTo":"Il n'y a pas de contenu auquel ajuster",
|
||||
'layer':"Calque",
|
||||
"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é !",
|
||||
"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",
|
||||
"ok":"OK",
|
||||
"cancel":"Annuler",
|
||||
"pathNodeTooltip":"Glisser-déposer le nœud pour le déplacer. Double-cliquer le nœud pour changer de type de segment",
|
||||
"pathCtrlPtTooltip":"Glisser-déposer le point de contrôle pour ajuster les propriétés de la courbe"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -28,13 +28,9 @@
|
|||
{"id":"align_relative_to","title":"整列するために相対的な ..."},
|
||||
{"id":"tool_group","title":"グループ要素 [G]"},
|
||||
{"id":"tool_ungroup","title":"グループ化を解除要素 [G]"},
|
||||
{"id":"rect_x","title":"変更する四角形のX座標"},
|
||||
{"id":"rect_y","title":"変更する四角形のY座標"},
|
||||
{"id":"rect_width","title":"変更する長方形の幅"},
|
||||
{"id":"rect_height","title":"変更する四角形の高さ"},
|
||||
{"id":"rect_rx","title":"変更長方形コーナー半径"},
|
||||
{"id":"image_x","title":"画像を変更X座標"},
|
||||
{"id":"image_y","title":"画像を変更Y座標"},
|
||||
{"id":"image_width","title":"変更するイメージの幅"},
|
||||
{"id":"image_height","title":"変更するイメージの高さ"},
|
||||
{"id":"image_url","title":"URLを変更"},
|
||||
|
@ -49,20 +45,18 @@
|
|||
{"id":"line_y1","title":"変更直線y開始の座標"},
|
||||
{"id":"line_x2","title":"変更行のx座標を終了"},
|
||||
{"id":"line_y2","title":"変更直線y期の座標"},
|
||||
{"id":"text_x","title":"変更するテキストのX座標"},
|
||||
{"id":"text_y","title":"変更するテキストのY座標"},
|
||||
{"id":"tool_bold","title":"太字テキスト [B]"},
|
||||
{"id":"tool_italic","title":"イタリック体のテキスト [I]"},
|
||||
{"id":"font_family","title":"フォントの変更ご家族"},
|
||||
{"id":"font_size","title":"文字サイズの変更"},
|
||||
{"id":"text","title":"変更するテキストの内容"},
|
||||
{"id":"tool_select","title":"選択ツール [1]"},
|
||||
{"id":"tool_path","title":"鉛筆ツール [2]"},
|
||||
{"id":"tool_fhpath","title":"鉛筆ツール [2]"},
|
||||
{"id":"tool_line","title":"ラインツール [3]"},
|
||||
{"id":"tools_rect_show","title":"スクエア/ Rectツール [4/Shift 4]"},
|
||||
{"id":"tools_ellipse_show","title":"楕円/サークルツール [5/Shift 5]"},
|
||||
{"id":"tool_text","title":"テキストツール [6]"},
|
||||
{"id":"tool_poly","title":"ポリツール [7]"},
|
||||
{"id":"tool_path","title":"ポリツール [7]"},
|
||||
{"id":"tool_image","title":"イメージツール [8]"},
|
||||
{"id":"tool_zoom","title":"ズームツール [Ctrl Up/Down]"},
|
||||
{"id":"zoom","title":"変更のズームレベル"},
|
||||
|
@ -92,8 +86,8 @@
|
|||
{"id":"layersLable","textContent":"層:"},
|
||||
{"id":"selectedPredefined","textContent":"を選択する事前定義された:"},
|
||||
{"id":"fitToContent","textContent":"フィットコンテンツへ"},
|
||||
{"id":"tool_source_save","textContent":"保存する"},
|
||||
{"id":"tool_docprops_save","textContent":"保存する"},
|
||||
{"id":"tool_source_save","textContent":"Apply Changes"},
|
||||
{"id":"tool_docprops_save","textContent":"OK"},
|
||||
{"id":"tool_docprops_cancel","textContent":"キャンセル"},
|
||||
{"id":"tool_source_cancel","textContent":"キャンセル"},
|
||||
{"id":"fit_to_all","textContent":"フィットすべてのコンテンツに"},
|
||||
|
@ -107,4 +101,55 @@
|
|||
{"id":"fill_tool_bottom","textContent":"満ちる:"},
|
||||
{"id":"stroke_tool_bottom","textContent":"打撃:"},
|
||||
{"id":"svninfo_dim","textContent":"キャンバスの寸法"}
|
||||
]
|
||||
{"id":"path_node_x","title":"Change node's x coordinate"},
|
||||
{"id":"path_node_y","title":"Change node's y coordinate"},
|
||||
{"id":"seg_type","title":"Change Segment type"},
|
||||
{"id":"straight_segments","textContent":"Straight"},
|
||||
{"id":"curve_segments","textContent":"Curve"},
|
||||
{"id":"tool_node_clone","title":"Clone Node"},
|
||||
{"id":"tool_node_delete","title":"Delete Node"},
|
||||
{"id":"selLayerLabel","textContent":"Move elements to:"},
|
||||
{"id":"selLayerNames","title":"Move selected elements to a different layer"},
|
||||
{"id":"sidepanel_handle","title":"Drag left/right to resize side panel [X]","textContent":"L a y e r s"},
|
||||
{"id":"tool_wireframe","title":"Wireframe Mode [F]"},
|
||||
{"id":"svginfo_image_props","textContent":"Image Properties"},
|
||||
{"id":"svginfo_title","textContent":"Title"},
|
||||
{"id":"svginfo_dim","textContent":"Canvas Dimensions"},
|
||||
{"id":"includedImages","textContent":"Included Images"},
|
||||
{"id":"image_opt_embed","textContent":"Embed data (local files)"},
|
||||
{"id":"image_opt_ref","textContent":"Use file reference"},
|
||||
{"id":"svginfo_editor_prefs","textContent":"Editor Preferences"},
|
||||
{"id":"svginfo_lang","textContent":"Language"},
|
||||
{"id":"svginfo_change_background","textContent":"Editor Background"},
|
||||
{"id":"svginfo_bg_note","textContent":"Note: Background will not be saved with image."},
|
||||
{"id":"svginfo_icons","textContent":"Icon size"},
|
||||
{"id":"icon_small","textContent":"Small"},
|
||||
{"id":"icon_medium","textContent":"Medium"},
|
||||
{"id":"icon_large","textContent":"Large"},
|
||||
{"id":"icon_xlarge","textContent":"Extra Large"},
|
||||
{"id":"selected_x","title":"Change X coordinate"},
|
||||
{"id":"selected_y","title":"Change Y coordinate"},
|
||||
{"id":"tool_topath","title":"Convert to Path"},
|
||||
{"id":"tool_reorient","title":"Reorient path"},
|
||||
{"id":"tool_node_link","title":"Link Control Points"},
|
||||
{"js_strings": {
|
||||
"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!",
|
||||
"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",
|
||||
"ok":"OK",
|
||||
"cancel":"Cancel",
|
||||
"pathNodeTooltip":"Drag node to move it. Double-click node to change segment type",
|
||||
"pathCtrlPtTooltip":"Drag control point to adjust curve properties"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -2117,7 +2117,8 @@ function svg_edit_setup() {
|
|||
$('#lang_select').val(lang);
|
||||
if(strings) {
|
||||
// $.extend will only replace the given strings
|
||||
$.extend(uiStrings,strings);
|
||||
$.extend(uiStrings,strings);
|
||||
svgCanvas.setUiStrings(strings);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -77,6 +77,11 @@ var svgWhiteList = {
|
|||
function SvgCanvas(c)
|
||||
{
|
||||
|
||||
var uiStrings = {
|
||||
"pathNodeTooltip":"Drag node to move it. Double-click node to change segment type",
|
||||
"pathCtrlPtTooltip":"Drag control point to adjust curve properties"
|
||||
};
|
||||
|
||||
var toXml = function(str) {
|
||||
return str.replace("&", "&").replace("<", "<").replace(">",">");
|
||||
};
|
||||
|
@ -3208,7 +3213,7 @@ function BatchCommand(text) {
|
|||
'stroke-width': 2,
|
||||
'cursor': 'move',
|
||||
'style': 'pointer-events:all',
|
||||
'xlink:title': 'Drag point to move it. Double-click point to change segment type.'
|
||||
'xlink:title': uiStrings.pathNodeTooltip
|
||||
});
|
||||
pointGrip = pointGripContainer.appendChild(pointGrip);
|
||||
|
||||
|
@ -3537,7 +3542,7 @@ function BatchCommand(text) {
|
|||
'stroke-width': 1,
|
||||
'cursor': 'move',
|
||||
'style': 'pointer-events:all',
|
||||
'xlink:title': 'Drag control point to adjust curve properties'
|
||||
'xlink:title': uiStrings.pathCtrlPtTooltip
|
||||
});
|
||||
pointGrip = ctrlPointGripContainer.appendChild(pointGrip);
|
||||
}
|
||||
|
@ -6088,6 +6093,11 @@ function BatchCommand(text) {
|
|||
return "svgcanvas.js ($Rev$)";
|
||||
};
|
||||
|
||||
this.setUiStrings = function(strs){
|
||||
$.extend(uiStrings, strs);
|
||||
console.log(uiStrings)
|
||||
}
|
||||
|
||||
this.clear();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue