Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

improvements

Blue Mousec575c1800679
diff --git a/public/locales/en.json b/public/locales/en.json
index e17b56b47..9e98ea9e2 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -54,7 +54,8 @@
"quit": "Quit",
"enable": "Enable",
"disable": "Disable",
- "copied": "Copied"
+ "copied": "Copied",
+ "new": "New"
},
"main": {
"ukrSupport": "Support the Ukrainian army to fight Russian invasion.",
@@ -349,7 +350,9 @@
"addApiKeyBtn": "Generate API Key",
"deleteApiKeyBtn": "Delete API Key",
"apiKeyDelete": "Delete your API Key?",
- "apiKeyDeleteConf": "Are you sure you want to delete your API key?\nAll API access via this key will be disabled."
+ "apiKeyDeleteConf": "Are you sure you want to delete your API key?\nAll API access via this key will be disabled.",
+ "theme": "Theme",
+ "selectTheme": "Select theme"
},
"dashboard": {
"newProject": "New project",
diff --git a/src/pages/UserSettings/UserSettings.jsx b/src/pages/UserSettings/UserSettings.jsx
index 69282ab3b..c7b379a02 100644
--- a/src/pages/UserSettings/UserSettings.jsx
+++ b/src/pages/UserSettings/UserSettings.jsx
@@ -28,7 +28,6 @@ import Button from 'ui/Button'
import Modal from 'ui/Modal'
import Beta from 'ui/Beta'
import Select from 'ui/Select'
-import Tooltip from 'ui/Tooltip'
import { ActivePin } from 'ui/Pin'
import PaidFeature from 'modals/PaidFeature'
import TimezonePicker from 'ui/TimezonePicker'
@@ -319,16 +318,16 @@ const UserSettings = ({
</Button>
<hr className='mt-5 border-gray-200 dark:border-gray-600' />
<h3 className='flex items-center mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>
- Theme
+ {t('profileSettings.theme')}
<div className='ml-3'>
- <ActivePin label='New' />
+ <ActivePin label={t('common.new')} />
</div>
</h3>
<div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2 mt-2 mb-4'>
<div>
<Select
title={themeType}
- label='Select theme'
+ label={t('profileSettings.selectTheme')}
className='w-full'
items={[THEME_TYPE.classic, THEME_TYPE.christmas]}
onSelect={(f) => setAsyncThemeType(f)}