mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
311c2172d7
This reverts commit 9b5aeb76d8
.
14 lines
358 B
TypeScript
14 lines
358 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import { writeFile } from 'node:fs/promises';
|
|
import locales from '../../../locales/index.js';
|
|
|
|
await writeFile(
|
|
new URL('locale.ts', import.meta.url),
|
|
`export default ${JSON.stringify(locales['ja-JP'], undefined, 2)} as const;`,
|
|
'utf8',
|
|
)
|