ooxml-core 1.12.1 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/README.md +1 -1
  2. package/dist/{PptxHandler-NROFYT2N.mjs → PptxHandler-FIN6XDTI.mjs} +2 -2
  3. package/dist/{PptxHandler-E44KDHMQ.mjs → PptxHandler-RWTOUCLC.mjs} +1 -1
  4. package/dist/{PptxHandler-DNZHAHUY.cjs → PptxHandler-UU4ZCT6H.cjs} +2 -2
  5. package/dist/automation/index.cjs +1353 -645
  6. package/dist/automation/index.mjs +1353 -645
  7. package/dist/{chunk-HCXUI5UC.mjs → chunk-6DELVMYB.mjs} +122 -7
  8. package/dist/{chunk-U2DF3EGK.mjs → chunk-B2JBBAEQ.mjs} +1 -1
  9. package/dist/{chunk-7DSZI7S6.mjs → chunk-G5PQKHCG.mjs} +1 -1
  10. package/dist/{chunk-EC2W2MDY.mjs → chunk-H2FRDUNV.mjs} +1 -1
  11. package/dist/{chunk-2UVH6RHI.cjs → chunk-IT3U6QD6.cjs} +22 -3
  12. package/dist/{chunk-YB5SRNFS.mjs → chunk-O6NIA4NG.mjs} +22 -3
  13. package/dist/{chunk-W5ARCUJB.mjs → chunk-TVE6UIJF.mjs} +3 -3
  14. package/dist/{chunk-DC4JDONB.mjs → chunk-V57HCOUM.mjs} +3 -0
  15. package/dist/{chunk-2V76L5AE.cjs → chunk-WVXCHFRU.cjs} +3 -0
  16. package/dist/i18n/index.cjs +272 -0
  17. package/dist/i18n/index.d.ts +1 -0
  18. package/dist/i18n/index.d.ts.map +1 -1
  19. package/dist/i18n/index.mjs +270 -1
  20. package/dist/i18n/option-strings.d.ts +17 -0
  21. package/dist/i18n/option-strings.d.ts.map +1 -0
  22. package/dist/i18n/translator.d.ts +6 -0
  23. package/dist/i18n/translator.d.ts.map +1 -1
  24. package/dist/index.cjs +273 -1
  25. package/dist/index.mjs +273 -1
  26. package/dist/pptx/automation/index.cjs +22 -3
  27. package/dist/pptx/automation/index.d.ts +4 -4
  28. package/dist/pptx/automation/index.mjs +5 -5
  29. package/dist/pptx/chunks/{elements-DD3UGOMd.d.ts → elements-DmbzOhFu.d.ts} +8 -1
  30. package/dist/pptx/chunks/{elements-DD3UGOMd.d.ts.map → elements-DmbzOhFu.d.ts.map} +1 -1
  31. package/dist/pptx/chunks/{index-DdX02BSm.d.ts → index-BmvOxbsh.d.ts} +3 -3
  32. package/dist/pptx/chunks/{index-DdX02BSm.d.ts.map → index-BmvOxbsh.d.ts.map} +1 -1
  33. package/dist/pptx/chunks/{index-BZrFyNtU.d.ts → index-Cija6Dih.d.ts} +42 -5
  34. package/dist/pptx/chunks/index-Cija6Dih.d.ts.map +1 -0
  35. package/dist/pptx/chunks/{text-operations-CyMTMfID.d.ts → text-operations-sXxhsKDd.d.ts} +2 -2
  36. package/dist/pptx/chunks/{text-operations-CyMTMfID.d.ts.map → text-operations-sXxhsKDd.d.ts.map} +1 -1
  37. package/dist/pptx/cli/index.cjs +22 -3
  38. package/dist/pptx/cli/index.d.ts +1 -1
  39. package/dist/pptx/cli/index.mjs +4 -4
  40. package/dist/pptx/converter/index.d.ts +1 -1
  41. package/dist/pptx/converter/index.mjs +2 -2
  42. package/dist/pptx/editor/render/find-replace.d.ts +2 -2
  43. package/dist/pptx/editor/render/slide-operations.cjs +1 -1
  44. package/dist/pptx/editor/render/slide-operations.mjs +1 -1
  45. package/dist/pptx/editor/render/table-style-editor-descriptor.cjs +3 -3
  46. package/dist/pptx/editor/render/table-style-editor-descriptor.d.ts.map +1 -1
  47. package/dist/pptx/editor/render/table-style-editor-descriptor.mjs +1 -1
  48. package/dist/pptx/editor/render/table-style-editor-edit.cjs +39 -13
  49. package/dist/pptx/editor/render/table-style-editor-edit.d.ts +11 -2
  50. package/dist/pptx/editor/render/table-style-editor-edit.d.ts.map +1 -1
  51. package/dist/pptx/editor/render/table-style-editor-edit.mjs +36 -10
  52. package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
  53. package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
  54. package/dist/pptx/index.cjs +130 -5
  55. package/dist/pptx/index.d.ts +5 -5
  56. package/dist/pptx/index.mjs +5 -5
  57. package/dist/pptx/ui/index.cjs +49 -6
  58. package/dist/pptx/ui/index.d.ts +25 -5
  59. package/dist/pptx/ui/index.d.ts.map +1 -1
  60. package/dist/pptx/ui/index.mjs +48 -7
  61. package/dist/teams/chat.d.ts +6 -0
  62. package/dist/teams/chat.d.ts.map +1 -1
  63. package/dist/teams/index.cjs +6019 -4894
  64. package/dist/teams/index.d.ts +3 -0
  65. package/dist/teams/index.d.ts.map +1 -1
  66. package/dist/teams/index.mjs +5997 -4895
  67. package/dist/teams/pins.d.ts +22 -0
  68. package/dist/teams/pins.d.ts.map +1 -0
  69. package/dist/teams/presence-controller.d.ts +39 -0
  70. package/dist/teams/presence-controller.d.ts.map +1 -0
  71. package/dist/teams/presence.d.ts +55 -0
  72. package/dist/teams/presence.d.ts.map +1 -0
  73. package/dist/teams/store.d.ts +21 -1
  74. package/dist/teams/store.d.ts.map +1 -1
  75. package/dist/teams/view.d.ts +5 -0
  76. package/dist/teams/view.d.ts.map +1 -1
  77. package/dist/teams/workspace.d.ts +10 -2
  78. package/dist/teams/workspace.d.ts.map +1 -1
  79. package/dist/xlsx/formula/evaluator.d.ts.map +1 -1
  80. package/dist/xlsx/formula/functions/amordegrc.d.ts +6 -0
  81. package/dist/xlsx/formula/functions/amordegrc.d.ts.map +1 -0
  82. package/dist/xlsx/formula/functions/bahttext.d.ts +4 -0
  83. package/dist/xlsx/formula/functions/bahttext.d.ts.map +1 -0
  84. package/dist/xlsx/formula/functions/bessel.d.ts +7 -0
  85. package/dist/xlsx/formula/functions/bessel.d.ts.map +1 -0
  86. package/dist/xlsx/formula/functions/bonds.d.ts +3 -0
  87. package/dist/xlsx/formula/functions/bonds.d.ts.map +1 -1
  88. package/dist/xlsx/formula/functions/engineering.d.ts.map +1 -1
  89. package/dist/xlsx/formula/functions/financial.d.ts.map +1 -1
  90. package/dist/xlsx/formula/functions/getpivotdata.d.ts +2 -0
  91. package/dist/xlsx/formula/functions/getpivotdata.d.ts.map +1 -0
  92. package/dist/xlsx/formula/functions/groupby.d.ts +3 -0
  93. package/dist/xlsx/formula/functions/groupby.d.ts.map +1 -0
  94. package/dist/xlsx/formula/functions/logical.d.ts.map +1 -1
  95. package/dist/xlsx/formula/functions/modern.d.ts +3 -0
  96. package/dist/xlsx/formula/functions/modern.d.ts.map +1 -0
  97. package/dist/xlsx/formula/functions/odd-securities.d.ts +3 -0
  98. package/dist/xlsx/formula/functions/odd-securities.d.ts.map +1 -0
  99. package/dist/xlsx/formula/functions/registry.d.ts.map +1 -1
  100. package/dist/xlsx/formula/values.d.ts +2 -0
  101. package/dist/xlsx/formula/values.d.ts.map +1 -1
  102. package/dist/xlsx/index.cjs +3470 -2765
  103. package/dist/xlsx/index.mjs +3470 -2765
  104. package/dist/xlsx/load/index.cjs +1207 -501
  105. package/dist/xlsx/load/index.mjs +1207 -501
  106. package/dist/xlsx/ui/index.cjs +3497 -2435
  107. package/dist/xlsx/ui/index.mjs +3497 -2435
  108. package/dist/xlsx/ui/locales/de/index.d.ts.map +1 -1
  109. package/dist/xlsx/ui/locales/de/options.d.ts +2 -0
  110. package/dist/xlsx/ui/locales/de/options.d.ts.map +1 -0
  111. package/dist/xlsx/ui/locales/de/shell.d.ts.map +1 -1
  112. package/dist/xlsx/ui/locales/en/index.d.ts.map +1 -1
  113. package/dist/xlsx/ui/locales/en/options.d.ts +2 -0
  114. package/dist/xlsx/ui/locales/en/options.d.ts.map +1 -0
  115. package/dist/xlsx/ui/locales/en/shell.d.ts.map +1 -1
  116. package/dist/xlsx/ui/locales/es/index.d.ts.map +1 -1
  117. package/dist/xlsx/ui/locales/es/options.d.ts +2 -0
  118. package/dist/xlsx/ui/locales/es/options.d.ts.map +1 -0
  119. package/dist/xlsx/ui/locales/es/shell.d.ts.map +1 -1
  120. package/dist/xlsx/ui/locales/fr/index.d.ts.map +1 -1
  121. package/dist/xlsx/ui/locales/fr/options.d.ts +2 -0
  122. package/dist/xlsx/ui/locales/fr/options.d.ts.map +1 -0
  123. package/dist/xlsx/ui/locales/fr/shell.d.ts.map +1 -1
  124. package/dist/xlsx/ui/locales/zh-CN/index.d.ts.map +1 -1
  125. package/dist/xlsx/ui/locales/zh-CN/options.d.ts +2 -0
  126. package/dist/xlsx/ui/locales/zh-CN/options.d.ts.map +1 -0
  127. package/dist/xlsx/ui/locales/zh-CN/shell.d.ts.map +1 -1
  128. package/package.json +1 -1
  129. package/dist/pptx/chunks/index-BZrFyNtU.d.ts.map +0 -1
