@nocode-factory/sanity-kit 2.25.0 → 2.26.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 (74) hide show
  1. package/dist/{componentDefaults-BY3hQ6aD.js → componentDefaults-2eWjLLBf.js} +6 -6
  2. package/dist/componentDefaults-2eWjLLBf.js.map +1 -0
  3. package/dist/index.d.ts +2 -2
  4. package/dist/index.js +366 -366
  5. package/dist/index.js.map +1 -1
  6. package/dist/schema.js +1 -1
  7. package/dist/web-server.js +2 -2
  8. package/dist/web-server.js.map +1 -1
  9. package/dist/web.js +9 -9
  10. package/dist/web.js.map +1 -1
  11. package/package.json +1 -1
  12. package/src/actions/PropagatePublish.tsx +14 -14
  13. package/src/actions/RemoveFromSite.tsx +9 -9
  14. package/src/config/defaults.ts +7 -7
  15. package/src/config/resolve.ts +1 -1
  16. package/src/config/validate.ts +24 -24
  17. package/src/context/BoardLayoutContext.tsx +1 -1
  18. package/src/context/KitContext.tsx +1 -1
  19. package/src/context/PreviewTargetContext.tsx +1 -1
  20. package/src/form/OverrideInput.tsx +5 -5
  21. package/src/form/SlugUrlInput.tsx +2 -2
  22. package/src/form/TranslationTodoInput.tsx +2 -2
  23. package/src/hooks/useHistory.ts +5 -5
  24. package/src/hooks/useOccurrences.ts +1 -1
  25. package/src/hooks/useOpenOnline.ts +4 -4
  26. package/src/index.ts +4 -4
  27. package/src/lib/grouping.ts +2 -2
  28. package/src/lib/overrides.ts +10 -10
  29. package/src/lib/pages.ts +3 -3
  30. package/src/lib/service.ts +5 -5
  31. package/src/lib/status.ts +3 -3
  32. package/src/lib/studioLinks.ts +6 -6
  33. package/src/schema/boardLayout.ts +32 -32
  34. package/src/schema/componentDefaults.ts +5 -5
  35. package/src/schema/translationTodo.ts +6 -6
  36. package/src/tools/components/BlockCard.tsx +3 -3
  37. package/src/tools/components/ComponentsTool.tsx +17 -17
  38. package/src/tools/components/map/SectionNode.tsx +1 -1
  39. package/src/tools/components/map/SectionsMap.tsx +10 -10
  40. package/src/tools/designSystem/DesignSystemTool.tsx +3 -3
  41. package/src/tools/history/DiffPanel.tsx +23 -23
  42. package/src/tools/history/HistoryTool.tsx +21 -23
  43. package/src/tools/more/MoreTool.tsx +1 -1
  44. package/src/tools/navbar/KitUpdate.tsx +8 -8
  45. package/src/tools/navbar/PreviewLauncher.tsx +6 -6
  46. package/src/tools/navbar/ToolButtons.tsx +2 -2
  47. package/src/tools/pages/ColumnHeader.tsx +18 -18
  48. package/src/tools/pages/ColumnVisibility.tsx +10 -10
  49. package/src/tools/pages/FieldValue.tsx +9 -9
  50. package/src/tools/pages/PagesTable.tsx +11 -11
  51. package/src/tools/pages/PagesTool.tsx +19 -19
  52. package/src/tools/pages/PagesToolbar.tsx +3 -3
  53. package/src/tools/pages/PathCell.tsx +1 -1
  54. package/src/tools/pages/PreviewTarget.tsx +10 -10
  55. package/src/tools/pages/SharePreview.tsx +19 -20
  56. package/src/tools/pages/TagCell.tsx +2 -2
  57. package/src/tools/pages/ViewTabs.tsx +4 -4
  58. package/src/tools/pages/board/BoardView.tsx +11 -11
  59. package/src/tools/pages/board/PageNode.tsx +5 -5
  60. package/src/tools/pages/board/PagePanel.tsx +10 -10
  61. package/src/tools/presentation/PreviewHeader.tsx +1 -1
  62. package/src/tools/shared/AnnotationNode.tsx +3 -3
  63. package/src/ui/ActorName.tsx +1 -1
  64. package/src/ui/ConfigIssues.tsx +3 -3
  65. package/src/ui/PreviewOriginsNotice.tsx +3 -3
  66. package/src/ui/ProjectStatusNotice.tsx +7 -7
  67. package/src/ui/QueryError.tsx +2 -2
  68. package/src/ui/ToolPlaceholder.tsx +2 -2
  69. package/src/ui/formatDate.ts +1 -1
  70. package/src/version.ts +1 -1
  71. package/src/web/PreviewBanner.tsx +9 -9
  72. package/src/web/draftModeToggle.ts +1 -1
  73. package/src/web/previewGrant.ts +5 -5
  74. package/dist/componentDefaults-BY3hQ6aD.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as defineComponentDefaults, i as defaultsFieldName, n as componentDefaultsMainDocument, o as requiredUnlessDefault, r as componentDefaultsMainDocuments, s as requiredUnlessDefaultFor, t as DEFAULT_COMPONENT_DEFAULTS_TYPE } from "./componentDefaults-BY3hQ6aD.js";
1
+ import { a as defineComponentDefaults, i as defaultsFieldName, n as componentDefaultsMainDocument, o as requiredUnlessDefault, r as componentDefaultsMainDocuments, s as requiredUnlessDefaultFor, t as DEFAULT_COMPONENT_DEFAULTS_TYPE } from "./componentDefaults-2eWjLLBf.js";
2
2
  import { createContext, createElement, forwardRef, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
3
3
  import { ToolLink, defineField, definePlugin, defineType, pathToString, set, unset, useClient, useCurrentUser, useFormValue, usePerspective, useSchema, useSetPerspective, useUser, useWorkspace } from "sanity";
4
4
  import { ClockIcon } from "@sanity/icons/Clock";
@@ -62,38 +62,38 @@ const DEFAULT_PAGE_BUILDER_FIELD = "sections", DEFAULT_SLUG_FIELD = "slug", DEFA
62
62
  ], DEFAULT_BOARD_TAGS = [
63
63
  {
64
64
  id: "en-cours",
65
- label: "En cours",
65
+ label: "In progress",
66
66
  color: "#f5a623"
67
67
  },
68
68
  {
69
69
  id: "fait",
70
- label: "Fait",
70
+ label: "Done",
71
71
  color: "#43d675"
72
72
  },
73
73
  {
74
74
  id: "a-relire",
75
- label: "À relire",
75
+ label: "To review",
76
76
  color: "#2276fc"
77
77
  },
78
78
  {
79
79
  id: "a-refondre",
80
- label: "À refondre",
80
+ label: "To rework",
81
81
  color: "#f03e3e"
82
82
  }
83
83
  ], DEFAULT_INTERNAL_FIELDS = [
84
84
  {
85
85
  id: "owner",
86
- label: "Responsable",
86
+ label: "Owner",
87
87
  type: "text"
88
88
  },
89
89
  {
90
90
  id: "audience",
91
- label: "Cible",
91
+ label: "Audience",
92
92
  type: "text"
93
93
  },
94
94
  {
95
95
  id: "role",
96
- label: "Rôle de la page",
96
+ label: "Page role",
97
97
  type: "text"
98
98
  }
99
99
  ], trimTrailingSlash = (url) => url.replace(/\/+$/, ""), normalizePath = (path) => {
@@ -210,7 +210,7 @@ function resolveEnvironments(input) {
210
210
  url: preview
211
211
  }], conventional = conventionalPreprodUrl(preview), hasPreprod = declared.some((environment) => environment.url === conventional || environment.id === "preprod") || input.preprodUrl === !1, preprod = conventional && !hasPreprod ? [{
212
212
  id: "preprod",
213
- label: "Préproduction",
213
+ label: "Staging",
214
214
  url: conventional
215
215
  }] : [];
216
216
  return [
@@ -244,28 +244,28 @@ function validateConfig(config) {
244
244
  message,
245
245
  ...tools ? { tools } : {}
246
246
  });
247
- config.pageTypes.length === 0 && error("pageTypes", "`pageTypes` est vide. Renseigne au moins un type de document, ex. pageTypes: ['page'].");
247
+ config.pageTypes.length === 0 && error("pageTypes", "`pageTypes` is empty. Declare at least one document type, e.g. pageTypes: ['page'].");
248
248
  let seen = /* @__PURE__ */ new Set();
249
249
  config.pageTypes.forEach((pageType, index) => {
250
250
  let at = `pageTypes[${index}]`;
251
251
  if (!pageType.type) {
252
- error(`${at}.type`, "Type de document manquant ou vide.");
252
+ error(`${at}.type`, "Document type missing or empty.");
253
253
  return;
254
254
  }
255
- seen.has(pageType.type) && error(`${at}.type`, `Le type « ${pageType.type} » est déclaré plusieurs fois.`), seen.add(pageType.type), pageType.path && pageType.pathPrefix && warn(`${at}.pathPrefix`, `« ${pageType.type} » a un chemin fixe : son pathPrefix est ignoré.`), !pageType.slugField && !pageType.path && error(`${at}`, `« ${pageType.type} » n'a ni slugField ni path : le kit ne peut pas construire son URL. Donne-lui un chemin fixe, ex. {type: '${pageType.type}', path: '/'} pour une page d'accueil.`);
256
- }), config.previewUrl && !isAbsoluteHttpUrl(config.previewUrl) && error("previewUrl", `« ${config.previewUrl} » n'est pas une URL absolue. Attendu : https://exemple.fr`), config.componentPreview.provider === "designSystemPage" && (config.previewUrl || warn("previewUrl", "Aperçu des composants actif mais `previewUrl` est absent : les vignettes et les liens vers la page design system seront désactivés.", ["components"]), !config.componentPreview.thumbnail.includes("{name}") && !config.componentPreview.thumbnail.includes("{kebab}") && warn("componentPreview.thumbnail", "Le gabarit ne contient ni {name} ni {kebab} : tous les blocs afficheront la même image.", ["components"]));
255
+ seen.has(pageType.type) && error(`${at}.type`, `The type "${pageType.type}" is declared more than once.`), seen.add(pageType.type), pageType.path && pageType.pathPrefix && warn(`${at}.pathPrefix`, `"${pageType.type}" has a fixed path: its pathPrefix is ignored.`), !pageType.slugField && !pageType.path && error(`${at}`, `"${pageType.type}" has neither slugField nor path: the kit cannot build its URL. Give it a fixed path, e.g. {type: '${pageType.type}', path: '/'} for a home page.`);
256
+ }), config.previewUrl && !isAbsoluteHttpUrl(config.previewUrl) && error("previewUrl", `"${config.previewUrl}" is not an absolute URL. Expected: https://example.com`), config.componentPreview.provider === "designSystemPage" && (config.previewUrl || warn("previewUrl", "Component preview is enabled but `previewUrl` is missing: thumbnails and links to the design system page will be disabled.", ["components"]), !config.componentPreview.thumbnail.includes("{name}") && !config.componentPreview.thumbnail.includes("{kebab}") && warn("componentPreview.thumbnail", "The template contains neither {name} nor {kebab}: every block will show the same image.", ["components"]));
257
257
  let seenEnvironments = /* @__PURE__ */ new Set();
258
- for (let environment of config.environments) isAbsoluteHttpUrl(environment.url) || error(`environments.${environment.id}.url`, `« ${environment.url} » n'est pas une URL absolue. L'aperçu ne pourra pas charger cet environnement.`, ["pages"]), seenEnvironments.has(environment.id) && error("environments", `Deux environnements portent l'identifiant « ${environment.id} » : le choix retenu serait imprévisible.`, ["pages"]), seenEnvironments.add(environment.id);
259
- config.tools.history && (config.history ? ((!config.history.endpoint || !isAbsoluteHttpUrl(config.history.endpoint)) && error("history.endpoint", `« ${config.history.endpoint || ""} » n'est pas une URL absolue vers l'Edge Function de lecture.`, ["history"]), config.history.projectKey?.trim() || error("history.projectKey", "`history.projectKey` est vide.", ["history"]), /^eyJ|^sb_secret_|service_role/i.test(config.history.projectKey ?? "") && error("history.projectKey", "Cette valeur ressemble à une clé Supabase. Le Studio est public : n'y place jamais qu'un identifiant de projet opaque, sans droit d'écriture.", ["history"])) : warn("history", "L'onglet Historique est activé mais aucune clé de lecture n'est configurée. Lance `npx ncf-kit setup` dans le dossier du studio (elle est écrite dans .env), ou passe tools: {history: false}.", ["history"]));
258
+ for (let environment of config.environments) isAbsoluteHttpUrl(environment.url) || error(`environments.${environment.id}.url`, `"${environment.url}" is not an absolute URL. The preview will not be able to load this environment.`, ["pages"]), seenEnvironments.has(environment.id) && error("environments", `Two environments share the id "${environment.id}": which one is used would be unpredictable.`, ["pages"]), seenEnvironments.add(environment.id);
259
+ config.tools.history && (config.history ? ((!config.history.endpoint || !isAbsoluteHttpUrl(config.history.endpoint)) && error("history.endpoint", `"${config.history.endpoint || ""}" is not an absolute URL to the read Edge Function.`, ["history"]), config.history.projectKey?.trim() || error("history.projectKey", "`history.projectKey` is empty.", ["history"]), /^eyJ|^sb_secret_|service_role/i.test(config.history.projectKey ?? "") && error("history.projectKey", "This value looks like a Supabase key. The Studio is public: only ever put an opaque project identifier here, with no write access.", ["history"])) : warn("history", "The History tab is enabled but no read key is configured. Run `npx ncf-kit setup` in the studio folder (it is written to .env), or set tools: {history: false}.", ["history"]));
260
260
  let fieldIds = /* @__PURE__ */ new Set();
261
261
  return config.internalFields.forEach((field, index) => {
262
262
  let at = `internalFields[${index}]`;
263
263
  if (!field.id?.trim()) {
264
- error(`${at}.id`, "Identifiant de champ manquant.", ["pages"]);
264
+ error(`${at}.id`, "Field id missing.", ["pages"]);
265
265
  return;
266
266
  }
267
- fieldIds.has(field.id) && error(`${at}.id`, `Le champ « ${field.id} » est déclaré plusieurs fois.`, ["pages"]), fieldIds.add(field.id), field.label?.trim() || warn(`${at}.label`, `Le champ « ${field.id} » n'a pas de libellé : son identifiant sera affiché.`, ["pages"]), field.type === "select" && !field.options?.length && error(`${at}.options`, `Le champ « ${field.id} » est de type select mais n'a aucune option.`, ["pages"]);
268
- }), config.pageBuilderField || error("pageBuilderField", "Le champ du page builder ne peut pas être vide.", ["pages", "components"]), issues;
267
+ fieldIds.has(field.id) && error(`${at}.id`, `The field "${field.id}" is declared more than once.`, ["pages"]), fieldIds.add(field.id), field.label?.trim() || warn(`${at}.label`, `The field "${field.id}" has no label: its id will be shown.`, ["pages"]), field.type === "select" && !field.options?.length && error(`${at}.options`, `The field "${field.id}" is of type select but has no options.`, ["pages"]);
268
+ }), config.pageBuilderField || error("pageBuilderField", "The page builder field cannot be empty.", ["pages", "components"]), issues;
269
269
  }
270
270
  /** Problèmes bloquant un outil donné. */
