diff --git a/website/server/src/site.rs b/website/server/src/site.rs index 84767bd..5db6ff6 100644 --- a/website/server/src/site.rs +++ b/website/server/src/site.rs @@ -75,7 +75,7 @@ const CLIENT_KEYS: &[&str] = &[ "lb_count", "meta_title", "btn_android", - "and_full_title", + "and_light_title", "and_requires", "and_alpha", "next_android", diff --git a/website/site/index.html b/website/site/index.html index f81efa6..c66f6d0 100644 --- a/website/site/index.html +++ b/website/site/index.html @@ -57,7 +57,7 @@ {{t:btn_choose_2}}
-{{t:and_light_title}} · {size:android-noengine}
+{{t:and_full_title}} · {size:android}
{{t:other_platforms}} · @@ -207,14 +207,14 @@
{{t:and_intro}}
{{t:and_alpha_text}}
-{{t:and_full_text}}
-{{t:and_light_text}}
{{t:and_full_text}}
+{{t:and_note}}
diff --git a/website/static/js/site.js b/website/static/js/site.js index a96b392..732a104 100644 --- a/website/static/js/site.js +++ b/website/static/js/site.js @@ -13,7 +13,7 @@ var ua = navigator.userAgent || ""; var platform = (navigator.userAgentData && navigator.userAgentData.platform) || navigator.platform || ""; var touchMac = /Mac/.test(platform) && navigator.maxTouchPoints > 1; - if (/Android/i.test(ua)) return { os: "android", slug: "android" }; + if (/Android/i.test(ua)) return { os: "android", slug: "android-noengine" }; if (/iPhone|iPod|iPad/i.test(ua) || touchMac) return { os: "mobile" }; if (/CrOS/.test(ua)) return { os: "linux", slug: "deb", chromeos: true }; if (/Win/.test(platform) || /Windows/.test(ua)) return { os: "windows", slug: "windows" }; @@ -26,7 +26,7 @@ return { os: "unknown" }; } var sys = detect(); - var FORMAT = { windows: ".zip", deb: ".deb", rpm: ".rpm", appimage: "AppImage", android: "APK" }; + var FORMAT = { windows: ".zip", deb: ".deb", rpm: ".rpm", appimage: "AppImage", "android-noengine": "APK" }; function intelMac() { try { @@ -66,7 +66,7 @@ if (asset) parts.push(asset.size); parts.push(sys.os === "macos" ? t("apple_silicon") : FORMAT[sys.slug]); if (sys.chromeos) parts.push(t("chromeos")); - if (sys.os === "android") parts.push(t("and_full_title"), t("and_alpha")); + if (sys.os === "android") parts.push(t("and_light_title"), t("and_alpha")); l2.textContent = parts.join(" · "); if (sys.os === "macos") { var note = $("hero-note");