@betteroffice/pptx-i18n 0.0.1
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/LICENSE +201 -0
- package/README.md +58 -0
- package/dist/de.d.mts +5 -0
- package/dist/de.mjs +46 -0
- package/dist/en.d.mts +5 -0
- package/dist/en.mjs +46 -0
- package/dist/fr.d.mts +5 -0
- package/dist/fr.mjs +46 -0
- package/dist/he.d.mts +5 -0
- package/dist/he.mjs +46 -0
- package/dist/hi.d.mts +5 -0
- package/dist/hi.mjs +46 -0
- package/dist/id.d.mts +5 -0
- package/dist/id.mjs +46 -0
- package/dist/index.d.mts +81 -0
- package/dist/index.mjs +493 -0
- package/dist/pl.d.mts +5 -0
- package/dist/pl.mjs +46 -0
- package/dist/pt-BR.d.mts +5 -0
- package/dist/pt-BR.mjs +46 -0
- package/dist/tr.d.mts +5 -0
- package/dist/tr.mjs +46 -0
- package/dist/zh-CN.d.mts +5 -0
- package/dist/zh-CN.mjs +46 -0
- package/package.json +86 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
// en.json
|
|
2
|
+
var en_default = {
|
|
3
|
+
_lang: "en",
|
|
4
|
+
toolbar: {
|
|
5
|
+
label: "Presentation formatting toolbar",
|
|
6
|
+
historyLabel: "History",
|
|
7
|
+
undo: "Undo",
|
|
8
|
+
redo: "Redo",
|
|
9
|
+
textFormattingLabel: "Text formatting",
|
|
10
|
+
bold: "Bold",
|
|
11
|
+
italic: "Italic",
|
|
12
|
+
fontSize: "Font size",
|
|
13
|
+
textColor: "Text color",
|
|
14
|
+
slidesLabel: "Slides",
|
|
15
|
+
addSlide: "Add slide",
|
|
16
|
+
deleteSlide: "Delete slide",
|
|
17
|
+
objectsLabel: "Objects",
|
|
18
|
+
addTextBox: "Add text box"
|
|
19
|
+
},
|
|
20
|
+
slides: {
|
|
21
|
+
panelLabel: "Slides",
|
|
22
|
+
fallbackTitle: "Slide {number}",
|
|
23
|
+
canvasLabel: "Slide {current} of {total}",
|
|
24
|
+
canvasLabelWithSelection: "Slide {current} of {total}; selected object {name}"
|
|
25
|
+
},
|
|
26
|
+
editor: {
|
|
27
|
+
appLabel: "Presentation slide editor",
|
|
28
|
+
opening: "Opening presentation…",
|
|
29
|
+
noSlides: "No slides",
|
|
30
|
+
openPrompt: "Open a PPTX file"
|
|
31
|
+
},
|
|
32
|
+
objects: {
|
|
33
|
+
defaultTextBoxName: "Text Box"
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
decodeSlideImage: "could not decode slide image"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// de.json
|
|
41
|
+
var de_default = {
|
|
42
|
+
_lang: "de",
|
|
43
|
+
toolbar: {
|
|
44
|
+
label: null,
|
|
45
|
+
historyLabel: null,
|
|
46
|
+
undo: null,
|
|
47
|
+
redo: null,
|
|
48
|
+
textFormattingLabel: null,
|
|
49
|
+
bold: null,
|
|
50
|
+
italic: null,
|
|
51
|
+
fontSize: null,
|
|
52
|
+
textColor: null,
|
|
53
|
+
slidesLabel: null,
|
|
54
|
+
addSlide: null,
|
|
55
|
+
deleteSlide: null,
|
|
56
|
+
objectsLabel: null,
|
|
57
|
+
addTextBox: null
|
|
58
|
+
},
|
|
59
|
+
slides: {
|
|
60
|
+
panelLabel: null,
|
|
61
|
+
fallbackTitle: null,
|
|
62
|
+
canvasLabel: null,
|
|
63
|
+
canvasLabelWithSelection: null
|
|
64
|
+
},
|
|
65
|
+
editor: {
|
|
66
|
+
appLabel: null,
|
|
67
|
+
opening: null,
|
|
68
|
+
noSlides: null,
|
|
69
|
+
openPrompt: null
|
|
70
|
+
},
|
|
71
|
+
objects: {
|
|
72
|
+
defaultTextBoxName: null
|
|
73
|
+
},
|
|
74
|
+
errors: {
|
|
75
|
+
decodeSlideImage: null
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
// fr.json
|
|
80
|
+
var fr_default = {
|
|
81
|
+
_lang: "fr",
|
|
82
|
+
toolbar: {
|
|
83
|
+
label: null,
|
|
84
|
+
historyLabel: null,
|
|
85
|
+
undo: null,
|
|
86
|
+
redo: null,
|
|
87
|
+
textFormattingLabel: null,
|
|
88
|
+
bold: null,
|
|
89
|
+
italic: null,
|
|
90
|
+
fontSize: null,
|
|
91
|
+
textColor: null,
|
|
92
|
+
slidesLabel: null,
|
|
93
|
+
addSlide: null,
|
|
94
|
+
deleteSlide: null,
|
|
95
|
+
objectsLabel: null,
|
|
96
|
+
addTextBox: null
|
|
97
|
+
},
|
|
98
|
+
slides: {
|
|
99
|
+
panelLabel: null,
|
|
100
|
+
fallbackTitle: null,
|
|
101
|
+
canvasLabel: null,
|
|
102
|
+
canvasLabelWithSelection: null
|
|
103
|
+
},
|
|
104
|
+
editor: {
|
|
105
|
+
appLabel: null,
|
|
106
|
+
opening: null,
|
|
107
|
+
noSlides: null,
|
|
108
|
+
openPrompt: null
|
|
109
|
+
},
|
|
110
|
+
objects: {
|
|
111
|
+
defaultTextBoxName: null
|
|
112
|
+
},
|
|
113
|
+
errors: {
|
|
114
|
+
decodeSlideImage: null
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
// he.json
|
|
119
|
+
var he_default = {
|
|
120
|
+
_lang: "he",
|
|
121
|
+
toolbar: {
|
|
122
|
+
label: null,
|
|
123
|
+
historyLabel: null,
|
|
124
|
+
undo: null,
|
|
125
|
+
redo: null,
|
|
126
|
+
textFormattingLabel: null,
|
|
127
|
+
bold: null,
|
|
128
|
+
italic: null,
|
|
129
|
+
fontSize: null,
|
|
130
|
+
textColor: null,
|
|
131
|
+
slidesLabel: null,
|
|
132
|
+
addSlide: null,
|
|
133
|
+
deleteSlide: null,
|
|
134
|
+
objectsLabel: null,
|
|
135
|
+
addTextBox: null
|
|
136
|
+
},
|
|
137
|
+
slides: {
|
|
138
|
+
panelLabel: null,
|
|
139
|
+
fallbackTitle: null,
|
|
140
|
+
canvasLabel: null,
|
|
141
|
+
canvasLabelWithSelection: null
|
|
142
|
+
},
|
|
143
|
+
editor: {
|
|
144
|
+
appLabel: null,
|
|
145
|
+
opening: null,
|
|
146
|
+
noSlides: null,
|
|
147
|
+
openPrompt: null
|
|
148
|
+
},
|
|
149
|
+
objects: {
|
|
150
|
+
defaultTextBoxName: null
|
|
151
|
+
},
|
|
152
|
+
errors: {
|
|
153
|
+
decodeSlideImage: null
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
// hi.json
|
|
158
|
+
var hi_default = {
|
|
159
|
+
_lang: "hi",
|
|
160
|
+
toolbar: {
|
|
161
|
+
label: null,
|
|
162
|
+
historyLabel: null,
|
|
163
|
+
undo: null,
|
|
164
|
+
redo: null,
|
|
165
|
+
textFormattingLabel: null,
|
|
166
|
+
bold: null,
|
|
167
|
+
italic: null,
|
|
168
|
+
fontSize: null,
|
|
169
|
+
textColor: null,
|
|
170
|
+
slidesLabel: null,
|
|
171
|
+
addSlide: null,
|
|
172
|
+
deleteSlide: null,
|
|
173
|
+
objectsLabel: null,
|
|
174
|
+
addTextBox: null
|
|
175
|
+
},
|
|
176
|
+
slides: {
|
|
177
|
+
panelLabel: null,
|
|
178
|
+
fallbackTitle: null,
|
|
179
|
+
canvasLabel: null,
|
|
180
|
+
canvasLabelWithSelection: null
|
|
181
|
+
},
|
|
182
|
+
editor: {
|
|
183
|
+
appLabel: null,
|
|
184
|
+
opening: null,
|
|
185
|
+
noSlides: null,
|
|
186
|
+
openPrompt: null
|
|
187
|
+
},
|
|
188
|
+
objects: {
|
|
189
|
+
defaultTextBoxName: null
|
|
190
|
+
},
|
|
191
|
+
errors: {
|
|
192
|
+
decodeSlideImage: null
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
// id.json
|
|
197
|
+
var id_default = {
|
|
198
|
+
_lang: "id",
|
|
199
|
+
toolbar: {
|
|
200
|
+
label: null,
|
|
201
|
+
historyLabel: null,
|
|
202
|
+
undo: null,
|
|
203
|
+
redo: null,
|
|
204
|
+
textFormattingLabel: null,
|
|
205
|
+
bold: null,
|
|
206
|
+
italic: null,
|
|
207
|
+
fontSize: null,
|
|
208
|
+
textColor: null,
|
|
209
|
+
slidesLabel: null,
|
|
210
|
+
addSlide: null,
|
|
211
|
+
deleteSlide: null,
|
|
212
|
+
objectsLabel: null,
|
|
213
|
+
addTextBox: null
|
|
214
|
+
},
|
|
215
|
+
slides: {
|
|
216
|
+
panelLabel: null,
|
|
217
|
+
fallbackTitle: null,
|
|
218
|
+
canvasLabel: null,
|
|
219
|
+
canvasLabelWithSelection: null
|
|
220
|
+
},
|
|
221
|
+
editor: {
|
|
222
|
+
appLabel: null,
|
|
223
|
+
opening: null,
|
|
224
|
+
noSlides: null,
|
|
225
|
+
openPrompt: null
|
|
226
|
+
},
|
|
227
|
+
objects: {
|
|
228
|
+
defaultTextBoxName: null
|
|
229
|
+
},
|
|
230
|
+
errors: {
|
|
231
|
+
decodeSlideImage: null
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
// pl.json
|
|
236
|
+
var pl_default = {
|
|
237
|
+
_lang: "pl",
|
|
238
|
+
toolbar: {
|
|
239
|
+
label: null,
|
|
240
|
+
historyLabel: null,
|
|
241
|
+
undo: null,
|
|
242
|
+
redo: null,
|
|
243
|
+
textFormattingLabel: null,
|
|
244
|
+
bold: null,
|
|
245
|
+
italic: null,
|
|
246
|
+
fontSize: null,
|
|
247
|
+
textColor: null,
|
|
248
|
+
slidesLabel: null,
|
|
249
|
+
addSlide: null,
|
|
250
|
+
deleteSlide: null,
|
|
251
|
+
objectsLabel: null,
|
|
252
|
+
addTextBox: null
|
|
253
|
+
},
|
|
254
|
+
slides: {
|
|
255
|
+
panelLabel: null,
|
|
256
|
+
fallbackTitle: null,
|
|
257
|
+
canvasLabel: null,
|
|
258
|
+
canvasLabelWithSelection: null
|
|
259
|
+
},
|
|
260
|
+
editor: {
|
|
261
|
+
appLabel: null,
|
|
262
|
+
opening: null,
|
|
263
|
+
noSlides: null,
|
|
264
|
+
openPrompt: null
|
|
265
|
+
},
|
|
266
|
+
objects: {
|
|
267
|
+
defaultTextBoxName: null
|
|
268
|
+
},
|
|
269
|
+
errors: {
|
|
270
|
+
decodeSlideImage: null
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
// pt-BR.json
|
|
275
|
+
var pt_BR_default = {
|
|
276
|
+
_lang: "pt-BR",
|
|
277
|
+
toolbar: {
|
|
278
|
+
label: null,
|
|
279
|
+
historyLabel: null,
|
|
280
|
+
undo: null,
|
|
281
|
+
redo: null,
|
|
282
|
+
textFormattingLabel: null,
|
|
283
|
+
bold: null,
|
|
284
|
+
italic: null,
|
|
285
|
+
fontSize: null,
|
|
286
|
+
textColor: null,
|
|
287
|
+
slidesLabel: null,
|
|
288
|
+
addSlide: null,
|
|
289
|
+
deleteSlide: null,
|
|
290
|
+
objectsLabel: null,
|
|
291
|
+
addTextBox: null
|
|
292
|
+
},
|
|
293
|
+
slides: {
|
|
294
|
+
panelLabel: null,
|
|
295
|
+
fallbackTitle: null,
|
|
296
|
+
canvasLabel: null,
|
|
297
|
+
canvasLabelWithSelection: null
|
|
298
|
+
},
|
|
299
|
+
editor: {
|
|
300
|
+
appLabel: null,
|
|
301
|
+
opening: null,
|
|
302
|
+
noSlides: null,
|
|
303
|
+
openPrompt: null
|
|
304
|
+
},
|
|
305
|
+
objects: {
|
|
306
|
+
defaultTextBoxName: null
|
|
307
|
+
},
|
|
308
|
+
errors: {
|
|
309
|
+
decodeSlideImage: null
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
// tr.json
|
|
314
|
+
var tr_default = {
|
|
315
|
+
_lang: "tr",
|
|
316
|
+
toolbar: {
|
|
317
|
+
label: null,
|
|
318
|
+
historyLabel: null,
|
|
319
|
+
undo: null,
|
|
320
|
+
redo: null,
|
|
321
|
+
textFormattingLabel: null,
|
|
322
|
+
bold: null,
|
|
323
|
+
italic: null,
|
|
324
|
+
fontSize: null,
|
|
325
|
+
textColor: null,
|
|
326
|
+
slidesLabel: null,
|
|
327
|
+
addSlide: null,
|
|
328
|
+
deleteSlide: null,
|
|
329
|
+
objectsLabel: null,
|
|
330
|
+
addTextBox: null
|
|
331
|
+
},
|
|
332
|
+
slides: {
|
|
333
|
+
panelLabel: null,
|
|
334
|
+
fallbackTitle: null,
|
|
335
|
+
canvasLabel: null,
|
|
336
|
+
canvasLabelWithSelection: null
|
|
337
|
+
},
|
|
338
|
+
editor: {
|
|
339
|
+
appLabel: null,
|
|
340
|
+
opening: null,
|
|
341
|
+
noSlides: null,
|
|
342
|
+
openPrompt: null
|
|
343
|
+
},
|
|
344
|
+
objects: {
|
|
345
|
+
defaultTextBoxName: null
|
|
346
|
+
},
|
|
347
|
+
errors: {
|
|
348
|
+
decodeSlideImage: null
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
// zh-CN.json
|
|
353
|
+
var zh_CN_default = {
|
|
354
|
+
_lang: "zh-CN",
|
|
355
|
+
toolbar: {
|
|
356
|
+
label: null,
|
|
357
|
+
historyLabel: null,
|
|
358
|
+
undo: null,
|
|
359
|
+
redo: null,
|
|
360
|
+
textFormattingLabel: null,
|
|
361
|
+
bold: null,
|
|
362
|
+
italic: null,
|
|
363
|
+
fontSize: null,
|
|
364
|
+
textColor: null,
|
|
365
|
+
slidesLabel: null,
|
|
366
|
+
addSlide: null,
|
|
367
|
+
deleteSlide: null,
|
|
368
|
+
objectsLabel: null,
|
|
369
|
+
addTextBox: null
|
|
370
|
+
},
|
|
371
|
+
slides: {
|
|
372
|
+
panelLabel: null,
|
|
373
|
+
fallbackTitle: null,
|
|
374
|
+
canvasLabel: null,
|
|
375
|
+
canvasLabelWithSelection: null
|
|
376
|
+
},
|
|
377
|
+
editor: {
|
|
378
|
+
appLabel: null,
|
|
379
|
+
opening: null,
|
|
380
|
+
noSlides: null,
|
|
381
|
+
openPrompt: null
|
|
382
|
+
},
|
|
383
|
+
objects: {
|
|
384
|
+
defaultTextBoxName: null
|
|
385
|
+
},
|
|
386
|
+
errors: {
|
|
387
|
+
decodeSlideImage: null
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
// src/index.ts
|
|
392
|
+
var en = en_default;
|
|
393
|
+
var de = de_default;
|
|
394
|
+
var fr = fr_default;
|
|
395
|
+
var he = he_default;
|
|
396
|
+
var hi = hi_default;
|
|
397
|
+
var id = id_default;
|
|
398
|
+
var pl = pl_default;
|
|
399
|
+
var ptBR = pt_BR_default;
|
|
400
|
+
var tr = tr_default;
|
|
401
|
+
var zhCN = zh_CN_default;
|
|
402
|
+
var locales = {
|
|
403
|
+
en,
|
|
404
|
+
de,
|
|
405
|
+
fr,
|
|
406
|
+
he,
|
|
407
|
+
hi,
|
|
408
|
+
id,
|
|
409
|
+
pl,
|
|
410
|
+
"pt-BR": ptBR,
|
|
411
|
+
tr,
|
|
412
|
+
"zh-CN": zhCN
|
|
413
|
+
};
|
|
414
|
+
function isRecord(v) {
|
|
415
|
+
return v !== null && typeof v === "object" && !Array.isArray(v);
|
|
416
|
+
}
|
|
417
|
+
function deepMerge(base, override) {
|
|
418
|
+
if (!override) return base;
|
|
419
|
+
const result = { ...base };
|
|
420
|
+
for (const key of Object.keys(override)) {
|
|
421
|
+
const overVal = override[key];
|
|
422
|
+
if (overVal === null) continue;
|
|
423
|
+
if (isRecord(base[key]) && isRecord(overVal)) {
|
|
424
|
+
result[key] = deepMerge(base[key], overVal);
|
|
425
|
+
} else if (overVal !== void 0) {
|
|
426
|
+
result[key] = overVal;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
return result;
|
|
430
|
+
}
|
|
431
|
+
function lookupKey(obj, path) {
|
|
432
|
+
let current = obj;
|
|
433
|
+
for (const part of path.split(".")) {
|
|
434
|
+
if (!isRecord(current)) return void 0;
|
|
435
|
+
current = current[part];
|
|
436
|
+
}
|
|
437
|
+
return typeof current === "string" ? current : void 0;
|
|
438
|
+
}
|
|
439
|
+
function parseBranches(branchStr) {
|
|
440
|
+
const parsed = {};
|
|
441
|
+
const regex = /(=\d+|\w+)\s*\{([^}]*)\}/g;
|
|
442
|
+
let match;
|
|
443
|
+
while ((match = regex.exec(branchStr)) !== null) {
|
|
444
|
+
parsed[match[1]] = match[2];
|
|
445
|
+
}
|
|
446
|
+
return parsed;
|
|
447
|
+
}
|
|
448
|
+
function formatMessage(template, vars, lang) {
|
|
449
|
+
if (!vars) return template;
|
|
450
|
+
const result = template.replace(
|
|
451
|
+
/\{(\w+),\s*plural,((?:[^{}]|\{[^{}]*\})*)\}/g,
|
|
452
|
+
(full, varName, branchStr) => {
|
|
453
|
+
const count = Number(vars[varName]);
|
|
454
|
+
if (isNaN(count)) return full;
|
|
455
|
+
const parsed = parseBranches(branchStr);
|
|
456
|
+
const exact = parsed[`=${count}`];
|
|
457
|
+
if (exact !== void 0) return exact.replace(/#/g, String(count));
|
|
458
|
+
let category;
|
|
459
|
+
try {
|
|
460
|
+
category = new Intl.PluralRules(lang || "en").select(count);
|
|
461
|
+
} catch {
|
|
462
|
+
category = count === 1 ? "one" : "other";
|
|
463
|
+
}
|
|
464
|
+
const text = parsed[category] ?? parsed["other"] ?? "";
|
|
465
|
+
return text.replace(/#/g, String(count));
|
|
466
|
+
}
|
|
467
|
+
);
|
|
468
|
+
return result.replace(/\{(\w+)\}/g, (_, key) => {
|
|
469
|
+
const val = vars[key];
|
|
470
|
+
return val !== void 0 ? String(val) : `{${key}}`;
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
function createT(strings, lang = "en") {
|
|
474
|
+
return (key, vars) => {
|
|
475
|
+
const value = lookupKey(strings, key);
|
|
476
|
+
return formatMessage(value ?? key, vars, lang);
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
export {
|
|
480
|
+
createT,
|
|
481
|
+
de,
|
|
482
|
+
deepMerge,
|
|
483
|
+
en,
|
|
484
|
+
fr,
|
|
485
|
+
he,
|
|
486
|
+
hi,
|
|
487
|
+
id,
|
|
488
|
+
locales,
|
|
489
|
+
pl,
|
|
490
|
+
ptBR,
|
|
491
|
+
tr,
|
|
492
|
+
zhCN
|
|
493
|
+
};
|
package/dist/pl.d.mts
ADDED
package/dist/pl.mjs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// pl.json
|
|
2
|
+
var pl_default = {
|
|
3
|
+
_lang: "pl",
|
|
4
|
+
toolbar: {
|
|
5
|
+
label: null,
|
|
6
|
+
historyLabel: null,
|
|
7
|
+
undo: null,
|
|
8
|
+
redo: null,
|
|
9
|
+
textFormattingLabel: null,
|
|
10
|
+
bold: null,
|
|
11
|
+
italic: null,
|
|
12
|
+
fontSize: null,
|
|
13
|
+
textColor: null,
|
|
14
|
+
slidesLabel: null,
|
|
15
|
+
addSlide: null,
|
|
16
|
+
deleteSlide: null,
|
|
17
|
+
objectsLabel: null,
|
|
18
|
+
addTextBox: null
|
|
19
|
+
},
|
|
20
|
+
slides: {
|
|
21
|
+
panelLabel: null,
|
|
22
|
+
fallbackTitle: null,
|
|
23
|
+
canvasLabel: null,
|
|
24
|
+
canvasLabelWithSelection: null
|
|
25
|
+
},
|
|
26
|
+
editor: {
|
|
27
|
+
appLabel: null,
|
|
28
|
+
opening: null,
|
|
29
|
+
noSlides: null,
|
|
30
|
+
openPrompt: null
|
|
31
|
+
},
|
|
32
|
+
objects: {
|
|
33
|
+
defaultTextBoxName: null
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
decodeSlideImage: null
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// src/pl.ts
|
|
41
|
+
var pl = pl_default;
|
|
42
|
+
var pl_default2 = pl;
|
|
43
|
+
export {
|
|
44
|
+
pl_default2 as default,
|
|
45
|
+
pl
|
|
46
|
+
};
|
package/dist/pt-BR.d.mts
ADDED
package/dist/pt-BR.mjs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// pt-BR.json
|
|
2
|
+
var pt_BR_default = {
|
|
3
|
+
_lang: "pt-BR",
|
|
4
|
+
toolbar: {
|
|
5
|
+
label: null,
|
|
6
|
+
historyLabel: null,
|
|
7
|
+
undo: null,
|
|
8
|
+
redo: null,
|
|
9
|
+
textFormattingLabel: null,
|
|
10
|
+
bold: null,
|
|
11
|
+
italic: null,
|
|
12
|
+
fontSize: null,
|
|
13
|
+
textColor: null,
|
|
14
|
+
slidesLabel: null,
|
|
15
|
+
addSlide: null,
|
|
16
|
+
deleteSlide: null,
|
|
17
|
+
objectsLabel: null,
|
|
18
|
+
addTextBox: null
|
|
19
|
+
},
|
|
20
|
+
slides: {
|
|
21
|
+
panelLabel: null,
|
|
22
|
+
fallbackTitle: null,
|
|
23
|
+
canvasLabel: null,
|
|
24
|
+
canvasLabelWithSelection: null
|
|
25
|
+
},
|
|
26
|
+
editor: {
|
|
27
|
+
appLabel: null,
|
|
28
|
+
opening: null,
|
|
29
|
+
noSlides: null,
|
|
30
|
+
openPrompt: null
|
|
31
|
+
},
|
|
32
|
+
objects: {
|
|
33
|
+
defaultTextBoxName: null
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
decodeSlideImage: null
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// src/pt-BR.ts
|
|
41
|
+
var ptBR = pt_BR_default;
|
|
42
|
+
var pt_BR_default2 = ptBR;
|
|
43
|
+
export {
|
|
44
|
+
pt_BR_default2 as default,
|
|
45
|
+
ptBR
|
|
46
|
+
};
|
package/dist/tr.d.mts
ADDED
package/dist/tr.mjs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// tr.json
|
|
2
|
+
var tr_default = {
|
|
3
|
+
_lang: "tr",
|
|
4
|
+
toolbar: {
|
|
5
|
+
label: null,
|
|
6
|
+
historyLabel: null,
|
|
7
|
+
undo: null,
|
|
8
|
+
redo: null,
|
|
9
|
+
textFormattingLabel: null,
|
|
10
|
+
bold: null,
|
|
11
|
+
italic: null,
|
|
12
|
+
fontSize: null,
|
|
13
|
+
textColor: null,
|
|
14
|
+
slidesLabel: null,
|
|
15
|
+
addSlide: null,
|
|
16
|
+
deleteSlide: null,
|
|
17
|
+
objectsLabel: null,
|
|
18
|
+
addTextBox: null
|
|
19
|
+
},
|
|
20
|
+
slides: {
|
|
21
|
+
panelLabel: null,
|
|
22
|
+
fallbackTitle: null,
|
|
23
|
+
canvasLabel: null,
|
|
24
|
+
canvasLabelWithSelection: null
|
|
25
|
+
},
|
|
26
|
+
editor: {
|
|
27
|
+
appLabel: null,
|
|
28
|
+
opening: null,
|
|
29
|
+
noSlides: null,
|
|
30
|
+
openPrompt: null
|
|
31
|
+
},
|
|
32
|
+
objects: {
|
|
33
|
+
defaultTextBoxName: null
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
decodeSlideImage: null
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// src/tr.ts
|
|
41
|
+
var tr = tr_default;
|
|
42
|
+
var tr_default2 = tr;
|
|
43
|
+
export {
|
|
44
|
+
tr_default2 as default,
|
|
45
|
+
tr
|
|
46
|
+
};
|
package/dist/zh-CN.d.mts
ADDED
package/dist/zh-CN.mjs
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// zh-CN.json
|
|
2
|
+
var zh_CN_default = {
|
|
3
|
+
_lang: "zh-CN",
|
|
4
|
+
toolbar: {
|
|
5
|
+
label: null,
|
|
6
|
+
historyLabel: null,
|
|
7
|
+
undo: null,
|
|
8
|
+
redo: null,
|
|
9
|
+
textFormattingLabel: null,
|
|
10
|
+
bold: null,
|
|
11
|
+
italic: null,
|
|
12
|
+
fontSize: null,
|
|
13
|
+
textColor: null,
|
|
14
|
+
slidesLabel: null,
|
|
15
|
+
addSlide: null,
|
|
16
|
+
deleteSlide: null,
|
|
17
|
+
objectsLabel: null,
|
|
18
|
+
addTextBox: null
|
|
19
|
+
},
|
|
20
|
+
slides: {
|
|
21
|
+
panelLabel: null,
|
|
22
|
+
fallbackTitle: null,
|
|
23
|
+
canvasLabel: null,
|
|
24
|
+
canvasLabelWithSelection: null
|
|
25
|
+
},
|
|
26
|
+
editor: {
|
|
27
|
+
appLabel: null,
|
|
28
|
+
opening: null,
|
|
29
|
+
noSlides: null,
|
|
30
|
+
openPrompt: null
|
|
31
|
+
},
|
|
32
|
+
objects: {
|
|
33
|
+
defaultTextBoxName: null
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
decodeSlideImage: null
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
// src/zh-CN.ts
|
|
41
|
+
var zhCN = zh_CN_default;
|
|
42
|
+
var zh_CN_default2 = zhCN;
|
|
43
|
+
export {
|
|
44
|
+
zh_CN_default2 as default,
|
|
45
|
+
zhCN
|
|
46
|
+
};
|