mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-24 06:35:11 +00:00
use en-US to generate types
This commit is contained in:
parent
96d1d16aaa
commit
38fbf58943
2 changed files with 316 additions and 308 deletions
|
@ -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
622
locales/index.d.ts
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue