Skip to content

Commit a545b3a

Browse files
authored
CSV Import translations and dark mode fixes (#11184)
Fixes #11182 and adds missing translations
1 parent fad02fa commit a545b3a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+5105
-89
lines changed

packages/twenty-emails/lingui.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { defineConfig } from '@lingui/conf';
22
import { formatter } from '@lingui/format-po';
3-
import { APP_LOCALES } from 'twenty-shared/translations';
3+
import { APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';
44

55
export default defineConfig({
66
sourceLocale: 'en',
77
locales: Object.values(APP_LOCALES),
88
pseudoLocale: 'pseudo-en',
99
fallbackLocales: {
10-
'pseudo-en': 'en',
10+
default: SOURCE_LOCALE,
1111
},
1212
extractorParserOptions: {
1313
tsExperimentalDecorators: true,

packages/twenty-front/lingui.config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { defineConfig } from '@lingui/conf';
22
import { formatter } from '@lingui/format-po';
3-
import { APP_LOCALES } from 'twenty-shared/translations';
3+
import { APP_LOCALES, SOURCE_LOCALE } from 'twenty-shared/translations';
44

55
export default defineConfig({
66
sourceLocale: 'en',
77
locales: Object.values(APP_LOCALES),
88
pseudoLocale: 'pseudo-en',
99
fallbackLocales: {
1010
'pseudo-en': 'en',
11+
default: SOURCE_LOCALE,
1112
},
1213
catalogs: [
1314
{

packages/twenty-front/src/locales/af-ZA.po

+165
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,11 @@ msgstr "Is jy seker jy wil hierdie rekords uitvee? Hulle kan herstel word vanaf
555555
msgid "Are you sure you want to delete this record? It can be recovered from the Command menu."
556556
msgstr "Is jy seker jy wil hierdie rekord uitvee? Dit kan herstel word vanaf die Command menu."
557557

558+
#. js-lingui-id: rnCqBK
559+
#: src/modules/spreadsheet-import/components/ModalCloseButton.tsx
560+
msgid "Are you sure? Your current information will not be saved."
561+
msgstr ""
562+
558563
#. js-lingui-id: nYD/Cq
559564
#: src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx
560565
#: src/modules/object-record/object-sort-dropdown/components/ObjectSortDropdownButton.tsx
@@ -725,6 +730,9 @@ msgstr "Kan nie API-name vir standaardobjekte verander nie"
725730
#: src/pages/auth/Authorize.tsx
726731
#: src/modules/ui/layout/modal/components/ConfirmationModal.tsx
727732
#: src/modules/ui/feedback/snack-bar-manager/components/SnackBar.tsx
733+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
734+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
735+
#: src/modules/spreadsheet-import/components/ModalCloseButton.tsx
728736
#: src/modules/settings/components/SaveAndCancelButtons/CancelButton.tsx
729737
msgid "Cancel"
730738
msgstr "Kanselleer"
@@ -848,6 +856,11 @@ msgstr "Vou in"
848856
msgid "Color code"
849857
msgstr "Kleurkode"
850858

859+
#. js-lingui-id: 93hd3e
860+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
861+
msgid "Columns not matched:"
862+
msgstr ""
863+
851864
#. js-lingui-id: NM9bMd
852865
#: src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx
853866
msgid "Compact view"
@@ -879,6 +892,7 @@ msgid "Configure your emails and calendar settings."
879892
msgstr "Stel jou e-posse en kalender instellings op."
880893

881894
#. js-lingui-id: 7VpPHA
895+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
882896
#: src/modules/settings/roles/role-assignment/components/RoleAssignmentConfirmationModal.tsx
883897
msgid "Confirm"
884898
msgstr "Bevestig"
@@ -924,6 +938,8 @@ msgstr "Konteks"
924938
#: src/pages/onboarding/CreateWorkspace.tsx
925939
#: src/pages/onboarding/CreateProfile.tsx
926940
#: src/pages/onboarding/ChooseYourPlan.tsx
941+
#: src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsx
942+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
927943
#: src/modules/auth/sign-in-up/components/SignInUpWithCredentials.tsx
928944
msgid "Continue"
929945
msgstr "Gaan voort"
@@ -988,6 +1004,11 @@ msgstr "Kopieer hierdie sleutel aangesien dit nie weer sigbaar sal wees nie"
9881004
msgid "Core"
9891005
msgstr "Kern"
9901006

1007+
#. js-lingui-id: w5Stxm
1008+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
1009+
msgid "Correct the issues and fill the missing data."
1010+
msgstr ""
1011+
9911012
#. js-lingui-id: wBMjJ2
9921013
#: src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterMenuContent.tsx
9931014
#: src/modules/object-record/record-table/record-table-footer/components/RecordTableColumnAggregateFooterDropdownContent.tsx
@@ -1422,6 +1443,11 @@ msgstr "Vertoon as relatiewe datum"
14221443
msgid "Display text on multiple lines"
14231444
msgstr "Vertoon teks op meerdere reëls"
14241445

1446+
#. js-lingui-id: ji7sqw
1447+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/TemplateColumn.tsx
1448+
msgid "Do not import"
1449+
msgstr ""
1450+
14251451
#. js-lingui-id: U9q4zF
14261452
#: src/modules/object-record/object-filter-dropdown/utils/getOperandLabel.ts
14271453
msgid "Doesn't contain"
@@ -1465,6 +1491,11 @@ msgstr "Moenie e-posse van team@ support@ noreply@ sinkroniseer nie..."
14651491
msgid "Download file"
14661492
msgstr "Laai lêer af"
14671493

1494+
#. js-lingui-id: 6D/BnN
1495+
#: src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx
1496+
msgid "Drop file here..."
1497+
msgstr ""
1498+
14681499
#. js-lingui-id: KIjvtr
14691500
#: src/pages/settings/profile/appearance/components/LocalePicker.tsx
14701501
msgid "Dutch"
@@ -1750,11 +1781,21 @@ msgstr "Sluit die volgende mense en domeine uit van my e-possinchronisasie. Inte
17501781
msgid "Existing objects"
17511782
msgstr "Bestaande voorwerpe"
17521783

1784+
#. js-lingui-id: ydzS9x
1785+
#: src/modules/spreadsheet-import/components/ModalCloseButton.tsx
1786+
msgid "Exit"
1787+
msgstr ""
1788+
17531789
#. js-lingui-id: LFNXuj
17541790
#: src/modules/ui/layout/fullscreen/components/FullScreenContainer.tsx
17551791
msgid "Exit Full Screen"
17561792
msgstr "Verlaat Volskerm"
17571793

1794+
#. js-lingui-id: XB4onr
1795+
#: src/modules/spreadsheet-import/components/ModalCloseButton.tsx
1796+
msgid "Exit import flow"
1797+
msgstr ""
1798+
17581799
#. js-lingui-id: IZ4o2e
17591800
#: src/modules/navigation/components/AppNavigationDrawer.tsx
17601801
msgid "Exit Settings"
@@ -1940,6 +1981,11 @@ msgstr "Filtreer"
19401981
msgid "Filters"
19411982
msgstr "Filtreerders"
19421983

1984+
#. js-lingui-id: SNdnlf
1985+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
1986+
msgid "Finish flow with errors"
1987+
msgstr ""
1988+
19431989
#. js-lingui-id: USZ2N6
19441990
#: src/pages/settings/profile/appearance/components/LocalePicker.tsx
19451991
msgid "Finnish"
@@ -2583,6 +2629,16 @@ msgstr "Bestuur jou intekening"
25832629
msgid "Mark as done"
25842630
msgstr "Merk as voltooi"
25852631

2632+
#. js-lingui-id: 7h8ch8
2633+
#: src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx
2634+
msgid "Match columns"
2635+
msgstr ""
2636+
2637+
#. js-lingui-id: gDLior
2638+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
2639+
msgid "Match Columns"
2640+
msgstr ""
2641+
25862642
#. js-lingui-id: CK1KXz
25872643
#: src/modules/object-record/record-board/record-board-column/utils/getAggregateOperationShortLabel.ts
25882644
#: src/modules/object-record/record-board/record-board-column/utils/getAggregateOperationLabel.ts
@@ -2811,6 +2867,12 @@ msgstr "Nuwe SSO Verskaffer"
28112867
#~ msgid "New Webhook"
28122868
#~ msgstr "New Webhook"
28132869

2870+
#. js-lingui-id: AxNmtI
2871+
#: src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsx
2872+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
2873+
msgid "Next Step"
2874+
msgstr ""
2875+
28142876
#. js-lingui-id: OTe3RI
28152877
#: src/pages/settings/workspace/SettingsDomain.tsx
28162878
msgid "No change detected"
@@ -2826,6 +2888,16 @@ msgstr "Geen gekoppelde rekening"
28262888
msgid "No country"
28272889
msgstr "Geen land nie"
28282890

2891+
#. js-lingui-id: pxvJ9B
2892+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
2893+
msgid "No data containing errors"
2894+
msgstr ""
2895+
2896+
#. js-lingui-id: dihZwh
2897+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
2898+
msgid "No data found"
2899+
msgstr ""
2900+
28292901
#. js-lingui-id: UwvrGq
28302902
#: src/pages/settings/SettingsWorkspaceMembers.tsx
28312903
msgid "No members"
@@ -2882,6 +2954,11 @@ msgstr "Geen rekords gevind nie"
28822954
#~ msgid "No Result"
28832955
#~ msgstr "No Result"
28842956

2957+
#. js-lingui-id: Ev2r9A
2958+
#: src/modules/spreadsheet-import/components/MatchColumnSelect.tsx
2959+
msgid "No results"
2960+
msgstr ""
2961+
28852962
#. js-lingui-id: MA3x23
28862963
#: src/modules/settings/roles/role-assignment/components/RoleAssignmentWorkspaceMemberPickerDropdownContent.tsx
28872964
msgid "No Results"
@@ -2914,6 +2991,11 @@ msgstr "Geen"
29142991
msgid "Norwegian"
29152992
msgstr "Noors"
29162993

2994+
#. js-lingui-id: v3W9iu
2995+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
2996+
msgid "Not all columns matched"
2997+
msgstr ""
2998+
29172999
#. js-lingui-id: 0qBE9S
29183000
#: src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuContent.tsx
29193001
#: src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownMenuContent.tsx
@@ -3209,6 +3291,11 @@ msgstr "Voorskou"
32093291
msgid "Privacy Policy"
32103292
msgstr "Privaatheidsbeleid"
32113293

3294+
#. js-lingui-id: k1ifdL
3295+
#: src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx
3296+
msgid "Processing..."
3297+
msgstr ""
3298+
32123299
#. js-lingui-id: vERlcd
32133300
#: src/pages/settings/SettingsProfile.tsx
32143301
#: src/pages/settings/SettingsProfile.tsx
@@ -3322,6 +3409,7 @@ msgstr "Herlaai"
33223409

33233410
#. js-lingui-id: t/YqKh
33243411
#: src/modules/ui/input/components/ImageInput.tsx
3412+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
33253413
msgid "Remove"
33263414
msgstr "Verwyder"
33273415

@@ -3399,6 +3487,11 @@ msgstr "Herstel rekords"
33993487
msgid "Results"
34003488
msgstr "Resultate"
34013489

3490+
#. js-lingui-id: BohSvm
3491+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
3492+
msgid "Review your import"
3493+
msgstr ""
3494+
34023495
#. js-lingui-id: 5dJK4M
34033496
#: src/pages/settings/roles/SettingsRoles.tsx
34043497
#: src/pages/settings/roles/SettingsRoles.tsx
@@ -3439,6 +3532,7 @@ msgstr "Skema"
34393532
#. js-lingui-id: A1taO8
34403533
#: src/modules/ui/navigation/navigation-drawer/components/MultiWorkspaceDropdown/internal/MultiWorkspaceDropdownWorkspacesListComponents.tsx
34413534
#: src/modules/sign-in-background-mock/components/SignInAppNavigationDrawerMock.tsx
3535+
#: src/modules/settings/roles/role-assignment/components/RoleAssignmentWorkspaceMemberPickerDropdown.tsx
34423536
#: src/modules/settings/admin-panel/components/SettingsAdminGeneral.tsx
34433537
#: src/modules/navigation/components/MainNavigationDrawerItems.tsx
34443538
#: src/modules/command-menu/hooks/useOpenRecordsSearchPageInCommandMenu.ts
@@ -3595,6 +3689,31 @@ msgstr "Sien werkvloeie"
35953689
msgid "Select Action"
35963690
msgstr "Kies Aksie"
35973691

3692+
#. js-lingui-id: hVPa4O
3693+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/UnmatchColumn.tsx
3694+
msgid "Select an option"
3695+
msgstr ""
3696+
3697+
#. js-lingui-id: 21YIUv
3698+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/components/TemplateColumn.tsx
3699+
msgid "Select column..."
3700+
msgstr ""
3701+
3702+
#. js-lingui-id: J6WI1B
3703+
#: src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx
3704+
msgid "Select file"
3705+
msgstr ""
3706+
3707+
#. js-lingui-id: ljSvAs
3708+
#: src/modules/spreadsheet-import/steps/components/SelectHeaderStep/SelectHeaderStep.tsx
3709+
msgid "Select header row"
3710+
msgstr ""
3711+
3712+
#. js-lingui-id: mWHn81
3713+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
3714+
msgid "Select the correct field for each column you'd like to import."
3715+
msgstr ""
3716+
35983717
#. js-lingui-id: pofGCP
35993718
#: src/modules/settings/data-model/fields/forms/boolean/components/SettingsDataModelFieldBooleanForm.tsx
36003719
msgid "Select the default value for this boolean field"
@@ -3605,6 +3724,11 @@ msgstr "Kies die verstek waarde vir hierdie booleaanse veld"
36053724
msgid "Select the events you wish to send to this endpoint"
36063725
msgstr "Kies die gebeure wat jy wil stuur na hierdie eindpunt"
36073726

3727+
#. js-lingui-id: +xn1pe
3728+
#: src/modules/spreadsheet-import/steps/components/SelectSheetStep/SelectSheetStep.tsx
3729+
msgid "Select the sheet to use"
3730+
msgstr ""
3731+
36083732
#. js-lingui-id: AXTJAW
36093733
#: src/pages/settings/profile/appearance/components/SettingsExperience.tsx
36103734
msgid "Select your preferred language"
@@ -3709,6 +3833,16 @@ msgstr "Behoort die verandering van 'n veld se etiket ook die API naam te verand
37093833
msgid "Should changing an object's label also change the API?"
37103834
msgstr "Moet 'n verandering aan 'n objek se etiket ook die API verander?"
37113835

3836+
#. js-lingui-id: qi+g0a
3837+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
3838+
msgid "Show only rows with errors"
3839+
msgstr ""
3840+
3841+
#. js-lingui-id: MHlGJL
3842+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
3843+
msgid "Show unmatched columns"
3844+
msgstr ""
3845+
37123846
#. js-lingui-id: uVg8dY
37133847
#: src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutOpenInContent.tsx
37143848
#: src/modules/object-record/object-options-dropdown/components/ObjectOptionsDropdownLayoutContent.tsx
@@ -3825,6 +3959,11 @@ msgstr "Onderwerp en metadata sal met jou span gedeel word."
38253959
msgid "Subject, body and attachments will be shared with your team."
38263960
msgstr "Onderwerp, liggaam en aanhangsels sal met jou span gedeel word."
38273961

3962+
#. js-lingui-id: hQRttt
3963+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
3964+
msgid "Submit"
3965+
msgstr ""
3966+
38283967
#. js-lingui-id: B5jRKH
38293968
#: src/pages/settings/SettingsBilling.tsx
38303969
msgid "Subscription has been switched {to}"
@@ -4006,6 +4145,16 @@ msgstr "Tema"
40064145
msgid "Theme "
40074146
msgstr "Tema "
40084147

4148+
#. js-lingui-id: /cSDOy
4149+
#: src/modules/spreadsheet-import/steps/components/MatchColumnsStep/MatchColumnsStep.tsx
4150+
msgid "There are required columns that are not matched or ignored. Do you want to continue?"
4151+
msgstr ""
4152+
4153+
#. js-lingui-id: luL9RX
4154+
#: src/modules/spreadsheet-import/steps/components/ValidationStep/ValidationStep.tsx
4155+
msgid "There are still some rows that contain errors. Rows with errors will be ignored when submitting."
4156+
msgstr ""
4157+
40094158
#. js-lingui-id: ynfkhb
40104159
#: src/pages/auth/PasswordReset.tsx
40114160
msgid "There was an error while updating password."
@@ -4163,7 +4312,13 @@ msgstr "Opgedateer"
41634312
msgid "Upload"
41644313
msgstr "Laai op"
41654314

4315+
#. js-lingui-id: 7OP1Xi
4316+
#: src/modules/spreadsheet-import/steps/components/UploadStep/components/DropZone.tsx
4317+
msgid "Upload .xlsx, .xls or .csv file"
4318+
msgstr ""
4319+
41664320
#. js-lingui-id: 2IXDgU
4321+
#: src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx
41674322
#: src/modules/settings/security/components/SSO/SettingsSSOSAMLForm.tsx
41684323
msgid "Upload file"
41694324
msgstr "Laai lêer op"
@@ -4240,6 +4395,11 @@ msgstr "Gebruiker is nie aangeteken nie"
42404395
#~ msgid "Users"
42414396
#~ msgstr "Users"
42424397

4398+
#. js-lingui-id: MGeZsN
4399+
#: src/modules/spreadsheet-import/steps/components/SpreadsheetImportStepperContainer.tsx
4400+
msgid "Validate data"
4401+
msgstr ""
4402+
42434403
#. js-lingui-id: fXVIZq
42444404
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx
42454405
#: src/pages/settings/data-model/SettingsObjectFieldEdit.tsx
@@ -4454,6 +4614,11 @@ msgstr "Skryf 'n geheim"
44544614
msgid "yes"
44554615
msgstr "ja"
44564616

4617+
#. js-lingui-id: qsAug0
4618+
#: src/modules/spreadsheet-import/components/MatchColumnSelect.tsx
4619+
msgid "You are already importing this column."
4620+
msgstr ""
4621+
44574622
#. js-lingui-id: MFDARJ
44584623
#: src/modules/object-record/record-table/empty-state/components/RecordTableEmptyStateReadOnly.tsx
44594624
msgid "You are not allowed to create records for this object"

0 commit comments

Comments
 (0)