Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat(remake): D7 marketplace — cards hairline, uninstall quieto, chaves i18n faltantes adicionadas (6 keys, 11 locales)

tonhowtf7520f1006141
diff --git a/src/lib/i18n/el.json b/src/lib/i18n/el.json
index 9d47f29e..a6d66ca1 100644
--- a/src/lib/i18n/el.json
+++ b/src/lib/i18n/el.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Εγκατεστημενα",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Ανακαλυψτε",
"no_plugins": "Δεν εχουν εγκατασταθει plugins",
"enable": "Ενεργοποιηση",
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 1aa78b2b..40ee5547 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Installed",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Browse",
"no_plugins": "No plugins installed",
"enable": "Enable",
diff --git a/src/lib/i18n/es.json b/src/lib/i18n/es.json
index 9bcc1e2c..37207696 100644
--- a/src/lib/i18n/es.json
+++ b/src/lib/i18n/es.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Instalados",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Explorar",
"no_plugins": "Sin plugins instalados",
"enable": "Activar",
diff --git a/src/lib/i18n/fr.json b/src/lib/i18n/fr.json
index b62e77c7..3c83b8dd 100644
--- a/src/lib/i18n/fr.json
+++ b/src/lib/i18n/fr.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Installes",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Decouvrir",
"no_plugins": "Aucun plugin installe",
"enable": "Activer",
diff --git a/src/lib/i18n/it.json b/src/lib/i18n/it.json
index b6d89116..e5ee1c24 100644
--- a/src/lib/i18n/it.json
+++ b/src/lib/i18n/it.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Installati",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Scopri",
"no_plugins": "Nessun plugin installato",
"enable": "Attiva",
diff --git a/src/lib/i18n/ja.json b/src/lib/i18n/ja.json
index b5c7a762..2f59fb89 100644
--- a/src/lib/i18n/ja.json
+++ b/src/lib/i18n/ja.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "マーケットプレイス",
"installed": "インストール済み",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "探す",
"no_plugins": "プラグインがインストールされていません",
"enable": "有効化",
diff --git a/src/lib/i18n/keys.ts b/src/lib/i18n/keys.ts
index 412780e8..9d446f3e 100644
--- a/src/lib/i18n/keys.ts
+++ b/src/lib/i18n/keys.ts
@@ -596,6 +596,7 @@ export type TranslationKeys =
| 'marketplace.install_network_error'
| 'marketplace.installed'
| 'marketplace.installed_badge'
+ | 'marketplace.installed_hint'
| 'marketplace.no_plugins'
| 'marketplace.official_badge'
| 'marketplace.plugin_incompatible_hint'
@@ -608,6 +609,11 @@ export type TranslationKeys =
| 'marketplace.plugin_restart_hint'
| 'marketplace.reinstall'
| 'marketplace.restart_required'
+ | 'marketplace.section_hidden'
+ | 'marketplace.section_in_sidebar'
+ | 'marketplace.show_in_sidebar'
+ | 'marketplace.status_hidden'
+ | 'marketplace.status_in_sidebar'
| 'marketplace.title'
| 'marketplace.uninstall'
| 'marketplace.update_available'
diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json
index ea56516d..c59289b3 100644
--- a/src/lib/i18n/pt.json
+++ b/src/lib/i18n/pt.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Marketplace",
"installed": "Instalados",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Explorar",
"no_plugins": "Nenhum plugin instalado",
"enable": "Ativar",
diff --git a/src/lib/i18n/ru.json b/src/lib/i18n/ru.json
index a97afb1e..c4dc7101 100644
--- a/src/lib/i18n/ru.json
+++ b/src/lib/i18n/ru.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "Маркетплейс",
"installed": "Установленные",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "Обзор",
"no_plugins": "Плагины не установлены",
"enable": "Включить",
diff --git a/src/lib/i18n/zh-TW.json b/src/lib/i18n/zh-TW.json
index 414535e0..54b55b35 100644
--- a/src/lib/i18n/zh-TW.json
+++ b/src/lib/i18n/zh-TW.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "插件市场",
"installed": "已安装",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "发现",
"no_plugins": "还没有安装任何插件",
"enable": "启用",
diff --git a/src/lib/i18n/zh.json b/src/lib/i18n/zh.json
index fb8f00c1..f29cbf81 100644
--- a/src/lib/i18n/zh.json
+++ b/src/lib/i18n/zh.json
@@ -1220,6 +1220,12 @@
"marketplace": {
"title": "插件市场",
"installed": "已安装",
+ "installed_hint": "Installed plugins show up in the sidebar. Toggle one off to hide it without uninstalling.",
+ "section_in_sidebar": "In the sidebar",
+ "section_hidden": "Hidden",
+ "status_in_sidebar": "In the sidebar",
+ "status_hidden": "Hidden",
+ "show_in_sidebar": "Show in sidebar",
"browse": "发现",
"no_plugins": "还没有安装任何插件",
"enable": "启用",
diff --git a/src/routes/marketplace/+page.svelte b/src/routes/marketplace/+page.svelte
index 9b4bc834..7c293f1f 100644
--- a/src/routes/marketplace/+page.svelte
+++ b/src/routes/marketplace/+page.svelte
@@ -539,13 +539,13 @@
.plugin-card {
background: var(--surface);
+ border: 1px solid var(--border);
border-radius: var(--radius-md);
- box-shadow: var(--elev-1);
- padding: var(--space-5);
+ padding: var(--space-4);
display: flex;
flex-direction: column;
- gap: var(--space-3);
- transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
+ gap: var(--space-2);
+ transition: background var(--duration-fast) var(--ease-out);
}
.plugin-card.skeleton {
@@ -586,8 +586,7 @@
@media (hover: hover) {
.plugin-card:hover {
- transform: translateY(-1px);
- box-shadow: var(--elev-2);
+ background: var(--surface-hi);
}
}
@@ -595,9 +594,6 @@
.plugin-card {
transition: none;
}
- .plugin-card:hover {
- transform: none;
- }
}
.plugin-header {
@@ -694,7 +690,7 @@
}
.plugin-card.active-sidebar {
- background: color-mix(in srgb, var(--accent) 6%, var(--surface));
+ background: var(--surface);
}
.status-pill {
@@ -818,23 +814,28 @@
}
.uninstall-btn {
- padding: 6px 14px;
- font-size: 12px;
+ padding: 4px 12px;
+ font-size: var(--text-sm);
font-weight: 500;
border: none;
- border-radius: calc(var(--border-radius) - 2px);
+ border-radius: var(--radius-sm);
cursor: pointer;
- background: var(--button);
- color: var(--red);
- box-shadow: var(--button-box-shadow);
+ background: transparent;
+ color: var(--text-muted);
}
@media (hover: hover) {
.uninstall-btn:hover {
- background: var(--button-hover);
+ background: color-mix(in srgb, var(--danger) 10%, transparent);
+ color: var(--danger);
}
}
+ .uninstall-btn:focus-visible {
+ outline: var(--focus-ring);
+ outline-offset: var(--focus-ring-offset);
+ }
+
.install-btn:disabled {
opacity: 0.5;
cursor: default;