🧑💻 Migrate to Tolgee (#976)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ### Summary by CodeRabbit - Refactor: Transitioned to a new translation library (`@tolgee/react`) across the application, enhancing the localization capabilities and consistency. - New Feature: Introduced a JSON configuration file for application settings, improving customization and flexibility. - Refactor: Updated SVG attribute naming convention in the `WhatsAppLogo` component to align with React standards. - Chore: Adjusted the `.gitignore` file and added a new line at the end. - Documentation: Added instructions for setting up environment variables for the Tolgee i18n contribution dev tool, improving the self-hosting configuration guide. - Style: Updated the `CollaborationMenuButton` to hide the `PopoverContent` component by scaling it down to zero. - Refactor: Simplified error handling logic for fetching and updating typebots in `TypebotProvider.tsx`, improving code readability and maintenance. - Refactor: Removed the dependency on the `parseGroupTitle` function, simplifying the code in several components. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@ -12,14 +12,16 @@
|
||||
"build": "pnpm docker:up && turbo run build",
|
||||
"build:apps": "turbo run build --filter=builder... --filter=viewer...",
|
||||
"db:migrate": "cd packages/prisma && pnpm run db:migrate",
|
||||
"generate-change-log": "git fetch --all && pnpx gitmoji-changelog"
|
||||
"generate-change-log": "git fetch --all && pnpx gitmoji-changelog",
|
||||
"locales:sync": "tolgee sync './apps/builder/src/**/*.ts?(x)' --continue-on-warning --remove-unused"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "7.0.3",
|
||||
"cz-emoji": "1.3.2-canary.2",
|
||||
"husky": "^8.0.3",
|
||||
"prettier": "2.8.8",
|
||||
"turbo": "1.10.12"
|
||||
"turbo": "1.10.12",
|
||||
"@tolgee/cli": "1.2.0"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
|
Reference in New Issue
Block a user