Răsfoiți Sursa

Merge pull request #12159 from overleaf/jel-translations

[web] Add translations for top nav and footer

GitOrigin-RevId: 4240943e91ea6e1d19ce020cdacfe05c0302fdf8
Mathias Jakobsen 3 ani în urmă
părinte
comite
5fd4acffd5

+ 3 - 3
services/web/app/views/layout/fat-footer-base.pug

@@ -9,10 +9,10 @@
 		.fat-footer-base-item
 			a.fat-footer-social(href="https://twitter.com/overleaf")
 				i.fa.fa-twitter-square(aria-hidden="true")
-				.sr-only Overleaf on Twitter
+				.sr-only #{translate("app_on_x", {social: "Twitter"})}
 			a.fat-footer-social(href="https://www.facebook.com/overleaf.editor")
 				i.fa.fa-facebook-square(aria-hidden="true")
-				.sr-only Overleaf on Facebook
+				.sr-only #{translate("app_on_x", {social: "Facebook"})}
 			a.fat-footer-social(href="https://www.linkedin.com/company/writelatex-limited")
 				i.fa.fa-linkedin-square(aria-hidden="true")
-				.sr-only Overleaf on LinkedIn
+				.sr-only #{translate("app_on_x", {social: "LinkedIn"})}

+ 1 - 0
services/web/app/views/layout/footer-marketing.pug

@@ -8,6 +8,7 @@ footer.site-footer
 					li © #{new Date().getFullYear()} Overleaf
 				else if !settings.nav.hide_powered_by
 					li
+						//- year of Server Pro release, static
 						| © 2023
 						|
 						a(href='https://www.overleaf.com/for/enterprises') Powered by Overleaf

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

@@ -88,6 +88,7 @@
   "anonymous": "Anonymous",
   "anyone_with_link_can_edit": "Anyone with this link can edit this project",
   "anyone_with_link_can_view": "Anyone with this link can view this project",
+  "app_on_x": "__appName__ on __social__",
   "apply_educational_discount": "Apply educational discount",
   "apply_educational_discount_info": "Overleaf offers a 40% educational discount for groups of 10 or more. Applies to students or faculty using Overleaf for teaching.",
   "approaching_compile_timeout_limit_upgrade_for_more_compile_time": "You are approaching your compile timeout limit. Upgrade to <strong>Overleaf Premium</strong> for <0>4x more</0> compile time.",
@@ -482,6 +483,7 @@
   "feature_not_included": "Feature not included",
   "featured_latex_templates": "Featured LaTeX Templates",
   "features": "Features",
+  "features_and_benefits": "Features & Benefits",
   "february": "February",
   "file_action_created": "Created",
   "file_action_deleted": "Deleted",
@@ -516,12 +518,17 @@
   "footer_plans_and_pricing": "Plans &amp; pricing",
   "for_american_express": "For <0>American Express</0>, the <1>4 digits</1> on the <2>front</2> of your card.",
   "for_enterprise": "For enterprise",
+  "for_enterprises": "For Enterprises",
+  "for_groups": "For Groups",
   "for_groups_or_site_wide": "For groups or site-wide",
   "for_individuals_and_groups": "For individuals &amp; groups",
+  "for_publishers": "For Publishers",
   "for_students": "For students",
   "for_students_only": "For students only",
-  "for_universities": "For universities",
+  "for_teaching": "For Teaching",
+  "for_universities": "For Universities",
   "for_visa_mastercard_and_discover": "For <0>Visa, MasterCard and Discover</0>, the <1>3 digits</1> on the <2>back</2> of your card.",
+  "for_writing": "For Writing",
   "forgot_your_password": "Forgot your password",
   "fr": "French",
   "free": "Free",