@betteroffice/pptx-i18n 0.0.4 → 0.1.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/dist/index.d.mts CHANGED
@@ -1,114 +1,157 @@
1
- var _lang = "en";
2
- var toolbar = {
3
- label: "Presentation formatting toolbar",
4
- save: "Save",
5
- historyLabel: "History",
6
- undo: "Undo",
7
- redo: "Redo",
8
- textFormattingLabel: "Text formatting",
9
- bold: "Bold",
10
- italic: "Italic",
11
- fontSize: "Font size",
12
- textColor: "Text color",
13
- slidesLabel: "Slides",
14
- addSlide: "Add slide",
15
- deleteSlide: "Delete slide",
16
- objectsLabel: "Objects",
17
- addTextBox: "Add text box",
18
- groups: {
19
- file: "File",
20
- slides: "Slides",
21
- history: "History",
22
- zoom: "Zoom",
23
- tools: "Tools",
24
- font: "Font",
25
- text: "Text formatting",
26
- shape: "Shape formatting"
27
- },
28
- newSlide: "New slide",
29
- newSlideWithLayout: "New slide with layout",
30
- layoutOption: "Layout {number}",
31
- undoShortcut: "Undo (⌘Z)",
32
- redoShortcut: "Redo (⇧⌘Z)",
33
- fit: "Fit",
34
- zoomValue: "Zoom: {value}",
35
- selectToolShortcut: "Select (Esc)",
36
- textBoxTool: "Text box",
37
- shapeTool: "Shape",
38
- fontFamily: "Font family",
39
- mixed: "Mixed",
40
- decreaseFontSize: "Decrease font size",
41
- increaseFontSize: "Increase font size",
42
- boldShortcut: "Bold (⌘B)",
43
- italicShortcut: "Italic (⌘I)",
44
- underline: "Underline",
45
- underlineShortcut: "Underline (⌘U)",
46
- more: "More",
47
- fillColor: "Fill color",
48
- noFill: "No fill",
49
- borderColor: "Border color",
50
- borderWidth: "Border width",
51
- borderWidthValue: "{width} pt",
52
- noBorder: "No border",
53
- cornerRadius: "Corner radius",
54
- shapeAdjustment: "Shape adjustment",
55
- shapes: {
56
- rect: "Rectangle",
57
- roundRect: "Rounded rectangle",
58
- ellipse: "Ellipse",
59
- triangle: "Triangle",
60
- rtTriangle: "Right triangle",
61
- diamond: "Diamond",
62
- parallelogram: "Parallelogram",
63
- trapezoid: "Trapezoid",
64
- pentagon: "Pentagon",
65
- hexagon: "Hexagon",
66
- octagon: "Octagon",
67
- star5: "5-point star",
68
- rightArrow: "Right arrow",
69
- leftArrow: "Left arrow",
70
- upArrow: "Up arrow",
71
- downArrow: "Down arrow",
72
- chevron: "Chevron"
73
- }
74
- };
75
- var slides = {
76
- panelLabel: "Slides",
77
- fallbackTitle: "Slide {number}",
78
- canvasLabel: "Slide {current} of {total}",
79
- canvasLabelWithSelection: "Slide {current} of {total}; selected object {name}"
80
- };
81
- var editor = {
82
- appLabel: "Presentation slide editor",
83
- opening: "Opening presentation…",
84
- noSlides: "No slides",
85
- openPrompt: "Open a PPTX file"
86
- };
87
- var objects = {
88
- defaultTextBoxName: "Text Box"
89
- };
90
- var errors = {
91
- decodeSlideImage: "could not decode slide image"
92
- };
93
- var enJson = {
94
- _lang: _lang,
95
- toolbar: toolbar,
96
- slides: slides,
97
- editor: editor,
98
- objects: objects,
99
- errors: errors
100
- };
101
-
102
1
  /**
103
2
  * Shared locale data, types, and runtime helpers for @betteroffice/pptx-react.
104
3
  *
105
4
  * @packageDocumentation
106
5
  * @public
107
6
  */
108
-
109
- type LocaleStrings = typeof enJson;
7
+ type LocaleStrings = typeof en;
110
8
  type LocaleCode = 'en' | 'de' | 'fr' | 'he' | 'hi' | 'id' | 'pl' | 'pt-BR' | 'tr' | 'zh-CN';
