Skip to content

Commit aa99e39

Browse files
committed
Use Sentence case, not Title Case for field labels
1 parent 0b074bd commit aa99e39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/notification-detail.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ export const NotificationsSettingsDetails: React.FC<
4242
{trans.__('Notifications Settings')}
4343
</FormLabel>
4444
<Stack spacing={2}>
45-
<FormLabel component="legend">{trans.__('Send To')}</FormLabel>
45+
<FormLabel component="legend">{trans.__('Send to')}</FormLabel>
4646
{notificationsSettings.send_to.map((email, idx) => (
4747
<NotificationsSettingsItem
4848
key={idx}
49-
label={trans.__(`Send To ${idx + 1}`)}
49+
label={trans.__(`Send to ${idx + 1}`)}
5050
value={email}
5151
/>
5252
))}
@@ -61,7 +61,7 @@ export const NotificationsSettingsDetails: React.FC<
6161
/>
6262
))}
6363
<NotificationsSettingsItem
64-
label={trans.__('Include Output')}
64+
label={trans.__('Include output')}
6565
value={notificationsSettings.include_output}
6666
/>
6767
</Stack>

src/components/notification-picker.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ export function NotificationsSettings({
142142
onChange={enableNotificationChange}
143143
/>
144144
}
145-
label={trans.__('Enable Notifications')}
145+
label={trans.__('Enable notifications')}
146146
/>
147147
<TextField
148-
label={trans.__('Send To')}
148+
label={trans.__('Send to')}
149149
value={sendToInput}
150150
name="sendTo"
151151
variant="outlined"
@@ -175,7 +175,7 @@ export function NotificationsSettings({
175175
disabled={!enableNotification}
176176
/>
177177
}
178-
label={trans.__('Include Output')}
178+
label={trans.__('Include output')}
179179
/>
180180
</Stack>
181181
);

0 commit comments

Comments
 (0)