From 4296e7f4d8de64a62dbf5e5d152b19ae25df489e Mon Sep 17 00:00:00 2001
From: adripo <26493496+adripo@users.noreply.github.com>
Date: Mon, 21 Apr 2025 19:59:40 +0200
Subject: chore: rename missing files/conf from Hoarder to Karakeep (#1280)

* refactor: Rename remaining project configuration from Hoarder to Karakeep

* some fixes

---------

Co-authored-by: Mohamed Bassem <me@mbassem.com>
---
 apps/web/components/settings/ImportExport.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'apps/web/components/settings/ImportExport.tsx')

diff --git a/apps/web/components/settings/ImportExport.tsx b/apps/web/components/settings/ImportExport.tsx
index ab4fb640..43b934a6 100644
--- a/apps/web/components/settings/ImportExport.tsx
+++ b/apps/web/components/settings/ImportExport.tsx
@@ -11,7 +11,7 @@ import { useTranslation } from "@/lib/i18n/client";
 import {
   deduplicateBookmarks,
   ParsedBookmark,
-  parseHoarderBookmarkFile,
+  parseKarakeepBookmarkFile,
   parseLinkwardenBookmarkFile,
   parseNetscapeBookmarkFile,
   parseOmnivoreBookmarkFile,
@@ -166,7 +166,7 @@ export function ImportExportRow() {
         | "html"
         | "pocket"
         | "omnivore"
-        | "hoarder"
+        | "karakeep"
         | "linkwarden"
         | "tab-session-manager";
     }) => {
@@ -174,8 +174,8 @@ export function ImportExportRow() {
         return await parseNetscapeBookmarkFile(file);
       } else if (source === "pocket") {
         return await parsePocketBookmarkFile(file);
-      } else if (source === "hoarder") {
-        return await parseHoarderBookmarkFile(file);
+      } else if (source === "karakeep") {
+        return await parseKarakeepBookmarkFile(file);
       } else if (source === "omnivore") {
         return await parseOmnivoreBookmarkFile(file);
       } else if (source === "linkwarden") {
@@ -374,9 +374,9 @@ export function ImportExportRow() {
           </FilePickerButton>
         </ImportCard>
         <ImportCard
-          text="Hoarder"
+          text="Karakeep"
           description={t(
-            "settings.import.import_bookmarks_from_hoarder_export",
+            "settings.import.import_bookmarks_from_karakeep_export",
           )}
         >
           <FilePickerButton
@@ -386,7 +386,7 @@ export function ImportExportRow() {
             multiple={false}
             className="flex items-center gap-2"
             onFileSelect={(file) =>
-              runUploadBookmarkFile({ file, source: "hoarder" })
+              runUploadBookmarkFile({ file, source: "karakeep" })
             }
           >
             <p>Import</p>
-- 
cgit v1.2.3-70-g09d2

