- 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: "sk",
dir: "ltr",
lang: 'lang',
dir: 'dir',
common: {
"ok": "Uložiť",
"cancel": "Zrušiť",
"key_backspace": "Backspace",
"key_del": "Delete",
"key_down": "šípka dole",
"key_up": "šípka hore",
"more_opts": "Viac možností",
"url": "URL",
"width": "Šírka",
"height": "Výška"
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": "Beží na"
powered_by: 'powered_by'
},
ui: {
"toggle_stroke_tools": "Skryť/ukázať viac nástrojov pre krivku",
"palette_info": "Kliknutím zmeníte farbu výplne, so Shiftom zmeníte farbu obrysu",
"zoom_level": "Zmena priblíženia",
"panel_drag": "Potiahnutie vľavo/vpravo na zmenu veľkosti bočného panela"
toggle_stroke_tools: 'toggle_stroke_tools',
palette_info: 'palette_info',
zoom_level: 'zoom_level',
panel_drag: 'panel_drag'
},
properties: {
"id": "Zmeniť ID elementu",
"fill_color": "Zmeniť farbu výplne",
"stroke_color": "Zmeniť farbu obrysu",
"stroke_style": "Zmeniť štýl obrysu",
"stroke_width": "Zmeniť hrúbku obrysu",
"pos_x": "Zmeniť súradnicu X",
"pos_y": "Zmeniť súradnicu Y",
"linecap_butt": "Koniec čiary: presný",
"linecap_round": "Koniec čiary: zaoblený",
"linecap_square": "Koniec čiary: so štvorcovým presahom",
"linejoin_bevel": "Napojenie čiar: skosené",
"linejoin_miter": "Napojenie čiar: ostré",
"linejoin_round": "Napojenie čiar: oblé",
"angle": "Zmeniť uhol natočenia",
"blur": "Zmeniť intenzitu rozmazania",
"opacity": "Zmeniť prehľadnosť vybraných položiek",
"circle_cx": "Zmeniť súradnicu X stredu kružnice",
"circle_cy": "Zmeniť súradnicu Y stredu kružnice",
"circle_r": "Zmeniť polomer kružnice",
"ellipse_cx": "Zmeniť súradnicu X stredu elipsy",
"ellipse_cy": "Zmeniť súradnicu Y stredu elipsy",
"ellipse_rx": "Zmeniť polomer X elipsy",
"ellipse_ry": "Zmeniť polomer Y elipsy",
"line_x1": "Zmeniť počiatočnú súradnicu X čiary",
"line_x2": "Zmeniť koncovú súradnicu X čiary",
"line_y1": "Zmeniť počiatočnú súradnicu Y čiary",
"line_y2": "Zmeniť koncovú súradnicu Y čiary",
"rect_height": "Zmena výšku obdĺžnika",
"rect_width": "Zmeniť šírku obdĺžnika",
"corner_radius": "Zmeniť zaoblenie rohov obdĺžnika",
"image_width": "Zmeniť šírku obrázka",
"image_height": "Zmeniť výšku obrázka",
"image_url": "Zmeniť URL",
"node_x": "Zmeniť uzlu súradnicu X",
"node_y": "Zmeniť uzlu súradnicu Y",
"seg_type": "Zmeniť typ segmentu",
"straight_segments": "Rovný",
"curve_segments": "Krivka",
"text_contents": "Zmeniť text",
"font_family": "Zmeniť font",
"font_size": "Zmeniť veľkosť písma",
"bold": "Tučné",
"italic": "Kurzíva"
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": "Hlavné menu",
"bkgnd_color_opac": "Zmeniť farbu a priehľadnosť pozadia",
"connector_no_arrow": "Spojnica bez šípok",
"fitToContent": "Prispôsobiť obsahu",
"fit_to_all": "Prisposobiť celému obsahu",
"fit_to_canvas": "Prispôsobiť stránke",
"fit_to_layer_content": "Prispôsobiť obsahu vrstvy",
"fit_to_sel": "Prispôsobiť výberu",
"align_relative_to": "Zarovnať relatívne k ...",
"relativeTo": "vzhľadom k:",
"page": "stránke",
"largest_object": "najväčšiemu objektu",
"selected_objects": "zvoleným objektom",
"smallest_object": "najmenšiemu objektu",
"new_doc": "Nový obrázok",
"open_doc": "Otvoriť obrázok",
"export_img": "Export",
"save_doc": "Uložiť obrázok",
"import_doc": "Import Image",
"align_to_page": "Zarovnať element na stránku",
"align_bottom": "Zarovnať dole",
"align_center": "Zarovnať na stred",
"align_left": "Zarovnať doľava",
"align_middle": "Zarovnať na stred",
"align_right": "Zarovnať doprava",
"align_top": "Zarovnať hore",
"mode_select": "Výber",
"mode_fhpath": "Ceruzka",
"mode_line": "Čiara",
"mode_connect": "Spojiť dva objekty",
"mode_rect": "Obdĺžnik",
"mode_square": "Štvorec",
"mode_fhrect": "Obdĺžnik voľnou rukou",
"mode_ellipse": "Elipsa",
"mode_circle": "Kružnica",
"mode_fhellipse": "Elipsa voľnou rukou",
"mode_path": "Krivka",
"mode_shapelib": "Knižnica Tvarov",
"mode_text": "Text",
"mode_image": "Obrázok",
"mode_zoom": "Priblíženie",
"mode_eyedropper": "Pipeta",
"no_embed": "POZNÁMKA: Tento obrázok nemôže byť vložený. Jeho zobrazenie bude závisieť na jeho ceste",
"undo": "Späť",
"redo": "Opakovať",
"tool_source": "Upraviť SVG kód",
"wireframe_mode": "Drôtový model",
"toggle_grid": "Zobraz/Skry mriežku",
"clone": "Klonuj element(y)",
"del": "Zmaž element(y)",
"group_elements": "Zoskupiť elementy",
"make_link": "Naviaž odkaz (hyper)link",
"set_link_url": "Nastav odkaz URL (ak prázdny, odstráni sa)",
"to_path": "Previesť na krivku",
"reorient_path": "Zmeniť orientáciu krivky",
"ungroup": "Zrušiť skupinu",
"docprops": "Vlastnosti dokumentu",
"imagelib": "Knižnica obrázkov",
"move_bottom": "Presunúť spodok",
"move_top": "Presunúť na vrch",
"node_clone": "Klonovať uzol",
"node_delete": "Zmazať uzol",
"node_link": "Prepojiť kontrolné body",
"add_subpath": "Pridať ďalšiu súčasť krivky",
"openclose_path": "Otvoriť/uzatvoriť súčasť krivky",
"source_save": "Uložiť",
"cut": "Vystrihnutie",
"copy": "Kópia",
"paste": "Vloženie",
"paste_in_place": "Vloženie na pôvodnom mieste",
"delete": "Zmazanie",
"group": "Group",
"move_front": "Vysuň navrch",
"move_up": "Vysuň vpred",
"move_down": "Zasuň na spodok",
"move_back": "Zasuň dozadu"
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": "Vrstva",
"layers": "Vrstvy",
"del": "Odstrániť vrstvu",
"move_down": "Presunúť vrstvu dole",
"new": "Nová vrstva",
"rename": "Premenovať vrstvu",
"move_up": "Presunúť vrstvu hore",
"dupe": "Zduplikovať vrstvu",
"merge_down": "Zlúčiť s vrstvou dole",
"merge_all": "Zlúčiť všetko",
"move_elems_to": "Presunúť elementy do:",
"move_selected": "Presunúť vybrané elementy do inej vrstvy"
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": "Vlastnosti obrázka",
"doc_title": "Titulok",
"doc_dims": "Rozmery plátna",
"included_images": "Vložené obrázky",
"image_opt_embed": "Vložiť data (lokálne súbory)",
"image_opt_ref": "Použiť referenciu na súbor",
"editor_prefs": "Vlastnosti editora",
"icon_size": "Veľkosť ikon",
"language": "Jazyk",
"background": "Zmeniť pozadie",
"editor_img_url": "Image URL",
"editor_bg_note": "Poznámka: Pozadie nebude uložené spolu s obrázkom.",
"icon_large": "Veľká",
"icon_medium": "Stredná",
"icon_small": "Malá",
"icon_xlarge": "Extra veľká",
"select_predefined": "Vybrať preddefinovaný:",
"units_and_rulers": "Jednotky & Pravítka",
"show_rulers": "Ukáž pravítka",
"base_unit": "Základné jednotky:",
"grid": "Mriežka",
"snapping_onoff": "Priväzovanie (do mriežky) zap/vyp",
"snapping_stepsize": "Priväzovanie (do mriežky) veľkosť kroku:",
"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": "Základné",
"object": "Objekty",
"symbol": "Symboly",
"arrow": "Šípky",
"flowchart": "Vývojové diagramy",
"animal": "Zvieratá",
"game": "Karty & Šach",
"dialog_balloon": "Dialogové balóny",
"electronics": "Elektronika",
"math": "Matematické",
"music": "Hudba",
"misc": "Rôzne",
"raphael_1": "raphaeljs.com sada 1",
"raphael_2": "raphaeljs.com sada 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": "Výber knižnice obrázkov",
"show_list": "Prehľad knižnice",
"import_single": "Import jeden",
"import_multi": "Import viacero",
"open": "Otvoriť ako nový dokument"
select_lib: 'select_lib',
show_list: 'show_list',
import_single: 'import_single',
import_multi: 'import_multi',
open: 'open'
},
notification: {
"invalidAttrValGiven": "Neplatná hodnota",
"noContentToFitTo": "Vyberte oblasť na prispôsobenie",
"dupeLayerName": "Vrstva s daným názvom už existuje!",
"enterUniqueLayerName": "Zadajte jedinečný názov vrstvy",
"enterNewLayerName": "Zadajte názov vrstvy",
"layerHasThatName": "Vrstva už má zadaný tento názov",
"QmoveElemsToLayer": "Presunúť elementy do vrstvy '%s'?",
"QwantToClear": "Naozaj chcete vymazať kresbu?\n(História bude taktiež vymazaná!)!",
"QwantToOpen": "Chcete otvoriť nový súbor?\nTo však tiež vymaže Vašu UNDO knižnicu!",
"QerrorsRevertToSource": "Chyba pri načítaní SVG dokumentu.\nVrátiť povodný SVG dokument?",
"QignoreSourceChanges": "Ignorovať zmeny v SVG dokumente?",
"featNotSupported": "Vlastnosť nie je podporovaná",
"enterNewImgURL": "Zadajte nové URL obrázka",
"defsFailOnSave": "POZNÁMKA: Kvôli chybe v prehliadači sa tento obrázok môže zobraziť nesprávne (napr. chýbajúce prechody či elementy). Po uložení sa zobrazí správne.",
"loadingImage": "Nahrávam obrázok, prosím čakajte ...",
"saveFromBrowser": "Vyberte \"Uložiť ako ...\" vo vašom prehliadači na uloženie tohoto obrázka do súboru %s.",
"noteTheseIssues": "Môžu sa vyskytnúť nasledujúce problémy: ",
"unsavedChanges": "Sú tu neuložené zmeny.",
"enterNewLinkURL": "Zadajte nové URL odkazu (hyperlink)",
"errorLoadingSVG": "Chyba: Nedajú sa načítať SVG data",
"URLloadFail": "Nemožno čítať z URL",
"retrieving": "Načítavanie \"%s\"..."
invalidAttrValGiven: 'invalidAttrValGiven',
noContentToFitTo: 'noContentToFitTo',
dupeLayerName: 'dupeLayerName',
enterUniqueLayerName: 'enterUniqueLayerName',
enterNewLayerName: 'enterNewLayerName',
layerHasThatName: 'layerHasThatName',
QmoveElemsToLayer: "Presunúť elementy do vrstvy '%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'
}
});