@edrlab/thorium-web 1.1.0 → 1.1.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.
Files changed (58) hide show
  1. package/dist/{chunk-D24O64OP.mjs → chunk-2JHEFF46.mjs} +123 -105
  2. package/dist/chunk-2JHEFF46.mjs.map +1 -0
  3. package/dist/chunk-B3WDMWCT.mjs +9 -0
  4. package/dist/chunk-B3WDMWCT.mjs.map +1 -0
  5. package/dist/chunk-EY4D4BZN.mjs +35 -0
  6. package/dist/chunk-EY4D4BZN.mjs.map +1 -0
  7. package/dist/{chunk-SPAC7T57.mjs → chunk-IRA4ZKAX.mjs} +10 -2
  8. package/dist/chunk-IRA4ZKAX.mjs.map +1 -0
  9. package/dist/chunk-IYAFKTPL.mjs +69 -0
  10. package/dist/chunk-IYAFKTPL.mjs.map +1 -0
  11. package/dist/{chunk-OWJCESNF.mjs → chunk-VETE7ULS.mjs} +16 -17
  12. package/dist/chunk-VETE7ULS.mjs.map +1 -0
  13. package/dist/components/Epub/index.mjs +11 -10
  14. package/dist/components/Epub/index.mjs.map +1 -1
  15. package/dist/components/Misc/index.mjs +2 -1
  16. package/dist/components/Misc/index.mjs.map +1 -1
  17. package/dist/components/WebPub/index.mjs +10 -9
  18. package/dist/components/WebPub/index.mjs.map +1 -1
  19. package/dist/core/Hooks/index.mjs +1 -1
  20. package/dist/i18n/index.d.mts +3 -3
  21. package/dist/i18n/index.mjs +4 -3
  22. package/dist/locales/ar/thorium-shared.json +10 -0
  23. package/dist/locales/ar/thorium-web.json +0 -10
  24. package/dist/locales/da/thorium-shared.json +138 -0
  25. package/dist/locales/da/thorium-web.json +16 -153
  26. package/dist/locales/el/thorium-web.json +12 -0
  27. package/dist/locales/en/thorium-shared.json +230 -0
  28. package/dist/locales/en/thorium-web.json +4 -141
  29. package/dist/locales/et/thorium-shared.json +38 -0
  30. package/dist/locales/et/thorium-web.json +95 -1
  31. package/dist/locales/fi/thorium-shared.json +189 -0
  32. package/dist/locales/fi/thorium-web.json +4 -141
  33. package/dist/locales/fr/thorium-shared.json +151 -0
  34. package/dist/locales/fr/thorium-web.json +2 -166
  35. package/dist/locales/it/thorium-shared.json +180 -0
  36. package/dist/locales/it/thorium-web.json +95 -1
  37. package/dist/locales/lt/thorium-shared.json +180 -0
  38. package/dist/locales/lt/thorium-web.json +13 -150
  39. package/dist/locales/pl/thorium-shared.json +122 -0
  40. package/dist/locales/pl/thorium-web.json +5 -169
  41. package/dist/locales/pt-BR/thorium-shared.json +180 -0
  42. package/dist/locales/pt-BR/thorium-web.json +2 -126
  43. package/dist/locales/pt-PT/thorium-shared.json +180 -0
  44. package/dist/locales/pt-PT/thorium-web.json +5 -142
  45. package/dist/locales/sv/thorium-shared.json +178 -0
  46. package/dist/locales/sv/thorium-web.json +18 -155
  47. package/dist/locales/ta/thorium-shared.json +120 -0
  48. package/dist/locales/ta/thorium-web.json +2 -126
  49. package/dist/locales/tr/thorium-shared.json +69 -0
  50. package/dist/preferences/index.mjs +2 -1
  51. package/package.json +7 -3
  52. package/dist/chunk-D24O64OP.mjs.map +0 -1
  53. package/dist/chunk-FG6BJGVE.mjs +0 -64
  54. package/dist/chunk-FG6BJGVE.mjs.map +0 -1
  55. package/dist/chunk-KKJA56IZ.mjs +0 -27
  56. package/dist/chunk-KKJA56IZ.mjs.map +0 -1
  57. package/dist/chunk-OWJCESNF.mjs.map +0 -1
  58. package/dist/chunk-SPAC7T57.mjs.map +0 -1
