const messages = { root: { commandForms: "Forms", searchForms: "Search forms", appearance: "Appearance", toggleTheme: "Toggle theme", openAgent: "Open Agent", }, header: { settings: "Settings", forms: "Forms", team: "Team", responses: "Responses", form: "Form", extensions: "Extensions", }, navigation: { settings: "Settings", brand: "Forms", askForms: "Ask Forms", allForms: "All forms", team: "Team", agent: "Agent", }, settings: { title: "Settings", description: "Language and workspace preferences for this app.", languageTitle: "Language", languageDescription: "Choose the interface language. This preference is saved for your account.", languageLabel: "Interface language", workspaceTitle: "Workspace", workspaceDescription: "Manage team members, organization access, and shared workspace preferences.", openTeamSettings: "Open team settings", openResourceSettings: "Open resource settings", agentTitle: "Manage agent", agentDescription: "Manage the agent's model, API keys, automations, voice, and other controls.", openAgentSettings: "Manage agent", }, agent: { emptyState: "Ask me anything about your forms", suggestionSurvey: "Build a customer feedback survey", suggestionSubmissions: "Show submissions by day", suggestionExport: "Export responses to CSV", }, sidebar: { collapseSidebar: "Collapse sidebar", expandSidebar: "Expand sidebar", formGenerationStale: "Form generation is taking longer than expected. You can try again.", untitledForm: "Untitled Form", newForm: "New form", describeFormPlaceholder: "Describe your form...", skipPrompt: "Skip prompt", submitShortcutSuffix: "+Enter to submit", sendPrompt: "Send prompt", openAskFullScreen: "Open Ask Forms full screen", openSidebar: "Open sidebar", }, common: { retry: "Retry", back: "Back", signIn: "Sign in", done: "Done", select: "Select", clearAll: "Clear all", selectAll: "Select all", open: "Open", delete: "Delete", cancel: "Cancel", optional: "optional", }, fieldProperties: { title: "Field Properties", type: "Type", label: "Label", placeholder: "Placeholder", helpText: "Help text", required: "Required", width: "Width", fullWidth: "Full width", halfWidth: "Half width", options: "Options", removeOption: "Remove option {{option}}", addOptionPlaceholder: "Add option...", addOption: "Add option", min: "Min", max: "Max", conditionalVisibility: "Conditional visibility", conditionalVisibilityDescription: "Only show this field when an earlier answer matches.", conditionField: "Earlier answer", conditionOperator: "Condition", conditionEquals: "is", conditionNotEquals: "is not", conditionContains: "contains", conditionValue: "Answer", conditionValuePlaceholder: "Enter an answer...", fieldTypes: { text: "Short Text", email: "Email", number: "Number", textarea: "Long Text", select: "Dropdown", multiselect: "Multi-select", checkbox: "Checkbox", radio: "Radio Buttons", date: "Date", rating: "Rating", scale: "Scale", }, }, builder: { agentEditStale: "Form edit is taking longer than expected. You can try again.", accessDenied: "You don't have access to this form. Ask the owner to share it with you.", loadFailed: "Failed to load form", backToForms: "Back to Forms", publishedToast: "Form published!", unpublishedToast: "Form unpublished", publishBeforeCopyToast: "Publish this form before copying its public link", linkCopiedToast: "Link copied to clipboard", previewPublishedForm: "Preview published form", copyPublicFormLink: "Copy public form link", publishBeforeCopyPublicFormLink: "Publish before copying the public form link", publicLinkCopied: "Public link copied", copyPublishedPublicLink: "Copy published public link", publishBeforeCopyPublicLink: "Publish before copying the public link", publicResponseLink: "Public response link", publicResponseLinkDescription: "Respondents use this link to submit the published form.", publicResponseLinkPlaceholder: "Publish this form to get a public response link.", peopleAccessLabel: "People with editing access", generalAccessLabel: "General editing access", privateAccessDescription: "Only invited people can open this form in the builder", orgAccessDescription: "Anyone in your organization can open this form in the builder", publicBuilderAccess: "Public builder access", publicAccessDescription: "Anyone with the builder link can view this form's setup", manageBuilderAccess: "Manage builder access", publishing: "Publishing...", unpublishing: "Unpublishing...", moreActions: "More actions", editTab: "Edit", previewTab: "Preview", resultsTab: "Results", integrationsTab: "Integrations", settingsSaved: "Settings saved", integrationsSaved: "Integrations saved", saveFailed: "Failed to save changes", formTitlePlaceholder: "Form Title", addDescriptionPlaceholder: "Add a description...", dragToReorder: "Drag to reorder", addField: "Add Field", editFormWithAi: "Edit form with AI", editForm: "Edit form", agentPromptPlaceholder: "Add missing fields, change the layout...", fieldTypeLabels: { radio: "Multiple Choice", }, fieldDefaults: { textLabel: "Text Field", textPlaceholder: "Enter text...", emailLabel: "Email", emailPlaceholder: "you@example.com", numberLabel: "Number", textareaLabel: "Long Answer", textareaPlaceholder: "Type your answer...", selectLabel: "Dropdown", multiselectLabel: "Multi-select", checkboxLabel: "Checkbox", radioLabel: "Multiple Choice", dateLabel: "Date", ratingLabel: "Rating", scaleLabel: "Scale", option1: "Option 1", option2: "Option 2", option3: "Option 3", newField: "New Field", }, results: { submittedAt: "Submitted At", submitterEmail: "Submitter Email", responsesFilename: "responses", responseCount_one: "{{formattedCount}} response", responseCount_other: "{{formattedCount}} responses", matchCount_one: "{{formattedCount}} match", matchCount_other: "{{formattedCount}} matches", searchPlaceholder: "Search responses...", noSearchMatches: "No responses match your search.", }, settings: { submitButtonText: "Submit button text", defaultSubmitText: "Submit", successMessage: "Success message", defaultSuccessMessage: "Thank you! Your response has been recorded.", redirectUrl: "Redirect URL (optional)", anonymousResponses: "Anonymous responses", anonymousResponsesDescription: "Do not retain IP addresses, submitter identity, or source metadata.", emailNewResponses: "Email me for new responses", emailNewResponsesDescription: "Send a notification to the form owner's account email whenever someone submits a response.", saveSettings: "Save Settings", }, integrations: { logoAlt: "{{label}} logo", slackBlurb: "Drop new submissions straight into a channel.", slackHelp: "Create an Incoming Webhook in your Slack app settings", discordBlurb: "Send submissions to your community or ops server.", discordHelp: "Channel Settings > Integrations > Webhooks", webhookBlurb: "POST JSON to Zapier, Make, n8n, or your own endpoint.", webhookHelp: "Sends a JSON POST with submission data. Works with Zapier, Make, n8n, etc.", googleSheetsBlurb: "Mirror every response into a spreadsheet your team can share.", googleSheetsHelp: "Use a deployed Apps Script /exec URL. It must parse JSON from e.postData.contents and append the row.", slackLabel: "Slack", discordLabel: "Discord", webhookLabel: "Webhook", googleSheetsLabel: "Google Sheets", saveIntegration_one: "Save Integration", saveIntegration_other: "Save Integrations", chooseIntegrationFirst: "Choose an Integration First", automations: "Automations", description: "Send form submissions to external services automatically.", addFirstIntegration: "Add your first integration", emptyDescription: "Send new submissions to Slack, Discord, Google Sheets, or any webhook endpoint.", customEndpoint: "Custom endpoint", builtInOption: "Built-in option", addMoreHint: "You can add more than one destination and finish setup later.", enabled: "Enabled", paused: "Paused", destinationUrl: "Destination URL", addAnotherIntegration: "Add Another Integration", addIntegration: "Add Integration", added: "Added", readyHint: "Everything here is ready to receive new form submissions.", partialSetupHint: "You can save partial setup now and finish the remaining URLs later.", }, }, home: { openDashboard: "Open dashboard", dashboard: "Dashboard", emptyState: "Ask Forms what to build, publish, or analyze.", composerPlaceholder: "Ask about @forms, responses, analytics, or configuration...", heading: "What do you want to do?", description: "Build a form, inspect results, chart submissions, or tune a form's setup from the same conversation.", pillForms: "@tag forms", pillAnalytics: "analytics", pillConfiguration: "configuration", }, forms: { untitled: "Untitled Form", newForm: "New Form", new: "New", copyTitle: "{{title}} (copy)", duplicated: "Form duplicated", duplicateFailed: "Failed to duplicate form", movedToArchive: "Form moved to Archive", movingToArchive: "Moving form to Archive…", archiveFailed: "Failed to move form to Archive", restored: "Form restored", permanentlyDeleted: "Form permanently deleted", bulkPermanentlyDeleted: "{{formattedCount}} forms permanently deleted", bulkMovedToArchive: "{{formattedCount}} forms moved to Archive", published: "Form published", unpublished: "Form unpublished", signInPrompt: "Sign in to see your forms.", loadFailed: "Couldn't load forms", archive: "Archive", selectedCount: "{{formattedCount}} selected", moveToArchive: "Move to Archive", deleteForever: "Delete forever", exitSelectionMode: "Exit selection mode", archiveEmptyTitle: "Archive is empty", archiveEmptyDescription: "Deleted forms appear here. Their responses are kept until you permanently delete them.", emptyTitle: "No forms yet", emptyDescription: "Create your first form to get started", createForm: "Create Form", selectForm: "Select {{title}}", formActions: "Form actions", viewResponses: "View Responses", restore: "Restore", publish: "Publish", unpublish: "Unpublish", duplicate: "Duplicate", deletedDate: "Deleted {{date}}", purgeTitle: "Permanently delete this form?", purgeDescription: "The form and all its responses will be deleted forever. This cannot be undone.", bulkPurgeTitle: "Permanently delete selected forms?", bulkPurgeDescription: "The {{formattedCount}} selected form(s) and their responses will be deleted forever. This cannot be undone.", publishCloudTitle: "Publish Form", publishCloudDescription: "To publish forms publicly, connect a cloud database so submissions can be received from anywhere.", }, responses: { failedLoad: "Failed to load responses", backToBuilder: "Back to Builder", filteredCount: "{{count}} of {{total}}", totalCount: "{{formattedCount}} responses", filterPlaceholder: "Filter responses...", exportCsv: "Export CSV", export: "Export", emptyTitle: "No responses yet", emptyDescription: "Share your form to start collecting responses", noMatchesTitle: "No matches", noMatchesDescription: 'No responses contain "{{search}}"', submitted: "Submitted", email: "Email", page: "Page", source: "Source", sortBy: "Sort by {{label}}", }, cloudUpgrade: { sharePublicly: "Share Publicly", sharePubliclyDescription: "To share content publicly, connect a cloud database.", providerDescriptions: { turso: "SQLite at the edge", neon: "Serverless Postgres", supabase: "Open source Firebase alternative", d1: "SQLite at the edge", }, providerNames: { d1: "Cloudflare D1", }, setupSteps: "Setup steps", authToken: "Auth token", connectedReloading: "Connected successfully. Reloading...", connectionFailed: "Connection failed", testAndConnect: "Test & Connect", savingCredentials: "Saving credentials...", testingConnection: "Testing connection...", databaseUrlRequired: "Database URL is required", saveCredentialsFailed: "Failed to save credentials", connectionFailedAfterAttempts: "Database connection failed after 30 attempts. Check your credentials.", }, publicForm: { formNotFound: "Form not found", removedOrClosed: "This form may have been removed or is no longer accepting responses.", tryAgain: "Try Again", responseSubmitted: "Response submitted", noFields: "This form has no fields yet.", failedSubmit: "Failed to submit form", }, responseInsights: { unavailable: "Insights unavailable", unavailableDescription: "Response insights could not be loaded for this view.", noResponsesYet: "No responses yet.", }, formPreview: { missingFormId: "Missing form id", addIdToUrl: "Add {{idParam}} to the URL.", formNotFound: "Form not found", missingAccess: "The form with id {{id}} does not exist or you don't have access.", openInApp: "Open in app", noFields: "This form has no fields yet.", }, routeTitles: { toolForms: "Tool — Forms", extensionsForms: "Extensions — Forms", editFormForms: "Edit form — Forms", responsesForms: "Responses — Forms", formsIndex: "Agent-Native Forms - Open Source AI form builder and response analytics", responseInsightsForms: "Response insights - Forms", settingsForms: "Settings - Forms", }, routeDescriptions: { formsIndex: "Open Source AI form builder for creating, publishing, editing, and analyzing forms and responses from a chat-first workspace.", responseInsights: "Analyze form submissions with native tables and charts.", }, }; export default messages;