Explorar el Código

Remove unused keys

Manav Rathi hace 1 año
padre
commit
6bff42ad9b

+ 1 - 1
web/apps/photos/src/components/Collections/CollectionShare/emailShare/ManageParticipant.tsx

@@ -84,7 +84,7 @@ export default function ManageParticipant({
 
             buttonText = t("CONVERT_TO_VIEWER");
         } else if (newRole === "COLLABORATOR") {
-            contentText = t(`CHANGE_PERMISSIONS_TO_COLLABORATOR`, {
+            contentText = t("CHANGE_PERMISSIONS_TO_COLLABORATOR", {
                 selectedEmail: selectedEmail,
             });
             buttonText = t("CONVERT_TO_COLLABORATOR");

+ 1 - 1
web/apps/photos/src/components/FilesDownloadProgress.tsx

@@ -136,7 +136,7 @@ export const FilesDownloadProgress: React.FC<FilesDownloadProgressProps> = ({
                         title: isFilesDownloadCompletedWithErrors(attributes)
                             ? t("DOWNLOAD_FAILED")
                             : isFilesDownloadCompleted(attributes)
-                              ? t(`DOWNLOAD_COMPLETE`)
+                              ? t("DOWNLOAD_COMPLETE")
                               : t("DOWNLOADING_COLLECTION", {
                                     name: attributes.folderName,
                                 }),

+ 0 - 27
web/packages/next/locales/en-US/translation.json

@@ -191,15 +191,12 @@
     "DELETE_COLLECTION_MESSAGE": "Also delete the photos (and videos) present in this album from <a>all</a> other albums they are part of?",
     "DELETE_PHOTOS": "Delete photos",
     "KEEP_PHOTOS": "Keep photos",
-    "SHARE": "Share",
     "SHARE_COLLECTION": "Share album",
-    "SHAREES": "Shared with",
     "SHARE_WITH_SELF": "Oops, you cannot share with yourself",
     "ALREADY_SHARED": "Oops, you're already sharing this with {{email}}",
     "SHARING_BAD_REQUEST_ERROR": "Sharing album not allowed",
     "SHARING_DISABLED_FOR_FREE_ACCOUNTS": "Sharing is disabled for free accounts",
     "DOWNLOAD_COLLECTION": "Download album",
-    "DOWNLOAD_COLLECTION_MESSAGE": "<p>Are you sure you want to download the complete album?</p><p>All files will be queued for download sequentially</p>",
     "CREATE_ALBUM_FAILED": "Failed to create album , please try again",
     "SEARCH": "Search",
     "SEARCH_RESULTS": "Search results",
@@ -222,7 +219,6 @@
     "TERMS_AND_CONDITIONS": "I agree to the <a>terms</a> and <b>privacy policy</b>",
     "ADD_TO_COLLECTION": "Add to album",
     "SELECTED": "selected",
-    "VIDEO_PLAYBACK_FAILED_DOWNLOAD_INSTEAD": "This video cannot be played on your browser",
     "PEOPLE": "People",
     "INDEXING_SCHEDULED": "Indexing is scheduled...",
     "ANALYZING_PHOTOS": "Indexing photos ({{indexStatus.nSyncedFiles,number}} / {{indexStatus.nTotalFiles,number}})",
@@ -282,7 +278,6 @@
     "SEND_OTT": "Send OTP",
     "EMAIl_ALREADY_OWNED": "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>",
-    "SKIPPED_VIDEOS_INFO": "<p>Presently we do not support adding videos via public links.</p><p>To share videos, please <a>signup</a> for Ente and share with the intended recipients using their email.</p>",
     "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 ",
@@ -293,7 +288,6 @@
     "SKIPPED_INFO": "Skipped these as there are files with matching names in the same album",
     "UNSUPPORTED_INFO": "Ente does not support these file formats yet",
     "BLOCKED_UPLOADS": "Blocked uploads",
-    "SKIPPED_VIDEOS": "Skipped videos",
     "INPROGRESS_METADATA_EXTRACTION": "In progress",
     "INPROGRESS_UPLOADS": "Uploads in progress",
     "TOO_LARGE_UPLOADS": "Large files",
@@ -338,14 +332,6 @@
     "SORT_BY_CREATION_TIME_ASCENDING": "Oldest",
     "SORT_BY_UPDATION_TIME_DESCENDING": "Last updated",
     "SORT_BY_NAME": "Name",
-    "COMPRESS_THUMBNAILS": "Compress thumbnails",
-    "THUMBNAIL_REPLACED": "Thumbnails compressed",
-    "FIX_THUMBNAIL": "Compress",
-    "FIX_THUMBNAIL_LATER": "Compress later",
-    "REPLACE_THUMBNAIL_NOT_STARTED": "Some of your videos thumbnails can be compressed to save space. would you like Ente to compress them?",
-    "REPLACE_THUMBNAIL_COMPLETED": "Successfully compressed all thumbnails",
-    "REPLACE_THUMBNAIL_NOOP": "You have no thumbnails that can be compressed further",
-    "REPLACE_THUMBNAIL_COMPLETED_WITH_ERROR": "Could not compress some of your thumbnails, please retry",
     "FIX_CREATION_TIME": "Fix time",
     "FIX_CREATION_TIME_IN_PROGRESS": "Fixing time",
     "CREATION_TIME_UPDATED": "File time updated",
@@ -371,7 +357,6 @@
     "participants_one": "1 participant",
     "participants_other": "{{count, number}} participants",
     "ADD_VIEWERS": "Add viewers",
-    "PARTICIPANTS": "Participants",
     "CHANGE_PERMISSIONS_TO_VIEWER": "<p>{{selectedEmail}} will not be able to add more photos to the album</p> <p>They will still be able to remove photos added by them</p>",
     "CHANGE_PERMISSIONS_TO_COLLABORATOR": "{{selectedEmail}} will be able to add photos to the album",
     "CONVERT_TO_VIEWER": "Yes, convert to viewer",
@@ -403,8 +388,6 @@
     "NEVER": "Never",
     "DISABLE_FILE_DOWNLOAD": "Disable download",
     "DISABLE_FILE_DOWNLOAD_MESSAGE": "<p>Are you sure that you want to disable the download button for files?</p><p>Viewers can still take screenshots or save a copy of your photos using external tools.</p>",
-    "MALICIOUS_CONTENT": "Contains malicious content",
-    "COPYRIGHT": "Infringes on the copyright of someone I am authorized to represent",
     "SHARED_USING": "Shared using ",
     "SHARING_REFERRAL_CODE": "Use code <strong>{{referralCode}}</strong> to get 10 GB free",
     "LIVE": "LIVE",
@@ -417,9 +400,7 @@
     "UPLOAD_DIRS": "Folder",
     "UPLOAD_GOOGLE_TAKEOUT": "Google takeout",
     "DEDUPLICATE_FILES": "Deduplicate files",
-    "AUTHENTICATOR_SECTION": "Authenticator",
     "NO_DUPLICATES_FOUND": "You've no duplicate files that can be cleared",
-    "CLUB_BY_CAPTURE_TIME": "Club by capture time",
     "FILES": "files",
     "EACH": "each",
     "DEDUPLICATE_BASED_ON_SIZE": "The following files were clubbed based on their sizes, please review and delete items you believe are duplicates",
@@ -544,14 +525,7 @@
     "RENAMING_COLLECTION_FOLDERS": "Renaming album folders...",
     "TRASHING_DELETED_FILES": "Trashing deleted files...",
     "TRASHING_DELETED_COLLECTIONS": "Trashing deleted albums...",
-    "EXPORT_NOTIFICATION": {
-        "START": "Export started",
-        "IN_PROGRESS": "Export already in progress",
-        "FINISH": "Export finished",
-        "UP_TO_DATE": "No new files to export"
-    },
     "CONTINUOUS_EXPORT": "Sync continuously",
-    "TOTAL_ITEMS": "Total items",
     "PENDING_ITEMS": "Pending items",
     "EXPORT_STARTING": "Export starting...",
     "DELETE_ACCOUNT_REASON_LABEL": "What is the main reason you are deleting your account?",
@@ -632,7 +606,6 @@
     "PAIR_WITH_PIN_WORKS_FOR_ANY_LARGE_SCREEN_DEVICE": "Pair with PIN works for any large screen device you want to play your album on.",
     "VISIT_CAST_ENTE_IO": "Visit <a>{{url}}</a> on the device you want to pair.",
     "CAST_AUTO_PAIR_FAILED": "Chromecast Auto Pair failed. Please try again.",
-    "CACHE_DIRECTORY": "Cache folder",
     "FREEHAND": "Freehand",
     "APPLY_CROP": "Apply Crop",
     "PHOTO_EDIT_REQUIRED_TO_SAVE": "At least one transformation or color adjustment must be performed before saving.",