UNPKG

suneditor

Version:

Pure JavaScript based WYSIWYG web editor

164 lines (159 loc) 5.29 kB
/* * wysiwyg web editor * * suneditor.js * Copyright 2017 JiHong Lee. * * Danish translation by davidkonrad at github or gmail * * MIT license. */ 'use strict'; (function (global, factory) { if (typeof module === 'object' && typeof module.exports === 'object') { module.exports = global.document ? factory(global, true) : function (w) { if (!w.document) { throw new Error('SUNEDITOR_LANG a window with a document'); } return factory(w); }; } else { factory(global); } }(typeof window !== 'undefined' ? window : this, function (window, noGlobal) { const lang = { code: 'da', toolbar: { default: 'Default', save: 'Gem', font: 'Skrifttype', formats: 'Format', fontSize: 'Skriftstørrelse', bold: 'Fed', underline: 'Understreget', italic: 'Skråskrift', strike: 'Overstreget', subscript: 'Sænket skrift', superscript: 'Hævet skrift', removeFormat: 'Fjern formatering', fontColor: 'Skriftfarve', hiliteColor: 'Baggrundsfarve', indent: 'Ryk ind', outdent: 'Ryk ud', align: 'Justering', alignLeft: 'Venstrejustering', alignRight: 'Højrejustering', alignCenter: 'Midterjustering', alignJustify: 'Tilpas margin', list: 'Lister', orderList: 'Nummereret liste', unorderList: 'Uordnet liste', horizontalRule: 'Horisontal linie', hr_solid: 'Almindelig', hr_dotted: 'Punkteret', hr_dashed: 'Streget', table: 'Tabel', link: 'Link', math: 'Math', image: 'Billede', video: 'Video', fullScreen: 'Fuld skærm', showBlocks: 'Vis blokke', codeView: 'Vis koder', undo: 'Undo', redo: 'Redo', preview: 'Preview', print: 'Print', tag_p: 'Paragraph', tag_div: 'Normal (DIV)', tag_h: 'Overskrift', tag_blockquote: 'Citer', tag_pre: 'Code', template: 'Schablone', lineHeight: 'Linjehøjde', paragraphStyle: 'Afsnitstil', textStyle: 'Tekststil' }, dialogBox: { linkBox: { title: 'Indsæt link', url: 'URL til link', text: 'Tekst for link', newWindowCheck: 'Åben i nyt faneblad' }, mathBox: { title: 'Math', inputLabel: 'Matematisk notation', fontSizeLabel: 'Skriftstørrelse', previewLabel: 'Preview' }, imageBox: { title: 'Indsæt billede', file: 'Indsæt fra fil', url: 'Indsæt fra URL', altText: 'Alternativ tekst' }, videoBox: { title: 'Indsæt Video', url: 'Indlejr video / YouTube' }, caption: 'Indsæt beskrivelse', close: 'Luk', submitButton: 'Gennemfør', revertButton: 'Gendan', proportion: 'Bevar proportioner', basic: 'Basis', left: 'Venstre', right: 'Højre', center: 'Center', width: 'Bredde', height: 'Højde', size: 'Størrelse', ratio: 'Forhold' }, controller: { edit: 'Rediger', unlink: 'Fjern link', remove: 'Fjern', insertRowAbove: 'Indsæt række foroven', insertRowBelow: 'Indsæt række nedenfor', deleteRow: 'Slet række', insertColumnBefore: 'Indsæt kolonne før', insertColumnAfter: 'Indsæt kolonne efter', deleteColumn: 'Slet kolonne', fixedColumnWidth: 'Fast søjlebredde', resize100: 'Forstør 100%', resize75: 'Forstør 75%', resize50: 'Forstør 50%', resize25: 'Forstør 25%', autoSize: 'Auto størrelse', mirrorHorizontal: 'Spejling, horisontal', mirrorVertical: 'Spejling, vertikal', rotateLeft: 'Roter til venstre', rotateRight: 'Toter til højre', maxSize: 'Max størrelse', minSize: 'Min størrelse', tableHeader: 'Tabel overskrift', mergeCells: 'Sammenlæg celler (merge)', splitCells: 'Opdel celler', HorizontalSplit: 'Opdel horisontalt', VerticalSplit: 'Opdel vertikalt' }, menu: { spaced: 'Brev Afstand', bordered: 'Afgrænsningslinje', neon: 'Neon', translucent: 'Gennemsigtig', shadow: 'Skygge' } }; if (typeof noGlobal === typeof undefined) { if (!window.SUNEDITOR_LANG) { window.SUNEDITOR_LANG = {}; } window.SUNEDITOR_LANG.da = lang; } return lang; }));