@betteroffice/pptx-i18n 0.2.0 → 0.5.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 +1 -1
- package/README.md +31 -20
- package/dist/de.mjs +34 -2
- package/dist/en.mjs +34 -2
- package/dist/fr.mjs +34 -2
- package/dist/he.mjs +34 -2
- package/dist/hi.mjs +34 -2
- package/dist/id.mjs +34 -2
- package/dist/index.d.mts +36 -0
- package/dist/index.mjs +340 -20
- package/dist/pl.mjs +34 -2
- package/dist/pt-BR.mjs +34 -2
- package/dist/tr.mjs +34 -2
- package/dist/zh-CN.mjs +34 -2
- package/package.json +4 -1
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2026 The OpenOOXML
|
|
189
|
+
Copyright 2026 Elia Hilse, The OpenOOXML Project
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# @betteroffice/pptx-i18n
|
|
2
2
|
|
|
3
|
-
UI
|
|
4
|
-
[`@betteroffice/pptx-react`](https://www.npmjs.com/package/@betteroffice/pptx-react)
|
|
5
|
-
|
|
3
|
+
UI strings, locale types and translation helpers for the
|
|
4
|
+
[`@betteroffice/pptx-react`](https://www.npmjs.com/package/@betteroffice/pptx-react) editor. `en` defines
|
|
5
|
+
the strings; the other locales override them.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
10
|
bun add @betteroffice/pptx-i18n
|
|
@@ -10,39 +12,48 @@ bun add @betteroffice/pptx-i18n
|
|
|
10
12
|
|
|
11
13
|
## Usage
|
|
12
14
|
|
|
13
|
-
Pass a
|
|
15
|
+
Pass a locale to the editor's `i18n` prop:
|
|
14
16
|
|
|
15
17
|
```tsx
|
|
16
18
|
import { de } from '@betteroffice/pptx-i18n';
|
|
17
|
-
import { PptxEditor } from '@betteroffice/pptx-react';
|
|
19
|
+
import { PptxEditor, type PptxAsyncEditorProps } from '@betteroffice/pptx-react';
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
export function Editor({ file, fonts }: Pick<PptxAsyncEditorProps, 'file' | 'fonts'>) {
|
|
22
|
+
return <PptxEditor file={file} fonts={fonts} i18n={de} />;
|
|
23
|
+
}
|
|
20
24
|
```
|
|
21
25
|
|
|
22
|
-
Keys
|
|
26
|
+
Override individual strings by spreading a locale. Keys that are missing or `null` fall back to
|
|
27
|
+
English.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
const custom = { ...de, toolbar: { ...de.toolbar, addSlide: 'Neue Folie' } };
|
|
31
|
+
```
|
|
23
32
|
|
|
24
33
|
## Locales
|
|
25
34
|
|
|
26
|
-
`en` (source), `de`, `fr`, `he`, `hi`, `id`, `pl`, `pt-BR`, `tr
|
|
27
|
-
|
|
35
|
+
`en` (source), `de`, `fr`, `he`, `hi`, `id`, `pl`, `pt-BR`, `tr` and `zh-CN`. The
|
|
36
|
+
exports for `pt-BR` and `zh-CN` are `ptBR` and `zhCN`.
|
|
28
37
|
|
|
29
|
-
Each locale also
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
every locale into the bundle).
|
|
38
|
+
Each locale is also its own subpath, for example `@betteroffice/pptx-i18n/pl`, so an app that picks
|
|
39
|
+
the locale at runtime can load only the one it needs. `locales` maps every tag to its strings and
|
|
40
|
+
bundles all of them.
|
|
33
41
|
|
|
34
|
-
##
|
|
42
|
+
## Helpers
|
|
35
43
|
|
|
36
|
-
The package exports `LocaleStrings`, `PartialLocaleStrings`, `Translations`,
|
|
37
|
-
`TranslationKey`, `LocaleCode
|
|
38
|
-
|
|
44
|
+
The package exports the types `LocaleStrings`, `PartialLocaleStrings`, `Translations`,
|
|
45
|
+
`TranslationKey`, `LocaleCode` and `TFunction`, and the functions `createT` and `deepMerge`.
|
|
46
|
+
Outside React, build a typed `t()` directly:
|
|
39
47
|
|
|
40
48
|
```ts
|
|
41
49
|
import { createT, deepMerge, en, de, type LocaleStrings } from '@betteroffice/pptx-i18n';
|
|
42
50
|
|
|
43
51
|
const t = createT(deepMerge(en, de) as LocaleStrings, 'de');
|
|
44
|
-
t('toolbar.addSlide');
|
|
52
|
+
t('toolbar.addSlide'); // 'Add slide'
|
|
45
53
|
```
|
|
46
54
|
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
## Documentation
|
|
56
|
+
|
|
57
|
+
- [JavaScript guide](https://docs.betteroffice.dev/docs/javascript)
|
|
58
|
+
- [`@betteroffice/pptx-react`](https://www.npmjs.com/package/@betteroffice/pptx-react)
|
|
59
|
+
- [Changelog](https://github.com/openooxml/betteroffice/blob/main/packages/pptx-i18n/CHANGELOG.md)
|
package/dist/de.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// de.json
|
|
2
2
|
var de_default = {
|
|
3
3
|
_lang: "de",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Editor wird vorbereitet. Die Bearbeitung ist in Kürze verfügbar.",
|
|
7
|
+
failed: "Die Bearbeitung ist nicht verfügbar. Laden Sie die wiederhergestellte Präsentation herunter.",
|
|
8
|
+
disabled: "Diese Funktion ist in diesem Bearbeitungsmodus nicht verfügbar.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Speichern",
|
|
@@ -99,11 +107,32 @@ var de_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Präsentation",
|
|
@@ -201,6 +230,9 @@ var de_default = {
|
|
|
201
230
|
panelTabs: "Plugin-Bereiche",
|
|
202
231
|
collapsePanel: "{title} einklappen",
|
|
203
232
|
expandPanel: "{title} ausklappen"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/en.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// en.json
|
|
2
2
|
var en_default = {
|
|
3
3
|
_lang: "en",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: "Download previous presentation recovery",
|
|
6
|
+
preparing: "Preparing editor. Editing will be available shortly.",
|
|
7
|
+
failed: "Editing is unavailable. Download the recovered presentation.",
|
|
8
|
+
disabled: "This feature is unavailable in this editing mode.",
|
|
9
|
+
recovery: "Download recovered presentation",
|
|
10
|
+
image: "Preparing image"
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: "Presentation formatting toolbar",
|
|
6
14
|
save: "Save",
|
|
@@ -99,11 +107,32 @@ var en_default = {
|
|
|
99
107
|
appLabel: "Presentation slide editor",
|
|
100
108
|
opening: "Opening presentation…",
|
|
101
109
|
noSlides: "No slides",
|
|
102
|
-
openPrompt: "Open a PPTX file"
|
|
110
|
+
openPrompt: "Open a PPTX file",
|
|
111
|
+
textInput: "Slide text",
|
|
112
|
+
selectionAnnouncement: "Text selected",
|
|
113
|
+
openError: "Couldn't open this presentation",
|
|
114
|
+
openErrorDescription: "The file may be damaged, or it uses something this editor can't read yet.",
|
|
115
|
+
stoppedError: "The editor ran into a problem",
|
|
116
|
+
stoppedErrorDescription: "Editing is unavailable. Download the recovered presentation to keep your changes.",
|
|
117
|
+
loadError: "The editor couldn't load",
|
|
118
|
+
loadErrorDescription: "Check your connection, then reload the page.",
|
|
119
|
+
reloadPage: "Reload page",
|
|
120
|
+
showDetails: "Show details"
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: "Text Box",
|
|
106
|
-
defaultPictureName: "Picture"
|
|
124
|
+
defaultPictureName: "Picture",
|
|
125
|
+
insertPicture: "Insert picture",
|
|
126
|
+
resize: {
|
|
127
|
+
nw: "Resize top left",
|
|
128
|
+
n: "Resize top",
|
|
129
|
+
ne: "Resize top right",
|
|
130
|
+
e: "Resize right",
|
|
131
|
+
se: "Resize bottom right",
|
|
132
|
+
s: "Resize bottom",
|
|
133
|
+
sw: "Resize bottom left",
|
|
134
|
+
w: "Resize left"
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Slide presentation",
|
|
@@ -201,6 +230,9 @@ var en_default = {
|
|
|
201
230
|
panelTabs: "Plugin panels",
|
|
202
231
|
collapsePanel: "Collapse {title}",
|
|
203
232
|
expandPanel: "Expand {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: "Collaborators"
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/fr.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// fr.json
|
|
2
2
|
var fr_default = {
|
|
3
3
|
_lang: "fr",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Préparation de l’éditeur. La modification sera bientôt disponible.",
|
|
7
|
+
failed: "La modification est indisponible. Téléchargez la présentation récupérée.",
|
|
8
|
+
disabled: "Cette fonctionnalité est indisponible dans ce mode de modification.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Enregistrer",
|
|
@@ -99,11 +107,32 @@ var fr_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Présentation",
|
|
@@ -201,6 +230,9 @@ var fr_default = {
|
|
|
201
230
|
panelTabs: "Panneaux des plugins",
|
|
202
231
|
collapsePanel: "Réduire {title}",
|
|
203
232
|
expandPanel: "Développer {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/he.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// he.json
|
|
2
2
|
var he_default = {
|
|
3
3
|
_lang: "he",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "העורך בהכנה. העריכה תהיה זמינה בקרוב.",
|
|
7
|
+
failed: "העריכה אינה זמינה. הורידו את המצגת ששוחזרה.",
|
|
8
|
+
disabled: "תכונה זו אינה זמינה במצב עריכה זה.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "שמירה",
|
|
@@ -99,11 +107,32 @@ var he_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "הצגת שקופיות",
|
|
@@ -201,6 +230,9 @@ var he_default = {
|
|
|
201
230
|
panelTabs: "חלוניות תוספים",
|
|
202
231
|
collapsePanel: "כווץ את {title}",
|
|
203
232
|
expandPanel: "הרחב את {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/hi.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// hi.json
|
|
2
2
|
var hi_default = {
|
|
3
3
|
_lang: "hi",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "संपादक तैयार किया जा रहा है। संपादन जल्द ही उपलब्ध होगा।",
|
|
7
|
+
failed: "संपादन उपलब्ध नहीं है। पुनर्प्राप्त प्रस्तुति डाउनलोड करें।",
|
|
8
|
+
disabled: "यह सुविधा इस संपादन मोड में उपलब्ध नहीं है।",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "सहेजें",
|
|
@@ -99,11 +107,32 @@ var hi_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "स्लाइड प्रस्तुति",
|
|
@@ -201,6 +230,9 @@ var hi_default = {
|
|
|
201
230
|
panelTabs: "प्लगइन पैनल",
|
|
202
231
|
collapsePanel: "{title} संक्षिप्त करें",
|
|
203
232
|
expandPanel: "{title} विस्तृत करें"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/id.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// id.json
|
|
2
2
|
var id_default = {
|
|
3
3
|
_lang: "id",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Menyiapkan editor. Pengeditan akan segera tersedia.",
|
|
7
|
+
failed: "Pengeditan tidak tersedia. Unduh presentasi yang dipulihkan.",
|
|
8
|
+
disabled: "Fitur ini tidak tersedia dalam mode pengeditan ini.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Simpan",
|
|
@@ -99,11 +107,32 @@ var id_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Presentasi slide",
|
|
@@ -201,6 +230,9 @@ var id_default = {
|
|
|
201
230
|
panelTabs: "Panel plugin",
|
|
202
231
|
collapsePanel: "Ciutkan {title}",
|
|
203
232
|
expandPanel: "Luaskan {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/index.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ type LocaleStrings = typeof en;
|
|
|
8
8
|
type LocaleCode = 'en' | 'de' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
|
|
9
9
|
declare const en: {
|
|
10
10
|
_lang: string;
|
|
11
|
+
worker: {
|
|
12
|
+
previousRecovery: string;
|
|
13
|
+
preparing: string;
|
|
14
|
+
failed: string;
|
|
15
|
+
disabled: string;
|
|
16
|
+
recovery: string;
|
|
17
|
+
image: string;
|
|
18
|
+
};
|
|
11
19
|
toolbar: {
|
|
12
20
|
label: string;
|
|
13
21
|
save: string;
|
|
@@ -107,10 +115,31 @@ declare const en: {
|
|
|
107
115
|
opening: string;
|
|
108
116
|
noSlides: string;
|
|
109
117
|
openPrompt: string;
|
|
118
|
+
textInput: string;
|
|
119
|
+
selectionAnnouncement: string;
|
|
120
|
+
openError: string;
|
|
121
|
+
openErrorDescription: string;
|
|
122
|
+
stoppedError: string;
|
|
123
|
+
stoppedErrorDescription: string;
|
|
124
|
+
loadError: string;
|
|
125
|
+
loadErrorDescription: string;
|
|
126
|
+
reloadPage: string;
|
|
127
|
+
showDetails: string;
|
|
110
128
|
};
|
|
111
129
|
objects: {
|
|
112
130
|
defaultTextBoxName: string;
|
|
113
131
|
defaultPictureName: string;
|
|
132
|
+
insertPicture: string;
|
|
133
|
+
resize: {
|
|
134
|
+
nw: string;
|
|
135
|
+
n: string;
|
|
136
|
+
ne: string;
|
|
137
|
+
e: string;
|
|
138
|
+
se: string;
|
|
139
|
+
s: string;
|
|
140
|
+
sw: string;
|
|
141
|
+
w: string;
|
|
142
|
+
};
|
|
114
143
|
};
|
|
115
144
|
presentation: {
|
|
116
145
|
label: string;
|
|
@@ -209,6 +238,9 @@ declare const en: {
|
|
|
209
238
|
collapsePanel: string;
|
|
210
239
|
expandPanel: string;
|
|
211
240
|
};
|
|
241
|
+
presence: {
|
|
242
|
+
label: string;
|
|
243
|
+
};
|
|
212
244
|
};
|
|
213
245
|
declare const de: PartialLocaleStrings;
|
|
214
246
|
declare const fr: PartialLocaleStrings;
|
|
@@ -225,6 +257,10 @@ type DeepPartial<T> = {
|
|
|
225
257
|
};
|
|
226
258
|
type PartialLocaleStrings = DeepPartial<LocaleStrings> & {
|
|
227
259
|
_lang?: LocaleCode | (string & {});
|
|
260
|
+
editor?: DeepPartial<LocaleStrings['editor']> & {
|
|
261
|
+
textInput?: string | null;
|
|
262
|
+
selectionAnnouncement?: string | null;
|
|
263
|
+
};
|
|
228
264
|
};
|
|
229
265
|
type Translations = PartialLocaleStrings;
|
|
230
266
|
type DotPath<T, Prefix extends string = ''> = {
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// en.json
|
|
2
2
|
var en_default = {
|
|
3
3
|
_lang: "en",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: "Download previous presentation recovery",
|
|
6
|
+
preparing: "Preparing editor. Editing will be available shortly.",
|
|
7
|
+
failed: "Editing is unavailable. Download the recovered presentation.",
|
|
8
|
+
disabled: "This feature is unavailable in this editing mode.",
|
|
9
|
+
recovery: "Download recovered presentation",
|
|
10
|
+
image: "Preparing image"
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: "Presentation formatting toolbar",
|
|
6
14
|
save: "Save",
|
|
@@ -99,11 +107,32 @@ var en_default = {
|
|
|
99
107
|
appLabel: "Presentation slide editor",
|
|
100
108
|
opening: "Opening presentation…",
|
|
101
109
|
noSlides: "No slides",
|
|
102
|
-
openPrompt: "Open a PPTX file"
|
|
110
|
+
openPrompt: "Open a PPTX file",
|
|
111
|
+
textInput: "Slide text",
|
|
112
|
+
selectionAnnouncement: "Text selected",
|
|
113
|
+
openError: "Couldn't open this presentation",
|
|
114
|
+
openErrorDescription: "The file may be damaged, or it uses something this editor can't read yet.",
|
|
115
|
+
stoppedError: "The editor ran into a problem",
|
|
116
|
+
stoppedErrorDescription: "Editing is unavailable. Download the recovered presentation to keep your changes.",
|
|
117
|
+
loadError: "The editor couldn't load",
|
|
118
|
+
loadErrorDescription: "Check your connection, then reload the page.",
|
|
119
|
+
reloadPage: "Reload page",
|
|
120
|
+
showDetails: "Show details"
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: "Text Box",
|
|
106
|
-
defaultPictureName: "Picture"
|
|
124
|
+
defaultPictureName: "Picture",
|
|
125
|
+
insertPicture: "Insert picture",
|
|
126
|
+
resize: {
|
|
127
|
+
nw: "Resize top left",
|
|
128
|
+
n: "Resize top",
|
|
129
|
+
ne: "Resize top right",
|
|
130
|
+
e: "Resize right",
|
|
131
|
+
se: "Resize bottom right",
|
|
132
|
+
s: "Resize bottom",
|
|
133
|
+
sw: "Resize bottom left",
|
|
134
|
+
w: "Resize left"
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Slide presentation",
|
|
@@ -201,12 +230,23 @@ var en_default = {
|
|
|
201
230
|
panelTabs: "Plugin panels",
|
|
202
231
|
collapsePanel: "Collapse {title}",
|
|
203
232
|
expandPanel: "Expand {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: "Collaborators"
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
|
207
239
|
// de.json
|
|
208
240
|
var de_default = {
|
|
209
241
|
_lang: "de",
|
|
242
|
+
worker: {
|
|
243
|
+
previousRecovery: null,
|
|
244
|
+
preparing: "Editor wird vorbereitet. Die Bearbeitung ist in Kürze verfügbar.",
|
|
245
|
+
failed: "Die Bearbeitung ist nicht verfügbar. Laden Sie die wiederhergestellte Präsentation herunter.",
|
|
246
|
+
disabled: "Diese Funktion ist in diesem Bearbeitungsmodus nicht verfügbar.",
|
|
247
|
+
recovery: null,
|
|
248
|
+
image: null
|
|
249
|
+
},
|
|
210
250
|
toolbar: {
|
|
211
251
|
label: null,
|
|
212
252
|
save: "Speichern",
|
|
@@ -305,11 +345,32 @@ var de_default = {
|
|
|
305
345
|
appLabel: null,
|
|
306
346
|
opening: null,
|
|
307
347
|
noSlides: null,
|
|
308
|
-
openPrompt: null
|
|
348
|
+
openPrompt: null,
|
|
349
|
+
textInput: null,
|
|
350
|
+
selectionAnnouncement: null,
|
|
351
|
+
openError: null,
|
|
352
|
+
openErrorDescription: null,
|
|
353
|
+
stoppedError: null,
|
|
354
|
+
stoppedErrorDescription: null,
|
|
355
|
+
loadError: null,
|
|
356
|
+
loadErrorDescription: null,
|
|
357
|
+
reloadPage: null,
|
|
358
|
+
showDetails: null
|
|
309
359
|
},
|
|
310
360
|
objects: {
|
|
311
361
|
defaultTextBoxName: null,
|
|
312
|
-
defaultPictureName: null
|
|
362
|
+
defaultPictureName: null,
|
|
363
|
+
insertPicture: null,
|
|
364
|
+
resize: {
|
|
365
|
+
nw: null,
|
|
366
|
+
n: null,
|
|
367
|
+
ne: null,
|
|
368
|
+
e: null,
|
|
369
|
+
se: null,
|
|
370
|
+
s: null,
|
|
371
|
+
sw: null,
|
|
372
|
+
w: null
|
|
373
|
+
}
|
|
313
374
|
},
|
|
314
375
|
presentation: {
|
|
315
376
|
label: "Präsentation",
|
|
@@ -407,12 +468,23 @@ var de_default = {
|
|
|
407
468
|
panelTabs: "Plugin-Bereiche",
|
|
408
469
|
collapsePanel: "{title} einklappen",
|
|
409
470
|
expandPanel: "{title} ausklappen"
|
|
471
|
+
},
|
|
472
|
+
presence: {
|
|
473
|
+
label: null
|
|
410
474
|
}
|
|
411
475
|
};
|
|
412
476
|
|
|
413
477
|
// fr.json
|
|
414
478
|
var fr_default = {
|
|
415
479
|
_lang: "fr",
|
|
480
|
+
worker: {
|
|
481
|
+
previousRecovery: null,
|
|
482
|
+
preparing: "Préparation de l’éditeur. La modification sera bientôt disponible.",
|
|
483
|
+
failed: "La modification est indisponible. Téléchargez la présentation récupérée.",
|
|
484
|
+
disabled: "Cette fonctionnalité est indisponible dans ce mode de modification.",
|
|
485
|
+
recovery: null,
|
|
486
|
+
image: null
|
|
487
|
+
},
|
|
416
488
|
toolbar: {
|
|
417
489
|
label: null,
|
|
418
490
|
save: "Enregistrer",
|
|
@@ -511,11 +583,32 @@ var fr_default = {
|
|
|
511
583
|
appLabel: null,
|
|
512
584
|
opening: null,
|
|
513
585
|
noSlides: null,
|
|
514
|
-
openPrompt: null
|
|
586
|
+
openPrompt: null,
|
|
587
|
+
textInput: null,
|
|
588
|
+
selectionAnnouncement: null,
|
|
589
|
+
openError: null,
|
|
590
|
+
openErrorDescription: null,
|
|
591
|
+
stoppedError: null,
|
|
592
|
+
stoppedErrorDescription: null,
|
|
593
|
+
loadError: null,
|
|
594
|
+
loadErrorDescription: null,
|
|
595
|
+
reloadPage: null,
|
|
596
|
+
showDetails: null
|
|
515
597
|
},
|
|
516
598
|
objects: {
|
|
517
599
|
defaultTextBoxName: null,
|
|
518
|
-
defaultPictureName: null
|
|
600
|
+
defaultPictureName: null,
|
|
601
|
+
insertPicture: null,
|
|
602
|
+
resize: {
|
|
603
|
+
nw: null,
|
|
604
|
+
n: null,
|
|
605
|
+
ne: null,
|
|
606
|
+
e: null,
|
|
607
|
+
se: null,
|
|
608
|
+
s: null,
|
|
609
|
+
sw: null,
|
|
610
|
+
w: null
|
|
611
|
+
}
|
|
519
612
|
},
|
|
520
613
|
presentation: {
|
|
521
614
|
label: "Présentation",
|
|
@@ -613,12 +706,23 @@ var fr_default = {
|
|
|
613
706
|
panelTabs: "Panneaux des plugins",
|
|
614
707
|
collapsePanel: "Réduire {title}",
|
|
615
708
|
expandPanel: "Développer {title}"
|
|
709
|
+
},
|
|
710
|
+
presence: {
|
|
711
|
+
label: null
|
|
616
712
|
}
|
|
617
713
|
};
|
|
618
714
|
|
|
619
715
|
// he.json
|
|
620
716
|
var he_default = {
|
|
621
717
|
_lang: "he",
|
|
718
|
+
worker: {
|
|
719
|
+
previousRecovery: null,
|
|
720
|
+
preparing: "העורך בהכנה. העריכה תהיה זמינה בקרוב.",
|
|
721
|
+
failed: "העריכה אינה זמינה. הורידו את המצגת ששוחזרה.",
|
|
722
|
+
disabled: "תכונה זו אינה זמינה במצב עריכה זה.",
|
|
723
|
+
recovery: null,
|
|
724
|
+
image: null
|
|
725
|
+
},
|
|
622
726
|
toolbar: {
|
|
623
727
|
label: null,
|
|
624
728
|
save: "שמירה",
|
|
@@ -717,11 +821,32 @@ var he_default = {
|
|
|
717
821
|
appLabel: null,
|
|
718
822
|
opening: null,
|
|
719
823
|
noSlides: null,
|
|
720
|
-
openPrompt: null
|
|
824
|
+
openPrompt: null,
|
|
825
|
+
textInput: null,
|
|
826
|
+
selectionAnnouncement: null,
|
|
827
|
+
openError: null,
|
|
828
|
+
openErrorDescription: null,
|
|
829
|
+
stoppedError: null,
|
|
830
|
+
stoppedErrorDescription: null,
|
|
831
|
+
loadError: null,
|
|
832
|
+
loadErrorDescription: null,
|
|
833
|
+
reloadPage: null,
|
|
834
|
+
showDetails: null
|
|
721
835
|
},
|
|
722
836
|
objects: {
|
|
723
837
|
defaultTextBoxName: null,
|
|
724
|
-
defaultPictureName: null
|
|
838
|
+
defaultPictureName: null,
|
|
839
|
+
insertPicture: null,
|
|
840
|
+
resize: {
|
|
841
|
+
nw: null,
|
|
842
|
+
n: null,
|
|
843
|
+
ne: null,
|
|
844
|
+
e: null,
|
|
845
|
+
se: null,
|
|
846
|
+
s: null,
|
|
847
|
+
sw: null,
|
|
848
|
+
w: null
|
|
849
|
+
}
|
|
725
850
|
},
|
|
726
851
|
presentation: {
|
|
727
852
|
label: "הצגת שקופיות",
|
|
@@ -819,12 +944,23 @@ var he_default = {
|
|
|
819
944
|
panelTabs: "חלוניות תוספים",
|
|
820
945
|
collapsePanel: "כווץ את {title}",
|
|
821
946
|
expandPanel: "הרחב את {title}"
|
|
947
|
+
},
|
|
948
|
+
presence: {
|
|
949
|
+
label: null
|
|
822
950
|
}
|
|
823
951
|
};
|
|
824
952
|
|
|
825
953
|
// hi.json
|
|
826
954
|
var hi_default = {
|
|
827
955
|
_lang: "hi",
|
|
956
|
+
worker: {
|
|
957
|
+
previousRecovery: null,
|
|
958
|
+
preparing: "संपादक तैयार किया जा रहा है। संपादन जल्द ही उपलब्ध होगा।",
|
|
959
|
+
failed: "संपादन उपलब्ध नहीं है। पुनर्प्राप्त प्रस्तुति डाउनलोड करें।",
|
|
960
|
+
disabled: "यह सुविधा इस संपादन मोड में उपलब्ध नहीं है।",
|
|
961
|
+
recovery: null,
|
|
962
|
+
image: null
|
|
963
|
+
},
|
|
828
964
|
toolbar: {
|
|
829
965
|
label: null,
|
|
830
966
|
save: "सहेजें",
|
|
@@ -923,11 +1059,32 @@ var hi_default = {
|
|
|
923
1059
|
appLabel: null,
|
|
924
1060
|
opening: null,
|
|
925
1061
|
noSlides: null,
|
|
926
|
-
openPrompt: null
|
|
1062
|
+
openPrompt: null,
|
|
1063
|
+
textInput: null,
|
|
1064
|
+
selectionAnnouncement: null,
|
|
1065
|
+
openError: null,
|
|
1066
|
+
openErrorDescription: null,
|
|
1067
|
+
stoppedError: null,
|
|
1068
|
+
stoppedErrorDescription: null,
|
|
1069
|
+
loadError: null,
|
|
1070
|
+
loadErrorDescription: null,
|
|
1071
|
+
reloadPage: null,
|
|
1072
|
+
showDetails: null
|
|
927
1073
|
},
|
|
928
1074
|
objects: {
|
|
929
1075
|
defaultTextBoxName: null,
|
|
930
|
-
defaultPictureName: null
|
|
1076
|
+
defaultPictureName: null,
|
|
1077
|
+
insertPicture: null,
|
|
1078
|
+
resize: {
|
|
1079
|
+
nw: null,
|
|
1080
|
+
n: null,
|
|
1081
|
+
ne: null,
|
|
1082
|
+
e: null,
|
|
1083
|
+
se: null,
|
|
1084
|
+
s: null,
|
|
1085
|
+
sw: null,
|
|
1086
|
+
w: null
|
|
1087
|
+
}
|
|
931
1088
|
},
|
|
932
1089
|
presentation: {
|
|
933
1090
|
label: "स्लाइड प्रस्तुति",
|
|
@@ -1025,12 +1182,23 @@ var hi_default = {
|
|
|
1025
1182
|
panelTabs: "प्लगइन पैनल",
|
|
1026
1183
|
collapsePanel: "{title} संक्षिप्त करें",
|
|
1027
1184
|
expandPanel: "{title} विस्तृत करें"
|
|
1185
|
+
},
|
|
1186
|
+
presence: {
|
|
1187
|
+
label: null
|
|
1028
1188
|
}
|
|
1029
1189
|
};
|
|
1030
1190
|
|
|
1031
1191
|
// id.json
|
|
1032
1192
|
var id_default = {
|
|
1033
1193
|
_lang: "id",
|
|
1194
|
+
worker: {
|
|
1195
|
+
previousRecovery: null,
|
|
1196
|
+
preparing: "Menyiapkan editor. Pengeditan akan segera tersedia.",
|
|
1197
|
+
failed: "Pengeditan tidak tersedia. Unduh presentasi yang dipulihkan.",
|
|
1198
|
+
disabled: "Fitur ini tidak tersedia dalam mode pengeditan ini.",
|
|
1199
|
+
recovery: null,
|
|
1200
|
+
image: null
|
|
1201
|
+
},
|
|
1034
1202
|
toolbar: {
|
|
1035
1203
|
label: null,
|
|
1036
1204
|
save: "Simpan",
|
|
@@ -1129,11 +1297,32 @@ var id_default = {
|
|
|
1129
1297
|
appLabel: null,
|
|
1130
1298
|
opening: null,
|
|
1131
1299
|
noSlides: null,
|
|
1132
|
-
openPrompt: null
|
|
1300
|
+
openPrompt: null,
|
|
1301
|
+
textInput: null,
|
|
1302
|
+
selectionAnnouncement: null,
|
|
1303
|
+
openError: null,
|
|
1304
|
+
openErrorDescription: null,
|
|
1305
|
+
stoppedError: null,
|
|
1306
|
+
stoppedErrorDescription: null,
|
|
1307
|
+
loadError: null,
|
|
1308
|
+
loadErrorDescription: null,
|
|
1309
|
+
reloadPage: null,
|
|
1310
|
+
showDetails: null
|
|
1133
1311
|
},
|
|
1134
1312
|
objects: {
|
|
1135
1313
|
defaultTextBoxName: null,
|
|
1136
|
-
defaultPictureName: null
|
|
1314
|
+
defaultPictureName: null,
|
|
1315
|
+
insertPicture: null,
|
|
1316
|
+
resize: {
|
|
1317
|
+
nw: null,
|
|
1318
|
+
n: null,
|
|
1319
|
+
ne: null,
|
|
1320
|
+
e: null,
|
|
1321
|
+
se: null,
|
|
1322
|
+
s: null,
|
|
1323
|
+
sw: null,
|
|
1324
|
+
w: null
|
|
1325
|
+
}
|
|
1137
1326
|
},
|
|
1138
1327
|
presentation: {
|
|
1139
1328
|
label: "Presentasi slide",
|
|
@@ -1231,12 +1420,23 @@ var id_default = {
|
|
|
1231
1420
|
panelTabs: "Panel plugin",
|
|
1232
1421
|
collapsePanel: "Ciutkan {title}",
|
|
1233
1422
|
expandPanel: "Luaskan {title}"
|
|
1423
|
+
},
|
|
1424
|
+
presence: {
|
|
1425
|
+
label: null
|
|
1234
1426
|
}
|
|
1235
1427
|
};
|
|
1236
1428
|
|
|
1237
1429
|
// pl.json
|
|
1238
1430
|
var pl_default = {
|
|
1239
1431
|
_lang: "pl",
|
|
1432
|
+
worker: {
|
|
1433
|
+
previousRecovery: null,
|
|
1434
|
+
preparing: "Przygotowywanie edytora. Edycja będzie wkrótce dostępna.",
|
|
1435
|
+
failed: "Edycja jest niedostępna. Pobierz odzyskaną prezentację.",
|
|
1436
|
+
disabled: "Ta funkcja jest niedostępna w tym trybie edycji.",
|
|
1437
|
+
recovery: null,
|
|
1438
|
+
image: null
|
|
1439
|
+
},
|
|
1240
1440
|
toolbar: {
|
|
1241
1441
|
label: null,
|
|
1242
1442
|
save: "Zapisz",
|
|
@@ -1335,11 +1535,32 @@ var pl_default = {
|
|
|
1335
1535
|
appLabel: null,
|
|
1336
1536
|
opening: null,
|
|
1337
1537
|
noSlides: null,
|
|
1338
|
-
openPrompt: null
|
|
1538
|
+
openPrompt: null,
|
|
1539
|
+
textInput: null,
|
|
1540
|
+
selectionAnnouncement: null,
|
|
1541
|
+
openError: null,
|
|
1542
|
+
openErrorDescription: null,
|
|
1543
|
+
stoppedError: null,
|
|
1544
|
+
stoppedErrorDescription: null,
|
|
1545
|
+
loadError: null,
|
|
1546
|
+
loadErrorDescription: null,
|
|
1547
|
+
reloadPage: null,
|
|
1548
|
+
showDetails: null
|
|
1339
1549
|
},
|
|
1340
1550
|
objects: {
|
|
1341
1551
|
defaultTextBoxName: null,
|
|
1342
|
-
defaultPictureName: null
|
|
1552
|
+
defaultPictureName: null,
|
|
1553
|
+
insertPicture: null,
|
|
1554
|
+
resize: {
|
|
1555
|
+
nw: null,
|
|
1556
|
+
n: null,
|
|
1557
|
+
ne: null,
|
|
1558
|
+
e: null,
|
|
1559
|
+
se: null,
|
|
1560
|
+
s: null,
|
|
1561
|
+
sw: null,
|
|
1562
|
+
w: null
|
|
1563
|
+
}
|
|
1343
1564
|
},
|
|
1344
1565
|
presentation: {
|
|
1345
1566
|
label: "Prezentacja slajdów",
|
|
@@ -1437,12 +1658,23 @@ var pl_default = {
|
|
|
1437
1658
|
panelTabs: "Panele wtyczek",
|
|
1438
1659
|
collapsePanel: "Zwiń {title}",
|
|
1439
1660
|
expandPanel: "Rozwiń {title}"
|
|
1661
|
+
},
|
|
1662
|
+
presence: {
|
|
1663
|
+
label: null
|
|
1440
1664
|
}
|
|
1441
1665
|
};
|
|
1442
1666
|
|
|
1443
1667
|
// pt-BR.json
|
|
1444
1668
|
var pt_BR_default = {
|
|
1445
1669
|
_lang: "pt-BR",
|
|
1670
|
+
worker: {
|
|
1671
|
+
previousRecovery: null,
|
|
1672
|
+
preparing: "Preparando o editor. A edição estará disponível em breve.",
|
|
1673
|
+
failed: "A edição está indisponível. Baixe a apresentação recuperada.",
|
|
1674
|
+
disabled: "Este recurso está indisponível neste modo de edição.",
|
|
1675
|
+
recovery: null,
|
|
1676
|
+
image: null
|
|
1677
|
+
},
|
|
1446
1678
|
toolbar: {
|
|
1447
1679
|
label: null,
|
|
1448
1680
|
save: "Salvar",
|
|
@@ -1541,11 +1773,32 @@ var pt_BR_default = {
|
|
|
1541
1773
|
appLabel: null,
|
|
1542
1774
|
opening: null,
|
|
1543
1775
|
noSlides: null,
|
|
1544
|
-
openPrompt: null
|
|
1776
|
+
openPrompt: null,
|
|
1777
|
+
textInput: null,
|
|
1778
|
+
selectionAnnouncement: null,
|
|
1779
|
+
openError: null,
|
|
1780
|
+
openErrorDescription: null,
|
|
1781
|
+
stoppedError: null,
|
|
1782
|
+
stoppedErrorDescription: null,
|
|
1783
|
+
loadError: null,
|
|
1784
|
+
loadErrorDescription: null,
|
|
1785
|
+
reloadPage: null,
|
|
1786
|
+
showDetails: null
|
|
1545
1787
|
},
|
|
1546
1788
|
objects: {
|
|
1547
1789
|
defaultTextBoxName: null,
|
|
1548
|
-
defaultPictureName: null
|
|
1790
|
+
defaultPictureName: null,
|
|
1791
|
+
insertPicture: null,
|
|
1792
|
+
resize: {
|
|
1793
|
+
nw: null,
|
|
1794
|
+
n: null,
|
|
1795
|
+
ne: null,
|
|
1796
|
+
e: null,
|
|
1797
|
+
se: null,
|
|
1798
|
+
s: null,
|
|
1799
|
+
sw: null,
|
|
1800
|
+
w: null
|
|
1801
|
+
}
|
|
1549
1802
|
},
|
|
1550
1803
|
presentation: {
|
|
1551
1804
|
label: "Apresentação de slides",
|
|
@@ -1643,12 +1896,23 @@ var pt_BR_default = {
|
|
|
1643
1896
|
panelTabs: "Painéis de plugins",
|
|
1644
1897
|
collapsePanel: "Recolher {title}",
|
|
1645
1898
|
expandPanel: "Expandir {title}"
|
|
1899
|
+
},
|
|
1900
|
+
presence: {
|
|
1901
|
+
label: null
|
|
1646
1902
|
}
|
|
1647
1903
|
};
|
|
1648
1904
|
|
|
1649
1905
|
// tr.json
|
|
1650
1906
|
var tr_default = {
|
|
1651
1907
|
_lang: "tr",
|
|
1908
|
+
worker: {
|
|
1909
|
+
previousRecovery: null,
|
|
1910
|
+
preparing: "Düzenleyici hazırlanıyor. Düzenleme kısa süre içinde kullanılabilir olacak.",
|
|
1911
|
+
failed: "Düzenleme kullanılamıyor. Kurtarılan sunuyu indirin.",
|
|
1912
|
+
disabled: "Bu özellik bu düzenleme modunda kullanılamıyor.",
|
|
1913
|
+
recovery: null,
|
|
1914
|
+
image: null
|
|
1915
|
+
},
|
|
1652
1916
|
toolbar: {
|
|
1653
1917
|
label: null,
|
|
1654
1918
|
save: "Kaydet",
|
|
@@ -1747,11 +2011,32 @@ var tr_default = {
|
|
|
1747
2011
|
appLabel: null,
|
|
1748
2012
|
opening: null,
|
|
1749
2013
|
noSlides: null,
|
|
1750
|
-
openPrompt: null
|
|
2014
|
+
openPrompt: null,
|
|
2015
|
+
textInput: null,
|
|
2016
|
+
selectionAnnouncement: null,
|
|
2017
|
+
openError: null,
|
|
2018
|
+
openErrorDescription: null,
|
|
2019
|
+
stoppedError: null,
|
|
2020
|
+
stoppedErrorDescription: null,
|
|
2021
|
+
loadError: null,
|
|
2022
|
+
loadErrorDescription: null,
|
|
2023
|
+
reloadPage: null,
|
|
2024
|
+
showDetails: null
|
|
1751
2025
|
},
|
|
1752
2026
|
objects: {
|
|
1753
2027
|
defaultTextBoxName: null,
|
|
1754
|
-
defaultPictureName: null
|
|
2028
|
+
defaultPictureName: null,
|
|
2029
|
+
insertPicture: null,
|
|
2030
|
+
resize: {
|
|
2031
|
+
nw: null,
|
|
2032
|
+
n: null,
|
|
2033
|
+
ne: null,
|
|
2034
|
+
e: null,
|
|
2035
|
+
se: null,
|
|
2036
|
+
s: null,
|
|
2037
|
+
sw: null,
|
|
2038
|
+
w: null
|
|
2039
|
+
}
|
|
1755
2040
|
},
|
|
1756
2041
|
presentation: {
|
|
1757
2042
|
label: "Slayt gösterisi",
|
|
@@ -1849,12 +2134,23 @@ var tr_default = {
|
|
|
1849
2134
|
panelTabs: "Eklenti panelleri",
|
|
1850
2135
|
collapsePanel: "{title} daralt",
|
|
1851
2136
|
expandPanel: "{title} genişlet"
|
|
2137
|
+
},
|
|
2138
|
+
presence: {
|
|
2139
|
+
label: null
|
|
1852
2140
|
}
|
|
1853
2141
|
};
|
|
1854
2142
|
|
|
1855
2143
|
// zh-CN.json
|
|
1856
2144
|
var zh_CN_default = {
|
|
1857
2145
|
_lang: "zh-CN",
|
|
2146
|
+
worker: {
|
|
2147
|
+
previousRecovery: null,
|
|
2148
|
+
preparing: "正在准备编辑器。稍后即可编辑。",
|
|
2149
|
+
failed: "无法编辑。请下载恢复的演示文稿。",
|
|
2150
|
+
disabled: "此编辑模式下无法使用此功能。",
|
|
2151
|
+
recovery: null,
|
|
2152
|
+
image: null
|
|
2153
|
+
},
|
|
1858
2154
|
toolbar: {
|
|
1859
2155
|
label: null,
|
|
1860
2156
|
save: "保存",
|
|
@@ -1953,11 +2249,32 @@ var zh_CN_default = {
|
|
|
1953
2249
|
appLabel: null,
|
|
1954
2250
|
opening: null,
|
|
1955
2251
|
noSlides: null,
|
|
1956
|
-
openPrompt: null
|
|
2252
|
+
openPrompt: null,
|
|
2253
|
+
textInput: null,
|
|
2254
|
+
selectionAnnouncement: null,
|
|
2255
|
+
openError: null,
|
|
2256
|
+
openErrorDescription: null,
|
|
2257
|
+
stoppedError: null,
|
|
2258
|
+
stoppedErrorDescription: null,
|
|
2259
|
+
loadError: null,
|
|
2260
|
+
loadErrorDescription: null,
|
|
2261
|
+
reloadPage: null,
|
|
2262
|
+
showDetails: null
|
|
1957
2263
|
},
|
|
1958
2264
|
objects: {
|
|
1959
2265
|
defaultTextBoxName: null,
|
|
1960
|
-
defaultPictureName: null
|
|
2266
|
+
defaultPictureName: null,
|
|
2267
|
+
insertPicture: null,
|
|
2268
|
+
resize: {
|
|
2269
|
+
nw: null,
|
|
2270
|
+
n: null,
|
|
2271
|
+
ne: null,
|
|
2272
|
+
e: null,
|
|
2273
|
+
se: null,
|
|
2274
|
+
s: null,
|
|
2275
|
+
sw: null,
|
|
2276
|
+
w: null
|
|
2277
|
+
}
|
|
1961
2278
|
},
|
|
1962
2279
|
presentation: {
|
|
1963
2280
|
label: "幻灯片放映",
|
|
@@ -2055,6 +2372,9 @@ var zh_CN_default = {
|
|
|
2055
2372
|
panelTabs: "插件面板",
|
|
2056
2373
|
collapsePanel: "折叠{title}",
|
|
2057
2374
|
expandPanel: "展开{title}"
|
|
2375
|
+
},
|
|
2376
|
+
presence: {
|
|
2377
|
+
label: null
|
|
2058
2378
|
}
|
|
2059
2379
|
};
|
|
2060
2380
|
|
package/dist/pl.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// pl.json
|
|
2
2
|
var pl_default = {
|
|
3
3
|
_lang: "pl",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Przygotowywanie edytora. Edycja będzie wkrótce dostępna.",
|
|
7
|
+
failed: "Edycja jest niedostępna. Pobierz odzyskaną prezentację.",
|
|
8
|
+
disabled: "Ta funkcja jest niedostępna w tym trybie edycji.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Zapisz",
|
|
@@ -99,11 +107,32 @@ var pl_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Prezentacja slajdów",
|
|
@@ -201,6 +230,9 @@ var pl_default = {
|
|
|
201
230
|
panelTabs: "Panele wtyczek",
|
|
202
231
|
collapsePanel: "Zwiń {title}",
|
|
203
232
|
expandPanel: "Rozwiń {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/pt-BR.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// pt-BR.json
|
|
2
2
|
var pt_BR_default = {
|
|
3
3
|
_lang: "pt-BR",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Preparando o editor. A edição estará disponível em breve.",
|
|
7
|
+
failed: "A edição está indisponível. Baixe a apresentação recuperada.",
|
|
8
|
+
disabled: "Este recurso está indisponível neste modo de edição.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Salvar",
|
|
@@ -99,11 +107,32 @@ var pt_BR_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Apresentação de slides",
|
|
@@ -201,6 +230,9 @@ var pt_BR_default = {
|
|
|
201
230
|
panelTabs: "Painéis de plugins",
|
|
202
231
|
collapsePanel: "Recolher {title}",
|
|
203
232
|
expandPanel: "Expandir {title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/tr.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// tr.json
|
|
2
2
|
var tr_default = {
|
|
3
3
|
_lang: "tr",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "Düzenleyici hazırlanıyor. Düzenleme kısa süre içinde kullanılabilir olacak.",
|
|
7
|
+
failed: "Düzenleme kullanılamıyor. Kurtarılan sunuyu indirin.",
|
|
8
|
+
disabled: "Bu özellik bu düzenleme modunda kullanılamıyor.",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "Kaydet",
|
|
@@ -99,11 +107,32 @@ var tr_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "Slayt gösterisi",
|
|
@@ -201,6 +230,9 @@ var tr_default = {
|
|
|
201
230
|
panelTabs: "Eklenti panelleri",
|
|
202
231
|
collapsePanel: "{title} daralt",
|
|
203
232
|
expandPanel: "{title} genişlet"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/dist/zh-CN.mjs
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// zh-CN.json
|
|
2
2
|
var zh_CN_default = {
|
|
3
3
|
_lang: "zh-CN",
|
|
4
|
+
worker: {
|
|
5
|
+
previousRecovery: null,
|
|
6
|
+
preparing: "正在准备编辑器。稍后即可编辑。",
|
|
7
|
+
failed: "无法编辑。请下载恢复的演示文稿。",
|
|
8
|
+
disabled: "此编辑模式下无法使用此功能。",
|
|
9
|
+
recovery: null,
|
|
10
|
+
image: null
|
|
11
|
+
},
|
|
4
12
|
toolbar: {
|
|
5
13
|
label: null,
|
|
6
14
|
save: "保存",
|
|
@@ -99,11 +107,32 @@ var zh_CN_default = {
|
|
|
99
107
|
appLabel: null,
|
|
100
108
|
opening: null,
|
|
101
109
|
noSlides: null,
|
|
102
|
-
openPrompt: null
|
|
110
|
+
openPrompt: null,
|
|
111
|
+
textInput: null,
|
|
112
|
+
selectionAnnouncement: null,
|
|
113
|
+
openError: null,
|
|
114
|
+
openErrorDescription: null,
|
|
115
|
+
stoppedError: null,
|
|
116
|
+
stoppedErrorDescription: null,
|
|
117
|
+
loadError: null,
|
|
118
|
+
loadErrorDescription: null,
|
|
119
|
+
reloadPage: null,
|
|
120
|
+
showDetails: null
|
|
103
121
|
},
|
|
104
122
|
objects: {
|
|
105
123
|
defaultTextBoxName: null,
|
|
106
|
-
defaultPictureName: null
|
|
124
|
+
defaultPictureName: null,
|
|
125
|
+
insertPicture: null,
|
|
126
|
+
resize: {
|
|
127
|
+
nw: null,
|
|
128
|
+
n: null,
|
|
129
|
+
ne: null,
|
|
130
|
+
e: null,
|
|
131
|
+
se: null,
|
|
132
|
+
s: null,
|
|
133
|
+
sw: null,
|
|
134
|
+
w: null
|
|
135
|
+
}
|
|
107
136
|
},
|
|
108
137
|
presentation: {
|
|
109
138
|
label: "幻灯片放映",
|
|
@@ -201,6 +230,9 @@ var zh_CN_default = {
|
|
|
201
230
|
panelTabs: "插件面板",
|
|
202
231
|
collapsePanel: "折叠{title}",
|
|
203
232
|
expandPanel: "展开{title}"
|
|
233
|
+
},
|
|
234
|
+
presence: {
|
|
235
|
+
label: null
|
|
204
236
|
}
|
|
205
237
|
};
|
|
206
238
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betteroffice/pptx-i18n",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Shared UI locale strings and types for the @betteroffice/pptx React editor.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -80,6 +80,9 @@
|
|
|
80
80
|
"url": "https://github.com/openooxml/betteroffice.git",
|
|
81
81
|
"directory": "packages/pptx-i18n"
|
|
82
82
|
},
|
|
83
|
+
"bugs": {
|
|
84
|
+
"url": "https://github.com/openooxml/betteroffice/issues"
|
|
85
|
+
},
|
|
83
86
|
"publishConfig": {
|
|
84
87
|
"access": "public"
|
|
85
88
|
}
|