@@ -58,11 +58,283 @@ function createTranslator(messages, fallbacks = [], options = {}) {
58
58
  return interpolate(text ?? options.missing?.(key) ?? key, params, placeholder);
59
59
  };
60
60
  }
61
+ function translateOr(translate, key, fallback, params) {
62
+ if (!translate) return fallback;
63
+ const text = translate(key, params);
64
+ return text && text !== key ? text : fallback;
65
+ }
66
+
67
+ // i18n/option-strings.ts
68
+ var enOptionStrings = {
69
+ General: "General",
70
+ Display: "Display",
71
+ Formulas: "Formulas",
72
+ Data: "Data",
73
+ Proofing: "Proofing",
74
+ Save: "Save",
75
+ Language: "Language",
76
+ Accessibility: "Accessibility",
77
+ Advanced: "Advanced",
78
+ "Customize Ribbon": "Customize Ribbon",
79
+ "Quick Access Toolbar": "Quick Access Toolbar",
80
+ "Add-ins": "Add-ins",
81
+ "Trust Center": "Trust Center",
82
+ OK: "OK",
83
+ Cancel: "Cancel",
84
+ Close: "Close",
85
+ Categories: "Categories",
86
+ "Reset all options": "Reset all options",
87
+ "General options for working with {product}.": "General options for working with {product}.",
88
+ "Change how {product} corrects and formats your text.": "Change how {product} corrects and formats your text.",
89
+ "Customize how documents are saved.": "Customize how documents are saved.",
90
+ "Set the Office Language Preferences.": "Set the Office Language Preferences.",
91
+ "Make {product} easier to work with.": "Make {product} easier to work with.",
92
+ "Advanced options for working with {product}.": "Advanced options for working with {product}.",
93
+ "Customize the Ribbon and keyboard shortcuts.": "Customize the Ribbon and keyboard shortcuts.",
94
+ "Customize the Quick Access Toolbar.": "Customize the Quick Access Toolbar.",
95
+ "View and manage Microsoft Office Add-ins.": "View and manage Microsoft Office Add-ins.",
96
+ "Help keep your documents safe and your computer secure and healthy.": "Help keep your documents safe and your computer secure and healthy.",
97
+ "User Interface options": "User Interface options",
98
+ "Show Mini Toolbar on selection": "Show Mini Toolbar on selection",
99
+ "Enable Live Preview": "Enable Live Preview",
100
+ "ScreenTip style": "ScreenTip style",
101
+ "Show feature descriptions in ScreenTips": "Show feature descriptions in ScreenTips",
102
+ "Personalize your copy of Microsoft Office": "Personalize your copy of Microsoft Office",
103
+ "User name": "User name",
104
+ "Office Theme": "Office Theme",
105
+ "Office display language": "Office display language",
106
+ "Choose the language for menus, buttons and messages.": "Choose the language for menus, buttons and messages.",
107
+ "Not available yet. Needs rich text formatting.": "Not available yet. Needs rich text formatting.",
108
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Not available yet. Styles are applied on click; hover previews are not drawn yet.",
109
+ "Not available yet. ScreenTips always describe the command.": "Not available yet. ScreenTips always describe the command.",
110
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Not available yet. Documents are saved to this device; AutoRecover is not kept.",
111
+ "Not available yet. There are no accessibility settings to change.": "Not available yet. There are no accessibility settings to change.",
112
+ "Not available yet. The editing behaviour is fixed.": "Not available yet. The editing behaviour is fixed.",
113
+ "Not available yet. The Quick Access Toolbar is fixed.": "Not available yet. The Quick Access Toolbar is fixed.",
114
+ "Not available yet. The ribbon layout is fixed.": "Not available yet. The ribbon layout is fixed.",
115
+ "Not available yet. The display language is fixed.": "Not available yet. The display language is fixed.",
116
+ "Not available. Add-ins and macros are never run.": "Not available. Add-ins and macros are never run.",
117
+ "Not available. Documents stay local and active content is never run.": "Not available. Documents stay local and active content is never run."
118
+ };
119
+ var frOptionStrings = {
120
+ General: "G\xE9n\xE9ral",
121
+ Display: "Affichage",
122
+ Formulas: "Formules",
123
+ Data: "Donn\xE9es",
124
+ Proofing: "V\xE9rification",
125
+ Save: "Enregistrer",
126
+ Language: "Langue",
127
+ Accessibility: "Accessibilit\xE9",
128
+ Advanced: "Options avanc\xE9es",
129
+ "Customize Ribbon": "Personnaliser le ruban",
130
+ "Quick Access Toolbar": "Barre d\u2019outils Acc\xE8s rapide",
131
+ "Add-ins": "Compl\xE9ments",
132
+ "Trust Center": "Centre de gestion de la confidentialit\xE9",
133
+ OK: "OK",
134
+ Cancel: "Annuler",
135
+ Close: "Fermer",
136
+ Categories: "Cat\xE9gories",
137
+ "Reset all options": "R\xE9initialiser toutes les options",
138
+ "General options for working with {product}.": "Options g\xE9n\xE9rales pour l\u2019utilisation de {product}.",
139
+ "Change how {product} corrects and formats your text.": "Modifiez la fa\xE7on dont {product} corrige et met en forme votre texte.",
140
+ "Customize how documents are saved.": "Personnalisez l\u2019enregistrement des documents.",
141
+ "Set the Office Language Preferences.": "D\xE9finissez les pr\xE9f\xE9rences de langue d\u2019Office.",
142
+ "Make {product} easier to work with.": "Facilitez l\u2019utilisation de {product}.",
143
+ "Advanced options for working with {product}.": "Options avanc\xE9es pour l\u2019utilisation de {product}.",
144
+ "Customize the Ribbon and keyboard shortcuts.": "Personnalisez le ruban et les raccourcis clavier.",
145
+ "Customize the Quick Access Toolbar.": "Personnalisez la barre d\u2019outils Acc\xE8s rapide.",
146
+ "View and manage Microsoft Office Add-ins.": "Affichez et g\xE9rez les compl\xE9ments Microsoft Office.",
147
+ "Help keep your documents safe and your computer secure and healthy.": "Prot\xE9gez vos documents et assurez la s\xE9curit\xE9 et le bon \xE9tat de votre ordinateur.",
148
+ "User Interface options": "Options de l\u2019interface utilisateur",
149
+ "Show Mini Toolbar on selection": "Afficher la mini barre d\u2019outils lors de la s\xE9lection",
150
+ "Enable Live Preview": "Activer l\u2019aper\xE7u dynamique",
151
+ "ScreenTip style": "Style des info-bulles",
152
+ "Show feature descriptions in ScreenTips": "Afficher les descriptions des fonctionnalit\xE9s dans les info-bulles",
153
+ "Personalize your copy of Microsoft Office": "Personnalisez votre copie de Microsoft Office",
154
+ "User name": "Nom d\u2019utilisateur",
155
+ "Office Theme": "Th\xE8me Office",
156
+ "Office display language": "Langue d\u2019affichage d\u2019Office",
157
+ "Choose the language for menus, buttons and messages.": "Choisissez la langue des menus, des boutons et des messages.",
158
+ "Not available yet. Needs rich text formatting.": "Pas encore disponible. N\xE9cessite la mise en forme de texte enrichi.",
159
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Pas encore disponible. Les styles s\u2019appliquent au clic ; les aper\xE7us au survol ne sont pas encore dessin\xE9s.",
160
+ "Not available yet. ScreenTips always describe the command.": "Pas encore disponible. Les info-bulles d\xE9crivent toujours la commande.",
161
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Pas encore disponible. Les documents sont enregistr\xE9s sur cet appareil ; la r\xE9cup\xE9ration automatique n\u2019est pas conserv\xE9e.",
162
+ "Not available yet. There are no accessibility settings to change.": "Pas encore disponible. Aucun param\xE8tre d\u2019accessibilit\xE9 n\u2019est modifiable.",
163
+ "Not available yet. The editing behaviour is fixed.": "Pas encore disponible. Le comportement de modification est fixe.",
164
+ "Not available yet. The Quick Access Toolbar is fixed.": "Pas encore disponible. La barre d\u2019outils Acc\xE8s rapide est fixe.",
165
+ "Not available yet. The ribbon layout is fixed.": "Pas encore disponible. La disposition du ruban est fixe.",
166
+ "Not available yet. The display language is fixed.": "Pas encore disponible. La langue d\u2019affichage est fixe.",
167
+ "Not available. Add-ins and macros are never run.": "Non disponible. Les compl\xE9ments et les macros ne sont jamais ex\xE9cut\xE9s.",
168
+ "Not available. Documents stay local and active content is never run.": "Non disponible. Les documents restent locaux et le contenu actif n\u2019est jamais ex\xE9cut\xE9."
169
+ };
170
+ var deOptionStrings = {
171
+ General: "Allgemein",
172
+ Display: "Anzeige",
173
+ Formulas: "Formeln",
174
+ Data: "Daten",
175
+ Proofing: "Dokumentpr\xFCfung",
176
+ Save: "Speichern",
177
+ Language: "Sprache",
178
+ Accessibility: "Barrierefreiheit",
179
+ Advanced: "Erweitert",
180
+ "Customize Ribbon": "Men\xFCband anpassen",
181
+ "Quick Access Toolbar": "Symbolleiste f\xFCr den Schnellzugriff",
182
+ "Add-ins": "Add-Ins",
183
+ "Trust Center": "Trust Center",
184
+ OK: "OK",
185
+ Cancel: "Abbrechen",
186
+ Close: "Schlie\xDFen",
187
+ Categories: "Kategorien",
188
+ "Reset all options": "Alle Optionen zur\xFCcksetzen",
189
+ "General options for working with {product}.": "Allgemeine Optionen f\xFCr die Arbeit mit {product}.",
190
+ "Change how {product} corrects and formats your text.": "\xC4ndern Sie, wie {product} Ihren Text korrigiert und formatiert.",
191
+ "Customize how documents are saved.": "Passen Sie an, wie Dokumente gespeichert werden.",
192
+ "Set the Office Language Preferences.": "Legen Sie die Office-Spracheinstellungen fest.",
193
+ "Make {product} easier to work with.": "Machen Sie {product} einfacher bedienbar.",
194
+ "Advanced options for working with {product}.": "Erweiterte Optionen f\xFCr die Arbeit mit {product}.",
195
+ "Customize the Ribbon and keyboard shortcuts.": "Passen Sie das Men\xFCband und die Tastenkombinationen an.",
196
+ "Customize the Quick Access Toolbar.": "Passen Sie die Symbolleiste f\xFCr den Schnellzugriff an.",
197
+ "View and manage Microsoft Office Add-ins.": "Microsoft Office-Add-Ins anzeigen und verwalten.",
198
+ "Help keep your documents safe and your computer secure and healthy.": "Sch\xFCtzen Sie Ihre Dokumente und halten Sie Ihren Computer sicher und fehlerfrei.",
199
+ "User Interface options": "Benutzeroberfl\xE4chenoptionen",
200
+ "Show Mini Toolbar on selection": "Minisymbolleiste bei Auswahl anzeigen",
201
+ "Enable Live Preview": "Livevorschau aktivieren",
202
+ "ScreenTip style": "QuickInfo-Format",
203
+ "Show feature descriptions in ScreenTips": "Funktionsbeschreibungen in QuickInfos anzeigen",
204
+ "Personalize your copy of Microsoft Office": "Microsoft Office personalisieren",
205
+ "User name": "Benutzername",
206
+ "Office Theme": "Office-Design",
207
+ "Office display language": "Office-Anzeigesprache",
208
+ "Choose the language for menus, buttons and messages.": "W\xE4hlen Sie die Sprache f\xFCr Men\xFCs, Schaltfl\xE4chen und Meldungen.",
209
+ "Not available yet. Needs rich text formatting.": "Noch nicht verf\xFCgbar. Erfordert Formatierung von Rich-Text.",
210
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Noch nicht verf\xFCgbar. Formatvorlagen werden per Klick angewendet; Vorschauen beim Dar\xFCberfahren werden noch nicht gezeichnet.",
211
+ "Not available yet. ScreenTips always describe the command.": "Noch nicht verf\xFCgbar. QuickInfos beschreiben immer den Befehl.",
212
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Noch nicht verf\xFCgbar. Dokumente werden auf diesem Ger\xE4t gespeichert; AutoWiederherstellen wird nicht gef\xFChrt.",
213
+ "Not available yet. There are no accessibility settings to change.": "Noch nicht verf\xFCgbar. Es gibt keine Einstellungen zur Barrierefreiheit zu \xE4ndern.",
214
+ "Not available yet. The editing behaviour is fixed.": "Noch nicht verf\xFCgbar. Das Bearbeitungsverhalten ist festgelegt.",
215
+ "Not available yet. The Quick Access Toolbar is fixed.": "Noch nicht verf\xFCgbar. Die Symbolleiste f\xFCr den Schnellzugriff ist festgelegt.",
216
+ "Not available yet. The ribbon layout is fixed.": "Noch nicht verf\xFCgbar. Das Men\xFCband-Layout ist festgelegt.",
217
+ "Not available yet. The display language is fixed.": "Noch nicht verf\xFCgbar. Die Anzeigesprache ist festgelegt.",
218
+ "Not available. Add-ins and macros are never run.": "Nicht verf\xFCgbar. Add-Ins und Makros werden nie ausgef\xFChrt.",
219
+ "Not available. Documents stay local and active content is never run.": "Nicht verf\xFCgbar. Dokumente bleiben lokal und aktive Inhalte werden nie ausgef\xFChrt."
220
+ };
221
+ var esOptionStrings = {
222
+ General: "General",
223
+ Display: "Mostrar",
224
+ Formulas: "F\xF3rmulas",
225
+ Data: "Datos",
226
+ Proofing: "Revisi\xF3n",
227
+ Save: "Guardar",
228
+ Language: "Idioma",
229
+ Accessibility: "Accesibilidad",
230
+ Advanced: "Avanzadas",
231
+ "Customize Ribbon": "Personalizar cinta de opciones",
232
+ "Quick Access Toolbar": "Barra de herramientas de acceso r\xE1pido",
233
+ "Add-ins": "Complementos",
234
+ "Trust Center": "Centro de confianza",
235
+ OK: "Aceptar",
236
+ Cancel: "Cancelar",
237
+ Close: "Cerrar",
238
+ Categories: "Categor\xEDas",
239
+ "Reset all options": "Restablecer todas las opciones",
240
+ "General options for working with {product}.": "Opciones generales para trabajar con {product}.",
241
+ "Change how {product} corrects and formats your text.": "Cambie la forma en que {product} corrige y da formato al texto.",
242
+ "Customize how documents are saved.": "Personalice c\xF3mo se guardan los documentos.",
243
+ "Set the Office Language Preferences.": "Establezca las preferencias de idioma de Office.",
244
+ "Make {product} easier to work with.": "Haga que {product} sea m\xE1s f\xE1cil de usar.",
245
+ "Advanced options for working with {product}.": "Opciones avanzadas para trabajar con {product}.",
246
+ "Customize the Ribbon and keyboard shortcuts.": "Personalice la cinta de opciones y los m\xE9todos abreviados de teclado.",
247
+ "Customize the Quick Access Toolbar.": "Personalice la barra de herramientas de acceso r\xE1pido.",
248
+ "View and manage Microsoft Office Add-ins.": "Vea y administre los complementos de Microsoft Office.",
249
+ "Help keep your documents safe and your computer secure and healthy.": "Ayude a mantener seguros sus documentos y a proteger y mantener en buen estado su equipo.",
250
+ "User Interface options": "Opciones de la interfaz de usuario",
251
+ "Show Mini Toolbar on selection": "Mostrar minibarra de herramientas al seleccionar",
252
+ "Enable Live Preview": "Habilitar vistas previas din\xE1micas",
253
+ "ScreenTip style": "Estilo de la informaci\xF3n en pantalla",
254
+ "Show feature descriptions in ScreenTips": "Mostrar descripciones de caracter\xEDsticas en la informaci\xF3n en pantalla",
255
+ "Personalize your copy of Microsoft Office": "Personalice su copia de Microsoft Office",
256
+ "User name": "Nombre de usuario",
257
+ "Office Theme": "Tema de Office",
258
+ "Office display language": "Idioma de presentaci\xF3n de Office",
259
+ "Choose the language for menus, buttons and messages.": "Elija el idioma de los men\xFAs, los botones y los mensajes.",
260
+ "Not available yet. Needs rich text formatting.": "A\xFAn no disponible. Requiere formato de texto enriquecido.",
261
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "A\xFAn no disponible. Los estilos se aplican al hacer clic; las vistas previas al pasar el cursor todav\xEDa no se dibujan.",
262
+ "Not available yet. ScreenTips always describe the command.": "A\xFAn no disponible. La informaci\xF3n en pantalla siempre describe el comando.",
263
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "A\xFAn no disponible. Los documentos se guardan en este dispositivo; no se conserva la recuperaci\xF3n autom\xE1tica.",
264
+ "Not available yet. There are no accessibility settings to change.": "A\xFAn no disponible. No hay opciones de accesibilidad que cambiar.",
265
+ "Not available yet. The editing behaviour is fixed.": "A\xFAn no disponible. El comportamiento de edici\xF3n es fijo.",
266
+ "Not available yet. The Quick Access Toolbar is fixed.": "A\xFAn no disponible. La barra de herramientas de acceso r\xE1pido es fija.",
267
+ "Not available yet. The ribbon layout is fixed.": "A\xFAn no disponible. El dise\xF1o de la cinta de opciones es fijo.",
268
+ "Not available yet. The display language is fixed.": "A\xFAn no disponible. El idioma de presentaci\xF3n es fijo.",
269
+ "Not available. Add-ins and macros are never run.": "No disponible. Los complementos y las macros nunca se ejecutan.",
270
+ "Not available. Documents stay local and active content is never run.": "No disponible. Los documentos permanecen locales y el contenido activo nunca se ejecuta."
271
+ };
272
+ var zhOptionStrings = {
273
+ General: "\u5E38\u89C4",
274
+ Display: "\u663E\u793A",
275
+ Formulas: "\u516C\u5F0F",
276
+ Data: "\u6570\u636E",
277
+ Proofing: "\u6821\u5BF9",
278
+ Save: "\u4FDD\u5B58",
279
+ Language: "\u8BED\u8A00",
280
+ Accessibility: "\u8F85\u52A9\u529F\u80FD",
281
+ Advanced: "\u9AD8\u7EA7",
282
+ "Customize Ribbon": "\u81EA\u5B9A\u4E49\u529F\u80FD\u533A",
283
+ "Quick Access Toolbar": "\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F",
284
+ "Add-ins": "\u52A0\u8F7D\u9879",
285
+ "Trust Center": "\u4FE1\u4EFB\u4E2D\u5FC3",
286
+ OK: "\u786E\u5B9A",
287
+ Cancel: "\u53D6\u6D88",
288
+ Close: "\u5173\u95ED",
289
+ Categories: "\u7C7B\u522B",
290
+ "Reset all options": "\u91CD\u7F6E\u6240\u6709\u9009\u9879",
291
+ "General options for working with {product}.": "\u4F7F\u7528 {product} \u7684\u5E38\u89C4\u9009\u9879\u3002",
292
+ "Change how {product} corrects and formats your text.": "\u66F4\u6539 {product} \u66F4\u6B63\u548C\u8BBE\u7F6E\u6587\u672C\u683C\u5F0F\u7684\u65B9\u5F0F\u3002",
293
+ "Customize how documents are saved.": "\u81EA\u5B9A\u4E49\u4FDD\u5B58\u6587\u6863\u7684\u65B9\u5F0F\u3002",
294
+ "Set the Office Language Preferences.": "\u8BBE\u7F6E Office \u8BED\u8A00\u9996\u9009\u9879\u3002",
295
+ "Make {product} easier to work with.": "\u8BA9 {product} \u66F4\u6613\u4E8E\u4F7F\u7528\u3002",
296
+ "Advanced options for working with {product}.": "\u4F7F\u7528 {product} \u7684\u9AD8\u7EA7\u9009\u9879\u3002",
297
+ "Customize the Ribbon and keyboard shortcuts.": "\u81EA\u5B9A\u4E49\u529F\u80FD\u533A\u548C\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002",
298
+ "Customize the Quick Access Toolbar.": "\u81EA\u5B9A\u4E49\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F\u3002",
299
+ "View and manage Microsoft Office Add-ins.": "\u67E5\u770B\u548C\u7BA1\u7406 Microsoft Office \u52A0\u8F7D\u9879\u3002",
300
+ "Help keep your documents safe and your computer secure and healthy.": "\u5E2E\u52A9\u4FDD\u969C\u6587\u6863\u5B89\u5168\uFF0C\u5E76\u4F7F\u8BA1\u7B97\u673A\u4FDD\u6301\u5B89\u5168\u548C\u5065\u5EB7\u3002",
301
+ "User Interface options": "\u7528\u6237\u754C\u9762\u9009\u9879",
302
+ "Show Mini Toolbar on selection": "\u9009\u62E9\u65F6\u663E\u793A\u6D6E\u52A8\u5DE5\u5177\u680F",
303
+ "Enable Live Preview": "\u542F\u7528\u5B9E\u65F6\u9884\u89C8",
304
+ "ScreenTip style": "\u5C4F\u5E55\u63D0\u793A\u6837\u5F0F",
305
+ "Show feature descriptions in ScreenTips": "\u5728\u5C4F\u5E55\u63D0\u793A\u4E2D\u663E\u793A\u529F\u80FD\u8BF4\u660E",
306
+ "Personalize your copy of Microsoft Office": "\u5BF9 Microsoft Office \u8FDB\u884C\u4E2A\u6027\u5316\u8BBE\u7F6E",
307
+ "User name": "\u7528\u6237\u540D",
308
+ "Office Theme": "Office \u4E3B\u9898",
309
+ "Office display language": "Office \u663E\u793A\u8BED\u8A00",
310
+ "Choose the language for menus, buttons and messages.": "\u9009\u62E9\u83DC\u5355\u3001\u6309\u94AE\u548C\u6D88\u606F\u4F7F\u7528\u7684\u8BED\u8A00\u3002",
311
+ "Not available yet. Needs rich text formatting.": "\u6682\u4E0D\u53EF\u7528\u3002\u9700\u8981\u5BCC\u6587\u672C\u683C\u5F0F\u3002",
312
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "\u6682\u4E0D\u53EF\u7528\u3002\u6837\u5F0F\u5728\u5355\u51FB\u65F6\u5E94\u7528\uFF1B\u5C1A\u4E0D\u7ED8\u5236\u60AC\u505C\u9884\u89C8\u3002",
313
+ "Not available yet. ScreenTips always describe the command.": "\u6682\u4E0D\u53EF\u7528\u3002\u5C4F\u5E55\u63D0\u793A\u59CB\u7EC8\u63CF\u8FF0\u8BE5\u547D\u4EE4\u3002",
314
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "\u6682\u4E0D\u53EF\u7528\u3002\u6587\u6863\u4FDD\u5B58\u5230\u6B64\u8BBE\u5907\uFF1B\u4E0D\u4FDD\u7559\u81EA\u52A8\u6062\u590D\u3002",
315
+ "Not available yet. There are no accessibility settings to change.": "\u6682\u4E0D\u53EF\u7528\u3002\u6CA1\u6709\u53EF\u66F4\u6539\u7684\u8F85\u52A9\u529F\u80FD\u8BBE\u7F6E\u3002",
316
+ "Not available yet. The editing behaviour is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u7F16\u8F91\u884C\u4E3A\u662F\u56FA\u5B9A\u7684\u3002",
317
+ "Not available yet. The Quick Access Toolbar is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F\u662F\u56FA\u5B9A\u7684\u3002",
318
+ "Not available yet. The ribbon layout is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u529F\u80FD\u533A\u5E03\u5C40\u662F\u56FA\u5B9A\u7684\u3002",
319
+ "Not available yet. The display language is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u663E\u793A\u8BED\u8A00\u662F\u56FA\u5B9A\u7684\u3002",
320
+ "Not available. Add-ins and macros are never run.": "\u4E0D\u53EF\u7528\u3002\u52A0\u8F7D\u9879\u548C\u5B8F\u6C38\u8FDC\u4E0D\u4F1A\u8FD0\u884C\u3002",
321
+ "Not available. Documents stay local and active content is never run.": "\u4E0D\u53EF\u7528\u3002\u6587\u6863\u4FDD\u7559\u5728\u672C\u5730\uFF0C\u6D3B\u52A8\u5185\u5BB9\u6C38\u8FDC\u4E0D\u4F1A\u8FD0\u884C\u3002"
322
+ };
323
+ var optionStrings = {
324
+ en: enOptionStrings,
325
+ fr: frOptionStrings,
326
+ de: deOptionStrings,
327
+ es: esOptionStrings,
328
+ "zh-CN": zhOptionStrings
329
+ };
61
330
 
