From 60cb90230d8d91e14985613da128ce87f3a6c7c2 Mon Sep 17 00:00:00 2001 From: Bruno Bergher Date: Sat, 10 Jan 2026 10:38:33 +0000 Subject: [PATCH] headers and i18n --- src/i18n/locales/en/marketplace.json | 1 - .../src/components/history/HistoryView.tsx | 17 +++++++---------- .../marketplace/MarketplaceView.tsx | 19 ++++++++----------- .../settings/SettingsSearchInput.tsx | 8 ++++---- .../src/components/settings/SettingsView.tsx | 2 +- webview-ui/src/i18n/locales/ca/settings.json | 5 +++++ webview-ui/src/i18n/locales/de/settings.json | 5 +++++ webview-ui/src/i18n/locales/en/history.json | 1 - webview-ui/src/i18n/locales/en/settings.json | 4 ++-- webview-ui/src/i18n/locales/es/settings.json | 5 +++++ webview-ui/src/i18n/locales/fr/settings.json | 5 +++++ webview-ui/src/i18n/locales/hi/settings.json | 5 +++++ webview-ui/src/i18n/locales/id/settings.json | 5 +++++ webview-ui/src/i18n/locales/it/settings.json | 5 +++++ webview-ui/src/i18n/locales/ja/settings.json | 5 +++++ webview-ui/src/i18n/locales/ko/settings.json | 5 +++++ webview-ui/src/i18n/locales/nl/settings.json | 5 +++++ webview-ui/src/i18n/locales/pl/settings.json | 5 +++++ .../src/i18n/locales/pt-BR/settings.json | 5 +++++ webview-ui/src/i18n/locales/ru/settings.json | 5 +++++ webview-ui/src/i18n/locales/tr/settings.json | 5 +++++ webview-ui/src/i18n/locales/vi/settings.json | 5 +++++ .../src/i18n/locales/zh-CN/settings.json | 5 +++++ .../src/i18n/locales/zh-TW/settings.json | 5 +++++ 24 files changed, 107 insertions(+), 30 deletions(-) diff --git a/src/i18n/locales/en/marketplace.json b/src/i18n/locales/en/marketplace.json index 17ae20078a..a8ffcaa8f6 100644 --- a/src/i18n/locales/en/marketplace.json +++ b/src/i18n/locales/en/marketplace.json @@ -46,7 +46,6 @@ }, "title": "Marketplace" }, - "done": "Done", "tabs": { "installed": "Installed", "browse": "Browse", diff --git a/webview-ui/src/components/history/HistoryView.tsx b/webview-ui/src/components/history/HistoryView.tsx index 6a8a7686d6..d08041eda0 100644 --- a/webview-ui/src/components/history/HistoryView.tsx +++ b/webview-ui/src/components/history/HistoryView.tsx @@ -84,16 +84,13 @@ const HistoryView = ({ onDone }: HistoryViewProps) => {
- - - +

{t("history:history")}

- - - +

{t("marketplace:title")}

diff --git a/webview-ui/src/components/settings/SettingsSearchInput.tsx b/webview-ui/src/components/settings/SettingsSearchInput.tsx index ed30c362a8..8ed20fb497 100644 --- a/webview-ui/src/components/settings/SettingsSearchInput.tsx +++ b/webview-ui/src/components/settings/SettingsSearchInput.tsx @@ -38,17 +38,17 @@ export function SettingsSearchInput({ onKeyDown={onKeyDown} placeholder={t("settings:search.placeholder")} className={cn( - "pl-6 w-[0px] border-none focus:border-vscode-input-border focus:pl-8 focus:min-w-[110px] focus:w-full", - value && "pr-4 pl-8 min-w-[108px]", + "pl-6 focus:pl-8 w-[0px] border-none focus:border-vscode-input-border focus:min-w-[90px] focus:w-full", + value && "pl-8 pr-8 min-w-[50px] w-full", )} /> {value && ( )}
diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index ded37de756..a47443757d 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -671,7 +671,7 @@ const SettingsView = forwardRef(({ onDone, t return ( -
+