From 7d3d4b5eee41db24608e64412242ef0e7305525d Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Wed, 15 Jul 2026 16:42:26 -0400 Subject: [PATCH] Update the lockdown date from September 2026 to 2027; add FAQ --- public/banner.js | 2 +- public/card.html | 2 +- src/components/Footer.astro | 9 ++++ src/content/pages/ar/index.md | 6 +-- src/content/pages/banner.md | 2 +- src/content/pages/be/index.md | 6 +-- src/content/pages/bg/index.md | 6 +-- src/content/pages/bn/index.md | 6 +-- src/content/pages/ca/index.md | 6 +-- src/content/pages/cs/index.md | 6 +-- src/content/pages/da/index.md | 6 +-- src/content/pages/de/index.md | 6 +-- src/content/pages/el/index.md | 6 +-- src/content/pages/en/index.md | 6 +-- src/content/pages/es/index.md | 6 +-- src/content/pages/fa/index.md | 6 +-- src/content/pages/fi/index.md | 6 +-- src/content/pages/fr/index.md | 6 +-- src/content/pages/he/index.md | 6 +-- src/content/pages/hi/index.md | 8 +-- src/content/pages/hu/index.md | 6 +-- src/content/pages/id/index.md | 6 +-- src/content/pages/it/index.md | 6 +-- src/content/pages/ja/index.md | 6 +-- src/content/pages/kk/index.md | 4 +- src/content/pages/ko/index.md | 8 +-- src/content/pages/nl/index.md | 6 +-- src/content/pages/pl/index.md | 6 +-- src/content/pages/pt-BR/index.md | 6 +-- src/content/pages/ru/index.md | 6 +-- src/content/pages/sk/index.md | 6 +-- src/content/pages/th/index.md | 6 +-- src/content/pages/tl/index.md | 6 +-- src/content/pages/tr/index.md | 6 +-- src/content/pages/uk/index.md | 6 +-- src/content/pages/vi/index.md | 4 +- src/content/pages/zh-CN/index.md | 6 +-- src/content/pages/zh-TW/index.md | 6 +-- src/i18n/locales/ar.yaml | 28 ++++++---- src/i18n/locales/be.yaml | 14 +++-- src/i18n/locales/bg.yaml | 16 ++++-- src/i18n/locales/bn.yaml | 16 ++++-- src/i18n/locales/ca.yaml | 26 +++++---- src/i18n/locales/cs.yaml | 28 ++++++---- src/i18n/locales/da.yaml | 14 +++-- src/i18n/locales/de.yaml | 30 +++++++---- src/i18n/locales/el.yaml | 30 +++++++---- src/i18n/locales/en.yaml | 41 ++++++++++---- src/i18n/locales/es.yaml | 30 +++++++---- src/i18n/locales/eu.yaml | 16 ++++-- src/i18n/locales/fa.yaml | 20 ++++--- src/i18n/locales/fi.yaml | 8 +++ src/i18n/locales/fr.yaml | 16 ++++-- src/i18n/locales/he.yaml | 12 ++++- src/i18n/locales/hi.yaml | 16 ++++-- src/i18n/locales/hu.yaml | 18 +++++-- src/i18n/locales/id.yaml | 30 +++++++---- src/i18n/locales/it.yaml | 30 +++++++---- src/i18n/locales/ja.yaml | 32 ++++++----- src/i18n/locales/kk.yaml | 30 +++++++---- src/i18n/locales/ko.yaml | 28 ++++++---- src/i18n/locales/nl.yaml | 30 +++++++---- src/i18n/locales/pl.yaml | 28 ++++++---- src/i18n/locales/pt-BR.yaml | 28 ++++++---- src/i18n/locales/ru.yaml | 28 ++++++---- src/i18n/locales/sk.yaml | 16 ++++-- src/i18n/locales/sq.yaml | 16 ++++-- src/i18n/locales/th.yaml | 8 +++ src/i18n/locales/tl.yaml | 8 +++ src/i18n/locales/tr.yaml | 30 +++++++---- src/i18n/locales/uk.yaml | 28 ++++++---- src/i18n/locales/vi.yaml | 30 +++++++---- src/i18n/locales/zh-CN.yaml | 30 +++++++---- src/i18n/locales/zh-TW.yaml | 30 +++++++---- src/layouts/Default.astro | 1 + src/layouts/Faq.astro | 92 ++++++++++++++++++++++++++++++++ src/layouts/Landing.astro | 10 +++- src/layouts/Letter.astro | 2 +- src/pages/[locale]/faq.astro | 16 ++++++ src/pages/faq.astro | 8 +++ 80 files changed, 809 insertions(+), 378 deletions(-) create mode 100644 src/layouts/Faq.astro create mode 100644 src/pages/[locale]/faq.astro create mode 100644 src/pages/faq.astro diff --git a/public/banner.js b/public/banner.js index e1a16aa5..da6e91db 100644 --- a/public/banner.js +++ b/public/banner.js @@ -292,7 +292,7 @@ } // ── Countdown logic ─────────────────────────────────────────────────── - var countDownDate = new Date("Sep 30, 2026 00:00:00").getTime(); + var countDownDate = new Date("Jan 1, 2027 00:00:00").getTime(); var unitFormatters = { day: new Intl.NumberFormat(locale, { style: "unit", unit: "day", unitDisplay: "narrow" }), diff --git a/public/card.html b/public/card.html index 063c3e94..db754954 100644 --- a/public/card.html +++ b/public/card.html @@ -55,7 +55,7 @@
-
Android will become a locked-down platform in September 2026
+
Android will become a locked-down platform in 2027
keepandroidopen.org
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 91e37b80..84cbc585 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,7 +1,9 @@ --- import { markdownify } from '../i18n/config'; +import { getLandingStrings } from '../i18n/locales'; interface Props { + lang?: string; contact_header?: string; contact_email?: string; site_problems_header?: string; @@ -12,6 +14,7 @@ interface Props { } const { + lang = "en", contact_header = "Contact", contact_email = "Email", site_problems_header = "Problems", @@ -20,6 +23,11 @@ const { site_privacy = "**Privacy:** This site uses no cookies and performs no user tracking or logging.", site_copyright = "**Copyright:** None. This work is marked", } = Astro.props; + +// Localized FAQ link (falls back to English label/path) +const t = getLandingStrings(lang); +const faqLabel = t.footer_faq || "FAQ"; +const faqHref = lang === "en" ? "/faq/" : `/${lang}/faq/`; ---