From 4d1e316beacf6b73544bb07161e3738ae35adcda Mon Sep 17 00:00:00 2001 From: Antoine Clausse Date: Fri, 31 Oct 2025 16:12:37 +0100 Subject: [PATCH] [web] Conditionally render copies of login/register pages (Pug) depending of a `uniaccessphase1` split-test (#29390) * Conditionally render a CIAM copy of login.pug depending on `ciam` split-test * Conditionally render a CIAM copy of register.pug depending on `ciam` split-test * Conditionally render a CIAM copy of institutional_login.pug depending on `ciam` split-test * Rename the test to `uniaccessphase1` * Fixup ciam paths (underscores, not hyphens) * Escape translations in `log_in_with_existing_institution_email` See https://github.com/overleaf/internal/pull/29390#discussion_r2479318609 GitOrigin-RevId: fff0e154d1e1faad4842a2c49fa5889f9cc189e6 --- services/web/locales/da.json | 2 +- services/web/locales/de.json | 2 +- services/web/locales/en.json | 2 +- services/web/locales/fr.json | 2 +- services/web/locales/sv.json | 2 +- services/web/locales/zh-CN.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/web/locales/da.json b/services/web/locales/da.json index 771da5d189..330dd9ce1b 100644 --- a/services/web/locales/da.json +++ b/services/web/locales/da.json @@ -1016,7 +1016,7 @@ "log_in_with": "Log ind med __provider__", "log_in_with_a_different_account": "Log ind med en anden konto", "log_in_with_email": "Log ind med __email__", - "log_in_with_existing_institution_email": "For at forbinde din __appName__- og din __institutionName__-konto, er du nødt til først at logge ind med din eksisterende __appName__-konto.", + "log_in_with_existing_institution_email": "For at forbinde din <0>__appName__- og din <0>__institutionName__-konto, er du nødt til først at logge ind med din eksisterende <0>__appName__-konto.", "log_in_with_primary_email_address": "Dette bliver e-mailaddressen du skal bruge hvis du logger ind med e-mailaddresse og kode. Vigtige __appName__ beskeder vil blive sendt til denne adresse.", "log_in_with_sso": "Log ind med SSO", "log_in_with_sso_email": "Arbejde- eller universitets-e-mailaddresse", diff --git a/services/web/locales/de.json b/services/web/locales/de.json index 5e43012d14..b16d710cf0 100644 --- a/services/web/locales/de.json +++ b/services/web/locales/de.json @@ -744,7 +744,7 @@ "log_in_first_to_proceed": "Du musst dich zuerst anmelden, um fortzufahren.", "log_in_with": "Einloggen mit __provider__", "log_in_with_email": "Melde dich mit __email__ an", - "log_in_with_existing_institution_email": "Bitte melde dich mit deinem bestehenden __appName__-Konto an, um deine institutionellen Konten __appName__ und __institutionName__ zu verknüpfen.", + "log_in_with_existing_institution_email": "Bitte melde dich mit deinem bestehenden <0>__appName__-Konto an, um deine institutionellen Konten <0>__appName__ und <0>__institutionName__ zu verknüpfen.", "log_out": "Abmelden", "log_out_from": "Von __email__ abmelden", "log_viewer_error": "Beim Anzeigen der Kompilierfehler und -protokolle dieses Projekts ist ein Problem aufgetreten.", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index 8b7a4e9901..7664d9f594 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1305,7 +1305,7 @@ "log_in_with": "Log in with __provider__", "log_in_with_a_different_account": "Log in with a different account", "log_in_with_email": "Log in with __email__", - "log_in_with_existing_institution_email": "Please log in with your existing __appName__ account in order to get your __appName__ and __institutionName__ institutional accounts linked.", + "log_in_with_existing_institution_email": "Please log in with your existing <0>__appName__ account in order to get your <0>__appName__ and <0>__institutionName__ institutional accounts linked.", "log_in_with_primary_email_address": "This will be the email address to use if you log in with an email address and password. Important __appName__ notifications will be sent to this email address.", "log_in_with_sso": "Log in with SSO", "log_in_with_sso_email": "Work or university email address", diff --git a/services/web/locales/fr.json b/services/web/locales/fr.json index 3c5704b079..d37eb03d84 100644 --- a/services/web/locales/fr.json +++ b/services/web/locales/fr.json @@ -688,7 +688,7 @@ "log_in_first_to_proceed": "Vous aurez besoin de vous connecter avant de poursuivre.", "log_in_with": "Se connecter avec __provider__", "log_in_with_email": "Se connecter avec __email__", - "log_in_with_existing_institution_email": "Veuillez vous connecter sur votre compte __appName__ existant afin de lier vos comptes institutionnels __appName__ et __institutionName__.", + "log_in_with_existing_institution_email": "Veuillez vous connecter sur votre compte <0>__appName__ existant afin de lier vos comptes institutionnels <0>__appName__ et <0>__institutionName__.", "log_out": "Déconnexion", "log_out_from": "Se déconnecter de __email__", "logged_in_with_email": "Vous êtes actuellement connecté à __appName__ avec l’adresse __email__.", diff --git a/services/web/locales/sv.json b/services/web/locales/sv.json index 465e1daddf..475db472fe 100644 --- a/services/web/locales/sv.json +++ b/services/web/locales/sv.json @@ -451,7 +451,7 @@ "log_in_first_to_proceed": "Du måste först logga in för att fortsätta.", "log_in_with": "Logga in med __provider__", "log_in_with_email": "Logga in med __email__", - "log_in_with_existing_institution_email": "Vänligen logga in med ditt befintliga __appName__-konto för att länka kontot __appName__ och det institutionella kontot __institutionName__ .", + "log_in_with_existing_institution_email": "Vänligen logga in med ditt befintliga <0>__appName__-konto för att länka kontot <0>__appName__ och det institutionella kontot <0>__institutionName__ .", "log_out": "Logga ut", "log_out_from": "Logga ut från __email__", "logged_in_with_email": "Du är för närvarande inloggad i __appName__ med e-postadressen __email__.", diff --git a/services/web/locales/zh-CN.json b/services/web/locales/zh-CN.json index abc33fdf9e..e42a665be7 100644 --- a/services/web/locales/zh-CN.json +++ b/services/web/locales/zh-CN.json @@ -1214,7 +1214,7 @@ "log_in_with": "用 __provider__ 账户登陆", "log_in_with_a_different_account": "以另外一个账户登录", "log_in_with_email": "使用 __email__ 登录", - "log_in_with_existing_institution_email": "请使用您现有的 __appName__ 帐户登录,以便将您的__appName____institutionName__ 机构帐户关联起来。", + "log_in_with_existing_institution_email": "请使用您现有的 <0>__appName__ 帐户登录,以便将您的<0>__appName__和<0>__institutionName__ 机构帐户关联起来。", "log_in_with_primary_email_address": "如果您使用电子邮件地址和密码登录,这将是要使用的电子邮件地址。 重要的 __appName__ 通知将发送到此电子邮件地址。", "log_in_with_sso": "通过 SSO 登录", "log_in_with_sso_email": "工作或大学电子邮件账户",