The app ships its own 7-language i18n and serves localized content, but mobile browsers (Google Translate) were auto-translating the Chinese UI into broken English (brand, nav, language dropdown). Add translate="no" + the Google notranslate meta, and keep the attribute set on language changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
45 lines
2.0 KiB
HTML
45 lines
2.0 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN" translate="no">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<!-- The app ships its own 7-language i18n and serves localized content, so
|
|
browser auto-translation only garbles the UI. Opt out of it. -->
|
|
<meta name="google" content="notranslate" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
|
|
/>
|
|
<meta name="theme-color" content="#08070c" />
|
|
<meta name="color-scheme" content="dark" />
|
|
<meta name="application-name" content="ARK 资料库" />
|
|
<meta
|
|
name="description"
|
|
content="ARK 官方数据库集中整理官方教材、公告、视频、图片与常用文件,帮助社区快速找到可信资料。"
|
|
/>
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:site_name" content="ARK 资料库" />
|
|
<meta property="og:title" content="ARK 官方数据库" />
|
|
<meta
|
|
property="og:description"
|
|
content="ARK 官方数据库集中整理官方教材、公告、视频、图片与常用文件,帮助社区快速找到可信资料。"
|
|
/>
|
|
<meta property="og:image" content="/assets/ark-mark.png" />
|
|
<meta property="og:locale" content="zh_CN" />
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta name="twitter:title" content="ARK 官方数据库" />
|
|
<meta
|
|
name="twitter:description"
|
|
content="ARK 官方数据库集中整理官方教材、公告、视频、图片与常用文件,帮助社区快速找到可信资料。"
|
|
/>
|
|
<meta name="twitter:image" content="/assets/ark-mark.png" />
|
|
<link rel="icon" type="image/webp" href="/assets/logo-primary.webp" />
|
|
<link rel="apple-touch-icon" href="/assets/ark-mark.png" />
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
<title>ARK 官方数据库</title>
|
|
</head>
|
|
<body class="bg-ark-bg text-neutral-100">
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|