@contractspec/lib.content-gen 2.4.0 → 2.6.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 (64) hide show
  1. package/dist/browser/generators/blog.js +943 -12
  2. package/dist/browser/generators/email.js +952 -14
  3. package/dist/browser/generators/index.js +1005 -46
  4. package/dist/browser/generators/landing-page.js +938 -15
  5. package/dist/browser/generators/social.js +926 -5
  6. package/dist/browser/i18n/catalogs/en.js +276 -0
  7. package/dist/browser/i18n/catalogs/es.js +276 -0
  8. package/dist/browser/i18n/catalogs/fr.js +276 -0
  9. package/dist/browser/i18n/catalogs/index.js +826 -0
  10. package/dist/browser/i18n/index.js +937 -0
  11. package/dist/browser/i18n/keys.js +85 -0
  12. package/dist/browser/i18n/locale.js +13 -0
  13. package/dist/browser/i18n/messages.js +838 -0
  14. package/dist/browser/index.js +1020 -50
  15. package/dist/browser/seo/index.js +933 -4
  16. package/dist/browser/seo/optimizer.js +933 -4
  17. package/dist/generators/blog.d.ts +1 -0
  18. package/dist/generators/blog.js +943 -12
  19. package/dist/generators/email.d.ts +1 -0
  20. package/dist/generators/email.js +952 -14
  21. package/dist/generators/index.js +1005 -46
  22. package/dist/generators/landing-page.d.ts +1 -0
  23. package/dist/generators/landing-page.js +938 -15
  24. package/dist/generators/social.d.ts +1 -0
  25. package/dist/generators/social.js +926 -5
  26. package/dist/i18n/catalogs/en.d.ts +8 -0
  27. package/dist/i18n/catalogs/en.js +277 -0
  28. package/dist/i18n/catalogs/es.d.ts +6 -0
  29. package/dist/i18n/catalogs/es.js +277 -0
  30. package/dist/i18n/catalogs/fr.d.ts +6 -0
  31. package/dist/i18n/catalogs/fr.js +277 -0
  32. package/dist/i18n/catalogs/index.d.ts +8 -0
  33. package/dist/i18n/catalogs/index.js +827 -0
  34. package/dist/i18n/i18n.test.d.ts +1 -0
  35. package/dist/i18n/index.d.ts +29 -0
  36. package/dist/i18n/index.js +938 -0
  37. package/dist/i18n/keys.d.ts +244 -0
  38. package/dist/i18n/keys.js +86 -0
  39. package/dist/i18n/locale.d.ts +8 -0
  40. package/dist/i18n/locale.js +14 -0
  41. package/dist/i18n/messages.d.ts +14 -0
  42. package/dist/i18n/messages.js +839 -0
  43. package/dist/index.js +1020 -50
  44. package/dist/node/generators/blog.js +943 -12
  45. package/dist/node/generators/email.js +952 -14
  46. package/dist/node/generators/index.js +1005 -46
  47. package/dist/node/generators/landing-page.js +938 -15
  48. package/dist/node/generators/social.js +926 -5
  49. package/dist/node/i18n/catalogs/en.js +276 -0
  50. package/dist/node/i18n/catalogs/es.js +276 -0
  51. package/dist/node/i18n/catalogs/fr.js +276 -0
  52. package/dist/node/i18n/catalogs/index.js +826 -0
  53. package/dist/node/i18n/index.js +937 -0
  54. package/dist/node/i18n/keys.js +85 -0
  55. package/dist/node/i18n/locale.js +13 -0
  56. package/dist/node/i18n/messages.js +838 -0
  57. package/dist/node/index.js +1020 -50
  58. package/dist/node/seo/index.js +933 -4
  59. package/dist/node/seo/optimizer.js +933 -4
  60. package/dist/seo/index.js +933 -4
  61. package/dist/seo/optimizer.d.ts +10 -1
  62. package/dist/seo/optimizer.js +933 -4
  63. package/dist/types.d.ts +2 -0
  64. package/package.json +145 -5
