@burdenoff/microfe-i18n 2026.1115.1 → 2026.1119.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.
@@ -6,34 +6,34 @@ import { useTr as i } from "../hooks/useTr.js";
6
6
  import { useI18nStore as a } from "../store/i18nStore.js";
7
7
  import { useState as o } from "react";
8
8
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
9
- import { CTAOverflowMenu as u, EmphasisPanel as d, GlassCard as f, GradientText as p, PagePurpose as m, ShowMore as h } from "@burdenoff/fe-libs/ui";
9
+ import { CTAOverflowMenu as u, EmphasisPanel as d, GlassCard as f, GradientText as p, PagePurpose as m, ShowMore as h, ThemedSelect as g } from "@burdenoff/fe-libs/ui";
10
10
  // src/i18n/pages/ImportExportPage.tsx
11
- var g = ({ mode: g }) => {
12
- let _ = i(), { importState: v, startImport: y, resetImport: b } = a(), [x, S] = o("json"), [C, w] = o(null), T = (e) => {
11
+ var _ = ({ mode: _ }) => {
12
+ let v = i(), { importState: y, startImport: b, resetImport: x } = a(), [S, C] = o("json"), [w, T] = o(null), E = (e) => {
13
13
  let t = e.target.files?.[0];
14
- t && w(t);
15
- }, E = () => {
16
- C && (y(x, "job-123"), C.name);
17
- }, D = () => {}, O = "w-full rounded-lg border border-border-seam bg-bg-elevated px-3 py-2 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary", k = "size-4 rounded border-border-seam text-primary focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]", A = /* @__PURE__ */ l(s, { children: [
14
+ t && T(t);
15
+ }, D = () => {
16
+ w && (b(S, "job-123"), w.name);
17
+ }, O = () => {}, k = "w-full rounded-lg border border-border-seam bg-bg-elevated px-3 py-2 text-sm text-text-primary focus:border-action-primary-bg focus-visible:shadow-[var(--shadow-focus)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)] scheme-normal dark:scheme-dark [&_option]:bg-bg-surface [&_option]:text-text-primary", A = "size-4 rounded border-border-seam text-primary focus-visible:ring-1 focus-visible:ring-[var(--color-focus-ring)]", j = /* @__PURE__ */ l(s, { children: [
18
18
  /* @__PURE__ */ c("option", {
19
19
  value: "json",
20
- children: _("i18n.shared.format.json", "JSON (i18next nested)")
20
+ children: v("i18n.shared.format.json", "JSON (i18next nested)")
21
21
  }),
22
22
  /* @__PURE__ */ c("option", {
23
23
  value: "csv",
24
- children: _("i18n.shared.format.csv", "CSV")
24
+ children: v("i18n.shared.format.csv", "CSV")
25
25
  }),
26
26
  /* @__PURE__ */ c("option", {
27
27
  value: "xlsx",
28
- children: _("i18n.shared.format.xlsx", "Excel (XLSX)")
28
+ children: v("i18n.shared.format.xlsx", "Excel (XLSX)")
29
29
  }),
30
30
  /* @__PURE__ */ c("option", {
31
31
  value: "po",
32
- children: _("i18n.shared.format.po", "Gettext (PO)")
32
+ children: v("i18n.shared.format.po", "Gettext (PO)")
33
33
  }),
34
34
  /* @__PURE__ */ c("option", {
35
35
  value: "xliff",
36
- children: _("i18n.shared.format.xliff", "XLIFF")
36
+ children: v("i18n.shared.format.xliff", "XLIFF")
37
37
  })
38
38
  ] });
39
39
  return /* @__PURE__ */ l("div", {
@@ -44,29 +44,29 @@ var g = ({ mode: g }) => {
44
44
  className: "mx-auto flex max-w-2xl items-center gap-4",
45
45
  children: [/* @__PURE__ */ c("div", {
46
46
  className: "flex size-11 shrink-0 items-center justify-center rounded-xl bg-action-primary-bg/10 text-primary shadow-elevation-1",
47
- children: c(g === "import" ? e : t, {
47
+ children: c(_ === "import" ? e : t, {
48
48
  className: "size-5",
49
49
  "aria-hidden": "true"
50
50
  })
51
51
  }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("h1", {
52
52
  className: "text-2xl font-bold tracking-tight text-text-primary",
53
- children: g === "import" ? /* @__PURE__ */ l(s, { children: [
54
- /* @__PURE__ */ c(p, { children: _("i18n.import.title.verb", "Import") }),
53
+ children: _ === "import" ? /* @__PURE__ */ l(s, { children: [
54
+ /* @__PURE__ */ c(p, { children: v("i18n.import.title.verb", "Import") }),
55
55
  " ",
56
- _("i18n.import.title.noun", "Translations")
56
+ v("i18n.import.title.noun", "Translations")
57
57
  ] }) : /* @__PURE__ */ l(s, { children: [
58
- /* @__PURE__ */ c(p, { children: _("i18n.export.title.verb", "Export") }),
58
+ /* @__PURE__ */ c(p, { children: v("i18n.export.title.verb", "Export") }),
59
59
  " ",
60
- _("i18n.export.title.noun", "Translations")
60
+ v("i18n.export.title.noun", "Translations")
61
61
  ] })
62
62
  }), /* @__PURE__ */ c("p", {
63
63
  className: "mt-0.5 text-sm text-text-secondary",
64
- children: g === "import" ? _("i18n.import.subtitle", "Bring translations in from a file") : _("i18n.export.subtitle", "Download translations in your chosen format")
64
+ children: _ === "import" ? v("i18n.import.subtitle", "Bring translations in from a file") : v("i18n.export.subtitle", "Download translations in your chosen format")
65
65
  })] })]
66
66
  })
67
67
  }), /* @__PURE__ */ l("div", {
68
68
  className: "mx-auto max-w-2xl space-y-6 px-6 py-8 sm:px-8 lg:px-10",
69
- children: [/* @__PURE__ */ c(m, { children: g === "import" ? _("i18n.import.purpose", "Bring existing translations into the system in bulk instead of typing them key by key. Upload a JSON, CSV, XLSX, PO, or XLIFF file exported from another tool or returned by a translation vendor, map it to the right product, module, and target language, and the keys and values are created or updated for you.") : _("i18n.export.purpose", "Pull translations out of the system as a downloadable file — to hand off to an external translation vendor, feed your app's build, or back up a locale. Choose a format and filter by product and language to export exactly the set of keys you need.") }), g === "import" ? /* @__PURE__ */ l("div", {
69
+ children: [/* @__PURE__ */ c(m, { children: _ === "import" ? v("i18n.import.purpose", "Bring existing translations into the system in bulk instead of typing them key by key. Upload a JSON, CSV, XLSX, PO, or XLIFF file exported from another tool or returned by a translation vendor, map it to the right product, module, and target language, and the keys and values are created or updated for you.") : v("i18n.export.purpose", "Pull translations out of the system as a downloadable file — to hand off to an external translation vendor, feed your app's build, or back up a locale. Choose a format and filter by product and language to export exactly the set of keys you need.") }), _ === "import" ? /* @__PURE__ */ l("div", {
70
70
  className: "space-y-6",
71
71
  children: [
72
72
  /* @__PURE__ */ c(f, {
@@ -78,26 +78,26 @@ var g = ({ mode: g }) => {
78
78
  /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
79
79
  htmlFor: "import-format",
80
80
  className: "mb-2 block text-sm font-medium text-text-primary",
81
- children: _("i18n.import.fields.format", "Select Format")
82
- }), /* @__PURE__ */ c("select", {
81
+ children: v("i18n.import.fields.format", "Select Format")
82
+ }), /* @__PURE__ */ c(g, {
83
83
  id: "import-format",
84
- value: x,
85
- onChange: (e) => S(e.target.value),
86
- className: O,
87
- children: A
84
+ value: S,
85
+ onChange: (e) => C(e.target.value),
86
+ className: k,
87
+ children: j
88
88
  })] }),
89
89
  /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
90
90
  htmlFor: "import-upload-file",
91
91
  className: "mb-2 block text-sm font-medium text-text-primary",
92
- children: _("i18n.import.fields.uploadFile", "Upload File")
92
+ children: v("i18n.import.fields.uploadFile", "Upload File")
93
93
  }), /* @__PURE__ */ l("div", {
94
94
  className: "relative rounded-lg border-2 border-dashed border-border-seam bg-bg-surface p-8 text-center transition-colors hover:border-action-primary-bg",
95
95
  children: [
96
96
  /* @__PURE__ */ c("input", {
97
97
  id: "import-upload-file",
98
98
  type: "file",
99
- "aria-label": _("i18n.import.fields.uploadFile", "Upload File"),
100
- onChange: T,
99
+ "aria-label": v("i18n.import.fields.uploadFile", "Upload File"),
100
+ onChange: E,
101
101
  accept: ".json,.csv,.xlsx,.po,.xliff",
102
102
  className: "absolute inset-0 cursor-pointer opacity-0"
103
103
  }),
@@ -107,11 +107,11 @@ var g = ({ mode: g }) => {
107
107
  }),
108
108
  /* @__PURE__ */ c("p", {
109
109
  className: "mb-1 text-sm font-medium text-text-primary",
110
- children: C ? C.name : _("i18n.import.fields.dropzonePlaceholder", "Drop file here or click to browse")
110
+ children: w ? w.name : v("i18n.import.fields.dropzonePlaceholder", "Drop file here or click to browse")
111
111
  }),
112
112
  /* @__PURE__ */ c("p", {
113
113
  className: "text-xs text-text-tertiary",
114
- children: _("i18n.import.fields.supportedFormats", "Supported formats: JSON, CSV, XLSX, PO, XLIFF")
114
+ children: v("i18n.import.fields.supportedFormats", "Supported formats: JSON, CSV, XLSX, PO, XLIFF")
115
115
  })
116
116
  ]
117
117
  })] }),
@@ -120,10 +120,10 @@ var g = ({ mode: g }) => {
120
120
  children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
121
121
  htmlFor: "import-product",
122
122
  className: "mb-2 block text-sm font-medium text-text-primary",
123
- children: _("i18n.import.fields.product", "Product")
124
- }), /* @__PURE__ */ l("select", {
123
+ children: v("i18n.import.fields.product", "Product")
124
+ }), /* @__PURE__ */ l(g, {
125
125
  id: "import-product",
126
- className: O,
126
+ className: k,
127
127
  children: [
128
128
  /* @__PURE__ */ c("option", {
129
129
  value: "workspaces",
@@ -141,10 +141,10 @@ var g = ({ mode: g }) => {
141
141
  })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
142
142
  htmlFor: "import-module",
143
143
  className: "mb-2 block text-sm font-medium text-text-primary",
144
- children: _("i18n.import.fields.module", "Module")
145
- }), /* @__PURE__ */ l("select", {
144
+ children: v("i18n.import.fields.module", "Module")
145
+ }), /* @__PURE__ */ l(g, {
146
146
  id: "import-module",
147
- className: O,
147
+ className: k,
148
148
  children: [
149
149
  /* @__PURE__ */ c("option", {
150
150
  value: "auth",
@@ -164,22 +164,22 @@ var g = ({ mode: g }) => {
164
164
  /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
165
165
  htmlFor: "import-target-language",
166
166
  className: "mb-2 block text-sm font-medium text-text-primary",
167
- children: _("i18n.import.fields.targetLanguage", "Target Language")
168
- }), /* @__PURE__ */ l("select", {
167
+ children: v("i18n.import.fields.targetLanguage", "Target Language")
168
+ }), /* @__PURE__ */ l(g, {
169
169
  id: "import-target-language",
170
- className: O,
170
+ className: k,
171
171
  children: [
172
172
  /* @__PURE__ */ c("option", {
173
173
  value: "es-ES",
174
- children: _("i18n.shared.language.esEs", "Spanish (es-ES)")
174
+ children: v("i18n.shared.language.esEs", "Spanish (es-ES)")
175
175
  }),
176
176
  /* @__PURE__ */ c("option", {
177
177
  value: "fr-FR",
178
- children: _("i18n.shared.language.frFr", "French (fr-FR)")
178
+ children: v("i18n.shared.language.frFr", "French (fr-FR)")
179
179
  }),
180
180
  /* @__PURE__ */ c("option", {
181
181
  value: "de-DE",
182
- children: _("i18n.shared.language.deDe", "German (de-DE)")
182
+ children: v("i18n.shared.language.deDe", "German (de-DE)")
183
183
  })
184
184
  ]
185
185
  })] })
@@ -188,7 +188,7 @@ var g = ({ mode: g }) => {
188
188
  }),
189
189
  /* @__PURE__ */ c(h, {
190
190
  collapsedHeight: 0,
191
- label: _("i18n.import.options.show", "Import options"),
191
+ label: v("i18n.import.options.show", "Import options"),
192
192
  children: /* @__PURE__ */ l("div", {
193
193
  className: "space-y-2 pt-4",
194
194
  children: [
@@ -197,13 +197,13 @@ var g = ({ mode: g }) => {
197
197
  children: [/* @__PURE__ */ c("input", {
198
198
  type: "checkbox",
199
199
  id: "create-namespaces",
200
- "aria-label": _("i18n.import.options.createNamespaces", "Create missing namespaces automatically"),
200
+ "aria-label": v("i18n.import.options.createNamespaces", "Create missing namespaces automatically"),
201
201
  defaultChecked: !0,
202
- className: k
202
+ className: A
203
203
  }), /* @__PURE__ */ c("label", {
204
204
  htmlFor: "create-namespaces",
205
205
  className: "text-sm text-text-primary",
206
- children: _("i18n.import.options.createNamespaces", "Create missing namespaces automatically")
206
+ children: v("i18n.import.options.createNamespaces", "Create missing namespaces automatically")
207
207
  })]
208
208
  }),
209
209
  /* @__PURE__ */ l("div", {
@@ -211,13 +211,13 @@ var g = ({ mode: g }) => {
211
211
  children: [/* @__PURE__ */ c("input", {
212
212
  type: "checkbox",
213
213
  id: "update-existing",
214
- "aria-label": _("i18n.import.options.updateExisting", "Update existing translations"),
214
+ "aria-label": v("i18n.import.options.updateExisting", "Update existing translations"),
215
215
  defaultChecked: !0,
216
- className: k
216
+ className: A
217
217
  }), /* @__PURE__ */ c("label", {
218
218
  htmlFor: "update-existing",
219
219
  className: "text-sm text-text-primary",
220
- children: _("i18n.import.options.updateExisting", "Update existing translations")
220
+ children: v("i18n.import.options.updateExisting", "Update existing translations")
221
221
  })]
222
222
  }),
223
223
  /* @__PURE__ */ l("div", {
@@ -225,45 +225,45 @@ var g = ({ mode: g }) => {
225
225
  children: [/* @__PURE__ */ c("input", {
226
226
  type: "checkbox",
227
227
  id: "skip-errors",
228
- "aria-label": _("i18n.import.options.skipErrors", "Skip validation errors (import valid only)"),
229
- className: k
228
+ "aria-label": v("i18n.import.options.skipErrors", "Skip validation errors (import valid only)"),
229
+ className: A
230
230
  }), /* @__PURE__ */ c("label", {
231
231
  htmlFor: "skip-errors",
232
232
  className: "text-sm text-text-primary",
233
- children: _("i18n.import.options.skipErrors", "Skip validation errors (import valid only)")
233
+ children: v("i18n.import.options.skipErrors", "Skip validation errors (import valid only)")
234
234
  })]
235
235
  })
236
236
  ]
237
237
  })
238
238
  }),
239
- v.jobId && /* @__PURE__ */ l(d, {
239
+ y.jobId && /* @__PURE__ */ l(d, {
240
240
  className: "p-4",
241
241
  children: [
242
242
  /* @__PURE__ */ l("div", {
243
243
  className: "mb-2 flex items-center justify-between text-sm",
244
244
  children: [/* @__PURE__ */ c("span", {
245
245
  className: "text-text-primary",
246
- children: _("i18n.import.progress.title", "Import Progress")
246
+ children: v("i18n.import.progress.title", "Import Progress")
247
247
  }), /* @__PURE__ */ l("span", {
248
248
  className: "text-text-tertiary tabular-nums",
249
- children: [v.progress, "%"]
249
+ children: [y.progress, "%"]
250
250
  })]
251
251
  }),
252
252
  /* @__PURE__ */ c("div", {
253
253
  className: "h-2 overflow-hidden rounded-full bg-bg-sunken",
254
254
  role: "progressbar",
255
- "aria-valuenow": v.progress,
255
+ "aria-valuenow": y.progress,
256
256
  "aria-valuemin": 0,
257
257
  "aria-valuemax": 100,
258
- "aria-label": _("i18n.import.progress.title", "Import Progress"),
258
+ "aria-label": v("i18n.import.progress.title", "Import Progress"),
259
259
  children: /* @__PURE__ */ c("div", {
260
260
  className: "h-full rounded-full bg-action-primary-bg shadow-[var(--shadow-glow)] transition-all",
261
- style: { width: `${v.progress}%` }
261
+ style: { width: `${y.progress}%` }
262
262
  })
263
263
  }),
264
- v.errors.length > 0 && /* @__PURE__ */ c("div", {
264
+ y.errors.length > 0 && /* @__PURE__ */ c("div", {
265
265
  className: "mt-3 space-y-1",
266
- children: v.errors.map((e) => /* @__PURE__ */ l("div", {
266
+ children: y.errors.map((e) => /* @__PURE__ */ l("div", {
267
267
  className: "flex items-start gap-2 text-xs text-status-danger-text",
268
268
  children: [/* @__PURE__ */ c(r, {
269
269
  className: "mt-0.5 size-3 flex-shrink-0",
@@ -276,17 +276,17 @@ var g = ({ mode: g }) => {
276
276
  /* @__PURE__ */ c(u, {
277
277
  align: "start",
278
278
  primary: {
279
- label: _("i18n.import.actions.start", "Start Import"),
280
- onSelect: E,
281
- disabled: !C,
279
+ label: v("i18n.import.actions.start", "Start Import"),
280
+ onSelect: D,
281
+ disabled: !w,
282
282
  icon: /* @__PURE__ */ c(e, {
283
283
  className: "size-4",
284
284
  "aria-hidden": "true"
285
285
  })
286
286
  },
287
- actions: v.jobId ? [{
288
- label: _("i18n.import.actions.reset", "Reset"),
289
- onSelect: b
287
+ actions: y.jobId ? [{
288
+ label: v("i18n.import.actions.reset", "Reset"),
289
+ onSelect: x
290
290
  }] : []
291
291
  })
292
292
  ]
@@ -301,26 +301,26 @@ var g = ({ mode: g }) => {
301
301
  children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
302
302
  htmlFor: "export-format",
303
303
  className: "mb-2 block text-sm font-medium text-text-primary",
304
- children: _("i18n.export.fields.format", "Export Format")
305
- }), /* @__PURE__ */ c("select", {
304
+ children: v("i18n.export.fields.format", "Export Format")
305
+ }), /* @__PURE__ */ c(g, {
306
306
  id: "export-format",
307
- value: x,
308
- onChange: (e) => S(e.target.value),
309
- className: O,
310
- children: A
307
+ value: S,
308
+ onChange: (e) => C(e.target.value),
309
+ className: k,
310
+ children: j
311
311
  })] }), /* @__PURE__ */ l("div", {
312
312
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
313
313
  children: [/* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
314
314
  htmlFor: "export-product",
315
315
  className: "mb-2 block text-sm font-medium text-text-primary",
316
- children: _("i18n.export.fields.product", "Product")
317
- }), /* @__PURE__ */ l("select", {
316
+ children: v("i18n.export.fields.product", "Product")
317
+ }), /* @__PURE__ */ l(g, {
318
318
  id: "export-product",
319
- className: O,
319
+ className: k,
320
320
  children: [
321
321
  /* @__PURE__ */ c("option", {
322
322
  value: "",
323
- children: _("i18n.export.fields.product.all", "All Products")
323
+ children: v("i18n.export.fields.product.all", "All Products")
324
324
  }),
325
325
  /* @__PURE__ */ c("option", {
326
326
  value: "workspaces",
@@ -334,22 +334,22 @@ var g = ({ mode: g }) => {
334
334
  })] }), /* @__PURE__ */ l("div", { children: [/* @__PURE__ */ c("label", {
335
335
  htmlFor: "export-language",
336
336
  className: "mb-2 block text-sm font-medium text-text-primary",
337
- children: _("i18n.export.fields.language", "Language")
338
- }), /* @__PURE__ */ l("select", {
337
+ children: v("i18n.export.fields.language", "Language")
338
+ }), /* @__PURE__ */ l(g, {
339
339
  id: "export-language",
340
- className: O,
340
+ className: k,
341
341
  children: [
342
342
  /* @__PURE__ */ c("option", {
343
343
  value: "",
344
- children: _("i18n.export.fields.language.all", "All Languages")
344
+ children: v("i18n.export.fields.language.all", "All Languages")
345
345
  }),
346
346
  /* @__PURE__ */ c("option", {
347
347
  value: "es-ES",
348
- children: _("i18n.export.fields.language.spanish", "Spanish")
348
+ children: v("i18n.export.fields.language.spanish", "Spanish")
349
349
  }),
350
350
  /* @__PURE__ */ c("option", {
351
351
  value: "fr-FR",
352
- children: _("i18n.export.fields.language.french", "French")
352
+ children: v("i18n.export.fields.language.french", "French")
353
353
  })
354
354
  ]
355
355
  })] })]
@@ -358,7 +358,7 @@ var g = ({ mode: g }) => {
358
358
  }),
359
359
  /* @__PURE__ */ c(h, {
360
360
  collapsedHeight: 0,
361
- label: _("i18n.export.options.show", "Export options"),
361
+ label: v("i18n.export.options.show", "Export options"),
362
362
  children: /* @__PURE__ */ l("div", {
363
363
  className: "space-y-2 pt-4",
364
364
  children: [/* @__PURE__ */ l("div", {
@@ -366,25 +366,25 @@ var g = ({ mode: g }) => {
366
366
  children: [/* @__PURE__ */ c("input", {
367
367
  type: "checkbox",
368
368
  id: "include-metadata",
369
- "aria-label": _("i18n.export.options.includeMetadata", "Include metadata"),
370
- className: k
369
+ "aria-label": v("i18n.export.options.includeMetadata", "Include metadata"),
370
+ className: A
371
371
  }), /* @__PURE__ */ c("label", {
372
372
  htmlFor: "include-metadata",
373
373
  className: "text-sm text-text-primary",
374
- children: _("i18n.export.options.includeMetadata", "Include metadata")
374
+ children: v("i18n.export.options.includeMetadata", "Include metadata")
375
375
  })]
376
376
  }), /* @__PURE__ */ l("div", {
377
377
  className: "flex items-center gap-2",
378
378
  children: [/* @__PURE__ */ c("input", {
379
379
  type: "checkbox",
380
380
  id: "published-only",
381
- "aria-label": _("i18n.export.options.publishedOnly", "Published translations only"),
381
+ "aria-label": v("i18n.export.options.publishedOnly", "Published translations only"),
382
382
  defaultChecked: !0,
383
- className: k
383
+ className: A
384
384
  }), /* @__PURE__ */ c("label", {
385
385
  htmlFor: "published-only",
386
386
  className: "text-sm text-text-primary",
387
- children: _("i18n.export.options.publishedOnly", "Published translations only")
387
+ children: v("i18n.export.options.publishedOnly", "Published translations only")
388
388
  })]
389
389
  })]
390
390
  })
@@ -401,18 +401,18 @@ var g = ({ mode: g }) => {
401
401
  className: "text-sm",
402
402
  children: [/* @__PURE__ */ c("p", {
403
403
  className: "font-medium text-text-primary",
404
- children: _("i18n.export.preview.title", "Export Preview")
404
+ children: v("i18n.export.preview.title", "Export Preview")
405
405
  }), /* @__PURE__ */ c("p", {
406
406
  className: "mt-1 text-text-secondary",
407
- children: _("i18n.export.preview.description", "Approximately 1,245 translation keys will be exported based on your selection.")
407
+ children: v("i18n.export.preview.description", "Approximately 1,245 translation keys will be exported based on your selection.")
408
408
  })]
409
409
  })]
410
410
  }),
411
411
  /* @__PURE__ */ c(u, {
412
412
  align: "start",
413
413
  primary: {
414
- label: _("i18n.export.actions.start", "Export Translations"),
415
- onSelect: D,
414
+ label: v("i18n.export.actions.start", "Export Translations"),
415
+ onSelect: O,
416
416
  icon: /* @__PURE__ */ c(t, {
417
417
  className: "size-4",
418
418
  "aria-hidden": "true"
@@ -425,4 +425,4 @@ var g = ({ mode: g }) => {
425
425
  })]
426
426
  });
427
427
  };
428
- export { g as ImportExportPage };
428
+ export { _ as ImportExportPage };