From 36042248fcac8554a09335b586910c12a3bd5796 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 13 Feb 2020 10:50:30 +0100 Subject: [PATCH 01/15] Other: Updated translations. [skip ci] --- lang/translations/cs.po | 25 +++++++++++++++++++++++++ lang/translations/de.po | 25 +++++++++++++++++++++++++ lang/translations/en-au.po | 25 +++++++++++++++++++++++++ lang/translations/en.po | 2 +- lang/translations/es.po | 25 +++++++++++++++++++++++++ lang/translations/et.po | 25 +++++++++++++++++++++++++ lang/translations/fr.po | 25 +++++++++++++++++++++++++ lang/translations/gl.po | 25 +++++++++++++++++++++++++ lang/translations/hu.po | 25 +++++++++++++++++++++++++ lang/translations/id.po | 25 +++++++++++++++++++++++++ lang/translations/it.po | 25 +++++++++++++++++++++++++ lang/translations/lv.po | 25 +++++++++++++++++++++++++ lang/translations/nl.po | 25 +++++++++++++++++++++++++ lang/translations/pl.po | 25 +++++++++++++++++++++++++ lang/translations/pt-br.po | 25 +++++++++++++++++++++++++ lang/translations/sk.po | 25 +++++++++++++++++++++++++ lang/translations/sr-latn.po | 25 +++++++++++++++++++++++++ lang/translations/sr.po | 25 +++++++++++++++++++++++++ lang/translations/th.po | 25 +++++++++++++++++++++++++ lang/translations/tr.po | 25 +++++++++++++++++++++++++ lang/translations/uk.po | 25 +++++++++++++++++++++++++ lang/translations/zh-cn.po | 25 +++++++++++++++++++++++++ 22 files changed, 526 insertions(+), 1 deletion(-) create mode 100644 lang/translations/cs.po create mode 100644 lang/translations/de.po create mode 100644 lang/translations/en-au.po create mode 100644 lang/translations/es.po create mode 100644 lang/translations/et.po create mode 100644 lang/translations/fr.po create mode 100644 lang/translations/gl.po create mode 100644 lang/translations/hu.po create mode 100644 lang/translations/id.po create mode 100644 lang/translations/it.po create mode 100644 lang/translations/lv.po create mode 100644 lang/translations/nl.po create mode 100644 lang/translations/pl.po create mode 100644 lang/translations/pt-br.po create mode 100644 lang/translations/sk.po create mode 100644 lang/translations/sr-latn.po create mode 100644 lang/translations/sr.po create mode 100644 lang/translations/th.po create mode 100644 lang/translations/tr.po create mode 100644 lang/translations/uk.po create mode 100644 lang/translations/zh-cn.po diff --git a/lang/translations/cs.po b/lang/translations/cs.po new file mode 100644 index 0000000..3843b96 --- /dev/null +++ b/lang/translations/cs.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/de.po b/lang/translations/de.po new file mode 100644 index 0000000..f69e914 --- /dev/null +++ b/lang/translations/de.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/en-au.po b/lang/translations/en-au.po new file mode 100644 index 0000000..02724a2 --- /dev/null +++ b/lang/translations/en-au.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/en.po b/lang/translations/en.po index 42fcb3b..a6c13c9 100644 --- a/lang/translations/en.po +++ b/lang/translations/en.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/es.po b/lang/translations/es.po new file mode 100644 index 0000000..be0b263 --- /dev/null +++ b/lang/translations/es.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/et.po b/lang/translations/et.po new file mode 100644 index 0000000..310769b --- /dev/null +++ b/lang/translations/et.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/fr.po b/lang/translations/fr.po new file mode 100644 index 0000000..b9dde19 --- /dev/null +++ b/lang/translations/fr.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/gl.po b/lang/translations/gl.po new file mode 100644 index 0000000..1280026 --- /dev/null +++ b/lang/translations/gl.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/hu.po b/lang/translations/hu.po new file mode 100644 index 0000000..6f0db32 --- /dev/null +++ b/lang/translations/hu.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/id.po b/lang/translations/id.po new file mode 100644 index 0000000..34f2b4c --- /dev/null +++ b/lang/translations/id.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/it.po b/lang/translations/it.po new file mode 100644 index 0000000..58a9205 --- /dev/null +++ b/lang/translations/it.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/lv.po b/lang/translations/lv.po new file mode 100644 index 0000000..542c843 --- /dev/null +++ b/lang/translations/lv.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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" diff --git a/lang/translations/nl.po b/lang/translations/nl.po new file mode 100644 index 0000000..c589625 --- /dev/null +++ b/lang/translations/nl.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Dutch (https://www.transifex.com/ckeditor/teams/11143/nl/)\n" +"Language: nl\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 "Codeblok invoegen" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "" diff --git a/lang/translations/pl.po b/lang/translations/pl.po new file mode 100644 index 0000000..7fb3e24 --- /dev/null +++ b/lang/translations/pl.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Polish (https://www.transifex.com/ckeditor/teams/11143/pl/)\n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 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 "Wstaw blok kodu" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Zwykły tekst" diff --git a/lang/translations/pt-br.po b/lang/translations/pt-br.po new file mode 100644 index 0000000..6e44034 --- /dev/null +++ b/lang/translations/pt-br.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n" +"Language: pt_BR\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 bloco 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" diff --git a/lang/translations/sk.po b/lang/translations/sk.po new file mode 100644 index 0000000..bb3dee2 --- /dev/null +++ b/lang/translations/sk.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Slovak (https://www.transifex.com/ckeditor/teams/11143/sk/)\n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 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žte blok 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 "Čistý text" diff --git a/lang/translations/sr-latn.po b/lang/translations/sr-latn.po new file mode 100644 index 0000000..580d2d5 --- /dev/null +++ b/lang/translations/sr-latn.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Serbian (Latin) (https://www.transifex.com/ckeditor/teams/11143/sr@latin/)\n" +"Language: sr@latin\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 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 "Dodaj blok koda" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Običan tekst" diff --git a/lang/translations/sr.po b/lang/translations/sr.po new file mode 100644 index 0000000..1fbecf4 --- /dev/null +++ b/lang/translations/sr.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Serbian (https://www.transifex.com/ckeditor/teams/11143/sr/)\n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 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 "Додај блок кода" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Обичан текст" diff --git a/lang/translations/th.po b/lang/translations/th.po new file mode 100644 index 0000000..b02a50e --- /dev/null +++ b/lang/translations/th.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n" +"Language: th\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 "เพิ่มโค้ดบล็อก" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "ข้อความธรรมดา" diff --git a/lang/translations/tr.po b/lang/translations/tr.po new file mode 100644 index 0000000..9aee7c2 --- /dev/null +++ b/lang/translations/tr.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n" +"Language: tr\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 bloğu ekle" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Düz metin" diff --git a/lang/translations/uk.po b/lang/translations/uk.po new file mode 100644 index 0000000..2e67fc0 --- /dev/null +++ b/lang/translations/uk.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 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 "Вставте блок коду" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Простий текст" diff --git a/lang/translations/zh-cn.po b/lang/translations/zh-cn.po new file mode 100644 index 0000000..93b7347 --- /dev/null +++ b/lang/translations/zh-cn.po @@ -0,0 +1,25 @@ +# Copyright (c) 2003-2019, 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: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n" +"Language: zh_CN\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 "插入代码块" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "纯文本" From 8913f568aafc292667656316686e8970b9ac7db7 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 13 Feb 2020 11:13:48 +0100 Subject: [PATCH 02/15] Other: Reverted year 2020 in .po files license header. [skip ci] --- lang/translations/cs.po | 2 +- lang/translations/de.po | 2 +- lang/translations/en-au.po | 2 +- lang/translations/en.po | 2 +- lang/translations/es.po | 2 +- lang/translations/et.po | 2 +- lang/translations/fr.po | 2 +- lang/translations/gl.po | 2 +- lang/translations/hu.po | 2 +- lang/translations/id.po | 2 +- lang/translations/it.po | 2 +- lang/translations/lv.po | 2 +- lang/translations/nl.po | 2 +- lang/translations/pl.po | 2 +- lang/translations/pt-br.po | 2 +- lang/translations/sk.po | 2 +- lang/translations/sr-latn.po | 2 +- lang/translations/sr.po | 2 +- lang/translations/th.po | 2 +- lang/translations/tr.po | 2 +- lang/translations/uk.po | 2 +- lang/translations/zh-cn.po | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lang/translations/cs.po b/lang/translations/cs.po index 3843b96..dca46f4 100644 --- a/lang/translations/cs.po +++ b/lang/translations/cs.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/de.po b/lang/translations/de.po index f69e914..08af616 100644 --- a/lang/translations/de.po +++ b/lang/translations/de.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/en-au.po b/lang/translations/en-au.po index 02724a2..2b59ea2 100644 --- a/lang/translations/en-au.po +++ b/lang/translations/en-au.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/en.po b/lang/translations/en.po index a6c13c9..42fcb3b 100644 --- a/lang/translations/en.po +++ b/lang/translations/en.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/es.po b/lang/translations/es.po index be0b263..1e3173f 100644 --- a/lang/translations/es.po +++ b/lang/translations/es.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/et.po b/lang/translations/et.po index 310769b..979b7a3 100644 --- a/lang/translations/et.po +++ b/lang/translations/et.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/fr.po b/lang/translations/fr.po index b9dde19..f75d47e 100644 --- a/lang/translations/fr.po +++ b/lang/translations/fr.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/gl.po b/lang/translations/gl.po index 1280026..4f1bc80 100644 --- a/lang/translations/gl.po +++ b/lang/translations/gl.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/hu.po b/lang/translations/hu.po index 6f0db32..0c4c0da 100644 --- a/lang/translations/hu.po +++ b/lang/translations/hu.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/id.po b/lang/translations/id.po index 34f2b4c..b85aacd 100644 --- a/lang/translations/id.po +++ b/lang/translations/id.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/it.po b/lang/translations/it.po index 58a9205..79a0353 100644 --- a/lang/translations/it.po +++ b/lang/translations/it.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/lv.po b/lang/translations/lv.po index 542c843..f9a4a22 100644 --- a/lang/translations/lv.po +++ b/lang/translations/lv.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/nl.po b/lang/translations/nl.po index c589625..47f79ae 100644 --- a/lang/translations/nl.po +++ b/lang/translations/nl.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/pl.po b/lang/translations/pl.po index 7fb3e24..b772ac6 100644 --- a/lang/translations/pl.po +++ b/lang/translations/pl.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/pt-br.po b/lang/translations/pt-br.po index 6e44034..25a4505 100644 --- a/lang/translations/pt-br.po +++ b/lang/translations/pt-br.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/sk.po b/lang/translations/sk.po index bb3dee2..b4cdf0c 100644 --- a/lang/translations/sk.po +++ b/lang/translations/sk.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/sr-latn.po b/lang/translations/sr-latn.po index 580d2d5..bac6cc1 100644 --- a/lang/translations/sr-latn.po +++ b/lang/translations/sr-latn.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/sr.po b/lang/translations/sr.po index 1fbecf4..abaef7a 100644 --- a/lang/translations/sr.po +++ b/lang/translations/sr.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/th.po b/lang/translations/th.po index b02a50e..0fec254 100644 --- a/lang/translations/th.po +++ b/lang/translations/th.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/tr.po b/lang/translations/tr.po index 9aee7c2..3a490a2 100644 --- a/lang/translations/tr.po +++ b/lang/translations/tr.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/uk.po b/lang/translations/uk.po index 2e67fc0..46a0754 100644 --- a/lang/translations/uk.po +++ b/lang/translations/uk.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # diff --git a/lang/translations/zh-cn.po b/lang/translations/zh-cn.po index 93b7347..f9d1845 100644 --- a/lang/translations/zh-cn.po +++ b/lang/translations/zh-cn.po @@ -1,4 +1,4 @@ -# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. +# Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. # # !!! IMPORTANT !!! # From 3439b3b00df3baa60eace1511dbb2e3643f39c22 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 13 Feb 2020 15:42:17 +0100 Subject: [PATCH 03/15] Internal: Optimzied the SVG icons for size. [skip ci] --- theme/icons/codeblock.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/icons/codeblock.svg b/theme/icons/codeblock.svg index ba4a9ee..896a401 100644 --- a/theme/icons/codeblock.svg +++ b/theme/icons/codeblock.svg @@ -1 +1 @@ - + \ No newline at end of file From c5cfaa757fbe5bc71dea24b497028d56acdc8b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Wed, 19 Feb 2020 16:42:23 +0100 Subject: [PATCH 04/15] Docs: Changelog. [skip ci] --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf1e8d..d62d5b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ Changelog ========= +## [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 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 + +* Reverted year 2020 in .po files license header. ([8913f56](https://github.com/ckeditor/ckeditor5-code-block/commit/8913f56)) +* 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. From 478e63ee95d2eb4b43efa2f77f27004290b14ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Wed, 19 Feb 2020 23:05:39 +0100 Subject: [PATCH 05/15] Docs: Corrected the changelog. [skip ci] --- CHANGELOG.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d62d5b4..2ea5a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,12 @@ Changelog ### Bug fixes -* It should be possible to use multiple 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)) +* 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 -* Reverted year 2020 in .po files license header. ([8913f56](https://github.com/ckeditor/ckeditor5-code-block/commit/8913f56)) -* Updated translations. ([3604224](https://github.com/ckeditor/ckeditor5-code-block/commit/3604224)) +* 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) From 1bf8d7db079b7cb8c2cbe87e2e19b7968b87584f Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 20 Feb 2020 12:24:53 +0100 Subject: [PATCH 06/15] Internal: Updated dependencies. [skip ci] --- package.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index de816b5..deee96e 100644 --- a/package.json +++ b/package.json @@ -10,22 +10,22 @@ "ckeditor5-plugin" ], "dependencies": { - "@ckeditor/ckeditor5-core": "^16.0.0", - "@ckeditor/ckeditor5-enter": "^16.0.0", - "@ckeditor/ckeditor5-ui": "^16.0.0", - "@ckeditor/ckeditor5-utils": "^16.0.0", + "@ckeditor/ckeditor5-core": "^17.0.0", + "@ckeditor/ckeditor5-enter": "^17.0.0", + "@ckeditor/ckeditor5-ui": "^17.0.0", + "@ckeditor/ckeditor5-utils": "^17.0.0", "lodash-es": "^4.17.10" }, "devDependencies": { - "@ckeditor/ckeditor5-alignment": "^16.0.0", - "@ckeditor/ckeditor5-autoformat": "^16.0.0", - "@ckeditor/ckeditor5-basic-styles": "^16.0.0", - "@ckeditor/ckeditor5-block-quote": "^16.0.0", - "@ckeditor/ckeditor5-editor-classic": "^16.0.0", - "@ckeditor/ckeditor5-engine": "^16.0.0", - "@ckeditor/ckeditor5-indent": "^16.0.0", - "@ckeditor/ckeditor5-paragraph": "^16.0.0", - "@ckeditor/ckeditor5-undo": "^16.0.0", + "@ckeditor/ckeditor5-alignment": "^17.0.0", + "@ckeditor/ckeditor5-autoformat": "^17.0.0", + "@ckeditor/ckeditor5-basic-styles": "^17.0.0", + "@ckeditor/ckeditor5-block-quote": "^17.0.0", + "@ckeditor/ckeditor5-editor-classic": "^17.0.0", + "@ckeditor/ckeditor5-engine": "^17.0.0", + "@ckeditor/ckeditor5-indent": "^17.0.0", + "@ckeditor/ckeditor5-paragraph": "^17.0.0", + "@ckeditor/ckeditor5-undo": "^17.0.0", "eslint": "^5.5.0", "eslint-config-ckeditor5": "^2.0.0", "husky": "^1.3.1", From 4b04044f2f49cbb46296b06ff039d998e8452822 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 20 Feb 2020 12:31:42 +0100 Subject: [PATCH 07/15] Release: v17.0.0. [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index deee96e..5f8be36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ckeditor/ckeditor5-code-block", - "version": "16.0.0", + "version": "17.0.0", "description": "Code Block feature for CKEditor 5.", "keywords": [ "ckeditor", From 8f2a231a11532ea4ec9625f85fa277440884c8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Go=C5=82aszewski?= Date: Fri, 21 Feb 2020 13:07:51 +0100 Subject: [PATCH 08/15] Fix dangling comma. --- src/codeblockediting.js | 2 +- src/codeblockui.js | 2 +- tests/codeblockediting.js | 14 +++++++------- tests/manual/codeblock.js | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/codeblockediting.js b/src/codeblockediting.js index 74c23bc..7a79bfd 100644 --- a/src/codeblockediting.js +++ b/src/codeblockediting.js @@ -67,7 +67,7 @@ export default class CodeBlockEditing extends Plugin { { language: 'php', label: 'PHP' }, { language: 'python', label: 'Python' }, { language: 'ruby', label: 'Ruby' }, - { language: 'typescript', label: 'TypeScript' }, + { language: 'typescript', label: 'TypeScript' } ], // A single tab. diff --git a/src/codeblockui.js b/src/codeblockui.js index 0298895..946def6 100644 --- a/src/codeblockui.js +++ b/src/codeblockui.js @@ -51,7 +51,7 @@ export default class CodeBlockUI extends Plugin { splitButtonView.on( 'execute', () => { editor.execute( 'codeBlock', { - language: defaultLanguageDefinition.language, + language: defaultLanguageDefinition.language } ); editor.editing.view.focus(); diff --git a/tests/codeblockediting.js b/tests/codeblockediting.js index 4d721b0..7e83f65 100644 --- a/tests/codeblockediting.js +++ b/tests/codeblockediting.js @@ -660,7 +660,7 @@ describe( 'CodeBlockEditing', () => { plugins: [ CodeBlockEditing, AlignmentEditing, BoldEditing, Enter, Paragraph ], codeBlock: { languages: [ - { language: 'cpp', label: 'C++', class: '' }, + { language: 'cpp', label: 'C++', class: '' } ] } } ) @@ -765,7 +765,7 @@ describe( 'CodeBlockEditing', () => { plugins: [ CodeBlockEditing, AlignmentEditing, BoldEditing, Enter, Paragraph ], codeBlock: { languages: [ - { language: 'cpp', label: 'C++', class: '' }, + { language: 'cpp', label: 'C++', class: '' } ] } } ) @@ -792,7 +792,7 @@ describe( 'CodeBlockEditing', () => { codeBlock: { languages: [ { language: 'javascript', label: 'JavaScript', class: 'language-js' }, - { language: 'swift', label: 'Swift', class: 'swift ios-code' }, + { language: 'swift', label: 'Swift', class: 'swift ios-code' } ] } } ) @@ -956,7 +956,7 @@ describe( 'CodeBlockEditing', () => { languages: [ { language: 'foo', label: 'Foo' }, { language: 'bar', label: 'Bar' }, - { language: 'qux', label: 'Qux', class: 'qux' }, + { language: 'qux', label: 'Qux', class: 'qux' } ] } } ) @@ -984,7 +984,7 @@ describe( 'CodeBlockEditing', () => { languages: [ { language: 'foo', label: 'Foo' }, { language: 'bar', label: 'Bar' }, - { language: 'qux', label: 'Qux', class: '' }, + { language: 'qux', label: 'Qux', class: '' } ] } } ) @@ -1050,7 +1050,7 @@ describe( 'CodeBlockEditing', () => { languages: [ { language: 'foo', label: 'Foo', class: 'foo' }, { language: 'baz', label: 'Baz', class: 'baz bar' }, - { language: 'qux', label: 'Qux', class: 'qux' }, + { language: 'qux', label: 'Qux', class: 'qux' } ] } } ).then( editor => { @@ -1071,7 +1071,7 @@ describe( 'CodeBlockEditing', () => { languages: [ { language: 'foo', label: 'Foo', class: 'foo' }, { language: 'baz', label: 'Baz', class: 'baz bar' }, - { language: 'qux', label: 'Qux', class: 'qux' }, + { language: 'qux', label: 'Qux', class: 'qux' } ] } } ).then( editor => { diff --git a/tests/manual/codeblock.js b/tests/manual/codeblock.js index dd83869..89e489a 100644 --- a/tests/manual/codeblock.js +++ b/tests/manual/codeblock.js @@ -19,7 +19,7 @@ ClassicEditor 'heading', '|', 'bold', 'italic', 'code', 'blockQuote', 'codeBlock', '|', 'outdent', 'indent', '|', - 'undo', 'redo', + 'undo', 'redo' ] } ) .then( editor => { From 0ae7693c749d6a0de33d7275bc06c094365c6ba4 Mon Sep 17 00:00:00 2001 From: castroCrea Date: Mon, 24 Feb 2020 14:42:16 +0100 Subject: [PATCH 09/15] Update code-blocks.md Improve doc code blocks to avoid miss reading #6309 --- docs/features/code-blocks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/code-blocks.md b/docs/features/code-blocks.md index 3622d77..e789220 100644 --- a/docs/features/code-blocks.md +++ b/docs/features/code-blocks.md @@ -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. From 5df12815f8850b9fc224af9be26aad9c851ab19c Mon Sep 17 00:00:00 2001 From: panr Date: Wed, 26 Feb 2020 16:14:58 +0100 Subject: [PATCH 10/15] Internal: The SVG icons compressed by the clean-up-svg-icons task (svgo) should be editable in graphical editors (see ckeditor/ckeditor5#6334) --- theme/icons/codeblock.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/icons/codeblock.svg b/theme/icons/codeblock.svg index 896a401..0abf927 100644 --- a/theme/icons/codeblock.svg +++ b/theme/icons/codeblock.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 8d9ddf26d00b1c156a1c751bcd2502428c59e445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Koszuli=C5=84ski?= Date: Wed, 4 Mar 2020 20:17:36 +0100 Subject: [PATCH 11/15] Tests: Added tc for #5910. --- tests/codeblockediting.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tests/codeblockediting.js b/tests/codeblockediting.js index 7e83f65..56e6f9a 100644 --- a/tests/codeblockediting.js +++ b/tests/codeblockediting.js @@ -569,6 +569,34 @@ describe( 'CodeBlockEditing', () => { return editor.destroy(); } ); } ); + + // See #5910. + it( 'should allow to indent an entire code block with at least two lines', () => { + const element = document.createElement( 'div' ); + document.body.appendChild( element ); + + return ClassicTestEditor + .create( element, { + plugins: [ CodeBlockEditing, AlignmentEditing, IndentEditing ] + } ) + .then( newEditor => { + const editor = newEditor; + + editor.setData( '
\t\tx\n\tx
' ); + editor.model.change( writer => { + writer.setSelection( editor.model.document.getRoot().getChild( 0 ), 'on' ); + } ); + editor.execute( 'indent' ); + + expect( getModelData( editor.model ) ).to.equal( + '[\t\t\tx\t\tx]' + ); + + element.remove(); + + return editor.destroy(); + } ); + } ); } ); describe( 'editing pipeline m -> v', () => { From 861355483dae36a4ce220e325e2385a02b59157c Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Fri, 13 Mar 2020 14:01:07 +0100 Subject: [PATCH 12/15] Other: Updated translations. [skip ci] --- lang/translations/az.po | 25 +++++++++++++++++++++++++ lang/translations/da.po | 25 +++++++++++++++++++++++++ lang/translations/ku.po | 25 +++++++++++++++++++++++++ lang/translations/no.po | 25 +++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 lang/translations/az.po create mode 100644 lang/translations/da.po create mode 100644 lang/translations/ku.po create mode 100644 lang/translations/no.po diff --git a/lang/translations/az.po b/lang/translations/az.po new file mode 100644 index 0000000..9ed1574 --- /dev/null +++ b/lang/translations/az.po @@ -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" diff --git a/lang/translations/da.po b/lang/translations/da.po new file mode 100644 index 0000000..7d27949 --- /dev/null +++ b/lang/translations/da.po @@ -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" diff --git a/lang/translations/ku.po b/lang/translations/ku.po new file mode 100644 index 0000000..2026e43 --- /dev/null +++ b/lang/translations/ku.po @@ -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 "تێکستی سادە" diff --git a/lang/translations/no.po b/lang/translations/no.po new file mode 100644 index 0000000..aafeaa1 --- /dev/null +++ b/lang/translations/no.po @@ -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: Norwegian (https://www.transifex.com/ckeditor/teams/11143/no/)\n" +"Language: no\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 "Sett inn kodeblokk" + +msgctxt "A language of the code block in the editor content when no specific programming language is associated with it." +msgid "Plain text" +msgstr "Ren tekst" From a1ab737f58ef3922695dd43bc18e3e69438bbaa5 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 19 Mar 2020 10:35:52 +0100 Subject: [PATCH 13/15] Docs: Changelog. [skip ci] --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ea5a5f..89c6c97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ 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 From 66282477ea8620fdf289db4b044382704620c682 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 19 Mar 2020 14:22:11 +0100 Subject: [PATCH 14/15] Internal: Updated dependencies. [skip ci] --- package.json | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 5f8be36..411631b 100644 --- a/package.json +++ b/package.json @@ -10,22 +10,22 @@ "ckeditor5-plugin" ], "dependencies": { - "@ckeditor/ckeditor5-core": "^17.0.0", - "@ckeditor/ckeditor5-enter": "^17.0.0", - "@ckeditor/ckeditor5-ui": "^17.0.0", - "@ckeditor/ckeditor5-utils": "^17.0.0", + "@ckeditor/ckeditor5-core": "^18.0.0", + "@ckeditor/ckeditor5-enter": "^18.0.0", + "@ckeditor/ckeditor5-ui": "^18.0.0", + "@ckeditor/ckeditor5-utils": "^18.0.0", "lodash-es": "^4.17.10" }, "devDependencies": { - "@ckeditor/ckeditor5-alignment": "^17.0.0", - "@ckeditor/ckeditor5-autoformat": "^17.0.0", - "@ckeditor/ckeditor5-basic-styles": "^17.0.0", - "@ckeditor/ckeditor5-block-quote": "^17.0.0", - "@ckeditor/ckeditor5-editor-classic": "^17.0.0", - "@ckeditor/ckeditor5-engine": "^17.0.0", - "@ckeditor/ckeditor5-indent": "^17.0.0", - "@ckeditor/ckeditor5-paragraph": "^17.0.0", - "@ckeditor/ckeditor5-undo": "^17.0.0", + "@ckeditor/ckeditor5-alignment": "^18.0.0", + "@ckeditor/ckeditor5-autoformat": "^18.0.0", + "@ckeditor/ckeditor5-basic-styles": "^18.0.0", + "@ckeditor/ckeditor5-block-quote": "^18.0.0", + "@ckeditor/ckeditor5-editor-classic": "^18.0.0", + "@ckeditor/ckeditor5-engine": "^18.0.0", + "@ckeditor/ckeditor5-indent": "^18.0.0", + "@ckeditor/ckeditor5-paragraph": "^18.0.0", + "@ckeditor/ckeditor5-undo": "^18.0.0", "eslint": "^5.5.0", "eslint-config-ckeditor5": "^2.0.0", "husky": "^1.3.1", From f7a497d7e4d0e02012dab894f1bef858e0156288 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 19 Mar 2020 14:28:08 +0100 Subject: [PATCH 15/15] Release: v18.0.0. [skip ci] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 411631b..681aefa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ckeditor/ckeditor5-code-block", - "version": "17.0.0", + "version": "18.0.0", "description": "Code Block feature for CKEditor 5.", "keywords": [ "ckeditor",