mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
This PR adds missing internationalization (i18n) to several UI components that previously used hardcoded English text. The changes span multiple sections of the app. By replacing static strings with translation keys, a more consistent and localized user experience is ensured. --------- Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
101 lines
2.5 KiB
JSON
101 lines
2.5 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"organizeImports": {
|
|
"ignore": [
|
|
"emojiList.json",
|
|
"iconNames.ts",
|
|
".last-run.json",
|
|
"openapi/*.json",
|
|
"routeTree.gen.ts"
|
|
],
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"ignore": [
|
|
"node_modules",
|
|
".next",
|
|
"dist",
|
|
"openapi/*.json",
|
|
"routeTree.gen.ts",
|
|
"i18n-ally-custom-framework.yml"
|
|
],
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off",
|
|
"noGlobalEval": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off",
|
|
"useMediaCaption": "off",
|
|
"useIframeTitle": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"useButtonType": "off",
|
|
"noRedundantAlt": "off",
|
|
"noAutofocus": "off",
|
|
"useSemanticElements": "off",
|
|
"useFocusableInteractive": "off"
|
|
},
|
|
"performance": {
|
|
"noAccumulatingSpread": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useNodejsImportProtocol": "off",
|
|
"noUnusedTemplateLiteral": "off",
|
|
"useTemplate": "off",
|
|
"useSelfClosingElements": "off",
|
|
"noUselessElse": "off",
|
|
"noParameterAssign": "off",
|
|
"useShorthandFunctionType": "off",
|
|
"useExponentiationOperator": "off",
|
|
"useSingleVarDeclarator": "off"
|
|
},
|
|
"correctness": {
|
|
"useExhaustiveDependencies": "off",
|
|
"noSwitchDeclarations": "off",
|
|
"noEmptyPattern": "off",
|
|
"noUnsafeOptionalChaining": "off",
|
|
"useJsxKeyInIterable": "off"
|
|
},
|
|
"complexity": {
|
|
"noForEach": "off",
|
|
"noUselessTernary": "off",
|
|
"useLiteralKeys": "off",
|
|
"useOptionalChain": "off",
|
|
"noBannedTypes": "off"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off",
|
|
"noAssignInExpressions": "off",
|
|
"noImplicitAnyLet": "off",
|
|
"noExplicitAny": "off",
|
|
"noExportsInTest": "off",
|
|
"noConfusingVoidType": "off",
|
|
"noGlobalIsNan": "off",
|
|
"useIsArray": "off",
|
|
"noThenProperty": "off",
|
|
"noAsyncPromiseExecutor": "off",
|
|
"noMisleadingCharacterClass": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"ignore": [
|
|
"emojiList.json",
|
|
"iconNames.ts",
|
|
".last-run.json",
|
|
"openapi/*.json",
|
|
"routeTree.gen.ts",
|
|
"i18n-ally-custom-framework.yml"
|
|
],
|
|
"indentStyle": "space"
|
|
},
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
}
|
|
}
|