- 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,251 @@
/* eslint-disable quotes */
/* globals svgEditor */
svgEditor.readLang({
lang: "fa",
dir: "ltr",
lang: 'fa',
dir: 'ltr',
common: {
"ok": "‫تأیید‬",
"cancel": "‫لغو‬",
"key_backspace": "‫پس بر ",
"key_del": "‫حذف ",
"key_down": "‫پایین ",
"key_up": "‫بالا ",
"more_opts": "More Options",
"url": "URL",
"width": "Width",
"height": "Height"
ok: '‫تأیید‬',
cancel: '‫لغو‬',
key_backspace: '‫پس بر ',
key_del: '‫حذف ',
key_down: '‫پایین ',
key_up: '‫بالا ',
more_opts: 'More Options',
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: 'Show/hide more stroke tools',
palette_info: '‫برای تغییر رنگ، کلیک کنید. برای تغییر رنگ لبه، کلید تبدیل (shift) را فشرده و کلیک کنید‬',
zoom_level: '‫تغییر بزرگ نمایی‬',
panel_drag: 'Drag left/right to resize side panel'
},
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": "‫تغییر مختصات cx دایره‬",
"circle_cy": "‫تغییر مختصات cy دایره‬",
"circle_r": "‫تغییر شعاع دایره‬",
"ellipse_cx": "‫تغییر مختصات cx بیضی‬",
"ellipse_cy": "‫تغییر مختصات cy بیضی‬",
"ellipse_rx": "‫تغییر شعاع rx بیضی‬",
"ellipse_ry": "‫تغییر شعاع ry بیضی‬",
"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": "‫تغییر نوع قطعه (segment)",
"straight_segments": "‫مستقیم‬",
"curve_segments": "‫منحنی‬",
"text_contents": "‫تغییر محتویات متن‬",
"font_family": "‫تغییر خانواده قلم‬",
"font_size": "‫تغییر اندازه قلم‬",
"bold": "‫متن توپر ",
"italic": "‫متن کج "
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: '‫تغییر مختصات cx دایره‬',
circle_cy: '‫تغییر مختصات cy دایره‬',
circle_r: '‫تغییر شعاع دایره‬',
ellipse_cx: '‫تغییر مختصات cx بیضی‬',
ellipse_cy: '‫تغییر مختصات cy بیضی‬',
ellipse_rx: '‫تغییر شعاع rx بیضی‬',
ellipse_ry: '‫تغییر شعاع ry بیضی‬',
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: '‫تغییر نوع قطعه (segment)',
straight_segments: '‫مستقیم‬',
curve_segments: '‫منحنی‬',
text_contents: '‫تغییر محتویات متن‬',
font_family: '‫تغییر خانواده قلم‬',
font_size: '‫تغییر اندازه قلم‬',
bold: '‫متن توپر ',
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": "‫حالت نمایش لبه ها ",
"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": "‫جهت دهی مجدد مسیر‬",
"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 ": "حذف",
"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: '‫تغییر رنگ پس زمینه / تاری‬',
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: '‫حالت نمایش لبه ها ',
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: '‫جهت دهی مجدد مسیر‬',
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: 'حذف',
group: 'Group',
move_front: 'Bring to Front',
move_up: 'Bring Forward',
move_down: 'Send Backward',
move_back: 'Send to 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: '‫لایه‬',
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: '‫انتقال عناصر انتخاب شده به یک لایه متفاوت‬'
},
config: {
"image_props": "‫مشخصات تصویر‬",
"doc_title": "‫عنوان‬",
"doc_dims": "‫ابعاد صفحه مجازی (بوم)",
"included_images": "‫تصاویر گنجانده شده‬",
"image_opt_embed": "‫داده های جای داده شده (پرونده های محلی)",
"image_opt_ref": "‫استفاده از ارجاع به پرونده‬",
"editor_prefs": "‫تنظیمات ویراستار‬",
"icon_size": "‫اندازه شمایل‬",
"language": "‫زبان‬",
"background": "‫پس زمینه ویراستار‬",
"editor_img_url": "Image URL",
"editor_bg_note": "‫توجه: پس زمینه همراه تصویر ذخیره نخواهد شد.",
"icon_large": "‫بزرگ‬",
"icon_medium": "‫متوسط‬",
"icon_small": "‫کوچک‬",
"icon_xlarge": "‫خیلی بزرگ‬",
"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: '‫مشخصات تصویر‬',
doc_title: '‫عنوان‬',
doc_dims: '‫ابعاد صفحه مجازی (بوم)',
included_images: '‫تصاویر گنجانده شده‬',
image_opt_embed: '‫داده های جای داده شده (پرونده های محلی)',
image_opt_ref: '‫استفاده از ارجاع به پرونده‬',
editor_prefs: '‫تنظیمات ویراستار‬',
icon_size: '‫اندازه شمایل‬',
language: '‫زبان‬',
background: '‫پس زمینه ویراستار‬',
editor_img_url: 'Image URL',
editor_bg_note: '‫توجه: پس زمینه همراه تصویر ذخیره نخواهد شد.',
icon_large: '‫بزرگ‬',
icon_medium: '‫متوسط‬',
icon_small: '‫کوچک‬',
icon_xlarge: '‫خیلی بزرگ‬',
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'
},
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: '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'
},
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 an image library',
show_list: 'Show library list',
import_single: 'Import single',
import_multi: 'Import multiple',
open: 'Open as new document'
},
notification: {
"invalidAttrValGiven": "‫مقدار داده شده نامعتبر است‬",
"noContentToFitTo": "‫محتوایی برای هم اندازه شدن وجود ندارد‬",
"dupeLayerName": "‫لایه ای با آن نام وجود دارد!",
"enterUniqueLayerName": "‫لطفا یک نام لایه یکتا انتخاب کنید‬",
"enterNewLayerName": "‫لطفا نام لایه جدید را وارد کنید‬",
"layerHasThatName": "‫لایه از قبل آن نام را دارد‬",
"QmoveElemsToLayer": "‫عناصر انتخاب شده به لایه '%s' منتقل شوند؟‬",
"QwantToClear": "‫آیا مطمئن هستید که می خواهید نقاشی را پاک کنید؟\nاین عمل باعث حذف تاریخچه واگرد شما خواهد شد!",
"QwantToOpen": "Do you want to open a new file?\nThis will also erase your undo history!",
"QerrorsRevertToSource": "‫در منبع SVG شما خطاهای تجزیه (parse) وجود داشت.\nبه منبع SVG اصلی بازگردانده شود؟‬",
"QignoreSourceChanges": "‫تغییرات اعمال شده در منبع SVG نادیده گرفته شوند؟‬",
"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: '‫مقدار داده شده نامعتبر است‬',
noContentToFitTo: '‫محتوایی برای هم اندازه شدن وجود ندارد‬',
dupeLayerName: '‫لایه ای با آن نام وجود دارد!',
enterUniqueLayerName: '‫لطفا یک نام لایه یکتا انتخاب کنید‬',
enterNewLayerName: '‫لطفا نام لایه جدید را وارد کنید‬',
layerHasThatName: '‫لایه از قبل آن نام را دارد‬',
QmoveElemsToLayer: "‫عناصر انتخاب شده به لایه '%s' منتقل شوند؟‬",
QwantToClear: '‫آیا مطمئن هستید که می خواهید نقاشی را پاک کنید؟\nاین عمل باعث حذف تاریخچه واگرد شما خواهد شد!',
QwantToOpen: 'Do you want to open a new file?\nThis will also erase your undo history!',
QerrorsRevertToSource: '‫در منبع SVG شما خطاهای تجزیه (parse) وجود داشت.\nبه منبع SVG اصلی بازگردانده شود؟‬',
QignoreSourceChanges: '‫تغییرات اعمال شده در منبع SVG نادیده گرفته شوند؟‬',
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"...'
},
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: '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.'
}
});