From 45f9aeec10fdfcbb668b225c6ac46051d7c81f58 Mon Sep 17 00:00:00 2001 From: Tanmay Deep Sharma Date: Thu, 3 Jul 2025 00:33:26 +0530 Subject: [PATCH] update the translation file --- .../dashboard/i18n/locale/en/general.json | 5 ++++- .../i18n/locale/en/integrations.json | 21 +++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/general.json b/app/javascript/dashboard/i18n/locale/en/general.json index 129fb239a..8a3fc3c21 100644 --- a/app/javascript/dashboard/i18n/locale/en/general.json +++ b/app/javascript/dashboard/i18n/locale/en/general.json @@ -5,6 +5,9 @@ "PLACEHOLDER": "Search", "EMPTY_STATE": "No results found" }, - "CLOSE": "Close" + "CLOSE": "Close", + "FILE_SIZE": { + "MB": "MB" + } } } diff --git a/app/javascript/dashboard/i18n/locale/en/integrations.json b/app/javascript/dashboard/i18n/locale/en/integrations.json index b3e091722..ee39acad6 100644 --- a/app/javascript/dashboard/i18n/locale/en/integrations.json +++ b/app/javascript/dashboard/i18n/locale/en/integrations.json @@ -501,9 +501,26 @@ }, "FORM_DESCRIPTION": "Enter the URL of the document to add it as a knowledge source and choose the assistant to associate it with.", "CREATE": { - "TITLE": "Add a document", + "TITLE": "Create New Document", + "DESCRIPTION": "Add a new document from a website URL or by uploading a PDF file", "SUCCESS_MESSAGE": "The document has been successfully created", - "ERROR_MESSAGE": "There was an error creating the document, please try again." + "ERROR_MESSAGE": "There was an error creating the document, please try again.", + "FORM": { + "SOURCE_TYPE": { + "LABEL": "Choose Source Type", + "WEBSITE_URL": "Website URL", + "PDF_UPLOAD": "PDF Upload" + }, + "PDF_UPLOAD": { + "LABEL": "Upload PDF Document" + }, + "ASSISTANT": { + "LABEL": "Select Assistant" + }, + "FILE_UPLOAD": { + "MAX_SIZE": "Maximum file size: {size}MB" + } + } }, "FORM": { "URL": {