@@ -0,0 +1,826 @@
1
+ // src/i18n/catalogs/en.ts
2
+ import { defineTranslation } from "@contractspec/lib.contracts-spec/translations";
3
+ var enMessages = defineTranslation({
4
+ meta: {
5
+ key: "content-gen.messages",
6
+ version: "1.0.0",
7
+ domain: "content-gen",
8
+ description: "All user-facing, LLM-facing, and developer-facing strings for the content-gen package",
9
+ owners: ["platform"],
10
+ stability: "experimental"
11
+ },
12
+ locale: "en",
13
+ fallback: "en",
14
+ messages: {
15
+ "prompt.blog.system": {
16
+ value: "You are a product marketing writer. Produce JSON with title, subtitle, intro, sections[].heading/body/bullets, outro.",
17
+ description: "Blog generator LLM system prompt"
18
+ },
19
+ "prompt.email.system": {
20
+ value: "Draft product marketing email as JSON {subject, previewText, body, cta}.",
21
+ description: "Email generator LLM system prompt"
22
+ },
23
+ "prompt.landing.system": {
24
+ value: "Write JSON landing page copy with hero/highlights/socialProof/faq arrays.",
25
+ description: "Landing page generator LLM system prompt"
26
+ },
27
+ "prompt.social.system": {
28
+ value: "Create JSON array of social posts for twitter/linkedin/threads with body, hashtags, cta.",
29
+ description: "Social post generator LLM system prompt"
30
+ },
31
+ "blog.intro": {
32
+ value: "Operators like {role} teams face {problems}. {title} changes that by {summary}.",
33
+ description: "Blog post intro paragraph template",
34
+ placeholders: [
35
+ { name: "role", type: "string" },
36
+ { name: "problems", type: "string" },
37
+ { name: "title", type: "string" },
38
+ { name: "summary", type: "string" }
39
+ ]
40
+ },
41
+ "blog.heading.whyNow": {
42
+ value: "Why now",
43
+ description: "Blog section heading: why now"
44
+ },
45
+ "blog.heading.whatYouGet": {
46
+ value: "What you get",
47
+ description: "Blog section heading: what you get"
48
+ },
49
+ "blog.heading.proofItWorks": {
50
+ value: "Proof it works",
51
+ description: "Blog section heading: proof it works"
52
+ },
53
+ "blog.body.whatYouGet": {
54
+ value: "A focused stack built for policy-safe automation.",
55
+ description: "Blog section body: what you get"
56
+ },
57
+ "blog.body.proofItWorks": {
58
+ value: "Teams using the blueprint report measurable wins.",
59
+ description: "Blog section body: proof it works"
60
+ },
61
+ "blog.metric.launchWorkflows": {
62
+ value: "Launch workflows in minutes",
63
+ description: "Default metric: launch workflows"
64
+ },
65
+ "blog.metric.cutReviewTime": {
66
+ value: "Cut review time by 60%",
67
+ description: "Default metric: cut review time"
68
+ },
69
+ "blog.outro.default": {
70
+ value: "Ready to see it live? Spin up a sandbox in under 5 minutes.",
71
+ description: "Default blog outro / call to action"
72
+ },
73
+ "blog.whyNow": {
74
+ value: "{audience} teams are stuck with {pains}. {title} delivers guardrails without slowing shipping.",
75
+ description: "Blog why-now section body template",
76
+ placeholders: [
77
+ { name: "audience", type: "string" },
78
+ { name: "pains", type: "string" },
79
+ { name: "title", type: "string" }
80
+ ]
81
+ },
82
+ "blog.audience.industry": {
83
+ value: " in {industry}",
84
+ description: "Audience industry suffix for blog why-now",
85
+ placeholders: [{ name: "industry", type: "string" }]
86
+ },
87
+ "email.subject.announcement.launch": {
88
+ value: "Launch: {title}",
89
+ description: "Announcement email subject variant: launch",
90
+ placeholders: [{ name: "title", type: "string" }]
91
+ },
92
+ "email.subject.announcement.live": {
93
+ value: "{title} is live",
94
+ description: "Announcement email subject variant: live",
95
+ placeholders: [{ name: "title", type: "string" }]
96
+ },
97
+ "email.subject.announcement.new": {
98
+ value: "New: {title}",
99
+ description: "Announcement email subject variant: new",
100
+ placeholders: [{ name: "title", type: "string" }]
101
+ },
102
+ "email.subject.onboarding.getStarted": {
103
+ value: "Get started with {title}",
104
+ description: "Onboarding email subject variant: get started",
105
+ placeholders: [{ name: "title", type: "string" }]
106
+ },
107
+ "email.subject.onboarding.guide": {
108
+ value: "Your {title} guide",
109
+ description: "Onboarding email subject variant: guide",
110
+ placeholders: [{ name: "title", type: "string" }]
111
+ },
112
+ "email.subject.nurture.speeds": {
113
+ value: "How {title} speeds ops",
114
+ description: "Nurture email subject variant: speeds ops",
115
+ placeholders: [{ name: "title", type: "string" }]
116
+ },
117
+ "email.subject.nurture.proof": {
118
+ value: "Proof {title} works",
119
+ description: "Nurture email subject variant: proof",
120
+ placeholders: [{ name: "title", type: "string" }]
121
+ },
122
+ "email.subject.fallback": {
123
+ value: "{title} update",
124
+ description: "Fallback email subject line",
125
+ placeholders: [{ name: "title", type: "string" }]
126
+ },
127
+ "email.preview.defaultWin": {
128
+ value: "ship faster without policy gaps",
129
+ description: "Default win text for email preview"
130
+ },
131
+ "email.preview.template": {
132
+ value: "See how teams {win}.",
133
+ description: "Email preview text template",
134
+ placeholders: [{ name: "win", type: "string" }]
135
+ },
136
+ "email.body.greeting": {
137
+ value: "Hi there,",
138
+ description: "Email body greeting"
139
+ },
140
+ "email.body.reasons": {
141
+ value: "Top reasons teams adopt {title}:",
142
+ description: "Email body reasons intro",
143
+ placeholders: [{ name: "title", type: "string" }]
144
+ },
145
+ "email.cta.sandbox": {
146
+ value: "Spin up a sandbox",
147
+ description: "Default CTA: spin up a sandbox"
148
+ },
149
+ "email.cta.explore": {
150
+ value: "Explore the sandbox",
151
+ description: "Default CTA: explore the sandbox"
152
+ },
153
+ "email.hook.announcement": {
154
+ value: "{title} is live. {summary}",
155
+ description: "Announcement variant hook",
156
+ placeholders: [
157
+ { name: "title", type: "string" },
158
+ { name: "summary", type: "string" }
159
+ ]
160
+ },
161
+ "email.hook.onboarding": {
162
+ value: "Here is your next step to unlock {title}.",
163
+ description: "Onboarding variant hook",
164
+ placeholders: [{ name: "title", type: "string" }]
165
+ },
166
+ "email.hook.nurture": {
167
+ value: "Operators like {role} keep asking how to automate policy checks. Here is what works.",
168
+ description: "Nurture variant hook",
169
+ placeholders: [{ name: "role", type: "string" }]
170
+ },
171
+ "landing.eyebrow.defaultIndustry": {
172
+ value: "Operations",
173
+ description: "Default industry for landing page eyebrow"
174
+ },
175
+ "landing.eyebrow.template": {
176
+ value: "{industry} teams",
177
+ description: "Landing page eyebrow template",
178
+ placeholders: [{ name: "industry", type: "string" }]
179
+ },
180
+ "landing.cta.primary": {
181
+ value: "Launch a sandbox",
182
+ description: "Landing page primary CTA"
183
+ },
184
+ "landing.cta.secondary": {
185
+ value: "View docs",
186
+ description: "Landing page secondary CTA"
187
+ },
188
+ "landing.highlight.policySafe": {
189
+ value: "Policy-safe by default",
190
+ description: "Landing page highlight heading 1"
191
+ },
192
+ "landing.highlight.autoAdapts": {
193
+ value: "Auto-adapts per tenant",
194
+ description: "Landing page highlight heading 2"
195
+ },
196
+ "landing.highlight.launchReady": {
197
+ value: "Launch-ready in days",
198
+ description: "Landing page highlight heading 3"
199
+ },
200
+ "landing.highlight.fallback": {
201
+ value: "Key capability",
202
+ description: "Fallback highlight heading"
203
+ },
204
+ "landing.socialProof.heading": {
205
+ value: "Teams using ContractSpec",
206
+ description: "Social proof section heading"
207
+ },
208
+ "landing.socialProof.defaultQuote": {
209
+ value: '"We ship compliant workflows 5x faster while cutting ops toil in half."',
210
+ description: "Default social proof quote"
211
+ },
212
+ "landing.faq.policiesEnforced.heading": {
213
+ value: "How does this keep policies enforced?",
214
+ description: "FAQ heading: policies enforced"
215
+ },
216
+ "landing.faq.policiesEnforced.body": {
217
+ value: "All workflows compile from TypeScript specs and pass through PDP checks before execution, so no shadow logic slips through.",
218
+ description: "FAQ body: policies enforced"
219
+ },
220
+ "landing.faq.existingStack.heading": {
221
+ value: "Will it fit our existing stack?",
222
+ description: "FAQ heading: existing stack"
223
+ },
224
+ "landing.faq.existingStack.body": {
225
+ value: "Runtime adapters plug into REST, GraphQL, or MCP. Integrations stay vendor agnostic.",
226
+ description: "FAQ body: existing stack"
227
+ },
228
+ "landing.faq.compliance.heading": {
229
+ value: "What about compliance requirements?",
230
+ description: "FAQ heading: compliance requirements"
231
+ },
232
+ "social.cta.linkedin": {
233
+ value: "Book a 15-min run-through",
234
+ description: "LinkedIn post default CTA"
235
+ },
236
+ "social.cta.twitter": {
237
+ value: "→ contractspec.io/sandbox",
238
+ description: "Twitter post default CTA"
239
+ },
240
+ "social.body.threads": {
241
+ value: "Ops + policy can move fast. {title} automates guardrails so teams ship daily.",
242
+ description: "Threads post body template",
243
+ placeholders: [{ name: "title", type: "string" }]
244
+ },
245
+ "social.body.twitter.connector": {
246
+ value: " in <60s. ",
247
+ description: "Twitter body connector between solutions"
248
+ },
249
+ "seo.metaTitle": {
250
+ value: "{title} | ContractSpec",
251
+ description: "SEO meta title template",
252
+ placeholders: [{ name: "title", type: "string" }]
253
+ },
254
+ "seo.metaDescription": {
255
+ value: "{summary} — built for {role}{industry}.",
256
+ description: "SEO meta description template",
257
+ placeholders: [
258
+ { name: "summary", type: "string" },
259
+ { name: "role", type: "string" },
260
+ { name: "industry", type: "string" }
261
+ ]
262
+ },
263
+ "seo.offer.default": {
264
+ value: "Start building with ContractSpec",
265
+ description: "Default offer description for schema markup"
266
+ },
267
+ "seo.audience.industry": {
268
+ value: " in {industry}",
269
+ description: "Audience industry suffix for SEO description",
270
+ placeholders: [{ name: "industry", type: "string" }]
271
+ }
272
+ }
273
+ });
274
+
275
+ // src/i18n/catalogs/fr.ts
276
+ import { defineTranslation as defineTranslation2 } from "@contractspec/lib.contracts-spec/translations";
277
+ var frMessages = defineTranslation2({
278
+ meta: {
279
+ key: "content-gen.messages",
280
+ version: "1.0.0",
281
+ domain: "content-gen",
282
+ description: "French translations for the content-gen package",
283
+ owners: ["platform"],
284
+ stability: "experimental"
285
+ },
286
+ locale: "fr",
287
+ fallback: "en",
288
+ messages: {
289
+ "prompt.blog.system": {
290
+ value: "Vous êtes un rédacteur marketing produit. Produisez du JSON avec title, subtitle, intro, sections[].heading/body/bullets, outro.",
291
+ description: "Blog generator LLM system prompt"
292
+ },
293
+ "prompt.email.system": {
294
+ value: "Rédigez un e-mail marketing produit en JSON {subject, previewText, body, cta}.",
295
+ description: "Email generator LLM system prompt"
296
+ },
297
+ "prompt.landing.system": {
298
+ value: "Écrivez du JSON pour une page d'atterrissage avec hero/highlights/socialProof/faq.",
299
+ description: "Landing page generator LLM system prompt"
300
+ },
301
+ "prompt.social.system": {
302
+ value: "Créez un tableau JSON de posts sociaux pour twitter/linkedin/threads avec body, hashtags, cta.",
303
+ description: "Social post generator LLM system prompt"
304
+ },
305
+ "blog.intro": {
306
+ value: "Les équipes comme {role} font face à {problems}. {title} change la donne grâce à {summary}.",
307
+ description: "Blog post intro paragraph template",
308
+ placeholders: [
309
+ { name: "role", type: "string" },
310
+ { name: "problems", type: "string" },
311
+ { name: "title", type: "string" },
312
+ { name: "summary", type: "string" }
313
+ ]
314
+ },
315
+ "blog.heading.whyNow": {
316
+ value: "Pourquoi maintenant",
317
+ description: "Blog section heading: why now"
318
+ },
319
+ "blog.heading.whatYouGet": {
320
+ value: "Ce que vous obtenez",
321
+ description: "Blog section heading: what you get"
322
+ },
323
+ "blog.heading.proofItWorks": {
324
+ value: "La preuve que ça marche",
325
+ description: "Blog section heading: proof it works"
326
+ },
327
+ "blog.body.whatYouGet": {
328
+ value: "Une pile ciblée conçue pour l'automatisation conforme aux politiques.",
329
+ description: "Blog section body: what you get"
330
+ },
331
+ "blog.body.proofItWorks": {
332
+ value: "Les équipes utilisant le modèle rapportent des gains mesurables.",
333
+ description: "Blog section body: proof it works"
334
+ },
335
+ "blog.metric.launchWorkflows": {
336
+ value: "Lancez des workflows en quelques minutes",
337
+ description: "Default metric: launch workflows"
338
+ },
339
+ "blog.metric.cutReviewTime": {
340
+ value: "Réduisez le temps de revue de 60 %",
341
+ description: "Default metric: cut review time"
342
+ },
343
+ "blog.outro.default": {
344
+ value: "Prêt à voir en direct ? Lancez un bac à sable en moins de 5 minutes.",
345
+ description: "Default blog outro / call to action"
346
+ },
347
+ "blog.whyNow": {
348
+ value: "Les équipes {audience} sont bloquées par {pains}. {title} fournit des garde-fous sans ralentir les livraisons.",
349
+ description: "Blog why-now section body template",
350
+ placeholders: [
351
+ { name: "audience", type: "string" },
352
+ { name: "pains", type: "string" },
353
+ { name: "title", type: "string" }
354
+ ]
355
+ },
356
+ "blog.audience.industry": {
357
+ value: " dans le secteur {industry}",
358
+ description: "Audience industry suffix for blog why-now",
359
+ placeholders: [{ name: "industry", type: "string" }]
360
+ },
361
+ "email.subject.announcement.launch": {
362
+ value: "Lancement : {title}",
363
+ description: "Announcement email subject variant: launch",
364
+ placeholders: [{ name: "title", type: "string" }]
365
+ },
366
+ "email.subject.announcement.live": {
367
+ value: "{title} est en ligne",
368
+ description: "Announcement email subject variant: live",
369
+ placeholders: [{ name: "title", type: "string" }]
370
+ },
371
+ "email.subject.announcement.new": {
372
+ value: "Nouveau : {title}",
373
+ description: "Announcement email subject variant: new",
374
+ placeholders: [{ name: "title", type: "string" }]
375
+ },
376
+ "email.subject.onboarding.getStarted": {
377
+ value: "Démarrez avec {title}",
378
+ description: "Onboarding email subject variant: get started",
379
+ placeholders: [{ name: "title", type: "string" }]
380
+ },
381
+ "email.subject.onboarding.guide": {
382
+ value: "Votre guide {title}",
383
+ description: "Onboarding email subject variant: guide",
384
+ placeholders: [{ name: "title", type: "string" }]
385
+ },
386
+ "email.subject.nurture.speeds": {
387
+ value: "Comment {title} accélère les opérations",
388
+ description: "Nurture email subject variant: speeds ops",
389
+ placeholders: [{ name: "title", type: "string" }]
390
+ },
391
+ "email.subject.nurture.proof": {
392
+ value: "La preuve que {title} fonctionne",
393
+ description: "Nurture email subject variant: proof",
394
+ placeholders: [{ name: "title", type: "string" }]
395
+ },
396
+ "email.subject.fallback": {
397
+ value: "Mise à jour {title}",
398
+ description: "Fallback email subject line",
399
+ placeholders: [{ name: "title", type: "string" }]
400
+ },
401
+ "email.preview.defaultWin": {
402
+ value: "livrent plus vite sans lacunes de conformité",
403
+ description: "Default win text for email preview"
404
+ },
405
+ "email.preview.template": {
406
+ value: "Découvrez comment les équipes {win}.",
407
+ description: "Email preview text template",
408
+ placeholders: [{ name: "win", type: "string" }]
409
+ },
410
+ "email.body.greeting": {
411
+ value: "Bonjour,",
412
+ description: "Email body greeting"
413
+ },
414
+ "email.body.reasons": {
415
+ value: "Les principales raisons pour lesquelles les équipes adoptent {title} :",
416
+ description: "Email body reasons intro",
417
+ placeholders: [{ name: "title", type: "string" }]
418
+ },
419
+ "email.cta.sandbox": {
420
+ value: "Lancez un bac à sable",
421
+ description: "Default CTA: spin up a sandbox"
422
+ },
423
+ "email.cta.explore": {
424
+ value: "Explorez le bac à sable",
425
+ description: "Default CTA: explore the sandbox"
426
+ },
427
+ "email.hook.announcement": {
428
+ value: "{title} est en ligne. {summary}",
429
+ description: "Announcement variant hook",
430
+ placeholders: [
431
+ { name: "title", type: "string" },
432
+ { name: "summary", type: "string" }
433
+ ]
434
+ },
435
+ "email.hook.onboarding": {
436
+ value: "Voici votre prochaine étape pour débloquer {title}.",
437
+ description: "Onboarding variant hook",
438
+ placeholders: [{ name: "title", type: "string" }]
439
+ },
440
+ "email.hook.nurture": {
441
+ value: "Les opérateurs comme {role} demandent sans cesse comment automatiser les vérifications de conformité. Voici ce qui fonctionne.",
442
+ description: "Nurture variant hook",
443
+ placeholders: [{ name: "role", type: "string" }]
444
+ },
445
+ "landing.eyebrow.defaultIndustry": {
446
+ value: "Opérations",
447
+ description: "Default industry for landing page eyebrow"
448
+ },
449
+ "landing.eyebrow.template": {
450
+ value: "Équipes {industry}",
451
+ description: "Landing page eyebrow template",
452
+ placeholders: [{ name: "industry", type: "string" }]
453
+ },
454
+ "landing.cta.primary": {
455
+ value: "Lancer un bac à sable",
456
+ description: "Landing page primary CTA"
457
+ },
458
+ "landing.cta.secondary": {
459
+ value: "Voir la documentation",
460
+ description: "Landing page secondary CTA"
461
+ },
462
+ "landing.highlight.policySafe": {
463
+ value: "Conforme aux politiques par défaut",
464
+ description: "Landing page highlight heading 1"
465
+ },
466
+ "landing.highlight.autoAdapts": {
467
+ value: "S'adapte automatiquement par locataire",
468
+ description: "Landing page highlight heading 2"
469
+ },
470
+ "landing.highlight.launchReady": {
471
+ value: "Prêt au lancement en quelques jours",
472
+ description: "Landing page highlight heading 3"
473
+ },
474
+ "landing.highlight.fallback": {
475
+ value: "Capacité clé",
476
+ description: "Fallback highlight heading"
477
+ },
478
+ "landing.socialProof.heading": {
479
+ value: "Équipes utilisant ContractSpec",
480
+ description: "Social proof section heading"
481
+ },
482
+ "landing.socialProof.defaultQuote": {
483
+ value: "« Nous livrons des workflows conformes 5x plus vite tout en réduisant de moitié les tâches opérationnelles. »",
484
+ description: "Default social proof quote"
485
+ },
486
+ "landing.faq.policiesEnforced.heading": {
487
+ value: "Comment les politiques restent-elles appliquées ?",
488
+ description: "FAQ heading: policies enforced"
489
+ },
490
+ "landing.faq.policiesEnforced.body": {
491
+ value: "Tous les workflows sont compilés à partir de spécifications TypeScript et passent par des vérifications PDP avant exécution, empêchant toute logique non autorisée.",
492
+ description: "FAQ body: policies enforced"
493
+ },
494
+ "landing.faq.existingStack.heading": {
495
+ value: "Est-ce compatible avec notre pile existante ?",
496
+ description: "FAQ heading: existing stack"
497
+ },
498
+ "landing.faq.existingStack.body": {
499
+ value: "Les adaptateurs se connectent à REST, GraphQL ou MCP. Les intégrations restent agnostiques vis-à-vis des fournisseurs.",
500
+ description: "FAQ body: existing stack"
501
+ },
502
+ "landing.faq.compliance.heading": {
503
+ value: "Qu'en est-il des exigences de conformité ?",
504
+ description: "FAQ heading: compliance requirements"
505
+ },
506
+ "social.cta.linkedin": {
507
+ value: "Réservez une démo de 15 min",
508
+ description: "LinkedIn post default CTA"
509
+ },
510
+ "social.cta.twitter": {
511
+ value: "→ contractspec.io/sandbox",
512
+ description: "Twitter post default CTA"
513
+ },
514
+ "social.body.threads": {
515
+ value: "Ops + conformité peuvent avancer vite. {title} automatise les garde-fous pour que les équipes livrent quotidiennement.",
516
+ description: "Threads post body template",
517
+ placeholders: [{ name: "title", type: "string" }]
518
+ },
519
+ "social.body.twitter.connector": {
520
+ value: " en <60s. ",
521
+ description: "Twitter body connector between solutions"
522
+ },
523
+ "seo.metaTitle": {
524
+ value: "{title} | ContractSpec",
525
+ description: "SEO meta title template",
526
+ placeholders: [{ name: "title", type: "string" }]
527
+ },
528
+ "seo.metaDescription": {
529
+ value: "{summary} — conçu pour {role}{industry}.",
530
+ description: "SEO meta description template",
531
+ placeholders: [
532
+ { name: "summary", type: "string" },
533
+ { name: "role", type: "string" },
534
+ { name: "industry", type: "string" }
535
+ ]
536
+ },
537
+ "seo.offer.default": {
538
+ value: "Commencez à construire avec ContractSpec",
539
+ description: "Default offer description for schema markup"
540
+ },
541
+ "seo.audience.industry": {
542
+ value: " dans le secteur {industry}",
543
+ description: "Audience industry suffix for SEO description",
544
+ placeholders: [{ name: "industry", type: "string" }]
545
+ }
546
+ }
547
+ });
548
+
549
+ // src/i18n/catalogs/es.ts
550
+ import { defineTranslation as defineTranslation3 } from "@contractspec/lib.contracts-spec/translations";
551
+ var esMessages = defineTranslation3({
552
+ meta: {
553
+ key: "content-gen.messages",
554
+ version: "1.0.0",
555
+ domain: "content-gen",
556
+ description: "Spanish translations for the content-gen package",
557
+ owners: ["platform"],
558
+ stability: "experimental"
559
+ },
560
+ locale: "es",
561
+ fallback: "en",
562
+ messages: {
563
+ "prompt.blog.system": {
564
+ value: "Eres un redactor de marketing de producto. Produce JSON con title, subtitle, intro, sections[].heading/body/bullets, outro.",
565
+ description: "Blog generator LLM system prompt"
566
+ },
567
+ "prompt.email.system": {
568
+ value: "Redacta un correo de marketing de producto en JSON {subject, previewText, body, cta}.",
569
+ description: "Email generator LLM system prompt"
570
+ },
571
+ "prompt.landing.system": {
572
+ value: "Escribe JSON para una página de aterrizaje con hero/highlights/socialProof/faq.",
573
+ description: "Landing page generator LLM system prompt"
574
+ },
575
+ "prompt.social.system": {
576
+ value: "Crea un array JSON de publicaciones sociales para twitter/linkedin/threads con body, hashtags, cta.",
577
+ description: "Social post generator LLM system prompt"
578
+ },
579
+ "blog.intro": {
580
+ value: "Equipos como {role} enfrentan {problems}. {title} cambia eso gracias a {summary}.",
581
+ description: "Blog post intro paragraph template",
582
+ placeholders: [
583
+ { name: "role", type: "string" },
584
+ { name: "problems", type: "string" },
585
+ { name: "title", type: "string" },
586
+ { name: "summary", type: "string" }
587
+ ]
588
+ },
589
+ "blog.heading.whyNow": {
590
+ value: "Por qué ahora",
591
+ description: "Blog section heading: why now"
592
+ },
593
+ "blog.heading.whatYouGet": {
594
+ value: "Lo que obtienes",
595
+ description: "Blog section heading: what you get"
596
+ },
597
+ "blog.heading.proofItWorks": {
598
+ value: "Prueba de que funciona",
599
+ description: "Blog section heading: proof it works"
600
+ },
601
+ "blog.body.whatYouGet": {
602
+ value: "Una pila enfocada construida para la automatización segura con políticas.",
603
+ description: "Blog section body: what you get"
604
+ },
605
+ "blog.body.proofItWorks": {
606
+ value: "Los equipos que usan el modelo reportan logros medibles.",
607
+ description: "Blog section body: proof it works"
608
+ },
609
+ "blog.metric.launchWorkflows": {
610
+ value: "Lanza flujos de trabajo en minutos",
611
+ description: "Default metric: launch workflows"
612
+ },
613
+ "blog.metric.cutReviewTime": {
614
+ value: "Reduce el tiempo de revisión en un 60 %",
615
+ description: "Default metric: cut review time"
616
+ },
617
+ "blog.outro.default": {
618
+ value: "¿Listo para verlo en vivo? Lanza un sandbox en menos de 5 minutos.",
619
+ description: "Default blog outro / call to action"
620
+ },
621
+ "blog.whyNow": {
622
+ value: "Los equipos de {audience} están atascados con {pains}. {title} ofrece barreras de protección sin ralentizar las entregas.",
623
+ description: "Blog why-now section body template",
624
+ placeholders: [
625
+ { name: "audience", type: "string" },
626
+ { name: "pains", type: "string" },
627
+ { name: "title", type: "string" }
628
+ ]
629
+ },
630
+ "blog.audience.industry": {
631
+ value: " en el sector {industry}",
632
+ description: "Audience industry suffix for blog why-now",
633
+ placeholders: [{ name: "industry", type: "string" }]
634
+ },
635
+ "email.subject.announcement.launch": {
636
+ value: "Lanzamiento: {title}",
637
+ description: "Announcement email subject variant: launch",
638
+ placeholders: [{ name: "title", type: "string" }]
639
+ },
640
+ "email.subject.announcement.live": {
641
+ value: "{title} ya está disponible",
642
+ description: "Announcement email subject variant: live",
643
+ placeholders: [{ name: "title", type: "string" }]
644
+ },
645
+ "email.subject.announcement.new": {
646
+ value: "Nuevo: {title}",
647
+ description: "Announcement email subject variant: new",
648
+ placeholders: [{ name: "title", type: "string" }]
649
+ },
650
+ "email.subject.onboarding.getStarted": {
651
+ value: "Empieza con {title}",
652
+ description: "Onboarding email subject variant: get started",
653
+ placeholders: [{ name: "title", type: "string" }]
654
+ },
655
+ "email.subject.onboarding.guide": {
656
+ value: "Tu guía de {title}",
657
+ description: "Onboarding email subject variant: guide",
658
+ placeholders: [{ name: "title", type: "string" }]
659
+ },
660
+ "email.subject.nurture.speeds": {
661
+ value: "Cómo {title} acelera las operaciones",
662
+ description: "Nurture email subject variant: speeds ops",
663
+ placeholders: [{ name: "title", type: "string" }]
664
+ },
665
+ "email.subject.nurture.proof": {
666
+ value: "Prueba de que {title} funciona",
667
+ description: "Nurture email subject variant: proof",
668
+ placeholders: [{ name: "title", type: "string" }]
669
+ },
670
+ "email.subject.fallback": {
671
+ value: "Actualización de {title}",
672
+ description: "Fallback email subject line",
673
+ placeholders: [{ name: "title", type: "string" }]
674
+ },
675
+ "email.preview.defaultWin": {
676
+ value: "entregan más rápido sin brechas de cumplimiento",
677
+ description: "Default win text for email preview"
678
+ },
679
+ "email.preview.template": {
680
+ value: "Descubre cómo los equipos {win}.",
681
+ description: "Email preview text template",
682
+ placeholders: [{ name: "win", type: "string" }]
683
+ },
684
+ "email.body.greeting": {
685
+ value: "Hola,",
686
+ description: "Email body greeting"
687
+ },
688
+ "email.body.reasons": {
689
+ value: "Principales razones por las que los equipos adoptan {title}:",
690
+ description: "Email body reasons intro",
691
+ placeholders: [{ name: "title", type: "string" }]
692
+ },
693
+ "email.cta.sandbox": {
694
+ value: "Lanza un sandbox",
695
+ description: "Default CTA: spin up a sandbox"
696
+ },
697
+ "email.cta.explore": {
698
+ value: "Explora el sandbox",
699
+ description: "Default CTA: explore the sandbox"
700
+ },
701
+ "email.hook.announcement": {
702
+ value: "{title} ya está disponible. {summary}",
703
+ description: "Announcement variant hook",
704
+ placeholders: [
705
+ { name: "title", type: "string" },
706
+ { name: "summary", type: "string" }
707
+ ]
708
+ },
709
+ "email.hook.onboarding": {
710
+ value: "Aquí tienes tu siguiente paso para desbloquear {title}.",
711
+ description: "Onboarding variant hook",
712
+ placeholders: [{ name: "title", type: "string" }]
713
+ },
714
+ "email.hook.nurture": {
715
+ value: "Operadores como {role} siguen preguntando cómo automatizar las verificaciones de cumplimiento. Esto es lo que funciona.",
716
+ description: "Nurture variant hook",
717
+ placeholders: [{ name: "role", type: "string" }]
718
+ },
719
+ "landing.eyebrow.defaultIndustry": {
720
+ value: "Operaciones",
721
+ description: "Default industry for landing page eyebrow"
722
+ },
723
+ "landing.eyebrow.template": {
724
+ value: "Equipos de {industry}",
725
+ description: "Landing page eyebrow template",
726
+ placeholders: [{ name: "industry", type: "string" }]
727
+ },
728
+ "landing.cta.primary": {
729
+ value: "Lanzar un sandbox",
730
+ description: "Landing page primary CTA"
731
+ },
732
+ "landing.cta.secondary": {
733
+ value: "Ver documentación",
734
+ description: "Landing page secondary CTA"
735
+ },
736
+ "landing.highlight.policySafe": {
737
+ value: "Conforme a políticas por defecto",
738
+ description: "Landing page highlight heading 1"
739
+ },
740
+ "landing.highlight.autoAdapts": {
741
+ value: "Se adapta automáticamente por inquilino",
742
+ description: "Landing page highlight heading 2"
743
+ },
744
+ "landing.highlight.launchReady": {
745
+ value: "Listo para lanzar en días",
746
+ description: "Landing page highlight heading 3"
747
+ },
748
+ "landing.highlight.fallback": {
749
+ value: "Capacidad clave",
750
+ description: "Fallback highlight heading"
751
+ },
752
+ "landing.socialProof.heading": {
753
+ value: "Equipos que usan ContractSpec",
754
+ description: "Social proof section heading"
755
+ },
756
+ "landing.socialProof.defaultQuote": {
757
+ value: "« Entregamos flujos de trabajo conformes 5 veces más rápido reduciendo a la mitad las tareas operativas. »",
758
+ description: "Default social proof quote"
759
+ },
760
+ "landing.faq.policiesEnforced.heading": {
761
+ value: "¿Cómo se mantienen las políticas aplicadas?",
762
+ description: "FAQ heading: policies enforced"
763
+ },
764
+ "landing.faq.policiesEnforced.body": {
765
+ value: "Todos los flujos se compilan desde especificaciones TypeScript y pasan verificaciones PDP antes de ejecutarse, evitando lógica no autorizada.",
766
+ description: "FAQ body: policies enforced"
767
+ },
768
+ "landing.faq.existingStack.heading": {
769
+ value: "¿Es compatible con nuestra pila existente?",
770
+ description: "FAQ heading: existing stack"
771
+ },
772
+ "landing.faq.existingStack.body": {
773
+ value: "Los adaptadores se conectan a REST, GraphQL o MCP. Las integraciones son agnósticas respecto al proveedor.",
774
+ description: "FAQ body: existing stack"
775
+ },
776
+ "landing.faq.compliance.heading": {
777
+ value: "¿Qué pasa con los requisitos de cumplimiento?",
778
+ description: "FAQ heading: compliance requirements"
779
+ },
780
+ "social.cta.linkedin": {
781
+ value: "Reserva una demo de 15 min",
782
+ description: "LinkedIn post default CTA"
783
+ },
784
+ "social.cta.twitter": {
785
+ value: "→ contractspec.io/sandbox",
786
+ description: "Twitter post default CTA"
787
+ },
788
+ "social.body.threads": {
789
+ value: "Ops + cumplimiento pueden avanzar rápido. {title} automatiza las barreras para que los equipos entreguen a diario.",
790
+ description: "Threads post body template",
791
+ placeholders: [{ name: "title", type: "string" }]
792
+ },
793
+ "social.body.twitter.connector": {
794
+ value: " en <60s. ",
795
+ description: "Twitter body connector between solutions"
796
+ },
797
+ "seo.metaTitle": {
798
+ value: "{title} | ContractSpec",
799
+ description: "SEO meta title template",
800
+ placeholders: [{ name: "title", type: "string" }]
801
+ },
802
+ "seo.metaDescription": {
803
+ value: "{summary} — diseñado para {role}{industry}.",
804
+ description: "SEO meta description template",
805
+ placeholders: [
806
+ { name: "summary", type: "string" },
807
+ { name: "role", type: "string" },
808
+ { name: "industry", type: "string" }
809
+ ]
810
+ },
811
+ "seo.offer.default": {
812
+ value: "Empieza a construir con ContractSpec",
813
+ description: "Default offer description for schema markup"
814
+ },
815
+ "seo.audience.industry": {
816
+ value: " en el sector {industry}",
817
+ description: "Audience industry suffix for SEO description",
818
+ placeholders: [{ name: "industry", type: "string" }]
819
+ }
820
+ }
821
+ });
822
+ export {
823
+ frMessages,
824
+ esMessages,
825
+ enMessages
826
+ };