- Fix (Locale): Remove bad characters in Persian (fa) file

- Linting (ESLint): Locale files
- Docs: Fix code comment
- Remove BOM from documents (@drsassafras #237)
This commit is contained in:
Brett Zamir
2018-05-20 15:04:11 +08:00
parent 10291dc556
commit 7cf976cfb8
67 changed files with 13058 additions and 13115 deletions

View File

@@ -1,251 +1,250 @@
/* eslint-disable quotes */
/* globals svgEditor */
svgEditor.readLang({
lang: "ja",
dir: "ltr",
lang: 'lang',
dir: 'dir',
common: {
"ok": "OK",
"cancel": "キャンセル",
"key_backspace": "backspace",
"key_del": "削除",
"key_down": "down",
"key_up": "up",
"more_opts": "More Options",
"url": "URL",
"width": "Width",
"height": "Height"
ok: 'ok',
cancel: 'cancel',
key_backspace: 'key_backspace',
key_del: 'key_del',
key_down: 'key_down',
key_up: 'key_up',
more_opts: 'more_opts',
url: 'url',
width: 'width',
height: 'height'
},
misc: {
"powered_by": "Powered by"
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"
toggle_stroke_tools: 'toggle_stroke_tools',
palette_info: 'palette_info',
zoom_level: 'zoom_level',
panel_drag: 'panel_drag'
},
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": "イタリック体"
id: 'id',
fill_color: 'fill_color',
stroke_color: 'stroke_color',
stroke_style: 'stroke_style',
stroke_width: 'stroke_width',
pos_x: 'pos_x',
pos_y: '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: 'angle',
blur: 'blur',
opacity: 'opacity',
circle_cx: 'circle_cx',
circle_cy: 'circle_cy',
circle_r: 'circle_r',
ellipse_cx: 'ellipse_cx',
ellipse_cy: 'ellipse_cy',
ellipse_rx: 'ellipse_rx',
ellipse_ry: 'ellipse_ry',
line_x1: 'line_x1',
line_x2: 'line_x2',
line_y1: 'line_y1',
line_y2: 'line_y2',
rect_height: 'rect_height',
rect_width: 'rect_width',
corner_radius: 'corner_radius',
image_width: 'image_width',
image_height: 'image_height',
image_url: 'image_url',
node_x: 'node_x',
node_y: 'node_y',
seg_type: 'seg_type',
straight_segments: 'straight_segments',
curve_segments: 'curve_segments',
text_contents: 'text_contents',
font_family: 'font_family',
font_size: 'font_size',
bold: '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": "相対:",
"page": "ページ",
"largest_object": "最大のオブジェクト",
"selected_objects": "選択オブジェクト",
"smallest_object": "最小のオブジェクト",
"new_doc": "新規イメージ",
"open_doc": "イメージを開く",
"export_img": "Export",
"save_doc": "画像を保存",
"import_doc": "Import Image",
"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_elements": "グループ化",
"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"
main_menu: 'main_menu',
bkgnd_color_opac: 'bkgnd_color_opac',
connector_no_arrow: 'connector_no_arrow',
fitToContent: 'fitToContent',
fit_to_all: 'fit_to_all',
fit_to_canvas: 'fit_to_canvas',
fit_to_layer_content: 'fit_to_layer_content',
fit_to_sel: 'fit_to_sel',
align_relative_to: 'align_relative_to',
relativeTo: 'relativeTo',
page: 'page',
largest_object: 'largest_object',
selected_objects: 'selected_objects',
smallest_object: 'smallest_object',
new_doc: 'new_doc',
open_doc: 'open_doc',
export_img: 'export_img',
save_doc: 'save_doc',
import_doc: 'import_doc',
align_to_page: 'align_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: 'mode_select',
mode_fhpath: 'mode_fhpath',
mode_line: 'mode_line',
mode_connect: 'mode_connect',
mode_rect: 'mode_rect',
mode_square: 'mode_square',
mode_fhrect: 'mode_fhrect',
mode_ellipse: 'mode_ellipse',
mode_circle: 'mode_circle',
mode_fhellipse: 'mode_fhellipse',
mode_path: 'mode_path',
mode_shapelib: 'mode_shapelib',
mode_text: 'mode_text',
mode_image: 'mode_image',
mode_zoom: 'mode_zoom',
mode_eyedropper: 'mode_eyedropper',
no_embed: 'no_embed',
undo: 'undo',
redo: 'redo',
tool_source: 'tool_source',
wireframe_mode: 'wireframe_mode',
toggle_grid: 'toggle_grid',
clone: 'clone',
del: 'del',
group_elements: 'group_elements',
make_link: 'make_link',
set_link_url: 'set_link_url',
to_path: 'to_path',
reorient_path: 'reorient_path',
ungroup: 'ungroup',
docprops: 'docprops',
imagelib: 'imagelib',
move_bottom: 'move_bottom',
move_top: 'move_top',
node_clone: 'node_clone',
node_delete: 'node_delete',
node_link: 'node_link',
add_subpath: 'add_subpath',
openclose_path: 'openclose_path',
source_save: 'source_save',
cut: 'cut',
copy: 'copy',
paste: 'paste',
paste_in_place: 'paste_in_place',
delete: 'delete',
group: 'group',
move_front: 'move_front',
move_up: 'move_up',
move_down: 'move_down',
move_back: 'move_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": "選択対象を別のレイヤに移動"
layer: 'layer',
layers: 'layers',
del: 'del',
move_down: 'move_down',
new: 'new',
rename: 'rename',
move_up: 'move_up',
dupe: 'dupe',
merge_down: 'merge_down',
merge_all: 'merge_all',
move_elems_to: 'move_elems_to',
move_selected: '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:",
"grid_color": "Grid color"
image_props: 'image_props',
doc_title: 'doc_title',
doc_dims: 'doc_dims',
included_images: 'included_images',
image_opt_embed: 'image_opt_embed',
image_opt_ref: 'image_opt_ref',
editor_prefs: 'editor_prefs',
icon_size: 'icon_size',
language: 'language',
background: 'background',
editor_img_url: 'editor_img_url',
editor_bg_note: 'editor_bg_note',
icon_large: 'icon_large',
icon_medium: 'icon_medium',
icon_small: 'icon_small',
icon_xlarge: 'icon_xlarge',
select_predefined: 'select_predefined',
units_and_rulers: 'units_and_rulers',
show_rulers: 'show_rulers',
base_unit: 'base_unit',
grid: 'grid',
snapping_onoff: 'snapping_onoff',
snapping_stepsize: 'snapping_stepsize',
grid_color: 'grid_color'
},
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"
basic: 'basic',
object: 'object',
symbol: 'symbol',
arrow: 'arrow',
flowchart: 'flowchart',
animal: 'animal',
game: 'game',
dialog_balloon: 'dialog_balloon',
electronics: 'electronics',
math: 'math',
music: 'music',
misc: 'misc',
raphael_1: 'raphael_1',
raphael_2: 'raphael_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"
select_lib: 'select_lib',
show_list: 'show_list',
import_single: 'import_single',
import_multi: 'import_multi',
open: 'open'
},
notification: {
"invalidAttrValGiven": "無効な値が指定されています。",
"noContentToFitTo": "合わせる対象のコンテンツがありません。",
"dupeLayerName": "同名のレイヤーが既に存在します。",
"enterUniqueLayerName": "新規レイヤの一意な名前を入力してください。",
"enterNewLayerName": "レイヤの新しい名前を入力してください。",
"layerHasThatName": "既に同名が付いています。",
"QmoveElemsToLayer": "選択した要素をレイヤー '%s' に移動しますか?",
"QwantToClear": "キャンバスをクリアしますか?\nアンドゥ履歴も消去されます。",
"QwantToOpen": "新しいファイルを開きますか?\nアンドゥ履歴も消去されます。",
"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\"..."
invalidAttrValGiven: 'invalidAttrValGiven',
noContentToFitTo: 'noContentToFitTo',
dupeLayerName: 'dupeLayerName',
enterUniqueLayerName: 'enterUniqueLayerName',
enterNewLayerName: 'enterNewLayerName',
layerHasThatName: 'layerHasThatName',
QmoveElemsToLayer: "選択した要素をレイヤー '%s' に移動しますか?",
QwantToClear: 'QwantToClear',
QwantToOpen: 'QwantToOpen',
QerrorsRevertToSource: 'QerrorsRevertToSource',
QignoreSourceChanges: 'QignoreSourceChanges',
featNotSupported: 'featNotSupported',
enterNewImgURL: 'enterNewImgURL',
defsFailOnSave: 'defsFailOnSave',
loadingImage: 'loadingImage',
saveFromBrowser: 'saveFromBrowser',
noteTheseIssues: 'noteTheseIssues',
unsavedChanges: 'unsavedChanges',
enterNewLinkURL: 'enterNewLinkURL',
errorLoadingSVG: 'errorLoadingSVG',
URLloadFail: 'URLloadFail',
retrieving: 'retrieving'
},
confirmSetStorage: {
message: "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.",
storagePrefsAndContent: "Store preferences and SVG content locally",
storagePrefsOnly: "Only store preferences locally",
storagePrefs: "Store preferences locally",
storageNoPrefsOrContent: "Do not store my preferences or SVG content locally",
storageNoPrefs: "Do not store my preferences locally",
rememberLabel: "Remember this choice?",
rememberTooltip: "If you choose to opt out of storage while remembering this choice, the URL will change so as to avoid asking again."
message: '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.',
storagePrefsAndContent: 'storagePrefsAndContent',
storagePrefsOnly: 'storagePrefsOnly',
storagePrefs: 'storagePrefs',
storageNoPrefsOrContent: 'storageNoPrefsOrContent',
storageNoPrefs: 'storageNoPrefs',
rememberLabel: 'rememberLabel',
rememberTooltip: 'rememberTooltip'
}
});