Skip to content

Commit 1125ddd

Browse files
authored
Merge pull request #2 from wenqingyu/development
fix(docs): resolve CI build errors for changelog page
2 parents 678174d + c73f4c4 commit 1125ddd

5 files changed

Lines changed: 13 additions & 1 deletion

File tree

docs/src/i18n/translations/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464

6565
"changelog.title": "Changelog",
6666

67+
"changelog.title": "Changelog",
68+
"changelog.description": "Version history and release notes",
69+
6770
"footer.license": "BSD-3-Clause"
6871
}

docs/src/i18n/translations/ja.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464

6565
"changelog.title": "変更履歴",
6666

67+
"changelog.title": "変更履歴",
68+
"changelog.description": "バージョン履歴とリリースノート",
69+
6770
"footer.license": "BSD-3-Clause"
6871
}

docs/src/i18n/translations/ko.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464

6565
"changelog.title": "변경 로그",
6666

67+
"changelog.title": "변경 로그",
68+
"changelog.description": "버전 기록 및 릴리스 노트",
69+
6770
"footer.license": "BSD-3-Clause"
6871
}

docs/src/i18n/translations/zh.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464

6565
"changelog.title": "更新日志",
6666

67+
"changelog.title": "更新日志",
68+
"changelog.description": "版本历史与发布说明",
69+
6770
"footer.license": "BSD-3-Clause"
6871
}

docs/src/pages/[lang]/changelog.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Layout from '../../layouts/Layout.astro';
33
import { getLangFromUrl, useTranslations } from '../../i18n/utils';
44
import { ui } from '../../i18n/ui';
5-
import fs from 'node:fs';
5+
import * as fs from 'fs';
66
77
export function getStaticPaths() {
88
return Object.keys(ui).map((lang) => ({ params: { lang } }));

0 commit comments

Comments
 (0)