Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' into i/5794
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar authored Mar 27, 2020
2 parents 2f26321 + f7a497d commit d1516b8
Show file tree
Hide file tree
Showing 33 changed files with 698 additions and 26 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
Changelog
=========

## [18.0.0](https://github.com/ckeditor/ckeditor5-code-block/compare/v17.0.0...v18.0.0) (2020-03-19)

### Other changes

* Updated translations. ([8613554](https://github.com/ckeditor/ckeditor5-code-block/commit/8613554))


## [17.0.0](https://github.com/ckeditor/ckeditor5-code-block/compare/v16.0.0...v17.0.0) (2020-02-19)

### Bug fixes

* It should be possible to use multiple CSS classes in the language configuration. Closes [ckeditor/ckeditor5#5924](https://github.com/ckeditor/ckeditor5/issues/5924). ([dca0fe4](https://github.com/ckeditor/ckeditor5-code-block/commit/dca0fe4))
* Spell checker is now disabled inside code blocks. Closes [ckeditor/ckeditor5#5978](https://github.com/ckeditor/ckeditor5/issues/5978). ([cd03e20](https://github.com/ckeditor/ckeditor5-code-block/commit/cd03e20))

### Other changes

* Updated translations. ([3604224](https://github.com/ckeditor/ckeditor5-code-block/commit/3604224))


## [16.0.0](https://github.com/ckeditor/ckeditor5-code-block/tree/v16.0.0) (2019-12-04)

The initial release.
2 changes: 1 addition & 1 deletion docs/features/code-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ClassicEditor

### Integration with code highlighters

Although live code block highlighting is impossible when editing in CKEditor 5 ([learn more](https://github.com/ckeditor/ckeditor5/issues/436#issuecomment-548399675)), the content can be highlighted when displayed in the frontend (e.g. in blog posts, messages, etc.).
Although live code block highlighting ***is impossible when editing*** in CKEditor 5 ([learn more](https://github.com/ckeditor/ckeditor5/issues/436#issuecomment-548399675)), the content can be highlighted when displayed in the frontend (e.g. in blog posts, messages, etc.).

The code language {@link module:code-block/codeblock~CodeBlockConfig#languages configuration} helps to integrate with external code highlighters (e.g. [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/)). Please refer to the documentation of the highlighter of your choice and make sure the CSS classes configured in `codeBlock.languages` correspond with the code syntax auto–detection feature of the highlighter.

Expand Down
25 changes: 25 additions & 0 deletions lang/translations/az.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Azerbaijani (https://www.transifex.com/ckeditor/teams/11143/az/)\n"
"Language: az\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Kod blokunu əlavə et"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Sadə mətn"
25 changes: 25 additions & 0 deletions lang/translations/cs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Czech (https://www.transifex.com/ckeditor/teams/11143/cs/)\n"
"Language: cs\n"
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Vložit blok zdrojového kódu"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Prostý text"
25 changes: 25 additions & 0 deletions lang/translations/da.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Danish (https://www.transifex.com/ckeditor/teams/11143/da/)\n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Indsæt kodeblok"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Plain tekst"
25 changes: 25 additions & 0 deletions lang/translations/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: German (https://www.transifex.com/ckeditor/teams/11143/de/)\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Block einfügen"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Nur Text"
25 changes: 25 additions & 0 deletions lang/translations/en-au.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: English (Australia) (https://www.transifex.com/ckeditor/teams/11143/en_AU/)\n"
"Language: en_AU\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Insert code block"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Plain text"
25 changes: 25 additions & 0 deletions lang/translations/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Insertar bloque de código"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Texto plano"
25 changes: 25 additions & 0 deletions lang/translations/et.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Estonian (https://www.transifex.com/ckeditor/teams/11143/et/)\n"
"Language: et\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Sisesta koodiplokk"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Lihtsalt tekst"
25 changes: 25 additions & 0 deletions lang/translations/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Insérer un bloque de code"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Texte brute"
25 changes: 25 additions & 0 deletions lang/translations/gl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"
"Language: gl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Inserir bloque de código"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Texto simple"
25 changes: 25 additions & 0 deletions lang/translations/hu.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Hungarian (https://www.transifex.com/ckeditor/teams/11143/hu/)\n"
"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Kód blokk beszúrása"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Egyszerű szöveg"
25 changes: 25 additions & 0 deletions lang/translations/id.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Indonesian (https://www.transifex.com/ckeditor/teams/11143/id/)\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Sisipkan blok kode"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Teks mentah"
25 changes: 25 additions & 0 deletions lang/translations/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Inserisci blocco di codice"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Testo semplice"
25 changes: 25 additions & 0 deletions lang/translations/ku.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Kurdish (https://www.transifex.com/ckeditor/teams/11143/ku/)\n"
"Language: ku\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "دانانی خشتەی کۆد"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "تێکستی سادە"
25 changes: 25 additions & 0 deletions lang/translations/lv.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
#
# !!! IMPORTANT !!!
#
# Before you edit this file, please keep in mind that contributing to the project
# translations is possible ONLY via the Transifex online service.
#
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
#
# To learn more, check out the official contributor's guide:
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
#
msgid ""
msgstr ""
"Language-Team: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
"Language: lv\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"

msgctxt "A label of the button that allows inserting a new code block into the editor content."
msgid "Insert code block"
msgstr "Ievietot koda bloku"

msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
msgid "Plain text"
msgstr "Vienkāršs teksts"
Loading

0 comments on commit d1516b8

Please sign in to comment.