Skip to content

Commit

Permalink
refactor: copy changes (#631)
Browse files Browse the repository at this point in the history
* refactor: email instead of e-mail

* refactor: copy changes

* refactor: copy changes

* refactor: copy changes
  • Loading branch information
albertfolch-redeemeum authored May 17, 2023
1 parent fc0e451 commit 410d084
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 56 deletions.
2 changes: 1 addition & 1 deletion docs/code-of-conduct.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ decisions when appropriate.

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
Examples of representing our community include using an official email address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ export default function DisputesTable({ disputes }: Props) {
}}
onClick={() => {
copyToClipboard(sanitizeUrl(emailAddress)).then(() => {
toast(() => "Seller e-mail has been copied to clipboard");
toast(() => "Seller email has been copied to clipboard");
});
}}
>
Copy E-Mail
Copy email
</BosonButton>
)}
{dispute.state === subgraph.DisputeState.Escalated && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default function CreateBosonLensAccountSummary({
$fontSize="0.75rem"
lineHeight="1.125rem"
>
Contact e-mail *
Contact email *
</Typography>
<Typography
fontWeight="400"
Expand Down Expand Up @@ -411,18 +411,9 @@ export default function CreateBosonLensAccountSummary({
lineHeight="1.5rem"
color={colors.white}
>
You wont be able to make changes after confirming
</Typography>
<Typography
fontWeight="400"
$fontSize="1rem"
lineHeight="1.5rem"
color={colors.lightGrey}
>
By selecting confirm, you agree to pay the above fees, accept the
Boson seller agreement and Payments Terms of Use, acknowledge
reading the User Privacy Notice and assume full responsibility for
the item offered and the content of your listing.
Royalty share and payment information cannot be changed after
creating your seller account. Profile information can be edited or
changed at anytime.
</Typography>
</Grid>
</Grid>
Expand Down
6 changes: 3 additions & 3 deletions src/components/modal/components/Profile/ProfileFormFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ export function ProfileFormFields({
disabled={disableDescription}
/>
</FormField>
<FormField title="Contact e-mail" required>
<FormField title="Contact email" required>
<Input
name="email"
placeholder="e-Mail"
placeholder="email"
pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"
/>
</FormField>
Expand All @@ -90,7 +90,7 @@ export function ProfileFormFields({
<FormField
title="Communication method"
required
subTitle="The buyer's delivery address will be sent to you via the dApp's chat function (XMTP). For further communication, like sending tracking IDs or receiving inquiries from buyers about their order status, specify your preference: continuing on XMTP (chat) or switching to e-mail."
subTitle="The buyer's delivery address will be sent to you via the dApp's chat function (XMTP). For further communication, like sending tracking IDs or receiving inquiries from buyers about their order status, specify your preference: continuing on XMTP (chat) or switching to email."
>
<Select
placeholder="Choose a communication channel..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export default function RegularProfileForm({
</Typography>
{!isEdit && (
<Typography>
To begin selling on the BosonApp, start by creating a profile and
seller account
To begin selling on Boson, create a profile and a seller account
in the steps below.
</Typography>
)}
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default function RegularProfileSummary({
$fontSize="0.75rem"
lineHeight="1.125rem"
>
Contact e-mail
Contact email
</Typography>
<Typography
fontWeight="400"
Expand Down Expand Up @@ -289,18 +289,9 @@ export default function RegularProfileSummary({
lineHeight="1.5rem"
color={colors.white}
>
You wont be able to make changes after confirming
</Typography>
<Typography
fontWeight="400"
$fontSize="1rem"
lineHeight="1.5rem"
color={colors.lightGrey}
>
By selecting confirm, you agree to pay the above fees, accept the
Boson seller agreement and Payments Terms of Use, acknowledge
reading the User Privacy Notice and assume full responsibility for
the item offered and the content of your listing.
Royalty share and payment information cannot be changed after
creating your seller account. Profile information can be edited or
changed at anytime.
</Typography>
</Grid>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const getCommonFieldsValidation = ({
const validation = Yup.string()
.trim()
.required(validationMessage.required)
.email("Must be an e-mail");
.email("Must be an email");
return withMaxLengthValidation
? validation.max(METADATA_LENGTH_LIMIT, maxLengthErrorMessage)
: validation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const FormModel = {
name: "email",
requiredErrorMessage: "This field is required",
placeholder: "Email",
mustBeEmail: "This is not an e-mail"
mustBeEmail: "This is not an email"
},
phone: {
name: "phone",
Expand Down
2 changes: 1 addition & 1 deletion src/components/product/ConfirmProductDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default function ConfirmProductDetails({
</GridBox>
<GridBox $minWidth="6rem">
<FormFieldContainer>
<FormField title="Contact E-Mail" required>
<FormField title="Contact email" required>
<ContentValue tag="p">
{values.createYourProfile.email}
</ContentValue>
Expand Down
2 changes: 1 addition & 1 deletion src/components/product/utils/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const OPTIONS_CHANNEL_COMMUNICATIONS_PREFERENCE = [
{
// default option
value: ContactPreference.XMTP_AND_EMAIL,
label: "Chat (XMTP) for delivery information; e-mail after"
label: "Chat (XMTP) for delivery information; email after"
},
{
value: ContactPreference.XMTP,
Expand Down
26 changes: 13 additions & 13 deletions src/components/product/utils/productHelpOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const createYourProfileHelp = [
{
title: "Where will this information be displayed?",
description:
"Your description and external URLs are shown on the product details page for any offer you create. Your email is visible on your profile and offers you create, buyers will contact you via this e-mail to ask questions and resolve problems."
"Your description and external URLs are shown on the product details page for any offer you create. Your email is visible on your profile and offers you create, buyers will contact you via this email to ask questions and resolve problems."
} as const,
{
title: "What if I don't have a Website/Twitter/Instagram?",
Expand Down Expand Up @@ -72,7 +72,7 @@ export const createYourProfileHelp = [

export const productTypeHelp = [
{
title: "What is phygital?",
title: "What is a phygital?",
description:
"A Phygital item is one that exists both digitally (in the form of an NFT) and also in a physical form. The digital item must be a visual representation of the physical."
} as const,
Expand Down Expand Up @@ -123,7 +123,7 @@ export const productTypeHelp = [
{
title: "Why would I sell a phygital item?",
description:
"This new asset form bridges the physical and digital world, allowing your products to hit new levels of utility and reach an evergrowing new audience."
"This new asset form bridges the physical and digital world, allowing your products to hit new levels of utility and reach an ever-growing new audience."
} as const,
{
title: "How many images do I need?",
Expand All @@ -147,16 +147,16 @@ export const productVariantsHelp = [...productTypeHelp];
export const productImagesHelp = [...productTypeHelp];
export const coreTermsOfSaleHelp = [
{
title: "What is a Token gated Offer?",
title: "What is a token gated offer?",
description:
"Make your offer exclusive by limiting the ability to purchase your item to users holding a specific token."
} as const,
{
title: "What is a Dispute Resolver?",
title: "What is a dispute resolver?",
description: (
<>
<Typography tag="p" style={{ margin: "0" }}>
If a buyer raises and escalates a dispute, the dispute resolver step
If a buyer raises and escalates a dispute, the dispute resolver steps
in to resolve the dispute.
</Typography>
<Typography tag="p" style={{ margin: "0" }}>
Expand All @@ -167,15 +167,15 @@ export const coreTermsOfSaleHelp = [
)
} as const,
{
title: "What is an Exchange Policy?",
title: "What is an exchange policy?",
description: (
<>
<Typography tag="p" style={{ margin: "0 0 10px 0" }}>
The exchange policy covers contractual and protocol terms of the
exchange to protect buyer and seller.
The exchange policy covers both the contractual and the protocol terms
of the exchange to protect buyer and seller.
</Typography>
<Typography tag="p" style={{ margin: "0 0 10px 0" }}>
This includes obligations of both parties to follow thru with their
This includes obligations of both parties to follow through with their
commitment, and evidence requirements in case there is a dispute.
</Typography>
<Typography tag="p" style={{ margin: "0" }}>
Expand All @@ -186,7 +186,7 @@ export const coreTermsOfSaleHelp = [
)
} as const,
{
title: "How long should the Redemption period be?",
title: "How long should the redemption period be?",
description: (
<>
<Typography tag="p" style={{ margin: "0 0 10px 0" }}>
Expand All @@ -202,12 +202,12 @@ export const coreTermsOfSaleHelp = [
)
} as const,
{
title: "What Happens when the Offer Ends?",
title: "What happens when the offer ends?",
description:
"When your offer period expires, buyers are no longer able to make a commitment."
} as const,
{
title: "What is buyer cancel penalty?",
title: "What is the buyer cancel penalty?",
description:
"If the buyer fails to redeem the item within the redemption period they will receive back the payment minus the cancellation penalty.This penalty is to cover the inconvenience caused to the seller."
} as const,
Expand Down
6 changes: 3 additions & 3 deletions src/components/seller/dashboard/SellerDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ export default function SellerDashboard({
<Grid justifyContent="space-between" alignItems="center">
<div>
<Typography tag="h4" padding="0">
You need to top up your seller deposit pool
Top up your seller deposit pool!
</Typography>
<Typography tag="p" padding="0">
Currently, your product cant be bought becasue the balance in
your seller deposit pool is not sufficient enough.
Currently, your product can't be purchased because the funds
in your seller deposit pool is insufficient.
</Typography>
</div>
<Grid justifyContent="flex-end" alignItems="center">
Expand Down
4 changes: 2 additions & 2 deletions src/pages/common/PrivacyPolicy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ export default function PrivacyPolicy() {
</li>
<li>
<Text>
you request or agree to be included in an e-mail, marketing
you request or agree to be included in an email, marketing
or other mailing list;
</Text>
</li>
Expand Down Expand Up @@ -789,7 +789,7 @@ export default function PrivacyPolicy() {
<Text>
<b>Contacting you.</b> When we contact or send you information
for the above purposes and purposes for which you have
consented, we may do so by post, e-mail, SMS, telephone or such
consented, we may do so by post, email, SMS, telephone or such
other means provided by you. If you do not wish to receive any
communication or information from us, or wish to restrict the
manner by which we may contact or send you information, you may
Expand Down

0 comments on commit 410d084

Please sign in to comment.