Translations - Crowdin, Set workspace member locale on signup, and optimizations (#10091)

More progress on translations:
- Migrate from translations.io to crowdin
- Optimize performance and robustness 
- Set workspaceMember/user locale upon signup
This commit is contained in:
Félix Malfait
2025-02-09 22:10:41 +01:00
committed by GitHub
parent fd3f01ab80
commit bb24c97f80
163 changed files with 84053 additions and 2554 deletions

View File

@ -998,6 +998,7 @@ export type MutationSendInvitationsArgs = {
export type MutationSignUpArgs = {
captchaToken?: InputMaybe<Scalars['String']>;
email: Scalars['String'];
locale?: InputMaybe<Scalars['String']>;
password: Scalars['String'];
workspaceId?: InputMaybe<Scalars['String']>;
workspaceInviteHash?: InputMaybe<Scalars['String']>;
@ -2163,6 +2164,7 @@ export type SignUpMutationVariables = Exact<{
workspacePersonalInviteToken?: InputMaybe<Scalars['String']>;
captchaToken?: InputMaybe<Scalars['String']>;
workspaceId?: InputMaybe<Scalars['String']>;
locale?: InputMaybe<Scalars['String']>;
}>;
@ -3298,7 +3300,7 @@ export type ResendEmailVerificationTokenMutationHookResult = ReturnType<typeof u
export type ResendEmailVerificationTokenMutationResult = Apollo.MutationResult<ResendEmailVerificationTokenMutation>;
export type ResendEmailVerificationTokenMutationOptions = Apollo.BaseMutationOptions<ResendEmailVerificationTokenMutation, ResendEmailVerificationTokenMutationVariables>;
export const SignUpDocument = gql`
mutation SignUp($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: String) {
mutation SignUp($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: String, $locale: String) {
signUp(
email: $email
password: $password
@ -3306,6 +3308,7 @@ export const SignUpDocument = gql`
workspacePersonalInviteToken: $workspacePersonalInviteToken
captchaToken: $captchaToken
workspaceId: $workspaceId
locale: $locale
) {
loginToken {
...AuthTokenFragment
@ -3341,6 +3344,7 @@ export type SignUpMutationFn = Apollo.MutationFunction<SignUpMutation, SignUpMut
* workspacePersonalInviteToken: // value for 'workspacePersonalInviteToken'
* captchaToken: // value for 'captchaToken'
* workspaceId: // value for 'workspaceId'
* locale: // value for 'locale'
* },
* });
*/

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -42,6 +42,10 @@ msgstr "2. Configure field"
msgid "24h ({hour24Label})"
msgstr "24h ({hour24Label})"
#: src/pages/onboarding/CreateWorkspace.tsx:116
msgid "A shared environment where you will be able to manage your customer relations with your team."
msgstr "A shared environment where you will be able to manage your customer relations with your team."
#: src/modules/ui/input/components/ImageInput.tsx:156
msgid "Abort"
msgstr "Abort"
@ -67,11 +71,11 @@ msgstr "Accounts"
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:259
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:99
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:66
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:68
msgid "Activate"
msgstr "Activate"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:65
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:67
msgid "Activate Workflow"
msgstr "Activate Workflow"
@ -110,10 +114,10 @@ msgstr "Add to blocklist"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:106
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:35
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:36
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:192
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:193
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:68
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:194
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:195
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:69
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:70
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:34
msgid "Add to favorites"
msgstr "Add to favorites"
@ -134,7 +138,7 @@ msgstr "All"
msgid "All ({relationRecordsCount})"
msgstr "All ({relationRecordsCount})"
#: src/pages/settings/roles/SettingsRoles.tsx:68
#: src/pages/settings/roles/SettingsRoles.tsx:119
msgid "All roles"
msgstr "All roles"
@ -197,14 +201,22 @@ msgstr "Are you sure that you want to change your billing interval?"
msgid "Ascending"
msgstr "Ascending"
#: src/pages/settings/roles/SettingsRoles.tsx:69
#: src/pages/settings/roles/SettingsRoles.tsx:120
msgid "Assign roles to specify each member's access permissions"
msgstr "Assign roles to specify each member's access permissions"
#: src/pages/settings/roles/SettingsRoles.tsx:36
#: src/pages/settings/roles/components/RoleAssignment.tsx:14
msgid "Assigned members"
msgstr "Assigned members"
#: src/pages/settings/roles/SettingsRoles.tsx:129
msgid "Assigned to"
msgstr "Assigned to"
#: src/pages/settings/roles/SettingsRoleEdit.tsx:64
msgid "Assignment"
msgstr "Assignment"
#: src/modules/auth/sign-in-up/components/SignInUpPasswordField.tsx:60
msgid "At least 8 characters long."
msgstr "At least 8 characters long."
@ -263,7 +275,7 @@ msgid "Calendars"
msgstr "Calendars"
#: src/pages/auth/Authorize.tsx:124
#: src/modules/ui/layout/modal/components/ConfirmationModal.tsx:151
#: src/modules/ui/layout/modal/components/ConfirmationModal.tsx:152
#: src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx:218
#: src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx:16
msgid "Cancel"
@ -335,11 +347,11 @@ msgstr "Configure your emails and calendar settings."
msgid "Connect a new account to your workspace"
msgstr "Connect a new account to your workspace"
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:42
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:61
msgid "Connect with Google"
msgstr "Connect with Google"
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:49
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:70
msgid "Connect with Microsoft"
msgstr "Connect with Microsoft"
@ -352,12 +364,14 @@ msgid "Context"
msgstr "Context"
#: src/pages/onboarding/InviteTeam.tsx:228
#: src/pages/onboarding/CreateWorkspace.tsx:154
#: src/pages/onboarding/CreateProfile.tsx:221
#: src/pages/onboarding/ChooseYourPlan.tsx:198
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:86
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:92
msgid "Continue"
msgstr "Continue"
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:69
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:75
msgid "Continue with Email"
msgstr "Continue with Email"
@ -410,15 +424,27 @@ msgstr "Create a workflow and return here to view its versions"
msgid "Create API key"
msgstr "Create API key"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:55
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:44
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:57
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:45
msgid "Create new record"
msgstr "Create new record"
#: src/pages/onboarding/CreateProfile.tsx:154
msgid "Create profile"
msgstr "Create profile"
#: src/pages/settings/roles/SettingsRoles.tsx:193
msgid "Create Role"
msgstr "Create Role"
#: src/pages/settings/developers/SettingsDevelopers.tsx:72
msgid "Create Webhook"
msgstr "Create Webhook"
#: src/pages/onboarding/CreateWorkspace.tsx:113
msgid "Create your workspace"
msgstr "Create your workspace"
#: src/pages/onboarding/ChooseYourPlan.tsx:90
msgid "Custom objects"
msgstr "Custom objects"
@ -466,7 +492,7 @@ msgstr "Date and time"
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:259
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:116
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:81
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:83
msgid "Deactivate"
msgstr "Deactivate"
@ -478,7 +504,7 @@ msgstr "Deactivate \"Synchronize Objects Labels and API Names\" to set a custom
msgid "Deactivate this field"
msgstr "Deactivate this field"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:80
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:82
msgid "Deactivate Workflow"
msgstr "Deactivate Workflow"
@ -493,10 +519,10 @@ msgstr "Define the name and description of your object"
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBarEntry.stories.tsx:31
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBarEntry.stories.tsx:45
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx:61
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:223
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:239
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:99
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:115
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:225
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:241
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:100
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:116
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:60
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:76
msgid "Delete"
@ -516,13 +542,11 @@ msgstr "Delete account and all the associated data"
msgid "Delete API key"
msgstr "Delete API key"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:222
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:98
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:99
msgid "Delete record"
msgstr "Delete record"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:238
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:114
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:115
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:75
msgid "Delete records"
msgstr "Delete records"
@ -537,6 +561,14 @@ msgstr "Delete this integration"
msgid "Delete webhook"
msgstr "Delete webhook"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:224
msgid "Delete workflow"
msgstr "Delete workflow"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:240
msgid "Delete workflows"
msgstr "Delete workflows"
#: src/modules/settings/profile/components/DeleteWorkspace.tsx:36
#: src/modules/settings/profile/components/DeleteWorkspace.tsx:54
msgid "Delete workspace"
@ -557,8 +589,10 @@ msgstr "Descending"
msgid "Description"
msgstr "Description"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:252
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:154
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:254
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:296
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:155
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:193
msgid "Destroy"
msgstr "Destroy"
@ -572,8 +606,8 @@ msgid "Developers"
msgstr "Developers"
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:80
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:95
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:96
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:97
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:98
msgid "Discard Draft"
msgstr "Discard Draft"
@ -582,9 +616,9 @@ msgid "Display as relative date"
msgstr "Display as relative date"
#: src/pages/settings/SettingsWorkspace.tsx:51
#: src/pages/settings/workspace/SettingsHostname.tsx:121
#: src/pages/settings/workspace/SettingsDomain.tsx:109
#: src/pages/settings/workspace/SettingsDomain.tsx:119
#: src/pages/settings/workspace/SettingsHostname.tsx:115
#: src/pages/settings/workspace/SettingsDomain.tsx:115
#: src/pages/settings/workspace/SettingsDomain.tsx:125
msgid "Domain"
msgstr "Domain"
@ -693,8 +727,8 @@ msgid "Exit Settings"
msgstr "Exit Settings"
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:59
msgid "Expected selected node to be a create step node."
msgstr "Expected selected node to be a create step node."
#~ msgid "Expected selected node to be a create step node."
#~ msgstr "Expected selected node to be a create step node."
#: src/pages/settings/profile/appearance/components/SettingsExperience.tsx:26
#: src/pages/settings/profile/appearance/components/SettingsExperience.tsx:32
@ -719,11 +753,11 @@ msgstr "Expires in"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:149
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:88
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:101
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:268
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:281
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:57
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:128
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:141
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:270
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:283
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:58
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:129
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:142
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:89
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:102
msgid "Export"
@ -731,24 +765,27 @@ msgstr "Export"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:135
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:87
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:267
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:127
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:128
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:88
msgid "Export records"
msgstr "Export records"
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:56
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:57
msgid "Export to PDF"
msgstr "Export to PDF"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:148
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:100
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:280
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:140
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:282
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:141
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:101
msgid "Export view"
msgstr "Export view"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:269
msgid "Export Workflows"
msgstr "Export Workflows"
#: src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx:59
msgid "Favorites"
msgstr "Favorites"
@ -778,6 +815,10 @@ msgstr "Filter"
msgid "Filters"
msgstr "Filters"
#: src/pages/onboarding/CreateProfile.tsx:180
msgid "First Name"
msgstr "First Name"
#: src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx:58
msgid "Forgot your password?"
msgstr "Forgot your password?"
@ -804,7 +845,7 @@ msgstr "Functions"
#: src/pages/settings/SettingsWorkspace.tsx:29
#: src/pages/settings/SettingsWorkspace.tsx:35
#: src/pages/settings/workspace/SettingsDomain.tsx:116
#: src/pages/settings/workspace/SettingsDomain.tsx:122
#: src/modules/settings/components/SettingsNavigationDrawerItems.tsx:143
msgid "General"
msgstr "General"
@ -833,6 +874,10 @@ msgstr "Grant Twenty support temporary access to your workspace so we can troubl
msgid "Hide"
msgstr "Hide"
#: src/pages/onboarding/CreateProfile.tsx:157
msgid "How you'll be identified on the app."
msgstr "How you'll be identified on the app."
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:208
#: src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsx:239
msgid "Icon and Name"
@ -926,6 +971,10 @@ msgstr "Lab"
msgid "Language"
msgstr "Language"
#: src/pages/onboarding/CreateProfile.tsx:202
msgid "Last Name"
msgstr "Last Name"
#: src/modules/object-record/record-board/record-board-column/utils/getAggregateOperationShortLabel.ts:31
msgid "Latest"
msgstr "Latest"
@ -1000,16 +1049,21 @@ msgstr "Move right"
#: src/pages/settings/SettingsWorkspaceMembers.tsx:177
#: src/pages/settings/SettingsWorkspace.tsx:44
#: src/pages/settings/SettingsProfile.tsx:35
#: src/pages/settings/roles/SettingsRoles.tsx:31
#: src/pages/settings/roles/SettingsRoles.tsx:126
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx:106
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx:209
#: src/pages/settings/data-model/SettingsObjectFieldTable.tsx:29
#: src/pages/settings/data-model/SettingsObjectFieldTable.tsx:58
#: src/pages/settings/data-model/constants/SettingsObjectTableMetadata.ts:10
#: src/pages/onboarding/CreateProfile.tsx:166
#: src/modules/settings/workspace/components/NameField.tsx:91
msgid "Name"
msgstr "Name"
#: src/pages/onboarding/CreateWorkspace.tsx:49
msgid "Name can not be empty"
msgstr "Name can not be empty"
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx:106
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx:209
msgid "Name of your API key"
@ -1020,7 +1074,7 @@ msgid "Name of your workspace"
msgstr "Name of your workspace"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:76
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:180
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:181
msgid "Navigate to next record"
msgstr "Navigate to next record"
@ -1028,12 +1082,12 @@ msgstr "Navigate to next record"
msgid "Navigate to next version"
msgstr "Navigate to next version"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:182
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:184
msgid "Navigate to next workflow"
msgstr "Navigate to next workflow"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:65
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:169
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:170
msgid "Navigate to previous record"
msgstr "Navigate to previous record"
@ -1041,7 +1095,7 @@ msgstr "Navigate to previous record"
msgid "Navigate to previous version"
msgstr "Navigate to previous version"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:172
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:174
msgid "Navigate to previous workflow"
msgstr "Navigate to previous workflow"
@ -1071,20 +1125,20 @@ msgstr "New Password"
#: src/modules/ui/layout/page/components/PageAddButton.tsx:27
#: src/modules/ui/layout/page/components/PageAddButton.tsx:29
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:56
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:45
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:58
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:46
msgid "New record"
msgstr "New record"
#: src/pages/settings/roles/SettingsRoles.tsx:52
msgid "New Role"
msgstr "New Role"
#~ msgid "New Role"
#~ msgstr "New Role"
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx:82
msgid "New Webhook"
msgstr "New Webhook"
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:38
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:56
msgid "No connected account"
msgstr "No connected account"
@ -1160,11 +1214,24 @@ msgstr "Percent empty"
msgid "Percent not empty"
msgstr "Percent not empty"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:251
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:153
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:253
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:154
msgid "Permanently destroy record"
msgstr "Permanently destroy record"
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:192
msgid "Permanently destroy records"
msgstr "Permanently destroy records"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:295
msgid "Permanently destroy workflows"
msgstr "Permanently destroy workflows"
#: src/pages/settings/roles/SettingsRoleEdit.tsx:70
#: src/pages/settings/roles/components/RolePermissions.tsx:14
msgid "Permissions"
msgstr "Permissions"
#: src/pages/settings/SettingsWorkspace.tsx:40
#: src/pages/settings/SettingsProfile.tsx:30
msgid "Picture"
@ -1260,10 +1327,10 @@ msgstr "Remove"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:121
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:50
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:51
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:207
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:208
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:83
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:209
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:210
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:84
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:85
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:47
msgid "Remove from favorites"
msgstr "Remove from favorites"
@ -1280,8 +1347,8 @@ msgstr "Reset to"
msgid "Results"
msgstr "Results"
#: src/pages/settings/roles/SettingsRoles.tsx:48
#: src/pages/settings/roles/SettingsRoles.tsx:62
#: src/pages/settings/roles/SettingsRoles.tsx:107
#: src/pages/settings/roles/SettingsRoles.tsx:113
#: src/modules/settings/components/SettingsNavigationDrawerItems.tsx:161
msgid "Roles"
msgstr "Roles"
@ -1309,7 +1376,7 @@ msgid "Search an index..."
msgstr "Search an index..."
#: src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx:219
#: src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelect.tsx:185
#: src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelect.tsx:184
msgid "Search fields"
msgstr "Search fields"
@ -1327,25 +1394,25 @@ msgstr "Search records"
msgid "Security"
msgstr "Security"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:110
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:111
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:112
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:113
msgid "See active version"
msgstr "See active version"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:55
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:56
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:125
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:126
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:127
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:128
msgid "See runs"
msgstr "See runs"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:70
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:141
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:143
msgid "See versions"
msgstr "See versions"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:69
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:140
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:142
msgid "See versions history"
msgstr "See versions history"
@ -1369,7 +1436,7 @@ msgstr "Server Admin Panel"
msgid "Set email visibility, manage your blocklist and more."
msgstr "Set email visibility, manage your blocklist and more."
#: src/pages/settings/workspace/SettingsHostname.tsx:121
#: src/pages/settings/workspace/SettingsHostname.tsx:115
msgid "Set the name of your domain"
msgstr "Set the name of your domain"
@ -1392,11 +1459,11 @@ msgstr "Share this link to invite users to join your workspace"
msgid "Should changing a field's label also change the API name?"
msgstr "Should changing a field's label also change the API name?"
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:76
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:82
msgid "Sign in"
msgstr "Sign in"
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:83
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:89
msgid "Sign up"
msgstr "Sign up"
@ -1479,11 +1546,11 @@ msgid "Terms of Service"
msgstr "Terms of Service"
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:50
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:156
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:158
msgid "Test"
msgstr "Test"
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:155
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:157
msgid "Test Workflow"
msgstr "Test Workflow"
@ -1501,6 +1568,10 @@ msgstr "The email associated to your account"
msgid "The name and icon of this field"
msgstr "The name and icon of this field"
#: src/pages/onboarding/CreateWorkspace.tsx:129
msgid "The name of your organization"
msgstr "The name of your organization"
#: src/pages/not-found/NotFound.tsx:50
msgid "The page you're seeking is either gone or never was. Let's get you back on track"
msgstr "The page you're seeking is either gone or never was. Let's get you back on track"
@ -1530,6 +1601,14 @@ msgstr "This action cannot be undone. This will permanently delete this user and
msgid "This action cannot be undone. This will permanently delete your entire workspace. <0/> Please type in your email to confirm."
msgstr "This action cannot be undone. This will permanently delete your entire workspace. <0/> Please type in your email to confirm."
#: src/pages/settings/roles/components/RolePermissions.tsx:15
msgid "This Role has the following permissions."
msgstr "This Role has the following permissions."
#: src/pages/settings/roles/components/RoleAssignment.tsx:15
msgid "This Role is assigned to these workspace member."
msgstr "This Role is assigned to these workspace member."
#: src/pages/settings/profile/appearance/components/DateTimeSettingsTimeFormatSelect.tsx:49
msgid "Time format"
msgstr "Time format"
@ -1542,7 +1621,7 @@ msgstr "to monthly"
msgid "to yearly"
msgstr "to yearly"
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:49
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:56
msgid "Trigger Type"
msgstr "Trigger Type"
@ -1555,7 +1634,7 @@ msgstr "Trigger type should be Manual - when no record(s) are selected"
msgid "Type"
msgstr "Type"
#: src/modules/command-menu/components/CommandMenuTopBar.tsx:117
#: src/modules/command-menu/components/CommandMenuTopBar.tsx:154
msgid "Type anything"
msgstr "Type anything"
@ -1564,6 +1643,10 @@ msgstr "Type anything"
msgid "Unique"
msgstr "Unique"
#: src/pages/onboarding/CreateWorkspace.tsx:80
msgid "Unknown error"
msgstr "Unknown error"
#: src/pages/onboarding/ChooseYourPlan.tsx:88
msgid "Unlimited contacts"
msgstr "Unlimited contacts"
@ -1658,9 +1741,9 @@ msgstr "Workflow cannot be tested"
#: src/pages/settings/SettingsWorkspace.tsx:32
#: src/pages/settings/SettingsBilling.tsx:135
#: src/pages/settings/Releases.tsx:114
#: src/pages/settings/workspace/SettingsDomain.tsx:112
#: src/pages/settings/workspace/SettingsDomain.tsx:118
#: src/pages/settings/security/SettingsSecurity.tsx:37
#: src/pages/settings/roles/SettingsRoles.tsx:59
#: src/pages/settings/roles/SettingsRoles.tsx:110
#: src/pages/settings/integrations/SettingsIntegrations.tsx:18
#: src/pages/settings/developers/SettingsDevelopers.tsx:39
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx:75
@ -1681,6 +1764,14 @@ msgstr "Workspace"
msgid "Workspace Deletion"
msgstr "Workspace Deletion"
#: src/pages/onboarding/CreateWorkspace.tsx:123
msgid "Workspace logo"
msgstr "Workspace logo"
#: src/pages/onboarding/CreateWorkspace.tsx:128
msgid "Workspace name"
msgstr "Workspace name"
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsx:254
msgid "Write a description"
msgstr "Write a description"
@ -1702,9 +1793,13 @@ msgstr "Your credit balance will be used to pay the monthly bills."
msgid "Your name as it will be displayed"
msgstr "Your name as it will be displayed"
#: src/pages/auth/SignInUp.tsx:47
#~ msgid "Your Workspace"
#~ msgstr "Your Workspace"
#: src/pages/onboarding/CreateProfile.tsx:167
msgid "Your name as it will be displayed on the app"
msgstr "Your name as it will be displayed on the app"
#: src/pages/auth/SignInUp.tsx:73
msgid "Your Workspace"
msgstr "Your Workspace"
#: src/pages/settings/SettingsBilling.tsx:172
msgid "Your workspace will be disabled"

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -42,6 +42,10 @@ msgstr ""
msgid "24h ({hour24Label})"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:116
msgid "A shared environment where you will be able to manage your customer relations with your team."
msgstr ""
#: src/modules/ui/input/components/ImageInput.tsx:156
msgid "Abort"
msgstr ""
@ -67,11 +71,11 @@ msgstr ""
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:259
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:99
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:66
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:68
msgid "Activate"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:65
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:67
msgid "Activate Workflow"
msgstr ""
@ -110,10 +114,10 @@ msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:106
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:35
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:36
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:192
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:193
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:68
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:194
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:195
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:69
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:70
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:34
msgid "Add to favorites"
msgstr ""
@ -134,7 +138,7 @@ msgstr ""
msgid "All ({relationRecordsCount})"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:68
#: src/pages/settings/roles/SettingsRoles.tsx:119
msgid "All roles"
msgstr ""
@ -197,14 +201,22 @@ msgstr ""
msgid "Ascending"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:69
#: src/pages/settings/roles/SettingsRoles.tsx:120
msgid "Assign roles to specify each member's access permissions"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:36
#: src/pages/settings/roles/components/RoleAssignment.tsx:14
msgid "Assigned members"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:129
msgid "Assigned to"
msgstr ""
#: src/pages/settings/roles/SettingsRoleEdit.tsx:64
msgid "Assignment"
msgstr ""
#: src/modules/auth/sign-in-up/components/SignInUpPasswordField.tsx:60
msgid "At least 8 characters long."
msgstr ""
@ -263,7 +275,7 @@ msgid "Calendars"
msgstr ""
#: src/pages/auth/Authorize.tsx:124
#: src/modules/ui/layout/modal/components/ConfirmationModal.tsx:151
#: src/modules/ui/layout/modal/components/ConfirmationModal.tsx:152
#: src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx:218
#: src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx:16
msgid "Cancel"
@ -335,11 +347,11 @@ msgstr ""
msgid "Connect a new account to your workspace"
msgstr ""
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:42
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:61
msgid "Connect with Google"
msgstr ""
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:49
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:70
msgid "Connect with Microsoft"
msgstr ""
@ -352,12 +364,14 @@ msgid "Context"
msgstr ""
#: src/pages/onboarding/InviteTeam.tsx:228
#: src/pages/onboarding/CreateWorkspace.tsx:154
#: src/pages/onboarding/CreateProfile.tsx:221
#: src/pages/onboarding/ChooseYourPlan.tsx:198
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:86
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:92
msgid "Continue"
msgstr ""
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:69
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:75
msgid "Continue with Email"
msgstr ""
@ -410,15 +424,27 @@ msgstr ""
msgid "Create API key"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:55
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:44
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:57
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:45
msgid "Create new record"
msgstr ""
#: src/pages/onboarding/CreateProfile.tsx:154
msgid "Create profile"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:193
msgid "Create Role"
msgstr ""
#: src/pages/settings/developers/SettingsDevelopers.tsx:72
msgid "Create Webhook"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:113
msgid "Create your workspace"
msgstr ""
#: src/pages/onboarding/ChooseYourPlan.tsx:90
msgid "Custom objects"
msgstr ""
@ -466,7 +492,7 @@ msgstr ""
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:259
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:116
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:81
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:83
msgid "Deactivate"
msgstr ""
@ -478,7 +504,7 @@ msgstr ""
msgid "Deactivate this field"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:80
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:82
msgid "Deactivate Workflow"
msgstr ""
@ -493,10 +519,10 @@ msgstr ""
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBarEntry.stories.tsx:31
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBarEntry.stories.tsx:45
#: src/modules/action-menu/components/__stories__/RecordIndexActionMenuBar.stories.tsx:61
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:223
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:239
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:99
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:115
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:225
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:241
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:100
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:116
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:60
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:76
msgid "Delete"
@ -516,13 +542,11 @@ msgstr ""
msgid "Delete API key"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:222
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:98
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:99
msgid "Delete record"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:238
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:114
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:115
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:75
msgid "Delete records"
msgstr ""
@ -537,6 +561,14 @@ msgstr ""
msgid "Delete webhook"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:224
msgid "Delete workflow"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:240
msgid "Delete workflows"
msgstr ""
#: src/modules/settings/profile/components/DeleteWorkspace.tsx:36
#: src/modules/settings/profile/components/DeleteWorkspace.tsx:54
msgid "Delete workspace"
@ -557,8 +589,10 @@ msgstr ""
msgid "Description"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:252
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:154
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:254
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:296
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:155
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:193
msgid "Destroy"
msgstr ""
@ -572,8 +606,8 @@ msgid "Developers"
msgstr ""
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:80
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:95
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:96
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:97
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:98
msgid "Discard Draft"
msgstr ""
@ -582,9 +616,9 @@ msgid "Display as relative date"
msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx:51
#: src/pages/settings/workspace/SettingsHostname.tsx:121
#: src/pages/settings/workspace/SettingsDomain.tsx:109
#: src/pages/settings/workspace/SettingsDomain.tsx:119
#: src/pages/settings/workspace/SettingsHostname.tsx:115
#: src/pages/settings/workspace/SettingsDomain.tsx:115
#: src/pages/settings/workspace/SettingsDomain.tsx:125
msgid "Domain"
msgstr ""
@ -693,8 +727,8 @@ msgid "Exit Settings"
msgstr ""
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:59
msgid "Expected selected node to be a create step node."
msgstr ""
#~ msgid "Expected selected node to be a create step node."
#~ msgstr ""
#: src/pages/settings/profile/appearance/components/SettingsExperience.tsx:26
#: src/pages/settings/profile/appearance/components/SettingsExperience.tsx:32
@ -719,11 +753,11 @@ msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:149
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:88
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:101
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:268
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:281
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:57
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:128
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:141
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:270
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:283
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:58
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:129
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:142
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:89
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:102
msgid "Export"
@ -731,24 +765,27 @@ msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:135
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:87
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:267
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:127
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:128
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:88
msgid "Export records"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:56
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:57
msgid "Export to PDF"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:148
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:100
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:280
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:140
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:282
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:141
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:101
msgid "Export view"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:269
msgid "Export Workflows"
msgstr ""
#: src/modules/favorites/components/CurrentWorkspaceMemberFavoritesFolders.tsx:59
msgid "Favorites"
msgstr ""
@ -778,6 +815,10 @@ msgstr ""
msgid "Filters"
msgstr ""
#: src/pages/onboarding/CreateProfile.tsx:180
msgid "First Name"
msgstr ""
#: src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx:58
msgid "Forgot your password?"
msgstr ""
@ -804,7 +845,7 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx:29
#: src/pages/settings/SettingsWorkspace.tsx:35
#: src/pages/settings/workspace/SettingsDomain.tsx:116
#: src/pages/settings/workspace/SettingsDomain.tsx:122
#: src/modules/settings/components/SettingsNavigationDrawerItems.tsx:143
msgid "General"
msgstr ""
@ -833,6 +874,10 @@ msgstr ""
msgid "Hide"
msgstr ""
#: src/pages/onboarding/CreateProfile.tsx:157
msgid "How you'll be identified on the app."
msgstr ""
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx:208
#: src/pages/settings/data-model/SettingsObjectNewField/SettingsObjectNewFieldConfigure.tsx:239
msgid "Icon and Name"
@ -926,6 +971,10 @@ msgstr ""
msgid "Language"
msgstr ""
#: src/pages/onboarding/CreateProfile.tsx:202
msgid "Last Name"
msgstr ""
#: src/modules/object-record/record-board/record-board-column/utils/getAggregateOperationShortLabel.ts:31
msgid "Latest"
msgstr ""
@ -1000,16 +1049,21 @@ msgstr ""
#: src/pages/settings/SettingsWorkspaceMembers.tsx:177
#: src/pages/settings/SettingsWorkspace.tsx:44
#: src/pages/settings/SettingsProfile.tsx:35
#: src/pages/settings/roles/SettingsRoles.tsx:31
#: src/pages/settings/roles/SettingsRoles.tsx:126
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx:106
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx:209
#: src/pages/settings/data-model/SettingsObjectFieldTable.tsx:29
#: src/pages/settings/data-model/SettingsObjectFieldTable.tsx:58
#: src/pages/settings/data-model/constants/SettingsObjectTableMetadata.ts:10
#: src/pages/onboarding/CreateProfile.tsx:166
#: src/modules/settings/workspace/components/NameField.tsx:91
msgid "Name"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:49
msgid "Name can not be empty"
msgstr ""
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew.tsx:106
#: src/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail.tsx:209
msgid "Name of your API key"
@ -1020,7 +1074,7 @@ msgid "Name of your workspace"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:76
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:180
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:181
msgid "Navigate to next record"
msgstr ""
@ -1028,12 +1082,12 @@ msgstr ""
msgid "Navigate to next version"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:182
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:184
msgid "Navigate to next workflow"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:65
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:169
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:170
msgid "Navigate to previous record"
msgstr ""
@ -1041,7 +1095,7 @@ msgstr ""
msgid "Navigate to previous version"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:172
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:174
msgid "Navigate to previous workflow"
msgstr ""
@ -1071,20 +1125,20 @@ msgstr ""
#: src/modules/ui/layout/page/components/PageAddButton.tsx:27
#: src/modules/ui/layout/page/components/PageAddButton.tsx:29
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:56
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:45
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:58
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:46
msgid "New record"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:52
msgid "New Role"
msgstr ""
#~ msgid "New Role"
#~ msgstr ""
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx:82
msgid "New Webhook"
msgstr ""
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:38
#: src/modules/settings/accounts/components/SettingsAccountsListEmptyStateCard.tsx:56
msgid "No connected account"
msgstr ""
@ -1160,11 +1214,24 @@ msgstr ""
msgid "Percent not empty"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:251
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:153
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:253
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:154
msgid "Permanently destroy record"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:192
msgid "Permanently destroy records"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:295
msgid "Permanently destroy workflows"
msgstr ""
#: src/pages/settings/roles/SettingsRoleEdit.tsx:70
#: src/pages/settings/roles/components/RolePermissions.tsx:14
msgid "Permissions"
msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx:40
#: src/pages/settings/SettingsProfile.tsx:30
msgid "Picture"
@ -1260,10 +1327,10 @@ msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:121
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:50
#: src/modules/action-menu/actions/record-actions/constants/WorkflowRunsActionsConfig.ts:51
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:207
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:208
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:83
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:209
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:210
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:84
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV2.ts:85
#: src/modules/action-menu/actions/record-actions/constants/DefaultActionsConfigV1.ts:47
msgid "Remove from favorites"
msgstr ""
@ -1280,8 +1347,8 @@ msgstr ""
msgid "Results"
msgstr ""
#: src/pages/settings/roles/SettingsRoles.tsx:48
#: src/pages/settings/roles/SettingsRoles.tsx:62
#: src/pages/settings/roles/SettingsRoles.tsx:107
#: src/pages/settings/roles/SettingsRoles.tsx:113
#: src/modules/settings/components/SettingsNavigationDrawerItems.tsx:161
msgid "Roles"
msgstr ""
@ -1309,7 +1376,7 @@ msgid "Search an index..."
msgstr ""
#: src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx:219
#: src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelect.tsx:185
#: src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownFilterSelect.tsx:184
msgid "Search fields"
msgstr ""
@ -1327,25 +1394,25 @@ msgstr ""
msgid "Security"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:110
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:111
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:112
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:113
msgid "See active version"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:55
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:56
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:125
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:126
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:127
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:128
msgid "See runs"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:70
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:141
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:143
msgid "See versions"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowVersionsActionsConfig.ts:69
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:140
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:142
msgid "See versions history"
msgstr ""
@ -1369,7 +1436,7 @@ msgstr ""
msgid "Set email visibility, manage your blocklist and more."
msgstr ""
#: src/pages/settings/workspace/SettingsHostname.tsx:121
#: src/pages/settings/workspace/SettingsHostname.tsx:115
msgid "Set the name of your domain"
msgstr ""
@ -1392,11 +1459,11 @@ msgstr ""
msgid "Should changing a field's label also change the API name?"
msgstr ""
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:76
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:82
msgid "Sign in"
msgstr ""
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:83
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx:89
msgid "Sign up"
msgstr ""
@ -1479,11 +1546,11 @@ msgid "Terms of Service"
msgstr ""
#: src/modules/workflow/components/RecordShowPageWorkflowHeader.tsx:50
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:156
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:158
msgid "Test"
msgstr ""
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:155
#: src/modules/action-menu/actions/record-actions/constants/WorkflowActionsConfig.ts:157
msgid "Test Workflow"
msgstr ""
@ -1501,6 +1568,10 @@ msgstr ""
msgid "The name and icon of this field"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:129
msgid "The name of your organization"
msgstr ""
#: src/pages/not-found/NotFound.tsx:50
msgid "The page you're seeking is either gone or never was. Let's get you back on track"
msgstr ""
@ -1530,6 +1601,14 @@ msgstr ""
msgid "This action cannot be undone. This will permanently delete your entire workspace. <0/> Please type in your email to confirm."
msgstr ""
#: src/pages/settings/roles/components/RolePermissions.tsx:15
msgid "This Role has the following permissions."
msgstr ""
#: src/pages/settings/roles/components/RoleAssignment.tsx:15
msgid "This Role is assigned to these workspace member."
msgstr ""
#: src/pages/settings/profile/appearance/components/DateTimeSettingsTimeFormatSelect.tsx:49
msgid "Time format"
msgstr ""
@ -1542,7 +1621,7 @@ msgstr ""
msgid "to yearly"
msgstr ""
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:49
#: src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasEditableEffect.tsx:56
msgid "Trigger Type"
msgstr ""
@ -1555,7 +1634,7 @@ msgstr ""
msgid "Type"
msgstr ""
#: src/modules/command-menu/components/CommandMenuTopBar.tsx:117
#: src/modules/command-menu/components/CommandMenuTopBar.tsx:154
msgid "Type anything"
msgstr ""
@ -1564,6 +1643,10 @@ msgstr ""
msgid "Unique"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:80
msgid "Unknown error"
msgstr ""
#: src/pages/onboarding/ChooseYourPlan.tsx:88
msgid "Unlimited contacts"
msgstr ""
@ -1658,9 +1741,9 @@ msgstr ""
#: src/pages/settings/SettingsWorkspace.tsx:32
#: src/pages/settings/SettingsBilling.tsx:135
#: src/pages/settings/Releases.tsx:114
#: src/pages/settings/workspace/SettingsDomain.tsx:112
#: src/pages/settings/workspace/SettingsDomain.tsx:118
#: src/pages/settings/security/SettingsSecurity.tsx:37
#: src/pages/settings/roles/SettingsRoles.tsx:59
#: src/pages/settings/roles/SettingsRoles.tsx:110
#: src/pages/settings/integrations/SettingsIntegrations.tsx:18
#: src/pages/settings/developers/SettingsDevelopers.tsx:39
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhooksNew.tsx:75
@ -1681,6 +1764,14 @@ msgstr ""
msgid "Workspace Deletion"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:123
msgid "Workspace logo"
msgstr ""
#: src/pages/onboarding/CreateWorkspace.tsx:128
msgid "Workspace name"
msgstr ""
#: src/pages/settings/developers/webhooks/components/SettingsDevelopersWebhookDetail.tsx:254
msgid "Write a description"
msgstr ""
@ -1702,9 +1793,13 @@ msgstr ""
msgid "Your name as it will be displayed"
msgstr ""
#: src/pages/auth/SignInUp.tsx:47
#~ msgid "Your Workspace"
#~ msgstr ""
#: src/pages/onboarding/CreateProfile.tsx:167
msgid "Your name as it will be displayed on the app"
msgstr ""
#: src/pages/auth/SignInUp.tsx:73
msgid "Your Workspace"
msgstr ""
#: src/pages/settings/SettingsBilling.tsx:172
msgid "Your workspace will be disabled"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,7 @@ export const SIGN_UP = gql`
$workspacePersonalInviteToken: String = null
$captchaToken: String
$workspaceId: String
$locale: String
) {
signUp(
email: $email
@ -16,6 +17,7 @@ export const SIGN_UP = gql`
workspacePersonalInviteToken: $workspacePersonalInviteToken
captchaToken: $captchaToken
workspaceId: $workspaceId
locale: $locale
) {
loginToken {
...AuthTokenFragment

View File

@ -23,7 +23,12 @@ export const variables = {
password,
},
getAuthTokensFromLoginToken: { loginToken: token },
signup: {},
signup: {
email,
password,
workspacePersonalInviteToken: null,
locale: "",
},
getCurrentUser: {},
};
@ -103,7 +108,7 @@ export const mocks = [
{
request: {
query: queries.signup,
variables: variables.getLoginTokenFromCredentials,
variables: variables.signup,
},
result: jest.fn(() => ({
data: {

View File

@ -60,9 +60,10 @@ import { useRedirectToWorkspaceDomain } from '@/domain-manager/hooks/useRedirect
import { domainConfigurationState } from '@/domain-manager/states/domainConfigurationState';
import { isAppWaitingForFreshObjectMetadataState } from '@/object-metadata/states/isAppWaitingForFreshObjectMetadataState';
import { workspaceAuthProvidersState } from '@/workspace/states/workspaceAuthProvidersState';
import { i18n } from '@lingui/core';
import { useSearchParams } from 'react-router-dom';
import { dynamicActivate } from '~/utils/i18n/dynamicActivate';
import { getWorkspaceUrl } from '~/utils/getWorkspaceUrl';
import { dynamicActivate } from '~/utils/i18n/dynamicActivate';
export const useAuth = () => {
const setTokenPair = useSetRecoilState(tokenPairState);
@ -391,6 +392,7 @@ export const useAuth = () => {
workspaceInviteHash,
workspacePersonalInviteToken,
captchaToken,
locale: i18n.locale ?? 'en',
...(workspacePublicData?.id
? { workspaceId: workspacePublicData.id }
: {}),

View File

@ -21,6 +21,7 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { TextInputV2 } from '@/ui/input/components/TextInputV2';
import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys';
import { WorkspaceMember } from '@/workspace-member/types/WorkspaceMember';
import { Trans, useLingui } from '@lingui/react/macro';
import { isDefined } from 'twenty-shared';
import { OnboardingStatus } from '~/generated/graphql';
@ -55,6 +56,7 @@ const validationSchema = z
type Form = z.infer<typeof validationSchema>;
export const CreateProfile = () => {
const { t } = useLingui();
const onboardingStatus = useOnboardingStatus();
const setNextOnboardingStatus = useSetNextOnboardingStatus();
const { enqueueSnackBar } = useSnackBar();
@ -148,8 +150,12 @@ export const CreateProfile = () => {
return (
<>
<Title noMarginTop>Create profile</Title>
<SubTitle>How you'll be identified on the app.</SubTitle>
<Title noMarginTop>
<Trans>Create profile</Trans>
</Title>
<SubTitle>
<Trans>How you'll be identified on the app.</Trans>
</SubTitle>
<StyledContentContainer>
<StyledSectionContainer>
<H2Title title="Picture" />
@ -157,8 +163,8 @@ export const CreateProfile = () => {
</StyledSectionContainer>
<StyledSectionContainer>
<H2Title
title="Name"
description="Your name as it will be displayed on the app"
title={t`Name`}
description={t`Your name as it will be displayed on the app`}
/>
{/* TODO: When react-web-hook-form is added to edit page we should create a dedicated component with context */}
<StyledComboInputContainer>
@ -171,7 +177,7 @@ export const CreateProfile = () => {
}) => (
<TextInputV2
autoFocus
label="First Name"
label={t`First Name`}
value={value}
onFocus={() => setIsEditingMode(true)}
onBlur={() => {
@ -193,7 +199,7 @@ export const CreateProfile = () => {
fieldState: { error },
}) => (
<TextInputV2
label="Last Name"
label={t`Last Name`}
value={value}
onFocus={() => setIsEditingMode(true)}
onBlur={() => {
@ -212,7 +218,7 @@ export const CreateProfile = () => {
</StyledContentContainer>
<StyledButtonContainer>
<MainButton
title="Continue"
title={t`Continue`}
onClick={handleSubmit(onSubmit)}
disabled={!isValid || isSubmitting}
fullWidth

View File

@ -15,6 +15,7 @@ import { WorkspaceLogoUploader } from '@/settings/workspace/components/Workspace
import { SnackBarVariant } from '@/ui/feedback/snack-bar-manager/components/SnackBar';
import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { TextInputV2 } from '@/ui/input/components/TextInputV2';
import { Trans, useLingui } from '@lingui/react/macro';
import { isDefined } from 'twenty-shared';
import {
OnboardingStatus,
@ -34,15 +35,8 @@ const StyledButtonContainer = styled.div`
width: 200px;
`;
const validationSchema = z
.object({
name: z.string().min(1, { message: 'Name can not be empty' }),
})
.required();
type Form = z.infer<typeof validationSchema>;
export const CreateWorkspace = () => {
const { t } = useLingui();
const { enqueueSnackBar } = useSnackBar();
const onboardingStatus = useOnboardingStatus();
const setNextOnboardingStatus = useSetNextOnboardingStatus();
@ -50,6 +44,14 @@ export const CreateWorkspace = () => {
const { loadCurrentUser } = useAuth();
const [activateWorkspace] = useActivateWorkspaceMutation();
const validationSchema = z
.object({
name: z.string().min(1, { message: t`Name can not be empty` }),
})
.required();
type Form = z.infer<typeof validationSchema>;
// Form
const {
control,
@ -75,7 +77,7 @@ export const CreateWorkspace = () => {
});
if (isDefined(result.errors)) {
throw result.errors ?? new Error('Unknown error');
throw result.errors ?? new Error(t`Unknown error`);
}
await loadCurrentUser();
setNextOnboardingStatus();
@ -90,6 +92,7 @@ export const CreateWorkspace = () => {
enqueueSnackBar,
loadCurrentUser,
setNextOnboardingStatus,
t,
],
);
@ -106,20 +109,24 @@ export const CreateWorkspace = () => {
return (
<>
<Title noMarginTop>Create your workspace</Title>
<Title noMarginTop>
<Trans>Create your workspace</Trans>
</Title>
<SubTitle>
A shared environment where you will be able to manage your customer
relations with your team.
<Trans>
A shared environment where you will be able to manage your customer
relations with your team.
</Trans>
</SubTitle>
<StyledContentContainer>
<StyledSectionContainer>
<H2Title title="Workspace logo" />
<H2Title title={t`Workspace logo`} />
<WorkspaceLogoUploader />
</StyledSectionContainer>
<StyledSectionContainer>
<H2Title
title="Workspace name"
description="The name of your organization"
title={t`Workspace name`}
description={t`The name of your organization`}
/>
<Controller
name="name"
@ -144,7 +151,7 @@ export const CreateWorkspace = () => {
</StyledContentContainer>
<StyledButtonContainer>
<MainButton
title="Continue"
title={t`Continue`}
onClick={handleSubmit(onSubmit)}
disabled={!isValid || isSubmitting}
Icon={() => isSubmitting && <Loader />}

View File

@ -71,27 +71,27 @@ export const LocalePicker = () => {
},
{
label: t`French`,
value: APP_LOCALES.fr,
value: APP_LOCALES['fr-FR'],
},
{
label: t`Spanish`,
value: APP_LOCALES.es,
value: APP_LOCALES['es-ES'],
},
{
label: t`German`,
value: APP_LOCALES.de,
value: APP_LOCALES['de-DE'],
},
{
label: t`Italian`,
value: APP_LOCALES.it,
value: APP_LOCALES['it-IT'],
},
{
label: t`Korean`,
value: APP_LOCALES.ko,
value: APP_LOCALES['ko-KR'],
},
{
label: t`Japanese`,
value: APP_LOCALES.ja,
value: APP_LOCALES['ja-JP'],
},
{
label: t`Portuguese — Portugal`,
@ -103,17 +103,17 @@ export const LocalePicker = () => {
},
{
label: t`Chinese — Simplified`,
value: APP_LOCALES['zh-Hans'],
value: APP_LOCALES['zh-CN'],
},
{
label: t`Chinese — Traditional`,
value: APP_LOCALES['zh-Hant'],
value: APP_LOCALES['zh-TW'],
},
];
if (isDebugMode) {
localeOptions.push({
label: t`Pseudo-English`,
value: 'pseudo-en',
value: APP_LOCALES['pseudo-en'],
});
}

View File

@ -67,7 +67,7 @@ const ApolloStorybookDevLogEffect = () => {
return <></>;
};
dynamicActivate('en');
await dynamicActivate('en');
const Providers = () => {
return (

View File

@ -2,6 +2,11 @@ import { i18n } from '@lingui/core';
import { APP_LOCALES } from 'twenty-shared';
export const dynamicActivate = async (locale: keyof typeof APP_LOCALES) => {
if (!Object.values(APP_LOCALES).includes(locale)) {
// eslint-disable-next-line no-console
console.warn(`Invalid locale "${locale}", defaulting to "en"`);
locale = 'en';
}
const { messages } = await import(`../../locales/generated/${locale}.ts`);
i18n.load(locale, messages);
i18n.activate(locale);