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!

add translation

kruzhambus2010a72f732b
diff --git a/public/locales/en.json b/public/locales/en.json
index cd7716192..66e8f992e 100644
--- a/public/locales/en.json
+++ b/public/locales/en.json
@@ -367,7 +367,11 @@
},
"addIntegration": "Add integration",
"removeIntegration": "Remove integration",
- "chatID": "Chat ID"
+ "chatID": "Chat ID",
+ "12-hour": "12 hour",
+ "24-hour": "24 hour",
+ "timeFormat": "Time notation",
+ "selectTimeFormat": "This will be the time notation, it is only used to visualize the data on the chart in 12 hour or 24 hour format"
},
"dashboard": {
"newProject": "New project",
diff --git a/src/pages/UserSettings/UserSettings.jsx b/src/pages/UserSettings/UserSettings.jsx
index 59380cee5..e63a4d7ad 100644
--- a/src/pages/UserSettings/UserSettings.jsx
+++ b/src/pages/UserSettings/UserSettings.jsx
@@ -369,13 +369,14 @@ const UserSettings = ({
<Button className='mt-4' onClick={handleTimezoneSave} primary large>
{t('common.save')}
</Button>
+ <hr className='mt-5 border-gray-200 dark:border-gray-600' />
<h3 className='mt-2 text-lg font-bold text-gray-900 dark:text-gray-50'>
{t('profileSettings.timeFormat')}
</h3>
<div className='grid grid-cols-1 gap-y-6 gap-x-4 lg:grid-cols-2 mt-4'>
<div>
<Select
- title={form.timeFormat}
+ title={t(`profileSettings.${form.timeFormat}`)}
label={t('profileSettings.selectTimeFormat')}
className='w-full'
items={[TimeFormat['12-hour'], TimeFormat['24-hour']]}