summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-04-05 01:37:32 +0900
committerSho Sakuma <me@m1sk9.dev>2026-04-05 01:38:03 +0900
commit72d8a27419cfeaec8bf70e8d6291b64b7463eab9 (patch)
tree619dbd789db4b2f6139af51cd9e7c1d05993db46
parentf46b5a0f0033ac86e19ccf6af762af9ff3c9d711 (diff)
downloadLunaticChat-72d8a27419cfeaec8bf70e8d6291b64b7463eab9.tar.gz
LunaticChat-72d8a27419cfeaec8bf70e8d6291b64b7463eab9.tar.bz2
LunaticChat-72d8a27419cfeaec8bf70e8d6291b64b7463eab9.zip
docs(website): fix links and i18n for download compatibility notice
Update README documentation link to new docs path. Fix English nav download link to use /en/download. Make compatibility notice title translatable via i18n. Co-Authored-By: Claude <noreply@anthropic.com>
-rw-r--r--README.md2
-rw-r--r--website/.vitepress/config/en.ts2
-rw-r--r--website/.vitepress/theme/components/DownloadCard.vue4
-rw-r--r--website/src/en/index.md2
4 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 782739a..f741784 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ Pre-built artifacts can be installed from the following locations. Place the dow
- [GitHub](https://github.com/m1sk9/LunaticChat/releases)
- [Modrinth](https://modrinth.com/project/lunaticchat)
-See the [Documentation](https://lc.m1sk9.dev/player-guide/getting-started).
+See the [Documentation](https://lc.m1sk9.dev/docs/getting-started).
## Features
diff --git a/website/.vitepress/config/en.ts b/website/.vitepress/config/en.ts
index fb451ad..691cc5e 100644
--- a/website/.vitepress/config/en.ts
+++ b/website/.vitepress/config/en.ts
@@ -6,7 +6,7 @@ export const en: DefaultTheme.Config = {
text: 'Edit this page on GitHub',
},
nav: [
- { link: '/download', text: 'Download' },
+ { link: '/en/download', text: 'Download' },
{ link: '/en/docs/getting-started', text: 'Documentation' },
],
sidebar: {
diff --git a/website/.vitepress/theme/components/DownloadCard.vue b/website/.vitepress/theme/components/DownloadCard.vue
index 78dad30..019a8f8 100644
--- a/website/.vitepress/theme/components/DownloadCard.vue
+++ b/website/.vitepress/theme/components/DownloadCard.vue
@@ -11,6 +11,7 @@ const t = computed(() =>
? {
title: 'Download',
description: 'Download the latest releases of LunaticChat.',
+ compatible: 'Paper and Velocity Compatibility',
requirements: 'Requirements',
javaReq: '25 or later',
paperReq: '26.1.x or later',
@@ -33,6 +34,7 @@ const t = computed(() =>
: {
title: 'ダウンロード',
description: 'LunaticChat の最新リリースをダウンロードできます。',
+ compatible: 'Paper / Velocity の互換性',
requirements: '動作要件',
javaReq: '25 以降',
paperReq: '26.1.x 以降',
@@ -86,7 +88,7 @@ function formatDate(dateStr: string | null): string {
</div>
<div class="download-compat-notice">
- <p class="download-compat-title">Paper / Velocity の互換性</p>
+ <p class="download-compat-title">{{ t.compatible }}</p>
<p>{{ t.compatNotice }}</p>
<p><a :href="isEn ? '/en/docs/features/velocity#protocol-version' : '/docs/features/velocity#プロトコルバージョン'">{{ t.compatLink }}</a></p>
</div>
diff --git a/website/src/en/index.md b/website/src/en/index.md
index 8f5e184..b823a0d 100644
--- a/website/src/en/index.md
+++ b/website/src/en/index.md
@@ -8,7 +8,7 @@ hero:
actions:
- theme: brand
text: Download
- link: /download
+ link: /en/download
- theme: brand
text: Documentation
link: /en/docs/getting-started