Skip to content

Commit

Permalink
feat(SFT-783): Adjusting language
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmartens committed Jan 1, 2024
1 parent 4d6593a commit 07fa4b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const GroupItemWrapper = styled.div<GroupItemWrapperProps>`
`;

GroupItemWrapper.defaultProps = {
$empty: 'Drag Field Here!',
$empty: 'Drag and drop any field here',
color: colors.black,
};

Expand Down Expand Up @@ -106,7 +106,7 @@ export const FieldTypes = styled.div<FieldTypesProps>`
`;

FieldTypes.defaultProps = {
$empty: 'Drag Field Here!',
$empty: 'Drag and drop any field here',
};

export const UHFieldWrapper = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const CreateModal: ModalType = ({ closeModal }) => {
/>
</GroupHeader>
<GroupItemWrapper
$empty={translate('Drag Field Here!')}
$empty={translate('Drag and drop any field here')}
ref={(el) => (fieldListRefs.current[group.uid] = el)}
color={group.color}
>
Expand All @@ -159,7 +159,7 @@ export const CreateModal: ModalType = ({ closeModal }) => {
</GroupLayout>
))}
{state.groups?.grouped.length === 0 && (
<span>Please Click Add Group button to Added group here!</span>
<span>Click the 'Add Group' button on the right to begin.</span>
)}
</GroupWrapper>
<FieldListWrapper>
Expand All @@ -175,7 +175,7 @@ export const CreateModal: ModalType = ({ closeModal }) => {
<span>{translate('Unassigned')}</span>

<FieldTypes
$empty={translate('Drag Field Here!')}
$empty={translate('Drag and drop any field here')}
ref={(el) => (fieldListRefs.current.unassigned = el)}
>
{state.groups?.unassigned?.map((item) => (
Expand All @@ -192,7 +192,7 @@ export const CreateModal: ModalType = ({ closeModal }) => {
<span>{translate('Hidden')}</span>

<FieldTypes
$empty={translate('Drag Field Here!')}
$empty={translate('Drag and drop any field here')}
ref={(el) => (fieldListRefs.current.hidden = el)}
>
{state.groups?.hidden?.map((item) => (
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/src/Resources/js/client/client.js

Large diffs are not rendered by default.

0 comments on commit 07fa4b1

Please sign in to comment.