111
- declare const en: LocaleStrings;
9
+ declare const en: {
10
+ _lang: string;
11
+ toolbar: {
12
+ label: string;
13
+ save: string;
14
+ exportPng: string;
15
+ present: string;
16
+ historyLabel: string;
17
+ undo: string;
18
+ redo: string;
19
+ textFormattingLabel: string;
20
+ bold: string;
21
+ italic: string;
22
+ fontSize: string;
23
+ textColor: string;
24
+ slidesLabel: string;
25
+ addSlide: string;
26
+ deleteSlide: string;
27
+ objectsLabel: string;
28
+ addTextBox: string;
29
+ groups: {
30
+ file: string;
31
+ slides: string;
32
+ history: string;
33
+ zoom: string;
34
+ tools: string;
35
+ font: string;
36
+ text: string;
37
+ shape: string;
38
+ alignment: string;
39
+ };
40
+ align: {
41
+ left: string;
42
+ center: string;
43
+ right: string;
44
+ justify: string;
45
+ };
46
+ newSlide: string;
47
+ newSlideWithLayout: string;
48
+ layoutOption: string;
49
+ undoShortcut: string;
50
+ redoShortcut: string;
51
+ fit: string;
52
+ zoomValue: string;
53
+ selectToolShortcut: string;
54
+ textBoxTool: string;
55
+ shapeTool: string;
56
+ fontFamily: string;
57
+ mixed: string;
58
+ decreaseFontSize: string;
59
+ increaseFontSize: string;
60
+ boldShortcut: string;
61
+ italicShortcut: string;
62
+ underline: string;
63
+ underlineShortcut: string;
64
+ more: string;
65
+ fillColor: string;
66
+ noFill: string;
67
+ borderColor: string;
68
+ borderWidth: string;
69
+ borderWidthValue: string;
70
+ noBorder: string;
71
+ cornerRadius: string;
72
+ shapeAdjustment: string;
73
+ shapes: {
74
+ rect: string;
75
+ roundRect: string;
76
+ ellipse: string;
77
+ triangle: string;
78
+ rtTriangle: string;
79
+ diamond: string;
80
+ parallelogram: string;
81
+ trapezoid: string;
82
+ pentagon: string;
83
+ hexagon: string;
84
+ octagon: string;
85
+ star5: string;
86
+ rightArrow: string;
87
+ leftArrow: string;
88
+ upArrow: string;
89
+ downArrow: string;
90
+ chevron: string;
91
+ };
92
+ };
93
+ slides: {
94
+ panelLabel: string;
95
+ fallbackTitle: string;
96
+ canvasLabel: string;
97
+ canvasLabelWithSelection: string;
98
+ };
99
+ editor: {
100
+ appLabel: string;
101
+ opening: string;
102
+ noSlides: string;
103
+ openPrompt: string;
104
+ };
105
+ objects: {
106
+ defaultTextBoxName: string;
107
+ };
108
+ presentation: {
109
+ label: string;
110
+ exit: string;
111
+ slideCounter: string;
112
+ previousSlide: string;
113
+ nextSlide: string;
114
+ };
115
+ notes: {
116
+ panelLabel: string;
117
+ placeholder: string;
118
+ };
119
+ errors: {
120
+ decodeSlideImage: string;
121
+ };
122
+ proposals: {
123
+ title: string;
124
+ close: string;
125
+ empty: string;
126
+ preview: string;
127
+ previewTitle: string;
128
+ before: string;
129
+ after: string;
130
+ accept: string;
131
+ reject: string;
132
+ force: string;
133
+ blank: string;
134
+ target: string;
135
+ targetLabel: string;
136
+ targetMissing: string;
137
+ stale: string;
138
+ stalePreview: string;
139
+ geometry: string;
140
+ appearance: string;
141
+ changedAgain: string;
142
+ canvasTitle: string;
143
+ editSlide: string;
144
+ showDiff: string;
145
+ details: string;
146
+ removed: string;
147
+ added: string;
148
+ reviewHint: string;
149
+ canvasStale: string;
150
+ previousPosition: string;
151
+ proposedPosition: string;
152
+ loadingDiff: string;
153
+ };
154
+ };
112
155
  declare const de: PartialLocaleStrings;
113
156
  declare const fr: PartialLocaleStrings;
114
157
  declare const he: PartialLocaleStrings;