Files
svgedit/dist/locale/lang.fa.js
Brett Zamir a3f0b8e501 - Security fix: 'extPath', 'imgPath', 'extIconsPath', 'canvgPath', 'langPath', 'jGraduatePath', and 'jspdfPath' were not being prevented
- Breaking change: Rename "svgutils.js" to "utilities.js" (make in conformity with JSDoc module naming convention)
- Breaking change: Rename "svgedit.js" to "namespaces.js" (to make clear purpose and avoid confusing with editor)
- Breaking change: Rename "jquery-svg.js" to "jQuery.attr.js"
- Breaking change: Rename "jquery.contextMenu.js" to "jQuery.contextMenu.js"
- Breaking change: Rename "jquery.jpicker.js" to "jQuery.jPicker.js"
- Breaking change: Rename "JQuerySpinBtn.css" to "jQuery.SpinButton.css"
- Breaking change: Rename "JQuerySpinBtn.js" to "jQuery.SpinButton.js" (to have file name more closely reflect name)
- Breaking change: Rename "jquery.svgicons.js" to "jQuery.svgIcons.js"
- Breaking change: Rename "jquery.jgraduate.js" to "jQuery.jGraduate.js"
- Breaking change: Rename "pathseg.js" to "svgpathseg.js" (as it is a poyfill of SVGPathSeg)
- Breaking change: Rename `addSvgElementFromJson()` to `addSVGElementFromJson` for consistency
- Breaking change: Rename `changeSvgContent()` to `changeSVGContent()` for consistency
- Breaking change: Have `exportPDF` resolve with `output` and `outputType` rather than `dataurlstring` (as type may vary)
- Breaking change: Rename `extensions/mathjax/MathJax.js` to `extensions/mathjax/MathJax.min.js`
- Breaking change: Avoid recent change to have editor ready callbacks return Promises (we're not using and advantageous to keep sequential)
- Breaking change: Avoid recent addition of locale-side function in ext-imagelib for l10n
- Breaking change: Change name of ext-arrows.js from `Arrows` to `arrows` for sake of file path (not localized anyways).
- Breaking change: Change `addlangData` extension event to `addLangData` for consistency with method name
- Breaking change: Have `readLang`  return lang and data but do not call `setLang`
- Fix: Have general locales load first so extensions may use
- Fix: Provide `importLocale` to extensions `init` so it may delay adding of the extension until locale data loaded
- Fix: Ensure call to `rasterExport` without `imgType` properly sets MIME type to PNG
- Fix: Wrong name for moinsave
- Update: Update WebAppFind per new API changes
- Enhancement: Make `setStrings` public on editor for late setting (used
  by `ext-shapes.js`)
- Enhancement: Add `extensions_added` event
- Enhancement: Add `message` event (Relay messages including those which
  have been been received prior to extension load)
- Enhancement: Allow SVGEdit to work out of the box--avoid need for copying sample config file. Should also help with Github-based file servers
- Enhancement: Allow avoiding "name" in extension export (just extract out of file name)
- Enhancement: Add stack blur to canvg by default (and refactoring it)
- Enhancement: Return `Promise` for `embedImage` (as with some other loading methods)
- Enhancement: Supply `importLocale` to `langReady` to facilitate extension locale loading
- Enhancement: Recover if an extension fails to load (just log and otherwise ignore)
- Enhancement: More i18n of extensions (also fixed issue with some console warnings about missing locale strings); i18nize Hello World too
- Enhancement: Allowing importing of locales within `addLangData`
- npm: Update devDeps
- Docs: Migrate copies of all old wiki pages to docs/from-old-wiki folder; intended for a possible move to Markdown, so raw HTML (with formatting) was not preserved, though named links had their absolute URL links preserved
- Docs: Begin deleting `SvgCanvas.md` as ensuring jsdoc has replacements
- Docs: Add Edtior doc file for help to general users
- Docs: Clarify/simplify install instructions
- npm/Docs (JSDoc): Add script to check for overly generic types
- Docs (JSDoc): For config/prefs and extension creating, link to tutorials (moved tutorials to own directory to avoid recursion problems by jsdoc)
- Docs (JSDoc): Add modules (upper case for usual main entrance files or regular names)
- Docs (JSDoc): Fill out missing areas; indicate return of `undefined`; consistency with `@returns`
- Docs (JSDoc): Add our own layout template to support overflow
- Docs (JSDoc): Use cleverLinks and disallow unknown tags
- Docs (JSDoc): Insist on "pedantic" flag; put output directory in config
- Docs (JSDoc): Use more precise Integer/Float over number, the specific type of array/function/object
- Docs (JSDoc): Use `@throws`, `@enum`, `@event`/`@fires`/`@listens`
- Docs: Generally update/improve docs (fixes #92)
- Docs: Update links to `latest` path (Avoid needing to update such references upon each release)
- Docs: 80 chars max
- Refactoring: Drop code for extension as function (already requiring export to be an object)
- Refactoring: Object destructuring, `Object.entries`, Object shorthand, array extras, more camelCase variable names
- Refactoring: Add a `Command` base class
- Refactoring: Simplify svgicons `callback` ready detection
- Refactoring: Put `let` or `const` closer to scope
- Refactoring: Remove unneeded `delimiter` from regex escaping utility
- Refactoring: Clearer variable names
- Refactoring: Use (non-deprecated) Event constructors
- Testing: Use new Sinon
2018-07-08 22:39:46 -07:00

234 lines
11 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var svgEditorLang_fa = (function () {
'use strict';
var lang_fa = {
lang: 'fa',
dir: 'rtl',
common: {
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'
},
ui: {
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: '‫متن کج '
},
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_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: '‫حالت نمایش لبه ها ',
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: '‫انتقال عناصر انتخاب شده به یک لایه متفاوت‬'
},
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'
},
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'
},
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"...'
}
};
return lang_fa;
}());