From 819d646dfb2ff8696efb3c9ee42e69bdaae3c572 Mon Sep 17 00:00:00 2001 From: Jaybe Date: Fri, 14 Nov 2025 17:48:05 +0900 Subject: [PATCH] i18n(en): convert flat dotted keys to nested object for next-intl --- messages/en.json | 62 +++++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/messages/en.json b/messages/en.json index e83f3b0..e2e4df2 100644 --- a/messages/en.json +++ b/messages/en.json @@ -1,27 +1,39 @@ { - "app.title": "Landing Page Builder", - "builder.title": "Landing Page Builder", - "builder.preview": "Preview (static)", - "builder.field.title": "Title", - "builder.field.locale": "Locale", - "builder.field.primaryColor": "Primary Color", - "builder.field.fontFamily": "Font Family", - "builder.upload.hero": "Hero Image Upload", - "builder.action.addHero": "Add Hero", - "builder.action.addFAQ": "Add FAQ", - "builder.action.addCTA": "Add CTA", - "builder.action.export": "Export ZIP", - "builder.action.addText": "Add Text", - "builder.action.addEmail": "Add Email", - "builder.action.addTel": "Add Tel", - "builder.action.addDate": "Add Date", - "builder.action.addTextarea": "Add Textarea", - "builder.action.addCheckbox": "Add Checkbox", - "builder.action.addSelect": "Add Select", - "builder.action.addRadio": "Add Radio", - "builder.sections": "Sections", - "builder.form.fields": "Form Fields", - "builder.form.actionUrl": "Action URL", - "builder.form.honeypot": "Honeypot Field", - "builder.form.minSeconds": "Min Submit Seconds" + "app": { + "title": "Landing Page Builder" + }, + "builder": { + "title": "Landing Page Builder", + "preview": "Preview (static)", + "field": { + "title": "Title", + "locale": "Locale", + "primaryColor": "Primary Color", + "fontFamily": "Font Family" + }, + "upload": { + "hero": "Hero Image Upload" + }, + "action": { + "addHero": "Add Hero", + "addFAQ": "Add FAQ", + "addCTA": "Add CTA", + "export": "Export ZIP", + "addText": "Add Text", + "addEmail": "Add Email", + "addTel": "Add Tel", + "addDate": "Add Date", + "addTextarea": "Add Textarea", + "addCheckbox": "Add Checkbox", + "addSelect": "Add Select", + "addRadio": "Add Radio" + }, + "sections": "Sections", + "form": { + "fields": "Form Fields", + "actionUrl": "Action URL", + "honeypot": "Honeypot Field", + "minSeconds": "Min Submit Seconds" + } + } }