Просмотр исходного кода

Merge pull request #22503 from overleaf/em-overleaf-assist

Rename last mentions of Overleaf Assist to Error Assist

GitOrigin-RevId: 83170de1bcf494955138f8ff6484f3fba9c1ea9b
Eric Mc Sween 1 год назад
Родитель
Сommit
7cb146765c

+ 0 - 1
services/web/frontend/extracted-translations.json

@@ -169,7 +169,6 @@
   "browser": "",
   "bulk_accept_confirm": "",
   "bulk_reject_confirm": "",
-  "buy_overleaf_assist": "",
   "by_subscribing_you_agree_to_our_terms_of_service": "",
   "can_add_tracked_changes_and_comments": "",
   "can_edit": "",

+ 0 - 10
services/web/frontend/js/features/subscription/components/dashboard/states/expired.tsx

@@ -1,7 +1,5 @@
 import { useTranslation } from 'react-i18next'
 import { RecurlySubscription } from '../../../../../../../types/subscription/dashboard/subscription'
-import { isSplitTestEnabled } from '@/utils/splitTestUtils'
-import { AI_STANDALONE_PLAN_CODE } from '../../../data/add-on-codes'
 
 export function ExpiredSubscription({
   subscription,
@@ -22,14 +20,6 @@ export function ExpiredSubscription({
         >
           {t('view_your_invoices')}
         </a>
-        {isSplitTestEnabled('ai-add-on') && (
-          <a
-            className="btn btn-secondary me-1"
-            href={`/user/subscription/new?planCode=${AI_STANDALONE_PLAN_CODE}`}
-          >
-            {t('buy_overleaf_assist')}
-          </a>
-        )}
         <a href="/user/subscription/plans" className="btn btn-primary">
           {t('create_new_subscription')}
         </a>

+ 0 - 1
services/web/locales/en.json

@@ -228,7 +228,6 @@
   "bulk_accept_confirm": "Are you sure you want to accept the selected __nChanges__ changes?",
   "bulk_reject_confirm": "Are you sure you want to reject the selected __nChanges__ changes?",
   "buy_now_no_exclamation_mark": "Buy now",
-  "buy_overleaf_assist": "Buy Overleaf Assist",
   "by": "by",
   "by_joining_labs": "By joining Labs, you agree to receive occasional emails and updates from Overleaf—for example, to request your feedback. You also agree to our <0>terms of service</0> and <1>privacy notice</1>.",
   "by_registering_you_agree_to_our_terms_of_service": "By registering, you agree to our <0>terms of service</0> and <1>privacy notice</1>.",