@@ -0,0 +1,120 @@
1
+ {
2
+ "common": {
3
+ "actions": {
4
+ "clear": "தெளிவான",
5
+ "close": "மூடு",
6
+ "decrease": "குறைக்கவும்",
7
+ "increase": "அதிகரிக்கவும்",
8
+ "search": "தேடல்"
9
+ }
10
+ },
11
+ "reader": {
12
+ "actions": {
13
+ "goBackward": "பின்னோக்கிச் செல்லுங்கள்",
14
+ "goForward": "முன்னோக்கிச் செல்லுங்கள்",
15
+ "goToPosition": {
16
+ "compact": "குதிக்கவும்…",
17
+ "descriptive": "நிலைக்குச் செல்"
18
+ }
19
+ },
20
+ "preferences": {
21
+ "columns": {
22
+ "auto": "தானி",
23
+ "dual": {
24
+ "descriptive": "2 கோல்ச்"
25
+ },
26
+ "single": {
27
+ "descriptive": "1 கோல்"
28
+ },
29
+ "title": "நெடுவரிசைகள்"
30
+ },
31
+ "fontFamily": {
32
+ "humanist": {
33
+ "compact": "மனிதநேய",
34
+ "descriptive": "மனிதநேய சான்ச்-செரிஃப"
35
+ },
36
+ "modern": {
37
+ "compact": "நவீன",
38
+ "descriptive": "நவீன செரிஃப்"
39
+ },
40
+ "monospace": "மினிவேன்",
41
+ "oldStyle": {
42
+ "compact": "பழைய பாணி",
43
+ "descriptive": "பழைய பாணி செரிஃப்"
44
+ },
45
+ "publisher": "வெளியீட்டாளரின் எழுத்துரு",
46
+ "sans": "சான்ச்-சீரிஃப்",
47
+ "title": "எழுத்துரு குடும்பம்"
48
+ },
49
+ "fontSize": "எழுத்துரு அளவு",
50
+ "fontWeight": {
51
+ "title": "எழுத்துரு எடை"
52
+ },
53
+ "hyphens": {
54
+ "label": "ஐபன்களை இயக்கவும்",
55
+ "title": "ஆப்லேசன்"
56
+ },
57
+ "layout": {
58
+ "paginated": "பிணைப்பு",
59
+ "scrolled": "கீறப்பட்டது",
60
+ "title": "மனையமைவு"
61
+ },
62
+ "letterSpacing": "கடிதம் இடைவெளி",
63
+ "lineHeight": {
64
+ "default": "இயல்புநிலை",
65
+ "large": "தளர்வான",
66
+ "medium": "சமநிலையானது",
67
+ "small": "இறுக்கமான",
68
+ "title": "வரி உயரம்"
69
+ },
70
+ "paragraphIndent": "பத்தி உள்தள்ளல்",
71
+ "paragraphSpacing": "பத்தி இடைவெளி",
72
+ "publisherStyles": {
73
+ "label": "அசல் வடிவமைப்பைப் பயன்படுத்தவும்"
74
+ },
75
+ "spacing": {
76
+ "title": "இடைவெளி"
77
+ },
78
+ "text": "உரை",
79
+ "textAlign": {
80
+ "default": "இயல்புநிலை",
81
+ "justify": "நியாயப்படுத்துங்கள்",
82
+ "left": "இடது",
83
+ "right": "வலது",
84
+ "title": "உரை சீரமைப்பு"
85
+ },
86
+ "textNormalization": {
87
+ "label": "அனைத்து உரை வடிவமைப்பையும் அகற்று",
88
+ "title": "உரை இயல்பாக்கம்"
89
+ },
90
+ "themes": {
91
+ "auto": "தானி",
92
+ "contrast1": "மாறுபாடு 1",
93
+ "contrast2": "மாறுபாடு 2",
94
+ "contrast3": "மாறுபாடு 3",
95
+ "dark": "இருண்ட",
96
+ "light": "ஒளி",
97
+ "paper": "காகிதம்",
98
+ "sepia": "செபியா",
99
+ "title": "கருப்பொருள்கள்"
100
+ },
101
+ "title": "அமைப்புகளைக் காண்பி",
102
+ "wordSpacing": "சொல் இடைவெளி",
103
+ "zoom": "பெரிதாக்கு"
104
+ },
105
+ "progression": {
106
+ "percentage": "{{ percentage }}%",
107
+ "range": "{{ start }}–{{ end }}",
108
+ "xOfY": {
109
+ "compact": "{{ x }} இன் {{ y }}",
110
+ "descriptive": "{{ x }} இன் {{ y }} ({{ z }})"
111
+ }
112
+ },
113
+ "tableOfContents": {
114
+ "emptyState": {
115
+ "description": "இந்த வெளியீட்டிற்கு உள்ளடக்க அட்டவணை வழங்கப்படவில்லை."
116
+ },
117
+ "title": "உள்ளடக்க அட்டவணை"
118
+ }
119
+ }
120
+ }
@@ -24,7 +24,6 @@
24
24
  },
