@betteroffice/pptx-i18n 0.5.1 → 0.6.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/README.md +6 -5
- package/dist/ar.d.mts +7 -0
- package/dist/ar.mjs +295 -0
- package/dist/de.d.mts +2 -0
- package/dist/de.mjs +162 -112
- package/dist/editor.d.mts +3 -0
- package/dist/editor.mjs +312 -0
- package/dist/en.d.mts +3 -5
- package/dist/en.mjs +131 -44
- package/dist/es.d.mts +7 -0
- package/dist/es.mjs +295 -0
- package/dist/fr.d.mts +2 -0
- package/dist/fr.mjs +160 -110
- package/dist/he.d.mts +2 -0
- package/dist/he.mjs +164 -114
- package/dist/hi.d.mts +2 -0
- package/dist/hi.mjs +163 -113
- package/dist/id.d.mts +2 -0
- package/dist/id.mjs +162 -112
- package/dist/index.d.mts +65 -48
- package/dist/index.mjs +4548 -1114
- package/dist/it.d.mts +7 -0
- package/dist/it.mjs +295 -0
- package/dist/ja.d.mts +7 -0
- package/dist/ja.mjs +295 -0
- package/dist/ko.d.mts +7 -0
- package/dist/ko.mjs +295 -0
- package/dist/menus.d.mts +10 -0
- package/dist/menus.mjs +15 -0
- package/dist/nl.d.mts +7 -0
- package/dist/nl.mjs +295 -0
- package/dist/pl.d.mts +2 -0
- package/dist/pl.mjs +161 -111
- package/dist/proposals.d.mts +50 -0
- package/dist/proposals.mjs +55 -0
- package/dist/pt-BR.d.mts +2 -0
- package/dist/pt-BR.mjs +160 -110
- package/dist/ru.d.mts +7 -0
- package/dist/ru.mjs +295 -0
- package/dist/tr.d.mts +2 -0
- package/dist/tr.mjs +164 -114
- package/dist/uk.d.mts +7 -0
- package/dist/uk.mjs +295 -0
- package/dist/vi.d.mts +7 -0
- package/dist/vi.mjs +295 -0
- package/dist/zh-CN.d.mts +2 -0
- package/dist/zh-CN.mjs +160 -110
- package/dist/zh-TW.d.mts +7 -0
- package/dist/zh-TW.mjs +295 -0
- package/package.json +88 -12
package/dist/de.mjs
CHANGED
|
@@ -2,40 +2,37 @@
|
|
|
2
2
|
var de_default = {
|
|
3
3
|
_lang: "de",
|
|
4
4
|
worker: {
|
|
5
|
-
previousRecovery:
|
|
5
|
+
previousRecovery: "Wiederherstellung der vorherigen Präsentation herunterladen",
|
|
6
6
|
preparing: "Editor wird vorbereitet. Die Bearbeitung ist in Kürze verfügbar.",
|
|
7
7
|
failed: "Die Bearbeitung ist nicht verfügbar. Laden Sie die wiederhergestellte Präsentation herunter.",
|
|
8
8
|
disabled: "Diese Funktion ist in diesem Bearbeitungsmodus nicht verfügbar.",
|
|
9
|
-
recovery:
|
|
10
|
-
image:
|
|
9
|
+
recovery: "Wiederhergestellte Präsentation herunterladen",
|
|
10
|
+
image: "Bild wird vorbereitet"
|
|
11
11
|
},
|
|
12
12
|
toolbar: {
|
|
13
|
-
label:
|
|
13
|
+
label: "Symbolleiste für Präsentationsformatierung",
|
|
14
14
|
save: "Speichern",
|
|
15
|
-
exportPng:
|
|
15
|
+
exportPng: "PNG exportieren",
|
|
16
16
|
present: "Präsentieren",
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
deleteSlide: null,
|
|
28
|
-
objectsLabel: null,
|
|
29
|
-
addTextBox: null,
|
|
17
|
+
undo: "Rückgängig",
|
|
18
|
+
redo: "Wiederholen",
|
|
19
|
+
bold: "Fett",
|
|
20
|
+
italic: "Kursiv",
|
|
21
|
+
fontSize: "Schriftgrad",
|
|
22
|
+
textColor: "Schriftfarbe",
|
|
23
|
+
addSlide: "Folie hinzufügen",
|
|
24
|
+
deleteSlide: "Folie löschen",
|
|
25
|
+
addTextBox: "Textfeld hinzufügen",
|
|
26
|
+
insertImage: "Bild einfügen",
|
|
30
27
|
groups: {
|
|
31
28
|
file: "Datei",
|
|
32
|
-
slides:
|
|
33
|
-
history:
|
|
34
|
-
zoom:
|
|
35
|
-
tools:
|
|
36
|
-
font:
|
|
37
|
-
text:
|
|
38
|
-
shape:
|
|
29
|
+
slides: "Folien",
|
|
30
|
+
history: "Verlauf",
|
|
31
|
+
zoom: "Zoom",
|
|
32
|
+
tools: "Werkzeuge",
|
|
33
|
+
font: "Schriftart",
|
|
34
|
+
text: "Textformatierung",
|
|
35
|
+
shape: "Formformatierung",
|
|
39
36
|
alignment: "Ausrichtung"
|
|
40
37
|
},
|
|
41
38
|
align: {
|
|
@@ -44,94 +41,94 @@ var de_default = {
|
|
|
44
41
|
right: "Rechtsbündig",
|
|
45
42
|
justify: "Blocksatz"
|
|
46
43
|
},
|
|
47
|
-
newSlide:
|
|
48
|
-
newSlideWithLayout:
|
|
49
|
-
layoutOption:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
borderColor: null,
|
|
69
|
-
borderWidth: null,
|
|
70
|
-
borderWidthValue: null,
|
|
71
|
-
noBorder: null,
|
|
72
|
-
cornerRadius: null,
|
|
44
|
+
newSlide: "Neue Folie",
|
|
45
|
+
newSlideWithLayout: "Neue Folie mit Layout",
|
|
46
|
+
layoutOption: "Layout {number}",
|
|
47
|
+
fit: "Anpassen",
|
|
48
|
+
zoomValue: "Zoom: {value}",
|
|
49
|
+
textBoxTool: "Textfeld",
|
|
50
|
+
shapeTool: "Form",
|
|
51
|
+
fontFamily: "Schriftart",
|
|
52
|
+
mixed: "Gemischt",
|
|
53
|
+
decreaseFontSize: "Schriftgrad verkleinern",
|
|
54
|
+
increaseFontSize: "Schriftgrad vergrößern",
|
|
55
|
+
underline: "Unterstrichen",
|
|
56
|
+
strikethrough: "Durchgestrichen",
|
|
57
|
+
more: "Mehr",
|
|
58
|
+
fillColor: "Füllfarbe",
|
|
59
|
+
noFill: "Keine Füllung",
|
|
60
|
+
borderColor: "Rahmenfarbe",
|
|
61
|
+
borderWidth: "Rahmenbreite",
|
|
62
|
+
borderWidthValue: "{width} pt",
|
|
63
|
+
noBorder: "Keine Kontur",
|
|
64
|
+
cornerRadius: "Eckenradius",
|
|
73
65
|
shapeAdjustment: "Formanpassung",
|
|
66
|
+
arrange: "Anordnen",
|
|
67
|
+
bringToFront: "In den Vordergrund",
|
|
68
|
+
bringForward: "Eine Ebene nach vorne",
|
|
69
|
+
sendBackward: "Eine Ebene nach hinten",
|
|
70
|
+
sendToBack: "In den Hintergrund",
|
|
74
71
|
shapes: {
|
|
75
|
-
rect:
|
|
76
|
-
roundRect:
|
|
77
|
-
ellipse:
|
|
78
|
-
triangle:
|
|
79
|
-
rtTriangle:
|
|
80
|
-
diamond:
|
|
81
|
-
parallelogram:
|
|
82
|
-
trapezoid:
|
|
83
|
-
pentagon:
|
|
84
|
-
hexagon:
|
|
85
|
-
octagon:
|
|
86
|
-
star5:
|
|
87
|
-
rightArrow:
|
|
88
|
-
leftArrow:
|
|
89
|
-
upArrow:
|
|
90
|
-
downArrow:
|
|
91
|
-
chevron:
|
|
92
|
-
}
|
|
93
|
-
insertImage: null,
|
|
94
|
-
arrange: null,
|
|
95
|
-
bringToFront: null,
|
|
96
|
-
bringForward: null,
|
|
97
|
-
sendBackward: null,
|
|
98
|
-
sendToBack: null
|
|
72
|
+
rect: "Rechteck",
|
|
73
|
+
roundRect: "Abgerundetes Rechteck",
|
|
74
|
+
ellipse: "Ellipse",
|
|
75
|
+
triangle: "Dreieck",
|
|
76
|
+
rtTriangle: "Rechtwinkliges Dreieck",
|
|
77
|
+
diamond: "Raute",
|
|
78
|
+
parallelogram: "Parallelogramm",
|
|
79
|
+
trapezoid: "Trapez",
|
|
80
|
+
pentagon: "Fünfeck",
|
|
81
|
+
hexagon: "Sechseck",
|
|
82
|
+
octagon: "Achteck",
|
|
83
|
+
star5: "5-zackiger Stern",
|
|
84
|
+
rightArrow: "Pfeil nach rechts",
|
|
85
|
+
leftArrow: "Pfeil nach links",
|
|
86
|
+
upArrow: "Pfeil nach oben",
|
|
87
|
+
downArrow: "Pfeil nach unten",
|
|
88
|
+
chevron: "Chevron"
|
|
89
|
+
}
|
|
99
90
|
},
|
|
100
91
|
slides: {
|
|
101
|
-
panelLabel:
|
|
102
|
-
fallbackTitle:
|
|
103
|
-
canvasLabel:
|
|
104
|
-
canvasLabelWithSelection:
|
|
92
|
+
panelLabel: "Folien",
|
|
93
|
+
fallbackTitle: "Folie {number}",
|
|
94
|
+
canvasLabel: "Folie {current} von {total}",
|
|
95
|
+
canvasLabelWithSelection: "Folie {current} von {total}; ausgewähltes Objekt {name}"
|
|
96
|
+
},
|
|
97
|
+
a11y: {
|
|
98
|
+
chartNoData: "Keine Daten",
|
|
99
|
+
slideWithTitle: "Folie {current} von {total}: {title}",
|
|
100
|
+
objectSelected: "{name} ausgewählt",
|
|
101
|
+
editingText: "{name} wird bearbeitet"
|
|
105
102
|
},
|
|
106
103
|
editor: {
|
|
107
|
-
appLabel:
|
|
108
|
-
opening:
|
|
109
|
-
noSlides:
|
|
110
|
-
openPrompt:
|
|
111
|
-
textInput:
|
|
112
|
-
selectionAnnouncement:
|
|
113
|
-
openError:
|
|
114
|
-
openErrorDescription:
|
|
115
|
-
stoppedError:
|
|
116
|
-
stoppedErrorDescription:
|
|
117
|
-
loadError:
|
|
118
|
-
loadErrorDescription:
|
|
119
|
-
reloadPage:
|
|
120
|
-
showDetails:
|
|
104
|
+
appLabel: "Folieneditor für Präsentationen",
|
|
105
|
+
opening: "Präsentation wird geöffnet…",
|
|
106
|
+
noSlides: "Keine Folien",
|
|
107
|
+
openPrompt: "Eine PPTX-Datei öffnen",
|
|
108
|
+
textInput: "Folientext",
|
|
109
|
+
selectionAnnouncement: "Text ausgewählt",
|
|
110
|
+
openError: "Diese Präsentation konnte nicht geöffnet werden",
|
|
111
|
+
openErrorDescription: "Die Datei ist möglicherweise beschädigt oder verwendet etwas, das dieser Editor noch nicht lesen kann.",
|
|
112
|
+
stoppedError: "Im Editor ist ein Problem aufgetreten",
|
|
113
|
+
stoppedErrorDescription: "Die Bearbeitung ist nicht verfügbar. Laden Sie die wiederhergestellte Präsentation herunter, um Ihre Änderungen zu behalten.",
|
|
114
|
+
loadError: "Der Editor konnte nicht geladen werden",
|
|
115
|
+
loadErrorDescription: "Überprüfen Sie Ihre Verbindung und laden Sie die Seite neu.",
|
|
116
|
+
reloadPage: "Seite neu laden",
|
|
117
|
+
showDetails: "Details anzeigen"
|
|
121
118
|
},
|
|
122
119
|
objects: {
|
|
123
|
-
defaultTextBoxName:
|
|
124
|
-
defaultPictureName:
|
|
125
|
-
insertPicture:
|
|
120
|
+
defaultTextBoxName: "Textfeld",
|
|
121
|
+
defaultPictureName: "Bild",
|
|
122
|
+
insertPicture: "Bild einfügen",
|
|
126
123
|
resize: {
|
|
127
|
-
nw:
|
|
128
|
-
n:
|
|
129
|
-
ne:
|
|
130
|
-
e:
|
|
131
|
-
se:
|
|
132
|
-
s:
|
|
133
|
-
sw:
|
|
134
|
-
w:
|
|
124
|
+
nw: "Größe oben links ändern",
|
|
125
|
+
n: "Größe oben ändern",
|
|
126
|
+
ne: "Größe oben rechts ändern",
|
|
127
|
+
e: "Größe rechts ändern",
|
|
128
|
+
se: "Größe unten rechts ändern",
|
|
129
|
+
s: "Größe unten ändern",
|
|
130
|
+
sw: "Größe unten links ändern",
|
|
131
|
+
w: "Größe links ändern"
|
|
135
132
|
}
|
|
136
133
|
},
|
|
137
134
|
presentation: {
|
|
@@ -146,7 +143,7 @@ var de_default = {
|
|
|
146
143
|
placeholder: "Sprechernotizen hinzufügen…"
|
|
147
144
|
},
|
|
148
145
|
errors: {
|
|
149
|
-
decodeSlideImage:
|
|
146
|
+
decodeSlideImage: "Folienbild konnte nicht decodiert werden"
|
|
150
147
|
},
|
|
151
148
|
proposals: {
|
|
152
149
|
title: "Agent-Vorschläge",
|
|
@@ -166,6 +163,18 @@ var de_default = {
|
|
|
166
163
|
stale: "Diese Objekte wurden geändert, nachdem der Vorschlag erstellt wurde. Sehen Sie sich vor dem Übernehmen die aktuellen Änderungen an.",
|
|
167
164
|
stalePreview: "Diese Vorschau verwendet die aktualisierte Folie. Beim Übernehmen werden die geänderten Ziele überschrieben.",
|
|
168
165
|
geometry: "Position und Größe (x, y, Breite, Höhe)",
|
|
166
|
+
geometryValues: "{before} → {after} pt",
|
|
167
|
+
layoutChanged: "Layout geändert",
|
|
168
|
+
backgroundChanged: "Hintergrund geändert",
|
|
169
|
+
rowInserted: "Zeile eingefügt",
|
|
170
|
+
rowDeleted: "Zeile gelöscht",
|
|
171
|
+
columnInserted: "Spalte eingefügt",
|
|
172
|
+
columnDeleted: "Spalte gelöscht",
|
|
173
|
+
broughtToFront: "In den Vordergrund gebracht",
|
|
174
|
+
sentToBack: "In den Hintergrund verschoben",
|
|
175
|
+
broughtForward: "Eine Ebene nach vorne gebracht",
|
|
176
|
+
sentBackward: "Eine Ebene nach hinten verschoben",
|
|
177
|
+
zOrderChanged: "Stapelreihenfolge geändert",
|
|
169
178
|
appearance: "Darstellung oder Textformatierung geändert",
|
|
170
179
|
changedAgain: "Das Ziel hat sich erneut geändert. Prüfen Sie vor dem Übernehmen die aktualisierte Vorschau.",
|
|
171
180
|
canvasTitle: "Änderungen auf dieser Folie",
|
|
@@ -178,12 +187,19 @@ var de_default = {
|
|
|
178
187
|
canvasStale: "Ziele haben sich geändert. Öffnen Sie die Details zur Überprüfung, um die aktualisierte Vorschau vor dem Übernehmen zu prüfen.",
|
|
179
188
|
previousPosition: "Vorher",
|
|
180
189
|
proposedPosition: "Vorgeschlagen",
|
|
181
|
-
loadingDiff: "Änderungen werden geladen…"
|
|
190
|
+
loadingDiff: "Änderungen werden geladen…",
|
|
191
|
+
slideStrip: null,
|
|
192
|
+
previewSlide: null,
|
|
193
|
+
insertedShape: null,
|
|
194
|
+
deletedShape: null,
|
|
195
|
+
insertedSlide: null,
|
|
196
|
+
deletedSlide: null,
|
|
197
|
+
movedFrom: null
|
|
182
198
|
},
|
|
183
199
|
commands: {
|
|
184
200
|
moreControls: "Weitere Steuerelemente",
|
|
185
201
|
selectTool: "Auswählen",
|
|
186
|
-
fontSizeStep: "
|
|
202
|
+
fontSizeStep: "Schriftgrad ändern",
|
|
187
203
|
customFontSize: "Benutzerdefinierte Größe…",
|
|
188
204
|
fontSizePoints: "Größe in Punkt",
|
|
189
205
|
customColor: "Benutzerdefinierte Farbe…",
|
|
@@ -196,7 +212,7 @@ var de_default = {
|
|
|
196
212
|
noDocument: "Keine Präsentation geöffnet.",
|
|
197
213
|
readOnly: "Die Präsentation ist schreibgeschützt.",
|
|
198
214
|
nothingToUndo: "Es gibt nichts rückgängig zu machen.",
|
|
199
|
-
nothingToRedo: "Es gibt nichts
|
|
215
|
+
nothingToRedo: "Es gibt nichts zu wiederholen.",
|
|
200
216
|
textSelectionRequired: "Markieren Sie zuerst Text oder ein Textfeld.",
|
|
201
217
|
shapeRequired: "Wählen Sie zuerst eine Form aus.",
|
|
202
218
|
objectRequired: "Wählen Sie zuerst eine Form oder ein Bild aus.",
|
|
@@ -220,10 +236,27 @@ var de_default = {
|
|
|
220
236
|
gestureActive: "Beenden Sie zuerst die Zeigergeste.",
|
|
221
237
|
commandFailed: "Der Befehl ist fehlgeschlagen.",
|
|
222
238
|
permissionDenied: "Die Host-Anwendung hat diesem Plugin diesen Befehl nicht erlaubt.",
|
|
223
|
-
unsupportedPolicy: "
|
|
239
|
+
unsupportedPolicy: "Dieser Befehl erfordert eine Benutzeraktion in der eigenen Oberfläche des Plugins.",
|
|
224
240
|
pluginUnavailable: "Das Plugin ist nicht mehr aktiv.",
|
|
225
|
-
aborted: "Die Plugin-Aktion wurde abgebrochen, bevor der Befehl ausgeführt wurde."
|
|
226
|
-
|
|
241
|
+
aborted: "Die Plugin-Aktion wurde abgebrochen, bevor der Befehl ausgeführt wurde.",
|
|
242
|
+
clipboardUnavailable: "Der Zugriff auf die Zwischenablage ist nicht verfügbar oder wurde verweigert.",
|
|
243
|
+
tableRequired: "Setzen Sie den Cursor zuerst in eine Tabellenzelle.",
|
|
244
|
+
lastSlide: "Die letzte Folie kann nicht gelöscht werden."
|
|
245
|
+
},
|
|
246
|
+
cut: "Ausschneiden",
|
|
247
|
+
copy: "Kopieren",
|
|
248
|
+
paste: "Einfügen",
|
|
249
|
+
pastePlainText: "Als Nur-Text einfügen",
|
|
250
|
+
insert: "Einfügen",
|
|
251
|
+
delete: "Löschen",
|
|
252
|
+
deleteTable: "Tabelle löschen",
|
|
253
|
+
duplicateSlide: "Folie duplizieren",
|
|
254
|
+
insertRowsAbove: "Zeilen oberhalb einfügen",
|
|
255
|
+
insertRowsBelow: "Zeilen unterhalb einfügen",
|
|
256
|
+
insertColumnsLeft: "Spalten links einfügen",
|
|
257
|
+
insertColumnsRight: "Spalten rechts einfügen",
|
|
258
|
+
deleteRows: "Zeilen löschen",
|
|
259
|
+
deleteColumns: "Spalten löschen"
|
|
227
260
|
},
|
|
228
261
|
plugins: {
|
|
229
262
|
toolbarGroup: "Plugins",
|
|
@@ -232,7 +265,24 @@ var de_default = {
|
|
|
232
265
|
expandPanel: "{title} ausklappen"
|
|
233
266
|
},
|
|
234
267
|
presence: {
|
|
235
|
-
label:
|
|
268
|
+
label: "Mitbearbeiter",
|
|
269
|
+
moreCollaborators: "{count, plural, one {# weiterer Mitbearbeiter} other {# weitere Mitbearbeiter}}",
|
|
270
|
+
moreSelections: "+{count, plural, one {# Auswahl} other {# Auswahlen}}"
|
|
271
|
+
},
|
|
272
|
+
contextMenu: {
|
|
273
|
+
text: "Textmenü",
|
|
274
|
+
shape: "Formmenü",
|
|
275
|
+
table: "Tabellenmenü",
|
|
276
|
+
slide: "Folienmenü"
|
|
277
|
+
},
|
|
278
|
+
keys: {
|
|
279
|
+
ctrl: "Strg",
|
|
280
|
+
alt: "Alt",
|
|
281
|
+
shift: "Umschalt",
|
|
282
|
+
delete: "Entf",
|
|
283
|
+
escape: "Esc",
|
|
284
|
+
pageup: "Bild auf",
|
|
285
|
+
pagedown: "Bild ab"
|
|
236
286
|
}
|
|
237
287
|
};
|
|
238
288
|
|
package/dist/editor.mjs
ADDED
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
// en.json
|
|
2
|
+
var en_default = {
|
|
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
|
+
},
|
|
12
|
+
toolbar: {
|
|
13
|
+
label: "Presentation formatting toolbar",
|
|
14
|
+
save: "Save",
|
|
15
|
+
exportPng: "Export PNG",
|
|
16
|
+
present: "Present",
|
|
17
|
+
undo: "Undo",
|
|
18
|
+
redo: "Redo",
|
|
19
|
+
bold: "Bold",
|
|
20
|
+
italic: "Italic",
|
|
21
|
+
fontSize: "Font size",
|
|
22
|
+
textColor: "Text color",
|
|
23
|
+
addSlide: "Add slide",
|
|
24
|
+
deleteSlide: "Delete slide",
|
|
25
|
+
addTextBox: "Add text box",
|
|
26
|
+
insertImage: "Insert image",
|
|
27
|
+
groups: {
|
|
28
|
+
file: "File",
|
|
29
|
+
slides: "Slides",
|
|
30
|
+
history: "History",
|
|
31
|
+
zoom: "Zoom",
|
|
32
|
+
tools: "Tools",
|
|
33
|
+
font: "Font",
|
|
34
|
+
text: "Text formatting",
|
|
35
|
+
shape: "Shape formatting",
|
|
36
|
+
alignment: "Alignment"
|
|
37
|
+
},
|
|
38
|
+
align: {
|
|
39
|
+
left: "Align Left",
|
|
40
|
+
center: "Center",
|
|
41
|
+
right: "Align Right",
|
|
42
|
+
justify: "Justify"
|
|
43
|
+
},
|
|
44
|
+
newSlide: "New slide",
|
|
45
|
+
newSlideWithLayout: "New slide with layout",
|
|
46
|
+
layoutOption: "Layout {number}",
|
|
47
|
+
fit: "Fit",
|
|
48
|
+
zoomValue: "Zoom: {value}",
|
|
49
|
+
textBoxTool: "Text box",
|
|
50
|
+
shapeTool: "Shape",
|
|
51
|
+
fontFamily: "Font family",
|
|
52
|
+
mixed: "Mixed",
|
|
53
|
+
decreaseFontSize: "Decrease font size",
|
|
54
|
+
increaseFontSize: "Increase font size",
|
|
55
|
+
underline: "Underline",
|
|
56
|
+
strikethrough: "Strikethrough",
|
|
57
|
+
more: "More",
|
|
58
|
+
fillColor: "Fill color",
|
|
59
|
+
noFill: "No fill",
|
|
60
|
+
borderColor: "Border color",
|
|
61
|
+
borderWidth: "Border width",
|
|
62
|
+
borderWidthValue: "{width} pt",
|
|
63
|
+
noBorder: "No border",
|
|
64
|
+
cornerRadius: "Corner radius",
|
|
65
|
+
shapeAdjustment: "Shape adjustment",
|
|
66
|
+
arrange: "Arrange",
|
|
67
|
+
bringToFront: "Bring to front",
|
|
68
|
+
bringForward: "Bring forward",
|
|
69
|
+
sendBackward: "Send backward",
|
|
70
|
+
sendToBack: "Send to back",
|
|
71
|
+
shapes: {
|
|
72
|
+
rect: "Rectangle",
|
|
73
|
+
roundRect: "Rounded rectangle",
|
|
74
|
+
ellipse: "Ellipse",
|
|
75
|
+
triangle: "Triangle",
|
|
76
|
+
rtTriangle: "Right triangle",
|
|
77
|
+
diamond: "Diamond",
|
|
78
|
+
parallelogram: "Parallelogram",
|
|
79
|
+
trapezoid: "Trapezoid",
|
|
80
|
+
pentagon: "Pentagon",
|
|
81
|
+
hexagon: "Hexagon",
|
|
82
|
+
octagon: "Octagon",
|
|
83
|
+
star5: "5-point star",
|
|
84
|
+
rightArrow: "Right arrow",
|
|
85
|
+
leftArrow: "Left arrow",
|
|
86
|
+
upArrow: "Up arrow",
|
|
87
|
+
downArrow: "Down arrow",
|
|
88
|
+
chevron: "Chevron"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
slides: {
|
|
92
|
+
panelLabel: "Slides",
|
|
93
|
+
fallbackTitle: "Slide {number}",
|
|
94
|
+
canvasLabel: "Slide {current} of {total}",
|
|
95
|
+
canvasLabelWithSelection: "Slide {current} of {total}; selected object {name}"
|
|
96
|
+
},
|
|
97
|
+
a11y: {
|
|
98
|
+
chartNoData: "No data",
|
|
99
|
+
slideWithTitle: "Slide {current} of {total}: {title}",
|
|
100
|
+
objectSelected: "{name} selected",
|
|
101
|
+
editingText: "Editing {name}"
|
|
102
|
+
},
|
|
103
|
+
editor: {
|
|
104
|
+
appLabel: "Presentation slide editor",
|
|
105
|
+
opening: "Opening presentation…",
|
|
106
|
+
noSlides: "No slides",
|
|
107
|
+
openPrompt: "Open a PPTX file",
|
|
108
|
+
textInput: "Slide text",
|
|
109
|
+
selectionAnnouncement: "Text selected",
|
|
110
|
+
openError: "Couldn't open this presentation",
|
|
111
|
+
openErrorDescription: "The file may be damaged, or it uses something this editor can't read yet.",
|
|
112
|
+
stoppedError: "The editor ran into a problem",
|
|
113
|
+
stoppedErrorDescription: "Editing is unavailable. Download the recovered presentation to keep your changes.",
|
|
114
|
+
loadError: "The editor couldn't load",
|
|
115
|
+
loadErrorDescription: "Check your connection, then reload the page.",
|
|
116
|
+
reloadPage: "Reload page",
|
|
117
|
+
showDetails: "Show details"
|
|
118
|
+
},
|
|
119
|
+
objects: {
|
|
120
|
+
defaultTextBoxName: "Text Box",
|
|
121
|
+
defaultPictureName: "Picture",
|
|
122
|
+
insertPicture: "Insert picture",
|
|
123
|
+
resize: {
|
|
124
|
+
nw: "Resize top left",
|
|
125
|
+
n: "Resize top",
|
|
126
|
+
ne: "Resize top right",
|
|
127
|
+
e: "Resize right",
|
|
128
|
+
se: "Resize bottom right",
|
|
129
|
+
s: "Resize bottom",
|
|
130
|
+
sw: "Resize bottom left",
|
|
131
|
+
w: "Resize left"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
presentation: {
|
|
135
|
+
label: "Slide presentation",
|
|
136
|
+
exit: "Exit presentation (Esc)",
|
|
137
|
+
slideCounter: "{current} / {total}",
|
|
138
|
+
previousSlide: "Previous slide",
|
|
139
|
+
nextSlide: "Next slide"
|
|
140
|
+
},
|
|
141
|
+
notes: {
|
|
142
|
+
panelLabel: "Speaker notes",
|
|
143
|
+
placeholder: "Add speaker notes…"
|
|
144
|
+
},
|
|
145
|
+
errors: {
|
|
146
|
+
decodeSlideImage: "could not decode slide image"
|
|
147
|
+
},
|
|
148
|
+
proposals: {
|
|
149
|
+
title: "Agent proposals",
|
|
150
|
+
accept: "Accept proposal",
|
|
151
|
+
reject: "Reject",
|
|
152
|
+
canvasTitle: "Changes on this slide",
|
|
153
|
+
showDiff: "Show changes"
|
|
154
|
+
},
|
|
155
|
+
commands: {
|
|
156
|
+
moreControls: "More controls",
|
|
157
|
+
selectTool: "Select",
|
|
158
|
+
fontSizeStep: "Change font size",
|
|
159
|
+
customFontSize: "Custom size…",
|
|
160
|
+
fontSizePoints: "Size in points",
|
|
161
|
+
customColor: "Custom color…",
|
|
162
|
+
hexColor: "Hex color",
|
|
163
|
+
apply: "Apply",
|
|
164
|
+
cancel: "Cancel",
|
|
165
|
+
reasons: {
|
|
166
|
+
editorUnavailable: "The editor is not ready.",
|
|
167
|
+
documentLoading: "The presentation is still opening.",
|
|
168
|
+
noDocument: "No presentation is open.",
|
|
169
|
+
readOnly: "The presentation is read-only.",
|
|
170
|
+
nothingToUndo: "There is nothing to undo.",
|
|
171
|
+
nothingToRedo: "There is nothing to redo.",
|
|
172
|
+
textSelectionRequired: "Select text or a text box first.",
|
|
173
|
+
shapeRequired: "Select a shape first.",
|
|
174
|
+
objectRequired: "Select a shape or picture first.",
|
|
175
|
+
slideRequired: "Add a slide first.",
|
|
176
|
+
unsupportedSelection: "This does not apply to the current selection.",
|
|
177
|
+
invalidLayout: "That layout is not available in this presentation.",
|
|
178
|
+
invalidAdjustment: "That adjustment is not available for this shape.",
|
|
179
|
+
zOrderBoundary: "The object cannot move further in that direction.",
|
|
180
|
+
reviewActive: "Leave proposal review first.",
|
|
181
|
+
previewPending: "The change preview is still loading.",
|
|
182
|
+
previewFailed: "The change preview could not be shown.",
|
|
183
|
+
proposalStale: "The proposal's targets changed. Review the updated preview before applying.",
|
|
184
|
+
proposalNotFound: "That proposal is no longer pending.",
|
|
185
|
+
proposalsUnavailable: "Proposals are not available.",
|
|
186
|
+
hostDisabled: "This action is not available here.",
|
|
187
|
+
unsupportedCommand: "This command is not supported.",
|
|
188
|
+
invalidArguments: "The command received invalid arguments.",
|
|
189
|
+
inputFailed: "Earlier input could not be applied.",
|
|
190
|
+
documentReplaced: "The presentation was replaced.",
|
|
191
|
+
targetChanged: "The selection changed before the command ran.",
|
|
192
|
+
gestureActive: "Finish the pointer gesture first.",
|
|
193
|
+
commandFailed: "The command failed.",
|
|
194
|
+
permissionDenied: "The host application has not allowed this plugin to use this command.",
|
|
195
|
+
unsupportedPolicy: "This command needs a user gesture in the plugin's own UI.",
|
|
196
|
+
pluginUnavailable: "The plugin is no longer active.",
|
|
197
|
+
aborted: "The plugin action was cancelled before the command ran.",
|
|
198
|
+
clipboardUnavailable: "Clipboard access is unavailable or was denied.",
|
|
199
|
+
tableRequired: "Place the cursor in a table cell first.",
|
|
200
|
+
lastSlide: "The last slide cannot be deleted."
|
|
201
|
+
},
|
|
202
|
+
cut: "Cut",
|
|
203
|
+
copy: "Copy",
|
|
204
|
+
paste: "Paste",
|
|
205
|
+
pastePlainText: "Paste as plain text",
|
|
206
|
+
insert: "Insert",
|
|
207
|
+
delete: "Delete",
|
|
208
|
+
deleteTable: "Delete table",
|
|
209
|
+
duplicateSlide: "Duplicate slide",
|
|
210
|
+
insertRowsAbove: "Insert rows above",
|
|
211
|
+
insertRowsBelow: "Insert rows below",
|
|
212
|
+
insertColumnsLeft: "Insert columns to the left",
|
|
213
|
+
insertColumnsRight: "Insert columns to the right",
|
|
214
|
+
deleteRows: "Delete rows",
|
|
215
|
+
deleteColumns: "Delete columns"
|
|
216
|
+
},
|
|
217
|
+
plugins: {
|
|
218
|
+
toolbarGroup: "Plugins",
|
|
219
|
+
panelTabs: "Plugin panels",
|
|
220
|
+
collapsePanel: "Collapse {title}",
|
|
221
|
+
expandPanel: "Expand {title}"
|
|
222
|
+
},
|
|
223
|
+
presence: {
|
|
224
|
+
label: "Collaborators",
|
|
225
|
+
moreCollaborators: "{count, plural, one {# more collaborator} other {# more collaborators}}",
|
|
226
|
+
moreSelections: "+{count, plural, one {# selection} other {# selections}}"
|
|
227
|
+
},
|
|
228
|
+
keys: {
|
|
229
|
+
ctrl: "Ctrl",
|
|
230
|
+
alt: "Alt",
|
|
231
|
+
shift: "Shift",
|
|
232
|
+
delete: "Del",
|
|
233
|
+
escape: "Esc",
|
|
234
|
+
pageup: "Page Up",
|
|
235
|
+
pagedown: "Page Down"
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
// src/runtime.ts
|
|
240
|
+
function isRecord(v) {
|
|
241
|
+
return v !== null && typeof v === "object" && !Array.isArray(v);
|
|
242
|
+
}
|
|
243
|
+
function deepMerge(base, override) {
|
|
244
|
+
if (!override) return base;
|
|
245
|
+
const result = { ...base };
|
|
246
|
+
for (const key of Object.keys(override)) {
|
|
247
|
+
const overVal = override[key];
|
|
248
|
+
if (overVal === null) continue;
|
|
249
|
+
if (isRecord(base[key]) && isRecord(overVal)) {
|
|
250
|
+
result[key] = deepMerge(base[key], overVal);
|
|
251
|
+
} else if (overVal !== void 0) {
|
|
252
|
+
result[key] = overVal;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
return result;
|
|
256
|
+
}
|
|
257
|
+
function lookupKey(obj, path) {
|
|
258
|
+
let current = obj;
|
|
259
|
+
for (const part of path.split(".")) {
|
|
260
|
+
if (!isRecord(current)) return void 0;
|
|
261
|
+
current = current[part];
|
|
262
|
+
}
|
|
263
|
+
return typeof current === "string" ? current : void 0;
|
|
264
|
+
}
|
|
265
|
+
function parseBranches(branchStr) {
|
|
266
|
+
const parsed = {};
|
|
267
|
+
const regex = /(=\d+|\w+)\s*\{([^}]*)\}/g;
|
|
268
|
+
let match;
|
|
269
|
+
while ((match = regex.exec(branchStr)) !== null) {
|
|
270
|
+
parsed[match[1]] = match[2];
|
|
271
|
+
}
|
|
272
|
+
return parsed;
|
|
273
|
+
}
|
|
274
|
+
function formatMessage(template, vars, lang) {
|
|
275
|
+
if (!vars) return template;
|
|
276
|
+
const result = template.replace(
|
|
277
|
+
/\{(\w+),\s*plural,((?:[^{}]|\{[^{}]*\})*)\}/g,
|
|
278
|
+
(full, varName, branchStr) => {
|
|
279
|
+
const count = Number(vars[varName]);
|
|
280
|
+
if (isNaN(count)) return full;
|
|
281
|
+
const parsed = parseBranches(branchStr);
|
|
282
|
+
const exact = parsed[`=${count}`];
|
|
283
|
+
if (exact !== void 0) return exact.replace(/#/g, String(count));
|
|
284
|
+
let category;
|
|
285
|
+
try {
|
|
286
|
+
category = new Intl.PluralRules(lang || "en").select(count);
|
|
287
|
+
} catch {
|
|
288
|
+
category = count === 1 ? "one" : "other";
|
|
289
|
+
}
|
|
290
|
+
const text = parsed[category] ?? parsed["other"] ?? "";
|
|
291
|
+
return text.replace(/#/g, String(count));
|
|
292
|
+
}
|
|
293
|
+
);
|
|
294
|
+
return result.replace(/\{(\w+)\}/g, (_, key) => {
|
|
295
|
+
const val = vars[key];
|
|
296
|
+
return val !== void 0 ? String(val) : `{${key}}`;
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
function createT(strings, lang = "en") {
|
|
300
|
+
return (key, vars) => {
|
|
301
|
+
const value = lookupKey(strings, key);
|
|
302
|
+
return formatMessage(value ?? key, vars, lang);
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// src/editor.ts
|
|
307
|
+
var editorEn = en_default;
|
|
308
|
+
export {
|
|
309
|
+
createT,
|
|
310
|
+
deepMerge,
|
|
311
|
+
editorEn
|
|
312
|
+
};
|
package/dist/en.d.mts
CHANGED