chore: add monorepo tools (#9196)

This commit is contained in:
liuyi authored and GitHub committed 2024-12-24 15:29:48 +08:00
1 parent e3a8b63e38
commit 2443935830
116 files changed
+9390 -1466

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
"list": [
{
"input": "./src/resources/en.json",
"output": "./src/i18n-generated",
"output": "./src/i18n.gen",
"parser": {
"type": "i18next",
"contextSeparator": "$",
+1 -1
View File
@@ -39,7 +39,7 @@ function calcCompletenesses() {
writeFileSync(
join(pkgRoot, 'src', 'i18n-completenesses.json'),
JSON.stringify(completenesses, null, 2)
JSON.stringify(completenesses, null, 2) + '\n'
);
}
@@ -21,4 +21,4 @@
"ur": 2,
"zh-Hans": 91,
"zh-Hant": 90
}
}
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -3,7 +3,7 @@ import type { BackendModule, i18n } from 'i18next';
import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
import type { useAFFiNEI18N } from './i18n-generated';
import type { useAFFiNEI18N } from './i18n.gen';
import type { Language } from './resources';
import { SUPPORTED_LANGUAGES } from './resources';