- Openclipart API work (waiting on possibility of their adding a missing CORS header)
This commit is contained in:
4
dist/extensions/ext-locale/imagelib/de.js
vendored
4
dist/extensions/ext-locale/imagelib/de.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_de = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
18
dist/extensions/ext-locale/imagelib/en.js
vendored
18
dist/extensions/ext-locale/imagelib/en.js
vendored
@@ -18,16 +18,20 @@ var svgEditorExtensionLocale_imagelib_en = (function () {
|
||||
name: 'IAN Symbol Libraries',
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/* ,
|
||||
// Disabling until X-Frame-Options may be removed again (or allow cross-origin):
|
||||
// The site is no longer using our API, and they have added an
|
||||
// `X-Frame-Options` header which prevents our usage cross-origin:
|
||||
// Getting messages like this in console:
|
||||
// Refused to display 'https://openclipart.org/detail/307176/sign-bike' in a frame
|
||||
// because it set 'X-Frame-Options' to 'sameorigin'.
|
||||
// Refused to display 'https://openclipart.org/detail/307176/sign-bike' in a frame
|
||||
// because it set 'X-Frame-Options' to 'sameorigin'.
|
||||
// url: 'https://openclipart.org/svgedit',
|
||||
// However, they do have a custom API which we are using here:
|
||||
/*
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
} */
|
||||
url: '{path}imagelib/openclipart{modularVersion}.html',
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
};
|
||||
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/fr.js
vendored
4
dist/extensions/ext-locale/imagelib/fr.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_fr = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/pl.js
vendored
4
dist/extensions/ext-locale/imagelib/pl.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_pl = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/pt-BR.js
vendored
4
dist/extensions/ext-locale/imagelib/pt-BR.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_pt_BR = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/ro.js
vendored
4
dist/extensions/ext-locale/imagelib/ro.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_ro = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/sk.js
vendored
4
dist/extensions/ext-locale/imagelib/sk.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_sk = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/sl.js
vendored
4
dist/extensions/ext-locale/imagelib/sl.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_sl = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
4
dist/extensions/ext-locale/imagelib/zh-CN.js
vendored
4
dist/extensions/ext-locale/imagelib/zh-CN.js
vendored
@@ -19,12 +19,12 @@ var svgEditorExtensionLocale_imagelib_zh_CN = (function () {
|
||||
url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
|
||||
description: 'Free library of illustrations'
|
||||
/*
|
||||
// See message in "en" locale as to why disabling
|
||||
// See message in "en" locale for further details
|
||||
,
|
||||
{
|
||||
name: 'Openclipart',
|
||||
url: 'https://openclipart.org/svgedit',
|
||||
description: 'Share and Use Images. Over 50,000 Public Domain SVG Images and Growing.'
|
||||
description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
|
||||
}
|
||||
*/
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user