mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +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() {
|
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 misskeyLocale = yaml.load(fs.readFileSync(`${__dirname}/ja-JP.yml`, 'utf-8'));
|
||||||
const locale = merge(misskeyLocale, sharkeyLocale);
|
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