271
271
  function issuesForTool(issues, tool) {
@@ -291,35 +291,35 @@ function KitProvider(props) {
291
291
  */
292
292
  function useKitContext() {
293
293
  let value = useContext(KitContext);
294
- if (!value) throw Error("useKitContext doit être appelé dans un outil du plugin @nocode-factory/sanity-kit.");
294
+ if (!value) throw Error("useKitContext must be called inside a tool of the @nocode-factory/sanity-kit plugin.");
295
295
  return value;
296
296
  }
297
297
  const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfTranslationTodo", translationTodoId = (documentId) => `ncfTodo.${documentId.replace(/^drafts\./, "")}`, translationTodoType = defineType({
298
298
  name: TRANSLATION_TODO_TYPE,
299
- title: "À traduire (NCF)",
299
+ title: "To translate (NCF)",
300
300
  type: "document",
301
301
  fields: [
302
302
  defineField({
303
303
  name: "documentId",
304
- title: "Traduction",
304
+ title: "Translation",
305
305
  type: "string",
306
306
  readOnly: !0
307
307
  }),
308
308
  defineField({
309
309
  name: "sourceId",
310
- title: "Version principale",
310
+ title: "Main version",
311
311
  type: "string",
312
312
  readOnly: !0
313
313
  }),
314
314
  defineField({
315
315
  name: "sourceLanguage",
316
- title: "Langue principale",
316
+ title: "Main language",
317
317
  type: "string",
318
318
  readOnly: !0
319
319
  }),
320
320
  defineField({
321
321
  name: "paths",
322
- title: "Champs à traduire",
322
+ title: "Fields to translate",
323
323
  type: "array",
324
324
  of: [{ type: "string" }],
325
325
  readOnly: !0
@@ -327,11 +327,11 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
327
327
  ],
328
328
  preview: {
329
329
  select: { title: "documentId" },
330
- prepare: ({ title }) => ({ title: `À traduire : ${title}` })
330
+ prepare: ({ title }) => ({ title: `To translate: ${title}` })
331
331
  }
332
332
  }), BOARD_LAYOUT_TYPE = "ncfBoardLayout", BOARD_LAYOUT_ID = "ncfBoardLayout", BOARD_NODE_TYPE = "ncfBoardNode", SECTION_NODE_TYPE = "ncfSectionNode", NODE_FIELD_TYPE = "ncfNodeField", COLUMN_TYPE = "ncfColumn", COLUMN_OPTION_TYPE = "ncfColumnOption", ANNOTATION_TYPE = "ncfAnnotation", NCF_HIDDEN_TYPES = [BOARD_LAYOUT_TYPE, TRANSLATION_TODO_TYPE], boardNodeType = defineType({
333
333
  name: BOARD_NODE_TYPE,
334
- title: "Position d'une page",
334
+ title: "Page position",
335
335
  type: "object",
336
336
  fields: [
337
337
  defineField({
@@ -351,22 +351,22 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
351
351
  }),
352
352
  defineField({
353
353
  name: "width",
354
- title: "Largeur",
354
+ title: "Width",
355
355
  type: "number"
356
356
  }),
357
357
  defineField({
358
358
  name: "height",
359
- title: "Hauteur",
359
+ title: "Height",
360
360
  type: "number"
361
361
  }),
362
362
  defineField({
363
363
  name: "tag",
364
- title: "Étiquette de suivi",
364
+ title: "Tracking tag",
365
365
  type: "string"
366
366
  }),
367
367
  defineField({
368
368
  name: "fields",
369
- title: "Gestion interne",
369
+ title: "Internal management",
370
370
  type: "array",
371
371
  of: [{ type: NODE_FIELD_TYPE }]
372
372
  })
@@ -378,7 +378,7 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
378
378
  y: "y"
379
379
  },
380
380
  prepare: ({ title, x, y }) => ({
381
- title: title ?? "Sans document",
381
+ title: title ?? "No document",
382
382
  subtitle: `${x ?? 0} × ${y ?? 0}`
383
383
  })
384
384
  }
@@ -389,7 +389,7 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
389
389
  fields: [
390
390
  defineField({
391
391
  name: "id",
392
- title: "Identifiant",
392
+ title: "ID",
393
393
  type: "string"
394
394
  }),
395
395
  defineField({
@@ -406,13 +406,13 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
406
406
  }),
407
407
  defineField({
408
408
  name: "kind",
409
- title: "Nature",
409
+ title: "Kind",
410
410
  type: "string",
411
411
  options: { list: [{
412
- title: "Texte",
412
+ title: "Text",
413
413
  value: "text"
414
414
  }, {
415
- title: "Forme",
415
+ title: "Shape",
416
416
  value: "rect"
417
417
  }] }
418
418
  }),
@@ -434,12 +434,12 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
434
434
  }),
435
435
  defineField({
436
436
  name: "text",
437
- title: "Texte",
437
+ title: "Text",
438
438
  type: "string"
439
439
  }),
440
440
  defineField({
441
441
  name: "color",
442
- title: "Couleur",
442
+ title: "Color",
443
443
  type: "string"
444
444
  })
445
445
  ],
@@ -449,22 +449,22 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
449
449
  } }
450
450
  }), columnOptionType = defineType({
451
451
  name: COLUMN_OPTION_TYPE,
452
- title: "Choix",
452
+ title: "Choice",
453
453
  type: "object",
454
454
  fields: [
455
455
  defineField({
456
456
  name: "id",
457
- title: "Identifiant",
457
+ title: "ID",
458
458
  type: "string"
459
459
  }),
460
460
  defineField({
461
461
  name: "label",
462
- title: "Libellé",
462
+ title: "Label",
463
463
  type: "string"
464
464
  }),
465
465
  defineField({
466
466
  name: "color",
467
- title: "Couleur",
467
+ title: "Color",
468
468
  type: "string"
469
469
  })
470
470
  ],
@@ -474,17 +474,17 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
474
474
  } }
475
475
  }), columnType = defineType({
476
476
  name: COLUMN_TYPE,
477
- title: "Colonne de gestion interne",
477
+ title: "Internal management column",
478
478
  type: "object",
479
479
  fields: [
480
480
  defineField({
481
481
  name: "id",
482
- title: "Identifiant",
482
+ title: "ID",
483
483
  type: "string"
484
484
  }),
485
485
  defineField({
486
486
  name: "label",
487
- title: "Nom",
487
+ title: "Name",
488
488
  type: "string"
489
489
  }),
490
490
  defineField({
@@ -492,16 +492,16 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
492
492
  title: "Type",
493
493
  type: "string",
494
494
  options: { list: [{
495
- title: "Texte",
495
+ title: "Text",
496
496
  value: "text"
497
497
  }, {
498
- title: "Liste",
498
+ title: "List",
499
499
  value: "select"
500
500
  }] }
501
501
  }),
502
502
  defineField({
503
503
  name: "options",
504
- title: "Choix",
504
+ title: "Choices",
505
505
  type: "array",
506
506
  of: [{ type: COLUMN_OPTION_TYPE }]
507
507
  })
@@ -512,15 +512,15 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
512
512
  } }
513
513
  }), nodeFieldType = defineType({
514
514
  name: NODE_FIELD_TYPE,
515
- title: "Champ de gestion interne",
515
+ title: "Internal management field",
516
516
  type: "object",
517
517
  fields: [defineField({
518
518
  name: "fieldId",
519
- title: "Champ",
519
+ title: "Field",
520
520
  type: "string"
521
521
  }), defineField({
522
522
  name: "value",
523
- title: "Valeur",
523
+ title: "Value",
524
524
  type: "string"
525
525
  })],
526
526
  preview: { select: {
@@ -529,12 +529,12 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
529
529
  } }
530
530
  }), sectionNodeType = defineType({
531
531
  name: SECTION_NODE_TYPE,
532
- title: "Position d'une section",
532
+ title: "Section position",
533
533
  type: "object",
534
534
  fields: [
535
535
  defineField({
536
536
  name: "blockName",
537
- title: "Type de bloc",
537
+ title: "Block type",
538
538
  type: "string"
539
539
  }),
540
540
  defineField({
@@ -555,14 +555,14 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
555
555
  y: "y"
556
556
  },
557
557
  prepare: ({ title, x, y }) => ({
558
- title: title ?? "Sans bloc",
558
+ title: title ?? "No block",
559
559
  subtitle: `${x ?? 0} × ${y ?? 0}`
560
560
  })
561
561
  }
562
562
  }), kitSchemaTypes = [
563
563
  defineType({
564
564
  name: BOARD_LAYOUT_TYPE,
565
- title: "Disposition du board (NCF)",
565
+ title: "Board layout (NCF)",
566
566
  type: "document",
567
567
  fields: [
568
568
  defineField({
@@ -579,29 +579,29 @@ const useKitConfig = () => useKitContext().config, TRANSLATION_TODO_TYPE = "ncfT
579
579
  }),
580
580
  defineField({
581
581
  name: "columns",
582
- title: "Colonnes de gestion interne",
582
+ title: "Internal management columns",
583
583
  type: "array",
584
584
  of: [{ type: COLUMN_TYPE }]
585
585
  }),
586
586
  defineField({
587
587
  name: "columnsSet",
588
- title: "Colonnes réglées",
588
+ title: "Columns set",
589
589
  type: "boolean"
590
590
  }),
591
591
  defineField({
592
592
  name: "sections",
593
- title: "Positions des sections",
593
+ title: "Section positions",
594
594
  type: "array",
595
595
  of: [{ type: SECTION_NODE_TYPE }]
596
596
  }),
597
597
  defineField({
598
598
  name: "updatedBy",
599
- title: "Modifié par",
599
+ title: "Modified by",
600
600
  type: "string",
601
601
  readOnly: !0
602
602
  })
603
603
  ],
604
- preview: { prepare: () => ({ title: "Disposition du board (NCF)" }) }
604
+ preview: { prepare: () => ({ title: "Board layout (NCF)" }) }
605
605
  }),
606
606
  translationTodoType,
607
607
  boardNodeType,
@@ -714,19 +714,19 @@ function mergeVersions(docs) {
714
714
  }
715
715
  const STATUS_LABELS = {
716
716
  published: {
717
- label: "Publiée",
717
+ label: "Published",
718
718
  tone: "positive",
719
- help: "En ligne, à jour"
719
+ help: "Live, up to date"
720
720
  },
721
721
  modified: {
722
- label: "Modifiée",
722
+ label: "Modified",
723
723
  tone: "caution",
724
- help: "En ligne, avec des modifications non publiées"
724
+ help: "Live, with unpublished changes"
725
725
  },
726
726
  draft: {
727
- label: "Non publiée",
727
+ label: "Not published",
728
728
  tone: "default",
729
- help: "Absente du site : jamais publiée, ou retirée du site (contenu conservé en brouillon)"
729
+ help: "Not on the site: never published, or removed from the site (content kept in the draft)"
730
730
  }
731
731
  };
732
732
  /**
@@ -1027,17 +1027,17 @@ function BoardLayoutProvider(props) {
1027
1027
  }
1028
1028
  function useBoardLayout() {
1029
1029
  let value = useContext(BoardLayoutContext);
1030
- if (!value) throw Error("useBoardLayout doit être appelé sous BoardLayoutProvider.");
1030
+ if (!value) throw Error("useBoardLayout must be called inside BoardLayoutProvider.");
1031
1031
  return value;
1032
1032
  }
1033
1033
  const PERSPECTIVES = [{
1034
1034
  id: "drafts",
1035
- label: "Brouillons",
1036
- hint: "Ce qui sortira après publication"
1035
+ label: "Drafts",
1036
+ hint: "What will go live after publishing"
1037
1037
  }, {
1038
1038
  id: "published",
1039
- label: "En ligne",
1040
- hint: "Ce que voit le public aujourd'hui"
1039
+ label: "Published",
1040
+ hint: "What the public sees today"
1041
1041
  }], trimEnd = (url) => url.replace(/\/+$/, "");
1042
1042
  /**
1043
1043
  * URL d'une page sur un front donné.
@@ -1059,24 +1059,24 @@ function isPublicEnvironment(environment, previewUrl) {
1059
1059
  return environment ? environment.id === "production" || !!previewUrl && trimEnd(environment.url) === trimEnd(previewUrl) : !1;
1060
1060
  }
1061
1061
  function previewTargets(environments, previewUrl) {
1062
- let previews = environments.filter((e) => !isPublicEnvironment(e, previewUrl)), publics = environments.filter((e) => isPublicEnvironment(e, previewUrl)), name = (e) => e.id === "preprod" ? "Préprod" : e.label;
1062
+ let previews = environments.filter((e) => !isPublicEnvironment(e, previewUrl)), publics = environments.filter((e) => isPublicEnvironment(e, previewUrl)), name = (e) => e.id === "preprod" ? "Staging" : e.label;
1063
1063
  return [...previews.flatMap((environment) => [{
1064
1064
  environment,
1065
1065
  perspective: "drafts",
1066
- label: `${name(environment)} · Brouillons`,
1067
- hint: "Ce qui sortira après publication",
1066
+ label: `${name(environment)} · Drafts`,
1067
+ hint: "What will go live after publishing",
1068
1068
  tone: "draft"
1069
1069
  }, {
1070
1070
  environment,
1071
1071
  perspective: "published",
1072
- label: `${name(environment)} · En ligne`,
1073
- hint: "Le contenu publié, sur la version de test du site",
1072
+ label: `${name(environment)} · Published`,
1073
+ hint: "The published content, on the test version of the site",
1074
1074
  tone: "live"
1075
1075
  }]), ...publics.map((environment) => ({
1076
1076
  environment,
1077
1077
  perspective: "published",
1078
- label: "Prod · En ligne",
1079
- hint: "Le site public, tel que le voient les visiteurs",
1078
+ label: "Prod · Published",
1079
+ hint: "The public site, as visitors see it",
1080
1080
  tone: "prod"
1081
1081
  }))];
1082
1082
  }
@@ -1290,7 +1290,7 @@ function PreviewTargetProvider(props) {
1290
1290
  }
1291
1291
  function usePreviewTarget() {
1292
1292
  let value = useContext(PreviewTargetContext);
1293
- if (!value) throw Error("usePreviewTarget doit être appelé sous PreviewTargetProvider.");
1293
+ if (!value) throw Error("usePreviewTarget must be called inside PreviewTargetProvider.");
1294
1294
  return value;
1295
1295
  }
1296
1296
  /**
@@ -1332,7 +1332,7 @@ function ConfigIssues(props) {
1332
1332
  children: [
1333
1333
  /* @__PURE__ */ jsx(Text, {
1334
1334
  weight: "semibold",
1335
- children: blocking ? `« ${toolTitle} » est désactivé : la configuration de ncfKit() est incomplète.` : `« ${toolTitle} » fonctionne en mode dégradé.`
1335
+ children: blocking ? `"${toolTitle}" is disabled: the ncfKit() configuration is incomplete.` : `"${toolTitle}" is running in degraded mode.`
1336
1336
  }),
1337
1337
  /* @__PURE__ */ jsx(Stack, {
1338
1338
  gap: 3,
@@ -1349,7 +1349,7 @@ function ConfigIssues(props) {
1349
1349
  /* @__PURE__ */ jsx(Text, {
1350
1350
  size: 1,
1351
1351
  muted: !0,
1352
- children: "À corriger dans l'appel à ncfKit() de sanity.config.ts."
1352
+ children: "Fix it in the ncfKit() call in sanity.config.ts."
1353
1353
  })
1354
1354
  ]
1355
1355
  })
@@ -1412,14 +1412,14 @@ async function requestPreviewGrant(endpoint, payload, signal) {
1412
1412
  /** Messages du service, rendus lisibles pour un éditeur. */
1413
1413
  function explainGrantError(error) {
1414
1414
  let code = error instanceof Error ? error.message : String(error);
1415
- return code === "missing_sanity_token" ? "Votre session Sanity n'expose pas de jeton : impossible de prouver votre accès au projet." : code === "no_project_access" ? "Votre compte n'a pas accès à ce projet Sanity." : code === "project_inactive" ? "Ce projet n'est pas actif chez NoCode Factory." : code === "unknown_project" ? "Ce projet n'est pas enregistré chez NoCode Factory." : "Le lien n'a pas pu être créé.";
1415
+ return code === "missing_sanity_token" ? "Your Sanity session exposes no token: unable to prove your access to the project." : code === "no_project_access" ? "Your account has no access to this Sanity project." : code === "project_inactive" ? "This project is not active at NoCode Factory." : code === "unknown_project" ? "This project is not registered at NoCode Factory." : "The link could not be created.";
1416
1416
  }
1417
1417
  /**
1418
1418
  * Version du kit, rapportée au service pour savoir quels projets tournent sur
1419
1419
  * quelle version. Recopiée de `package.json` par `npm version` (scripts/sync-version.mjs) ; un test
1420
1420
  * le vérifie.
1421
1421
  */
1422
- const KIT_VERSION = "2.25.0";
1422
+ const KIT_VERSION = "2.26.0";
1423
1423
  /**
1424
1424
  * Signale ce Studio au service du kit, une fois par montage.
1425
1425
  *
@@ -1472,14 +1472,14 @@ function ProjectStatusNotice(props) {
1472
1472
  children: [/* @__PURE__ */ jsx(Text, {
1473
1473
  size: 1,
1474
1474
  weight: "semibold",
1475
- children: "Le journal n'est pas encore activé pour ce projet."
1475
+ children: "The log is not enabled for this project yet."
1476
1476
  }), /* @__PURE__ */ jsxs(Text, {
1477
1477
  size: 0,
1478
1478
  muted: !0,
1479
1479
  children: [
1480
- "NoCode Factory l'active en lançant ",
1480
+ "NoCode Factory enables it by running ",
1481
1481
  /* @__PURE__ */ jsx("code", { children: "npx ncf-kit setup" }),
1482
- " dans le dossier du studio."
1482
+ " in the studio folder."
1483
1483
  ]
1484
1484
  })]
1485
1485
  })
@@ -1492,11 +1492,11 @@ function ProjectStatusNotice(props) {
1492
1492
  children: [/* @__PURE__ */ jsx(Text, {
1493
1493
  size: 1,
1494
1494
  weight: "semibold",
1495
- children: status === "expired" ? "L'accès à ce projet a expiré." : status === "suspended" ? "Ce projet est suspendu." : "Ce projet n'est plus autorisé."
1495
+ children: status === "expired" ? "Access to this project has expired." : status === "suspended" ? "This project is suspended." : "This project is no longer authorized."
1496
1496
  }), /* @__PURE__ */ jsx(Text, {
1497
1497
  size: 0,
1498
1498
  muted: !0,
1499
- children: "Les outils restent utilisables, mais le journal des modifications est arrêté. Contactez NoCode Factory pour rétablir le service."
1499
+ children: "The tools remain usable, but the change log is stopped. Contact NoCode Factory to restore the service."
1500
1500
  })]
1501
1501
  })
1502
1502
  });
@@ -1522,7 +1522,7 @@ function PreviewOriginsNotice() {
1522
1522
  children: [
1523
1523
  /* @__PURE__ */ jsxs(Text, {
1524
1524
  weight: "semibold",
1525
- children: ["Aperçu muet sur ", missing.length > 1 ? "ces environnements" : "cet environnement"]
1525
+ children: ["Preview not interactive on ", missing.length > 1 ? "these environments" : "this environment"]
1526
1526
  }),
1527
1527
  /* @__PURE__ */ jsx(Stack, {
1528
1528
  gap: 2,
@@ -1531,11 +1531,11 @@ function PreviewOriginsNotice() {
1531
1531
  /* @__PURE__ */ jsxs(Text, {
1532
1532
  size: 1,
1533
1533
  children: [
1534
- "Presentation n'autorise pas ",
1535
- missing.length > 1 ? "ces origines" : "cette origine",
1536
- " : la page s'affiche sans édition visuelle. Dans sanity.config.ts, passer ",
1534
+ "Presentation does not allow ",
1535
+ missing.length > 1 ? "these origins" : "this origin",
1536
+ ": the page is shown without visual editing. In sanity.config.ts, pass ",
1537
1537
  /* @__PURE__ */ jsx(InlineCode, { children: "allowOrigins: ncfAllowedOrigins(options)" }),
1538
- " à presentationTool."
1538
+ " to presentationTool."
1539
1539
  ]
1540
1540
  })
1541
1541
  ]
@@ -1691,7 +1691,7 @@ function useOpenOnline() {
1691
1691
  }
1692
1692
  let tab = window.open("about:blank", "_blank");
1693
1693
  if (tab) {
1694
- tab.opener = null, tab.document.title = "Ouverture de la préversion…", tab.document.body.innerHTML = "<p style=\"font:15px/1.6 system-ui,sans-serif;color:#57534e;padding:2rem\">Ouverture de la préversion…</p>";
1694
+ tab.opener = null, tab.document.title = "Opening the preview…", tab.document.body.innerHTML = "<p style=\"font:15px/1.6 system-ui,sans-serif;color:#57534e;padding:2rem\">Opening the preview…</p>";
1695
1695
  try {
1696
1696
  let { projectId, dataset, token } = client.config();
1697
1697
  if (!projectId || !dataset) throw Error("unknown_project");
@@ -1711,7 +1711,7 @@ function useOpenOnline() {
1711
1711
  tab.location.href = signed ?? plain;
1712
1712
  } catch (cause) {
1713
1713
  let message = explainGrantError(cause);
1714
- tab.document.title = "Préversion indisponible", tab.document.body.innerHTML = "<main style=\"font:15px/1.6 system-ui,sans-serif;color:#1c1917;padding:2rem;max-width:32rem\"><h1 style=\"font-size:18px\">Impossible d'ouvrir la préversion</h1><p style=\"color:#57534e\"></p></main>";
1714
+ tab.document.title = "Preview unavailable", tab.document.body.innerHTML = "<main style=\"font:15px/1.6 system-ui,sans-serif;color:#1c1917;padding:2rem;max-width:32rem\"><h1 style=\"font-size:18px\">Unable to open the preview</h1><p style=\"color:#57534e\"></p></main>";
1715
1715
  let paragraph = tab.document.querySelector("p");
1716
1716
  paragraph && (paragraph.textContent = message);
1717
1717
  }
@@ -1762,7 +1762,7 @@ function useKitUpdate() {
1762
1762
  !controller.signal.aborted && body?.version && setLatest(body.version);
1763
1763
  }).catch(() => {}), () => controller.abort();
1764
1764
  }, []);
1765
- let available = !!(latest && !isPrerelease(latest) && compareVersions(latest, "2.25.0") > 0);
1765
+ let available = !!(latest && !isPrerelease(latest) && compareVersions(latest, "2.26.0") > 0);
1766
1766
  return {
1767
1767
  current: KIT_VERSION,
1768
1768
  latest,
@@ -1827,7 +1827,7 @@ function NcfKitUpdate(props) {
1827
1827
  padding: props.inline ? 2 : 3,
1828
1828
  icon: ArrowUpIcon,
1829
1829
  text: `Kit ${update.latest}`,
1830
- title: `Une version plus récente du kit est disponible (vous exécutez la ${update.current})`,
1830
+ title: `A newer version of the kit is available (you are running ${update.current})`,
1831
1831
  justify: props.inline ? void 0 : "flex-start",
1832
1832
  onClick: toggle
1833
1833
  }),
@@ -1843,13 +1843,13 @@ function NcfKitUpdate(props) {
1843
1843
  children: [
1844
1844
  "Kit ",
1845
1845
  update.latest,
1846
- " disponible"
1846
+ " available"
1847
1847
  ]
1848
1848
  }), /* @__PURE__ */ jsxs(Text, {
1849
1849
  size: 0,
1850
1850
  muted: !0,
1851
1851
  children: [
1852
- "Vous exécutez la ",
1852
+ "You are running ",
1853
1853
  update.current,
1854
1854
  "."
1855
1855
  ]
@@ -1877,7 +1877,7 @@ function NcfKitUpdate(props) {
1877
1877
  fontSize: 1,
1878
1878
  padding: 2,
1879
1879
  icon: copied ? CheckmarkIcon : CopyIcon,
1880
- text: copied ? "Copié" : "Copier la commande",
1880
+ text: copied ? "Copied" : "Copy command",
1881
1881
  onClick: copy
1882
1882
  }), /* @__PURE__ */ jsx(Button, {
1883
1883
  as: "a",
@@ -1887,7 +1887,7 @@ function NcfKitUpdate(props) {
1887
1887
  mode: "bleed",
1888
1888
  fontSize: 1,
1889
1889
  padding: 2,
1890
- text: "Nouveautés"
1890
+ text: "What's new"
1891
1891
  })]
1892
1892
  }),
1893
1893
  /* @__PURE__ */ jsx(Box, {
@@ -1899,14 +1899,14 @@ function NcfKitUpdate(props) {
1899
1899
  size: 0,
1900
1900
  muted: !0,
1901
1901
  children: [
1902
- "À lancer dans ",
1902
+ "Run it in ",
1903
1903
  /* @__PURE__ */ jsx("code", { children: "studio/" }),
1904
- " puis ",
1904
+ " then ",
1905
1905
  /* @__PURE__ */ jsx("code", { children: "web/" }),
1906
- ", suivi d'un",
1906
+ ", followed by",
1907
1907
  " ",
1908
1908
  /* @__PURE__ */ jsx("code", { children: "npx sanity deploy" }),
1909
- ". Le Studio ne peut pas le faire lui-même : il s'exécute dans votre navigateur, pas sur la machine qui le construit."
1909
+ ". The Studio cannot do it itself: it runs in your browser, not on the machine that builds it."
1910
1910
  ]
1911
1911
  })
1912
1912
  })
