Skip to content

Commit 251b07f

Browse files
authored
Merge pull request #329 from connorabbas/develop
Sentence case for labels and page titles
2 parents e875e09 + 713fbe9 commit 251b07f

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

resources/js/pages/auth/ForgotPassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ onMounted(() => {
2626

2727
<template>
2828
<GuestAuthLayout>
29-
<InertiaHead title="Forgot Password" />
29+
<InertiaHead title="Forgot password" />
3030

3131
<template
3232
v-if="status"

resources/js/pages/auth/Register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ onMounted(() => {
108108
</div>
109109

110110
<div class="flex flex-col gap-2">
111-
<label for="password-confirmation">Confirm Password</label>
111+
<label for="password-confirmation">Confirm password</label>
112112
<Password
113113
v-model="registerForm.password_confirmation"
114114
:invalid="Boolean(registerForm.errors?.password_confirmation)"

resources/js/pages/auth/ResetPassword.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ onMounted(() => {
3636

3737
<template>
3838
<GuestAuthLayout>
39-
<InertiaHead title="Reset Password" />
39+
<InertiaHead title="Reset password" />
4040

4141
<template #title>
4242
<div class="text-center">
@@ -77,7 +77,7 @@ onMounted(() => {
7777
</div>
7878

7979
<div class="flex flex-col gap-2">
80-
<label for="password">New Password</label>
80+
<label for="password">New password</label>
8181
<Password
8282
v-model="resetPwForm.password"
8383
:invalid="Boolean(resetPwForm.errors?.password)"
@@ -98,7 +98,7 @@ onMounted(() => {
9898
</div>
9999

100100
<div class="flex flex-col gap-2">
101-
<label for="password-confirmation">Confirm New Password</label>
101+
<label for="password-confirmation">Confirm new password</label>
102102
<Password
103103
v-model="resetPwForm.password_confirmation"
104104
:invalid="Boolean(resetPwForm.errors?.password_confirmation)"

resources/js/pages/auth/VerifyEmail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const verificationLinkSent = computed(
2525

2626
<template>
2727
<GuestAuthLayout>
28-
<InertiaHead title="Email Verification" />
28+
<InertiaHead title="Email verification" />
2929

3030
<template #title>
3131
<div class="text-center">

resources/js/pages/settings/Appearance.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import SelectColorModeButton from '@/components/SelectColorModeButton.vue';
55
66
const breadcrumbs = [
77
{ label: 'Dashboard', route: route('dashboard') },
8-
{ label: 'Appearance Settings' },
8+
{ label: 'Appearance settings' },
99
];
1010
</script>
1111

1212
<template>
1313
<AppLayout :breadcrumbs>
14-
<InertiaHead title="Appearance Settings" />
14+
<InertiaHead title="Appearance settings" />
1515

1616
<SettingsLayout>
1717
<Card

resources/js/pages/settings/Password.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defineProps({
1717
1818
const breadcrumbs = [
1919
{ label: 'Dashboard', route: route('dashboard') },
20-
{ label: 'Password Settings' },
20+
{ label: 'Password settings' },
2121
];
2222
2323
const currentPasswordInput = useTemplateRef('current-password-input');
@@ -67,15 +67,15 @@ const updatePassword = () => {
6767
6868
<template>
6969
<AppLayout :breadcrumbs>
70-
<InertiaHead title="Password Settings" />
70+
<InertiaHead title="Password settings" />
7171
7272
<SettingsLayout>
7373
<Card
7474
pt:body:class="max-w-2xl space-y-3"
7575
pt:caption:class="space-y-1"
7676
>
7777
<template #title>
78-
Update Password
78+
Update password
7979
</template>
8080
<template #subtitle>
8181
Ensure your account is using a long, random password to stay secure
@@ -86,7 +86,7 @@ const updatePassword = () => {
8686
@submit.prevent="updatePassword"
8787
>
8888
<div class="flex flex-col gap-2">
89-
<label for="current-password">Current Password</label>
89+
<label for="current-password">Current password</label>
9090
<Password
9191
ref="current-password-input"
9292
v-model="updatePasswordForm.current_password"
@@ -108,7 +108,7 @@ const updatePassword = () => {
108108
</Message>
109109
</div>
110110
<div class="flex flex-col gap-2">
111-
<label for="password">New Password</label>
111+
<label for="password">New password</label>
112112
<Password
113113
ref="new-password-input"
114114
v-model="updatePasswordForm.password"
@@ -129,7 +129,7 @@ const updatePassword = () => {
129129
</Message>
130130
</div>
131131
<div class="flex flex-col gap-2">
132-
<label for="password-confirmation">Confirm New Password</label>
132+
<label for="password-confirmation">Confirm pew password</label>
133133
<Password
134134
v-model="updatePasswordForm.password_confirmation"
135135
:invalid="Boolean(updatePasswordForm.errors?.password_confirmation)"

resources/js/pages/settings/Profile.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defineProps({
1717
1818
const breadcrumbs = [
1919
{ label: 'Dashboard', route: route('dashboard') },
20-
{ label: 'Profile Settings' },
20+
{ label: 'Profile settings' },
2121
];
2222
2323
const deleteUserModalOpen = ref(false);
@@ -54,7 +54,7 @@ const updateProfileInformation = () => {
5454

5555
<template>
5656
<AppLayout :breadcrumbs>
57-
<InertiaHead title="Profile Settings" />
57+
<InertiaHead title="Profile settings" />
5858

5959
<SettingsLayout>
6060
<div class="space-y-4 md:space-y-8">
@@ -63,7 +63,7 @@ const updateProfileInformation = () => {
6363
pt:caption:class="space-y-1"
6464
>
6565
<template #title>
66-
Profile Information
66+
Profile information
6767
</template>
6868
<template #subtitle>
6969
Update your name and email address
@@ -146,7 +146,7 @@ const updateProfileInformation = () => {
146146
pt:caption:class="space-y-1"
147147
>
148148
<template #title>
149-
Delete Account
149+
Delete account
150150
</template>
151151
<template #subtitle>
152152
Delete your account and all of its resources

0 commit comments

Comments
 (0)