From 581bafbd37567cc7d4fd16cd457ca1496d6fb432 Mon Sep 17 00:00:00 2001 From: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com> Date: Thu, 28 Aug 2025 10:50:49 +0100 Subject: [PATCH] quick text changes (#4301) # Description of Changes --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: James Brunton Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com> --- frontend/public/locales/en-GB/translation.json | 5 +++-- frontend/src/components/shared/LandingPage.tsx | 2 +- frontend/src/components/tools/shared/FileStatusIndicator.tsx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/public/locales/en-GB/translation.json b/frontend/public/locales/en-GB/translation.json index 7fa1036db..70aeefbf4 100644 --- a/frontend/public/locales/en-GB/translation.json +++ b/frontend/public/locales/en-GB/translation.json @@ -50,6 +50,7 @@ "title": "Files", "placeholder": "Select a PDF file in the main view to get started", "upload": "Upload", + "uploadFiles": "Upload Files", "addFiles": "Add files", "selectFromWorkbench": "Select files from the workbench or " }, @@ -2068,7 +2069,7 @@ "loading": "Loading...", "or": "or", "dropFileHere": "Drop file here or click to upload", - "dropFilesHere": "Drop files here or click to upload", + "dropFilesHere": "Drop files here or click the upload button", "pdfFilesOnly": "PDF files only", "supportedFileTypes": "Supported file types", "upload": "Upload", @@ -2381,4 +2382,4 @@ "processImagesDesc": "Converts multiple image files into a single PDF document, then applies OCR technology to extract searchable text from the images." } } -} +} \ No newline at end of file diff --git a/frontend/src/components/shared/LandingPage.tsx b/frontend/src/components/shared/LandingPage.tsx index 92078e850..688bc2c89 100644 --- a/frontend/src/components/shared/LandingPage.tsx +++ b/frontend/src/components/shared/LandingPage.tsx @@ -189,7 +189,7 @@ const LandingPage = () => { className="text-[var(--accent-interactive)]" style={{ fontSize: '.8rem' }} > - {t('fileUpload.dropFilesHere', 'Drop files here or click to upload')} + {t('fileUpload.dropFilesHere', 'Drop files here or click the upload button')} diff --git a/frontend/src/components/tools/shared/FileStatusIndicator.tsx b/frontend/src/components/tools/shared/FileStatusIndicator.tsx index 28b8bf428..9b375fc2f 100644 --- a/frontend/src/components/tools/shared/FileStatusIndicator.tsx +++ b/frontend/src/components/tools/shared/FileStatusIndicator.tsx @@ -100,7 +100,7 @@ const FileStatusIndicator = ({ style={{ cursor: 'pointer', display: 'inline-flex', alignItems: 'center', gap: '0.25rem' }} > - {t("files.upload", "Upload")} + {t("files.uploadFiles", "Upload Files")} );