📈 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
fix localisation
Blue Mouse303b6b2003fa
diff --git a/web/app/pages/Checkout/Checkout.tsx b/web/app/pages/Checkout/Checkout.tsxindex 4a7ef8b67..c86edbdd4 100644--- a/web/app/pages/Checkout/Checkout.tsx+++ b/web/app/pages/Checkout/Checkout.tsx@@ -29,7 +29,8 @@ import { cn } from '~/utils/generic'import routes from '~/utils/routes'const INITIAL_VISIBLE_PLANS = 3-const formatEventsLong = (value: number) => value.toLocaleString('en-US')+const formatEventsLong = (value: number, locale = 'en-US') =>+ value.toLocaleString(locale)const Checkout = () => {const { t, i18n } = useTranslation('common')@@ -228,7 +229,10 @@ const Checkout = () => {</Text><Text as='span' size='sm' colour='muted'>{t('pricing.upToXEvents', {- amount: formatEventsLong(planTier.monthlyUsageLimit),+ amount: formatEventsLong(+ planTier.monthlyUsageLimit,+ i18n.language,+ ),})}</Text></button>@@ -287,7 +291,7 @@ const Checkout = () => {weight='semibold'className='text-emerald-700 dark:text-emerald-300'>- {t('common.success')}! Redirecting...+ {t('common.success')}! {t('common.redirecting')}</Text></div></div>diff --git a/web/app/routes/checkout.tsx b/web/app/routes/checkout.tsxindex 1b0b0409c..ed3f6d8a9 100644--- a/web/app/routes/checkout.tsx+++ b/web/app/routes/checkout.tsx@@ -23,7 +23,7 @@ export const meta: MetaFunction = () => {return [...getTitle(t('titles.checkout')),- ...getDescription(t('description.signup')),+ ...getDescription(t('description.checkout')),...getPreviewImage(),]}diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex e8d1d2b46..9a005c68d 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -89,6 +89,7 @@"amount": "Amount","date": "Date","success": "Success",+ "redirecting": "Redirecting...","info": "Info","error": "Error","close": "Close",@@ -2183,7 +2184,7 @@},"selectPlan": {"title": "Add your payment details",- "subtitle": "Your card will not be charged until your 14-day trial has ended, and you can cancel anytime before that.",+ "subtitle": "Your card will not be charged until your {{days}}-day trial has ended, and you can cancel anytime before that.","startTrial": "Start free trial","timeline": {"today": "Today",@@ -2278,6 +2279,7 @@"errorTracking": "Privacy-first end-user error tracking by Swetrix. Set up in one line, see errors by browser/device/location, and fix issues faster. 14-day free trial - no card required.","login": "Log in to Swetrix to view your cookieless, privacy-friendly analytics - real-time insights, no tracking cookies, no GA clutter.","signup": "Create your Swetrix account and start tracking website traffic with cookieless, privacy-friendly analytics - simple setup, real-time stats.",+ "checkout": "Choose a Swetrix plan and complete your subscription — cookieless, privacy-first analytics with real-time insights.","onboarding": "Get started with Swetrix (cookieless & privacy-first Google Analytics alternative) in just a few steps.","open": "Open startup metrics: learn more about our key financial & operational metrics.","recovery": "Forgot your password? Use our password recovery functionality to restore access to your account.",