use en-US to generate types

This commit is contained in:
piuvas 2024-10-08 15:16:58 -03:00
parent 96d1d16aaa
commit 38fbf58943
No known key found for this signature in database
GPG key ID: 82743F52454C621D
2 changed files with 316 additions and 308 deletions

View file

@ -57,7 +57,7 @@ function createMembers(record) {
}
export default function generateDTS() {
const sharkeyLocale = yaml.load(fs.readFileSync(`${__dirname}/../sharkey-locales/ja-JP.yml`, 'utf-8'));
const sharkeyLocale = yaml.load(fs.readFileSync(`${__dirname}/../sharkey-locales/en-US.yml`, 'utf-8'));
const misskeyLocale = yaml.load(fs.readFileSync(`${__dirname}/ja-JP.yml`, 'utf-8'));
const locale = merge(misskeyLocale, sharkeyLocale);

622
locales/index.d.ts vendored

File diff suppressed because it is too large Load diff