Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Make some error messages more precise and concise

Manav Rathi38c809857f8e
diff --git a/web/apps/photos/src/components/Upload/UploadProgress/dialog.tsx b/web/apps/photos/src/components/Upload/UploadProgress/dialog.tsx
index 3faa4198b2..443d15c6b0 100644
--- a/web/apps/photos/src/components/Upload/UploadProgress/dialog.tsx
+++ b/web/apps/photos/src/components/Upload/UploadProgress/dialog.tsx
@@ -3,7 +3,7 @@ import {
UPLOAD_STAGES,
} from "@/new/photos/services/upload/types";
import { dialogCloseHandler } from "@ente/shared/components/DialogBox/TitleWithCloseButton";
-import { Dialog, DialogContent, Link } from "@mui/material";
+import { Dialog, DialogContent } from "@mui/material";
import { t } from "i18next";
import { useContext, useEffect, useState } from "react";
import { Trans } from "react-i18next";
@@ -78,17 +78,7 @@ export function UploadProgressDialog() {
uploadResult={UPLOAD_RESULT.BLOCKED}
sectionTitle={t("BLOCKED_UPLOADS")}
sectionInfo={
- <Trans
- i18nKey={"ETAGS_BLOCKED"}
- components={{
- a: (
- <Link
- href="https://ente.io/download/desktop"
- target="_blank"
- />
- ),
- }}
- />
+ <Trans i18nKey={"ETAGS_BLOCKED"} />
}
/>
<ResultSection
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 56617a3c32..37ce145b06 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -297,7 +297,7 @@
"LOCAL_STORAGE_NOT_ACCESSIBLE_MESSAGE": "Your browser or an addon is blocking Ente from saving data into local storage",
"SEND_OTT": "Send OTP",
"email_already_taken": "Email already taken",
- "ETAGS_BLOCKED": "<p>We were unable to upload the following files because of your browser configuration.</p><p>Please disable any addons that might be preventing Ente from using <code>eTags</code> to upload large files, or use our <a>desktop app</a> for a more reliable import experience.</p>",
+ "ETAGS_BLOCKED": "Your browser or an addon is preventing Ente from using <code>eTags</code> to upload large files.",
"LIVE_PHOTOS_DETECTED": "The photo and video files from your Live Photos have been merged into a single file",
"RETRY_FAILED": "Retry failed uploads",
"FAILED_UPLOADS": "Failed uploads ",
@@ -397,9 +397,9 @@
"REMOVE_PARTICIPANT_MESSAGE": "<p>{{selectedEmail}} will be removed from the album</p><p>Any photos added by them will also be removed from the album</p>",
"NOT_FOUND": "404 - not found",
"link_expired": "Link expired",
- "link_expired_message": "This link has either expired or been disabled!",
+ "link_expired_message": "This link has either expired or has been disabled",
"MANAGE_LINK": "Manage link",
- "LINK_TOO_MANY_REQUESTS": "Sorry, this album has been viewed on too many devices!",
+ "LINK_TOO_MANY_REQUESTS": "This album has been viewed on too many devices",
"FILE_DOWNLOAD": "Allow downloads",
"PUBLIC_COLLECT": "Allow adding photos",
"LINK_DEVICE_LIMIT": "Device limit",