chore: tidy up typos across docs, comments, and setup copy (#29260)
This commit is contained in:
1 parent
e64de009ec
commit
46eb533dbd
18 files changed
+34
-34
No files matched your search
@@ -83,19 +83,19 @@ export default function PayPalSetup() {
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
<p className="text-lgf text-default mt-5 font-bold">Getting started with Paypal APP</p>
|
||||
<p className="text-lgf text-default mt-5 font-bold">Getting started with the PayPal app</p>
|
||||
<p className="text-default font-semi mt-2">
|
||||
Here in Cal.diy we offer Paypal as one of our payment gateway. You can use your own Paypal
|
||||
Business account to receive payments from your customers enabling and setting up price and
|
||||
currency for each of your event types.
|
||||
Cal.diy offers PayPal as one of its payment gateways. You can use your own PayPal
|
||||
Business account to receive payments from your customers by setting a price and currency
|
||||
for each of your event types.
|
||||
</p>
|
||||
|
||||
<p className="text-lgf text-default mt-5 inline-flex font-bold">
|
||||
<CircleAlertIcon className="mr-2 mt-1 h-4 w-4" /> Important requirements:
|
||||
</p>
|
||||
<ul className="text-default ml-1 mt-2 list-disc pl-2">
|
||||
<li>Paypal Business account</li>
|
||||
<li>Paypal Developer account</li>
|
||||
<li>PayPal Business account</li>
|
||||
<li>PayPal Developer account</li>
|
||||
</ul>
|
||||
|
||||
<p className="text-default mb-2 mt-5 font-bold">Resources:</p>
|
||||
@@ -118,7 +118,7 @@ export default function PayPalSetup() {
|
||||
<ol className="text-default ml-1 mt-5 list-decimal pl-2">
|
||||
{/* @TODO: translate */}
|
||||
<li>
|
||||
Log into your Paypal Developer account and create a new app{" "}
|
||||
Log into your PayPal Developer account and create a new app{" "}
|
||||
<a
|
||||
target="_blank"
|
||||
href="https://developer.paypal.com/dashboard/applications/live"
|
||||
|
||||
@@ -4,7 +4,7 @@ import { nextJsOrgRewriteConfig } from "./getNextjsOrgRewriteConfig";
|
||||
|
||||
// Top-level route names that are explicitly allowed for org rewrite (whitelist)
|
||||
export const topLevelRouteNamesWhitelistedForRewrite: string[] = [
|
||||
// We don't allow all dashboard route names to be used as slug because people are probably accustomed to access links like acme.cal.com/event-types etc.
|
||||
// We don't allow all dashboard route names to be used as slug because people are probably accustomed to accessing links like acme.cal.com/event-types etc.
|
||||
// So, we carefully allow, what is absolutely needed.
|
||||
// Allowed to be a team/user slug in organization because onboarding is a common team name
|
||||
"onboarding",
|
||||
@@ -81,7 +81,7 @@ function getRegExpMatchingAllReservedRoutes(suffix: string): string {
|
||||
const staticAssets = ["embed"];
|
||||
|
||||
// FIXME: I am not sure why public is needed here, an asset 'test' in public isn't accessible through "/public/test" but only through "/test"
|
||||
// We should infact scan through all files in public and exclude them instead.
|
||||
// We should in fact scan through all files in public and exclude them instead.
|
||||
const nextJsSpecialPaths = ["_next", "public"];
|
||||
|
||||
const allTopLevelRoutesExcludedFromOrgRewrite = topLevelRoutesExcludedFromOrgRewrite
|
||||
|
||||
@@ -116,7 +116,7 @@ test.describe("Availability", () => {
|
||||
await page.getByTestId("new-schedule").first().click();
|
||||
await page.locator('[id="name"]').fill("More working hours");
|
||||
page.locator('[type="submit"]').click();
|
||||
await expect(page.getByTestId("availablity-title")).toHaveValue("More working hours");
|
||||
await expect(page.getByTestId("availability-title")).toHaveValue("More working hours");
|
||||
});
|
||||
await test.step("Can delete a schedule", async () => {
|
||||
await page.getByTestId("go-back-button").click();
|
||||
@@ -147,11 +147,11 @@ test.describe("Availability", () => {
|
||||
const save = (await localize("en"))("save");
|
||||
const copyTimesTo = (await localize("en"))("copy_times_to");
|
||||
|
||||
const availTitle = page.getByTestId("availablity-title");
|
||||
const availTitle = page.getByTestId("availability-title");
|
||||
await availTitle.locator("xpath=..").locator("span.whitespace-pre").first().click();
|
||||
await expect(availTitle).toBeEditable();
|
||||
// change availability name
|
||||
await page.getByTestId("availablity-title").fill("Working Hours test");
|
||||
await page.getByTestId("availability-title").fill("Working Hours test");
|
||||
await expect(page.getByTestId("subtitle").first()).toBeVisible();
|
||||
await page.getByTestId(sunday).getByRole("switch").click();
|
||||
await page.getByTestId(monday).first().click();
|
||||
|
||||
@@ -239,8 +239,8 @@ test.describe("Payment app", () => {
|
||||
|
||||
await page.getByRole("button", { name: "Setup" }).click();
|
||||
|
||||
// Expect "Getting started with Paypal APP" to be displayed
|
||||
await expect(page.locator("text=Getting started with Paypal APP").first()).toBeVisible();
|
||||
await expect(page).toHaveURL(/\/apps\/paypal\/setup/);
|
||||
await expect(page.getByText("Getting started with the PayPal app")).toBeVisible();
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user