mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-25 13:23:08 +02:00
257c4fccf1
* wip
* Update 2fa.qrdialog.vue
* Update 2fa.vue
* Update CHANGELOG.md
* tweak
* ✌️
13 lines
358 B
TypeScript
13 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',
|
|
)
|