Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change everything to sentence case #500

Merged
merged 4 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/components/eventModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
</script>

<Modal bind:show onSubmit={create} size="big">
<svelte:fragment slot="header">Create Event</svelte:fragment>
<svelte:fragment slot="header">Create event</svelte:fragment>
<slot />
<div>
<p class="u-text">Choose a service</p>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/createOrganization.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</script>

<Modal {error} onSubmit={create} size="big" bind:show>
<svelte:fragment slot="header">Create New Organization</svelte:fragment>
<svelte:fragment slot="header">Create new organization</svelte:fragment>
<FormList>
<InputText
id="organization-name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</script>

<Modal {error} onSubmit={create} size="big" bind:show>
<svelte:fragment slot="header">Create Project</svelte:fragment>
<svelte:fragment slot="header">Create project</svelte:fragment>
<FormList>
<InputText id="name" label="Name" bind:value={name} required autofocus={true} />
{#if !showCustomId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</script>

<Modal {error} size="big" bind:show={showCreate} onSubmit={create}>
<svelte:fragment slot="header">Create Team</svelte:fragment>
<svelte:fragment slot="header">Create team</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</script>

<Modal {error} size="big" bind:show={showCreate} onSubmit={create}>
<svelte:fragment slot="header">Create User</svelte:fragment>
<svelte:fragment slot="header">Create user</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</script>

<Modal {error} onSubmit={create} size="big" bind:show={showCreate}>
<svelte:fragment slot="header">Create Membership</svelte:fragment>
<svelte:fragment slot="header">Create membership</svelte:fragment>
<FormList>
<InputEmail
id="email"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</script>

<Modal size="big" onSubmit={create} bind:show={showCreate}>
<svelte:fragment slot="header">Create Database</svelte:fragment>
<svelte:fragment slot="header">Create database</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<svelte:fragment slot="aside">
<div>
<p>Created: {toLocaleDateTime($doc.$createdAt)}</p>
<p>Last Updated: {toLocaleDateTime($doc.$updatedAt)}</p>
<p>Last updated: {toLocaleDateTime($doc.$updatedAt)}</p>
</div>
</svelte:fragment>
</CardGrid>
Expand Down Expand Up @@ -121,7 +121,7 @@
<h6 class="u-bold u-trim-1">{$doc.$id}</h6>
</svelte:fragment>
<p>
Last Updated: {toLocaleDateTime($doc.$updatedAt)}
Last updated: {toLocaleDateTime($doc.$updatedAt)}
</p>
</Box>
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
</script>

<Modal bind:error size="big" onSubmit={create} bind:show={showCreateIndex}>
<svelte:fragment slot="header">Create Index</svelte:fragment>
<svelte:fragment slot="header">Create index</svelte:fragment>
<FormList>
<InputText id="key" label="Index Key" placeholder="Enter Key" bind:value={key} autofocus />
<InputSelect options={types} id="type" label="Index type" bind:value={selectedType} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<svelte:fragment slot="title">
<h6 class="u-bold u-trim-1">{$collection.name}</h6>
</svelte:fragment>
<p>Last Updated: {toLocaleDateTime($collection.$updatedAt)}</p>
<p>Last updated: {toLocaleDateTime($collection.$updatedAt)}</p>
</Box>
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</ul>
<div>
<p>Created: {toLocaleDateTime($collection.$createdAt)}</p>
<p>Last Updated: {toLocaleDateTime($collection.$updatedAt)}</p>
<p>Last updated: {toLocaleDateTime($collection.$updatedAt)}</p>
</div>
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</script>

<Modal size="big" bind:show={showCreate} onSubmit={create}>
<svelte:fragment slot="header">Create Collection</svelte:fragment>
<svelte:fragment slot="header">Create collection</svelte:fragment>
<FormList>
<InputText
id="name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>
<div class="grid-1-2-col-2">
<p>Created: {toLocaleDateTime($database.$createdAt)}</p>
<p>Last Updated: {toLocaleDateTime($database.$updatedAt)}</p>
<p>Last updated: {toLocaleDateTime($database.$updatedAt)}</p>
</div>
</div>
</Card>
Expand Down Expand Up @@ -100,7 +100,7 @@
<Box>
<svelte:fragment slot="title">
<h6 class="u-bold u-trim-1">{$database.name}</h6>
<span>Last Updated: {toLocaleDateTime($database.$updatedAt)}</span>
<span>Last updated: {toLocaleDateTime($database.$updatedAt)}</span>
</svelte:fragment>
</Box>
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@
});
</script>