25
25
  "progression": {
26
26
  "wrapper": "தற்போதைய முன்னேற்றம்",
27
- "of": "{{ current }} இன் {{ reference }}",
28
27
  "referenceFallback": "தற்போதைய அத்தியாயம்",
29
28
  "pubFallback": "வெளியீடு"
30
29
  },
@@ -45,10 +44,6 @@
45
44
  "fullscreen": {
46
45
  "trigger": "உள்ளடக்கங்களுக்கு மேல் காண்பி",
47
46
  "tooltip": "மேலடுக்கு"
48
- },
49
- "close": {
50
- "trigger": "மூடு",
51
- "tooltip": "மூடு"
52
47
  }
53
48
  },
54
49
  "back": {
@@ -56,14 +51,8 @@
56
51
  }
57
52
  },
58
53
  "navigation": {
59
- "goForward": "முன்னோக்கிச் செல்லுங்கள்",
60
- "goBackward": "பின்னோக்கிச் செல்லுங்கள்",
61
54
  "scroll": {
62
- "wrapper": "வெளியீடு மூலம் செல்லவும்",
63
- "prevLabel": "முந்தைய",
64
- "nextLabel": "அடுத்தது",
65
- "prevA11yLabel": "முந்தைய வளத்திற்குச் செல்லுங்கள்",
66
- "nextA11yLabel": "அடுத்த வளத்திற்குச் செல்லுங்கள்"
55
+ "wrapper": "வெளியீடு மூலம் செல்லவும்"
67
56
  }
68
57
  },
69
58
  "fullscreen": {
@@ -72,24 +61,10 @@
72
61
  "close": "முழுத்திரை பயன்முறையிலிருந்து வெளியேறவும்"
73
62
  },
74
63
  "toc": {
75
- "tooltip": "உள்ளடக்க அட்டவணை",
76
- "trigger": "உள்ளடக்க அட்டவணை",
77
- "close": "உள்ளடக்கங்களின் அட்டவணை",
78
- "heading": "உள்ளடக்க அட்டவணை",
79
- "entries": "அட்டவணையில் உள்ளீடுகள்",
80
- "empty": "இந்த வெளியீட்டிற்கு உள்ளடக்க அட்டவணை வழங்கப்படவில்லை.",
81
- "search": {
82
- "label": "தேடல்",
83
- "placeholder": "தேடல்",
84
- "clear": "தெளிவான"
85
- }
64
+ "entries": "அட்டவணையில் உள்ளீடுகள்"
86
65
  },
87
66
  "jumpToPosition": {
88
- "tooltip": "குதிக்கவும்…",
89
- "trigger": "நிலைக்குச் செல்",
90
- "heading": "நிலைக்குச் செல்",
91
67
  "go": "போ",
92
- "close": "நிலைக்குத் தாவ மூடு",
93
68
  "label": "{{ positionStart }}} முதல் {{ positionEnd }} வரை ஒரு நிலையைத் தேர்ந்தெடுக்கவும்:"
94
69
  },
95
70
  "overflowMenu": {
@@ -103,116 +78,17 @@
103
78
  }