@@ -1962,12 +1962,12 @@ function NcfToolButtons(props) {
1962
1962
  id: "ncf-tool-menu-more",
1963
1963
  button: /* @__PURE__ */ jsx(Button, {
1964
1964
  icon: EllipsisHorizontalIcon,
1965
- text: "Plus",
1965
+ text: "More",
1966
1966
  mode: "bleed",
1967
1967
  fontSize: 1,
1968
1968
  padding: 3,
1969
1969
  selected: more.some((t) => t.name === activeToolName),
1970
- title: `Outils techniques (${more.map((t) => t.title || t.name).join(", ")})`
1970
+ title: `Technical tools (${more.map((t) => t.title || t.name).join(", ")})`
1971
1971
  }),
1972
1972
  menu: /* @__PURE__ */ jsx(Menu, { children: more.map((tool) => /* @__PURE__ */ jsx(MenuItem, {
1973
1973
  as: ToolAnchor,
@@ -2045,8 +2045,8 @@ function NcfPreviewLauncher(props) {
2045
2045
  fontSize: 1,
2046
2046
  padding: inline ? 2 : 3,
2047
2047
  icon: EyeOpenIcon,
2048
- text: "Prévisualiser",
2049
- title: "Ouvrir le site dans l'aperçu",
2048
+ text: "Preview",
2049
+ title: "Open the site in the preview",
2050
2050
  justify: inline ? void 0 : "flex-start",
2051
2051
  onClick: toggle
2052
2052
  }),
@@ -2059,7 +2059,7 @@ function NcfPreviewLauncher(props) {
2059
2059
  children: /* @__PURE__ */ jsx(Text, {
2060
2060
  size: 0,
2061
2061
  muted: !0,
2062
- children: "Cliquer : ouvre dans le Studio. L'icône ↗ : ouvre le site en ligne."
2062
+ children: "Click: opens in the Studio. The ↗ icon: opens the live site."
2063
2063
  })
2064
2064
  }), previewTargets(environments, config.previewUrl).map((target) => {
2065
2065
  let tone = TARGET_TONES[target.tone];
@@ -2081,7 +2081,7 @@ function NcfPreviewLauncher(props) {
2081
2081
  background: tone.background,
2082
2082
  color: tone.color
2083
2083
  },
2084
- title: "Ouvrir dans le Studio (Presentation)",
2084
+ title: "Open in the Studio (Presentation)",
2085
2085
  children: /* @__PURE__ */ jsxs(Stack, {
2086
2086
  gap: 1,
2087
2087
  style: { minWidth: 0 },
@@ -2105,8 +2105,8 @@ function NcfPreviewLauncher(props) {
2105
2105
  padding: 2,
2106
2106
  fontSize: 1,
2107
2107
  icon: LaunchIcon,
2108
- title: "Ouvrir le site en ligne, dans un nouvel onglet",
2109
- "aria-label": `Ouvrir ${target.label} dans un nouvel onglet`,
2108
+ title: "Open the live site in a new tab",
2109
+ "aria-label": `Open ${target.label} in a new tab`,
2110
2110
  onClick: () => {
2111
2111
  openOnline(target.environment, target.perspective), close();
2112
2112
  }
@@ -2248,7 +2248,7 @@ function pageTypeFor(type, pageTypes) {
2248
2248
  * qu'une cellule vide.
2249
2249
  */
2250
2250
  function formatDocumentValue(value, type, invert = !1) {
2251
- return value == null ? type === "boolean" && invert ? "Oui" : "" : type === "boolean" ? (invert ? !value : value) ? "Oui" : "Non" : type === "number" ? typeof value == "number" ? String(value) : "" : typeof value == "string" ? value.trim() : typeof value == "number" || typeof value == "boolean" ? String(value) : "";
2251
+ return value == null ? type === "boolean" && invert ? "Yes" : "" : type === "boolean" ? (invert ? !value : value) ? "Yes" : "No" : type === "number" ? typeof value == "number" ? String(value) : "" : typeof value == "string" ? value.trim() : typeof value == "number" || typeof value == "boolean" ? String(value) : "";
2252
2252
  }
2253
2253
  function buildPageRows(docs, config, documentColumns = []) {
2254
2254
  return mergeVersions(docs).map((merged) => {
@@ -2261,7 +2261,7 @@ function buildPageRows(docs, config, documentColumns = []) {
2261
2261
  return {
2262
2262
  id: merged.id,
2263
2263
  type: doc._type,
2264
- title: doc.ncfTitle?.trim() || "Sans titre",
2264
+ title: doc.ncfTitle?.trim() || "Untitled",
2265
2265
  path,
2266
2266
  url: toUrl(config.previewUrl, path),
2267
2267
  locale: doc.ncfLocale ?? null,
@@ -2525,17 +2525,17 @@ function indexationColumn(noindexFields) {
2525
2525
  const TABS = [
2526
2526
  {
2527
2527
  value: "list",
2528
- label: "Liste",
2528
+ label: "List",
2529
2529
  icon: DocumentsIcon
2530
2530
  },
2531
2531
  {
2532
2532
  value: "tree",
2533
- label: "Arbo",
2533
+ label: "Tree",
2534
2534
  icon: ProjectsIcon
2535
2535
  },
2536
2536
  {
2537
2537
  value: "brain",
2538
- label: "Cerveau",
2538
+ label: "Graph",
2539
2539
  icon: CircleIcon
2540
2540
  }
2541
2541
  ];
@@ -2548,7 +2548,7 @@ function ViewTabs(props) {
2548
2548
  return /* @__PURE__ */ jsx(Flex, {
2549
2549
  gap: 1,
2550
2550
  role: "tablist",
2551
- "aria-label": "Vue des pages",
2551
+ "aria-label": "Pages view",
2552
2552
  children: TABS.map((tab) => {
2553
2553
  let active = props.view === tab.value;
2554
2554
  return /* @__PURE__ */ jsx(Button, {
@@ -2593,7 +2593,7 @@ function PreviewTarget(props) {
2593
2593
  let { environments, environmentId, perspective, onEnvironment, onPerspective } = props, { onCustomUrl, customUrl, productionUrl } = props, current = environments.find((environment) => environment.id === environmentId), onProduction = !!(current && productionUrl && current.url.replace(/\/+$/, "") === productionUrl.replace(/\/+$/, "")) || current?.id === "production";
2594
2594
  return /* @__PURE__ */ jsxs(Box, {
2595
2595
  style: { flex: "none" },
2596
- children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Aperçu" }), /* @__PURE__ */ jsxs(Flex, {
2596
+ children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Preview" }), /* @__PURE__ */ jsxs(Flex, {
2597
2597
  gap: 1,
2598
2598
  align: "center",
2599
2599
  children: [PERSPECTIVES.map((option) => {
@@ -2605,7 +2605,7 @@ function PreviewTarget(props) {
2605
2605
  fontSize: 1,
2606
2606
  padding: 2,
2607
2607
  text: option.label,
2608
- title: unavailable ? "La production ne montre que le contenu en ligne : les brouillons se relisent sur la préprod." : option.hint,
2608
+ title: unavailable ? "Production only shows published content: review drafts on staging." : option.hint,
2609
2609
  "aria-pressed": active,
2610
2610
  onClick: () => onPerspective(option.id)
2611
2611
  }, option.id);
@@ -2616,8 +2616,8 @@ function PreviewTarget(props) {
2616
2616
  fontSize: 1,
2617
2617
  padding: 2,
2618
2618
  icon: EarthGlobeIcon,
2619
- text: current?.label ?? "Environnement",
2620
- title: "Version du site chargée dans l'aperçu",
2619
+ text: current?.label ?? "Environment",
2620
+ title: "Site version loaded in the preview",
2621
2621
  onClick: toggle
2622
2622
  }),
2623
2623
  children: ({ close }) => /* @__PURE__ */ jsxs(Stack, {
@@ -2630,7 +2630,7 @@ function PreviewTarget(props) {
2630
2630
  children: /* @__PURE__ */ jsx(Text, {
2631
2631
  size: 0,
2632
2632
  muted: !0,
2633
- children: "Version du site. Les données ne changent pas."
2633
+ children: "Site version. The data does not change."
2634
2634
  })
2635
2635
  }),
2636
2636
  environments.map((environment) => /* @__PURE__ */ jsx(EnvironmentRow, {
@@ -2695,7 +2695,7 @@ function EnvironmentRow(props) {
2695
2695
  size: 0,
2696
2696
  muted: !0,
2697
2697
  textOverflow: "ellipsis",
2698
- children: props.isProduction ? "site public — pas de préversion" : hostOf(props.environment.url)
2698
+ children: props.isProduction ? "public site (no preview)" : hostOf(props.environment.url)
2699
2699
  })]
2700
2700
  }),
2701
2701
  props.onForget && /* @__PURE__ */ jsx(Button, {
@@ -2703,8 +2703,8 @@ function EnvironmentRow(props) {
2703
2703
  padding: 1,
2704
2704
  fontSize: 0,
2705
2705
  icon: CloseIcon,
2706
- title: "Oublier cette adresse",
2707
- "aria-label": "Oublier cette adresse",
2706
+ title: "Forget this address",
2707
+ "aria-label": "Forget this address",
2708
2708
  onClick: props.onForget
2709
2709
  })
2710
2710
  ]
@@ -2731,7 +2731,7 @@ function CustomUrlField(props) {
2731
2731
  children: [/* @__PURE__ */ jsx("input", {
2732
2732
  type: "text",
2733
2733
  value,
2734
- placeholder: props.current ? "Autre adresse…" : "Coller une URL de préversion…",
2734
+ placeholder: props.current ? "Other address…" : "Paste a preview URL…",
2735
2735
  onChange: (event) => {
2736
2736
  setValue(event.currentTarget.value), setRejected(!1);
2737
2737
  },
@@ -2753,7 +2753,7 @@ function CustomUrlField(props) {
2753
2753
  }), rejected && /* @__PURE__ */ jsx(Text, {
2754
2754
  size: 0,
2755
2755
  style: { color: "var(--card-badge-critical-dot-color, #e03131)" },
2756
- children: "Adresse inexploitable."
2756
+ children: "Unusable address."
2757
2757
  })]
2758
2758
  })
2759
2759
  });
@@ -2767,15 +2767,15 @@ const hostOf = (url) => {
2767
2767
  }, DURATIONS = [
2768
2768
  {
2769
2769
  days: 1,
2770
- label: "1 jour"
2770
+ label: "1 day"
2771
2771
  },
2772
2772
  {
2773
2773
  days: 7,
2774
- label: "7 jours"
2774
+ label: "7 days"
2775
2775
  },
2776
2776
  {
2777
2777
  days: 30,
2778
- label: "30 jours"
2778
+ label: "30 days"
2779
2779
  }
2780
2780
  ];
2781
2781
  /**
@@ -2828,8 +2828,8 @@ function SharePreview() {
2828
2828
  fontSize: 1,
2829
2829
  padding: 2,
2830
2830
  icon: ShareIcon,
2831
- text: "Partager la préversion",
2832
- title: "Créer un lien que n'importe qui peut ouvrir, sans compte",
2831
+ text: "Share preview",
2832
+ title: "Create a link anyone can open, without an account",
2833
2833
  onClick: toggle
2834
2834
  }),
2835
2835
  children: () => /* @__PURE__ */ jsx(Stack, {
@@ -2841,20 +2841,20 @@ function SharePreview() {
2841
2841
  /* @__PURE__ */ jsx(Text, {
2842
2842
  size: 1,
2843
2843
  weight: "semibold",
2844
- children: "Rien à partager sur le site public"
2844
+ children: "Nothing to share on the public site"
2845
2845
  }),
2846
2846
  /* @__PURE__ */ jsx(Text, {
2847
2847
  size: 0,
2848
2848
  muted: !0,
2849
- children: "La production n'affiche jamais les brouillons — c'est ce qui protège votre contenu non publié. Un lien vers elle ne montrerait rien de plus qu'une visite ordinaire."
2849
+ children: "Production never shows drafts: that is what protects your unpublished content. A link to it would show nothing more than an ordinary visit."
2850
2850
  }),
2851
2851
  /* @__PURE__ */ jsxs(Text, {
2852
2852
  size: 0,
2853
2853
  muted: !0,
2854
2854
  children: [
2855
- "Choisissez d'abord une ",
2856
- /* @__PURE__ */ jsx("b", { children: "préversion" }),
2857
- " dans le sélecteur d'environnement, à gauche : une préproduction déclarée, ou l'adresse d'un déploiement de branche que vous y collez."
2855
+ "First choose a ",
2856
+ /* @__PURE__ */ jsx("b", { children: "preview" }),
2857
+ " in the environment picker on the left: a declared staging environment, or the address of a branch deployment that you paste there."
2858
2858
  ]
2859
2859
  })
2860
2860
  ]
@@ -2863,16 +2863,16 @@ function SharePreview() {
2863
2863
  size: 0,
2864
2864
  muted: !0,
2865
2865
  children: [
2866
- "Un lien qui ouvre ",
2867
- /* @__PURE__ */ jsx("b", { children: environment?.label ?? "le site" }),
2868
- " et permet d'y basculer entre brouillons et contenu en ligne. Celui qui l'a n'a besoin d'aucun compte."
2866
+ "A link that opens ",
2867
+ /* @__PURE__ */ jsx("b", { children: environment?.label ?? "the site" }),
2868
+ " and lets you switch between drafts and published content there. Whoever has it needs no account."
2869
2869
  ]
2870
2870
  }),
2871
2871
  !link && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(TextInput, {
2872
2872
  fontSize: 1,
2873
2873
  padding: 2,
2874
2874
  radius: 2,
2875
- placeholder: "À quoi sert ce lien ? (facultatif)",
2875
+ placeholder: "What is this link for? (optional)",
2876
2876
  value: label,
2877
2877
  onChange: (event) => setLabel(event.currentTarget.value)
2878
2878
  }), /* @__PURE__ */ jsx(Flex, {
@@ -2892,7 +2892,7 @@ function SharePreview() {
2892
2892
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
2893
2893
  size: 1,
2894
2894
  muted: !0,
2895
- children: "Création…"
2895
+ children: "Creating…"
2896
2896
  })]
2897
2897
  }),
2898
2898
  error && /* @__PURE__ */ jsx(Card, {
@@ -2932,13 +2932,13 @@ function SharePreview() {
2932
2932
  fontSize: 1,
2933
2933
  padding: 2,
2934
2934
  icon: copied ? CheckmarkIcon : ShareIcon,
2935
- text: copied ? "Copié" : "Copier le lien",
2935
+ text: copied ? "Copied" : "Copy link",
2936
2936
  onClick: copy
2937
2937
  }), /* @__PURE__ */ jsx(Button, {
2938
2938
  mode: "bleed",
2939
2939
  fontSize: 1,
2940
2940
  padding: 2,
2941
- text: "Un autre",
2941
+ text: "Another one",
2942
2942
  onClick: () => {
2943
2943
  setLink(null), setCopied(!1);
2944
2944
  }
@@ -2948,9 +2948,9 @@ function SharePreview() {
2948
2948
  size: 0,
2949
2949
  muted: !0,
2950
2950
  children: [
2951
- "Valable jusqu'au ",
2952
- new Date(expiresAt).toLocaleDateString("fr-FR"),
2953
- ". Révocable à tout moment par NoCode Factory."
2951
+ "Valid until ",
2952
+ new Date(expiresAt).toLocaleDateString("en-US"),
2953
+ ". Can be revoked at any time by NoCode Factory."
2954
2954
  ]
2955
2955
  })
2956
2956
  ]
@@ -2970,7 +2970,7 @@ function useTranslationTodos() {
2970
2970
  });
2971
2971
  return useMemo(() => new Map((data ?? []).map((t) => [t.documentId, t.count])), [data]);
2972
2972
  }
2973
- const UNSET_LABEL = "Non renseigné", fieldIdOf = (groupBy) => groupBy.startsWith("field:") ? groupBy.slice(6) : null;
2973
+ const UNSET_LABEL = "Not set", fieldIdOf = (groupBy) => groupBy.startsWith("field:") ? groupBy.slice(6) : null;
2974
2974
  /** Valeur du critère pour une ligne. Chaîne vide = non renseigné. */
2975
2975
  function groupValue(row, groupBy, options) {
2976
2976
  if (groupBy === "type") return row.type;
@@ -2984,7 +2984,7 @@ function groupValue(row, groupBy, options) {
2984
2984
  function describe(value, groupBy, options) {
2985
2985
  if (!value) return { label: UNSET_LABEL };
2986
2986
  if (groupBy === "status") return { label: STATUS_LABELS[row_status(value)].label };
2987
- if (groupBy === "indexation") return value === "noindex" ? { label: "Non indexable" } : { label: "Indexable" };
2987
+ if (groupBy === "indexation") return value === "noindex" ? { label: "Not indexable" } : { label: "Indexable" };
2988
2988
  if (groupBy === "tag") {
2989
2989
  let tag = options.tags.find((t) => t.id === value);
2990
2990
  return tag ? {
@@ -3227,14 +3227,14 @@ function QueryError(props) {
3227
3227
  children: [
3228
3228
  /* @__PURE__ */ jsx(Text, {
3229
3229
  weight: "semibold",
3230
- children: "La requête a échoué."
3230
+ children: "The query failed."
3231
3231
  }),
3232
3232
  /* @__PURE__ */ jsx(Text, {
3233
3233
  size: 1,
3234
3234
  children: props.error.message
3235
3235
  }),
3236
3236
  /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Button, {
3237
- text: "Réessayer",
3237
+ text: "Retry",
3238
3238
  mode: "ghost",
3239
3239
  onClick: props.onRetry
3240
3240
  }) })
@@ -3251,7 +3251,7 @@ function StatusBadge(props) {
3251
3251
  children: label
3252
3252
  });
3253
3253
  }
3254
- const formatter = new Intl.DateTimeFormat("fr-FR", {
3254
+ const formatter = new Intl.DateTimeFormat("en-US", {
3255
3255
  day: "2-digit",
3256
3256
  month: "2-digit",
3257
3257
  year: "numeric",
@@ -3332,7 +3332,7 @@ function FieldValue(props) {
3332
3332
  border: bordered ? `1px solid ${BORDER}` : void 0,
3333
3333
  background: bordered ? "var(--card-bg-color)" : void 0
3334
3334
  },
3335
- title: `Changer ${(column.label || column.id).toLowerCase()}`,
3335
+ title: `Change ${(column.label || column.id).toLowerCase()}`,
3336
3336
  children: current ? /* @__PURE__ */ jsxs(Fragment, { children: [current.color && /* @__PURE__ */ jsx(Dot, { color: current.color }), /* @__PURE__ */ jsx(Text, {
3337
3337
  size: 0,
3338
3338
  textOverflow: "ellipsis",
@@ -3367,7 +3367,7 @@ function OptionEditor(props) {
3367
3367
  gap: 1,
3368
3368
  children: [
3369
3369
  onSelect && /* @__PURE__ */ jsx(Option, {
3370
- label: "Aucune valeur",
3370
+ label: "No value",
3371
3371
  selected: !options.some((option) => option.id === selectedId),
3372
3372
  onSelect: () => onSelect("")
3373
3373
  }),
@@ -3376,7 +3376,7 @@ function OptionEditor(props) {
3376
3376
  children: /* @__PURE__ */ jsx(Text, {
3377
3377
  size: 0,
3378
3378
  muted: !0,
3379
- children: "Aucun choix pour l'instant."
3379
+ children: "No choices yet."
3380
3380
  })
3381
3381
  }),
3382
3382
  options.map((option) => /* @__PURE__ */ jsx(Option, {
@@ -3419,7 +3419,7 @@ function Option(props) {
3419
3419
  children: [
3420
3420
  /* @__PURE__ */ jsx(Box, {
3421
3421
  onClick: () => props.onColor && setPicking((value) => !value),
3422
- title: props.onColor ? "Couleur" : void 0,
3422
+ title: props.onColor ? "Color" : void 0,
3423
3423
  style: {
3424
3424
  width: 10,
3425
3425
  height: 10,
@@ -3453,8 +3453,8 @@ function Option(props) {
3453
3453
  padding: 1,
3454
3454
  fontSize: 0,
3455
3455
  icon: CloseIcon,
3456
- title: "Supprimer ce choix",
3457
- "aria-label": "Supprimer ce choix",
3456
+ title: "Delete this choice",
3457
+ "aria-label": "Delete this choice",
3458
3458
  onClick: props.onRemove
3459
3459
  })
3460
3460
  ]
@@ -3480,7 +3480,7 @@ function Option(props) {
3480
3480
  mode: "bleed",
3481
3481
  padding: 1,
3482
3482
  fontSize: 0,
3483
- text: "Aucune",
3483
+ text: "None",
3484
3484
  onClick: () => {
3485
3485
  props.onColor?.(null), setPicking(!1);
3486
3486
  }
@@ -3507,7 +3507,7 @@ function NewOption(props) {
3507
3507
  type: "text",
3508
3508
  autoFocus: !0,
3509
3509
  value: label,
3510
- placeholder: "Nom du choix",
3510
+ placeholder: "Choice name",
3511
3511
  onChange: (event) => setLabel(event.currentTarget.value),
3512
3512
  onKeyDown: (event) => {
3513
3513
  event.key === "Enter" && submit(), event.key === "Escape" && (setLabel(""), setOpen(!1));
@@ -3537,7 +3537,7 @@ function NewOption(props) {
3537
3537
  padding: 2,
3538
3538
  fontSize: 1,
3539
3539
  icon: AddIcon,
3540
- text: "Ajouter un choix",
3540
+ text: "Add a choice",
3541
3541
  style: {
3542
3542
  width: "100%",
3543
3543
  justifyContent: "flex-start"
@@ -3567,21 +3567,21 @@ function ColumnHeader(props) {
3567
3567
  /* @__PURE__ */ jsx(Text, {
3568
3568
  size: 0,
3569
3569
  muted: !0,
3570
- children: "Supprimer ?"
3570
+ children: "Delete?"
3571
3571
  }),
3572
3572
  /* @__PURE__ */ jsx(Button, {
3573
3573
  mode: "bleed",
3574
3574
  tone: "critical",
3575
3575
  padding: 1,
3576
3576
  fontSize: 0,
3577
- text: "Oui",
3577
+ text: "Yes",
3578
3578
  onClick: () => onRemove(column.id)
3579
3579
  }),
3580
3580
  /* @__PURE__ */ jsx(Button, {
3581
3581
  mode: "bleed",
3582
3582
  padding: 1,
3583
3583
  fontSize: 0,
3584
- text: "Non",
3584
+ text: "No",
3585
3585
  onClick: () => setConfirming(!1)
3586
3586
  })
3587
3587
  ]
@@ -3603,7 +3603,7 @@ function ColumnHeader(props) {
3603
3603
  weight: "medium",
3604
3604
  muted: !0,
3605
3605
  textOverflow: "ellipsis",
3606
- title: "Cliquer pour renommer",
3606
+ title: "Click to rename",
3607
3607
  children: column.label || column.id
3608
3608
  })
3609
3609
  }), (hovered || managing) && /* @__PURE__ */ jsxs(Flex, {
@@ -3618,8 +3618,8 @@ function ColumnHeader(props) {
3618
3618
  padding: 1,
3619
3619
  fontSize: 0,
3620
3620
  icon: UlistIcon,
3621
- title: "Gérer les choix",
3622
- "aria-label": "Gérer les choix de la colonne",
3621
+ title: "Manage choices",
3622
+ "aria-label": "Manage column choices",
3623
3623
  onClick: toggle
3624
3624
  }),
3625
3625
  children: () => /* @__PURE__ */ jsx(OptionEditor, {
@@ -3632,8 +3632,8 @@ function ColumnHeader(props) {
3632
3632
  padding: 1,
3633
3633
  fontSize: 0,
3634
3634
  icon: ChevronLeftIcon,
3635
- title: "Déplacer à gauche",
3636
- "aria-label": "Déplacer la colonne à gauche",
3635
+ title: "Move left",
3636
+ "aria-label": "Move column left",
3637
3637
  onClick: () => onMove(column.id, -1)
3638
3638
  }),
3639
3639
  /* @__PURE__ */ jsx(Button, {
@@ -3641,8 +3641,8 @@ function ColumnHeader(props) {
3641
3641
  padding: 1,
3642
3642
  fontSize: 0,
3643
3643
  icon: ChevronRightIcon,
3644
- title: "Déplacer à droite",
3645
- "aria-label": "Déplacer la colonne à droite",
3644
+ title: "Move right",
3645
+ "aria-label": "Move column right",
3646
3646
  onClick: () => onMove(column.id, 1)
3647
3647
  }),
3648
3648
  /* @__PURE__ */ jsx(Button, {
@@ -3651,8 +3651,8 @@ function ColumnHeader(props) {
3651
3651
  fontSize: 0,
3652
3652
  icon: CloseIcon,
3653
3653
  tone: "critical",
3654
- title: "Supprimer la colonne",
3655
- "aria-label": "Supprimer la colonne",
3654
+ title: "Delete column",
3655
+ "aria-label": "Delete column",
3656
3656
  onClick: () => setConfirming(!0)
3657
3657
  })
3658
3658
  ]
@@ -3667,7 +3667,7 @@ function AddColumn(props) {
3667
3667
  padding: 1,
3668
3668
  fontSize: 0,
3669
3669
  icon: AddIcon,
3670
- text: "Colonne",
3670
+ text: "Column",
3671
3671
  onClick: () => setOpen(!0)
3672
3672
  });
3673
3673
  let submit = () => {
@@ -3689,7 +3689,7 @@ function AddColumn(props) {
3689
3689
  padding: 1,
3690
3690
  radius: 2,
3691
3691
  autoFocus: !0,
3692
- placeholder: "Nom de la colonne",
3692
+ placeholder: "Column name",
3693
3693
  value: label,
3694
3694
  onChange: (event) => setLabel(event.currentTarget.value),
3695
3695
  onKeyDown: (event) => {
@@ -3702,13 +3702,13 @@ function AddColumn(props) {
3702
3702
  mode: type === "text" ? "default" : "bleed",
3703
3703
  padding: 1,
3704
3704
  fontSize: 0,
3705
- text: "Texte",
3705
+ text: "Text",
3706
3706
  onClick: () => setType("text")
3707
3707
  }), /* @__PURE__ */ jsx(Button, {
3708
3708
  mode: type === "select" ? "default" : "bleed",
3709
3709
  padding: 1,
3710
3710
  fontSize: 0,
3711
- text: "Liste",
3711
+ text: "List",
3712
3712
  onClick: () => setType("select")
3713
3713
  })]
3714
3714
  }),
@@ -3719,13 +3719,13 @@ function AddColumn(props) {
3719
3719
  tone: "primary",
3720
3720
  padding: 1,
3721
3721
  fontSize: 0,
3722
- text: "Ajouter",
3722
+ text: "Add",
3723
3723
  onClick: submit
3724
3724
  }), /* @__PURE__ */ jsx(Button, {
3725
3725
  mode: "bleed",
3726
3726
  padding: 1,
3727
3727
  fontSize: 0,
3728
- text: "Annuler",
3728
+ text: "Cancel",
3729
3729
  onClick: () => setOpen(!1)
3730
3730
  })]
3731
3731
  })
@@ -3768,7 +3768,7 @@ function PathCell(props) {
3768
3768
  href: url,
3769
3769
  target: "_blank",
3770
3770
  rel: "noreferrer",
3771
- title: `Ouvrir ${url}`,
3771
+ title: `Open ${url}`,
3772
3772
  onClick: (event) => {
3773
3773
  guarded && (event.preventDefault(), open(environment, {
3774
3774
  path: pathnameOf(url),
@@ -3827,7 +3827,7 @@ function TagCell(props) {
3827
3827
  ...CELL,
3828
3828
  cursor: "pointer"
3829
3829
  },
3830
- title: "Changer l’étiquette",
3830
+ title: "Change tag",
3831
3831
  children: current ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Box, { style: {
3832
3832
  width: 6,
3833
3833
  height: 6,
@@ -3847,7 +3847,7 @@ function TagCell(props) {
3847
3847
  children: ({ close }) => /* @__PURE__ */ jsxs(Stack, {
3848
3848
  gap: 0,
3849
3849
  children: [/* @__PURE__ */ jsx(TagOption, {
3850
- label: "Sans étiquette",
3850
+ label: "No tag",
3851
3851
  selected: !current,
3852
3852
  onClick: () => {
3853
3853
  onChange(null), close();
@@ -3907,28 +3907,28 @@ function TagOption(props) {
3907
3907
  const BASE_COLUMNS = [
3908
3908
  {
3909
3909
  key: "title",
3910
- label: "Titre",
3910
+ label: "Title",
3911
3911
  width: "minmax(180px, 1.6fr)"
3912
3912
  },
3913
3913
  {
3914
3914
  key: "path",
3915
- label: "Chemin",
3915
+ label: "Path",
3916
3916
  width: "minmax(200px, 2fr)"
3917
3917
  },
3918
3918
  {
3919
3919
  key: "status",
3920
- label: "Statut",
3920
+ label: "Status",
3921
3921
  width: "118px"
3922
3922
  },
3923
3923
  {
3924
3924
  key: "blockCount",
3925
- label: "Blocs",
3925
+ label: "Blocks",
3926
3926
  align: "right",
3927
3927
  width: "64px"
3928
3928
  },
3929
3929
  {
3930
3930
  key: "updatedAt",
3931
- label: "Modifiée",
3931
+ label: "Updated",
3932
3932
  width: "132px"
3933
3933
  }
3934
3934
  ];
@@ -3976,7 +3976,7 @@ function PagesTable(props) {
3976
3976
  cursor: "pointer",
3977
3977
  userSelect: "none"
3978
3978
  },
3979
- title: `Trier par ${column.label.toLowerCase()}`,
3979
+ title: `Sort by ${column.label.toLowerCase()}`,
3980
3980
  children: [/* @__PURE__ */ jsx(Text, {
3981
3981
  size: 0,
3982
3982
  weight: "medium",
@@ -3999,7 +3999,7 @@ function PagesTable(props) {
3999
3999
  size: 0,
4000
4000
  weight: "medium",
4001
4001
  muted: !0,
4002
- children: "Étiquette"
4002
+ children: "Tag"
4003
4003
  }),
4004
4004
  columns.map((column) => /* @__PURE__ */ jsx(ColumnHeader, {
4005
4005
  column,
@@ -4092,7 +4092,7 @@ function PagesTable(props) {
4092
4092
  cursor: "pointer"
4093
4093
  },
4094
4094
  onClick: () => onOpen(entryRow),
4095
- title: "Ouvrir dans Presentation",
4095
+ title: "Open in Presentation",
4096
4096
  children: /* @__PURE__ */ jsx(Text, {
4097
4097
  size: 1,
4098
4098
  weight: "medium",
@@ -4121,13 +4121,13 @@ function PagesTable(props) {
4121
4121
  !!todos?.get(entryRow.id) && /* @__PURE__ */ jsxs(Badge, {
4122
4122
  tone: "caution",
4123
4123
  fontSize: 0,
4124
- title: "Champs modifiés dans la version principale, pas encore traduits (marqués « À traduire » dans le formulaire)",
4125
- children: ["À traduire · ", todos?.get(entryRow.id)]
4124
+ title: "Fields changed in the main version, not yet translated (marked \"To translate\" in the form)",
4125
+ children: ["To translate · ", todos?.get(entryRow.id)]
4126
4126
  }),
4127
4127
  entryRow.noindex && /* @__PURE__ */ jsx(Badge, {
4128
4128
  tone: "caution",
4129
4129
  fontSize: 0,
4130
- title: "Exclue de Google, du sitemap et de llms.txt",
4130
+ title: "Excluded from Google, the sitemap and llms.txt",
4131
4131
  children: "Noindex"
4132
4132
  })
4133
4133
  ]
@@ -4206,7 +4206,7 @@ function PagesToolbar(props) {
4206
4206
  children: /* @__PURE__ */ jsx(TextInput, {
4207
4207
  value: props.search,
4208
4208
  onChange: (event) => props.onSearch(event.currentTarget.value),
4209
- placeholder: "Rechercher un titre ou un chemin",
4209
+ placeholder: "Search a title or a path",
4210
4210
  icon: SearchIcon,
4211
4211
  clearButton: props.search.length > 0,
4212
4212
  onClear: () => props.onSearch(""),
@@ -4221,8 +4221,8 @@ function PagesToolbar(props) {
4221
4221
  tone: "default",
4222
4222
  fontSize: 1,
4223
4223
  padding: 2,
4224
- title: "Rafraîchir",
4225
- "aria-label": "Rafraîchir",
4224
+ title: "Refresh",
4225
+ "aria-label": "Refresh",
4226
4226
  onClick: props.onRefresh,
4227
4227
  disabled: props.busy
4228
4228
  })
@@ -4233,24 +4233,24 @@ function PagesToolbar(props) {
4233
4233
  const HIDEABLE = [
4234
4234
  {
4235
4235
  key: "status",
4236
- label: "Statut"
4236
+ label: "Status"
4237
4237
  },
4238
4238
  {
4239
4239
  key: "blockCount",
4240
- label: "Blocs"
4240
+ label: "Blocks"
4241
4241
  },
4242
4242
  {
4243
4243
  key: "updatedAt",
4244
- label: "Modifiée"
4244
+ label: "Updated"
4245
4245
  },
4246
4246
  {
4247
4247
  key: "tag",
4248
- label: "Étiquette"
4248
+ label: "Tag"
4249
4249
  }
4250
4250
  ];
4251
4251
  /** Choix des colonnes affichées, sans quitter le tableau. */
4252
4252
  function ColumnVisibility(props) {
4253
- let { hidden, onToggle, dataColumns, shownData, onToggleData } = props, hiddenCount = HIDEABLE.filter((column) => hidden.has(column.key)).length, shownCount = dataColumns.filter((column) => shownData.has(column.key)).length, label = hiddenCount > 0 ? `Colonnes · ${hiddenCount} masquée${hiddenCount > 1 ? "s" : ""}` : shownCount > 0 ? `Colonnes · +${shownCount}` : "Colonnes";
4253
+ let { hidden, onToggle, dataColumns, shownData, onToggleData } = props, hiddenCount = HIDEABLE.filter((column) => hidden.has(column.key)).length, shownCount = dataColumns.filter((column) => shownData.has(column.key)).length, label = hiddenCount > 0 ? `Columns · ${hiddenCount} hidden` : shownCount > 0 ? `Columns · +${shownCount}` : "Columns";
4254
4254
  return /* @__PURE__ */ jsx(InlinePopover, {
4255
4255
  width: 264,
4256
4256
  trigger: ({ toggle }) => /* @__PURE__ */ jsx(Button, {
@@ -4328,7 +4328,7 @@ function DataColumnList(props) {
4328
4328
  size: 0,
4329
4329
  weight: "semibold",
4330
4330
  muted: !0,
4331
- children: "Données de la page"
4331
+ children: "Page data"
4332
4332
  })
4333
4333
  }),
4334
4334
  dataColumns.length > 8 && /* @__PURE__ */ jsx(Box, {
@@ -4337,7 +4337,7 @@ function DataColumnList(props) {
4337
4337
  children: /* @__PURE__ */ jsx("input", {
4338
4338
  type: "text",
4339
4339
  value: filter,
4340
- placeholder: "Filtrer…",
4340
+ placeholder: "Filter…",
4341
4341
  onChange: (event) => setFilter(event.currentTarget.value),
4342
4342
  style: {
4343
4343
  width: "100%",
@@ -4362,7 +4362,7 @@ function DataColumnList(props) {
4362
4362
  children: /* @__PURE__ */ jsx(Text, {
4363
4363
  size: 0,
4364
4364
  muted: !0,
4365
- children: "Aucun champ ne correspond."
4365
+ children: "No matching fields."
4366
4366
  })
4367
4367
  })
4368
4368
  ] })]
@@ -4422,7 +4422,7 @@ function PagePanel(props) {
4422
4422
  padding: 1,
4423
4423
  fontSize: 0,
4424
4424
  icon: CloseIcon,
4425
- "aria-label": "Fermer",
4425
+ "aria-label": "Close",
4426
4426
  onClick: onClose
4427
4427
  })]
4428
4428
  }),
@@ -4453,7 +4453,7 @@ function PagePanel(props) {
4453
4453
  size: 0,
4454
4454
  muted: !0,
4455
4455
  align: "center",
4456
- children: failed ? "Capture non générée" : "Pas de capture"
4456
+ children: failed ? "Screenshot not generated" : "No screenshot"
4457
4457
  })
4458
4458
  })
4459
4459
  }),
@@ -4488,9 +4488,9 @@ function PagePanel(props) {
4488
4488
  muted: !0,
4489
4489
  children: [
4490
4490
  incoming,
4491
- " lien(s) entrant(s) · ",
4491
+ " incoming link(s) · ",
4492
4492
  outgoing,
4493
- " sortant(s)"
4493
+ " outgoing"
4494
4494
  ]
4495
4495
  }),
4496
4496
  /* @__PURE__ */ jsxs(Stack, {
@@ -4499,14 +4499,14 @@ function PagePanel(props) {
4499
4499
  size: 0,
4500
4500
  weight: "semibold",
4501
4501
  muted: !0,
4502
- children: "Étiquette"
4502
+ children: "Tag"
4503
4503
  }), /* @__PURE__ */ jsxs(Select, {
4504
4504
  fontSize: 1,
4505
4505
  value: tag ?? "",
4506
4506
  onChange: (event) => onTag(row.id, event.currentTarget.value || null),
4507
4507
  children: [/* @__PURE__ */ jsx("option", {
4508
4508
  value: "",
4509
- children: "Sans étiquette"
4509
+ children: "No tag"
4510
4510
  }), tags.map((option) => /* @__PURE__ */ jsx("option", {
4511
4511
  value: option.id,
4512
4512
  children: option.label
@@ -4519,7 +4519,7 @@ function PagePanel(props) {
4519
4519
  size: 0,
4520
4520
  weight: "semibold",
4521
4521
  muted: !0,
4522
- children: "Gestion interne"
4522
+ children: "Internal management"
4523
4523
  }), columns.map((column) => /* @__PURE__ */ jsxs(Flex, {
4524
4524
  align: "center",
4525
4525
  gap: 2,
@@ -4557,8 +4557,8 @@ function PagePanel(props) {
4557
4557
  mode: "default",
4558
4558
  fontSize: 1,
4559
4559
  padding: 2,
4560
- text: "Ouvrir la page",
4561
- title: "Ouvre dans Presentation",
4560
+ text: "Open page",
4561
+ title: "Opens in Presentation",
4562
4562
  onClick: onOpen
4563
4563
  }),
4564
4564
  /* @__PURE__ */ jsx(IntentLink, {
@@ -4572,7 +4572,7 @@ function PagePanel(props) {
4572
4572
  mode: "ghost",
4573
4573
  fontSize: 1,
4574
4574
  padding: 2,
4575
- text: "Modifier",
4575
+ text: "Edit",
4576
4576
  as: "span"
4577
4577
  })
4578
4578
  }),
@@ -4591,7 +4591,7 @@ function PagePanel(props) {
4591
4591
  fontSize: 1,
4592
4592
  padding: 2,
4593
4593
  icon: LaunchIcon,
4594
- text: environments.length > 1 ? environment?.label ?? "Voir" : "Voir en ligne",
4594
+ text: environments.length > 1 ? environment?.label ?? "View" : "View live",
4595
4595
  title: siteUrl
4596
4596
  })
4597
4597
  ]
@@ -4815,7 +4815,7 @@ function TreeNode(props) {
4815
4815
  children: /* @__PURE__ */ jsx(Text, {
4816
4816
  size: 0,
4817
4817
  muted: !0,
4818
- children: thumbnailFailed ? "Capture non générée" : siteUrl ? "Survoler pour l’aperçu" : "Pas d’aperçu"
4818
+ children: thumbnailFailed ? "Screenshot not generated" : siteUrl ? "Hover to preview" : "No preview"
4819
4819
  })
4820
4820
  })]
4821
4821
  }), /* @__PURE__ */ jsx(Box, {
@@ -4852,7 +4852,7 @@ function TreeNode(props) {
4852
4852
  fontSize: Math.round(11 * textScale),
4853
4853
  lineHeight: 1.3
4854
4854
  },
4855
- children: tags.find((t) => t.id === tag)?.label ?? "Sans étiquette"
4855
+ children: tags.find((t) => t.id === tag)?.label ?? "No tag"
4856
4856
  }) : /* @__PURE__ */ jsxs(Flex, {
4857
4857
  gap: 2,
4858
4858
  align: "center",
@@ -4864,7 +4864,7 @@ function TreeNode(props) {
4864
4864
  onChange: (event) => onTag(props.id, event.currentTarget.value || null),
4865
4865
  children: [/* @__PURE__ */ jsx("option", {
4866
4866
  value: "",
4867
- children: "Sans étiquette"
4867
+ children: "No tag"
4868
4868
  }), tags.map((option) => /* @__PURE__ */ jsx("option", {
4869
4869
  value: option.id,
4870
4870
  children: option.label
@@ -4949,7 +4949,7 @@ function AnnotationNodeComponent(props) {
4949
4949
  opacity: annotation.text ? 1 : .5,
4950
4950
  overflow: "hidden"
4951
4951
  },
4952
- children: annotation.text || "Double-clic pour écrire"
4952
+ children: annotation.text || "Double-click to write"
4953
4953
  }), props.selected && /* @__PURE__ */ jsxs(Flex, {
4954
4954
  gap: 1,
4955
4955
  style: {
@@ -4974,8 +4974,8 @@ function AnnotationNodeComponent(props) {
4974
4974
  fontSize: 0,
4975
4975
  icon: TrashIcon,
4976
4976
  tone: "critical",
4977
- title: "Supprimer l’annotation",
4978
- "aria-label": "Supprimer l’annotation",
4977
+ title: "Delete annotation",
4978
+ "aria-label": "Delete annotation",
4979
4979
  onClick: () => onRemove(annotation.id)
4980
4980
  })]
4981
4981
  })]
@@ -5289,7 +5289,7 @@ function Board(props) {
5289
5289
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
5290
5290
  size: 1,
5291
5291
  muted: !0,
5292
- children: "Analyse des liens entre les pages…"
5292
+ children: "Analyzing links between pages…"
5293
5293
  })]
5294
5294
  });
5295
5295
  let size = defaultNodeSize(mode, !!config.pageThumbnail), legend = colorBy === "tag" ? config.boardTags.map((tag) => ({
@@ -5331,7 +5331,7 @@ function Board(props) {
5331
5331
  onChange: (event) => setTagFilter(event.currentTarget.value),
5332
5332
  children: [/* @__PURE__ */ jsx("option", {
5333
5333
  value: "",
5334
- children: "Toutes les étiquettes"
5334
+ children: "All tags"
5335
5335
  }), config.boardTags.map((tag) => /* @__PURE__ */ jsx("option", {
5336
5336
  value: tag.id,
5337
5337
  children: tag.label
@@ -5351,7 +5351,7 @@ function Board(props) {
5351
5351
  }),
5352
5352
  /* @__PURE__ */ jsx(Button, {
5353
5353
  icon: AddIcon,
5354
- text: "Forme",
5354
+ text: "Shape",
5355
5355
  mode: "ghost",
5356
5356
  fontSize: 1,
5357
5357
  padding: 2,
@@ -5361,7 +5361,7 @@ function Board(props) {
5361
5361
  }))
5362
5362
  }),
5363
5363
  /* @__PURE__ */ jsx(Button, {
5364
- text: arranging ? "Réorganisation…" : "Réorganiser automatiquement",
5364
+ text: arranging ? "Arranging…" : "Auto arrange",
5365
5365
  mode: "ghost",
5366
5366
  fontSize: 1,
5367
5367
  padding: 2,
@@ -5375,8 +5375,8 @@ function Board(props) {
5375
5375
  visibleNodes.length,
5376
5376
  " pages · ",
5377
5377
  graph.edges.length,
5378
- " liens",
5379
- graph.orphans.length > 0 ? ` · ${graph.orphans.length} sans aucun lien` : ""
5378
+ " links",
5379
+ graph.orphans.length > 0 ? ` · ${graph.orphans.length} without any link` : ""
5380
5380
  ]
5381
5381
  })
5382
5382
  ]
@@ -5387,7 +5387,7 @@ function Board(props) {
5387
5387
  tone: "critical",
5388
5388
  children: /* @__PURE__ */ jsxs(Text, {
5389
5389
  size: 1,
5390
- children: ["La disposition n’a pas pu être enregistrée : ", saveError.message]
5390
+ children: ["The layout could not be saved: ", saveError.message]
5391
5391
  })
5392
5392
  }),
5393
5393
  graph.duplicatePaths.length > 0 && /* @__PURE__ */ jsx(Card, {
@@ -5397,9 +5397,9 @@ function Board(props) {
5397
5397
  children: /* @__PURE__ */ jsxs(Text, {
5398
5398
  size: 1,
5399
5399
  children: [
5400
- "Plusieurs pages partagent le même chemin (",
5400
+ "Several pages share the same path (",
5401
5401
  graph.duplicatePaths.join(", "),
5402
- "). Un lien vers ce chemin ne peut en désigner qu’une."
5402
+ "). A link to this path can only point to one of them."
5403
5403
  ]
5404
5404
  })
5405
5405
  }),
@@ -5497,7 +5497,7 @@ function Board(props) {
5497
5497
  }, item.key)), /* @__PURE__ */ jsxs(Text, {
5498
5498
  size: 0,
5499
5499
  muted: !0,
5500
- children: [legend.length === 0 ? "Couleur déduite de la valeur saisie · " : "· ", "clic pour la fiche, double-clic pour ouvrir la page"]
5500
+ children: [legend.length === 0 ? "Color derived from the entered value · " : "· ", "click for details, double-click to open the page"]
5501
5501
  })]
5502
5502
  })
5503
5503
  ]
@@ -5553,17 +5553,17 @@ function PagesTool() {
5553
5553
  let colorOptions = [
5554
5554
  {
5555
5555
  value: "tag",
5556
- label: "Étiquette"
5556
+ label: "Tag"
5557
5557
  },
5558
5558
  {
5559
5559
  value: "status",
5560
- label: "Statut"
5560
+ label: "Status"
5561
5561
  },
5562
5562
  ...columns.map((field) => ({
5563
5563
  value: `field:${field.id}`,
5564
5564
  label: field.label || field.id
5565
5565
  }))
5566
- ], summary = visible.length === rows.length ? `${rows.length} page${rows.length > 1 ? "s" : ""}` : `${visible.length} sur ${rows.length}`, loadingState = /* @__PURE__ */ jsxs(Flex, {
5566
+ ], summary = visible.length === rows.length ? `${rows.length} page${rows.length > 1 ? "s" : ""}` : `${visible.length} of ${rows.length}`, loadingState = /* @__PURE__ */ jsxs(Flex, {
5567
5567
  align: "center",
5568
5568
  justify: "center",
5569
5569
  padding: 6,
@@ -5571,7 +5571,7 @@ function PagesTool() {
5571
5571
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
5572
5572
  size: 1,
5573
5573
  muted: !0,
5574
- children: "Chargement des pages…"
5574
+ children: "Loading pages…"
5575
5575
  })]
5576
5576
  });
5577
5577
  return /* @__PURE__ */ jsxs(Stack, {
@@ -5625,7 +5625,7 @@ function PagesTool() {
5625
5625
  width: 120,
5626
5626
  flex: "none"
5627
5627
  },
5628
- children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Langue" }), /* @__PURE__ */ jsxs(Select, {
5628
+ children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Language" }), /* @__PURE__ */ jsxs(Select, {
5629
5629
  fontSize: 1,
5630
5630
  radius: 2,
5631
5631
  value: locale,
@@ -5634,7 +5634,7 @@ function PagesTool() {
5634
5634
  },
5635
5635
  children: [/* @__PURE__ */ jsx("option", {
5636
5636
  value: "",
5637
- children: "Toutes"
5637
+ children: "All"
5638
5638
  }), locales.map((code) => /* @__PURE__ */ jsx("option", {
5639
5639
  value: code,
5640
5640
  children: code.toUpperCase()
@@ -5646,7 +5646,7 @@ function PagesTool() {
5646
5646
  width: 150,
5647
5647
  flex: "none"
5648
5648
  },
5649
- children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Traduction" }), /* @__PURE__ */ jsxs(Select, {
5649
+ children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Translation" }), /* @__PURE__ */ jsxs(Select, {
5650
5650
  fontSize: 1,
5651
5651
  radius: 2,
5652
5652
  value: onlyTodo ? "todo" : "",
@@ -5655,11 +5655,11 @@ function PagesTool() {
5655
5655
  },
5656
5656
  children: [/* @__PURE__ */ jsx("option", {
5657
5657
  value: "",
5658
- children: "Toutes"
5658
+ children: "All"
5659
5659
  }), /* @__PURE__ */ jsxs("option", {
5660
5660
  value: "todo",
5661
5661
  children: [
5662
- "À traduire (",
5662
+ "To translate (",
5663
5663
  todos.size,
5664
5664
  ")"
5665
5665
  ]
@@ -5671,7 +5671,7 @@ function PagesTool() {
5671
5671
  width: 168,
5672
5672
  flex: "none"
5673
5673
  },
5674
- children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Grouper par" }), /* @__PURE__ */ jsxs(Select, {
5674
+ children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Group by" }), /* @__PURE__ */ jsxs(Select, {
5675
5675
  fontSize: 1,
5676
5676
  radius: 2,
5677
5677
  value: groupBy,
@@ -5679,15 +5679,15 @@ function PagesTool() {
5679
5679
  children: [
5680
5680
  /* @__PURE__ */ jsx("option", {
5681
5681
  value: "none",
5682
- children: "Aucun"
5682
+ children: "None"
5683
5683
  }),
5684
5684
  /* @__PURE__ */ jsx("option", {
5685
5685
  value: "tag",
5686
- children: "Étiquette"
5686
+ children: "Tag"
5687
5687
  }),
5688
5688
  /* @__PURE__ */ jsx("option", {
5689
5689
  value: "status",
5690
- children: "Statut"
5690
+ children: "Status"
5691
5691
  }),
5692
5692
  /* @__PURE__ */ jsx("option", {
5693
5693
  value: "indexation",
@@ -5709,7 +5709,7 @@ function PagesTool() {
5709
5709
  width: 168,
5710
5710
  flex: "none"
5711
5711
  },
5712
- children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Colorer par" }), /* @__PURE__ */ jsx(Select, {
5712
+ children: [/* @__PURE__ */ jsx(FieldLabel, { children: "Color by" }), /* @__PURE__ */ jsx(Select, {
5713
5713
  fontSize: 1,
5714
5714
  radius: 2,
5715
5715
  value: colorBy,
@@ -5745,12 +5745,12 @@ function PagesTool() {
5745
5745
  size: 1,
5746
5746
  weight: "medium",
5747
5747
  align: "center",
5748
- children: rows.length === 0 ? "Aucune page dans ce dataset" : "Aucun résultat"
5748
+ children: rows.length === 0 ? "No pages in this dataset" : "No results"
5749
5749
  }), /* @__PURE__ */ jsx(Text, {
5750
5750
  size: 1,
5751
5751
  muted: !0,
5752
5752
  align: "center",
5753
- children: rows.length === 0 ? `Le kit suit les types ${config.pageTypeNames.join(", ")}.` : "Essaie un autre terme ou une autre langue, ou vide la recherche."
5753
+ children: rows.length === 0 ? `The kit tracks the types ${config.pageTypeNames.join(", ")}.` : "Try another term or another language, or clear the search."
5754
5754
  })]
5755
5755
  })
5756
5756
  }) : /* @__PURE__ */ jsx(PagesTable, {
@@ -5789,11 +5789,11 @@ function PagesTool() {
5789
5789
  }), pageCount > 1 && /* @__PURE__ */ jsxs(Flex, {
5790
5790
  gap: 2,
5791
5791
  children: [/* @__PURE__ */ jsx(PageStep, {
5792
- label: "Précédent",
5792
+ label: "Previous",
5793
5793
  disabled: current === 0,
5794
5794
  onClick: () => setPage(current - 1)
5795
5795
  }), /* @__PURE__ */ jsx(PageStep, {
5796
- label: "Suivant",
5796
+ label: "Next",
5797
5797
  disabled: current >= pageCount - 1,
5798
5798
  onClick: () => setPage(current + 1)
5799
5799
  })]
@@ -5937,7 +5937,7 @@ function useOccurrences() {
5937
5937
  map.set(id, {
5938
5938
  id,
5939
5939
  type: doc._type,
5940
- title: (typeof title == "string" ? title.trim() : "") || "Sans titre"
5940
+ title: (typeof title == "string" ? title.trim() : "") || "Untitled"
5941
5941
  });
5942
5942
  }
5943
5943
  return map;
@@ -6073,7 +6073,7 @@ function BlockCard(props) {
6073
6073
  padding: 0,
6074
6074
  as: onOpen ? "button" : void 0,
6075
6075
  onClick: onOpen,
6076
- title: onOpen ? "Voir le composant en vrai et régler ses valeurs par défaut" : void 0,
6076
+ title: onOpen ? "See the real component and set its default values" : void 0,
6077
6077
  style: {
6078
6078
  height: "100%",
6079
6079
  overflow: "hidden",
@@ -6110,7 +6110,7 @@ function BlockCard(props) {
6110
6110
  size: 0,
6111
6111
  muted: !0,
6112
6112
  align: "center",
6113
- children: failed ? "Capture introuvable" : "Pas de capture"
6113
+ children: failed ? "Screenshot not found" : "No screenshot"
6114
6114
  })
6115
6115
  })
6116
6116
  }), /* @__PURE__ */ jsx(Box, {
@@ -6143,7 +6143,7 @@ function BlockCard(props) {
6143
6143
  ...TABULAR,
6144
6144
  flex: "none"
6145
6145
  },
6146
- title: unused ? "Jamais utilisé" : `${occurrence.count} occurrences`,
6146
+ title: unused ? "Never used" : `${occurrence.count} occurrences`,
6147
6147
  children: occurrence.count
6148
6148
  })]
6149
6149
  })
@@ -6238,7 +6238,7 @@ function SectionNodeComponent(props) {
6238
6238
  size: 0,
6239
6239
  muted: !0,
6240
6240
  align: "center",
6241
- children: failed ? "Capture introuvable" : "Pas de capture"
6241
+ children: failed ? "Screenshot not found" : "No screenshot"
6242
6242
  })
6243
6243
  })
6244
6244
  }), /* @__PURE__ */ jsx(Box, {
@@ -6407,7 +6407,7 @@ function MapCanvas(props) {
6407
6407
  wrap: "wrap",
6408
6408
  children: [
6409
6409
  /* @__PURE__ */ jsx(Button, {
6410
- text: "Réorganiser automatiquement",
6410
+ text: "Auto arrange",
6411
6411
  mode: "ghost",
6412
6412
  fontSize: 1,
6413
6413
  padding: 2,
@@ -6426,7 +6426,7 @@ function MapCanvas(props) {
6426
6426
  }),
6427
6427
  /* @__PURE__ */ jsx(Button, {
6428
6428
  icon: AddIcon,
6429
- text: "Forme",
6429
+ text: "Shape",
6430
6430
  mode: "ghost",
6431
6431
  fontSize: 1,
6432
6432
  padding: 2,
@@ -6438,7 +6438,7 @@ function MapCanvas(props) {
6438
6438
  /* @__PURE__ */ jsx(Text, {
6439
6439
  size: 0,
6440
6440
  muted: !0,
6441
- children: "Glisser une tuile enregistre sa position · cliquer affiche ses pages"
6441
+ children: "Dragging a tile saves its position · clicking shows its pages"
6442
6442
  })
6443
6443
  ]
6444
6444
  }),
@@ -6448,7 +6448,7 @@ function MapCanvas(props) {
6448
6448
  tone: "critical",
6449
6449
  children: /* @__PURE__ */ jsxs(Text, {
6450
6450
  size: 1,
6451
- children: ["La disposition n’a pas pu être enregistrée : ", saveError.message]
6451
+ children: ["The layout could not be saved: ", saveError.message]
6452
6452
  })
6453
6453
  }),
6454
6454
  /* @__PURE__ */ jsxs(Flex, {
@@ -6520,22 +6520,22 @@ function MapCanvas(props) {
6520
6520
  padding: 1,
6521
6521
  fontSize: 0,
6522
6522
  icon: CloseIcon,
6523
- "aria-label": "Fermer",
6523
+ "aria-label": "Close",
6524
6524
  onClick: () => setSelected(null)
6525
6525
  })]
6526
6526
  }),
6527
6527
  /* @__PURE__ */ jsx(Text, {
6528
6528
  size: 0,
6529
6529
  muted: !0,
6530
- children: selectedEntry.occurrence.count === 0 ? "Jamais utilisé sur le site." : `${selectedPages.length} page${selectedPages.length > 1 ? "s" : ""} · ${selectedEntry.occurrence.count} instance${selectedEntry.occurrence.count > 1 ? "s" : ""}`
6530
+ children: selectedEntry.occurrence.count === 0 ? "Never used on the site." : `${selectedPages.length} page${selectedPages.length > 1 ? "s" : ""} · ${selectedEntry.occurrence.count} instance${selectedEntry.occurrence.count > 1 ? "s" : ""}`
6531
6531
  }),
6532
6532
  openComponent && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Button, {
6533
6533
  mode: "default",
6534
6534
  tone: "primary",
6535
6535
  fontSize: 1,
6536
6536
  padding: 2,
6537
- text: "Ouvrir le composant",
6538
- title: "Rendu réel et valeurs par défaut, côte à côte",
6537
+ text: "Open component",
6538
+ title: "Real rendering and default values, side by side",
6539
6539
  onClick: () => openComponent(selectedEntry.block.name)
6540
6540
  }) }),
6541
6541
  /* @__PURE__ */ jsx(Stack, {
@@ -6573,7 +6573,7 @@ function MapCanvas(props) {
6573
6573
  fontSize: 1,
6574
6574
  padding: 2,
6575
6575
  icon: LaunchIcon,
6576
- text: "Voir sur le design system"
6576
+ text: "View on the design system"
6577
6577
  }) })
6578
6578
  ]
6579
6579
  }) : /* @__PURE__ */ jsx(Flex, {
@@ -6584,7 +6584,7 @@ function MapCanvas(props) {
6584
6584
  size: 0,
6585
6585
  muted: !0,
6586
6586
  align: "center",
6587
- children: "Cliquer une section pour l’ouvrir (rendu réel et valeurs par défaut) ou aller à ses emplacements dans les pages."
6587
+ children: "Click a section to open it (real rendering and default values) or go to where it is used in the pages."
6588
6588
  })
6589
6589
  })
6590
6590
  })]
@@ -6598,19 +6598,19 @@ function SectionsMap(props) {
6598
6598
  const ORDERS = [
6599
6599
  {
6600
6600
  value: "type",
6601
- label: "Par type"
6601
+ label: "By type"
6602
6602
  },
6603
6603
  {
6604
6604
  value: "usage",
6605
- label: "Les plus utilisés"
6605
+ label: "Most used"
6606
6606
  },
6607
6607
  {
6608
6608
  value: "unused",
6609
- label: "Les inutilisés d’abord"
6609
+ label: "Unused first"
6610
6610
  },
6611
6611
  {
6612
6612
  value: "schema",
6613
- label: "Ordre du schéma"
6613
+ label: "Schema order"
6614
6614
  }
6615
6615
  ];
6616
6616
  function ComponentsTool() {
@@ -6636,7 +6636,7 @@ function ComponentsTool() {
6636
6636
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
6637
6637
  size: 1,
6638
6638
  muted: !0,
6639
- children: "Analyse du page builder…"
6639
+ children: "Analyzing the page builder…"
6640
6640
  })]
6641
6641
  }) : blockTypes.length === 0 ? /* @__PURE__ */ jsx(Card, {
6642
6642
  padding: 4,
@@ -6647,16 +6647,16 @@ function ComponentsTool() {
6647
6647
  gap: 3,
6648
6648
  children: [/* @__PURE__ */ jsx(Text, {
6649
6649
  weight: "semibold",
6650
- children: "Aucun bloc trouvé."
6650
+ children: "No blocks found."
6651
6651
  }), /* @__PURE__ */ jsxs(Text, {
6652
6652
  size: 1,
6653
6653
  children: [
6654
- "Le champ « ",
6654
+ "The field \"",
6655
6655
  config.pageBuilderField,
6656
- " » n’existe sur aucun des types",
6656
+ "\" does not exist on any of the types",
6657
6657
  " ",
6658
6658
  config.pageTypeNames.join(", "),
6659
- ", ou il n’est pas un tableau. Vérifie `pageBuilderField` dans l’appel à ncfKit()."
6659
+ ", or it is not an array. Check `pageBuilderField` in the ncfKit() call."
6660
6660
  ]
6661
6661
  })]
6662
6662
  })
@@ -6666,7 +6666,7 @@ function ComponentsTool() {
6666
6666
  /* @__PURE__ */ jsxs(Flex, {
6667
6667
  gap: 2,
6668
6668
  children: [/* @__PURE__ */ jsx(Button, {
6669
- text: "Grille",
6669
+ text: "Grid",
6670
6670
  mode: view === "grid" ? "default" : "ghost",
6671
6671
  fontSize: 1,
6672
6672
  padding: 2,
@@ -6689,10 +6689,10 @@ function ComponentsTool() {
6689
6689
  muted: !0,
6690
6690
  children: [
6691
6691
  blockTypes.length,
6692
- " blocs · ",
6692
+ " blocks · ",
6693
6693
  scanned,
6694
- " pages analysées",
6695
- unusedCount > 0 ? ` · ${unusedCount} jamais utilisé${unusedCount > 1 ? "s" : ""}` : ""
6694
+ " pages analyzed",
6695
+ unusedCount > 0 ? ` · ${unusedCount} never used` : ""
6696
6696
  ]
6697
6697
  }), /* @__PURE__ */ jsxs(Flex, {
6698
6698
  gap: 2,
@@ -6704,7 +6704,7 @@ function ComponentsTool() {
6704
6704
  text: option.label,
6705
6705
  onClick: () => setOrder(option.value)
6706
6706
  }, option.value)), /* @__PURE__ */ jsx(Button, {
6707
- text: "Rafraîchir",
6707
+ text: "Refresh",
6708
6708
  mode: "ghost",
6709
6709
  fontSize: 1,
6710
6710
  padding: 2,
@@ -6720,9 +6720,9 @@ function ComponentsTool() {
6720
6720
  children: /* @__PURE__ */ jsxs(Text, {
6721
6721
  size: 1,
6722
6722
  children: [
6723
- "Analyse limitée aux ",
6723
+ "Analysis limited to the first ",
6724
6724
  1e3,
6725
- " premières pages : les chiffres ci-dessous sont un minimum, pas un total."
6725
+ " pages: the numbers below are a minimum, not a total."
6726
6726
  ]
6727
6727
  })
6728
6728
  }),
@@ -6734,7 +6734,7 @@ function ComponentsTool() {
6734
6734
  children: /* @__PURE__ */ jsx(Text, {
6735
6735
  size: 1,
6736
6736
  muted: !0,
6737
- children: "Vignettes désactivées : renseigne `previewUrl` dans ncfKit() pour afficher les captures du design system."
6737
+ children: "Thumbnails disabled: set `previewUrl` in ncfKit() to show the design system screenshots."
6738
6738
  })
6739
6739
  }),
6740
6740
  view === "map" ? /* @__PURE__ */ jsx(SectionsMap, {
@@ -6764,7 +6764,7 @@ function ComponentsTool() {
6764
6764
  /** Messages du service, rendus lisibles pour un éditeur. */
6765
6765
  function explain(error) {
6766
6766
  let code = error instanceof Error ? error.message : String(error);
6767
- return code === "bad_key" ? "La clé de lecture n'est pas reconnue : relancez `npx ncf-kit setup` dans le dossier du studio, puis redéployez-le." : code === "project_inactive" ? "Le journal n'est pas activé pour ce projet chez NoCode Factory : `npx ncf-kit setup` l'active, ou contactez NoCode Factory." : code === "missing_key" ? "Aucune clé de lecture configurée." : "Le journal n'a pas pu être chargé.";
6767
+ return code === "bad_key" ? "The read key is not recognized: run `npx ncf-kit setup` again in the studio folder, then redeploy it." : code === "project_inactive" ? "The log is not enabled for this project at NoCode Factory: `npx ncf-kit setup` enables it, or contact NoCode Factory." : code === "missing_key" ? "No read key configured." : "The log could not be loaded.";
6768
6768
  }
6769
6769
  /**
6770
6770
  * Frise du journal, la plus récente d'abord.
@@ -6776,7 +6776,7 @@ function useHistory(documentId) {
6776
6776
  let history = useKitConfig().history, [events, setEvents] = useState([]), [loading, setLoading] = useState(!1), [error, setError] = useState(null), [hasMore, setHasMore] = useState(!1), [before, setBefore] = useState(void 0), [nonce, setNonce] = useState(0);
6777
6777
  return useEffect(() => {
6778
6778
  if (!history) {
6779
- setError("Aucune clé de lecture configurée.");
6779
+ setError("No read key configured.");
6780
6780
  return;
6781
6781
  }
6782
6782
  let controller = new AbortController();
@@ -7082,7 +7082,7 @@ function Line(props) {
7082
7082
  * d'avoir à détenir un jeton Sanity par client.
7083
7083
  */
7084
7084
  function ActorName(props) {
7085
- let [user] = useUser(props.actorId ?? ""), label = props.actorName || user?.displayName || (props.actorId ? "Compte inconnu" : "—");
7085
+ let [user] = useUser(props.actorId ?? ""), label = props.actorName || user?.displayName || (props.actorId ? "Unknown account" : "—");
7086
7086
  return /* @__PURE__ */ jsx(Text, {
7087
7087
  size: 0,
7088
7088
  muted: !0,
@@ -7106,7 +7106,7 @@ function DiffPanel(props) {
7106
7106
  return setLoading(!0), setError(null), setRestored(null), setConflicts([]), fetchDetail(config.history.endpoint, config.history.projectKey, event.id, controller.signal).then((result) => {
7107
7107
  controller.signal.aborted || setDetail(result);
7108
7108
  }).catch(() => {
7109
- controller.signal.aborted || setError("Ce détail n'a pas pu être chargé.");
7109
+ controller.signal.aborted || setError("This detail could not be loaded.");
7110
7110
  }).finally(() => {
7111
7111
  controller.signal.aborted || setLoading(!1);
7112
7112
  }), () => controller.abort();
@@ -7165,7 +7165,7 @@ function DiffPanel(props) {
7165
7165
  children: [/* @__PURE__ */ jsxs(Text, {
7166
7166
  size: 0,
7167
7167
  muted: !0,
7168
- children: [new Date(event.occurred_at).toLocaleString("fr-FR"), " ·"]
7168
+ children: [new Date(event.occurred_at).toLocaleString("en-US"), " ·"]
7169
7169
  }), /* @__PURE__ */ jsx(ActorName, {
7170
7170
  actorId: event.actor_id,
7171
7171
  actorName: event.actor_name
@@ -7176,7 +7176,7 @@ function DiffPanel(props) {
7176
7176
  padding: 1,
7177
7177
  fontSize: 0,
7178
7178
  icon: CloseIcon,
7179
- "aria-label": "Fermer",
7179
+ "aria-label": "Close",
7180
7180
  onClick: onClose
7181
7181
  })]
7182
7182
  }),
@@ -7187,7 +7187,7 @@ function DiffPanel(props) {
7187
7187
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
7188
7188
  size: 1,
7189
7189
  muted: !0,
7190
- children: "Chargement…"
7190
+ children: "Loading…"
7191
7191
  })]
7192
7192
  }),
7193
7193
  error && /* @__PURE__ */ jsx(Card, {
@@ -7209,17 +7209,17 @@ function DiffPanel(props) {
7209
7209
  /* @__PURE__ */ jsxs(Text, {
7210
7210
  size: 1,
7211
7211
  children: [
7212
- "Fait ",
7213
- /* @__PURE__ */ jsx("b", { children: "en brouillon" }),
7214
- ". Rien n'est encore en ligne : ouvrez le document, vérifiez, puis ",
7215
- /* @__PURE__ */ jsx("b", { children: "publiez" }),
7212
+ "Done ",
7213
+ /* @__PURE__ */ jsx("b", { children: "in the draft" }),
7214
+ ". Nothing is live yet: open the document, check it, then ",
7215
+ /* @__PURE__ */ jsx("b", { children: "publish" }),
7216
7216
  "."
7217
7217
  ]
7218
7218
  }),
7219
7219
  conflicts.length > 0 && /* @__PURE__ */ jsxs(Text, {
7220
7220
  size: 1,
7221
7221
  children: [
7222
- "Non annulé, car modifié depuis : ",
7222
+ "Not undone, because changed since: ",
7223
7223
  conflicts.join(", "),
7224
7224
  "."
7225
7225
  ]
@@ -7235,7 +7235,7 @@ function DiffPanel(props) {
7235
7235
  mode: "ghost",
7236
7236
  fontSize: 1,
7237
7237
  padding: 2,
7238
- text: "Ouvrir le brouillon",
7238
+ text: "Open draft",
7239
7239
  as: "span"
7240
7240
  })
7241
7241
  })
@@ -7246,12 +7246,12 @@ function DiffPanel(props) {
7246
7246
  !detail.previous && /* @__PURE__ */ jsx(Text, {
7247
7247
  size: 0,
7248
7248
  muted: !0,
7249
- children: "Premier état connu : tout apparaît comme ajouté."
7249
+ children: "First known state: everything shows as added."
7250
7250
  }),
7251
7251
  changes.length === 0 ? /* @__PURE__ */ jsx(Text, {
7252
7252
  size: 1,
7253
7253
  muted: !0,
7254
- children: "Aucune modification de contenu — seuls des champs système ont bougé."
7254
+ children: "No content changes, only system fields changed."
7255
7255
  }) : /* @__PURE__ */ jsxs(Stack, {
7256
7256
  gap: 2,
7257
7257
  children: [/* @__PURE__ */ jsxs(Text, {
@@ -7260,7 +7260,7 @@ function DiffPanel(props) {
7260
7260
  muted: !0,
7261
7261
  children: [
7262
7262
  changes.length,
7263
- " modification",
7263
+ " change",
7264
7264
  changes.length > 1 ? "s" : ""
7265
7265
  ]
7266
7266
  }), /* @__PURE__ */ jsx(Card, {
@@ -7288,13 +7288,13 @@ function DiffPanel(props) {
7288
7288
  fontSize: 1,
7289
7289
  padding: 3,
7290
7290
  icon: UndoIcon,
7291
- text: restoring ? "Annulation…" : "Annuler cette modification",
7291
+ text: restoring ? "Undoing…" : "Undo this change",
7292
7292
  disabled: restoring,
7293
7293
  onClick: undo
7294
7294
  }), /* @__PURE__ */ jsx(Text, {
7295
7295
  size: 0,
7296
7296
  muted: !0,
7297
- children: "Remet les valeurs d'avant cette modification, et seulement elles : ce qui a été modifié ensuite est conservé. Le résultat va dans le brouillon : publiez-le pour le mettre en ligne."
7297
+ children: "Restores the values from before this change, and only those: anything changed afterwards is kept. The result goes into the draft: publish it to put it live."
7298
7298
  })]
7299
7299
  }), /* @__PURE__ */ jsxs(Stack, {
7300
7300
  gap: 2,
@@ -7304,13 +7304,13 @@ function DiffPanel(props) {
7304
7304
  fontSize: 1,
7305
7305
  padding: 3,
7306
7306
  icon: RestoreIcon,
7307
- text: restoring ? "Restauration…" : "Restaurer le document tel qu’après cette modification",
7307
+ text: restoring ? "Restoring…" : "Restore the document as it was after this change",
7308
7308
  disabled: restoring,
7309
7309
  onClick: restore
7310
7310
  }), /* @__PURE__ */ jsx(Text, {
7311
7311
  size: 0,
7312
7312
  muted: !0,
7313
- children: "Remet le document ENTIER dans l'état qui a suivi cette modification (les modifications plus récentes sont perdues), dans le brouillon. La version en ligne n'est pas touchée tant que vous ne publiez pas."
7313
+ children: "Puts the ENTIRE document back in the state that followed this change (more recent changes are lost), in the draft. The published version is not touched until you publish."
7314
7314
  })]
7315
7315
  })]
7316
7316
  })
@@ -7323,27 +7323,27 @@ function DiffPanel(props) {
7323
7323
  /** Traduit l'échec d'une restauration en une phrase actionnable. */
7324
7324
  function explainRestore(cause) {
7325
7325
  let message = cause instanceof Error ? cause.message : String(cause);
7326
- return /permission|insufficient|not allowed/i.test(message) ? "Vos droits sur ce dataset ne permettent pas d'écrire ce document." : /schema|unknown type|invalid/i.test(message) ? "Cet état ne correspond plus au schéma actuel : le type a changé depuis. Restauration impossible sans intervention." : `La restauration a échoué, rien n'a été modifié. (${message.slice(0, 120)})`;
7326
+ return /permission|insufficient|not allowed/i.test(message) ? "Your permissions on this dataset do not allow writing this document." : /schema|unknown type|invalid/i.test(message) ? "This state no longer matches the current schema: the type has changed since. It cannot be restored without manual intervention." : `Restore failed, nothing was changed. (${message.slice(0, 120)})`;
7327
7327
  }
7328
7328
  const OPERATION = {
7329
7329
  create: {
7330
- label: "création",
7330
+ label: "created",
7331
7331
  tone: "positive"
7332
7332
  },
7333
7333
  update: {
7334
- label: "modification",
7334
+ label: "updated",
7335
7335
  tone: "primary"
7336
7336
  },
7337
7337
  delete: {
7338
- label: "suppression",
7338
+ label: "deleted",
7339
7339
  tone: "critical"
7340
7340
  }
7341
7341
  }, SCOPES = [{
7342
7342
  id: "all",
7343
- label: "Tout"
7343
+ label: "All"
7344
7344
  }, {
7345
7345
  id: "published",
7346
- label: "En ligne"
7346
+ label: "Published"
7347
7347
  }];
7348
7348
  /** Journal des modifications du dataset, alimenté par les webhooks Sanity. */
7349
7349
  function HistoryTool() {
@@ -7377,7 +7377,7 @@ function HistoryTool() {
7377
7377
  fontSize: 1,
7378
7378
  padding: 3,
7379
7379
  radius: 2,
7380
- placeholder: "Filtrer par document, type ou auteur…",
7380
+ placeholder: "Filter by document, type or author…",
7381
7381
  value: search,
7382
7382
  onChange: (event) => setSearch(event.currentTarget.value)
7383
7383
  })
@@ -7398,7 +7398,7 @@ function HistoryTool() {
7398
7398
  fontSize: 1,
7399
7399
  padding: 3,
7400
7400
  icon: RefreshIcon,
7401
- text: "Actualiser",
7401
+ text: "Refresh",
7402
7402
  onClick: refresh
7403
7403
  })
7404
7404
  ]
@@ -7419,7 +7419,7 @@ function HistoryTool() {
7419
7419
  children: [/* @__PURE__ */ jsx(Spinner, { muted: !0 }), /* @__PURE__ */ jsx(Text, {
7420
7420
  size: 1,
7421
7421
  muted: !0,
7422
- children: "Chargement du journal…"
7422
+ children: "Loading the log…"
7423
7423
  })]
7424
7424
  }),
7425
7425
  !loading && !error && events.length === 0 && /* @__PURE__ */ jsx(Card, {
@@ -7432,11 +7432,11 @@ function HistoryTool() {
7432
7432
  children: [/* @__PURE__ */ jsx(Text, {
7433
7433
  size: 1,
7434
7434
  weight: "semibold",
7435
- children: "Aucun changement enregistré"
7435
+ children: "No changes recorded"
7436
7436
  }), /* @__PURE__ */ jsx(Text, {
7437
7437
  size: 1,
7438
7438
  muted: !0,
7439
- children: "Le journal se remplit à partir du webhook Sanity de ce projet. S'il vient d'être posé, seules les modifications à venir y figureront : rien n'est reconstitué rétroactivement. Vérifiez aussi que le webhook vise bien le dataset de ce Studio."
7439
+ children: "The log is filled by this project's Sanity webhook. If it was just set up, only upcoming changes will appear: nothing is rebuilt retroactively. Also check that the webhook targets this Studio's dataset."
7440
7440
  })]
7441
7441
  })
7442
7442
  }),
@@ -7479,7 +7479,7 @@ function HistoryTool() {
7479
7479
  tone: event.is_draft ? "caution" : "positive",
7480
7480
  fontSize: 0,
7481
7481
  padding: 1,
7482
- children: event.is_draft ? "brouillon" : "en ligne"
7482
+ children: event.is_draft ? "draft" : "published"
7483
7483
  })
7484
7484
  }),
7485
7485
  /* @__PURE__ */ jsx(Box, {
@@ -7510,7 +7510,7 @@ function HistoryTool() {
7510
7510
  children: /* @__PURE__ */ jsx(Text, {
7511
7511
  size: 0,
7512
7512
  muted: !0,
7513
- children: new Date(event.occurred_at).toLocaleString("fr-FR", {
7513
+ children: new Date(event.occurred_at).toLocaleString("en-US", {
7514
7514
  day: "2-digit",
7515
7515
  month: "2-digit",
7516
7516
  hour: "2-digit",
@@ -7528,7 +7528,7 @@ function HistoryTool() {
7528
7528
  mode: "ghost",
7529
7529
  fontSize: 1,
7530
7530
  padding: 3,
7531
- text: loading ? "Chargement…" : "Charger plus",
7531
+ text: loading ? "Loading…" : "Load more",
7532
7532
  disabled: loading,
7533
7533
  onClick: loadMore
7534
7534
  })
@@ -7536,7 +7536,7 @@ function HistoryTool() {
7536
7536
  search && visible.length === 0 && events.length > 0 && /* @__PURE__ */ jsx(Text, {
7537
7537
  size: 1,
7538
7538
  muted: !0,
7539
- children: "Aucun événement ne correspond. Le filtre ne porte que sur les événements déjà chargés."
7539
+ children: "No matching events. The filter only applies to events already loaded."
7540
7540
  })
7541
7541
  ]
7542
7542
  }), selected && /* @__PURE__ */ jsx(DiffPanel, {
@@ -7555,14 +7555,14 @@ function HistoryTool() {
7555
7555
  /* @__PURE__ */ jsx(Text, {
7556
7556
  size: 1,
7557
7557
  weight: "semibold",
7558
- children: "Historique non configuré"
7558
+ children: "History not configured"
7559
7559
  }),
7560
7560
  /* @__PURE__ */ jsxs(Text, {
7561
7561
  size: 1,
7562
7562
  children: [
7563
- "Aucune clé de lecture. Dans le dossier du studio, la commande suivante active le projet, écrit la clé dans ",
7563
+ "No read key. In the studio folder, the following command enables the project, writes the key to ",
7564
7564
  /* @__PURE__ */ jsx("code", { children: ".env" }),
7565
- " et crée le webhook du journal :"
7565
+ " and creates the log webhook:"
7566
7566
  ]
7567
7567
  }),
7568
7568
  /* @__PURE__ */ jsx(Text, {
@@ -7574,14 +7574,14 @@ function HistoryTool() {
7574
7574
  size: 0,
7575
7575
  muted: !0,
7576
7576
  children: [
7577
- "Puis ",
7577
+ "Then add ",
7578
7578
  /* @__PURE__ */ jsxs("code", { children: [
7579
7579
  "history: ",
7580
7580
  "{",
7581
7581
  "projectKey: process.env.SANITY_STUDIO_NCF_PROJECT_KEY",
7582
7582
  "}"
7583
7583
  ] }),
7584
- " dans sanity.config.ts et redéployez le studio. Ou masquez cet onglet avec",
7584
+ " to sanity.config.ts and redeploy the studio. Or hide this tab with",
7585
7585
  " ",
7586
7586
  /* @__PURE__ */ jsxs("code", { children: [
7587
7587
  "tools: ",
@@ -7637,10 +7637,10 @@ function DesignSystemTool() {
7637
7637
  /* @__PURE__ */ jsx(Text, {
7638
7638
  size: 1,
7639
7639
  muted: !0,
7640
- children: available ? `Ouverture de la page ${config.componentPreview.path} dans Presentation, avec les valeurs par défaut des composants. Un style changé ici change le composant partout où il n’est pas surchargé.` : "Ni document de valeurs par défaut des composants, ni previewUrl : rien à ouvrir. Voir la checklist du kit (README)."
7640
+ children: available ? `Opens the ${config.componentPreview.path} page in Presentation, with the component default values. A style changed here changes the component everywhere it is not overridden.` : "No component default values document and no previewUrl: nothing to open. See the kit checklist (README)."
7641
7641
  }),
7642
7642
  available && /* @__PURE__ */ jsx(Flex, { children: /* @__PURE__ */ jsx(Button, {
7643
- text: "Ouvrir le design system",
7643
+ text: "Open design system",
7644
7644
  tone: "primary",
7645
7645
  fontSize: 1,
7646
7646
  onClick: open
@@ -7757,20 +7757,20 @@ function sameValue(a, b) {
7757
7757
  }
7758
7758
  /** Valeur par défaut lisible, pour la bulle de la pastille. */
7759
7759
  function describeValue(value) {
7760
- if (isEmptyValue(value)) return "vide (valeur du design system)";
7761
- if (typeof value == "string") return value.length > 60 ? `« ${value.slice(0, 57)}… »` : `« ${value} »`;
7762
- if (typeof value == "boolean") return value ? "Oui" : "Non";
7760
+ if (isEmptyValue(value)) return "empty (design system value)";
7761
+ if (typeof value == "string") return value.length > 60 ? `"${value.slice(0, 57)}…"` : `"${value}"`;
7762
+ if (typeof value == "boolean") return value ? "Yes" : "No";
7763
7763
  if (typeof value == "number") return String(value);
7764
- if (Array.isArray(value)) return `${value.length} élément${value.length > 1 ? "s" : ""}`;
7764
+ if (Array.isArray(value)) return `${value.length} item${value.length > 1 ? "s" : ""}`;
7765
7765
  if (value && typeof value == "object") {
7766
7766
  let v = value;
7767
- if (typeof v.token == "string") return `couleur ${v.token}`;
7768
- if (typeof v.customHex == "string") return `couleur ${v.customHex}`;
7769
- if (typeof v.label == "string") return `« ${v.label} »`;
7770
- if (v.asset) return "une image";
7771
- if (typeof v._ref == "string") return "un document";
7767
+ if (typeof v.token == "string") return `color ${v.token}`;
7768
+ if (typeof v.customHex == "string") return `color ${v.customHex}`;
7769
+ if (typeof v.label == "string") return `"${v.label}"`;
7770
+ if (v.asset) return "an image";
7771
+ if (typeof v._ref == "string") return "a document";
7772
7772
  }
7773
- return "une valeur";
7773
+ return "a value";
7774
7774
  }
7775
7775
  /**
7776
7776
  * Ce que fait « Réinitialiser » : remettre le champ en HÉRITAGE (le vider en
@@ -7834,7 +7834,7 @@ function createOverrideInput(config) {
7834
7834
  children: /* @__PURE__ */ jsxs(Text, {
7835
7835
  size: 0,
7836
7836
  muted: !0,
7837
- children: ["Valeur par défaut du composant : ", describeValue(inherited)]
7837
+ children: ["Component default value: ", describeValue(inherited)]
7838
7838
  })
7839
7839
  })]
7840
7840
  }), override && !inputProps.readOnly && /* @__PURE__ */ jsx(OverrideDot, {
@@ -7857,7 +7857,7 @@ function carriesDot(schemaType) {
7857
7857
  return !1;
7858
7858
  }
7859
7859
  function OverrideDot(props) {
7860
- let [hover, setHover] = useState(!1), label = props.hasDefault ? `↺ ${props.short}` : "Pas de valeur par défaut";
7860
+ let [hover, setHover] = useState(!1), label = props.hasDefault ? `↺ ${props.short}` : "No default value";
7861
7861
  return /* @__PURE__ */ jsx(Tooltip, {
7862
7862
  portal: !0,
7863
7863
  placement: "left",
@@ -7866,7 +7866,7 @@ function OverrideDot(props) {
7866
7866
  style: { maxWidth: 280 },
7867
7867
  children: /* @__PURE__ */ jsx(Text, {
7868
7868
  size: 1,
7869
- children: props.hasDefault ? `Différent de la valeur par défaut du composant (${props.full}). Cliquer pour revenir à la valeur par défaut : le champ la suivra, même si elle change.` : "Ce composant n'a pas de valeur par défaut pour ce champ. Cliquer pour la définir (Composants : valeurs par défaut)."
7869
+ children: props.hasDefault ? `Different from the component default value (${props.full}). Click to go back to the default value: the field will follow it, even if it changes.` : "This component has no default value for this field. Click to set it (Components: default values)."
7870
7870
  })
7871
7871
  }),
7872
7872
  children: /* @__PURE__ */ jsx("button", {
@@ -7876,7 +7876,7 @@ function OverrideDot(props) {
7876
7876
  onMouseLeave: () => setHover(!1),
7877
7877
  onFocus: () => setHover(!0),
7878
7878
  onBlur: () => setHover(!1),
7879
- "aria-label": props.hasDefault ? `Revenir à la valeur par défaut du composant : ${props.full}` : "Définir la valeur par défaut du composant",
7879
+ "aria-label": props.hasDefault ? `Go back to the component default value: ${props.full}` : "Set the component default value",
7880
7880
  style: {
7881
7881
  marginTop: 9,
7882
7882
  flex: "none",
@@ -7932,14 +7932,14 @@ const RemoveFromSiteAction = (props) => {
7932
7932
  }), tx.delete(props.id), await tx.commit(), setOpen(!1), props.onComplete();
7933
7933
  } catch (cause) {
7934
7934
  let message = cause instanceof Error ? cause.message : String(cause);
7935
- setError(/referenc/i.test(message) ? "Sanity refuse : un document publié pointe vers cette page par une référence forte. Retirez ou modifiez ce lien, puis recommencez." : `Le retrait a échoué, rien n'a changé. (${message.slice(0, 140)})`);
7935
+ setError(/referenc/i.test(message) ? "Sanity refused: a published document points to this page with a strong reference. Remove or change that link, then try again." : `Removal failed, nothing was changed. (${message.slice(0, 140)})`);
7936
7936
  } finally {
7937
7937
  setBusy(!1);
7938
7938
  }
7939
7939
  };
7940
7940
  return {
7941
- label: "Retirer du site",
7942
- title: "Dépublier : la page quitte le site, son contenu reste en brouillon",
7941
+ label: "Remove from site",
7942
+ title: "Unpublish: the page leaves the site, its content stays in the draft",
7943
7943
  icon: EyeClosedIcon,
7944
7944
  tone: "critical",
7945
7945
  disabled: busy,
@@ -7956,16 +7956,16 @@ const RemoveFromSiteAction = (props) => {
7956
7956
  children: [
7957
7957
  /* @__PURE__ */ jsx(Text, {
7958
7958
  size: 1,
7959
- children: "La page quitte le site (production et préproduction « En ligne »). Tout son contenu reste dans le brouillon : pour la remettre en ligne, publiez-le."
7959
+ children: "The page leaves the site (production and staging \"Published\"). All its content stays in the draft: to put it back online, publish it."
7960
7960
  }),
7961
7961
  referrers === null ? /* @__PURE__ */ jsx(Text, {
7962
7962
  size: 1,
7963
7963
  muted: !0,
7964
- children: "Recherche des liens vers cette page…"
7964
+ children: "Looking for links to this page…"
7965
7965
  }) : referrers.length > 0 ? /* @__PURE__ */ jsxs(Text, {
7966
7966
  size: 1,
7967
7967
  children: [
7968
- "Ces documents publiés pointent vers elle ; leurs liens vers cette page disparaîtront du site :",
7968
+ "These published documents point to it; their links to this page will disappear from the site:",
7969
7969
  " ",
7970
7970
  referrers.map((r) => r.title || r._id).join(", "),
7971
7971
  "."
@@ -7973,7 +7973,7 @@ const RemoveFromSiteAction = (props) => {
7973
7973
  }) : /* @__PURE__ */ jsx(Text, {
7974
7974
  size: 1,
7975
7975
  muted: !0,
7976
- children: "Aucun document publié ne pointe vers cette page."
7976
+ children: "No published document points to this page."
7977
7977
  }),
7978
7978
  error && /* @__PURE__ */ jsx(Text, {
7979
7979
  size: 1,
@@ -8029,7 +8029,7 @@ function createSlugUrlInput(config) {
8029
8029
  mode: "ghost",
8030
8030
  fontSize: 1,
8031
8031
  padding: 2,
8032
- text: copied ? "Copié" : "Copier",
8032
+ text: copied ? "Copied" : "Copy",
8033
8033
  onClick: copy
8034
8034
  }),
8035
8035
  /* @__PURE__ */ jsx(Button, {
@@ -8040,7 +8040,7 @@ function createSlugUrlInput(config) {
8040
8040
  mode: "ghost",
8041
8041
  fontSize: 1,
8042
8042
  padding: 2,
8043
- text: "Ouvrir"
8043
+ text: "Open"
8044
8044
  })
8045
8045
  ]
8046
8046
  })
@@ -8116,15 +8116,15 @@ function withTranslationTodo(Inner, config) {
8116
8116
  size: 1,
8117
8117
  style: { flex: 1 },
8118
8118
  children: [
8119
- "À traduire : modifié dans la version ",
8119
+ "To translate: changed in the ",
8120
8120
  (todo?.sourceLanguage ?? "").toUpperCase(),
8121
- "."
8121
+ " version."
8122
8122
  ]
8123
8123
  }), /* @__PURE__ */ jsx(Button, {
8124
8124
  mode: "ghost",
8125
8125
  fontSize: 1,
8126
8126
  padding: 2,
8127
- text: "Marquer comme traduit",
8127
+ text: "Mark as translated",
8128
8128
  disabled: busy,
8129
8129
  onClick: done
8130
8130
  })]
@@ -8399,7 +8399,7 @@ function withPropagation(Publish, config) {
8399
8399
  },
8400
8400
  dialog: run ? {
8401
8401
  type: "dialog",
8402
- header: "Propager aux autres langues ?",
8402
+ header: "Propagate to other languages?",
8403
8403
  width: "medium",
8404
8404
  onClose: () => {
8405
8405
  setRun(null), props.onComplete();
@@ -8463,12 +8463,12 @@ function PropagateDialog(props) {
8463
8463
  }
8464
8464
  toast.push({
8465
8465
  status: "success",
8466
- title: `Brouillons mis à jour : ${applied.join(", ")}`,
8467
- description: "Traduisez les champs marqués « À traduire », puis publiez chaque langue.",
8466
+ title: `Drafts updated: ${applied.join(", ")}`,
8467
+ description: "Translate the fields marked \"To translate\", then publish each language.",
8468
8468
  duration: 8e3
8469
8469
  }), onDone();
8470
8470
  } catch (cause) {
8471
- setError(`La propagation a échoué, rien n'a été publié. (${(cause instanceof Error ? cause.message : String(cause)).slice(0, 140)})`);
8471
+ setError(`Propagation failed, nothing was published. (${(cause instanceof Error ? cause.message : String(cause)).slice(0, 140)})`);
8472
8472
  } finally {
8473
8473
  setBusy(!1);
8474
8474
  }
@@ -8480,9 +8480,9 @@ function PropagateDialog(props) {
8480
8480
  /* @__PURE__ */ jsxs(Text, {
8481
8481
  size: 1,
8482
8482
  children: [
8483
- "La version ",
8483
+ "The ",
8484
8484
  source.toUpperCase(),
8485
- " est publiée. Appliquer ses changements aux brouillons des autres langues ? Les textes traduits ne sont jamais écrasés : les textes modifiés sont marqués « À traduire ». Rien n’est publié."
8485
+ " version is published. Apply its changes to the drafts of the other languages? Translated texts are never overwritten: changed texts are marked \"To translate\". Nothing is published."
8486
8486
  ]
8487
8487
  }),
8488
8488
  /* @__PURE__ */ jsx(Stack, {
@@ -8532,12 +8532,12 @@ function PropagateDialog(props) {
8532
8532
  justify: "flex-end",
8533
8533
  gap: 2,
8534
8534
  children: [/* @__PURE__ */ jsx(Button, {
8535
- text: "Ignorer",
8535
+ text: "Skip",
8536
8536
  mode: "ghost",
8537
8537
  onClick: onDone,
8538
8538
  disabled: busy
8539
8539
  }), /* @__PURE__ */ jsx(Button, {
8540
- text: busy ? "Propagation…" : "Propager",
8540
+ text: busy ? "Propagating…" : "Propagate",
8541
8541
  tone: "primary",
8542
8542
  onClick: () => void apply(),
8543
8543
  disabled: busy || !targets.some((t) => t.selected)
@@ -8547,9 +8547,9 @@ function PropagateDialog(props) {
8547
8547
  });
8548
8548
  }
8549
8549
  function summary(r) {
8550
- if (!hasChanges(r)) return "Déjà à jour.";
8550
+ if (!hasChanges(r)) return "Already up to date.";
8551
8551
  let parts = [];
8552
- return r.added && parts.push(`${r.added} élément${r.added > 1 ? "s" : ""} ajouté${r.added > 1 ? "s" : ""}`), r.removed && parts.push(`${r.removed} supprimé${r.removed > 1 ? "s" : ""}`), r.moved && parts.push("ordre mis à jour"), r.copied.length && parts.push(`${r.copied.length} valeur${r.copied.length > 1 ? "s" : ""} recopiée${r.copied.length > 1 ? "s" : ""} (images, liens, options…)`), r.toTranslate.length && parts.push(`${r.toTranslate.length} texte${r.toTranslate.length > 1 ? "s" : ""} à traduire`), parts.join(" · ");
8552
+ return r.added && parts.push(`${r.added} item${r.added > 1 ? "s" : ""} added`), r.removed && parts.push(`${r.removed} removed`), r.moved && parts.push("order updated"), r.copied.length && parts.push(`${r.copied.length} value${r.copied.length > 1 ? "s" : ""} copied (images, links, options…)`), r.toTranslate.length && parts.push(`${r.toTranslate.length} text${r.toTranslate.length > 1 ? "s" : ""} to translate`), parts.join(" · ");
8553
8553
  }
8554
8554
  /**
8555
8555
  * `pageTypes` déduits du registre du starter, pour ne pas redire au kit ce que
@@ -8639,7 +8639,7 @@ function withMoreTool(tools, names = DEFAULT_MORE_TOOLS) {
8639
8639
  if (hidden.length === 0) return tools;
8640
8640
  let more = {
8641
8641
  name: NCF_MORE_TOOL,
8642
- title: "Plus",
8642
+ title: "More",
8643
8643
  icon: EllipsisHorizontalIcon,
8644
8644
  component: MoreToolComponent,
8645
8645
  options: { tools: hidden }
@@ -8683,7 +8683,7 @@ function NcfPreviewHeader(props) {
8683
8683
  children: [/* @__PURE__ */ jsx(Text, {
8684
8684
  size: 0,
8685
8685
  muted: !0,
8686
- children: "Données"
8686
+ children: "Data"
8687
8687
  }), /* @__PURE__ */ jsx(Flex, {
8688
8688
  gap: 1,
8689
8689
  children: PERSPECTIVES.map((option) => {
@@ -8812,11 +8812,11 @@ const ncfKit = definePlugin((options) => {
8812
8812
  name: "components",
8813
8813
  tool: {
8814
8814
  name: NCF_COMPONENTS_TOOL,
8815
- title: "Composants",
8815
+ title: "Components",
8816
8816
  icon: ComponentIcon,
8817
8817
  component: createToolComponent({
8818
8818
  name: "components",
8819
- title: "Composants",
8819
+ title: "Components",
8820
8820
  config,
8821
8821
  issues,
8822
8822
  Component: ComponentsTool
@@ -8827,11 +8827,11 @@ const ncfKit = definePlugin((options) => {
8827
8827
  name: "history",
8828
8828
  tool: {
8829
8829
  name: NCF_HISTORY_TOOL,
8830
- title: "Historique",
8830
+ title: "History",
8831
8831
  icon: ClockIcon,
8832
8832
  component: createToolComponent({
8833
8833
  name: "history",
8834
- title: "Historique",
8834
+ title: "History",
8835
8835
  config,
8836
8836
  issues,
8837
8837
  Component: HistoryTool