Skip to content

Commit

Permalink
Merge pull request #90 from shuzijun/dependabot/npm_and_yarn/vditor-3…
Browse files Browse the repository at this point in the history
….9.1
  • Loading branch information
dependabot[bot] authored Mar 19, 2023
2 parents 96bea16 + b2aa496 commit 3b0db69
Show file tree
Hide file tree
Showing 8 changed files with 178 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lockfileVersion": 1,
"dependencies": {
"vditor": "3.9.0"
"vditor": "3.9.1"
}
}
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vditor v3.9.0 - A markdown editor written in TypeScript.
* Vditor v3.9.1 - A markdown editor written in TypeScript.
*
* MIT License
*
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/index.min.js

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions src/main/resources/vditor/dist/js/i18n/fr_FR.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
window.VditorI18n = {
'alignCenter': 'Centré',
'alignLeft': 'Gauche',
'alignRight': 'Droite',
'alternateText': 'Texte de remplacement',
'bold': 'Gras',
'both': 'éditeur & prévisualisation',
'check': 'Liste de tâches',
'close': 'Fermer',
'code': 'Bloc de code',
'code-theme': 'Thème pour le bloc de code',
'column': 'Colonne',
'comment': 'Commentaire',
'confirm': 'Confirmez',
'content-theme': 'Thème pour le contenu',
'copied': 'Copié',
'copy': 'Copier',
'delete-column': 'Enlever ligne',
'delete-row': 'Enlever colonne',
'devtools': 'Outils de dev',
'down': 'Bas',
'downloadTip': 'Le navigateur ne permet pas le téléversement',
'edit': 'Editer',
'edit-mode': 'Changer le mode d\'édition',
'emoji': 'Emoji',
'export': 'Export',
'fileTypeError': 'erreur de type de fichier',
'footnoteRef': 'Ref. notes de pied de page',
'fullscreen': 'Bascule en plein écran',
'generate': 'Création',
'headings': 'Titres',
'heading1': 'Titre 1',
'heading2': 'Titre 2',
'heading3': 'Titre 3',
'heading4': 'Titre 4',
'heading5': 'Titre 5',
'heading6': 'Titre 6',
'help': 'Aide',
'imageURL': 'URL de l\'image',
'indent': 'Augmenter le retrait',
'info': 'Info',
'inline-code': 'Code en ligne',
'insert-after': 'Insérer une ligne après',
'insert-before': 'Insérer une ligne avant',
'insertColumnLeft': 'Insérer col. à gauche',
'insertColumnRight': 'Insérer col. à droite',
'insertRowAbove': 'Insérer 1 au dessus',
'insertRowBelow': 'Insérer 1 en dessous',
'instantRendering': 'Aperçu instantané',
'italic': 'Italique',
'language': 'Langue',
'line': 'Ligne',
'link': 'Lien',
'linkRef': 'Réf. Lien',
'list': 'Liste',
'more': 'Plus',
'nameEmpty': 'Nom est vide',
'ordered-list': 'Liste ordonnée',
'outdent': 'Réduire le retrait',
'outline': 'Contour',
'over': 'survol',
'performanceTip': 'La prévisualisation temps réel prend ${x}ms, vous pouvez fermer',
'preview': 'Prévisualisation',
'quote': 'Citation',
'record': 'Démarrer/Stopper l\'enregistrement',
'record-tip': 'L\'appareil ne supporte pas l\'enregistrement',
'recording': 'Enregistrement en cours...',
'redo': 'Rétablir',
'remove': 'Enlever',
'row': 'Ligne',
'spin': 'Rotation',
'splitView': 'Vue scindée',
'strike': 'Barré',
'table': 'Table',
'textIsNotEmpty': 'texte(pas vide)',
'title': 'Titre',
'tooltipText': 'Texte au survol',
'undo': 'Annuler',
'up': 'Haut',
'update': 'Mettre à jour',
'upload': 'Téléverser image ou fichier',
'uploadError': 'erreur de téléversement',
'uploading': 'Téléversement en cours...',
'wysiwyg': 'WYSIWYG',
}
85 changes: 85 additions & 0 deletions src/main/resources/vditor/dist/js/i18n/sv_SE.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
window.VditorI18n = {
'alignCenter': 'Centrera',
'alignLeft': 'Vänsterställ',
'alignRight': 'Högerställ',
'alternateText': 'Alternativ text',
'bold': 'Fet',
'both': 'editera & granska',
'check': 'Att göra lista',
'close': 'Stäng',
'code': 'Kodblock',
'code-theme': 'Granska tema för kodblock',
'column': 'Kolumn',
'comment': 'Kommentera',
'confirm': 'Bekräfta',
'content-theme': 'Granska tema för innehåll',
'copied': 'Kopierad',
'copy': 'Kopiera',
'delete-column': 'Radera Kolumn',
'delete-row': 'Radera Rad',
'devtools': 'Utveckingsverktyg',
'down': 'Ner',
'downloadTip': 'Webläsaren kan ej hantera funktionen nedladdning',
'edit': 'Redigera',
'edit-mode': 'Skfta Redigeringsläge',
'emoji': 'Emoji',
'export': 'Exportera',
'fileTypeError': 'Fel filtyp',
'footnoteRef': 'Fotnotreferens',
'fullscreen': 'Skifta fullskärmsläge',
'generate': 'Genererar',
'headings': 'Rubriker',
'heading1': 'Rubriknivå 1',
'heading2': 'Rubriknivå 2',
'heading3': 'Rubriknivå 3',
'heading4': 'Rubriknivå 4',
'heading5': 'Rubriknivå 5',
'heading6': 'Rubriknivå 6',
'help': 'Hjälp',
'imageURL': 'Bildlänk (URL)',
'indent': 'Dra in',
'info': 'Info',
'inline-code': 'Dra in kod',
'insert-after': 'Infoga rad efter',
'insert-before': 'Infoga rad innan',
'insertColumnLeft': 'Infoga kolumn till vänster',
'insertColumnRight': 'Infoga kolumn till höger',
'insertRowAbove': 'Infoga rad ovan',
'insertRowBelow': 'Infoga rad under',
'instantRendering': 'Omedelbar Rendering',
'italic': 'Kursiv',
'language': 'Språk',
'line': 'Linje',
'link': 'Länk',
'linkRef': 'Länk Ref',
'list': 'Lista',
'more': 'Mer',
'nameEmpty': 'Namn saknas',
'ordered-list': 'Ordnad Lista',
'outdent': 'Dra ut',
'outline': 'Disponera',
'over': 'över',
'performanceTip': 'Granskning i realtid kräver ${x}ms, du kan stänga det',
'preview': 'Granska',
'quote': 'Citera',
'record': 'Börja inspelning/Avsluta inspelning',
'record-tip': 'Enheten stödjer inte inspelning',
'recording': 'spelar in...',
'redo': 'Gör om',
'remove': 'Ta bort',
'row': 'Rad',
'spin': 'Snurra',
'splitView': 'Splittad Vy',
'strike': 'Genomstruket',
'table': 'Tabell',
'textIsNotEmpty': 'text(ej tom)',
'title': 'Titel',
'tooltipText': 'Tooltip text',
'undo': 'Ångra',
'up': 'Upp',
'update': 'Uppdatera',
'upload': 'Ladda upp bild eller fil',
'uploadError': 'uppladdningsfel',
'uploading': 'laddar upp...',
'wysiwyg': 'WYSIWYG',
}
4 changes: 2 additions & 2 deletions src/main/resources/vditor/dist/method.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare class Vditor {
/** 点击图片放大 */
static adapterRender: typeof adapterRender;
/** 点击图片放大 */
static previewImage: (oldImgElement: HTMLImageElement, lang?: "en_US" | "ja_JP" | "ko_KR" | "ru_RU" | "zh_CN" | "zh_TW", theme?: string) => void;
static previewImage: (oldImgElement: HTMLImageElement, lang?: "en_US" | "fr_FR" | "ja_JP" | "ko_KR" | "ru_RU" | "sv_SE" | "zh_CN" | "zh_TW", theme?: string) => void;
/** 为 element 中的代码块添加复制按钮 */
static codeRender: (element: HTMLElement) => void;
/** 对 graphviz 进行渲染 */
Expand Down Expand Up @@ -35,7 +35,7 @@ declare class Vditor {
/** 为[特定链接](https://github.com/Vanessa219/vditor/issues/7)分别渲染为视频、音频、嵌入的 iframe */
static mediaRender: (element: HTMLElement) => void;
/** 对选中的文字进行阅读 */
static speechRender: (element: HTMLElement, lang?: "en_US" | "ja_JP" | "ko_KR" | "ru_RU" | "zh_CN" | "zh_TW") => void;
static speechRender: (element: HTMLElement, lang?: "en_US" | "fr_FR" | "ja_JP" | "ko_KR" | "ru_RU" | "sv_SE" | "zh_CN" | "zh_TW") => void;
/** 对图片进行懒加载 */
static lazyLoadImageRender: (element?: HTMLElement | Document) => boolean;
/** Markdown 文本转换为 HTML,该方法需使用[异步编程](https://ld246.com/article/1546828434083?r=Vaness) */
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/vditor/dist/method.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/main/resources/vditor/dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,11 @@ interface ITips {

interface II18n {
en_US: ITips;
fr_FR: ITips;
ja_JP: ITips;
ko_KR: ITips;
ru_RU: ITips;
sv_SE: ITips;
zh_CN: ITips;
zh_TW: ITips;
}
Expand Down

0 comments on commit 3b0db69

Please sign in to comment.