diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-04-21 01:01:58 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-04-21 01:59:32 +0000 |
| commit | c42c2c3d2d6c2109d0a7331a764fdbcc9ccdf067 (patch) | |
| tree | da907e32112528afeebf44a3d8f714ed24afd4c3 | |
| parent | cd632f295d896100207e1b02bfeb574175c07633 (diff) | |
| download | karakeep-c42c2c3d2d6c2109d0a7331a764fdbcc9ccdf067.tar.zst | |
fix: Rename cached content into reader mode
| -rw-r--r-- | apps/web/components/dashboard/preview/LinkContentSection.tsx | 8 | ||||
| -rw-r--r-- | apps/web/lib/i18n/locales/en/translation.json | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/apps/web/components/dashboard/preview/LinkContentSection.tsx b/apps/web/components/dashboard/preview/LinkContentSection.tsx index dd419fcd..f0277f3b 100644 --- a/apps/web/components/dashboard/preview/LinkContentSection.tsx +++ b/apps/web/components/dashboard/preview/LinkContentSection.tsx @@ -194,13 +194,13 @@ export default function LinkContentSection({ <div className="flex h-full flex-col items-center gap-2"> <Select onValueChange={setSection} value={section}> <SelectTrigger className="w-fit"> - <SelectValue /> + <span className="mr-2"> + <SelectValue /> + </span> </SelectTrigger> <SelectContent> <SelectGroup> - <SelectItem value="cached"> - {t("preview.cached_content")} - </SelectItem> + <SelectItem value="cached">{t("preview.reader_view")}</SelectItem> <SelectItem value="screenshot" disabled={!bookmark.content.screenshotAssetId} diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json index 1d99a96f..880730ce 100644 --- a/apps/web/lib/i18n/locales/en/translation.json +++ b/apps/web/lib/i18n/locales/en/translation.json @@ -289,7 +289,8 @@ }, "preview": { "view_original": "View Original", - "cached_content": "Cached Content" + "cached_content": "Cached Content", + "reader_view": "Reader View" }, "editor": { "quickly_focus": "You can quickly focus on this field by pressing ⌘ + E", |