104
79
  },
105
80
  "settings": {
106
- "tooltip": "அமைப்புகள்",
107
- "trigger": "அமைப்புகள் பட்டியல்",
108
- "close": "அமைப்புகள் மெனுவை மூடு",
109
- "heading": "அமைப்புகளைக் காண்பி",
110
- "themes": {
111
- "title": "கருப்பொருள்கள்",
112
- "auto": "தானி",
113
- "light": "ஒளி",
114
- "sepia": "செபியா",
115
- "paper": "காகிதம்",
116
- "dark": "இருண்ட",
117
- "contrast1": "மாறுபாடு 1",
118
- "contrast2": "மாறுபாடு 2",
119
- "contrast3": "மாறுபாடு 3"
120
- },
121
- "zoom": {
122
- "title": "பெரிதாக்கு",
123
- "increase": "சூம் அதிகரிக்கவும்",
124
- "decrease": "சூம் குறைக்கவும்"
125
- },
126
- "fontSize": {
127
- "title": "எழுத்துரு அளவு",
128
- "increase": "எழுத்துரு அளவை அதிகரிக்கவும்",
129
- "decrease": "எழுத்துரு அளவைக் குறைக்கவும்"
130
- },
131
- "fontFamily": {
132
- "title": "எழுத்துரு குடும்பம்",
133
- "labels": {
134
- "publisher": "வெளியீட்டாளரின் எழுத்துரு",
135
- "oldStyle": "பழைய பாணி செரிஃப்",
136
- "modern": "நவீன செரிஃப்",
137
- "sans": "சான்ச்-சீரிஃப்",
138
- "humanist": "மனிதநேய சான்ச்-செரிஃப்",
139
- "monospace": "மினிவேன்"
140
- }
141
- },
142
- "fontWeight": {
143
- "title": "எழுத்துரு எடை",
144
- "increase": "எழுத்துரு எடையை அதிகரிக்கவும்",
145
- "decrease": "எழுத்துரு எடையைக் குறைக்கவும்"
146
- },
147
- "normalizeText": {
148
- "title": "உரை இயல்பாக்கம்",
149
- "label": "அனைத்து உரை வடிவமைப்பையும் அகற்று"
150
- },
151
- "align": {
152
- "title": "உரை சீரமைப்பு",
153
- "publisher": "இயல்புநிலை",
154
- "left": "இடது",
155
- "justify": "நியாயப்படுத்துங்கள்",
156
- "right": "வலது"
157
- },
158
- "hyphens": {
159
- "title": "ஆப்லேசன்",
160
- "label": "ஐபன்களை இயக்கவும்"
161
- },
162
81
  "text": {
163
- "title": "உரை",
164
82
  "advanced": {
165
83
  "tooltip": "மேலும் விருப்பங்கள்",
166
84
  "trigger": "மேலும் வடிவமைப்பு விருப்பங்கள்"
167
85
  }
168
86
  },
169
- "lineHeight": {
170
- "title": "வரி உயரம்",
171
- "publisher": "இயல்புநிலை",
172
- "small": "இறுக்கமான",
173
- "medium": "சமநிலையானது",
174
- "large": "தளர்வான"
175
- },
176
- "paraSpacing": {
177
- "title": "பத்தி இடைவெளி",
178
- "increase": "பத்தி இடைவெளியை அதிகரிக்கவும்",
179
- "decrease": "பத்தி இடைவெளியைக் குறைக்கவும்"
180
- },
181
- "paraIndent": {
182
- "title": "பத்தி உள்தள்ளல்",
183
- "increase": "பத்தி உள்தள்ளலை அதிகரிக்கவும்",
184
- "decrease": "பத்தி இன்டெண்டைக் குறைக்கவும்"
185
- },
186
- "wordSpacing": {
187
- "title": "சொல் இடைவெளி",
188
- "increase": "சொல் இடைவெளியை அதிகரிக்கவும்",
189
- "decrease": "சொல் இடைவெளியைக் குறைக்கவும்"
190
- },
191
- "letterSpacing": {
192
- "title": "கடிதம் இடைவெளி",
193
- "increase": "கடிதம் இடைவெளியை அதிகரிக்கவும்",
194
- "decrease": "கடிதம் இடைவெளியைக் குறைக்கவும்"
195
- },
196
- "publisherStyles": {
197
- "label": "அசல் வடிவமைப்பைப் பயன்படுத்தவும்"
198
- },
199
87
  "spacing": {
200
- "title": "இடைவெளி",
201
88
  "advanced": {
202
89
  "tooltip": "மேலும் விருப்பங்கள்",
203
90
  "trigger": "மேலும் இடைவெளி விருப்பங்கள்"
204
91
  }
205
- },
206
- "layout": {
207
- "title": "மனையமைவு",
208
- "scrolled": "கீறப்பட்டது",
209
- "paginated": "பிணைப்பு"
210
- },
211
- "column": {
212
- "title": "நெடுவரிசைகள்",
213
- "auto": "தானி",
214
- "one": "1 கோல்",
215
- "two": "2 கோல்ச்"
216
92
  }
217
93
  }
