8
0
Просмотр исходного кода

Merge branch 'master' into t/ckeditor5-theme-lark/107

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
5f5810f32e
27 измененных файлов с 156 добавлено и 49 удалено
  1. 35 0
      packages/ckeditor5-link/CHANGELOG.md
  2. 2 2
      packages/ckeditor5-link/lang/translations/ast.po
  3. 2 2
      packages/ckeditor5-link/lang/translations/da.po
  4. 1 1
      packages/ckeditor5-link/lang/translations/de.po
  5. 2 2
      packages/ckeditor5-link/lang/translations/el.po
  6. 1 1
      packages/ckeditor5-link/lang/translations/en.po
  7. 2 2
      packages/ckeditor5-link/lang/translations/eo.po
  8. 18 0
      packages/ckeditor5-link/lang/translations/es.po
  9. 2 2
      packages/ckeditor5-link/lang/translations/fr.po
  10. 18 0
      packages/ckeditor5-link/lang/translations/gl.po
  11. 1 1
      packages/ckeditor5-link/lang/translations/hr.po
  12. 2 2
      packages/ckeditor5-link/lang/translations/hu.po
  13. 2 2
      packages/ckeditor5-link/lang/translations/it.po
  14. 18 0
      packages/ckeditor5-link/lang/translations/ja.po
  15. 2 2
      packages/ckeditor5-link/lang/translations/kn.po
  16. 1 1
      packages/ckeditor5-link/lang/translations/ku.po
  17. 1 1
      packages/ckeditor5-link/lang/translations/nb.po
  18. 3 3
      packages/ckeditor5-link/lang/translations/pl.po
  19. 2 2
      packages/ckeditor5-link/lang/translations/pt-br.po
  20. 2 2
      packages/ckeditor5-link/lang/translations/pt.po
  21. 2 2
      packages/ckeditor5-link/lang/translations/sk.po
  22. 1 1
      packages/ckeditor5-link/lang/translations/sv.po
  23. 2 2
      packages/ckeditor5-link/lang/translations/tr.po
  24. 2 2
      packages/ckeditor5-link/lang/translations/uk.po
  25. 2 2
      packages/ckeditor5-link/lang/translations/zh-cn.po
  26. 18 0
      packages/ckeditor5-link/lang/translations/zh.po
  27. 12 12
      packages/ckeditor5-link/package.json

+ 35 - 0
packages/ckeditor5-link/CHANGELOG.md

@@ -1,6 +1,41 @@
 Changelog
 =========
 
