[web] Remove unused get_more_compile_time string key because of paywall-cta split test is removed (#24574)

* Re-add missing translation key

* Remove `get_more_compile_time` translation key because of `paywall-cta` is removed

GitOrigin-RevId: bf0fe677adc32a91db57d41d83f0f1e0b2ee3741
This commit is contained in:
M Fahru
2025-03-27 07:24:59 -07:00
committed by Copybot
parent 93793fe723
commit f0fe0db10c
2 changed files with 1 additions and 7 deletions

View File

@@ -609,7 +609,6 @@
"get_error_assist": "",
"get_exclusive_access_to_labs": "",
"get_in_touch": "",
"get_more_compile_time": "",
"get_most_subscription_by_checking_features": "",
"get_most_subscription_discover_premium_features": "",
"git": "",

View File

@@ -3,7 +3,6 @@ import { Trans, useTranslation } from 'react-i18next'
import { memo, useCallback, useEffect } from 'react'
import { useDetachCompileContext } from '@/shared/context/detach-compile-context'
import StartFreeTrialButton from '@/shared/components/start-free-trial-button'
import { useFeatureFlag } from '@/shared/context/split-test-context'
import MaterialIcon from '@/shared/components/material-icon'
import { useStopOnFirstError } from '@/shared/hooks/use-stop-on-first-error'
import * as eventTracking from '@/infrastructure/event-tracking'
@@ -50,8 +49,6 @@ const CompileTimeout = memo(function CompileTimeout({
}: CompileTimeoutProps) {
const { t } = useTranslation()
const hasNewPaywallCta = useFeatureFlag('paywall-cta')
useEffect(() => {
eventTracking.sendMB('paywall-prompt', {
'paywall-type': 'compile-timeout',
@@ -111,9 +108,7 @@ const CompileTimeout = memo(function CompileTimeout({
buttonProps={{ variant: 'secondary' }}
handleClick={onPaywallClick}
>
{hasNewPaywallCta
? t('get_more_compile_time')
: t('try_for_free')}
{t('try_for_free')}
</StartFreeTrialButton>
</div>
)}