62
331
  exports.SUPPORTED_OFFICE_LOCALES = SUPPORTED_OFFICE_LOCALES;
63
332
  exports.createTranslator = createTranslator;
333
+ exports.enOptionStrings = enOptionStrings;
64
334
  exports.interpolate = interpolate;
65
335
  exports.mergeMessageModules = mergeMessageModules;
66
336
  exports.missingMessageKeys = missingMessageKeys;
67
337
  exports.normalizeLocale = normalizeLocale;
68
338
  exports.normalizeOfficeLocale = normalizeOfficeLocale;
339
+ exports.optionStrings = optionStrings;
340
+ exports.translateOr = translateOr;
@@ -1,4 +1,5 @@
1
1
  export * from './locale.js';
2
2
  export * from './dictionary.js';
3
3
  export * from './translator.js';
4
+ export * from './option-strings.js';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../i18n/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../i18n/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -56,5 +56,274 @@ function createTranslator(messages, fallbacks = [], options = {}) {
56
56
  return interpolate(text ?? options.missing?.(key) ?? key, params, placeholder);
57
57
  };
58
58
  }
59
+ function translateOr(translate, key, fallback, params) {
60
+ if (!translate) return fallback;
61
+ const text = translate(key, params);
62
+ return text && text !== key ? text : fallback;
63
+ }
64
+
65
+ // i18n/option-strings.ts
66
+ var enOptionStrings = {
67
+ General: "General",
68
+ Display: "Display",
69
+ Formulas: "Formulas",
70
+ Data: "Data",
71
+ Proofing: "Proofing",
72
+ Save: "Save",
73
+ Language: "Language",
74
+ Accessibility: "Accessibility",
75
+ Advanced: "Advanced",
76
+ "Customize Ribbon": "Customize Ribbon",
77
+ "Quick Access Toolbar": "Quick Access Toolbar",
78
+ "Add-ins": "Add-ins",
79
+ "Trust Center": "Trust Center",
80
+ OK: "OK",
81
+ Cancel: "Cancel",
82
+ Close: "Close",
83
+ Categories: "Categories",
84
+ "Reset all options": "Reset all options",
85
+ "General options for working with {product}.": "General options for working with {product}.",
86
+ "Change how {product} corrects and formats your text.": "Change how {product} corrects and formats your text.",
87
+ "Customize how documents are saved.": "Customize how documents are saved.",
88
+ "Set the Office Language Preferences.": "Set the Office Language Preferences.",
89
+ "Make {product} easier to work with.": "Make {product} easier to work with.",
90
+ "Advanced options for working with {product}.": "Advanced options for working with {product}.",
91
+ "Customize the Ribbon and keyboard shortcuts.": "Customize the Ribbon and keyboard shortcuts.",
92
+ "Customize the Quick Access Toolbar.": "Customize the Quick Access Toolbar.",
93
+ "View and manage Microsoft Office Add-ins.": "View and manage Microsoft Office Add-ins.",
94
+ "Help keep your documents safe and your computer secure and healthy.": "Help keep your documents safe and your computer secure and healthy.",
95
+ "User Interface options": "User Interface options",
96
+ "Show Mini Toolbar on selection": "Show Mini Toolbar on selection",
97
+ "Enable Live Preview": "Enable Live Preview",
98
+ "ScreenTip style": "ScreenTip style",
99
+ "Show feature descriptions in ScreenTips": "Show feature descriptions in ScreenTips",
100
+ "Personalize your copy of Microsoft Office": "Personalize your copy of Microsoft Office",
101
+ "User name": "User name",
102
+ "Office Theme": "Office Theme",
103
+ "Office display language": "Office display language",
104
+ "Choose the language for menus, buttons and messages.": "Choose the language for menus, buttons and messages.",
105
+ "Not available yet. Needs rich text formatting.": "Not available yet. Needs rich text formatting.",
106
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Not available yet. Styles are applied on click; hover previews are not drawn yet.",
107
+ "Not available yet. ScreenTips always describe the command.": "Not available yet. ScreenTips always describe the command.",
108
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Not available yet. Documents are saved to this device; AutoRecover is not kept.",
109
+ "Not available yet. There are no accessibility settings to change.": "Not available yet. There are no accessibility settings to change.",
110
+ "Not available yet. The editing behaviour is fixed.": "Not available yet. The editing behaviour is fixed.",
111
+ "Not available yet. The Quick Access Toolbar is fixed.": "Not available yet. The Quick Access Toolbar is fixed.",
112
+ "Not available yet. The ribbon layout is fixed.": "Not available yet. The ribbon layout is fixed.",
113
+ "Not available yet. The display language is fixed.": "Not available yet. The display language is fixed.",
114
+ "Not available. Add-ins and macros are never run.": "Not available. Add-ins and macros are never run.",
115
+ "Not available. Documents stay local and active content is never run.": "Not available. Documents stay local and active content is never run."
116
+ };
117
+ var frOptionStrings = {
118
+ General: "G\xE9n\xE9ral",
119
+ Display: "Affichage",
120
+ Formulas: "Formules",
121
+ Data: "Donn\xE9es",
122
+ Proofing: "V\xE9rification",
123
+ Save: "Enregistrer",
124
+ Language: "Langue",
125
+ Accessibility: "Accessibilit\xE9",
126
+ Advanced: "Options avanc\xE9es",
127
+ "Customize Ribbon": "Personnaliser le ruban",
128
+ "Quick Access Toolbar": "Barre d\u2019outils Acc\xE8s rapide",
129
+ "Add-ins": "Compl\xE9ments",
130
+ "Trust Center": "Centre de gestion de la confidentialit\xE9",
131
+ OK: "OK",
132
+ Cancel: "Annuler",
133
+ Close: "Fermer",
134
+ Categories: "Cat\xE9gories",
135
+ "Reset all options": "R\xE9initialiser toutes les options",
136
+ "General options for working with {product}.": "Options g\xE9n\xE9rales pour l\u2019utilisation de {product}.",
137
+ "Change how {product} corrects and formats your text.": "Modifiez la fa\xE7on dont {product} corrige et met en forme votre texte.",
138
+ "Customize how documents are saved.": "Personnalisez l\u2019enregistrement des documents.",
139
+ "Set the Office Language Preferences.": "D\xE9finissez les pr\xE9f\xE9rences de langue d\u2019Office.",
140
+ "Make {product} easier to work with.": "Facilitez l\u2019utilisation de {product}.",
141
+ "Advanced options for working with {product}.": "Options avanc\xE9es pour l\u2019utilisation de {product}.",
142
+ "Customize the Ribbon and keyboard shortcuts.": "Personnalisez le ruban et les raccourcis clavier.",
143
+ "Customize the Quick Access Toolbar.": "Personnalisez la barre d\u2019outils Acc\xE8s rapide.",
144
+ "View and manage Microsoft Office Add-ins.": "Affichez et g\xE9rez les compl\xE9ments Microsoft Office.",
145
+ "Help keep your documents safe and your computer secure and healthy.": "Prot\xE9gez vos documents et assurez la s\xE9curit\xE9 et le bon \xE9tat de votre ordinateur.",
146
+ "User Interface options": "Options de l\u2019interface utilisateur",
147
+ "Show Mini Toolbar on selection": "Afficher la mini barre d\u2019outils lors de la s\xE9lection",
148
+ "Enable Live Preview": "Activer l\u2019aper\xE7u dynamique",
149
+ "ScreenTip style": "Style des info-bulles",
150
+ "Show feature descriptions in ScreenTips": "Afficher les descriptions des fonctionnalit\xE9s dans les info-bulles",
151
+ "Personalize your copy of Microsoft Office": "Personnalisez votre copie de Microsoft Office",
152
+ "User name": "Nom d\u2019utilisateur",
153
+ "Office Theme": "Th\xE8me Office",
154
+ "Office display language": "Langue d\u2019affichage d\u2019Office",
155
+ "Choose the language for menus, buttons and messages.": "Choisissez la langue des menus, des boutons et des messages.",
156
+ "Not available yet. Needs rich text formatting.": "Pas encore disponible. N\xE9cessite la mise en forme de texte enrichi.",
157
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Pas encore disponible. Les styles s\u2019appliquent au clic ; les aper\xE7us au survol ne sont pas encore dessin\xE9s.",
158
+ "Not available yet. ScreenTips always describe the command.": "Pas encore disponible. Les info-bulles d\xE9crivent toujours la commande.",
159
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Pas encore disponible. Les documents sont enregistr\xE9s sur cet appareil ; la r\xE9cup\xE9ration automatique n\u2019est pas conserv\xE9e.",
160
+ "Not available yet. There are no accessibility settings to change.": "Pas encore disponible. Aucun param\xE8tre d\u2019accessibilit\xE9 n\u2019est modifiable.",
161
+ "Not available yet. The editing behaviour is fixed.": "Pas encore disponible. Le comportement de modification est fixe.",
162
+ "Not available yet. The Quick Access Toolbar is fixed.": "Pas encore disponible. La barre d\u2019outils Acc\xE8s rapide est fixe.",
163
+ "Not available yet. The ribbon layout is fixed.": "Pas encore disponible. La disposition du ruban est fixe.",
164
+ "Not available yet. The display language is fixed.": "Pas encore disponible. La langue d\u2019affichage est fixe.",
165
+ "Not available. Add-ins and macros are never run.": "Non disponible. Les compl\xE9ments et les macros ne sont jamais ex\xE9cut\xE9s.",
166
+ "Not available. Documents stay local and active content is never run.": "Non disponible. Les documents restent locaux et le contenu actif n\u2019est jamais ex\xE9cut\xE9."
167
+ };
168
+ var deOptionStrings = {
169
+ General: "Allgemein",
170
+ Display: "Anzeige",
171
+ Formulas: "Formeln",
172
+ Data: "Daten",
173
+ Proofing: "Dokumentpr\xFCfung",
174
+ Save: "Speichern",
175
+ Language: "Sprache",
176
+ Accessibility: "Barrierefreiheit",
177
+ Advanced: "Erweitert",
178
+ "Customize Ribbon": "Men\xFCband anpassen",
179
+ "Quick Access Toolbar": "Symbolleiste f\xFCr den Schnellzugriff",
180
+ "Add-ins": "Add-Ins",
181
+ "Trust Center": "Trust Center",
182
+ OK: "OK",
183
+ Cancel: "Abbrechen",
184
+ Close: "Schlie\xDFen",
185
+ Categories: "Kategorien",
186
+ "Reset all options": "Alle Optionen zur\xFCcksetzen",
187
+ "General options for working with {product}.": "Allgemeine Optionen f\xFCr die Arbeit mit {product}.",
188
+ "Change how {product} corrects and formats your text.": "\xC4ndern Sie, wie {product} Ihren Text korrigiert und formatiert.",
189
+ "Customize how documents are saved.": "Passen Sie an, wie Dokumente gespeichert werden.",
190
+ "Set the Office Language Preferences.": "Legen Sie die Office-Spracheinstellungen fest.",
191
+ "Make {product} easier to work with.": "Machen Sie {product} einfacher bedienbar.",
192
+ "Advanced options for working with {product}.": "Erweiterte Optionen f\xFCr die Arbeit mit {product}.",
193
+ "Customize the Ribbon and keyboard shortcuts.": "Passen Sie das Men\xFCband und die Tastenkombinationen an.",
194
+ "Customize the Quick Access Toolbar.": "Passen Sie die Symbolleiste f\xFCr den Schnellzugriff an.",
195
+ "View and manage Microsoft Office Add-ins.": "Microsoft Office-Add-Ins anzeigen und verwalten.",
196
+ "Help keep your documents safe and your computer secure and healthy.": "Sch\xFCtzen Sie Ihre Dokumente und halten Sie Ihren Computer sicher und fehlerfrei.",
197
+ "User Interface options": "Benutzeroberfl\xE4chenoptionen",
198
+ "Show Mini Toolbar on selection": "Minisymbolleiste bei Auswahl anzeigen",
199
+ "Enable Live Preview": "Livevorschau aktivieren",
200
+ "ScreenTip style": "QuickInfo-Format",
201
+ "Show feature descriptions in ScreenTips": "Funktionsbeschreibungen in QuickInfos anzeigen",
202
+ "Personalize your copy of Microsoft Office": "Microsoft Office personalisieren",
203
+ "User name": "Benutzername",
204
+ "Office Theme": "Office-Design",
205
+ "Office display language": "Office-Anzeigesprache",
206
+ "Choose the language for menus, buttons and messages.": "W\xE4hlen Sie die Sprache f\xFCr Men\xFCs, Schaltfl\xE4chen und Meldungen.",
207
+ "Not available yet. Needs rich text formatting.": "Noch nicht verf\xFCgbar. Erfordert Formatierung von Rich-Text.",
208
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "Noch nicht verf\xFCgbar. Formatvorlagen werden per Klick angewendet; Vorschauen beim Dar\xFCberfahren werden noch nicht gezeichnet.",
209
+ "Not available yet. ScreenTips always describe the command.": "Noch nicht verf\xFCgbar. QuickInfos beschreiben immer den Befehl.",
210
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "Noch nicht verf\xFCgbar. Dokumente werden auf diesem Ger\xE4t gespeichert; AutoWiederherstellen wird nicht gef\xFChrt.",
211
+ "Not available yet. There are no accessibility settings to change.": "Noch nicht verf\xFCgbar. Es gibt keine Einstellungen zur Barrierefreiheit zu \xE4ndern.",
212
+ "Not available yet. The editing behaviour is fixed.": "Noch nicht verf\xFCgbar. Das Bearbeitungsverhalten ist festgelegt.",
213
+ "Not available yet. The Quick Access Toolbar is fixed.": "Noch nicht verf\xFCgbar. Die Symbolleiste f\xFCr den Schnellzugriff ist festgelegt.",
214
+ "Not available yet. The ribbon layout is fixed.": "Noch nicht verf\xFCgbar. Das Men\xFCband-Layout ist festgelegt.",
215
+ "Not available yet. The display language is fixed.": "Noch nicht verf\xFCgbar. Die Anzeigesprache ist festgelegt.",
216
+ "Not available. Add-ins and macros are never run.": "Nicht verf\xFCgbar. Add-Ins und Makros werden nie ausgef\xFChrt.",
217
+ "Not available. Documents stay local and active content is never run.": "Nicht verf\xFCgbar. Dokumente bleiben lokal und aktive Inhalte werden nie ausgef\xFChrt."
218
+ };
219
+ var esOptionStrings = {
220
+ General: "General",
221
+ Display: "Mostrar",
222
+ Formulas: "F\xF3rmulas",
223
+ Data: "Datos",
224
+ Proofing: "Revisi\xF3n",
225
+ Save: "Guardar",
226
+ Language: "Idioma",
227
+ Accessibility: "Accesibilidad",
228
+ Advanced: "Avanzadas",
229
+ "Customize Ribbon": "Personalizar cinta de opciones",
230
+ "Quick Access Toolbar": "Barra de herramientas de acceso r\xE1pido",
231
+ "Add-ins": "Complementos",
232
+ "Trust Center": "Centro de confianza",
233
+ OK: "Aceptar",
234
+ Cancel: "Cancelar",
235
+ Close: "Cerrar",
236
+ Categories: "Categor\xEDas",
237
+ "Reset all options": "Restablecer todas las opciones",
238
+ "General options for working with {product}.": "Opciones generales para trabajar con {product}.",
239
+ "Change how {product} corrects and formats your text.": "Cambie la forma en que {product} corrige y da formato al texto.",
240
+ "Customize how documents are saved.": "Personalice c\xF3mo se guardan los documentos.",
241
+ "Set the Office Language Preferences.": "Establezca las preferencias de idioma de Office.",
242
+ "Make {product} easier to work with.": "Haga que {product} sea m\xE1s f\xE1cil de usar.",
243
+ "Advanced options for working with {product}.": "Opciones avanzadas para trabajar con {product}.",
244
+ "Customize the Ribbon and keyboard shortcuts.": "Personalice la cinta de opciones y los m\xE9todos abreviados de teclado.",
245
+ "Customize the Quick Access Toolbar.": "Personalice la barra de herramientas de acceso r\xE1pido.",
246
+ "View and manage Microsoft Office Add-ins.": "Vea y administre los complementos de Microsoft Office.",
247
+ "Help keep your documents safe and your computer secure and healthy.": "Ayude a mantener seguros sus documentos y a proteger y mantener en buen estado su equipo.",
248
+ "User Interface options": "Opciones de la interfaz de usuario",
249
+ "Show Mini Toolbar on selection": "Mostrar minibarra de herramientas al seleccionar",
250
+ "Enable Live Preview": "Habilitar vistas previas din\xE1micas",
251
+ "ScreenTip style": "Estilo de la informaci\xF3n en pantalla",
252
+ "Show feature descriptions in ScreenTips": "Mostrar descripciones de caracter\xEDsticas en la informaci\xF3n en pantalla",
253
+ "Personalize your copy of Microsoft Office": "Personalice su copia de Microsoft Office",
254
+ "User name": "Nombre de usuario",
255
+ "Office Theme": "Tema de Office",
256
+ "Office display language": "Idioma de presentaci\xF3n de Office",
257
+ "Choose the language for menus, buttons and messages.": "Elija el idioma de los men\xFAs, los botones y los mensajes.",
258
+ "Not available yet. Needs rich text formatting.": "A\xFAn no disponible. Requiere formato de texto enriquecido.",
259
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "A\xFAn no disponible. Los estilos se aplican al hacer clic; las vistas previas al pasar el cursor todav\xEDa no se dibujan.",
260
+ "Not available yet. ScreenTips always describe the command.": "A\xFAn no disponible. La informaci\xF3n en pantalla siempre describe el comando.",
261
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "A\xFAn no disponible. Los documentos se guardan en este dispositivo; no se conserva la recuperaci\xF3n autom\xE1tica.",
262
+ "Not available yet. There are no accessibility settings to change.": "A\xFAn no disponible. No hay opciones de accesibilidad que cambiar.",
263
+ "Not available yet. The editing behaviour is fixed.": "A\xFAn no disponible. El comportamiento de edici\xF3n es fijo.",
264
+ "Not available yet. The Quick Access Toolbar is fixed.": "A\xFAn no disponible. La barra de herramientas de acceso r\xE1pido es fija.",
265
+ "Not available yet. The ribbon layout is fixed.": "A\xFAn no disponible. El dise\xF1o de la cinta de opciones es fijo.",
266
+ "Not available yet. The display language is fixed.": "A\xFAn no disponible. El idioma de presentaci\xF3n es fijo.",
267
+ "Not available. Add-ins and macros are never run.": "No disponible. Los complementos y las macros nunca se ejecutan.",
268
+ "Not available. Documents stay local and active content is never run.": "No disponible. Los documentos permanecen locales y el contenido activo nunca se ejecuta."
269
+ };
270
+ var zhOptionStrings = {
271
+ General: "\u5E38\u89C4",
272
+ Display: "\u663E\u793A",
273
+ Formulas: "\u516C\u5F0F",
274
+ Data: "\u6570\u636E",
275
+ Proofing: "\u6821\u5BF9",
276
+ Save: "\u4FDD\u5B58",
277
+ Language: "\u8BED\u8A00",
278
+ Accessibility: "\u8F85\u52A9\u529F\u80FD",
279
+ Advanced: "\u9AD8\u7EA7",
280
+ "Customize Ribbon": "\u81EA\u5B9A\u4E49\u529F\u80FD\u533A",
281
+ "Quick Access Toolbar": "\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F",
282
+ "Add-ins": "\u52A0\u8F7D\u9879",
283
+ "Trust Center": "\u4FE1\u4EFB\u4E2D\u5FC3",
284
+ OK: "\u786E\u5B9A",
285
+ Cancel: "\u53D6\u6D88",
286
+ Close: "\u5173\u95ED",
287
+ Categories: "\u7C7B\u522B",
288
+ "Reset all options": "\u91CD\u7F6E\u6240\u6709\u9009\u9879",
289
+ "General options for working with {product}.": "\u4F7F\u7528 {product} \u7684\u5E38\u89C4\u9009\u9879\u3002",
290
+ "Change how {product} corrects and formats your text.": "\u66F4\u6539 {product} \u66F4\u6B63\u548C\u8BBE\u7F6E\u6587\u672C\u683C\u5F0F\u7684\u65B9\u5F0F\u3002",
291
+ "Customize how documents are saved.": "\u81EA\u5B9A\u4E49\u4FDD\u5B58\u6587\u6863\u7684\u65B9\u5F0F\u3002",
292
+ "Set the Office Language Preferences.": "\u8BBE\u7F6E Office \u8BED\u8A00\u9996\u9009\u9879\u3002",
293
+ "Make {product} easier to work with.": "\u8BA9 {product} \u66F4\u6613\u4E8E\u4F7F\u7528\u3002",
294
+ "Advanced options for working with {product}.": "\u4F7F\u7528 {product} \u7684\u9AD8\u7EA7\u9009\u9879\u3002",
295
+ "Customize the Ribbon and keyboard shortcuts.": "\u81EA\u5B9A\u4E49\u529F\u80FD\u533A\u548C\u952E\u76D8\u5FEB\u6377\u65B9\u5F0F\u3002",
296
+ "Customize the Quick Access Toolbar.": "\u81EA\u5B9A\u4E49\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F\u3002",
297
+ "View and manage Microsoft Office Add-ins.": "\u67E5\u770B\u548C\u7BA1\u7406 Microsoft Office \u52A0\u8F7D\u9879\u3002",
298
+ "Help keep your documents safe and your computer secure and healthy.": "\u5E2E\u52A9\u4FDD\u969C\u6587\u6863\u5B89\u5168\uFF0C\u5E76\u4F7F\u8BA1\u7B97\u673A\u4FDD\u6301\u5B89\u5168\u548C\u5065\u5EB7\u3002",
299
+ "User Interface options": "\u7528\u6237\u754C\u9762\u9009\u9879",
300
+ "Show Mini Toolbar on selection": "\u9009\u62E9\u65F6\u663E\u793A\u6D6E\u52A8\u5DE5\u5177\u680F",
301
+ "Enable Live Preview": "\u542F\u7528\u5B9E\u65F6\u9884\u89C8",
302
+ "ScreenTip style": "\u5C4F\u5E55\u63D0\u793A\u6837\u5F0F",
303
+ "Show feature descriptions in ScreenTips": "\u5728\u5C4F\u5E55\u63D0\u793A\u4E2D\u663E\u793A\u529F\u80FD\u8BF4\u660E",
304
+ "Personalize your copy of Microsoft Office": "\u5BF9 Microsoft Office \u8FDB\u884C\u4E2A\u6027\u5316\u8BBE\u7F6E",
305
+ "User name": "\u7528\u6237\u540D",
306
+ "Office Theme": "Office \u4E3B\u9898",
307
+ "Office display language": "Office \u663E\u793A\u8BED\u8A00",
308
+ "Choose the language for menus, buttons and messages.": "\u9009\u62E9\u83DC\u5355\u3001\u6309\u94AE\u548C\u6D88\u606F\u4F7F\u7528\u7684\u8BED\u8A00\u3002",
309
+ "Not available yet. Needs rich text formatting.": "\u6682\u4E0D\u53EF\u7528\u3002\u9700\u8981\u5BCC\u6587\u672C\u683C\u5F0F\u3002",
310
+ "Not available yet. Styles are applied on click; hover previews are not drawn yet.": "\u6682\u4E0D\u53EF\u7528\u3002\u6837\u5F0F\u5728\u5355\u51FB\u65F6\u5E94\u7528\uFF1B\u5C1A\u4E0D\u7ED8\u5236\u60AC\u505C\u9884\u89C8\u3002",
311
+ "Not available yet. ScreenTips always describe the command.": "\u6682\u4E0D\u53EF\u7528\u3002\u5C4F\u5E55\u63D0\u793A\u59CB\u7EC8\u63CF\u8FF0\u8BE5\u547D\u4EE4\u3002",
312
+ "Not available yet. Documents are saved to this device; AutoRecover is not kept.": "\u6682\u4E0D\u53EF\u7528\u3002\u6587\u6863\u4FDD\u5B58\u5230\u6B64\u8BBE\u5907\uFF1B\u4E0D\u4FDD\u7559\u81EA\u52A8\u6062\u590D\u3002",
313
+ "Not available yet. There are no accessibility settings to change.": "\u6682\u4E0D\u53EF\u7528\u3002\u6CA1\u6709\u53EF\u66F4\u6539\u7684\u8F85\u52A9\u529F\u80FD\u8BBE\u7F6E\u3002",
314
+ "Not available yet. The editing behaviour is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u7F16\u8F91\u884C\u4E3A\u662F\u56FA\u5B9A\u7684\u3002",
315
+ "Not available yet. The Quick Access Toolbar is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u5FEB\u901F\u8BBF\u95EE\u5DE5\u5177\u680F\u662F\u56FA\u5B9A\u7684\u3002",
316
+ "Not available yet. The ribbon layout is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u529F\u80FD\u533A\u5E03\u5C40\u662F\u56FA\u5B9A\u7684\u3002",
317
+ "Not available yet. The display language is fixed.": "\u6682\u4E0D\u53EF\u7528\u3002\u663E\u793A\u8BED\u8A00\u662F\u56FA\u5B9A\u7684\u3002",
318
+ "Not available. Add-ins and macros are never run.": "\u4E0D\u53EF\u7528\u3002\u52A0\u8F7D\u9879\u548C\u5B8F\u6C38\u8FDC\u4E0D\u4F1A\u8FD0\u884C\u3002",
319
+ "Not available. Documents stay local and active content is never run.": "\u4E0D\u53EF\u7528\u3002\u6587\u6863\u4FDD\u7559\u5728\u672C\u5730\uFF0C\u6D3B\u52A8\u5185\u5BB9\u6C38\u8FDC\u4E0D\u4F1A\u8FD0\u884C\u3002"
320
+ };
321
+ var optionStrings = {
322
+ en: enOptionStrings,
323
+ fr: frOptionStrings,
324
+ de: deOptionStrings,
325
+ es: esOptionStrings,
326
+ "zh-CN": zhOptionStrings
327
+ };
59
328
 
