📈 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
added i18n to 'show all views' checkbox
Blue Mouse7ea8420066b2
diff --git a/public/locales/en.json b/public/locales/en.jsonindex 2360f6ec3..915c1e74b 100644--- a/public/locales/en.json+++ b/public/locales/en.json@@ -244,6 +244,7 @@"noExist": "The selected project does not exist","exportImg": "Export as image","noEvTitle": "No events yet",+ "showAll": "Show all views","noEvContent": "No events have been captured for the specified timeframe.\nIf you haven't tracked any events yet, you can check out our <link>Docs</link> to easily integrate tracking into your app.","mapping": {"cc": "Country",diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsxindex c06b88833..ee42017c9 100644--- a/src/pages/Project/View/ViewProject.jsx+++ b/src/pages/Project/View/ViewProject.jsx@@ -385,7 +385,7 @@ const ViewProject = ({))}<div className={cx('flex flex-row items-center justify-center md:justify-end h-10 mt-16 md:mt-5 mb-4', { hidden: isPanelsDataEmpty })}>- <Checkbox label='Show all views' id='views' checked={showTotal} onChange={(e) => setShowTotal(e.target.checked)} />+ <Checkbox label={t('project.showAll')} id='views' checked={showTotal} onChange={(e) => setShowTotal(e.target.checked)} /><div className='h-full ml-3'><Button onClick={exportAsImageHandler} className='py-2.5 px-3 md:px-4 text-sm' secondary>{t('project.exportImg')}