@atlaskit/media-ui 21.0.0 → 22.0.0

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.
Files changed (154) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/browser/package.json +1 -0
  3. package/classNames/package.json +1 -0
  4. package/codeViewer/package.json +1 -0
  5. package/dist/cjs/codeViewer.js +21 -2
  6. package/dist/cjs/i18n/cs.js +9 -5
  7. package/dist/cjs/i18n/da.js +9 -5
  8. package/dist/cjs/i18n/de.js +7 -3
  9. package/dist/cjs/i18n/en.js +117 -65
  10. package/dist/cjs/i18n/en_GB.js +117 -65
  11. package/dist/cjs/i18n/en_ZZ.js +140 -0
  12. package/dist/cjs/i18n/es.js +9 -5
  13. package/dist/cjs/i18n/et.js +2 -4
  14. package/dist/cjs/i18n/fi.js +9 -5
  15. package/dist/cjs/i18n/fr.js +9 -5
  16. package/dist/cjs/i18n/hu.js +9 -5
  17. package/dist/cjs/i18n/it.js +9 -5
  18. package/dist/cjs/i18n/ja.js +8 -4
  19. package/dist/cjs/i18n/ko.js +8 -4
  20. package/dist/cjs/i18n/nb.js +8 -4
  21. package/dist/cjs/i18n/nl.js +9 -5
  22. package/dist/cjs/i18n/pl.js +9 -5
  23. package/dist/cjs/i18n/pt_BR.js +9 -5
  24. package/dist/cjs/i18n/pt_PT.js +2 -4
  25. package/dist/cjs/i18n/ru.js +10 -6
  26. package/dist/cjs/i18n/sk.js +2 -4
  27. package/dist/cjs/i18n/sv.js +9 -5
  28. package/dist/cjs/i18n/th.js +7 -3
  29. package/dist/cjs/i18n/tr.js +9 -5
  30. package/dist/cjs/i18n/uk.js +9 -5
  31. package/dist/cjs/i18n/vi.js +9 -5
  32. package/dist/cjs/i18n/zh.js +7 -3
  33. package/dist/cjs/i18n/zh_TW.js +7 -3
  34. package/dist/cjs/index.js +0 -8
  35. package/dist/cjs/util.js +1 -1
  36. package/dist/cjs/version.json +1 -1
  37. package/dist/es2019/codeViewer.js +18 -3
  38. package/dist/es2019/i18n/cs.js +9 -5
  39. package/dist/es2019/i18n/da.js +9 -5
  40. package/dist/es2019/i18n/de.js +7 -3
  41. package/dist/es2019/i18n/en.js +116 -65
  42. package/dist/es2019/i18n/en_GB.js +116 -65
  43. package/dist/es2019/i18n/en_ZZ.js +132 -0
  44. package/dist/es2019/i18n/es.js +9 -5
  45. package/dist/es2019/i18n/et.js +2 -4
  46. package/dist/es2019/i18n/fi.js +9 -5
  47. package/dist/es2019/i18n/fr.js +9 -5
  48. package/dist/es2019/i18n/hu.js +9 -5
  49. package/dist/es2019/i18n/it.js +9 -5
  50. package/dist/es2019/i18n/ja.js +8 -4
  51. package/dist/es2019/i18n/ko.js +8 -4
  52. package/dist/es2019/i18n/nb.js +8 -4
  53. package/dist/es2019/i18n/nl.js +9 -5
  54. package/dist/es2019/i18n/pl.js +9 -5
  55. package/dist/es2019/i18n/pt_BR.js +9 -5
  56. package/dist/es2019/i18n/pt_PT.js +2 -4
  57. package/dist/es2019/i18n/ru.js +10 -6
  58. package/dist/es2019/i18n/sk.js +2 -4
  59. package/dist/es2019/i18n/sv.js +9 -5
  60. package/dist/es2019/i18n/th.js +7 -3
  61. package/dist/es2019/i18n/tr.js +9 -5
  62. package/dist/es2019/i18n/uk.js +9 -5
  63. package/dist/es2019/i18n/vi.js +9 -5
  64. package/dist/es2019/i18n/zh.js +7 -3
  65. package/dist/es2019/i18n/zh_TW.js +7 -3
  66. package/dist/es2019/index.js +0 -1
  67. package/dist/es2019/util.js +1 -1
  68. package/dist/es2019/version.json +1 -1
  69. package/dist/esm/codeViewer.js +20 -2
  70. package/dist/esm/i18n/cs.js +9 -5
  71. package/dist/esm/i18n/da.js +9 -5
  72. package/dist/esm/i18n/de.js +7 -3
  73. package/dist/esm/i18n/en.js +116 -65
  74. package/dist/esm/i18n/en_GB.js +116 -65
  75. package/dist/esm/i18n/en_ZZ.js +132 -0
  76. package/dist/esm/i18n/es.js +9 -5
  77. package/dist/esm/i18n/et.js +2 -4
  78. package/dist/esm/i18n/fi.js +9 -5
  79. package/dist/esm/i18n/fr.js +9 -5
  80. package/dist/esm/i18n/hu.js +9 -5
  81. package/dist/esm/i18n/it.js +9 -5
  82. package/dist/esm/i18n/ja.js +8 -4
  83. package/dist/esm/i18n/ko.js +8 -4
  84. package/dist/esm/i18n/nb.js +8 -4
  85. package/dist/esm/i18n/nl.js +9 -5
  86. package/dist/esm/i18n/pl.js +9 -5
  87. package/dist/esm/i18n/pt_BR.js +9 -5
  88. package/dist/esm/i18n/pt_PT.js +2 -4
  89. package/dist/esm/i18n/ru.js +10 -6
  90. package/dist/esm/i18n/sk.js +2 -4
  91. package/dist/esm/i18n/sv.js +9 -5
  92. package/dist/esm/i18n/th.js +7 -3
  93. package/dist/esm/i18n/tr.js +9 -5
  94. package/dist/esm/i18n/uk.js +9 -5
  95. package/dist/esm/i18n/vi.js +9 -5
  96. package/dist/esm/i18n/zh.js +7 -3
  97. package/dist/esm/i18n/zh_TW.js +7 -3
  98. package/dist/esm/index.js +0 -1
  99. package/dist/esm/util.js +1 -1
  100. package/dist/esm/version.json +1 -1
  101. package/dist/types/MediaInlineCard/Icon.d.ts +2 -2
  102. package/dist/types/MediaInlineCard/IconAndTitleLayout/styled.d.ts +9 -9
  103. package/dist/types/MediaInlineCard/LoadingView/styled.d.ts +3 -3
  104. package/dist/types/MediaInlineCard/styled.d.ts +1 -1
  105. package/dist/types/codeViewer.d.ts +2 -2
  106. package/dist/types/customMediaPlayer/playPauseBlanket.d.ts +1 -1
  107. package/dist/types/customMediaPlayer/styled.d.ts +14 -14
  108. package/dist/types/formatDate.d.ts +1 -8
  109. package/dist/types/i18n/cs.d.ts +6 -2
  110. package/dist/types/i18n/da.d.ts +6 -2
  111. package/dist/types/i18n/de.d.ts +6 -2
  112. package/dist/types/i18n/en.d.ts +114 -63
  113. package/dist/types/i18n/en_GB.d.ts +114 -63
  114. package/dist/types/i18n/en_ZZ.d.ts +132 -0
  115. package/dist/types/i18n/es.d.ts +6 -2
  116. package/dist/types/i18n/et.d.ts +1 -3
  117. package/dist/types/i18n/fi.d.ts +6 -2
  118. package/dist/types/i18n/fr.d.ts +6 -2
  119. package/dist/types/i18n/hu.d.ts +6 -2
  120. package/dist/types/i18n/it.d.ts +6 -2
  121. package/dist/types/i18n/ja.d.ts +6 -2
  122. package/dist/types/i18n/ko.d.ts +6 -2
  123. package/dist/types/i18n/nb.d.ts +6 -2
  124. package/dist/types/i18n/nl.d.ts +6 -2
  125. package/dist/types/i18n/pl.d.ts +6 -2
  126. package/dist/types/i18n/pt_BR.d.ts +6 -2
  127. package/dist/types/i18n/pt_PT.d.ts +1 -3
  128. package/dist/types/i18n/ru.d.ts +6 -2
  129. package/dist/types/i18n/sk.d.ts +1 -3
  130. package/dist/types/i18n/sv.d.ts +6 -2
  131. package/dist/types/i18n/th.d.ts +6 -2
  132. package/dist/types/i18n/tr.d.ts +6 -2
  133. package/dist/types/i18n/uk.d.ts +6 -2
  134. package/dist/types/i18n/vi.d.ts +6 -2
  135. package/dist/types/i18n/zh.d.ts +6 -2
  136. package/dist/types/i18n/zh_TW.d.ts +6 -2
  137. package/dist/types/index.d.ts +0 -2
  138. package/dist/types/modalSpinner.d.ts +2 -2
  139. package/dist/types/truncateText.d.ts +4 -2
  140. package/errorIcon/package.json +1 -0
  141. package/formatDate/package.json +1 -0
  142. package/locales/package.json +1 -0
  143. package/media-type-icon/package.json +1 -0
  144. package/messages/package.json +1 -0
  145. package/mime-type-icon/package.json +1 -0
  146. package/modalSpinner/package.json +1 -0
  147. package/package.json +7 -8
  148. package/truncateText/package.json +1 -0
  149. package/types/package.json +1 -0
  150. package/util/package.json +1 -0
  151. package/dist/cjs/infiniteScroll.js +0 -117
  152. package/dist/es2019/infiniteScroll.js +0 -75
  153. package/dist/esm/infiniteScroll.js +0 -100
  154. package/dist/types/infiniteScroll.d.ts +0 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 22.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`6b7ba46a96b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b7ba46a96b) - [MEX-1456] Remove unused infinite scroll from Media-UI and Remove lodash from Media package
8
+
9
+ ### Patch Changes
10
+
11
+ - [`a5d25a077bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5d25a077bc) - removed duplicated module from Confluence's node_modules introduced with our components
12
+ - Updated dependencies
13
+
14
+ ## 21.1.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
19
+ - Updated dependencies
20
+
21
+ ## 21.1.0
22
+
23
+ ### Minor Changes
24
+
25
+ - [`5a79ea6f7d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a79ea6f7d6) - Add support for assessing the mimetype of a file when deciding what viewer to show
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies
30
+
3
31
  ## 21.0.0
4
32
 
5
33
  ### Major Changes
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/browser.js",
4
4
  "module": "../dist/esm/browser.js",
5
5
  "module:es2019": "../dist/es2019/browser.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/browser.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/classNames.js",
4
4
  "module": "../dist/esm/classNames.js",
5
5
  "module:es2019": "../dist/es2019/classNames.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/classNames.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/codeViewer.js",
4
4
  "module": "../dist/esm/codeViewer.js",
5
5
  "module:es2019": "../dist/es2019/codeViewer.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/codeViewer.d.ts"
7
8
  }
@@ -19,8 +19,17 @@ function getExtension(filename) {
19
19
  return '';
20
20
  }
21
21
 
22
+ var codeViewerMimeTypes = [{
23
+ mimetype: 'application/json',
24
+ language: 'json'
25
+ }, {
26
+ mimetype: 'text/html',
27
+ language: 'html'
28
+ }];
29
+
22
30
  function isCodeViewerItem(name) {
23
- return getLanguageType(name) !== null;
31
+ var mimetype = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'unknown';
32
+ return getLanguageType(name, mimetype) !== null;
24
33
  }
25
34
  /*
26
35
  * Given an item, it assigns the corresponding language for that item if it is a code item. For example, an item with the filename test.py
@@ -28,7 +37,17 @@ function isCodeViewerItem(name) {
28
37
  */
29
38
 
30
39
 
31
- function getLanguageType(name) {
40
+ function getLanguageType(name, mimetype) {
41
+ if (mimetype) {
42
+ var languageForMimeType = codeViewerMimeTypes.find(function (x) {
43
+ return x.mimetype === mimetype;
44
+ });
45
+
46
+ if (languageForMimeType) {
47
+ return languageForMimeType.language;
48
+ }
49
+ }
50
+
32
51
  var ext = getExtension(name);
33
52
 
34
53
  switch (ext) {
@@ -8,10 +8,10 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Czech
14
+ //Czech
15
15
  var _default = {
16
16
  'fabric.media.accounts': 'Účty',
17
17
  'fabric.media.actions': 'Akce',
@@ -33,6 +33,7 @@ var _default = {
33
33
  'fabric.media.cant_preview_file_type': 'Nemůžeme zobrazit náhled tohoto typu souboru.',
34
34
  'fabric.media.cant_retrieve_files': 'Jejda! Nepodařilo se nám načíst žádné soubory.',
35
35
  'fabric.media.cant_retrieve_gifs': 'Nepodařilo se nám dohledat žádné GIFy.',
36
+ 'fabric.media.change_view': 'Změnit zobrazení',
36
37
  'fabric.media.check_your_network': 'Zkontrolujte své připojení k síti.',
37
38
  'fabric.media.click_to_join': 'Připojte se k {context}',
38
39
  'fabric.media.click_to_join_description': 'Byli jste schváleni, takže se můžete okamžitě připojit k řešení {context}.',
@@ -53,6 +54,7 @@ var _default = {
53
54
  'fabric.media.creating_preview': 'Vytváří se náhled…',
54
55
  'fabric.media.default_avatars': 'Výchozí avatary',
55
56
  'fabric.media.disable_fullscreen': 'zakázat zobrazení na celou obrazovku',
57
+ 'fabric.media.display_thumbnail': 'Zobrazit miniaturu',
56
58
  'fabric.media.document': 'dokument',
57
59
  'fabric.media.download': 'Stáhnout',
58
60
  'fabric.media.drag_and_drop_images_here': 'Přetáhněte své obrázky sem.',
@@ -68,6 +70,7 @@ var _default = {
68
70
  'fabric.media.error_hint_retry': 'Zkuste to znovu a my se o to také pokusíme.',
69
71
  'fabric.media.error_loading_file': 'Chyba při načítání souboru',
70
72
  'fabric.media.failed_to_load': 'Nepodařilo se načíst',
73
+ 'fabric.media.failed_to_upload': 'Nahrání se nezdařilo',
71
74
  'fabric.media.forbidden_description': 'K tomuto náhledu nemáte přístup. Pokud potřebujete přístup, obraťte se na správce webu.',
72
75
  'fabric.media.give_feedback': 'Váš názor',
73
76
  'fabric.media.image': 'obrázek',
@@ -89,13 +92,12 @@ var _default = {
89
92
  'fabric.media.not_found_description': 'Odkaz se nepodařilo najít. Zkontrolujte adresu URL a zkuste ji upravit nebo vložit znovu.',
90
93
  'fabric.media.not_found_title': 'Jejda. Tento odkaz se nepodařilo najít.',
91
94
  'fabric.media.or': 'nebo',
92
- 'fabric.media.pause': 'pozastavit',
93
- 'fabric.media.play': 'přehrát',
95
+ 'fabric.media.pause': 'Pozastavit',
96
+ 'fabric.media.play': 'Přehrát',
94
97
  'fabric.media.playback_default_speed': 'Výchozí',
95
98
  'fabric.media.playback_speed': 'Rychlost přehrávání',
96
99
  'fabric.media.preview': 'Náhled',
97
100
  'fabric.media.preview_currently_unavailable': 'Náhled aktuálně není k dispozici',
98
- 'fabric.media.preview_rateLimited': 'Při vytváření náhledu se vyskytly potíže.',
99
101
  'fabric.media.preview_unavailable': 'Náhled není k dispozici',
100
102
  'fabric.media.recent_uploads': 'Nedávno nahráno',
101
103
  'fabric.media.remove_image': 'Odstranit obrázek',
@@ -109,6 +111,8 @@ var _default = {
109
111
  'fabric.media.search': 'vyhledat',
110
112
  'fabric.media.search_all_gifs': 'Prohledejte všechny GIFy!',
111
113
  'fabric.media.share_files_instantly': 'Okamžitě je nasdílíme.',
114
+ 'fabric.media.skip_backward': 'Zpět o 10 sekund',
115
+ 'fabric.media.skip_forward': 'Dopředu o 10 sekund',
112
116
  'fabric.media.something_went_wrong': 'Něco se pokazilo.',
113
117
  'fabric.media.srclink': 'Zobrazit v',
114
118
  'fabric.media.srclinkunknown': 'Zobrazit originál',
@@ -8,10 +8,10 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // Danish
14
+ //Danish (Denmark)
15
15
  var _default = {
16
16
  'fabric.media.accounts': 'Konti',
17
17
  'fabric.media.actions': 'Handlinger',
@@ -33,6 +33,7 @@ var _default = {
33
33
  'fabric.media.cant_preview_file_type': 'Vi kan ikke vise denne filtype.',
34
34
  'fabric.media.cant_retrieve_files': 'Ups! Vi kunne ikke finde nogen filer',
35
35
  'fabric.media.cant_retrieve_gifs': "Ups! Vi kunne ikke hente GIF'er",
36
+ 'fabric.media.change_view': 'Skift visning',
36
37
  'fabric.media.check_your_network': 'Tjek din netværksforbindelse',
37
38
  'fabric.media.click_to_join': 'Tilmeld dig {context}',
38
39
  'fabric.media.click_to_join_description': 'Du er blevet godkendt, så du kan deltage i {context} med det samme.',
@@ -53,6 +54,7 @@ var _default = {
53
54
  'fabric.media.creating_preview': 'Opretter forhåndsvisning...',
54
55
  'fabric.media.default_avatars': 'Standard-avatarer',
55
56
  'fabric.media.disable_fullscreen': 'slå fuldskærmsvisning fra',
57
+ 'fabric.media.display_thumbnail': 'Vis miniaturebillede',
56
58
  'fabric.media.document': 'dokument',
57
59
  'fabric.media.download': 'Hent',
58
60
  'fabric.media.drag_and_drop_images_here': 'Træk dine billeder herover, og slip dem',
@@ -68,6 +70,7 @@ var _default = {
68
70
  'fabric.media.error_hint_retry': 'Prøv igen, så giver vi det endnu et forsøg.',
69
71
  'fabric.media.error_loading_file': 'Fejl ved indlæsning af fil',
70
72
  'fabric.media.failed_to_load': 'Kunne ikke indlæses',
73
+ 'fabric.media.failed_to_upload': 'Upload mislykkedes',
71
74
  'fabric.media.forbidden_description': 'Du har ikke adgang til denne forhåndsvisning. Kontakt webstedets administrator, hvis du har brug for adgang.',
72
75
  'fabric.media.give_feedback': 'Giv feedback',
73
76
  'fabric.media.image': 'billede',
@@ -89,13 +92,12 @@ var _default = {
89
92
  'fabric.media.not_found_description': 'Vi kunne ikke finde linket. Kontrollér og rediger URL-adressen, eller indsæt den igen.',
90
93
  'fabric.media.not_found_title': 'Ups. Vi kan ikke finde dette link!',
91
94
  'fabric.media.or': 'eller',
92
- 'fabric.media.pause': 'pause',
93
- 'fabric.media.play': 'afspil',
95
+ 'fabric.media.pause': 'Sæt på pause',
96
+ 'fabric.media.play': 'Afspil',
94
97
  'fabric.media.playback_default_speed': 'Standard',
95
98
  'fabric.media.playback_speed': 'Afspilningshastighed',
96
99
  'fabric.media.preview': 'Vis',
97
100
  'fabric.media.preview_currently_unavailable': 'Forhåndsvisning er ikke tilgængelig i øjeblikket',
98
- 'fabric.media.preview_rateLimited': 'Vi havde problemer med at oprette en forhåndsvisning',
99
101
  'fabric.media.preview_unavailable': 'Forhåndsvisning er ikke tilgængelig',
100
102
  'fabric.media.recent_uploads': 'Senest uploadet',
101
103
  'fabric.media.remove_image': 'Fjern billede',
@@ -109,6 +111,8 @@ var _default = {
109
111
  'fabric.media.search': 'Søg',
110
112
  'fabric.media.search_all_gifs': "Søg i alle GIF'er!",
111
113
  'fabric.media.share_files_instantly': 'Vi deler dem med det samme',
114
+ 'fabric.media.skip_backward': '10 sekunder tilbage',
115
+ 'fabric.media.skip_forward': '10 sekunder frem',
112
116
  'fabric.media.something_went_wrong': 'Noget gik galt.',
113
117
  'fabric.media.srclink': 'Vis i',
114
118
  'fabric.media.srclinkunknown': 'Vis original',
@@ -8,10 +8,10 @@ exports.default = void 0;
8
8
  /**
9
9
  * NOTE:
10
10
  *
11
- * This file is automatically generated by i18n-tools.
11
+ * This file is automatically generated by Traduki 2.0.
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
- // German
14
+ //German (Germany)
15
15
  var _default = {
16
16
  'fabric.media.accounts': 'Konten',
17
17
  'fabric.media.actions': 'Aktionen',
@@ -33,6 +33,7 @@ var _default = {
33
33
  'fabric.media.cant_preview_file_type': 'Für diesen Dateityp kann keine Vorschau angezeigt werden.',
34
34
  'fabric.media.cant_retrieve_files': 'Hoppla! Es konnten keine Dateien abgerufen werden.',
35
35
  'fabric.media.cant_retrieve_gifs': 'Hoppla, es konnten keine GIFs abgerufen werden.',
36
+ 'fabric.media.change_view': 'Ansicht wechseln',
36
37
  'fabric.media.check_your_network': 'Überprüfen Sie Ihre Netzwerkverbindung.',
37
38
  'fabric.media.click_to_join': 'Werden Sie ein Teil von {context}',
38
39
  'fabric.media.click_to_join_description': 'Ihre Anfrage wurde genehmigt und Sie können {context} direkt beitreten.',
@@ -53,6 +54,7 @@ var _default = {
53
54
  'fabric.media.creating_preview': 'Vorschau wird erstellt …',
54
55
  'fabric.media.default_avatars': 'Standard-Profilbilder',
55
56
  'fabric.media.disable_fullscreen': 'Vollbildmodus deaktivieren',
57
+ 'fabric.media.display_thumbnail': 'Miniaturansicht anzeigen',
56
58
  'fabric.media.document': 'Dokument',
57
59
  'fabric.media.download': 'Herunterladen',
58
60
  'fabric.media.drag_and_drop_images_here': 'Ihre Bilder hierher ziehen und ablegen.',
@@ -68,6 +70,7 @@ var _default = {
68
70
  'fabric.media.error_hint_retry': 'Versuchen Sie es erneut.',
69
71
  'fabric.media.error_loading_file': 'Fehler beim Laden der Datei',
70
72
  'fabric.media.failed_to_load': 'Fehler beim Laden',
73
+ 'fabric.media.failed_to_upload': 'Upload fehlgeschlagen',
71
74
  'fabric.media.forbidden_description': 'Sie haben keinen Zugriff auf diese Vorschau. Wenden Sie sich an Ihren Administrator, falls Sie noch Zugriff benötigen.',
72
75
  'fabric.media.give_feedback': 'Feedback geben',
73
76
  'fabric.media.image': 'Bild',
@@ -95,7 +98,6 @@ var _default = {
95
98
  'fabric.media.playback_speed': 'Geschwindigkeit der Wiedergabe',
96
99
  'fabric.media.preview': 'Vorschau',
97
100
  'fabric.media.preview_currently_unavailable': 'Vorschau derzeit nicht verfügbar',
98
- 'fabric.media.preview_rateLimited': 'Es gab Probleme bei der Erstellung einer Vorschau.',
99
101
  'fabric.media.preview_unavailable': 'Vorschau nicht verfügbar',
100
102
  'fabric.media.recent_uploads': 'Aktuelle Uploads',
101
103
  'fabric.media.remove_image': 'Bild löschen',
@@ -109,6 +111,8 @@ var _default = {
109
111
  'fabric.media.search': 'Suchen',
110
112
  'fabric.media.search_all_gifs': 'Durchsuchen Sie alle GIFs!',
111
113
  'fabric.media.share_files_instantly': 'Wir teilen sie sofort.',
114
+ 'fabric.media.skip_backward': '10 Sekunden zurück',
115
+ 'fabric.media.skip_forward': '10 Sekunden vor',
112
116
  'fabric.media.something_went_wrong': 'Irgendetwas ist schiefgelaufen.',
113
117
  'fabric.media.srclink': 'Anzeigen in',
114
118
  'fabric.media.srclinkunknown': 'Original anzeigen',
@@ -4,85 +4,137 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- // English
7
+
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //
8
15
  var _default = {
9
- 'fabric.media.retry': 'Retry',
10
- 'fabric.media.failed_to_load': 'Failed to load',
11
- 'fabric.media.recent_uploads': 'Recent uploads',
12
- 'fabric.media.upload_file': 'Upload a file',
13
- 'fabric.media.drag_and_drop_your_files': 'Drag and drop your files anywhere or',
14
- 'fabric.media.drop_your_files': 'Drop your files to upload',
15
- 'fabric.media.drag_and_drop_your_files_and_folders': 'Drag and drop your files and folders anywhere or',
16
- 'fabric.media.upload': 'Upload',
16
+ 'fabric.media.accounts': 'Accounts',
17
+ 'fabric.media.actions': 'Actions',
18
+ 'fabric.media.add_account': 'Add account',
19
+ 'fabric.media.annotate': 'Annotate',
20
+ 'fabric.media.annotate.confirmation.close.anyway': 'Close anyway',
21
+ 'fabric.media.annotate.confirmation.content': 'You have some unsaved changes. Are you sure you want to leave?',
22
+ 'fabric.media.annotate.confirmation.heading': 'Unsaved changes',
23
+ 'fabric.media.annotate.tool.arrow': 'Arrow',
24
+ 'fabric.media.annotate.tool.blur': 'Blur',
25
+ 'fabric.media.annotate.tool.brush': 'Brush',
26
+ 'fabric.media.annotate.tool.color': 'Color',
27
+ 'fabric.media.annotate.tool.line.thickness': 'Line thickness',
28
+ 'fabric.media.annotate.tool.shape': 'Shape',
29
+ 'fabric.media.annotate.tool.text': 'Text',
30
+ 'fabric.media.archive': 'archive',
31
+ 'fabric.media.audio': 'audio',
17
32
  'fabric.media.cancel': 'Cancel',
18
- 'fabric.media.search_all_gifs': 'Search all the GIFs!',
33
+ 'fabric.media.cant_preview_file_type': "We can't preview this file type.",
34
+ 'fabric.media.cant_retrieve_files': 'Ouch! We could not retrieve any files',
19
35
  'fabric.media.cant_retrieve_gifs': 'Ouch! We could not retrieve any GIFs',
36
+ 'fabric.media.change_view': 'Change view',
20
37
  'fabric.media.check_your_network': 'Check your network connection',
21
- 'fabric.media.try_again': 'Try again',
22
- 'fabric.media.no_gifs_found': "Hello? Was it me you're looking for?",
23
- 'fabric.media.no_gifs_found_suggestion': 'We couldn\'t find anything for "{query}"',
24
- 'fabric.media.load_more_gifs': 'Load more GIFs',
25
- 'fabric.media.add_account': 'Add account',
26
- 'fabric.media.unlink_account': 'Unlink Account',
27
- 'fabric.media.upload_file_from': 'Upload a file from {name}',
28
- 'fabric.media.connect_to': 'Connect to {name}',
38
+ 'fabric.media.click_to_join': 'Join {context}',
39
+ 'fabric.media.click_to_join_description': "You've been approved, so you can join {context} right away.",
40
+ 'fabric.media.close': 'Close',
41
+ 'fabric.media.close_and_reopen': 'Try closing this file and reopening.',
29
42
  'fabric.media.connect_account_description': "We'll open a new page to help you connect your {name} account",
30
- 'fabric.media.upload_an_avatar': 'Upload an avatar',
31
- 'fabric.media.save': 'Save',
32
- 'fabric.media.or': 'or',
33
- 'fabric.media.upload_photo': 'Upload a photo',
43
+ 'fabric.media.connect_link_account': 'Connect to preview',
44
+ 'fabric.media.connect_link_account_card_view': 'Connect',
45
+ 'fabric.media.connect_link_account_card_view_description': 'To show a preview of this link, connect your {context} account.',
46
+ 'fabric.media.connect_link_account_card_view_name': 'Connect your {context} account',
47
+ 'fabric.media.connect_to': 'Connect to {name}',
48
+ 'fabric.media.could_not_load_editor': 'Ouch! We could not load the editor',
49
+ 'fabric.media.could_not_save_image': 'Ouch! We could not save the image',
50
+ 'fabric.media.couldnt_generate_encrypted_entry_preview': "We can't preview encrypted or password protected files.",
51
+ 'fabric.media.couldnt_generate_preview': "We couldn't generate a preview for this file.",
52
+ 'fabric.media.couldnt_load_file': "We couldn't load the file.",
53
+ 'fabric.media.couldnt_load_link': "We couldn't load this link for an unknown reason.",
54
+ 'fabric.media.creating_preview': 'Creating preview...',
34
55
  'fabric.media.default_avatars': 'Default avatars',
56
+ 'fabric.media.disable_fullscreen': 'disable fullscreen',
57
+ 'fabric.media.display_thumbnail': 'Display thumbnail',
58
+ 'fabric.media.document': 'document',
59
+ 'fabric.media.download': 'Download',
35
60
  'fabric.media.drag_and_drop_images_here': 'Drag and drop your images here',
36
- 'fabric.media.upload_image': 'Upload image',
37
- 'fabric.media.image_url_invalid_error': 'Could not load image, the url is invalid.',
61
+ 'fabric.media.drag_and_drop_your_files': 'Drag and drop your files anywhere or',
62
+ 'fabric.media.drag_and_drop_your_files_and_folders': 'Drag and drop your files and folders anywhere or',
63
+ 'fabric.media.drop_your_files': 'Drop your files to upload',
64
+ 'fabric.media.drop_your_files_here': 'Drop your files here',
65
+ 'fabric.media.email': 'email',
66
+ 'fabric.media.enable_fullscreen': 'enable fullscreen',
67
+ 'fabric.media.error_429': 'Error 429',
68
+ 'fabric.media.error_generating_preview': 'Error generating preview',
69
+ 'fabric.media.error_hint_critical': 'If the problem keeps happening contact support.',
70
+ 'fabric.media.error_hint_retry': "Try again and we'll give it another shot.",
71
+ 'fabric.media.error_loading_file': 'Error loading file',
72
+ 'fabric.media.failed_to_load': 'Failed to load',
73
+ 'fabric.media.failed_to_upload': 'Failed to upload',
74
+ 'fabric.media.forbidden_description': 'You don’t have access to this preview. Contact the site admin if you need access.',
75
+ 'fabric.media.give_feedback': 'Give feedback',
76
+ 'fabric.media.image': 'image',
38
77
  'fabric.media.image_format_invalid_error': 'Could not load image, the format is invalid.',
39
78
  'fabric.media.image_size_too_large_error': 'Image is too large, must be no larger than {MAX_SIZE_MB}Mb',
40
- 'fabric.media.something_went_wrong': 'Something went wrong.',
41
- 'fabric.media.might_be_a_hiccup': 'It might just be a hiccup.',
42
- 'fabric.media.couldnt_generate_preview': "We couldn't generate a preview for this file.",
43
- 'fabric.media.cant_preview_file_type': "We can't preview this file type.",
79
+ 'fabric.media.image_url_invalid_error': 'Could not load image, the url is invalid.',
80
+ 'fabric.media.insert_files': 'Insert {0, plural, one {a file} other {{0} files}}',
81
+ 'fabric.media.invalid_permissions': 'Restricted link',
82
+ 'fabric.media.invalid_permissions_description': "You'll need to request access or try a different account to view this preview.",
44
83
  'fabric.media.item_not_found_in_list': 'The selected item was not found on the list.',
84
+ 'fabric.media.learn_more': 'Learn More',
85
+ 'fabric.media.load_more_gifs': 'Load more GIFs',
86
+ 'fabric.media.loading': 'Loading...',
87
+ 'fabric.media.loading_file': 'Loading file...',
88
+ 'fabric.media.might_be_a_hiccup': 'It might just be a hiccup.',
89
+ 'fabric.media.no_gifs_found': "Hello? Was it me you're looking for?",
90
+ 'fabric.media.no_gifs_found_suggestion': 'We couldn\'t find anything for "{query}"',
45
91
  'fabric.media.no_pdf_artifacts': 'No PDF artifacts found for this file.',
46
- 'fabric.media.give_feedback': 'Give feedback',
92
+ 'fabric.media.not_found_description': "We couldn't find the link. Check the url and try editing or paste again.",
93
+ 'fabric.media.not_found_title': "Uh oh. We can't find this link!",
94
+ 'fabric.media.or': 'or',
95
+ 'fabric.media.pause': 'Pause',
96
+ 'fabric.media.play': 'Play',
97
+ 'fabric.media.playback_default_speed': 'Default',
98
+ 'fabric.media.playback_speed': 'Playback speed',
99
+ 'fabric.media.preview': 'Preview',
100
+ 'fabric.media.preview_currently_unavailable': 'Preview currently unavailable',
101
+ 'fabric.media.preview_unavailable': 'Preview unavailable',
102
+ 'fabric.media.recent_uploads': 'Recent uploads',
103
+ 'fabric.media.remove_image': 'Remove image',
104
+ 'fabric.media.request_access': 'Request access',
105
+ 'fabric.media.request_access_description': 'Request access to {context} view this preview.',
106
+ 'fabric.media.request_access_pending': 'Access pending',
107
+ 'fabric.media.request_access_pending_description': 'Your access request is pending.',
108
+ 'fabric.media.request_denied_description': 'Your access request was denied. Contact the site admin if you still need access.',
109
+ 'fabric.media.retry': 'Retry',
110
+ 'fabric.media.save': 'Save',
111
+ 'fabric.media.search': 'search',
112
+ 'fabric.media.search_all_gifs': 'Search all the GIFs!',
113
+ 'fabric.media.share_files_instantly': "We'll share them instantly",
114
+ 'fabric.media.skip_backward': 'Back 10 seconds',
115
+ 'fabric.media.skip_forward': 'Forward 10 seconds',
116
+ 'fabric.media.something_went_wrong': 'Something went wrong.',
117
+ 'fabric.media.srclink': 'View in',
118
+ 'fabric.media.srclinkunknown': 'View Original',
119
+ 'fabric.media.text': 'text',
120
+ 'fabric.media.try_again': 'Try again',
121
+ 'fabric.media.try_another_account': 'Try another account',
47
122
  'fabric.media.try_downloading_file': 'Try downloading the file to view it.',
48
- 'fabric.media.webgl_warning_description': 'Your browser does not support WebGL. Use a WebGL enabled browser to annotate images.',
49
123
  'fabric.media.unable_to_annotate_image': "You're unable to annotate this image",
50
- 'fabric.media.learn_more': 'Learn More',
51
- 'fabric.media.accounts': 'Accounts',
52
- 'fabric.media.actions': 'Actions',
53
- 'fabric.media.error_hint_retry': "Try again and we'll give it another shot.",
54
- 'fabric.media.error_hint_critical': 'If the problem keeps happening contact support.',
55
- 'fabric.media.close': 'Close',
56
- 'fabric.media.could_not_load_editor': 'Ouch! We could not load the editor',
57
- 'fabric.media.could_not_save_image': 'Ouch! We could not save the image',
58
- 'fabric.media.annotate': 'Annotate',
59
- 'fabric.media.drop_your_files_here': 'Drop your files here',
60
- 'fabric.media.share_files_instantly': "We'll share them instantly",
61
- 'fabric.media.insert_files': '{0, plural, one{Insert a file} other{Insert {0} files}}',
62
- 'fabric.media.zoom_out': 'zoom out',
63
- 'fabric.media.zoom_in': 'zoom in',
64
- 'fabric.media.remove_image': 'Remove image',
65
- 'fabric.media.play': 'play',
66
- 'fabric.media.pause': 'pause',
67
- 'fabric.media.disable_fullscreen': 'disable fullscreen',
68
- 'fabric.media.enable_fullscreen': 'enable fullscreen',
69
- 'fabric.media.error_loading_file': 'Error loading file',
70
- 'fabric.media.error_generating_preview': 'Error generating preview',
71
- 'fabric.media.download': 'Download',
72
124
  'fabric.media.unknown': 'unknown',
73
- 'fabric.media.document': 'document',
74
- 'fabric.media.audio': 'audio',
125
+ 'fabric.media.unlink_account': 'Unlink Account',
126
+ 'fabric.media.upload': 'Upload',
127
+ 'fabric.media.upload_an_avatar': 'Upload an avatar',
128
+ 'fabric.media.upload_file': 'Upload a file',
129
+ 'fabric.media.upload_file_from': 'Upload a file from {name}',
130
+ 'fabric.media.upload_image': 'Upload image',
131
+ 'fabric.media.upload_photo': 'Upload a photo',
75
132
  'fabric.media.video': 'video',
76
- 'fabric.media.image': 'image',
77
- 'fabric.media.email': 'email',
78
- 'fabric.media.text': 'text',
79
- 'fabric.media.creating_preview': 'Creating preview...',
80
- 'fabric.media.preview_unavailable': 'Preview unavailable',
81
- 'fabric.media.preview_currently_unavailable': 'Preview currently unavailable',
82
- 'fabric.media.couldnt_load_file': "We couldn't load the file.",
83
- 'fabric.media.error_429': 'Error 429',
84
- 'fabric.media.preview_rateLimited': 'We had difficulties creating a preview.',
85
- 'fabric.media.close_and_reopen': 'Try closing this file and reopening.',
86
- 'fabric.media.viewer_rateLimited': "We're having difficulties loading your file."
133
+ 'fabric.media.view': 'View',
134
+ 'fabric.media.viewer_rateLimited': "We're having difficulties loading your file.",
135
+ 'fabric.media.webgl_warning_description': 'Your browser does not support WebGL. Use a WebGL enabled browser to annotate images.',
136
+ 'fabric.media.zip_entry_load_failed': "We couldn't load that zip file item to preview",
137
+ 'fabric.media.zoom_in': 'zoom in',
138
+ 'fabric.media.zoom_out': 'zoom out'
87
139
  };
88
140
  exports.default = _default;