<Wizard title="Create Function" steps={stepsComponents} on:finish={create} on:exit={onFinish} />
<Wizard title="Create function" steps={stepsComponents} on:finish={create} on:exit={onFinish} />
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
</script>

<Modal {error} size="big" bind:show={showCreate} onSubmit={create}>
<svelte:fragment slot="header">Create Deployment</svelte:fragment>
<svelte:fragment slot="header">Create deployment</svelte:fragment>
<Tabs>
<Tab on:click={() => (mode = Mode.CLI)} selected={mode === Mode.CLI} event="deploy_cli">
CLI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<svelte:fragment slot="title">
<h6 class="u-bold u-trim-1">{$func.name}</h6>
</svelte:fragment>
<p>Last Updated: {toLocaleDateTime($func.$updatedAt)}</p>
<p>Last updated: {toLocaleDateTime($func.$updatedAt)}</p>
</Box>
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<span class="u-margin-inline-start-auto">
<Button on:click={create}>
<span class="icon-plus" aria-hidden="true" />
<span class="text">Create API Key</span>
<span class="text">Create API key</span>
</Button>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</script>

<WizardStep>
<svelte:fragment slot="title">Create an API Key</svelte:fragment>
<svelte:fragment slot="title">Create an API key</svelte:fragment>
<svelte:fragment slot="subtitle">Let's create an API Key.</svelte:fragment>
<FormList>
<InputText
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<div class="grid-item-1-end-start">
<div class="u-flex u-gap-16 u-flex-wrap">
<div class="grid-item-1-end-start">
<p class="eyebrow-heading-3">Last Updated</p>
<p class="eyebrow-heading-3">Last updated</p>
<p>{toLocaleDateTime(platform.$updatedAt)}</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</script>

<Modal size="big" {error} bind:show={showCreate} onSubmit={create}>
<svelte:fragment slot="header">Create File</svelte:fragment>
<svelte:fragment slot="header">Create file</svelte:fragment>
<FormList>
<div>
<InputFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<p>MIME Type: {$file.mimeType}</p>
<p>Size: {calculateSize($file.sizeOriginal)}</p>
<p>Created: {toLocaleDate($file.$createdAt)}</p>
<p>Last Updated: {toLocaleDate($file.$updatedAt)}</p>
<p>Last updated: {toLocaleDate($file.$updatedAt)}</p>
</div>
</svelte:fragment>

Expand Down Expand Up @@ -157,7 +157,7 @@
<h6 class="u-bold u-trim-1" data-private>{$file.name}</h6>
</svelte:fragment>
<p>
Last Updated: {toLocaleDateTime($file.$updatedAt)}
Last updated: {toLocaleDateTime($file.$updatedAt)}
</p>
</Box>
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
bind:value={enabled} />
</FormList>
<p class="text">Created: {toLocaleDateTime($bucket.$createdAt)}</p>
<p class="text">Last Updated: {toLocaleDateTime($bucket.$updatedAt)}</p>
<p class="text">Last updated: {toLocaleDateTime($bucket.$updatedAt)}</p>
</div>
</svelte:fragment>

Expand Down Expand Up @@ -455,7 +455,7 @@
<svelte:fragment slot="title">
<h6 class="u-bold u-trim-1">{$bucket.name}</h6>
</svelte:fragment>
<p class="text">Last Updated: {toLocaleDateTime($bucket.$updatedAt)}</p>
<p class="text">Last updated: {toLocaleDateTime($bucket.$updatedAt)}</p>
</Box>
</svelte:fragment>

Expand Down
4 changes: 2 additions & 2 deletions src/routes/console/project-[project]/storage/create.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
</script>

<Modal {error} onSubmit={create} size="big" bind:show={showCreate}>
<svelte:fragment slot="header">Create Bucket</svelte:fragment>
<svelte:fragment slot="header">Create bucket</svelte:fragment>
<FormList>
<InputText
id="name"
label="Name"
placeholder="New Bucket"
placeholder="New bucket"
bind:value={name}
autofocus
required />
Expand Down