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 all commits
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/lib/pages/domains/delete.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Domain</svelte:fragment>
<svelte:fragment slot="header">Delete domain</svelte:fragment>
{#if selectedDomain}
<p data-private>
Are you sure you want to delete <b>{selectedDomain.domain}</b>? You will no longer be
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/account/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
</Form>
<CardGrid danger>
<div>
<Heading tag="h6" size="7">Delete Account</Heading>
<Heading tag="h6" size="7">Delete account</Heading>
</div>
<p>
Your account will be permanently deleted and access will be lost to any of your teams
Expand Down
2 changes: 1 addition & 1 deletion src/routes/console/account/delete.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Account</svelte:fragment>
<svelte:fragment slot="header">Delete account</svelte:fragment>
<p>Are you sure you want to delete your account?</p>
<svelte:fragment slot="footer">
<Button text on:click={() => (showDelete = false)}>Cancel</Button>
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 @@ -50,7 +50,7 @@
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">
{isUser ? 'Leave Organization' : 'Delete Member'}
{isUser ? 'Leave organization' : 'Delete member'}
</svelte:fragment>
<p data-private>
{isUser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Organization</svelte:fragment>
<svelte:fragment slot="header">Delete organization</svelte:fragment>
<p>
Are you sure you want to delete <b>{$organization.name}</b>? All projects ({$organization.total})
and data associated with this organization will be deleted. This action is irreversible.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

<CardGrid danger>
<div>
<Heading tag="h6" size="7">Delete Organization</Heading>
<Heading tag="h6" size="7">Delete organization</Heading>
</div>
<p>
The organization will be permanently deleted, including all projects and data
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 @@ -35,13 +35,14 @@

<Form onSubmit={updatePasswordDictionary}>
<CardGrid>
<Heading tag="h2" size="7" id="password-dictionary">Password Dictionary</Heading>
<Heading tag="h2" size="7" id="password-dictionary">Password dictionary</Heading>

<svelte:fragment slot="aside">
<FormList>
<InputSwitch
bind:value={passwordDictionary}
id="passwordDictionary"
label="Password Dictionary" />
label="Password dictionary" />
</FormList>
<p class="text">
Enabling this option prevent users from setting insecure passwords by comparing the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@

<Form onSubmit={updatePasswordHistoryLimit}>
<CardGrid>
<Heading tag="h2" size="7" id="password-history">Password History</Heading>
<Heading tag="h2" size="7" id="password-history">Password history</Heading>
<svelte:fragment slot="aside">
<FormList>
<InputSwitch
bind:value={passwordHistoryEnabled}
id="passwordHistoryEnabled"
label="Password History" />
label="Password history" />
</FormList>
<p class="text">
Enabling this option prevents users from reusing recent passwords by comparing the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<Form onSubmit={updateSessionsLimit}>
<CardGrid>
<Heading tag="h2" size="7" id="sessions-limit">Sessions Limit</Heading>
<Heading tag="h2" size="7" id="sessions-limit">Sessions limit</Heading>
<p>Maximum number of active sessions allowed per user.</p>
<svelte:fragment slot="aside">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</script>

<CardGrid>
<Heading tag="h2" size="7" id="users-limit">Users Limit</Heading>
<Heading tag="h2" size="7" id="users-limit">Users limit</Heading>
<p>
Limit new users from signing up for your project, regardless of authentication method. You
can still create users and team memberships from your Appwrite console.
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 @@ -9,7 +9,7 @@

<CardGrid danger>
<div>
<Heading tag="h6" size="7">Delete Team</Heading>
<Heading tag="h6" size="7">Delete team</Heading>
</div>

<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Team</svelte:fragment>
<svelte:fragment slot="header">Delete team</svelte:fragment>
<p data-private>
Are you sure you want to delete <b>{team.name}</b>?
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<CardGrid danger>
<div>
<Heading tag="h6" size="7">Delete User</Heading>
<Heading tag="h6" size="7">Delete user</Heading>
</div>
<p>
The user will be permanently deleted, including all data associated with this user. This
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete All Sessions</svelte:fragment>
<svelte:fragment slot="header">Delete all sessions</svelte:fragment>
<p data-private>
Are you sure you want to delete <b>all of {$user.name}'s sessions?</b>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Member</svelte:fragment>
<svelte:fragment slot="header">Delete member</svelte:fragment>
{#if selectedMembership}
<p data-private>
Are you sure you want to delete <b>{selectedMembership.userName}</b> from '{selectedMembership.teamName}'?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete Sessions</svelte:fragment>
<svelte:fragment slot="header">Delete sessions</svelte:fragment>

<p>Are you sure you want to delete this session?</p>
<svelte:fragment slot="footer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
icon="exclamation"
state="warning"
headerDivider={false}>
<svelte:fragment slot="header">Delete User</svelte:fragment>
<svelte:fragment slot="header">Delete user</svelte:fragment>
<p data-private>Are you sure you want to delete <b>{$user.name}</b> from '{$project.name}'?</p>
<svelte:fragment slot="footer">
<Button text on:click={() => (showDelete = false)}>Cancel</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</div>
<Table>
<TableHeader>
<TableCellHead width={140}>Browser and Device</TableCellHead>
<TableCellHead width={140}>Browser and device</TableCellHead>
<TableCellHead width={140}>Session</TableCellHead>
<TableCellHead width={140}>Location</TableCellHead>
<TableCellHead width={140}>IP</TableCellHead>
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 @@ -52,7 +52,7 @@
headerDivider={false}
bind:show={showDelete}
onSubmit={handleDelete}>
<svelte:fragment slot="header">Delete Attribute</svelte:fragment>
<svelte:fragment slot="header">Delete attribute</svelte:fragment>
<p class="text" data-private>
Are you sure you want to delete <b data-private>{selectedAttribute?.key}</b> from
<b data-private>{$collection?.name}</b>?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@
<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>
<CardGrid>
<Heading tag="h6" size="7">Permissions</Heading>
<p>
Assign read or write permissions at the <b> Collection Level</b> or
<b> Document Level</b>. If collection Level permissions are assigned, permissions
Assign read or write permissions at the <b>collection level</b> or
<b>document level</b>. If collection level permissions are assigned, permissions
applied to individual documents are ignored.
</p>

Expand All @@ -80,7 +80,7 @@
<svelte:fragment slot="title">Document security is enabled</svelte:fragment>
<p class="text">
Users will be able to access this document if they have been granted <b
>either Document or Collection permissions.
>either document or collection permissions.
</b>
</p>
</Alert>
Expand All @@ -93,7 +93,7 @@
<svelte:fragment slot="title">Document security is disabled</svelte:fragment>
<p class="text">
If you want to assign document permissions, navigate to Collection settings
and enable document security. Otherwise, only Collection permissions will be
and enable document security. Otherwise, only collection permissions will be
used.
</p>
</Alert>
Expand All @@ -110,7 +110,7 @@
</CardGrid>

<CardGrid danger>
<Heading tag="h6" size="7">Delete Document</Heading>
<Heading tag="h6" size="7">Delete document</Heading>
<p>
The document will be permanently deleted, including all the data within it. This action
is irreversible.
Expand All @@ -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>
</BoxAvatar>
</svelte:fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
onSubmit={handleDelete}
bind:show={showDelete}
headerDivider={false}>
<svelte:fragment slot="header">Delete Document</svelte:fragment>
<svelte:fragment slot="header">Delete document</svelte:fragment>

{#if relAttributes?.length}
<p class="text">This document contains the following relationships:</p>
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 @@ -45,7 +45,7 @@
onSubmit={handleDelete}
bind:show={showDelete}
headerDivider={false}>
<svelte:fragment slot="header">Delete Index</svelte:fragment>
<svelte:fragment slot="header">Delete index</svelte:fragment>

<p data-private>
Are you sure you want to delete <b>'{selectedIndex.key}' from {$collection.name}</b>?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</script>

<CardGrid danger>
<Heading tag="h6" size="7">Delete Collection</Heading>
<Heading tag="h6" size="7">Delete collection</Heading>
<p>
The collection will be permanently deleted, including all the documents within it. This
action is irreversible.
Expand All @@ -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>
</BoxAvatar>
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
bind:show={showDelete}
onSubmit={handleDelete}
headerDivider={false}>
<svelte:fragment slot="header">Delete Collection</svelte:fragment>
<svelte:fragment slot="header">Delete collection</svelte:fragment>

<p data-private>
Are you sure you want to delete <b>{$collection.name}</b>?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<Form onSubmit={updateDisplayName}>
<CardGrid>
<Heading tag="h6" size="7">Display Name</Heading>
<Heading tag="h6" size="7">Display name</Heading>
<p class="text">
Select string attributes as display names for your documents. The selected names will be
used as short forms to identify documents in the Appwrite console, like when creating
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
target="_blank"
rel="noopener noreferrer"
class="link">
Permissions Guide
Permissions fuide
</a>.
</p>
<svelte:fragment slot="aside">
Expand Down
Loading