60
- export { SUPPORTED_OFFICE_LOCALES, createTranslator, interpolate, mergeMessageModules, missingMessageKeys, normalizeLocale, normalizeOfficeLocale };
329
+ export { SUPPORTED_OFFICE_LOCALES, createTranslator, enOptionStrings, interpolate, mergeMessageModules, missingMessageKeys, normalizeLocale, normalizeOfficeLocale, optionStrings, translateOr };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Display strings of the File > Options dialog that every product shares (category names, the
3
+ * dialog's buttons, the common sections and the reasons a setting is not available). Keys are the
4
+ * English text, so a product merges them into its own dictionary. `{product}` is replaced with
5
+ * the product name (Word, Excel, Visio) by the options builders in `ooxml-ui`.
6
+ */
7
+ export type OptionStrings = Record<string, string>;
8
+ export declare const enOptionStrings: OptionStrings;
9
+ /** The shared options strings of one display locale (`en`, `fr`, `de`, `es`, `zh-CN`). */
10
+ export declare const optionStrings: {
11
+ readonly en: OptionStrings;
12
+ readonly fr: OptionStrings;
13
+ readonly de: OptionStrings;
14
+ readonly es: OptionStrings;
15
+ readonly 'zh-CN': OptionStrings;
16
+ };
17
+ //# sourceMappingURL=option-strings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"option-strings.d.ts","sourceRoot":"","sources":["../../i18n/option-strings.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe,EAAE,aAgE7B,CAAC;AA8QF,0FAA0F;AAC1F,eAAO,MAAM,aAAa;;;;;;CAMwB,CAAC"}
@@ -15,4 +15,10 @@ export declare function interpolate(template: string, params?: MessageParams, pl
15
15
  * first), then `options.missing(key)`, else the key itself.
16
16
  */
17
17
  export declare function createTranslator(messages: MessageDictionary | undefined, fallbacks?: readonly (MessageDictionary | undefined)[], options?: TranslatorOptions): Translate;
18
+ /**
19
+ * `translate(key, params)` when the binding's dictionary has `key`, else `fallback`. Every
20
+ * binding's translator answers a miss with the key itself, which is what this checks for, so a
21
+ * host with no dictionary entry still shows the English name.
22
+ */
23
+ export declare function translateOr(translate: Translate | undefined, key: string, fallback: string, params?: MessageParams): string;
18
24
  //# sourceMappingURL=translator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translator.d.ts","sourceRoot":"","sources":["../../i18n/translator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;AAEtE,4DAA4D;AAC5D,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,MAAM,CAAC;AAExE,MAAM,WAAW,iBAAiB;IACjC,wFAAwF;IACxF,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3C,yEAAyE;IACzE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAKD,2EAA2E;AAC3E,wBAAgB,WAAW,CAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,aAAa,EACtB,WAAW,GAAE,QAAQ,GAAG,QAAmB,GACzC,MAAM,CAQR;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EACvC,SAAS,GAAE,SAAS,CAAC,iBAAiB,GAAG,SAAS,CAAC,EAAO,EAC1D,OAAO,GAAE,iBAAsB,GAC7B,SAAS,CAOX"}
1
+ {"version":3,"file":"translator.d.ts","sourceRoot":"","sources":["../../i18n/translator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;AAEtE,4DAA4D;AAC5D,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,KAAK,MAAM,CAAC;AAExE,MAAM,WAAW,iBAAiB;IACjC,wFAAwF;IACxF,QAAQ,CAAC,WAAW,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3C,yEAAyE;IACzE,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAKD,2EAA2E;AAC3E,wBAAgB,WAAW,CAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,aAAa,EACtB,WAAW,GAAE,QAAQ,GAAG,QAAmB,GACzC,MAAM,CAQR;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC/B,QAAQ,EAAE,iBAAiB,GAAG,SAAS,EACvC,SAAS,GAAE,SAAS,CAAC,iBAAiB,GAAG,SAAS,CAAC,EAAO,EAC1D,OAAO,GAAE,iBAAsB,GAC7B,SAAS,CAOX;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAC1B,SAAS,EAAE,SAAS,GAAG,SAAS,EAChC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,aAAa,GACpB,MAAM,CAIR"}