From d372634ebef568e11078fafb005cca981faa41a1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 12 Jun 2026 10:59:47 +0100 Subject: [PATCH] refac --- .../lib/components/Settings/General.svelte | 22 ++++----- cptr/frontend/src/lib/i18n/locales/de.json | 45 ++++++++++++++----- cptr/frontend/src/lib/i18n/locales/es.json | 25 ++++++++++- cptr/frontend/src/lib/i18n/locales/fr.json | 43 +++++++++++++----- cptr/frontend/src/lib/i18n/locales/ja.json | 45 ++++++++++++++----- cptr/frontend/src/lib/i18n/locales/ko.json | 45 ++++++++++++++----- cptr/frontend/src/lib/i18n/locales/pt-BR.json | 45 ++++++++++++++----- cptr/frontend/src/lib/i18n/locales/ru.json | 45 ++++++++++++++----- cptr/frontend/src/lib/i18n/locales/zh-CN.json | 45 ++++++++++++++----- 9 files changed, 272 insertions(+), 88 deletions(-) diff --git a/cptr/frontend/src/lib/components/Settings/General.svelte b/cptr/frontend/src/lib/components/Settings/General.svelte index 721a749..e07e324 100644 --- a/cptr/frontend/src/lib/components/Settings/General.svelte +++ b/cptr/frontend/src/lib/components/Settings/General.svelte @@ -100,17 +100,6 @@ Show OS-level notifications when a task completes and the tab is not focused.

- - {#if $session?.role === 'admin'} - -

- Show a toast when a new version of cptr is available. -

- {/if} -