Add missing translations (#10414)
As per title, add ~200 missing translations in different places of app. Most places are now available for translation with AI but still some aren't available - some enums (like in MenuItemSelectColor.tsx) or values in complex types (like in SettingsNonCompositeFieldTypeConfigs.ts) or values where are injected some variables (like in SettingsDataModelFieldNumberForm.tsx) --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
+5
-3
@@ -8,8 +8,10 @@ import { viewPickerIsPersistingComponentState } from '@/views/view-picker/states
|
||||
import { viewPickerKanbanFieldMetadataIdComponentState } from '@/views/view-picker/states/viewPickerKanbanFieldMetadataIdComponentState';
|
||||
import { viewPickerTypeComponentState } from '@/views/view-picker/states/viewPickerTypeComponentState';
|
||||
import { Button } from 'twenty-ui';
|
||||
import { useLingui } from '@lingui/react/macro';
|
||||
|
||||
export const ViewPickerCreateButton = () => {
|
||||
const { t } = useLingui();
|
||||
const { availableFieldsForKanban, navigateToSelectSettings } =
|
||||
useGetAvailableFieldsForKanban();
|
||||
|
||||
@@ -34,7 +36,7 @@ export const ViewPickerCreateButton = () => {
|
||||
if (viewPickerMode === 'edit') {
|
||||
return (
|
||||
<Button
|
||||
title="Delete"
|
||||
title={t`Delete`}
|
||||
onClick={deleteViewFromCurrentState}
|
||||
accent="danger"
|
||||
fullWidth
|
||||
@@ -53,7 +55,7 @@ export const ViewPickerCreateButton = () => {
|
||||
) {
|
||||
return (
|
||||
<Button
|
||||
title="Go to Settings"
|
||||
title={t`Go to Settings`}
|
||||
onClick={navigateToSelectSettings}
|
||||
size="small"
|
||||
accent="blue"
|
||||
@@ -69,7 +71,7 @@ export const ViewPickerCreateButton = () => {
|
||||
) {
|
||||
return (
|
||||
<Button
|
||||
title="Create"
|
||||
title={t`Create`}
|
||||
onClick={handleCreateButtonClick}
|
||||
accent="blue"
|
||||
fullWidth
|
||||
|
||||
Reference in New Issue
Block a user