218
94
  }
@@ -0,0 +1,69 @@
1
+ {
2
+ "reader": {
3
+ "actions": {
4
+ "goBackward": "Geri git",
5
+ "goForward": "İleri git",
6
+ "goToNextChapter": {
7
+ "compact": "Sonraki",
8
+ "descriptive": "Sonraki bölüm"
9
+ },
10
+ "goToNextPage": {
11
+ "compact": "Sonraki",
12
+ "descriptive": "Sonraki sayfa"
13
+ },
14
+ "goToPosition": {
15
+ "compact": "Şuraya git…",
16
+ "descriptive": "Konuma git"
17
+ },
18
+ "goToPreviousChapter": {
19
+ "compact": "Önceki",
20
+ "descriptive": "Önceki bölüm"
21
+ },
22
+ "goToPreviousPage": {
23
+ "compact": "Önceki",
24
+ "descriptive": "Önceki sayfa"
25
+ }
26
+ },
27
+ "preferences": {
28
+ "columns": {
29
+ "auto": "Otomatik",
30
+ "dual": {
31
+ "compact": "2 sütun",
32
+ "descriptive": "İki sütun"
33
+ },
34
+ "single": {
35
+ "compact": "1 sütun",
36
+ "descriptive": "Tek sütun"
37
+ },
38
+ "title": "Sütunlar"
39
+ },
40
+ "fontFamily": {
41
+ "publisher": "Yayımcının yazı biçimi",
42
+ "sans": "Sans-serif",
43
+ "title": "Yazı biçimi ailesi"
44
+ },
45
+ "fontSize": "Yazı tipi boyutu",
46
+ "title": "Görüntüleme Ayarları"
47
+ },
48
+ "progression": {
49
+ "pagesLeftInChapter_one": "Bölümde, {{ count }} sayfa kaldı",
50
+ "pagesLeftInChapter_other": "Bölümde, {{ count }} sayfa kaldı",
51
+ "pagesLeftInPublication_one": "Eserde, {{ count }} sayfa kaldı",
52
+ "pagesLeftInPublication_other": "Eserde, {{ count }} sayfa kaldı",
53
+ "pagesLeft_one": "{{ count }} sayfa kaldı",
54
+ "pagesLeft_other": "{{ count }} sayfa kaldı",
55
+ "percentage": "%{{ percentage }}",
56
+ "positionsLeftInChapter_one": "Bölümde, geriye {{ count }} kaldı",
57
+ "positionsLeftInChapter_other": "Bölümde, geriye {{ count }} kaldı",
58
+ "positionsLeftInPublication_one": "Eserde, geriye {{ count }} kaldı",
59
+ "positionsLeftInPublication_other": "Eserde, geriye {{ count }} kaldı",
60
+ "positionsLeft_one": "Geriye {{ count }} kaldı",
61
+ "positionsLeft_other": "Geriye {{ count }} kaldı",
62
+ "range": "{{ start }}–{{ end }}",
63
+ "xOfY": {
64
+ "compact": "{{ x }} / {{ y }}",
65
+ "descriptive": "{{ x }} / {{ y }} ({{ z }})"
66
+ }
67
+ }
68
+ }
69
+ }
@@ -1,8 +1,9 @@
1
- export { ThMemoryPreferencesAdapter, ThPreferencesContext, ThPreferencesProvider, buildThemeObject, createPreferences, defaultActionKeysObject, defaultFontFamilyOptions, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultWordSpacing, defaultZoom, usePreferenceKeys, usePreferences, useTheming } from '../chunk-SPAC7T57.mjs';
1
+ export { ThMemoryPreferencesAdapter, ThPreferencesContext, ThPreferencesProvider, buildThemeObject, createPreferences, defaultActionKeysObject, defaultFontFamilyOptions, defaultLetterSpacing, defaultLineHeights, defaultParagraphIndent, defaultParagraphSpacing, defaultPreferences, defaultPreferencesContextValue, defaultSpacingPresets, defaultSpacingPresetsOrder, defaultSpacingSettingsMain, defaultSpacingSettingsSubpanel, defaultTextSettingsMain, defaultTextSettingsSubpanel, defaultWordSpacing, defaultZoom, usePreferenceKeys, usePreferences, useTheming } from '../chunk-IRA4ZKAX.mjs';
2
2
  import '../chunk-7CGMWOZN.mjs';