+## [0.8.0](https://github.com/ckeditor/ckeditor5-link/compare/v0.7.0...v0.8.0) (2017-09-03)
+
+### Bug fixes
+
+* `<a>` elements without the `href` attribute should not be picked up by the converter when loading data or pasting. Closes [#139](https://github.com/ckeditor/ckeditor5-link/issues/139). ([80e4c03](https://github.com/ckeditor/ckeditor5-link/commit/80e4c03))
+* `LinkCommand` and `UnlinkCommand` should update their state upon editor load. Closes [#93](https://github.com/ckeditor/ckeditor5-link/issues/93). ([1784eb6](https://github.com/ckeditor/ckeditor5-link/commit/1784eb6))
+* It should be possible to paste links. See https://github.com/ckeditor/ckeditor5/issues/477. ([4f24219](https://github.com/ckeditor/ckeditor5-link/commit/4f24219))
+* Keyboard listener should check if the command is enabled before opening the balloon. Closes [#128](https://github.com/ckeditor/ckeditor5-link/issues/128). ([be4b9eb](https://github.com/ckeditor/ckeditor5-link/commit/be4b9eb))
+* Link should have a higher priority than all other attribute elements. Closes [#121](https://github.com/ckeditor/ckeditor5-link/issues/121). ([9dc8973](https://github.com/ckeditor/ckeditor5-link/commit/9dc8973))
+* Linking an entire image should not be possible. Closes [#85](https://github.com/ckeditor/ckeditor5-link/issues/85). ([1a4e110](https://github.com/ckeditor/ckeditor5-link/commit/1a4e110))
+* The editing UI should show up when the selection encloses a link. Closes [#23](https://github.com/ckeditor/ckeditor5-link/issues/23). ([ae43103](https://github.com/ckeditor/ckeditor5-link/commit/ae43103))
+* The link feature's keystrokes should properly integrate with the list feature. Improved balloon positioning. Closes [#146](https://github.com/ckeditor/ckeditor5-link/issues/146). ([4d808b7](https://github.com/ckeditor/ckeditor5-link/commit/4d808b7))
+* The URL field's value should be updated each time the form shows up. Closes [#78](https://github.com/ckeditor/ckeditor5-link/issues/78). ([3b702aa](https://github.com/ckeditor/ckeditor5-link/commit/3b702aa))
+* Then unlink button in the link balloon should be visible when a link is partially selected. Closes [#141](https://github.com/ckeditor/ckeditor5-link/issues/141). ([2a4e9d8](https://github.com/ckeditor/ckeditor5-link/commit/2a4e9d8))
+* URL input value should not be `'undefined'` when no link is selected. Closes [#123](https://github.com/ckeditor/ckeditor5-link/issues/123). ([22893d3](https://github.com/ckeditor/ckeditor5-link/commit/22893d3))
+
+### Features
+
+* `LinkFormView` controls should enter the read-only mode when `LinkCommand` and `UnlinkCommand` are disabled. Closes [#135](https://github.com/ckeditor/ckeditor5-link/issues/135). ([50da835](https://github.com/ckeditor/ckeditor5-link/commit/50da835))
+* URL input field should provide a placeholder. Closes [#109](https://github.com/ckeditor/ckeditor5-link/issues/109). ([6d18c55](https://github.com/ckeditor/ckeditor5-link/commit/6d18c55))
+
+### Other changes
+
+* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([919b497](https://github.com/ckeditor/ckeditor5-link/commit/919b497))
+* Cleaning up svg icons. ([af73903](https://github.com/ckeditor/ckeditor5-link/commit/af73903))
+* Removed the "Unlink" button. Closes [#52](https://github.com/ckeditor/ckeditor5-link/issues/52). ([3b7fda7](https://github.com/ckeditor/ckeditor5-link/commit/3b7fda7))
+
+  See https://github.com/ckeditor/ckeditor5-link/issues/31#issuecomment-316992952 and https://github.com/ckeditor/ckeditor5-link/issues/149 for plans how unlinking will be exposed in the future.
+
+### BREAKING CHANGES
+
+* The `unlink` UI component was removed from the component factory.
+* The command API has been changed.
+
+
 ## [0.7.0](https://github.com/ckeditor/ckeditor5-link/compare/v0.6.0...v0.6.1) (2017-05-07)
 
 ### Bug fixes

+ 2 - 2
packages/ckeditor5-link/lang/translations/ast.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Enllazar"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL del enllaz"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/da.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "Linkadresse"
+msgstr ""

+ 1 - 1
packages/ckeditor5-link/lang/translations/de.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr "Link-URL"

+ 2 - 2
packages/ckeditor5-link/lang/translations/el.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Σύνδεσμος"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "Διεύθυνση συνδέσμου"
+msgstr ""

+ 1 - 1
packages/ckeditor5-link/lang/translations/en.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr "Link URL"

+ 2 - 2
packages/ckeditor5-link/lang/translations/eo.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Ligilo"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL de la ligilo"
+msgstr ""

+ 18 - 0
packages/ckeditor5-link/lang/translations/es.po

@@ -0,0 +1,18 @@
+# Copyright (c) Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+msgid ""
+msgstr ""
+"Language: es\n"
+"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgctxt "Toolbar button tooltip for the Unlink feature."
+msgid "Unlink"
+msgstr ""
+
+msgctxt "Toolbar button tooltip for the Link feature."
+msgid "Link"
+msgstr "Enlace"
+
+msgctxt "Label for the URL input in the Link dialog."
+msgid "Link URL"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/fr.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Lien"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL du lien"
+msgstr ""

+ 18 - 0
packages/ckeditor5-link/lang/translations/gl.po

@@ -0,0 +1,18 @@
+# Copyright (c) Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+msgid ""
+msgstr ""
+"Language: gl\n"
+"Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+msgctxt "Toolbar button tooltip for the Unlink feature."
+msgid "Unlink"
+msgstr "Desligar"
+
+msgctxt "Toolbar button tooltip for the Link feature."
+msgid "Link"
+msgstr "Ligar"
+
+msgctxt "Label for the URL input in the Link dialog."
+msgid "Link URL"
+msgstr ""

+ 1 - 1
packages/ckeditor5-link/lang/translations/hr.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Veza"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr "URL veze"

+ 2 - 2
packages/ckeditor5-link/lang/translations/hu.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "Link URL-je"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/it.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Collegamento"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL collegamento"
+msgstr "URL del collegamento"

+ 18 - 0
packages/ckeditor5-link/lang/translations/ja.po

@@ -0,0 +1,18 @@
+# Copyright (c) Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+msgid ""
+msgstr ""
+"Language: ja\n"
+"Language-Team: Japanese (https://www.transifex.com/ckeditor/teams/11143/ja/)\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgctxt "Toolbar button tooltip for the Unlink feature."
+msgid "Unlink"
+msgstr "リンク解除"
+
+msgctxt "Toolbar button tooltip for the Link feature."
+msgid "Link"
+msgstr "リンク"
+
+msgctxt "Label for the URL input in the Link dialog."
+msgid "Link URL"
+msgstr "リンクURL"

+ 2 - 2
packages/ckeditor5-link/lang/translations/kn.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "‍ಕೊಂಡಿ"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "‍ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು"
+msgstr ""

+ 1 - 1
packages/ckeditor5-link/lang/translations/ku.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "بەستەر"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr "ناونیشانی بەستەر"

+ 1 - 1
packages/ckeditor5-link/lang/translations/nb.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Lenke"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr "URL for lenke"

+ 3 - 3
packages/ckeditor5-link/lang/translations/pl.po

@@ -3,7 +3,7 @@ msgid ""
 msgstr ""
 "Language: pl\n"
 "Language-Team: Polish (https://www.transifex.com/ckeditor/teams/11143/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"
+"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 "Toolbar button tooltip for the Unlink feature."
 msgid "Unlink"
@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Wstaw odnośnik"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "Adres URL"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/pt-br.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL do link"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/pt.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Hiperligação"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL da ligação"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/sk.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Odkaz"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL odkazu"
+msgstr ""

+ 1 - 1
packages/ckeditor5-link/lang/translations/sv.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Länk"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
 msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/tr.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Link"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "Link adresi"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/uk.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "Посилання"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "URL посилання"
+msgstr ""

+ 2 - 2
packages/ckeditor5-link/lang/translations/zh-cn.po

@@ -13,6 +13,6 @@ msgctxt "Toolbar button tooltip for the Link feature."
 msgid "Link"
 msgstr "超链接"
 
-msgctxt "Label for the url input in the Link dialog."
+msgctxt "Label for the URL input in the Link dialog."
 msgid "Link URL"
-msgstr "超链接地址"
+msgstr ""

+ 18 - 0
packages/ckeditor5-link/lang/translations/zh.po

@@ -0,0 +1,18 @@
+# Copyright (c) Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+msgid ""
+msgstr ""
+"Language: zh_TW\n"
+"Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgctxt "Toolbar button tooltip for the Unlink feature."
+msgid "Unlink"
+msgstr "取消連結"
+
+msgctxt "Toolbar button tooltip for the Link feature."
+msgid "Link"
+msgstr "連結"
+
+msgctxt "Label for the URL input in the Link dialog."
+msgid "Link URL"
+msgstr "連結˙ URL"

+ 12 - 12
packages/ckeditor5-link/package.json

@@ -1,23 +1,23 @@
 {
   "name": "@ckeditor/ckeditor5-link",
-  "version": "0.7.0",
+  "version": "0.8.0",
   "description": "Link feature for CKEditor 5.",
   "keywords": [],
   "dependencies": {
-    "@ckeditor/ckeditor5-core": "^0.8.1",
-    "@ckeditor/ckeditor5-engine": "^0.10.0",
-    "@ckeditor/ckeditor5-theme-lark": "^0.8.0",
-    "@ckeditor/ckeditor5-ui": "^0.9.0"
+    "@ckeditor/ckeditor5-core": "^0.9.0",
+    "@ckeditor/ckeditor5-engine": "^0.11.0",
+    "@ckeditor/ckeditor5-theme-lark": "^0.9.0",
+    "@ckeditor/ckeditor5-ui": "^0.10.0"
   },
   "devDependencies": {
     "@ckeditor/ckeditor5-dev-lint": "^3.1.0",
-    "@ckeditor/ckeditor5-editor-classic": "^0.7.3",
-    "@ckeditor/ckeditor5-enter": "^0.9.1",
-    "@ckeditor/ckeditor5-heading": "^0.9.1",
-    "@ckeditor/ckeditor5-paragraph": "^0.8.0",
-    "@ckeditor/ckeditor5-typing": "^0.9.1",
-    "@ckeditor/ckeditor5-undo": "^0.8.1",
-    "@ckeditor/ckeditor5-utils": "^0.9.1",
+    "@ckeditor/ckeditor5-editor-classic": "^0.8.0",
+    "@ckeditor/ckeditor5-enter": "^0.10.0",
+    "@ckeditor/ckeditor5-heading": "^0.10.0",
+    "@ckeditor/ckeditor5-paragraph": "^0.9.0",
+    "@ckeditor/ckeditor5-typing": "^0.10.0",
+    "@ckeditor/ckeditor5-undo": "^0.9.0",
+    "@ckeditor/ckeditor5-utils": "^0.10.0",
     "eslint-config-ckeditor5": "^1.0.5",
     "gulp": "^3.9.1",
     "guppy-pre-commit": "^0.4.0"