updated copy for monthly TexLive labs experiment (#29168)

* feat: update copy for monthly tl labs experiment

* Apply suggestions from code review

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 808207deecd1c523e08eacd2f3cd07c92c713b59
This commit is contained in:
Jimmy Domagala-Tang
2025-11-10 11:41:54 -05:00
committed by Copybot
parent 86b860ee32
commit 61180224e1
6 changed files with 49 additions and 11 deletions

View File

@@ -677,7 +677,6 @@
"get_most_subscription_by_checking_overleaf": "",
"get_most_subscription_by_checking_overleaf_ai_writefull": "",
"get_real_time_track_changes": "",
"get_regular_access_to_new_versions_of_tex_live": "",
"git": "",
"git_authentication_token": "",
"git_authentication_token_create_modal_info_1": "",
@@ -824,6 +823,7 @@
"i_want_to_add_a_po_number": "",
"i_want_to_stay": "",
"id": "",
"if_you_find_any_issues_with_texlive": "",
"if_you_need_to_customize_your_table_further_you_can": "",
"if_you_need_to_delete_your_writefull_account": "",
"if_you_want_more_than_x_licenses_on_your_plan_we_need_to_add_them_for_you": "",
@@ -1110,6 +1110,7 @@
"need_to_leave": "",
"neither_agree_nor_disagree": "",
"new_compile_domain_notice": "",
"new_compiles_in_this_project_will_automatically_use_the_newest_version": "",
"new_create_tables_and_equations": "",
"new_editor": "",
"new_editor_experience": "",
@@ -1292,7 +1293,6 @@
"please_contact_support_to_makes_change_to_your_plan": "",
"please_enter_confirmation_code": "",
"please_get_in_touch": "",
"please_keep_an_eye_out_for_issues": "",
"please_link_before_making_primary": "",
"please_provide_a_message": "",
"please_provide_a_subject": "",
@@ -1647,7 +1647,6 @@
"showing_x_results_of_total": "",
"sign_up": "",
"simple_search_mode": "",
"since_this_project_is_set_to_the_rolling_build": "",
"single_sign_on_sso": "",
"size": "",
"something_not_right": "",
@@ -1863,6 +1862,7 @@
"this_action_will_also_disable_domain_capture": "",
"this_address_will_be_shown_on_the_invoice": "",
"this_could_be_because_we_cant_support_some_elements_of_the_table": "",
"this_experiment_gives_you_access_to_new_versions_of_latex": "",
"this_experiment_isnt_accepting_new_participants": "",
"this_field_is_required": "",
"this_grants_access_to_features_2": "",

View File

@@ -12,7 +12,7 @@ const RollingBuildSelectedReminder = () => {
const content = (
<Trans
i18nKey="please_keep_an_eye_out_for_issues"
i18nKey="if_you_find_any_issues_with_texlive"
components={[
<a href="https://forms.gle/yD8CVm4Kop9KwShx9" />, // eslint-disable-line react/jsx-key, jsx-a11y/anchor-has-content
<a href="https://docs.overleaf.com/getting-started/recompiling-your-project/selecting-a-tex-live-version-and-latex-compiler" />, // eslint-disable-line react/jsx-key, jsx-a11y/anchor-has-content

View File

@@ -58,9 +58,31 @@ const MonthlyTexliveLabsWidget = ({
/>
)
const description = (
<Trans
i18nKey="this_experiment_gives_you_access_to_new_versions_of_latex"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content
<a
href="https://docs.overleaf.com/troubleshooting-and-support/tex-live#How_do_I_change_a_project%E2%80%99s_TeX_Live_version"
target="_blank"
key="getting-started-link"
rel="noopener"
/>,
// eslint-disable-next-line jsx-a11y/anchor-has-content
<a
href="https://docs.overleaf.com/troubleshooting-and-support/tex-live"
target="_blank"
key="getting-started-link"
rel="noopener"
/>,
]}
/>
)
return (
<LabsExperimentWidget
description={t('get_regular_access_to_new_versions_of_tex_live')}
description={description}
optedInDescription={optedInDescription}
experimentName="monthly-texlive"
logo={logo}

View File

@@ -2,7 +2,7 @@ import useTutorial from '@/shared/hooks/promotions/use-tutorial'
import { useEditorContext } from '@/shared/context/editor-context'
import { useProjectContext } from '@/shared/context/project-context'
import OLNotification from '@/shared/components/ol/ol-notification'
import { useTranslation } from 'react-i18next'
import { useTranslation, Trans } from 'react-i18next'
import { useCallback } from 'react'
import { onRollingBuild } from '@/shared/utils/rolling-build'
@@ -26,12 +26,27 @@ const RollingCompileImageChangedAlert = () => {
return null
}
const content = (
<Trans
i18nKey="new_compiles_in_this_project_will_automatically_use_the_newest_version"
components={[
// eslint-disable-next-line jsx-a11y/anchor-has-content
<a
href="https://docs.overleaf.com/troubleshooting-and-support/tex-live#How_do_I_change_a_project%E2%80%99s_TeX_Live_version"
target="_blank"
key="getting-started-link"
rel="noopener"
/>,
]}
/>
)
return (
<OLNotification
className="mt-5"
isDismissible
onDismiss={onClose}
content={t('since_this_project_is_set_to_the_rolling_build')}
content={content}
type="info"
title={t('a_new_version_of_the_rolling_texlive_build_released')}
/>

View File

@@ -13,7 +13,7 @@ const RollingBuildSelectedReminder = () => {
const content = (
<Trans
i18nKey="please_keep_an_eye_out_for_issues"
i18nKey="if_you_find_any_issues_with_texlive"
components={[
<a href="https://forms.gle/yD8CVm4Kop9KwShx9" />, // eslint-disable-line react/jsx-key, jsx-a11y/anchor-has-content
<a href="https://docs.overleaf.com/getting-started/recompiling-your-project/selecting-a-tex-live-version-and-latex-compiler" />, // eslint-disable-line react/jsx-key, jsx-a11y/anchor-has-content

View File

@@ -872,7 +872,6 @@
"get_most_subscription_by_checking_overleaf": "Get the most out of your subscription by checking out <0>Overleafs features</0>.",
"get_most_subscription_by_checking_overleaf_ai_writefull": "Get the most out of your subscription by checking out <0>Overleafs features</0>, <1>Overleafs AI features</1> and <2>Writefulls features</2>.",
"get_real_time_track_changes": "Get real-time track changes",
"get_regular_access_to_new_versions_of_tex_live": "For advanced users only. Get regular access to new versions of TeX Live, the LaTeX engine used for compiling. These havent been tested in the usual rigorous way by the Overleaf team and could cause compile issues. Therefore, please only opt in if you have a specific need for the latest version. We aim to make updates to this version monthly. Learn more.",
"get_the_best_overleaf_experience": "Get the best Overleaf experience",
"get_the_most_out_headline": "Get the most out of __appName__ with features such as:",
"git": "Git",
@@ -1044,6 +1043,7 @@
"id": "ID",
"if_have_existing_can_link": "If you have an existing <b>__appName__</b> account on another email, you can link it to your <b>__institutionName__</b> account by clicking <b>__clickText__</b>.",
"if_owner_can_link": "If you own the <b>__appName__</b> account with <b>__email__</b>, you will be allowed to link it to your <b>__institutionName__</b> institutional account.",
"if_you_find_any_issues_with_texlive": "If you find any issues with TeX Live, packages, or compilation, please <0>provide feedback</0>. If you hit problems, you can <1>switch your compiler</1>.",
"if_you_need_to_customize_your_table_further_you_can": "If you need to customize your table further, you can. Using LaTeX code, you can change anything from table styles and border styles to colors and column widths. <0>Read our guide</0> to using tables in LaTeX to help you get started.",
"if_you_need_to_delete_your_writefull_account": "If you need to delete your Writefull account, go to your <a>Writefull account settings.</a>",
"if_you_want_more_than_x_licenses_on_your_plan_we_need_to_add_them_for_you": "If you want more than __count__ licenses on your plan, we need to add them for you. Just click <0>Send request</0> below and well be happy to help.",
@@ -1433,6 +1433,7 @@
"need_to_leave": "Need to leave?",
"neither_agree_nor_disagree": "Neither agree nor disagree",
"new_compile_domain_notice": "Weve recently migrated PDF downloads to a new domain. Something might be blocking your browser from accessing that new domain, <0>__compilesUserContentDomain__</0>. This could be caused by network blocking or a strict browser plugin rule. Please follow our <1>troubleshooting guide</1>.",
"new_compiles_in_this_project_will_automatically_use_the_newest_version": "New compiles in this project will automatically use the newest version. <0>Learn how to change compiler settings</0>",
"new_create_tables_and_equations": "NEW! <sparkle/> Create tables and equations in seconds",
"new_editor": "New editor",
"new_editor_experience": "New editor experience",
@@ -1686,7 +1687,6 @@
"please_enter_confirmation_code": "Please enter your confirmation code",
"please_enter_email": "Please enter your email address",
"please_get_in_touch": "Please get in touch",
"please_keep_an_eye_out_for_issues": "Please keep an eye out for any issues with TeX Live, packages, or compilation, and <0>provide feedback here</0>. If you encounter problems, you can <1>revert your project</1> to a stable TeX Live version.",
"please_link_before_making_primary": "Please confirm your email by linking to your institutional account before making it the primary email.",
"please_provide_a_message": "Please provide a message",
"please_provide_a_subject": "Please provide a subject",
@@ -1957,6 +1957,7 @@
"right": "Right",
"ro": "Romanian",
"role": "Role",
"rolling_texlive_build": "Rolling TeX Live releases (advanced)",
"ru": "Russian",
"saml": "SAML",
"saml_auth_error": "Sorry, your identity provider responded with an error. Please contact your administrator for more information.",
@@ -2109,7 +2110,6 @@
"sign_up_for_free": "Sign up for free",
"sign_up_for_free_account": "Sign up for a free account and receive regular updates",
"simple_search_mode": "Simple search",
"since_this_project_is_set_to_the_rolling_build": "Since this project is set to use the rolling build, new compiles will automatically use the newest version.",
"single_sign_on_sso": "Single Sign-On (SSO)",
"site_description": "An online LaTeX editor thats easy to use. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more.",
"site_wide_option_available": "Site-wide option available",
@@ -2377,6 +2377,7 @@
"this_action_will_also_disable_domain_capture": "This action will also disable domain capture.",
"this_address_will_be_shown_on_the_invoice": "This address will be shown on the invoice",
"this_could_be_because_we_cant_support_some_elements_of_the_table": "This could be because we cant yet support some elements of the table in the table preview. Or there may be an error in the tables LaTeX code.",
"this_experiment_gives_you_access_to_new_versions_of_latex": "For advanced users only. This experiment gives you regular access to new, untested versions of TeX Live (the LaTeX engine used for compiling). You can then <0>choose this as your compiler</0> on a project-by-project basis. <1>Find out more about rolling TeX Live</1>",
"this_experiment_isnt_accepting_new_participants": "This experiment isnt accepting new participants.",
"this_field_is_required": "This field is required",
"this_grants_access_to_features_2": "This grants you access to <0>__appName__</0> <0>__featureType__</0> features.",