📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
i18n & better icons alignment
Blue Mousecd68376a5d83
diff --git a/web/app/pages/Project/View/components/Sessions.tsx b/web/app/pages/Project/View/components/Sessions.tsxindex 2aab60fd9..807f243a9 100644--- a/web/app/pages/Project/View/components/Sessions.tsx+++ b/web/app/pages/Project/View/components/Sessions.tsx@@ -120,7 +120,7 @@ const Session = ({ session, timeFormat }: SessionProps) => {<Separator />{session.br}</p>- <p className='mt-1 flex text-xs leading-5 text-gray-500 sm:hidden dark:text-gray-300'>+ <p className='mt-2 flex text-xs leading-5 text-gray-500 sm:hidden dark:text-gray-300'><span className='mr-2 flex items-center'><FileTextIcon className='mr-1 size-5' strokeWidth={1.5} /> {session.pageviews}</span>@@ -130,7 +130,7 @@ const Session = ({ session, timeFormat }: SessionProps) => {</span>) : null}{session.errors > 0 ? (- <span className='flex items-center text-red-500'>+ <span className='flex items-center text-red-400'><BugIcon className='mr-1 size-5' strokeWidth={1.5} /> {session.errors}</span>) : null}@@ -139,17 +139,17 @@ const Session = ({ session, timeFormat }: SessionProps) => {</div><div className='flex shrink-0 items-center gap-x-4'><div className='hidden sm:flex sm:flex-col sm:items-end'>- <div className='flex items-center text-sm leading-6 text-gray-900 dark:text-gray-50'>- <span className='mr-3 flex items-center' title={t('dashboard.xPageviews', { x: session.pageviews })}>+ <div className='flex items-center gap-x-3 text-sm leading-6 text-gray-900 dark:text-gray-50'>+ <span className='flex items-center' title={t('dashboard.xPageviews', { x: session.pageviews })}><FileTextIcon className='mr-1 size-5' strokeWidth={1.5} /> {session.pageviews}</span>{session.customEvents > 0 ? (- <span className='mr-3 flex items-center' title={`${session.customEvents} custom events`}>+ <span className='flex items-center' title={t('dashboard.xCustomEvents', { x: session.customEvents })}><MousePointerClickIcon className='mr-1 size-5' strokeWidth={1.5} /> {session.customEvents}</span>) : null}{session.errors > 0 ? (- <span className='flex items-center text-red-500' title={`${session.errors} errors`}>+ <span className='flex items-center text-red-500' title={t('dashboard.xErrors', { x: session.errors })}><BugIcon className='mr-1 size-5' strokeWidth={1.5} /> {session.errors}</span>) : null}diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex a7232a999..e29989092 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -745,7 +745,8 @@"xOccurrences": "{{x}} occurrences","errors": "Errors","xPageviews": "{{x}} pageviews",- "onePageview": "1 pageview",+ "xCustomEvents": "{{x}} custom events",+ "xErrors": "{{x}} errors","alerts": "Alerts","alertsDesc": "Automated alerts is a powerful tool that allows you to run automated tasks when specific events occur.\nWe can automatically monitor your project for traffic spikes and notify you via Telegram.","funnelsDesc": "Funnels is a powerful tool that allows you to track the conversion rate of your users through a series of steps.\nThe analysis provided by the marketing funnel gives you the ability to discover potential problems, improve your website, and boost your conversion rate.",