📈 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
selfhosted different description
Blue Mouse7deb5c240df4
diff --git a/web/app/pages/Project/Settings/People/People.tsx b/web/app/pages/Project/Settings/People/People.tsxindex e78af9cc7..f7d50352f 100644--- a/web/app/pages/Project/Settings/People/People.tsx+++ b/web/app/pages/Project/Settings/People/People.tsx@@ -11,7 +11,7 @@ import { toast } from 'sonner'import { deleteShareProjectUsers, shareProject, changeShareRole } from '~/api'import useOnClickOutside from '~/hooks/useOnClickOutside'-import { roles, INVITATION_EXPIRES_IN } from '~/lib/constants'+import { roles, INVITATION_EXPIRES_IN, isSelfhosted } from '~/lib/constants'import { Role } from '~/lib/models/Organisation'import { Project, ShareOwnerProject } from '~/lib/models/Project'import PaidFeature from '~/modals/PaidFeature'@@ -358,7 +358,9 @@ const People = ({ project }: PeopleProps) => {<h2 className='text-xl font-bold text-gray-700 dark:text-gray-200'>{t('project.settings.inviteTo', { project: name })}</h2>- <p className='mt-2 text-base text-gray-700 dark:text-gray-200'>{t('project.settings.inviteDesc')}</p>+ <p className='mt-2 text-base text-gray-700 dark:text-gray-200'>+ {t(isSelfhosted ? 'project.settings.inviteDescSelfhosted' : 'project.settings.inviteDesc')}+ </p><p className='mt-2 text-base text-gray-700 dark:text-gray-200'>{t('project.settings.inviteExpity', { amount: INVITATION_EXPIRES_IN })}</p>diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex 90dfad5b9..320995e0a 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -1152,7 +1152,8 @@"addARecipientDesc": "Enter an email address of the person you want to send reports to. They don't necessarily need to have an account on Swetrix.\nWe will send them your site's reports on a regular basis.","invite": "Invite a user","inviteTo": "Invite a user to {{project}}",- "inviteDesc": "Enter an email address and a role of the person you want to share your project with.\nWe shall contact them over email to offer the access to the project.",+ "inviteDesc": "Enter an email address and a role of the person you want to share your project with.\nWe shall contact them over email to offer the access to the project, and they will see the invitation in their dashboard as well.",+ "inviteDescSelfhosted": "Enter an email address and a role of the person you want to share your project with.\nThey will see the invitation in their dashboard.","inviteExpity": "The invitation will expire in {{amount}} hours.","role": "Role","roles": {