@atlaskit/link-create 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/common/utils/locale/fetch-messages-for-locale.js +64 -0
- package/dist/cjs/i18n/da.js +22 -0
- package/dist/cjs/i18n/de.js +22 -0
- package/dist/cjs/i18n/es.js +22 -0
- package/dist/cjs/i18n/fi.js +22 -0
- package/dist/cjs/i18n/fr.js +22 -0
- package/dist/cjs/i18n/hu.js +22 -0
- package/dist/cjs/i18n/it.js +22 -0
- package/dist/cjs/i18n/ja.js +22 -0
- package/dist/cjs/i18n/nb.js +22 -0
- package/dist/cjs/i18n/pl.js +22 -0
- package/dist/cjs/i18n/pt_BR.js +22 -0
- package/dist/cjs/i18n/ru.js +22 -0
- package/dist/cjs/i18n/sv.js +22 -0
- package/dist/cjs/i18n/th.js +22 -0
- package/dist/cjs/i18n/tr.js +22 -0
- package/dist/cjs/i18n/uk.js +22 -0
- package/dist/cjs/i18n/vi.js +22 -0
- package/dist/cjs/i18n/zh_TW.js +22 -0
- package/dist/cjs/ui/main.js +7 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/common/utils/locale/fetch-messages-for-locale.js +21 -0
- package/dist/es2019/i18n/da.js +15 -0
- package/dist/es2019/i18n/de.js +15 -0
- package/dist/es2019/i18n/es.js +15 -0
- package/dist/es2019/i18n/fi.js +15 -0
- package/dist/es2019/i18n/fr.js +15 -0
- package/dist/es2019/i18n/hu.js +15 -0
- package/dist/es2019/i18n/it.js +15 -0
- package/dist/es2019/i18n/ja.js +15 -0
- package/dist/es2019/i18n/nb.js +15 -0
- package/dist/es2019/i18n/pl.js +15 -0
- package/dist/es2019/i18n/pt_BR.js +15 -0
- package/dist/es2019/i18n/ru.js +15 -0
- package/dist/es2019/i18n/sv.js +15 -0
- package/dist/es2019/i18n/th.js +15 -0
- package/dist/es2019/i18n/tr.js +15 -0
- package/dist/es2019/i18n/uk.js +15 -0
- package/dist/es2019/i18n/vi.js +15 -0
- package/dist/es2019/i18n/zh_TW.js +15 -0
- package/dist/es2019/ui/main.js +7 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/common/utils/locale/fetch-messages-for-locale.js +41 -0
- package/dist/esm/i18n/da.js +15 -0
- package/dist/esm/i18n/de.js +15 -0
- package/dist/esm/i18n/es.js +15 -0
- package/dist/esm/i18n/fi.js +15 -0
- package/dist/esm/i18n/fr.js +15 -0
- package/dist/esm/i18n/hu.js +15 -0
- package/dist/esm/i18n/it.js +15 -0
- package/dist/esm/i18n/ja.js +15 -0
- package/dist/esm/i18n/nb.js +15 -0
- package/dist/esm/i18n/pl.js +15 -0
- package/dist/esm/i18n/pt_BR.js +15 -0
- package/dist/esm/i18n/ru.js +15 -0
- package/dist/esm/i18n/sv.js +15 -0
- package/dist/esm/i18n/th.js +15 -0
- package/dist/esm/i18n/tr.js +15 -0
- package/dist/esm/i18n/uk.js +15 -0
- package/dist/esm/i18n/vi.js +15 -0
- package/dist/esm/i18n/zh_TW.js +15 -0
- package/dist/esm/ui/main.js +7 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/common/utils/locale/fetch-messages-for-locale.d.ts +2 -0
- package/dist/types/i18n/da.d.ts +14 -0
- package/dist/types/i18n/de.d.ts +14 -0
- package/dist/types/i18n/es.d.ts +14 -0
- package/dist/types/i18n/fi.d.ts +14 -0
- package/dist/types/i18n/fr.d.ts +14 -0
- package/dist/types/i18n/hu.d.ts +14 -0
- package/dist/types/i18n/it.d.ts +14 -0
- package/dist/types/i18n/ja.d.ts +14 -0
- package/dist/types/i18n/nb.d.ts +14 -0
- package/dist/types/i18n/pl.d.ts +14 -0
- package/dist/types/i18n/pt_BR.d.ts +14 -0
- package/dist/types/i18n/ru.d.ts +14 -0
- package/dist/types/i18n/sv.d.ts +14 -0
- package/dist/types/i18n/th.d.ts +14 -0
- package/dist/types/i18n/tr.d.ts +14 -0
- package/dist/types/i18n/uk.d.ts +14 -0
- package/dist/types/i18n/vi.d.ts +14 -0
- package/dist/types/i18n/zh_TW.d.ts +14 -0
- package/dist/types-ts4.5/common/utils/locale/fetch-messages-for-locale.d.ts +2 -0
- package/dist/types-ts4.5/i18n/da.d.ts +14 -0
- package/dist/types-ts4.5/i18n/de.d.ts +14 -0
- package/dist/types-ts4.5/i18n/es.d.ts +14 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +14 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +14 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +14 -0
- package/dist/types-ts4.5/i18n/it.d.ts +14 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +14 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +14 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +14 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +14 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +14 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +14 -0
- package/dist/types-ts4.5/i18n/th.d.ts +14 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +14 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +14 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +14 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +14 -0
- package/example-helpers/mock-plugin-form.tsx +91 -0
- package/package.json +3 -8
- package/tmp/api-report-tmp.d.ts +0 -136
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Italian (Italy)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': "Aggiorna la pagina o, se il problema persiste, contatta l'<a>Assistenza Atlassian</a>.",
|
|
11
|
+
'link-create.unknown-error.heading': 'Si è verificato un problema',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Chiudi',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Crea',
|
|
14
|
+
'linkCreate.modal.heading': 'Crea nuovo'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Japanese
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'ページを更新してください。問題が解決しない場合は、<a>アトラシアン サポート</a>にお問い合わせください。',
|
|
11
|
+
'link-create.unknown-error.heading': 'エラーが発生しました',
|
|
12
|
+
'linkCreate.createForm.button.close': '閉じる',
|
|
13
|
+
'linkCreate.createForm.button.create': '作成',
|
|
14
|
+
'linkCreate.modal.heading': '新規作成'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Norwegian (Bokmål)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Oppdater siden, eller kontakt <a>Atlassian-støtte</a> hvis problemet vedvarer.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Det oppstod en feil',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Lukk',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Opprett',
|
|
14
|
+
'linkCreate.modal.heading': 'Opprett ny'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Polish (Poland)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Odśwież stronę lub skontaktuj się z <a>działem wsparcia Atlassian</a>, jeśli sytuacja będzie się powtarzać.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Coś poszło nie tak',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Zamknij',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Utwórz',
|
|
14
|
+
'linkCreate.modal.heading': 'Utwórz nową'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Portuguese (Brazil)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Atualize a página ou fale com o <a>Suporte da Atlassian</a> se o erro persistir.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Algo deu errado',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Fechar',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Criar',
|
|
14
|
+
'linkCreate.modal.heading': 'Criar novo'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Russian
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Обновите страницу и, если проблема возникнет снова, обратитесь в <a>поддержку Atlassian</a>.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Произошла ошибка',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Закрыть',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Создать',
|
|
14
|
+
'linkCreate.modal.heading': 'Создание'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Swedish
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Uppdatera sidan eller kontakta <a>Atlassians support</a> om problemet kvarstår.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Något gick fel',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Stäng',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Skapa',
|
|
14
|
+
'linkCreate.modal.heading': 'Skapa ny'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Thai (Thailand)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'รีเฟรชหน้าข้อมูล หรือติดต่อฝ่าย <a>สนับสนุน Atlassian</a> หากยังคงมีปัญหานี้เกิดขึ้น',
|
|
11
|
+
'link-create.unknown-error.heading': 'เกิดข้อผิดพลาดบางอย่าง',
|
|
12
|
+
'linkCreate.createForm.button.close': 'ปิด',
|
|
13
|
+
'linkCreate.createForm.button.create': 'สร้าง',
|
|
14
|
+
'linkCreate.modal.heading': 'สร้างใหม่'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Turkish (Turkey)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Sayfayı yenileyin veya sorun devam ederse <a>Atlassian Destek</a> ekibiyle iletişime geçin.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Bir hata oluştu',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Kapat',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Oluştur',
|
|
14
|
+
'linkCreate.modal.heading': 'Yenisini oluşturun'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Ukrainian (Ukraine)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Якщо помилка виникатиме знову, оновіть сторінку або зверніться до <a>служби підтримки Atlassian</a>.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Сталася помилка',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Закрити',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Створити',
|
|
14
|
+
'linkCreate.modal.heading': 'Створення'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Vietnamese (Vietnam)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Làm mới trang hoặc liên hệ với <a>Bộ phận hỗ trợ Atlassian</a> nếu sự cố này vẫn tiếp diễn.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Đã xảy ra lỗi',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Đóng',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Tạo',
|
|
14
|
+
'linkCreate.modal.heading': 'Tạo mới'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Chinese (Traditional)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': '請重新整理頁面,如果持續發生錯誤,請連絡 <a>Atlassian 支援人員</a>。',
|
|
11
|
+
'link-create.unknown-error.heading': '發生錯誤',
|
|
12
|
+
'linkCreate.createForm.button.close': '關閉',
|
|
13
|
+
'linkCreate.createForm.button.create': '建立',
|
|
14
|
+
'linkCreate.modal.heading': '新建'
|
|
15
|
+
};
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
5
|
+
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
5
6
|
import { COMPONENT_NAME } from '../common/constants';
|
|
6
7
|
import { withLinkCreateAnalyticsContext } from '../common/utils/analytics';
|
|
8
|
+
import { fetchMessagesForLocale } from '../common/utils/locale/fetch-messages-for-locale';
|
|
9
|
+
import i18nEN from '../i18n/en';
|
|
7
10
|
import { name as packageName, version as packageVersion } from '../version.json';
|
|
8
11
|
import LinkCreate from './link-create';
|
|
9
12
|
const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__*/memo(({
|
|
@@ -20,6 +23,9 @@ export const PACKAGE_DATA = {
|
|
|
20
23
|
const ComposedLinkCreate = /*#__PURE__*/memo(props => {
|
|
21
24
|
return jsx(AnalyticsContext, {
|
|
22
25
|
data: PACKAGE_DATA
|
|
23
|
-
}, jsx(
|
|
26
|
+
}, jsx(IntlMessagesProvider, {
|
|
27
|
+
defaultMessages: i18nEN,
|
|
28
|
+
loaderFn: fetchMessagesForLocale
|
|
29
|
+
}, jsx(LinkCreateWithAnalyticsContext, props)));
|
|
24
30
|
});
|
|
25
31
|
export default ComposedLinkCreate;
|
package/dist/es2019/version.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
import messages from '../../../i18n/en';
|
|
4
|
+
export var fetchMessagesForLocale = /*#__PURE__*/function () {
|
|
5
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(locale) {
|
|
6
|
+
var _messages, parentLocale, _messages2;
|
|
7
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
8
|
+
while (1) switch (_context.prev = _context.next) {
|
|
9
|
+
case 0:
|
|
10
|
+
_context.prev = 0;
|
|
11
|
+
_context.next = 3;
|
|
12
|
+
return import( /* webpackChunkName: "@atlaskit-internal_@atlassian/link-create-confluence-i18n-[request]" */"../../../i18n/".concat(locale.replace('-', '_')));
|
|
13
|
+
case 3:
|
|
14
|
+
_messages = _context.sent;
|
|
15
|
+
return _context.abrupt("return", _messages.default);
|
|
16
|
+
case 7:
|
|
17
|
+
_context.prev = 7;
|
|
18
|
+
_context.t0 = _context["catch"](0);
|
|
19
|
+
case 9:
|
|
20
|
+
_context.prev = 9;
|
|
21
|
+
parentLocale = locale.split(/[-_]/)[0];
|
|
22
|
+
_context.next = 13;
|
|
23
|
+
return import( /* webpackChunkName: "@atlaskit-internal_@atlassian/link-create-confluence-i18n-[request]" */"../../../i18n/".concat(parentLocale));
|
|
24
|
+
case 13:
|
|
25
|
+
_messages2 = _context.sent;
|
|
26
|
+
return _context.abrupt("return", _messages2.default);
|
|
27
|
+
case 17:
|
|
28
|
+
_context.prev = 17;
|
|
29
|
+
_context.t1 = _context["catch"](9);
|
|
30
|
+
case 19:
|
|
31
|
+
return _context.abrupt("return", messages);
|
|
32
|
+
case 20:
|
|
33
|
+
case "end":
|
|
34
|
+
return _context.stop();
|
|
35
|
+
}
|
|
36
|
+
}, _callee, null, [[0, 7], [9, 17]]);
|
|
37
|
+
}));
|
|
38
|
+
return function fetchMessagesForLocale(_x) {
|
|
39
|
+
return _ref.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
}();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Danish (Denmark)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Opdater siden, eller kontakt <a>Atlassian-support</a>, hvis det bliver ved med at ske.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Noget gik galt',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Luk',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Opret',
|
|
14
|
+
'linkCreate.modal.heading': 'Opret ny'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//German (Germany)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Laden Sie die Seite erneut oder wenden Sie sich an den <a>Atlassian Support</a>, falls das Problem weiterhin besteht.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Etwas ist schiefgelaufen',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Schließen',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Erstellen',
|
|
14
|
+
'linkCreate.modal.heading': 'Neu erstellen'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Spanish (International)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Actualiza la página o ponte en contacto con el <a>soporte de Atlassian</a> si sigue ocurriendo.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Se ha producido un error',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Cerrar',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Crear',
|
|
14
|
+
'linkCreate.modal.heading': 'Crear nuevo'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Finnish
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Päivitä sivu tai ota yhteyttä <a>Atlassian-tukeen</a>, jos ongelmat jatkuvat.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Jokin meni vikaan',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Sulje',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Luo',
|
|
14
|
+
'linkCreate.modal.heading': 'Luo uusi'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//French (France)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Actualisez la page ou contactez le <a>support Atlassian</a> si le problème se reproduit.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Une erreur est survenue',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Fermer',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Créer',
|
|
14
|
+
'linkCreate.modal.heading': 'Créer'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Hungarian
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Frissítsd az oldalt, vagy vedd fel a kapcsolatot az <a>Atlassian Támogatással</a>, ha ez a későbbiekben is megtörténik.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Hiba történt',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Bezárás',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Létrehozás',
|
|
14
|
+
'linkCreate.modal.heading': 'Új létrehozása'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Italian (Italy)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': "Aggiorna la pagina o, se il problema persiste, contatta l'<a>Assistenza Atlassian</a>.",
|
|
11
|
+
'link-create.unknown-error.heading': 'Si è verificato un problema',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Chiudi',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Crea',
|
|
14
|
+
'linkCreate.modal.heading': 'Crea nuovo'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Japanese
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'ページを更新してください。問題が解決しない場合は、<a>アトラシアン サポート</a>にお問い合わせください。',
|
|
11
|
+
'link-create.unknown-error.heading': 'エラーが発生しました',
|
|
12
|
+
'linkCreate.createForm.button.close': '閉じる',
|
|
13
|
+
'linkCreate.createForm.button.create': '作成',
|
|
14
|
+
'linkCreate.modal.heading': '新規作成'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Norwegian (Bokmål)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Oppdater siden, eller kontakt <a>Atlassian-støtte</a> hvis problemet vedvarer.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Det oppstod en feil',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Lukk',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Opprett',
|
|
14
|
+
'linkCreate.modal.heading': 'Opprett ny'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Polish (Poland)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Odśwież stronę lub skontaktuj się z <a>działem wsparcia Atlassian</a>, jeśli sytuacja będzie się powtarzać.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Coś poszło nie tak',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Zamknij',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Utwórz',
|
|
14
|
+
'linkCreate.modal.heading': 'Utwórz nową'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Portuguese (Brazil)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Atualize a página ou fale com o <a>Suporte da Atlassian</a> se o erro persistir.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Algo deu errado',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Fechar',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Criar',
|
|
14
|
+
'linkCreate.modal.heading': 'Criar novo'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Russian
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Обновите страницу и, если проблема возникнет снова, обратитесь в <a>поддержку Atlassian</a>.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Произошла ошибка',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Закрыть',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Создать',
|
|
14
|
+
'linkCreate.modal.heading': 'Создание'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Swedish
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Uppdatera sidan eller kontakta <a>Atlassians support</a> om problemet kvarstår.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Något gick fel',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Stäng',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Skapa',
|
|
14
|
+
'linkCreate.modal.heading': 'Skapa ny'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Thai (Thailand)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'รีเฟรชหน้าข้อมูล หรือติดต่อฝ่าย <a>สนับสนุน Atlassian</a> หากยังคงมีปัญหานี้เกิดขึ้น',
|
|
11
|
+
'link-create.unknown-error.heading': 'เกิดข้อผิดพลาดบางอย่าง',
|
|
12
|
+
'linkCreate.createForm.button.close': 'ปิด',
|
|
13
|
+
'linkCreate.createForm.button.create': 'สร้าง',
|
|
14
|
+
'linkCreate.modal.heading': 'สร้างใหม่'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Turkish (Turkey)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Sayfayı yenileyin veya sorun devam ederse <a>Atlassian Destek</a> ekibiyle iletişime geçin.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Bir hata oluştu',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Kapat',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Oluştur',
|
|
14
|
+
'linkCreate.modal.heading': 'Yenisini oluşturun'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Ukrainian (Ukraine)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Якщо помилка виникатиме знову, оновіть сторінку або зверніться до <a>служби підтримки Atlassian</a>.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Сталася помилка',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Закрити',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Створити',
|
|
14
|
+
'linkCreate.modal.heading': 'Створення'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Vietnamese (Vietnam)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': 'Làm mới trang hoặc liên hệ với <a>Bộ phận hỗ trợ Atlassian</a> nếu sự cố này vẫn tiếp diễn.',
|
|
11
|
+
'link-create.unknown-error.heading': 'Đã xảy ra lỗi',
|
|
12
|
+
'linkCreate.createForm.button.close': 'Đóng',
|
|
13
|
+
'linkCreate.createForm.button.create': 'Tạo',
|
|
14
|
+
'linkCreate.modal.heading': 'Tạo mới'
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
/**
|
|
3
|
+
* NOTE:
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically generated by Traduki 2.0.
|
|
6
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
|
+
*/
|
|
8
|
+
//Chinese (Traditional)
|
|
9
|
+
export default {
|
|
10
|
+
'link-create.unknown-error.description': '請重新整理頁面,如果持續發生錯誤,請連絡 <a>Atlassian 支援人員</a>。',
|
|
11
|
+
'link-create.unknown-error.heading': '發生錯誤',
|
|
12
|
+
'linkCreate.createForm.button.close': '關閉',
|
|
13
|
+
'linkCreate.createForm.button.create': '建立',
|
|
14
|
+
'linkCreate.modal.heading': '新建'
|
|
15
|
+
};
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -4,8 +4,11 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
|
+
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
7
8
|
import { COMPONENT_NAME } from '../common/constants';
|
|
8
9
|
import { withLinkCreateAnalyticsContext } from '../common/utils/analytics';
|
|
10
|
+
import { fetchMessagesForLocale } from '../common/utils/locale/fetch-messages-for-locale';
|
|
11
|
+
import i18nEN from '../i18n/en';
|
|
9
12
|
import { name as packageName, version as packageVersion } from '../version.json';
|
|
10
13
|
import LinkCreate from './link-create';
|
|
11
14
|
var LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__*/memo(function (_ref) {
|
|
@@ -21,6 +24,9 @@ export var PACKAGE_DATA = {
|
|
|
21
24
|
var ComposedLinkCreate = /*#__PURE__*/memo(function (props) {
|
|
22
25
|
return jsx(AnalyticsContext, {
|
|
23
26
|
data: PACKAGE_DATA
|
|
24
|
-
}, jsx(
|
|
27
|
+
}, jsx(IntlMessagesProvider, {
|
|
28
|
+
defaultMessages: i18nEN,
|
|
29
|
+
loaderFn: fetchMessagesForLocale
|
|
30
|
+
}, jsx(LinkCreateWithAnalyticsContext, props)));
|
|
25
31
|
});
|
|
26
32
|
export default ComposedLinkCreate;
|
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'link-create.unknown-error.description': string;
|
|
9
|
+
'link-create.unknown-error.heading': string;
|
|
10
|
+
'linkCreate.createForm.button.close': string;
|
|
11
|
+
'linkCreate.createForm.button.create': string;
|
|
12
|
+
'linkCreate.modal.heading': string;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'link-create.unknown-error.description': string;
|
|
9
|
+
'link-create.unknown-error.heading': string;
|
|
10
|
+
'linkCreate.createForm.button.close': string;
|
|
11
|
+
'linkCreate.createForm.button.create': string;
|
|
12
|
+
'linkCreate.modal.heading': string;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|