Vendored
+11
-5
@@ -12,9 +12,6 @@
|
||||
// ["tw\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
|
||||
["tw`([^`]*)`", "([^`]*)"]
|
||||
],
|
||||
"i18n-ally.namespace": true,
|
||||
"i18n-ally.pathMatcher": "{namespaces}/{locale}.json",
|
||||
"i18n-ally.defaultNamespace": "app",
|
||||
// If you do not want to autofix some rules on save
|
||||
// You can put this in your user settings or workspace settings
|
||||
"eslint.codeActionsOnSave.rules": [
|
||||
@@ -62,6 +59,15 @@
|
||||
"editor.foldingImportsByDefault": true,
|
||||
"commentTranslate.hover.enabled": false,
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"i18n-ally.localesPaths": ["locales"],
|
||||
"i18n-ally.keystyle": "nested"
|
||||
"i18n-ally.enabledFrameworks": ["i18next"],
|
||||
"i18n-ally.displayLanguage": "en",
|
||||
"i18n-ally.localesPaths": [
|
||||
// "locales/app",
|
||||
// "locales/lang",
|
||||
// "locales/common",
|
||||
"locales/**/*"
|
||||
]
|
||||
// "i18n-ally.namespace": true,
|
||||
// "i18n-ally.pathMatcher": "{namespace}/{locale}.json",
|
||||
// "i18n-ally.defaultNamespace": "app",
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"name": "简体中文(部分完成)"
|
||||
"name": "English"
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type resources from "./default-resource"
|
||||
import type { defaultResources as resources } from "./default-resource"
|
||||
|
||||
declare module "i18next" {
|
||||
interface CustomTypeOptions {
|
||||
|
||||
@@ -165,6 +165,7 @@ export const SettingGeneral = () => {
|
||||
|
||||
export const VoiceSelector = () => {
|
||||
const { t } = useTranslation()
|
||||
|
||||
const { data } = useQuery({
|
||||
queryFn: () => tipcClient?.getVoices(),
|
||||
queryKey: ["voices"],
|
||||
|
||||
Reference in New Issue
Block a user