- Replaced `getAuthTokensFromLoginToken` with `getAccessTokensFromLoginToken` for clarity. - Introduced `getWorkspaceAgnosticTokenFromEmailVerificationToken`. - Extended mutation inputs to include `locale` and `verifyEmailNextPath`. - Added email verification check and sending to various handlers. - Updated GraphQL types and hooks to reflect these changes. Fix #13412 --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com> Co-authored-by: Félix Malfait <felix@twenty.com>
27 lines
758 B
TypeScript
27 lines
758 B
TypeScript
import { defineConfig } from '@lingui/conf';
|
|
import { formatter } from '@lingui/format-po';
|
|
import { APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';
|
|
|
|
export default defineConfig({
|
|
sourceLocale: SOURCE_LOCALE,
|
|
locales: Object.values(APP_LOCALES),
|
|
pseudoLocale: 'pseudo-en',
|
|
fallbackLocales: {
|
|
'pseudo-en': 'en',
|
|
default: SOURCE_LOCALE,
|
|
},
|
|
extractorParserOptions: {
|
|
tsExperimentalDecorators: true,
|
|
},
|
|
catalogs: [
|
|
{
|
|
path: '<rootDir>/src/engine/core-modules/i18n/locales/{locale}',
|
|
include: ['src'],
|
|
},
|
|
],
|
|
catalogsMergePath:
|
|
'<rootDir>/src/engine/core-modules/i18n/locales/generated/{locale}',
|
|
compileNamespace: 'ts',
|
|
format: formatter({ lineNumbers: false, printLinguiId: true }),
|
|
});
|