3
3
  import '../chunk-BNPR6V7V.mjs';
4
4
  import '../chunk-5LUMM7FW.mjs';
5
5
  import '../chunk-NQ2ZSGCX.mjs';
6
+ import '../chunk-B3WDMWCT.mjs';
6
7
  import '../chunk-MLEYTQGK.mjs';
7
8
  export { ThActionsKeys, ThArrowVariant, ThBackLinkVariant, ThBreakpoints, ThDockingKeys, ThDockingTypes, ThDocumentTitleFormat, ThLayoutDirection, ThLayoutOptions, ThLayoutUI, ThLineHeightOptions, ThProgressionFormat, ThRunningHeadFormat, ThSettingsContainerKeys, ThSettingsKeys, ThSettingsRangePlaceholder, ThSettingsRangeVariant, ThSheetHeaderVariant, ThSheetTypes, ThSpacingPresetKeys, ThSpacingSettingsKeys, ThTextAlignOptions, ThTextSettingsKeys, ThThemeKeys } from '../chunk-CVM2ZAPL.mjs';
8
9
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/edrlab/thorium-web/issues"
22
22
  },
23
- "version": "1.1.0",
23
+ "version": "1.1.2",
24
24
  "private": false,
25
25
  "files": [
26
26
  "./dist"
@@ -45,13 +45,16 @@
45
45
  },
46
46
  "scripts": {
47
47
  "dev": "next dev",
48
- "build": "next build",
48
+ "build": "pnpm extract-locales && next build",
49
49
  "start": "next start",
50
50
  "lint": "eslint .",
51
51
  "deploy": "npx @cloudflare/next-on-pages && npx wrangler pages deploy",
52
52
  "preinstall": "npx only-allow pnpm",
53
53
  "copy-locales": "cpx \"public/locales/**/*\" dist/locales",
54
- "bundle": "tsup --config tsup.config.ts && pnpm copy-locales"
54
+ "extract-locales": "node scripts/extract-locales.mjs",
55
+ "check-locales": "node scripts/check-locales.mjs",
56
+ "update-locales": "pnpm remove @edrlab/thorium-locales && pnpm add @edrlab/thorium-locales@github:edrlab/thorium-locales && pnpm extract-locales && pnpm check-locales --summary --show-missing",
57
+ "bundle": "pnpm extract-locales && tsup --config tsup.config.ts && pnpm copy-locales"
55
58
  },
56
59
  "peerDependencies": {
57
60
  "@readium/css": "2.0.0-beta.24",
@@ -74,6 +77,7 @@
74
77
  "react-stately": "^3.43.0"
75
78
  },
76
79
  "dependencies": {
80
+ "@edrlab/thorium-locales": "github:edrlab/thorium-locales",
77
81
  "@readium/css": "2.0.0-beta.24",
78
82
  "@readium/navigator": "2.2.5",
79
83
  "@readium/navigator-html-injectables": "2.2.2",